/* Page-specific styles for xat — auto-extracted, unique to this exam page */

:focus-visible{outline:2px solid var(--ember);outline-offset:3px;border-radius:4px}

.section-sub{color:var(--muted);font-size:16px;max-width:580px;line-height:1.75;margin-bottom:48px}

/* ===== HERO ===== */
.exam-hero{position:relative;overflow:hidden;padding:64px 0 56px;background:var(--ink)}
.xat-h1-nowrap{white-space:nowrap;display:inline-block}
@media(max-width:480px){.xat-h1-nowrap{font-size:.68em}}

/* ===== INFO SECTIONS ===== */
.info-section{padding:80px 0;border-top:1px solid var(--edge)}

.data-table{width:100%;border-collapse:collapse;min-width:380px}

/* ===== LEAD FORM ===== */
.lead-section{padding:96px 0;background:var(--ink);position:relative;overflow:hidden}

/* ===== FAQ ===== */
.exam-faq-section{padding:96px 0;background:var(--ink2)}

.exam-faq-item.open .exam-faq-a{max-height:600px}

/* ===== SKIP LINK ===== */
.skip-link{position:absolute;top:-40px;left:0;background:var(--ember);color:#0d0d12;padding:8px 16px;font-size:13px;font-weight:700;z-index:9999;border-radius:0 0 8px 0;transition:top .2s}

.skip-link:focus{top:0}

/* ===== SCORE VS PERCENTILE SECTION ===== */
.svp-tabs{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px;overflow-x:auto;padding-bottom:4px}

.svp-tab{padding:8px 18px;border-radius:100px;font-size:12.5px;font-weight:700;border:1.5px solid var(--edge2);color:var(--muted);cursor:pointer;transition:all .2s;background:transparent}

.svp-tab.active{background:var(--ember);color:#0d0d12;border-color:var(--ember)}

.svp-tab:hover:not(.active){border-color:rgba(232,162,48,.4);color:var(--text)}

.svp-table-wrap{display:none}

.svp-table-wrap.active{display:block}

/* Score-vs-percentile table can be wider than its column on narrow
   screens (unlike the min-width:380px cutoff tables elsewhere, this one
   isn't wrapped in .data-table-wrap's overflow-x:auto) -- without this the
   table silently spilled past the .wrap container instead of scrolling,
   widening the whole page horizontally on phones. */
@media(max-width:768px){.svp-table-wrap{overflow-x:auto}}

.svp-note{margin-top:16px;padding:12px 16px;background:rgba(79,121,245,.07);border:1px solid rgba(79,121,245,.2);border-radius:12px;font-size:12px;color:var(--muted);line-height:1.65}

.svp-note strong{color:#93b8ff}

.highlight-row td{background:rgba(232,162,48,.06)!important;font-weight:600}

.highlight-row td.num{color:var(--jade)}

/* ===== SYLLABUS GRID MOBILE FIX ===== */
/* .syl-grid on this page sets its column count via an inline style
   (repeat(4,1fr) for XAT's 4 sections), which beats the shared .syl-grid
   mobile collapse in responsive.css (that rule has no !important) --
   syllabus cards were staying 4-up and squeezing sentence-length text at
   tablet/phone widths. !important is required to beat the inline style.
   Matches the 880px breakpoint responsive.css already uses for .syl-grid
   (same fix already applied to wb-jeca.css for the same shared-component
   bug). */
@media(max-width:880px){
  .syl-grid{grid-template-columns:1fr!important}
}