.faq-page {
  color: #374b5b;
}

.faq-page p {
  text-align: left;
}

.faq-page a:focus-visible {
  outline: 3px solid #677800;
  outline-offset: 5px;
}

.faq-hero {
  background: #f1f5f7;
  border-bottom: 1px solid #dce5eb;
  padding-block: 1.75rem 3.25rem;
}

.faq-hero .breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 2.5rem;
}

.faq-hero .breadcrumb a {
  color: var(--bs-primary);
  text-underline-offset: 3px;
}

.faq-hero h1 {
  color: var(--bs-primary);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
}

.faq-hero-description {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.7;
}

.faq-categories {
  border-bottom: 1px solid #dce5eb;
  background: #fff;
}

.faq-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 2.5rem;
}

.faq-category-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1.25rem 0;
  color: #526575;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 4px solid transparent;
}

.faq-category-links a:hover,
.faq-category-links .is-current {
  color: var(--bs-primary);
  border-bottom-color: var(--bs-secondary);
}

.faq-category-links i {
  font-size: 1.25rem;
}

.faq-body {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.faq-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.faq-topic-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f0f4d9;
  color: var(--bs-primary);
  font-size: 1.85rem;
}

.faq-heading .eyebrow {
  margin-bottom: 0.35rem;
}

.faq-heading h2 {
  color: var(--bs-primary);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  margin: 0;
}

.faq-index {
  border: 1px solid #dce5eb;
  border-top: 4px solid var(--bs-secondary);
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  background: #f8fafb;
}

.faq-index-label {
  color: var(--bs-primary);
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.faq-index ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-index li + li {
  border-top: 1px solid #e2e9ed;
}

.faq-index a {
  display: grid;
  grid-template-columns: 1.5rem 1fr auto;
  gap: 0.65rem;
  align-items: baseline;
  padding: 0.8rem 0;
  color: var(--bs-primary);
  text-decoration: none;
  line-height: 1.5;
}

.faq-index a:hover span:nth-child(2) {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-index-number {
  color: #647585;
  font-size: 0.8rem;
}

.faq-answers {
  margin-top: 1.5rem;
}

.faq-answer {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 2rem 0;
  border-bottom: 1px solid #dce5eb;
}

.faq-answer,
.faq-index {
  scroll-margin-top: 125px;
}

.faq-answer:target {
  background: #f8faf0;
  box-shadow: -0.65rem 0 0 #a5ba17;
}

.faq-answer:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 6px;
}

.faq-answer-number {
  color: #64720c;
  font-weight: 700;
  padding-top: 0.2rem;
}

.faq-answer h3 {
  color: var(--bs-primary);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.faq-answer p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.faq-answer p + p {
  margin-top: 1rem;
}

.faq-answer ul {
  margin-block: 1rem;
  padding-left: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
}

.faq-answer li + li {
  margin-top: 0.35rem;
}

.faq-answer a,
.faq-source a,
.faq-back-link {
  color: var(--bs-primary);
  text-underline-offset: 3px;
}

.faq-back-link {
  display: inline-flex;
  gap: 0.75rem;
  align-items: center;
  min-height: 44px;
  margin-top: 1.5rem;
  font-weight: 700;
}

.faq-source {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #526575;
  margin: 1.5rem 0 0;
}

.faq-sidebar {
  position: sticky;
  top: 125px;
}

.faq-help-card {
  border: 1px solid #dce5eb;
  border-radius: 1rem;
  overflow: hidden;
  background: #f8fafb;
}

.faq-help-image {
  width: 100%;
  height: 195px;
  object-fit: cover;
}

.faq-help-copy {
  padding: 1.75rem;
}

.faq-help-copy h2 {
  font-size: 1.6rem;
  color: var(--bs-primary);
  font-weight: 800;
}

.faq-help-copy > p:not(.eyebrow) {
  font-size: 1rem;
  line-height: 1.7;
}

.faq-help-copy .btn,
.faq-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  min-height: 48px;
  font-weight: 700;
}

.faq-help-copy .btn:hover,
.faq-help-copy .btn:focus-visible {
  color: var(--bs-primary);
}

.faq-phone {
  color: var(--bs-primary);
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  text-underline-offset: 3px;
}

.faq-product-link {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0.25rem;
  color: var(--bs-primary);
  font-weight: 700;
  text-underline-offset: 4px;
}

.faq-quote {
  background: #eef2d7;
  border-top: 1px solid #dbe3b2;
}

.faq-quote-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.faq-quote h2 {
  color: var(--bs-primary);
  font-weight: 800;
}

.faq-quote p:last-child {
  margin-bottom: 0;
  max-width: 650px;
}

.faq-quote-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.faq-quote-actions .btn {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  color: var(--bs-primary);
  font-weight: 800;
  padding: 1rem 1.5rem;
}

.faq-quote-actions .btn:hover,
.faq-quote-actions .btn:focus-visible {
  color: #fff;
}

.faq-quote-actions > a:last-child {
  color: var(--bs-primary);
  text-underline-offset: 4px;
}

@media (max-width: 991.98px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: static;
    max-width: 550px;
  }

  .faq-quote-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 575.98px) {
  .faq-hero {
    padding-block: 1.25rem 2.25rem;
  }

  .faq-hero .breadcrumb {
    margin-bottom: 1.75rem;
  }

  .faq-category-links {
    flex-direction: column;
    gap: 0;
  }

  .faq-category-links a {
    padding: 0.8rem 0;
  }

  .faq-heading {
    gap: 0.75rem;
  }

  .faq-topic-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .faq-answer {
    grid-template-columns: 1.5rem 1fr;
    gap: 0.6rem;
    padding-block: 1.5rem;
  }
}
