/* Career Quest FAQ page - the export's css/faq.css with every selector scoped under
   #career-quest-landing (same approach as landing.css) so it wins over the site's main.css/bootstrap.
   Regenerate from the export instead of editing selectors by hand. */
/* The site's CSS reset gives every div/span/p line-height:1; the export inherits the page line-height,
   so restore inheritance here at low specificity (0,1,0): it beats the reset but every scoped rule below wins. */
.faq-page { line-height: inherit; }
.faq-page :where(:not(i, svg)) { line-height: inherit; }
.faq-page :where(h1, h2, h3, h4) { line-height: 1.2; }

/* ══════════════════════════════════════════════════════════════
   Career Quest Championship — FAQ page
   Tokens (--navy, --yellow, --cream, --ff-display …) come from style.css.
   Each topic sets its own accent as --c on .faq-group / .faq-chip.
   ══════════════════════════════════════════════════════════════ */

#career-quest-landing .faq-page { background: var(--cream); }
#career-quest-landing .faq-page [hidden] { display: none !important; }

/* ── Hero ─────────────────────────────────────────────────── */
#career-quest-landing .faq-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: clamp(40px, 5vw, 84px) 0 clamp(96px, 10vw, 168px);
}
#career-quest-landing .faq-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 90% at 50% -10%, rgba(255, 217, 90, .20), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, rgba(88, 192, 242, .18), transparent 70%),
    radial-gradient(35% 60% at 0% 90%, rgba(238, 138, 168, .14), transparent 70%);
}
#career-quest-landing .faq-hero__rose {
  position: absolute;
  z-index: -1;
  color: var(--yellow);
  opacity: .16;
  pointer-events: none;
}
#career-quest-landing .faq-hero__rose--l { width: clamp(220px, 30vw, 480px); left: -6%; top: -12%; }
#career-quest-landing .faq-hero__rose--r { width: clamp(260px, 36vw, 560px); right: -8%; bottom: -22%; }
#career-quest-landing .faq-hero__wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(40px, 6vw, 96px);
  display: block;
}
#career-quest-landing .faq-hero__inner { position: relative; }

#career-quest-landing .faq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 clamp(12px, 1.4vw, 20px);
  padding: 7px 18px 7px 14px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--ff-display);
  font-size: clamp(16px, 1.3vw, 22px);
  line-height: 1.1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
#career-quest-landing .faq-eyebrow i { font-size: 1.25em; }

#career-quest-landing .faq-title {
  margin: 0;
  color: #fff;
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.05;
  letter-spacing: -.01em;
  text-shadow: 0 4px 0 rgba(0, 0, 0, .18);
}
#career-quest-landing .faq-title span { color: var(--yellow); }

#career-quest-landing .faq-lead {
  max-width: 660px;
  margin: clamp(12px, 1.4vw, 22px) auto 0;
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: clamp(15px, 1.25vw, 20px);
  line-height: 1.6;
  color: rgba(255, 255, 255, .88);
}

/* search */
#career-quest-landing .faq-search {
  position: relative;
  max-width: 640px;
  margin: clamp(22px, 2.6vw, 40px) auto 0;
}
#career-quest-landing .faq-search__label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
#career-quest-landing .faq-search input {
  width: 100%;
  height: clamp(52px, 4.2vw, 64px);
  padding: 0 56px 0 56px;
  border: 3px solid transparent;
  border-radius: var(--r-pill);
  background: #fff;
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: clamp(14px, 1.1vw, 17px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .28);
  transition: border-color .2s ease, box-shadow .2s ease;
  -webkit-appearance: none;
  appearance: none;
}
#career-quest-landing .faq-search input::placeholder { color: var(--muted); font-weight: 500; }
#career-quest-landing .faq-search input::-webkit-search-cancel-button { display: none; }
#career-quest-landing .faq-search input:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 5px rgba(255, 217, 90, .35), 0 14px 34px rgba(0, 0, 0, .28); }
#career-quest-landing .faq-search__ico {
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--navy);
  pointer-events: none;
}
#career-quest-landing .faq-search__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--navy);
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease;
}
#career-quest-landing .faq-search__clear:hover { background: var(--yellow); }

