/* ================= FSCB 2025 – FAQ Accordion ================= */
.svc-faq-2025 {
  padding: var(--pad-top-d) var(--pad-right-d) var(--pad-bottom-d) var(--pad-left-d);
}
@media (max-width: 767.98px) {
  .svc-faq-2025 {
    padding: var(--pad-top-m) var(--pad-right-m) var(--pad-bottom-m) var(--pad-left-m);
  }
}

.svc-faq-2025__inner {
  max-width: min(100%, var(--svc-faq-maxw, 1160px));
  margin-inline: auto;
}

.svc-faq-2025__header {
  text-align: center;
  margin-bottom: 28px;
}
.svc-faq-2025__header > *:first-child { margin-top: 0; }

.svc-faq-2025__list {
  display: grid;
  gap: 20px;
}

/* ===== Default (Desktop) Card styling ===== */
.svc-faq-2025__item {
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.svc-faq-2025__question { margin: 0; }

.svc-faq-2025__toggle {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 16px 24px;
  cursor: pointer;
  position: relative;
}

.svc-faq-2025__toggle:focus-visible {
  outline: 2px solid #206269;
  outline-offset: 2px;
}

.svc-faq-2025__q-text {
  flex: 1;
  text-align: left;
  word-break: break-word;
  font-weight: 400;
  padding-right: 48px;
  font-family: var(--baseFontFamily);
  font-size: 20px;
}

.svc-faq-2025__icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 240ms ease;
}

.svc-faq-2025__icon::before,
.svc-faq-2025__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 2px;
  background: #206269;
  transition: transform 200ms ease;
}

.svc-faq-2025__answer {
  font-family: font-family: var(--baseFontFamily);
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
}

.svc-faq-2025__icon::after { transform: rotate(90deg); }
.svc-faq-2025__toggle[aria-expanded="true"] .svc-faq-2025__icon::after {
  transform: rotate(90deg) scaleX(0);
}

/* Panel animation */
.svc-faq-2025__panel {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transition: height 260ms ease, opacity 260ms ease;
  will-change: height, opacity;
}
.svc-faq-2025__panel.is-open { opacity: 1; }

.svc-faq-2025__panel.is-open .svc-faq-2025__answer {
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}

.svc-faq-2025__panel-inner {
  padding: 0 24px 18px 24px;
}

.svc-faq-2025__answer > *:first-child { margin-top: 0; }
.svc-faq-2025__answer > *:last-child { margin-bottom: 0; }

.svc-faq-2025__toggle:hover {
  background: rgba(32, 98, 105, 0.04);
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .svc-faq-2025__icon,
  .svc-faq-2025__icon::before,
  .svc-faq-2025__icon::after,
  .svc-faq-2025__panel {
    transition: none;
  }
}

/* ===== Mobile-only: Divider list style (no boxes) ===== */
@media (max-width: 767.98px) {
  .svc-faq-2025__list { gap: 0; }

  .svc-faq-2025__item {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }

  .svc-faq-2025__item + .svc-faq-2025__item { border-top: 1px solid #e5e7eb; }
  .svc-faq-2025__item:last-child { border-bottom: 1px solid #e5e7eb; }

  .svc-faq-2025__toggle {
    padding: 16px 0;
    background: transparent;
  }
  .svc-faq-2025__toggle:hover { background: transparent; }

  .svc-faq-2025__icon { right: 0; }
  .svc-faq-2025__q-text { padding-right: 40px; }

  .svc-faq-2025__panel-inner { padding: 0 0 16px 0; }
  .svc-faq-2025__panel.is-open .svc-faq-2025__answer {
    border-top: 0;
    padding-top: 12px;
  }
}
/* =========================
   Tablet (768–1024px)
   Use mobile-style dividers
   ========================= */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Keep section padding sensible (optional) */
  .svc-faq-2025 {
    padding:
      clamp(var(--pad-top-m), 7vw, var(--pad-top-d))
      clamp(var(--pad-right-m), 4vw, var(--pad-right-d))
      clamp(var(--pad-bottom-m), 7vw, var(--pad-bottom-d))
      clamp(var(--pad-left-m), 4vw, var(--pad-left-d));
  }

  /* Match mobile divider list look */
  .svc-faq-2025__list { gap: 0; }

  .svc-faq-2025__item {
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .svc-faq-2025__item + .svc-faq-2025__item { border-top: 1px solid #e5e7eb; }
  .svc-faq-2025__item:last-child { border-bottom: 1px solid #e5e7eb; }

  .svc-faq-2025__toggle {
    padding: clamp(16px, 2.4vw, 18px) 0;
    background: transparent;
  }
  .svc-faq-2025__toggle:hover { background: transparent; }

  .svc-faq-2025__icon { right: 0; }
  .svc-faq-2025__q-text { padding-right: 40px; }

  /* Panel spacing matches mobile style */
  .svc-faq-2025__panel-inner { padding: 0 0 16px 0; }
  .svc-faq-2025__panel.is-open .svc-faq-2025__answer {
    border-top: 0;
    padding-top: 12px;
  }

  /* (Optional) Slightly soften question size for tablet comfort */
  .svc-faq-2025__q-text {
    font-size: clamp(20px, 2.2vw, 22px);
    line-height: 1.35;
  }
}

