/* k12-faq.css
   Copyright © 2026 LexPro. All rights reserved.

   Carline's FAQ (sites/k12/pages/faq/faq_page.dart), from
   app/lib/web/site/sections/faq/faq_editorial.dart. */

/* The cover's topic index (_TopicIndex). */
.faq-index__label { margin-bottom: 10px; font-size: 13px; line-height: 1.3; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase; color: var(--ed-muted); }
.faq-index__list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--ed-rule); }
.faq-index__list li { border-top: 1px solid var(--ed-rule); }
.faq-index__item { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 0; text-decoration: none; color: var(--ed-ink); }
.faq-index__item:hover { background: color-mix(in srgb, var(--ed-ink) 4%, transparent); }
.faq-index__number { flex: none; width: 46px; font-family: var(--font-numeral); font-size: 28px; line-height: .9; font-weight: 800; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--ed-coral-ink); }
.faq-index__words { flex: 1; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 2px 14px; }
.faq-index__name { font-size: 28px; line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; }
.faq-index__count { padding-bottom: 2px; font-size: 15px; line-height: 1.6; color: var(--ed-muted); }
.faq-index__arrow { flex: none; color: var(--ed-navy); }
@media (max-width: 600px) {
  .faq-index__item { padding: 8px 0; }
  .faq-index__number { width: 34px; font-size: 22px; }
  .faq-index__name { font-size: 22px; }
}

/* The drawn curb (EdCurbVignette): the drawing fills the box's height (never
   more than 1.8 times its width across), sits on its bottom-left and is cut
   off on the right; white above. On a wide window it is inset 8% top and
   bottom with its left corners rounded. */
.faq-scene { position: absolute; inset: 0; overflow: hidden; background: #fff; container-type: size; }
.faq-scene__img { position: absolute; left: 0; bottom: 0; width: auto; max-width: none; height: min(100cqh, 88cqw); }
@media (min-width: 901px) {
  .faq-scene { inset: 8% 0; border-radius: 28px 0 0 28px; }
}

/* A topic's band (_TopicBand). */
.faq-band__numeral { font-size: 132px; -webkit-text-stroke-width: 5px; }
.faq-band.ink-light .faq-band__numeral { -webkit-text-stroke-color: var(--ed-ink); }
.ed-band--navy.faq-band .faq-band__numeral { -webkit-text-stroke-color: var(--ed-coral); }
.faq-band__title { margin-top: 18px; font-size: clamp(40px, 5vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -0.045em; color: var(--ink-head); }
.faq-band__count { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--ink-muted); }
@media (max-width: 900px) {
  .faq-band__numeral { font-size: 84px; -webkit-text-stroke-width: 4px; }
  .faq-band__title { margin-top: 10px; }
}

/* A question (_EdQuestion): a hairline, the question and a ringed + that
   fills coral with a − when open. */
.faq-list { border-bottom: 1px solid var(--ink-rule); }
.faq-q { border-top: 1px solid var(--ink-rule); }
.faq-q__summary { display: flex; align-items: center; gap: 16px; padding: 24px 0; cursor: pointer; list-style: none; }
.faq-q__summary::-webkit-details-marker { display: none; }
.faq-q__summary:hover { background: color-mix(in srgb, var(--ink-head) 4%, transparent); }
.faq-q__text { flex: 1; font-size: clamp(20px, 1.9vw, 27px); line-height: 1.15; font-weight: 700; letter-spacing: -0.02em; color: var(--ink-head); }
.faq-q__toggle {
  flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 2px solid var(--ink-head); border-radius: 50%; color: var(--ink-head); transition: background .18s, border-color .18s;
}
.faq-q__minus { display: none; }
.faq-q[open] .faq-q__toggle { background: var(--ed-coral); border-color: var(--ed-coral); color: var(--ed-navy-deep); }
.faq-q[open] .faq-q__plus { display: none; }
.faq-q[open] .faq-q__minus { display: block; }
.faq-q__a { padding: 0 56px 30px 0; font-size: 18px; line-height: 1.6; color: var(--ink-body); }
@media (max-width: 600px) {
  .faq-q__summary { padding: 18px 0; }
  .faq-q__a { padding-bottom: 22px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .faq-q__toggle { transition: none; } }
