/* ==========================================================================
   "Frequently asked" tile (includes/faq.php) — navy accordion
   ========================================================================== */

.ffb-faq {
  --ffb-focus: var(--ffb-focus-on-dark);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-radius: var(--ffb-r-bento);
  background: var(--ffb-navy-deep);
}

.ffb-faq__eyebrow {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: var(--ffb-eyebrow);
  letter-spacing: var(--ffb-track-eyebrow);
  text-transform: uppercase;
  color: var(--ffb-green-hover);
}

.ffb-faq__title {
  font-size: 32px;
  line-height: 1.08;
  color: #ffffff;
}

.ffb-faq__list {
  display: flex;
  flex-direction: column;
}

.ffb-faq__item {
  border-top: 1px solid var(--ffb-faq-rule);
}

.ffb-faq__q {
  font: inherit;
}

.ffb-faq__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--ffb-poppins);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.35;
  color: #ffffff;
}

.ffb-faq__sign {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ffb-faq-icon);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 20px;
  line-height: 1;
  transition: background var(--ffb-t-ui) ease;
}

.ffb-faq__sign::before {
  content: "+";
}

.ffb-faq__toggle[aria-expanded="true"] .ffb-faq__sign {
  background: var(--ffb-green);
  color: var(--ffb-green-ink);
}

.ffb-faq__toggle[aria-expanded="true"] .ffb-faq__sign::before {
  content: "\2212";
}

/* Height animates through a 0fr/1fr grid row, so no measuring in JS. */
.ffb-faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.3s ease, visibility 0.3s;
}

.ffb-faq__panel.is-closed {
  grid-template-rows: 0fr;
  visibility: hidden;
}

.ffb-faq__clip {
  overflow: hidden;
}

.ffb-faq__a {
  padding: 0 44px 18px 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ffb-dark-panel-text);
}

.ffb-faq__link {
  margin-top: auto;
  margin-bottom: 24px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ffb-poppins);
  font-weight: 600;
  font-size: 15px;
  color: var(--ffb-green);
}

.ffb-faq__link:hover {
  color: var(--ffb-green-hover);
}

.ffb-faq__link svg {
  width: 18px;
  height: 18px;
}
