/* Dedicated FAQ: the existing ALED type, colors and components remain canonical. */
@font-face {
  font-family: "FAQ Manrope fallback";
  src: local("Arial");
  size-adjust: 104%;
}
@font-face {
  font-family: "FAQ Inter fallback";
  src: local("Arial");
  size-adjust: 106%;
}
.faq-page {
  --display: Manrope, "FAQ Manrope fallback", Arial, sans-serif;
  --body: Inter, "FAQ Inter fallback", Arial, sans-serif;
}
.faq-page .main-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--neon);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}
.faq-hero {
  padding-block: 62px 65px;
}
.faq-breadcrumb {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #b6b6b0;
  margin-bottom: 36px;
}
.faq-breadcrumb a:hover {
  text-decoration: underline;
}
.faq-hero-grid {
  display: block;
}
.faq-hero .eyebrow {
  margin-bottom: 22px;
}
.faq-hero h1 {
  font-size: clamp(44px, 5.5vw, 78px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.055em;
}
.faq-body {
  padding-block: 64px 80px;
  background: #fff;
}
.faq-search-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 32px;
}
.faq-search-row > div:first-child {
  font-size: 12px;
  color: #555;
  max-width: 200px;
}
.faq-search-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.faq-search-field {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid #bbbcb5;
  padding: 0 17px;
  min-height: 58px;
  background: #f4f4f0;
  border-radius: 4px;
}
.faq-search-field:focus-within {
  outline: 2px solid #111;
  outline-offset: 3px;
}
.faq-search-field > .icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.faq-search-field input {
  min-width: 0;
  width: 100%;
  font: 16px var(--body);
  background: transparent;
  border: 0;
  outline: none;
  padding: 18px 0;
  color: #111;
}
.faq-search-field input::placeholder {
  color: #666;
}
.faq-search-field button {
  border: 0;
  background: none;
  font-size: 11px;
  padding: 12px 0;
  text-decoration: underline;
  min-height: 44px;
}
.faq-main-grid {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.faq-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 28px);
  max-height: calc(100vh - var(--header-height) - 56px);
  max-height: calc(100dvh - var(--header-height) - 56px);
  overflow-y: auto;
  scrollbar-gutter: stable;
  /* Leave room for focus outlines inside the scrollable desktop sidebar. */
  padding: 6px;
  margin: -6px;
}
.faq-sidebar-label {
  font: 10px var(--mono);
  letter-spacing: 0.09em;
  color: #666;
  margin-bottom: 16px;
}
.faq-categories {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.faq-categories button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  font-size: 12px;
}
.faq-categories button:hover {
  background: #f4f4f0;
}
.faq-categories button[aria-pressed="true"] {
  background: #111;
  color: #fff;
}
.faq-side-note {
  margin-top: 30px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: #555;
  line-height: 1.8;
}
.faq-side-note a {
  display: block;
  margin-top: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #111;
  min-height: 44px;
  padding-block: 8px;
}
.faq-listing {
  min-width: 0;
}
.faq-results-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #555;
}
.faq-list-actions {
  display: flex;
  gap: 18px;
}
.faq-list-actions button {
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #333;
  font-size: 11px;
  padding-block: 12px;
  min-height: 44px;
}
.faq-list-actions button:disabled {
  opacity: 0.5;
}
.faq-group {
  padding-top: 36px;
  scroll-margin-top: 130px;
}
.faq-group-heading {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 16px;
}
.faq-group-heading > span {
  font: 10px var(--mono);
  color: #666;
}
.faq-group-heading h2 {
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.faq-entry {
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header-height) + 28px);
}
.faq-entry:first-of-type {
  border-top: 1px solid var(--line);
}
.faq-entry > summary {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  padding: 24px 0;
  min-height: 76px;
}
.faq-entry > summary::-webkit-details-marker {
  display: none;
}
.faq-number {
  font: 10px var(--mono);
  color: #666;
  flex: 0 0 23px;
  align-self: flex-start;
  margin-top: 5px;
}
.faq-question {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  flex: 1;
}
.faq-entry > summary > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.2s;
}
.faq-entry[open] > summary > .icon {
  transform: rotate(45deg);
}
.faq-entry[open] > .faq-answer {
  padding-bottom: 26px;
}
.faq-entry[open] > .faq-answer::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--neon);
  margin-bottom: 18px;
}
.faq-answer {
  padding-left: 41px;
  max-width: 800px;
  font-size: 13px;
  color: #4c4c48;
  line-height: 1.9;
}
.faq-answer p + p {
  margin-top: 14px;
}
.faq-answer strong {
  font-weight: 600;
  color: #111;
}
.faq-answer ul {
  padding-left: 18px;
  margin-block: 12px;
}
.faq-answer li + li {
  margin-top: 6px;
}
.faq-formula {
  display: block;
  border-left: 2px solid #111;
  padding: 10px 15px;
  background: #f4f4f0;
  font-size: 12px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.faq-sources {
  font-size: 10px;
  line-height: 1.9;
  border-top: 1px solid #e6e6df;
  padding-top: 12px;
  margin-top: 18px;
  color: #666;
}
.faq-sources a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #444;
}
.faq-sources a + a {
  margin-left: 12px;
}
.faq-answer-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-top: 12px;
}
.faq-permalink {
  font-size: 10px;
  color: #555;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
}
.faq-empty {
  padding: 48px 28px;
  background: #f4f4f0;
  border-bottom: 1px solid var(--line);
}
.faq-empty h2 {
  font-size: 25px;
  letter-spacing: -0.025em;
}
.faq-empty p {
  font-size: 13px;
  color: #555;
  margin-block: 15px 22px;
}
.faq-editorial-note {
  margin-top: 48px;
  padding: 24px;
  background: #f4f4f0;
  border-left: 2px solid #111;
  font-size: 11px;
  line-height: 1.9;
  color: #555;
}
.faq-editorial-note strong {
  color: #111;
}
.faq-editorial-note p + p {
  margin-top: 10px;
}
.faq-editorial-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.faq-page .footer {
  border-top: 1px solid #333;
}
@media (max-width: 1199px) {
  .faq-search-row,
  .faq-main-grid {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 38px;
  }
  .faq-hero-grid {
    gap: 40px;
  }
  .faq-hero h1 {
    font-size: 60px;
  }
}
@media (max-width: 959px) {
  .faq-hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
  }
  .faq-hero h1 {
    font-size: 48px;
  }
  .faq-search-row,
  .faq-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-search-row > div:first-child {
    max-width: none;
  }
  .faq-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    scrollbar-gutter: auto;
    padding: 0;
    margin: 0;
  }
  .faq-categories {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .faq-categories button {
    border-color: var(--line);
    gap: 12px;
    font-size: 11px;
  }
  .faq-side-note {
    display: none;
  }
  .faq-group {
    padding-top: 28px;
  }
}
@media (max-width: 639px) {
  .faq-hero {
    padding-block: 28px 38px;
  }
  .faq-breadcrumb {
    margin-bottom: 27px;
    font-size: 10px;
  }
  .faq-hero .eyebrow {
    font-size: 8px;
    margin-bottom: 18px;
  }
  .faq-hero h1 {
    font-size: 44px;
  }
  .faq-body {
    padding-block: 35px 48px;
  }
  .faq-search-row {
    margin-bottom: 24px;
  }
  .faq-sidebar-label {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .faq-categories button {
    padding: 10px 11px;
    font-size: 10px;
    min-height: 42px;
    gap: 8px;
  }
  .faq-results-row {
    gap: 8px;
    flex-wrap: wrap;
    padding-bottom: 12px;
  }
  .faq-list-actions {
    gap: 16px;
  }
  .faq-list-actions button {
    font-size: 10px;
  }
  .faq-group-heading h2 {
    font-size: 24px;
  }
  .faq-entry > summary {
    gap: 10px;
    padding-block: 20px;
  }
  .faq-question {
    font-size: 14px;
  }
  .faq-number {
    font-size: 9px;
    flex-basis: 20px;
    margin-top: 6px;
  }
  .faq-answer {
    padding-left: 0;
    font-size: 13px;
  }
  .faq-editorial-note {
    padding: 20px;
    margin-top: 36px;
  }
  .faq-sources a {
    display: inline-block;
    margin-right: 8px;
  }
  .faq-sources a + a {
    margin-left: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .faq-entry > summary > .icon {
    transition: none;
  }
}
