/* Hirbod Bavar FAQ styling, matching the supplied Elementor accordion settings.
   Collapsing is enabled only by the paired JavaScript; no-JS answers stay visible. */
.hb-faq-section.hb-faq-section {
  --hb-faq-primary: #00338D;
  --hb-faq-border: #C9ECFA;
  --hb-faq-active: #EAF8FF;
  --hb-faq-icon: #D3B574;
  box-sizing: border-box;
  direction: rtl;
  text-align: right;
  font-family: "Iransans", "IRANSansWeb", var(--e-global-typography-text-font-family, sans-serif), sans-serif;
  color: #243447;
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-block: 2.25rem;
  padding: 0;
  max-inline-size: 100%;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.hb-faq-section.hb-faq-section *,
.hb-faq-section.hb-faq-section *::before,
.hb-faq-section.hb-faq-section *::after {
  box-sizing: border-box;
}

.hb-faq-section.hb-faq-section .hb-faq-title {
  color: var(--hb-faq-primary);
  font-family: inherit;
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 1.25rem;
  padding: 0;
  scroll-margin-block-start: 5rem;
}

.hb-faq-section.hb-faq-section .hb-faq-item {
  background: #FFFFFF;
  border: 1px solid var(--hb-faq-border);
  border-radius: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.hb-faq-section.hb-faq-section .hb-faq-item + .hb-faq-item {
  border-block-start: 0;
}

.hb-faq-section.hb-faq-section .hb-faq-question {
  color: var(--hb-faq-primary);
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  text-align: right;
  margin: 0;
  padding: 1rem 1.25rem;
  scroll-margin-block-start: 5rem;
}

.hb-faq-section.hb-faq-section[data-hb-faq-accordion="true"] .hb-faq-question {
  padding: 0;
}

.hb-faq-section.hb-faq-section .hb-faq-toggle,
.hb-faq-section.hb-faq-section .hb-faq-toggle:hover,
.hb-faq-section.hb-faq-section .hb-faq-toggle:focus {
  appearance: none;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  inline-size: 100%;
  min-inline-size: 0;
  min-block-size: 48px;
  margin: 0;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #FFFFFF;
  color: var(--hb-faq-primary);
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: right;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  cursor: pointer;
  transition: background-color 120ms ease;
}

.hb-faq-section.hb-faq-section .hb-faq-toggle:hover {
  background: #F5FCFF;
}

.hb-faq-section.hb-faq-section .hb-faq-toggle[aria-expanded="true"] {
  background: var(--hb-faq-active);
}

.hb-faq-section.hb-faq-section .hb-faq-toggle:focus-visible {
  outline: 2px solid var(--hb-faq-primary);
  outline-offset: -3px;
}

.hb-faq-section.hb-faq-section .hb-faq-label {
  flex: 1;
  min-inline-size: 0;
  overflow-wrap: anywhere;
}

.hb-faq-section.hb-faq-section .hb-faq-icon {
  position: relative;
  flex: 0 0 1rem;
  inline-size: 1rem;
  block-size: 1rem;
  margin-block-start: 0.35em;
  color: var(--hb-faq-icon);
}

.hb-faq-section.hb-faq-section .hb-faq-icon::before,
.hb-faq-section.hb-faq-section .hb-faq-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: currentColor;
  border-radius: 1px;
}

.hb-faq-section.hb-faq-section .hb-faq-icon::before {
  inline-size: 14px;
  block-size: 2px;
}

.hb-faq-section.hb-faq-section .hb-faq-icon::after {
  inline-size: 2px;
  block-size: 14px;
}

.hb-faq-section.hb-faq-section .hb-faq-toggle[aria-expanded="true"] .hb-faq-icon {
  color: var(--hb-faq-primary);
}

.hb-faq-section.hb-faq-section .hb-faq-toggle[aria-expanded="true"] .hb-faq-icon::after {
  display: none;
}

.hb-faq-section.hb-faq-section .hb-faq-answer {
  padding: 1.125rem 1.25rem;
  background: #FFFFFF;
}

.hb-faq-section.hb-faq-section[data-hb-faq-accordion="true"] .hb-faq-answer {
  border-block-start: 1px solid var(--hb-faq-border);
}

.hb-faq-section.hb-faq-section[data-hb-faq-accordion="true"] .hb-faq-answer[hidden] {
  display: none !important;
}

.hb-faq-section.hb-faq-section .hb-faq-answer,
.hb-faq-section.hb-faq-section .hb-faq-answer p {
  font-family: inherit;
  font-size: inherit;
  font-weight: 400;
  line-height: 2;
  text-align: right;
  color: #243447;
  margin: 0;
}

.hb-faq-section.hb-faq-section .hb-faq-answer p + p {
  margin-block-start: 0.625rem;
}

.hb-faq-section.hb-faq-section a[href] {
  color: #006F86;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hb-faq-section.hb-faq-section a[href]:hover {
  color: var(--hb-faq-primary);
}

.hb-faq-section.hb-faq-section a[href]:focus-visible {
  outline: 2px solid var(--hb-faq-primary);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .hb-faq-section.hb-faq-section {
    margin-block: 1.75rem;
  }

  .hb-faq-section.hb-faq-section .hb-faq-question {
    font-size: 16px;
  }

  .hb-faq-section.hb-faq-section .hb-faq-toggle,
  .hb-faq-section.hb-faq-section .hb-faq-toggle:hover,
  .hb-faq-section.hb-faq-section .hb-faq-toggle:focus {
    padding: 0.875rem 1rem;
    gap: 0.625rem;
  }

  .hb-faq-section.hb-faq-section .hb-faq-answer {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hb-faq-section.hb-faq-section .hb-faq-toggle {
    transition: none;
  }
}

@media print {
  .hb-faq-section.hb-faq-section .hb-faq-item {
    break-inside: avoid;
  }

  .hb-faq-section.hb-faq-section[data-hb-faq-accordion="true"] .hb-faq-answer[hidden] {
    display: block !important;
  }

  .hb-faq-section.hb-faq-section .hb-faq-icon {
    display: none;
  }
}
