/* Flat FAQ section layout: always loaded on SFE frontend routes. */
.sfe-section-nav-wrap {
  margin: 28px 0 42px;
  padding: 24px;
  border: 1px solid #dcfce7;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 72%);
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .04);
}

.sfe-section-nav-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.sfe-section-nav-label {
  display: inline-flex;
  align-items: center;
  color: #059669;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sfe-section-nav-head p {
  margin: 0;
  color: #64748b;
  font-size: .95rem;
  line-height: 1.6;
}

.sfe-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sfe-section-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #bbf7d0;
  background: #ffffff;
  color: #047857;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: .95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(22, 163, 74, .08);
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.sfe-section-nav-link:hover,
.sfe-section-nav-link:focus {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 163, 74, .18);
  outline: none;
}

.sfe-faq-sections {
  display: grid;
  gap: 54px;
  margin-top: 38px;
}

.sfe-faq-section {
  scroll-margin-top: 120px;
}

.sfe-section-header {
  margin: 0 0 22px;
  padding: 0 0 16px;
  border-bottom: 1px solid #e5e7eb;
}

.sfe-section-header h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.03em;
}

.sfe-faq-section .sfe-faq-item:first-of-type {
  margin-top: 0;
}

@media (max-width: 640px) {
  .sfe-section-nav-wrap {
    margin: 22px 0 36px;
    padding: 18px;
    border-radius: 22px;
  }

  .sfe-section-nav-head {
    display: block;
  }

  .sfe-section-nav-head p {
    margin-top: 8px;
    font-size: .9rem;
  }

  .sfe-section-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 8px;
    margin-left: -2px;
    margin-right: -2px;
    -webkit-overflow-scrolling: touch;
  }

  .sfe-section-nav-link {
    white-space: nowrap;
    padding: 9px 14px;
  }

  .sfe-faq-sections {
    gap: 42px;
    margin-top: 32px;
  }

  .sfe-faq-section {
    scroll-margin-top: 90px;
  }

  .sfe-section-header h2 {
    font-size: 2rem;
  }
}

/* Section headings in flat FAQ animal pages. */
.sfe-wrap .sfe-faq-sections .sfe-faq-section {
  display: block;
}

.sfe-wrap .sfe-faq-sections .sfe-section-heading-row {
  margin: 0 0 22px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid #e5e7eb !important;
}

.sfe-wrap .sfe-faq-sections .sfe-section-heading-row .sfe-section-title,
.sfe-wrap .sfe-faq-sections .sfe-section-heading-row h2 {
  display: block !important;
  margin: 0 !important;
  color: #111827 !important;
  font-size: clamp(2rem, 3vw, 2.75rem) !important;
  line-height: 1.08 !important;
  font-weight: 900 !important;
  letter-spacing: -.03em !important;
}

.sfe-wrap .sfe-section-kicker {
  display: none !important;
}

@media (max-width: 640px) {
  .sfe-wrap .sfe-faq-sections .sfe-section-heading-row .sfe-section-title,
  .sfe-wrap .sfe-faq-sections .sfe-section-heading-row h2 {
    font-size: 2rem !important;
  }
}