/* quest-at-a-glance chips */
#career-quest-landing .faq-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(10px, 1.2vw, 18px);
  margin: clamp(20px, 2.2vw, 34px) 0 0;
  padding: 0;
  list-style: none;
}
#career-quest-landing .faq-facts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 128px;
  padding: 10px 18px;
  border: 1.5px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
}
#career-quest-landing .faq-facts strong {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.1;
  color: var(--yellow);
}
#career-quest-landing .faq-facts span {
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* ── Question list ────────────────────────────────────────── */
#career-quest-landing .faq-wrap {
  max-width: 1020px;
  padding-top: clamp(20px, 2.4vw, 36px);
  padding-bottom: clamp(64px, 8vw, 150px);
}
#career-quest-landing .faq-bar {
  min-height: 20px;
  margin-bottom: clamp(8px, 1.2vw, 16px);
}
#career-quest-landing .faq-status {
  margin: 0;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

/* ── Category (plain title + chevron; the whole category opens/closes together) ── */
#career-quest-landing .faq-group {
  border-bottom: 1px solid rgba(41, 59, 136, .14);
  padding-bottom: clamp(18px, 2.2vw, 30px);
  margin-bottom: clamp(18px, 2.2vw, 30px);
}
#career-quest-landing .faq-group:last-of-type { border-bottom: 0; margin-bottom: 0; }
#career-quest-landing .faq-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 4px 0 clamp(10px, 1.2vw, 16px);
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
#career-quest-landing .faq-cat__head:focus-visible { outline: 3px solid var(--btn-sky); outline-offset: 3px; border-radius: 4px; }
#career-quest-landing .faq-cat__title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  color: var(--navy);
}
#career-quest-landing .faq-cat__chevron {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  color: var(--navy);
  font-size: 18px;
  transition: transform .3s cubic-bezier(.2, .7, .3, 1);
}
#career-quest-landing .faq-cat__head.is-open .faq-cat__chevron { transform: rotate(180deg); }

/* ── Question / answer (plain text, always shown together once the category is open) ── */
#career-quest-landing .faq-item { scroll-margin-top: calc(var(--header-h, 88px) + 84px); }
#career-quest-landing .faq-item + .faq-item { margin-top: clamp(14px, 1.6vw, 22px); }
#career-quest-landing .faq-item__q {
  margin: 0 0 6px;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.4;
  color: var(--ink);
}
#career-quest-landing .faq-a__body {
  color: var(--body);
  font-family: var(--ff-body);
  font-weight: 500;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.7;
}

#career-quest-landing .faq-a p { margin: 0 0 .85em; }
#career-quest-landing .faq-a p:last-child, #career-quest-landing .faq-a ul:last-child, #career-quest-landing .faq-a ol:last-child { margin-bottom: 0; }
#career-quest-landing .faq-a strong { color: var(--navy); font-weight: 700; }
#career-quest-landing .faq-a a { color: var(--navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--c); text-decoration-thickness: 2px; }
#career-quest-landing .faq-a a:hover { background: color-mix(in srgb, 30% var(--c), transparent); }
#career-quest-landing .faq-a a:focus-visible { outline: 3px solid var(--btn-sky); outline-offset: 2px; border-radius: 3px; }

#career-quest-landing .faq-a ul:not([class]) { margin: 0 0 .85em; padding: 0; list-style: none; }
#career-quest-landing .faq-a ul:not([class]) li { position: relative; padding-left: 26px; margin-bottom: .45em; }
#career-quest-landing .faq-a ul:not([class]) li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px color-mix(in srgb, 28% var(--c), transparent);
}

#career-quest-landing .faq-note {
  padding: 11px 15px;
  border-left: 4px solid var(--yellow-dk);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--fee-card);
  font-size: .92em;
}

/* numbered steps (registration, timeline) */
#career-quest-landing .faq-steps { margin: 0 0 .85em; padding: 0; list-style: none; counter-reset: step; }
#career-quest-landing .faq-steps li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 12px; counter-increment: step; }
#career-quest-landing .faq-steps li::before {
  content: counter(step);
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  margin-top: 1px;
  border-radius: 50%;
  background: color-mix(in srgb, 30% var(--c), #fff);
  color: var(--navy);
  font-family: var(--ff-display);
  font-size: 16px;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c);
}
#career-quest-landing .faq-steps--dates li::before { content: counter(step, decimal-leading-zero); width: 34px; height: 34px; font-size: 15px; }

/* fee cards */
#career-quest-landing .faq-fees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 .9em; padding: 0; list-style: none; }
#career-quest-landing .faq-fees li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 12px;
  border: 2px solid rgba(239, 198, 63, .55);
  border-radius: var(--r-md);
  background: var(--fee-card);
  text-align: center;
}
#career-quest-landing .faq-fees span { display: flex; flex-direction: column; font-weight: 700; color: var(--navy); line-height: 1.3; }
#career-quest-landing .faq-fees small { font-size: 12px; font-weight: 600; color: var(--muted); }
#career-quest-landing .faq-fees strong { font-family: var(--ff-display); font-weight: 400; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; color: var(--navy); }

