/* ICON ELEMENT FAQ PAGE — V1 */

.faq-page {
  background: #080808;
}

.faq-page main {
  overflow: clip;
}

.faq-hero {
  position: relative;
  min-height: clamp(34rem, 70vh, 49rem);
  display: flex;
  align-items: flex-end;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem) clamp(4.5rem, 7vw, 6.5rem);
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 74, 0.14);
  background: #070707;
}

.faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("/assets/griffith-background.png") center 48% / cover no-repeat;
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
  transform: scale(1.025);
}

.faq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 4, 4, 0.98) 0%, rgba(6, 6, 6, 0.91) 34%, rgba(7, 7, 7, 0.53) 64%, rgba(8, 8, 8, 0.36) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.28) 48%, rgba(5, 5, 5, 0.92) 100%),
    radial-gradient(circle at 17% 30%, rgba(201, 162, 74, 0.16), transparent 28rem);
}

.faq-hero-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.faq-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: rgba(245, 241, 232, 0.54);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.faq-breadcrumb a {
  color: rgba(245, 241, 232, 0.76);
  transition: color 0.2s ease;
}

.faq-breadcrumb a:hover {
  color: var(--gold-light);
}

.faq-hero .eyebrow {
  color: var(--gold-light);
  font-weight: 700;
}

.faq-hero h1 {
  max-width: 1030px;
  margin: 0 0 1.45rem;
  color: var(--text);
  font-family: var(--font-title);
  font-size: clamp(3.25rem, 7.1vw, 7.35rem);
  line-height: 0.94;
  letter-spacing: -0.048em;
  font-weight: 700;
  text-wrap: balance;
}

.faq-hero-lede {
  max-width: 790px;
  color: rgba(245, 241, 232, 0.84);
  font-size: clamp(1.08rem, 1.65vw, 1.28rem);
  line-height: 1.72;
}

.faq-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 2rem;
}

.faq-review-meta span {
  display: inline-flex;
  min-height: 2.05rem;
  align-items: center;
  padding: 0.48rem 0.78rem 0.42rem;
  border: 1px solid rgba(201, 162, 74, 0.22);
  border-radius: 999px;
  background: rgba(8, 8, 8, 0.42);
  color: rgba(245, 241, 232, 0.68);
  font-size: 0.75rem;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.faq-category-band {
  position: relative;
  z-index: 5;
  padding: clamp(3rem, 5vw, 4.5rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 15% 0%, rgba(201, 162, 74, 0.07), transparent 24rem),
    linear-gradient(180deg, #090909, #0b0b0b);
  border-bottom: 1px solid rgba(201, 162, 74, 0.12);
}

.faq-category-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.faq-category-inner h2 {
  max-width: 430px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-title);
  font-size: clamp(2.35rem, 4vw, 4.35rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.faq-category-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.faq-category-nav a {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(201, 162, 74, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(245, 241, 232, 0.82);
  font-family: var(--font-subtitle);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  font-weight: 700;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.faq-category-nav a span {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
}

.faq-category-nav a:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 74, 0.48);
  background: rgba(201, 162, 74, 0.08);
  color: #fff;
}

.faq-section {
  position: relative;
  isolation: isolate;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  background:
    radial-gradient(circle at 14% 6%, rgba(201, 162, 74, 0.055), transparent 27rem),
    linear-gradient(180deg, #080808, #0b0b0b 52%, #080808);
  border-bottom: 1px solid rgba(201, 162, 74, 0.1);
  overflow: hidden;
}

.faq-section-atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: var(--faq-atmosphere-image);
  background-position: var(--faq-atmosphere-position, center top);
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.22;
  filter: saturate(0.84) contrast(1.1) brightness(0.72);
}

.faq-section-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98) 0%, rgba(8, 8, 8, 0.92) 42%, rgba(8, 8, 8, 0.72) 74%, rgba(8, 8, 8, 0.86) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.90), rgba(8, 8, 8, 0.72) 32%, rgba(8, 8, 8, 0.96) 100%);
}

.faq-atmosphere-pier {
  --faq-atmosphere-image: url("/assets/sm-pier-background.png");
  --faq-atmosphere-position: center 20%;
}

.faq-atmosphere-rosebowl {
  --faq-atmosphere-image: url("/assets/rose-bowl-background.png");
  --faq-atmosphere-position: center 28%;
}