/* milestone list */
#career-quest-landing .faq-stops { margin: 0 0 .85em; padding: 0; list-style: none; display: grid; gap: 8px; }
#career-quest-landing .faq-stops li { display: flex; align-items: baseline; gap: 12px; padding: 9px 14px; border-radius: var(--r-sm); background: color-mix(in srgb, 16% var(--s), #fff); }
#career-quest-landing .faq-stops li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--s); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--s); transform: translateY(1px); }

/* medal row */
#career-quest-landing .faq-medals { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 .9em; padding: 0; list-style: none; }
#career-quest-landing .faq-medals li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; border-radius: var(--r-pill); background: var(--fee-card); border: 1.5px solid rgba(239, 198, 63, .5); }
#career-quest-landing .faq-medals img { width: 34px; height: 34px; object-fit: contain; }

/* mini facts (test) */
#career-quest-landing .faq-facts-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 .5em; padding: 0; list-style: none; }
#career-quest-landing .faq-facts-mini li { display: flex; flex-direction: column; align-items: center; padding: 14px 8px; border-radius: var(--r-md); background: var(--navy); color: #fff; text-align: center; }
#career-quest-landing .faq-facts-mini strong { font-family: var(--ff-display); font-weight: 400; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.1; color: var(--yellow); }
#career-quest-landing .faq-facts-mini span { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* ── Empty state ──────────────────────────────────────────── */
#career-quest-landing .faq-empty {
  padding: clamp(36px, 4vw, 64px) 20px;
  border: 3px dashed rgba(41, 59, 136, .2);
  border-radius: var(--r-lg);
  background: #fff;
  text-align: center;
}
#career-quest-landing .faq-empty__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 36px; }
#career-quest-landing .faq-empty h2 { margin: 14px 0 4px; font-family: var(--ff-display); font-weight: 400; font-size: clamp(26px, 2.6vw, 38px); color: var(--navy); }
#career-quest-landing .faq-empty p { margin: 0 0 18px; color: var(--muted); font-weight: 500; }

/* ── CTA ──────────────────────────────────────────────────── */
#career-quest-landing .faq-cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  overflow: hidden;
  margin-top: clamp(24px, 3vw, 48px);
  padding: clamp(28px, 4vw, 60px);
  border-radius: var(--r-lg);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
}
#career-quest-landing .faq-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 217, 90, .22), transparent 65%);
  pointer-events: none;
}
#career-quest-landing .faq-cta__text { position: relative; }
#career-quest-landing .faq-cta h2 { margin: 0 0 8px; font-family: var(--ff-display); font-weight: 400; font-size: clamp(30px, 3.4vw, 52px); line-height: 1.1; color: var(--yellow); }
#career-quest-landing .faq-cta p { max-width: 520px; margin: 0 0 22px; font-weight: 500; font-size: clamp(14px, 1.15vw, 17px); line-height: 1.65; color: rgba(255, 255, 255, .9); }
#career-quest-landing .faq-cta p strong { color: #fff; }
#career-quest-landing .faq-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
#career-quest-landing .faq-btn-ghost {
  min-width: 0;
  min-height: 48px;
  padding: 12px 24px;
  border: 2px solid rgba(255, 255, 255, .7);
  border-radius: 24px;
  background: transparent;
  color: #fff;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#career-quest-landing .faq-btn-ghost:hover { background: #fff; color: var(--navy); }
#career-quest-landing .faq-cta__medals { position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
#career-quest-landing .faq-cta__medals li:nth-child(even) { transform: translateY(14px); }
#career-quest-landing .faq-cta__medals img { width: clamp(72px, 8vw, 118px); height: auto; display: block; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .35)); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  #career-quest-landing .faq-topics__row { justify-content: flex-start; }
  #career-quest-landing .faq-cta { grid-template-columns: 1fr; }
  #career-quest-landing .faq-cta__medals { grid-template-columns: repeat(4, auto); justify-content: start; }
  #career-quest-landing .faq-cta__medals li:nth-child(even) { transform: none; }
}
@media (max-width: 640px) {
  #career-quest-landing .faq-fees, #career-quest-landing .faq-facts-mini { grid-template-columns: 1fr; }
  #career-quest-landing .faq-fees li { flex-direction: row; justify-content: space-between; padding: 12px 16px; }
  #career-quest-landing .faq-fees span { align-items: flex-start; text-align: left; }
  #career-quest-landing .faq-facts li { min-width: calc(50% - 8px); }
}

@media (prefers-reduced-motion: reduce) {
  #career-quest-landing .faq-cat__chevron { transition: none; }
}