.faq-section-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(0, 1.52fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.faq-section-intro {
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}

.faq-section-number {
  margin-bottom: 1.2rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.faq-section-intro .eyebrow {
  color: rgba(245, 241, 232, 0.62);
  margin-bottom: 0.75rem;
}

.faq-section-intro h2 {
  margin: 0 0 1.15rem;
  color: transparent;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: var(--font-title);
  font-size: clamp(2.55rem, 4.3vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.042em;
  font-weight: 700;
  text-wrap: balance;
}

.faq-section-intro > p:not(.eyebrow):not(.faq-section-number) {
  max-width: 42ch;
  color: rgba(245, 241, 232, 0.68);
  font-size: 1rem;
  line-height: 1.72;
}

.faq-back-link {
  display: inline-flex;
  margin-top: 1.4rem;
  color: rgba(242, 210, 122, 0.72);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.faq-back-link:hover {
  color: #fff;
}

.faq-accordion {
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  position: relative;
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.042), rgba(255, 255, 255, 0.018));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 0%, rgba(201, 162, 74, 0.10), transparent 22rem),
    linear-gradient(135deg, rgba(242, 210, 122, 0.035), transparent 44%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.faq-item:hover,
.faq-item[open] {
  border-color: rgba(201, 162, 74, 0.40);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.024));
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.27);
}

.faq-item:hover::before,
.faq-item[open]::before {
  opacity: 1;
}

.faq-item summary {
  position: relative;
  z-index: 1;
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: clamp(1.15rem, 2vw, 1.55rem) clamp(1.2rem, 2.5vw, 1.75rem);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: -4px;
  border-radius: 20px;
}

.faq-question {
  max-width: 54ch;
  color: rgba(245, 241, 232, 0.94);
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.12;
  letter-spacing: -0.018em;
  font-weight: 700;
}

.faq-toggle {
  flex: 0 0 2.35rem;
  width: 2.35rem;
  height: 2.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(201, 162, 74, 0.30);
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.06);
}

.faq-toggle span {
  position: absolute;
  width: 0.85rem;
  height: 1px;
  background: var(--gold-light);
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.faq-toggle span:nth-child(2) {
  transform: rotate(90deg);
}

.faq-item[open] .faq-toggle span:nth-child(2) {
  transform: rotate(0deg);
  opacity: 0;
}

.faq-answer {
  position: relative;
  z-index: 1;
  padding: 0 clamp(1.2rem, 2.5vw, 1.75rem) clamp(1.4rem, 2.6vw, 2rem);
  border-top: 1px solid rgba(201, 162, 74, 0.10);
}

.faq-answer > *:first-child {
  margin-top: 1.35rem;
}

.faq-answer p,
.faq-answer li {
  color: rgba(245, 241, 232, 0.75);
  font-size: clamp(0.98rem, 1.12vw, 1.07rem);
  line-height: 1.72;
}

.faq-answer p {
  max-width: 78ch;
}

.faq-answer p + p,
.faq-answer ul + p,
.faq-answer ol + p,
.faq-answer div + p {
  margin-top: 0.9rem;
}

.faq-direct-answer {
  color: rgba(245, 241, 232, 0.96) !important;
  font-family: var(--font-subtitle);
  font-size: clamp(1.08rem, 1.45vw, 1.22rem) !important;
  font-weight: 700;
}

.faq-emphasis {
  margin-top: 1rem !important;
  padding: 0.9rem 1rem;
  border-left: 2px solid rgba(242, 210, 122, 0.78);
  border-radius: 0 14px 14px 0;
  background: rgba(201, 162, 74, 0.07);
  color: rgba(245, 241, 232, 0.92) !important;
  font-family: var(--font-subtitle);
  font-size: clamp(1.05rem, 1.35vw, 1.18rem) !important;
  font-weight: 700;
}

.faq-list {
  max-width: 900px;
  display: grid;
  gap: 0.55rem 1.5rem;
  margin: 0.9rem 0 1rem;
  padding: 0;
  list-style: none;
}

.faq-list-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-list-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-list li {
  position: relative;
  padding-left: 1rem;
}

.faq-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.73em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--gold);
}

.faq-related-link {
  margin-top: 1.15rem !important;
}

.faq-related-link a,
.faq-path-grid a {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 74, 0.35);
  text-underline-offset: 0.22em;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.faq-related-link a:hover,
.faq-path-grid a:hover {
  color: #fff;
  text-decoration-color: rgba(245, 241, 232, 0.65);
}

.faq-definition-grid,
.faq-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.faq-definition-grid > div,
.faq-path-grid > div {
  padding: 1rem;
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.28);
}

.faq-definition-grid span,
.faq-path-grid span {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.faq-definition-grid p,
.faq-path-grid p {
  color: rgba(245, 241, 232, 0.70);
  font-size: 0.94rem;
  line-height: 1.55;
}

.faq-path-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq-path-grid h4 {
  margin: 0 0 0.65rem;
  color: rgba(245, 241, 232, 0.94);
  font-family: var(--font-title);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.08;
}

.faq-path-grid a {
  display: inline-flex;
  margin-top: 0.85rem;
  font-size: 0.92rem;
}

.faq-numbered-questions {
  max-width: 850px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
  padding: 0;
  list-style: none;
  counter-reset: faq-question;
}

.faq-numbered-questions li {
  counter-increment: faq-question;
  min-height: 118px;
  padding: 1rem;
  border: 1px solid rgba(201, 162, 74, 0.16);
  border-radius: 16px;
  background: rgba(10, 10, 10, 0.28);
  color: rgba(245, 241, 232, 0.88);
  font-family: var(--font-subtitle);
  font-weight: 700;
}

.faq-numbered-questions li::before {
  content: "0" counter(faq-question);
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold-light);
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.faq-answer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.faq-answer-actions .button {
  min-height: 52px;
  padding: 0.9rem 1.25rem;
}

.faq-final-cta {
  position: relative;
  isolation: isolate;
  padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 6vw, 6rem);
  overflow: hidden;
  background: #080808;
  border-bottom: 1px solid rgba(201, 162, 74, 0.12);
}

.faq-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/sm-pier-background.png") center 60% / cover no-repeat;
  opacity: 0.34;
  filter: saturate(0.9) contrast(1.08) brightness(0.74);
}

.faq-final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, 0.98), rgba(8, 8, 8, 0.88) 56%, rgba(8, 8, 8, 0.48)),
    linear-gradient(180deg, rgba(8, 8, 8, 0.74), rgba(8, 8, 8, 0.94));
}

.faq-final-cta-inner {
  width: min(100%, 1280px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
}

.faq-final-cta h2 {
  max-width: 800px;
  margin: 0 0 1rem;
  color: var(--text);
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 5.3vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.faq-final-cta p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(245, 241, 232, 0.75);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
}

.faq-final-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: min(100%, 285px);
}

.faq-final-actions .button {
  width: 100%;
}

@media (max-width: 980px) {
  .faq-category-inner,
  .faq-section-inner,
  .faq-final-cta-inner {
    grid-template-columns: 1fr;
  }

  .faq-category-inner {
    align-items: start;
  }

  .faq-section-intro {
    position: static;
  }

  .faq-section-intro > p:not(.eyebrow):not(.faq-section-number) {
    max-width: 70ch;
  }

  .faq-back-link {
    display: none;
  }

  .faq-final-actions {
    min-width: 0;
    max-width: 540px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .faq-final-actions .button {
    width: auto;
    flex: 1 1 220px;
  }
}

@media (max-width: 680px) {
  .faq-hero {
    min-height: 35rem;
    padding-top: 4.2rem;
    padding-bottom: 4.25rem;
  }

  .faq-hero::before {
    background-position: 68% 48%;
    opacity: 0.58;
  }

  .faq-hero h1 {
    font-size: clamp(3.1rem, 15.5vw, 5rem);
    line-height: 0.97;
  }

  .faq-review-meta {
    display: grid;
  }

  .faq-review-meta span {
    width: fit-content;
  }

  .faq-category-nav {
    grid-template-columns: 1fr;
  }

  .faq-category-nav a {
    min-height: 64px;
  }

  .faq-section {
    padding-top: 4rem;
    padding-bottom: 4.5rem;
  }

  .faq-item {
    border-radius: 18px;
  }

  .faq-item summary {
    min-height: 76px;
    padding: 1.1rem;
  }

  .faq-question {
    font-size: clamp(1.25rem, 6.5vw, 1.6rem);
  }

  .faq-toggle {
    flex-basis: 2.1rem;
    width: 2.1rem;
    height: 2.1rem;
  }

  .faq-answer {
    padding: 0 1.1rem 1.35rem;
  }

  .faq-list-columns,
  .faq-list-compact,
  .faq-definition-grid,
  .faq-path-grid,
  .faq-numbered-questions {
    grid-template-columns: 1fr;
  }

  .faq-numbered-questions li {
    min-height: auto;
  }

  .faq-answer-actions,
  .faq-final-actions {
    flex-direction: column;
  }

  .faq-answer-actions .button,
  .faq-final-actions .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .faq-hero,
  .faq-category-band,
  .faq-section,
  .faq-final-cta {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item,
  .faq-category-nav a,
  .faq-toggle span {
    transition: none !important;
  }
}

/* FAQ EXPERIENCE REFINEMENTS — V2 */

/* Keep anchored topic sections comfortably below the fixed header. */
.faq-section {
  scroll-margin-top: calc(var(--header-height) + clamp(3.75rem, 6vw, 5.5rem));
}

.faq-item {
  scroll-margin-top: calc(var(--header-height) + 1.15rem);
  transition:
    height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease,
    box-shadow 0.24s ease;
}

/* Remove the oversized pre-heading gap now that the visible breadcrumb is gone. */
.faq-hero {
  min-height: auto;
  align-items: flex-start;
  padding-top: clamp(3.25rem, 5vw, 5rem);
  padding-bottom: clamp(4rem, 6vw, 5.5rem);
}

/* Section editorial titles should read as strong ivory headlines, not gold display type. */
.faq-section-intro h2 {
  color: var(--text);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

/* The answer remains fully present in the DOM; the details container height is animated by JS. */
.faq-item.is-animating {
  overflow: hidden;
}

@media (max-width: 680px) {
  .faq-hero {
    min-height: auto;
    padding-top: 2.75rem;
    padding-bottom: 3.75rem;
  }

  .faq-section {
    scroll-margin-top: calc(var(--header-height) + 3rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item {
    transition: none !important;
  }
}


/* FAQ FEEDBACK PASS — V5 */

/* Align the editorial introduction with the first question and keep it visible. */
@media (min-width: 981px) {
  .faq-section-inner {
    align-items: start;
  }

  .faq-section-intro {
    align-self: start;
    top: calc(var(--header-height) + 1rem);
    margin-top: 0;
    padding-top: 0;
  }

  .faq-section-intro > :first-child {
    margin-top: 0;
  }
}

/* A visible secondary navigation control, not a primary CTA. */
.faq-back-link {
  align-items: center;
  gap: 0.55rem;
  min-height: 42px;
  margin-top: 1.55rem;
  padding: 0.66rem 0.88rem;
  border: 1px solid rgba(201, 162, 74, 0.28);
  border-radius: 999px;
  background: rgba(201, 162, 74, 0.055);
  color: rgba(245, 241, 232, 0.82);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.faq-back-link span {
  color: var(--gold-light);
  font-size: 0.95em;
}

.faq-back-link:hover,
.faq-back-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(201, 162, 74, 0.58);
  background: rgba(201, 162, 74, 0.10);
  color: #fff;
}

/* These lists should read continuously rather than form aligned two-column rows. */
.faq-list-flow {
  grid-template-columns: 1fr;
  gap: 0.55rem;
  max-width: 760px;
}

/* Make the closing conversion point feel intentional and prominent. */
.faq-final-cta-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 0;
  text-align: center;
}

.faq-final-cta-inner > div:first-child {
  width: min(100%, 940px);
  margin: 0 auto;
}

.faq-final-cta h2,
.faq-final-cta p:not(.eyebrow) {
  margin-left: auto;
  margin-right: auto;
}

.faq-final-actions {
  width: min(100%, 760px);
  min-width: 0;
  margin: clamp(1.8rem, 3vw, 2.4rem) auto 0;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.faq-final-actions .button {
  width: auto;
  min-width: min(100%, 285px);
  min-height: 64px;
  padding: 1.12rem 1.85rem;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
}

@media (max-width: 980px) {
  .faq-back-link {
    display: inline-flex;
  }
}

@media (max-width: 680px) {
  .faq-final-actions {
    width: 100%;
    flex-direction: column;
  }

  .faq-final-actions .button {
    width: 100%;
    min-width: 0;
  }
}

/* FAQ LAYOUT CORRECTIONS — V6 */

/* Center the complete contents of each topic button horizontally. */
.faq-category-nav {
  width: min(100%, 940px);
  justify-self: center;
}

.faq-category-nav a {
  justify-content: center;
  text-align: center;
}

/*
  Sticky positioning cannot work reliably when a section ancestor uses
  overflow:hidden. The atmospheric layers are already constrained by inset:0,
  so the section can remain overflow-visible without changing its appearance.
*/
.faq-section {
  overflow: visible;
}

@media (min-width: 981px) {
  /* Keep every editorial column aligned with the first accordion card. */
  .faq-section-inner {
    align-items: start;
  }

  .faq-section-intro {
    position: sticky;
    top: calc(var(--header-height) + 1rem);
    align-self: start;
    margin: 0;
    padding: 0;
  }

  .faq-section-intro > :first-child {
    margin-top: 0;
  }

  /* Prevent the accordion height from influencing the left grid item. */
  .faq-accordion {
    align-self: start;
    min-width: 0;
  }
}

@media (max-width: 680px) {
  .faq-category-nav {
    width: 100%;
  }
}

/* Firefox-safe sticky containment: no overflow container may sit above the intro. */
.faq-page main {
  overflow: visible;
}

@media (min-width: 981px) {
  .faq-section-intro {
    height: fit-content;
  }
}


/* FAQ LAYOUT REFINEMENT — V7 */

/*
  Center the category controls as one complete group across the page.
  The editorial heading remains left-aligned above them, while the four
  controls receive the full available width rather than sitting in a right
  column beside the heading.
*/
.faq-category-inner {
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1.75rem, 3vw, 2.75rem);
}

.faq-category-nav {
  width: min(100%, 1120px);
  margin-inline: auto;
  justify-self: center;
}

.faq-category-nav a {
  justify-content: center;
  text-align: center;
}

/*
  The editorial introduction should remain in normal document flow.
  It begins level with the first question but scrolls naturally with the page.
*/
@media (min-width: 981px) {
  .faq-section-intro {
    position: static;
    top: auto;
    height: auto;
    align-self: start;
    margin: 0;
    padding: 0;
  }
}

@media (max-width: 680px) {
  .faq-category-nav {
    width: 100%;
  }
}

/* FAQ TOPIC LAYOUT REFINEMENT — V8
   Restore the original compact editorial split while centering the unchanged
   two-by-two topic grid inside the right column. */

@media (min-width: 981px) {
  .faq-category-inner {
    grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1.48fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
  }

  .faq-category-nav {
    width: min(100%, 940px);
    margin-inline: auto;
    justify-self: center;
    align-self: center;
    transform: translateY(-0.65rem);
  }
}

/* Preserve the original button dimensions and center only their contents. */
.faq-category-nav a {
  justify-content: center;
  text-align: center;
}

@media (max-width: 980px) {
  .faq-category-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .faq-category-nav {
    width: min(100%, 940px);
    margin-inline: auto;
    transform: none;
  }
}

@media (max-width: 680px) {
  .faq-category-nav {
    width: 100%;
  }
}


/* SITEWIDE V3 — RESTORE LEFT-ALIGNED FAQ TOPIC CARDS */
.faq-category-nav a {
  width: 100%;
  justify-content: flex-start !important;
  text-align: left !important;
}

.faq-category-nav a span {
  text-align: left !important;
}


/* =========================================================
   FAQ V10 — LARGE-DISPLAY EDITORIAL CONTAINMENT
   Prevents long left-column headlines from entering the
   accordion column on iMac and other wide desktop displays.
   ========================================================= */
@media (min-width: 1440px) {
  .faq-section-inner {
    width: min(100%, 1440px);
    grid-template-columns: minmax(390px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(4rem, 5vw, 6.5rem);
  }

  .faq-section-intro {
    min-width: 0;
    padding-right: 0.5rem;
  }

  .faq-section-intro h2 {
    max-width: 9.15ch;
    font-size: clamp(3.25rem, 3.35vw, 4.45rem);
    line-height: 0.98;
    overflow-wrap: normal;
    word-break: normal;
  }

  .faq-section-intro > p:not(.eyebrow):not(.faq-section-number) {
    max-width: 35ch;
  }

  .faq-accordion {
    position: relative;
    z-index: 2;
    min-width: 0;
  }
}

@media (min-width: 1900px) {
  .faq-section-inner {
    width: min(100%, 1520px);
    grid-template-columns: minmax(430px, 0.64fr) minmax(0, 1.36fr);
  }

  .faq-section-intro h2 {
    max-width: 9.4ch;
    font-size: 4.35rem;
  }
}
