/* ==========================================================================
   Exam detail v2 (/exam/{slug}: ielts, toefl, pte, gre, gmat, sat, duolingo)
   View: resources/views/user/exams/menu_exams_details.blade.php
   Matches the /exam listing (exam-v2.css). Colours and font come ONLY from
   gateway-theme.css variables. Gold text only on navy; on white/ice use
   --gw-gold-dark. No grey text. Everything is scoped to .exd.
   ========================================================================== */

.exd {
    font-family: var(--gw-font);
    color: var(--gw-slate);
    background: var(--gw-ice);
    overflow-x: clip;
}
.exd *,
.exd *::before,
.exd *::after { box-sizing: border-box; }

.exd h1,
.exd h2,
.exd h3,
.exd h4,
.exd h5,
.exd h6 {
    font-family: var(--gw-font);
    color: var(--gw-navy);
    -webkit-text-fill-color: var(--gw-navy);
    background: none;
    text-shadow: none;
}
.exd p { color: var(--gw-slate); }

.exd :focus-visible {
    outline: 3px solid var(--gw-gold);
    outline-offset: 2px;
}

/* ---------- Hero ---------- */
.exd-hero {
    position: relative;
    padding: 28px 0 40px;
    background:
        radial-gradient(ellipse 55% 80% at 100% 0%, rgba(var(--gw-gold-rgb), .18), transparent 60%),
        radial-gradient(ellipse 40% 60% at 0% 100%, rgba(var(--gw-navy-light-rgb), .08), transparent 70%),
        linear-gradient(180deg, var(--gw-white) 0%, var(--gw-ice) 100%);
}

.exd .exd-crumbs {
    gap: 8px;
    font-size: 13px;
    margin: 0 0 24px;
    padding: 0;
    background: none;
    color: var(--gw-slate);
}
.exd .exd-crumbs a { color: var(--gw-slate); text-decoration: none; }
.exd .exd-crumbs a:hover { color: var(--gw-navy); }
.exd .exd-crumbs i { font-size: 14px; color: var(--gw-slate); }
.exd .exd-crumbs .breadcrumb-active { color: var(--gw-gold-dark); font-weight: 600; }
.exd .exd-crumbs a:focus-visible { border-radius: 4px; }

.exd-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
@media (min-width: 992px) {
    .exd-hero__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
}
.exd-hero__main { min-width: 0; }

.exd-id { display: flex; align-items: center; gap: 18px; min-width: 0; }
.exd-id__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }

/* Logo tile: navy square with the monogram; the banner covers it when it loads. */
.exd-logo {
    position: relative;
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    border-radius: 22px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(var(--gw-gold-rgb), .28), transparent 60%),
        var(--gw-navy);
    box-shadow: 0 12px 28px rgba(var(--gw-navy-rgb), .18);
}
.exd-logo__mark { font-size: 24px; font-weight: 800; letter-spacing: .02em; color: var(--gw-gold); }
.exd .exd-logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--gw-white);
}

.exd-kind {
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(var(--gw-gold-rgb), .22);
    color: var(--gw-gold-dark);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}
.exd .exd-title {
    margin: 0;
    font-size: clamp(38px, 6vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    text-align: left;
    overflow-wrap: anywhere;
}

.exd .exd-line {
    margin: 18px 0 22px;
    font-size: clamp(16px, 1.8vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--gw-navy);
    max-width: 560px;
}
.exd .exd-line span { color: var(--gw-slate); font-weight: 400; }

/* Fact tiles */
.exd .exd-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}
@media (min-width: 768px) {
    .exd .exd-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.exd-fact {
    position: relative;
    min-width: 0;
    padding: 14px 14px 14px;
    border-radius: 16px;
    background: var(--gw-white);
    border: 1px solid rgba(var(--gw-navy-rgb), .08);
    box-shadow: 0 2px 10px rgba(var(--gw-navy-rgb), .05);
    display: flex;
    flex-direction: column;
    gap: 2px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.exd-fact:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--gw-gold-rgb), .9);
    box-shadow: 0 10px 22px rgba(var(--gw-navy-rgb), .1);
}
.exd-fact__icon {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 11px;
    background: var(--gw-navy);
    color: var(--gw-gold);
}
.exd .exd-fact dt {
    margin: 0;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--gw-gold-dark);
}
.exd .exd-fact dd {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--gw-navy);
    overflow-wrap: anywhere;
}

/* Actions */
.exd-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.exd .exd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    border: 0;
    background: var(--gw-gold-shine);
    box-shadow: var(--gw-gold-glow);
    color: var(--gw-navy);
    -webkit-text-fill-color: var(--gw-navy);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.exd .exd-btn span { display: inline-block; transition: transform .2s ease; }
.exd .exd-btn:hover,
.exd .exd-btn:focus-visible {
    background: var(--gw-navy);
    color: var(--gw-gold);
    -webkit-text-fill-color: var(--gw-gold);
    box-shadow: 0 8px 18px rgba(var(--gw-navy-rgb), .25);
}
.exd .exd-btn:hover span { transform: translateX(4px); }
.exd .exd-btn:focus-visible { outline-offset: 3px; }

.exd .exd-btn--ghost {
    background: var(--gw-white);
    box-shadow: inset 0 0 0 1.5px var(--gw-navy);
    color: var(--gw-navy);
    -webkit-text-fill-color: var(--gw-navy);
}
.exd .exd-btn--ghost:hover,
.exd .exd-btn--ghost:focus-visible {
    background: var(--gw-navy);
    color: var(--gw-white);
    -webkit-text-fill-color: var(--gw-white);
}

.exd-share { position: relative; display: inline-flex; align-items: center; gap: 8px; }
.exd .exd-share__btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(var(--gw-navy-rgb), .14);
    border-radius: 50%;
    background: var(--gw-white);
    color: var(--gw-navy);
    font-size: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease;
}
.exd .exd-share__btn:hover { background: rgba(var(--gw-gold-rgb), .25); border-color: var(--gw-gold); color: var(--gw-navy); }
.exd-copy__status {
    font-size: 13px;
    font-weight: 600;
    color: var(--gw-navy);
    white-space: nowrap;
}
.exd-copy__status:empty { display: none; }

/* ---------- Strategy-session form (cta_entries_script hooks) ---------- */
.exd-hero__form { min-width: 0; scroll-margin-top: 100px; }
.exd .subscribe-now-box.exd-cta {
    margin: 0;
    padding: 0;
    border-radius: 22px;
    overflow: hidden;
    background: var(--gw-navy);
    box-shadow: 0 18px 40px rgba(var(--gw-navy-rgb), .22);
    border-top: 4px solid var(--gw-gold);
}
.exd .subscribe-now-box .card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(var(--gw-gold-rgb), .18), transparent 55%),
        radial-gradient(ellipse at 0% 100%, rgba(var(--gw-navy-light-rgb), .95), transparent 60%),
        var(--gw-navy);
}
.exd .subscribe-now-box .card-body { padding: 24px 22px; color: var(--gw-white); }
.exd-cta__kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.exd .exd-cta .exd-cta__kicker { color: var(--gw-gold); }
.exd .subscribe-now-box .story {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    color: var(--gw-white);
    -webkit-text-fill-color: var(--gw-white);
}
.exd .subscribe-now-box .story span {
    color: var(--gw-gold);
    -webkit-text-fill-color: var(--gw-gold);
    font-weight: 700;
}
.exd .exd-cta .exd-cta__sub { margin: 0 0 16px; font-size: 13.5px; color: var(--gw-white); }
.exd .subscribe-now-box form { text-align: left; margin: 0; }
.exd .subscribe-now-box input.form-control {
    width: 100%;
    min-height: 48px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(var(--gw-ice-rgb), .25);
    background: var(--gw-white);
    color: var(--gw-navy);
    font-size: 15px;
    box-shadow: none;
}
.exd .subscribe-now-box input.form-control:focus {
    border-color: var(--gw-gold);
    box-shadow: 0 0 0 3px rgba(var(--gw-gold-rgb), .55);
    outline: none;
}
.exd .subscribe-now-box input.form-control::placeholder { color: var(--gw-slate); opacity: .9; }
.exd .subscribe-now-box .btn-primary-main {
    position: relative;
    min-height: 50px;
    border: 0;
    border-radius: 999px;
    background: var(--gw-gold-shine);
    box-shadow: var(--gw-gold-glow);
    font-size: 15px;
    font-weight: 700;
    overflow: hidden;
}
.exd .subscribe-now-box .btn-primary-main:hover,
.exd .subscribe-now-box .btn-primary-main:focus-visible {
    background: var(--gw-white);
    color: var(--gw-navy) !important;
    -webkit-text-fill-color: var(--gw-navy);
}
.exd .subscribe-now-box .btn-primary-main::after { display: none; }
.exd .subscribe-now-box .btn-primary-main:focus-visible { outline: 3px solid var(--gw-gold); outline-offset: 3px; }
.exd .subscribe-now-box .btn-primary-main[disabled] { opacity: .75; }
.exd .subscribe-now-box .error-message {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gw-gold);
}
.exd .subscribe-now-box .server-error { color: var(--gw-gold); }
.exd-cta__perks {
    display: grid;
    gap: 6px;
    margin: 16px 0 0;
    padding: 14px 0 0;
    list-style: none;
    border-top: 1px solid rgba(var(--gw-ice-rgb), .15);
}
.exd-cta__perks li {
    position: relative;
    padding-left: 24px;
    font-size: 13.5px;
    color: var(--gw-white);
}
.exd-cta__perks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 12px;
    height: 7px;
    border-left: 2.5px solid var(--gw-gold);
    border-bottom: 2.5px solid var(--gw-gold);
    transform: rotate(-45deg);
}
/* Success state (template from cta_entries_script replaces the box contents) */
.exd .subscribe-now-box .book-consulting-done { margin: 0 !important; padding: 32px 22px; }
.exd .subscribe-now-box .book-consulting-done h5 {
    color: var(--gw-white);
    -webkit-text-fill-color: var(--gw-white);
    font-size: 18px;
    font-weight: 600;
}

/* ---------- Layout: TOC + article ---------- */
.exd-main { padding: 12px 0 72px; }
.exd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}
@media (min-width: 1200px) {
    .exd-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 40px; }
    .exd-layout--solo { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Table of contents ---------- */
.exd-toc {
    position: sticky;
    top: 80px;
    z-index: 20;
    min-width: 0;
    margin: 0;
}
@media (min-width: 1200px) {
    .exd-toc { top: 100px; margin: 0; z-index: 1; }
}
.exd-toc__box {
    position: relative;
    background: var(--gw-white);
    border: 1px solid rgba(var(--gw-navy-rgb), .1);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(var(--gw-navy-rgb), .08);
}
@media (max-width: 1199.98px) {
    .exd-toc__box[open] { border-radius: 16px 16px 0 0; }
    .exd-toc__progress { border-radius: 0 0 16px 16px; overflow: hidden; }
    .exd-toc__box[open] .exd-toc__progress { display: none; }
}
@media (min-width: 1200px) {
    .exd-toc__box {
        border: 1px solid rgba(var(--gw-navy-rgb), .08);
        border-radius: 18px;
        box-shadow: 0 2px 10px rgba(var(--gw-navy-rgb), .05);
        overflow: hidden;
    }
}
.exd-toc__head {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 16px;
    cursor: pointer;
    list-style: none;
    color: var(--gw-navy);
}
.exd-toc__head::-webkit-details-marker { display: none; }
.exd-toc__head::marker { content: ""; }
.exd-toc__label {
    flex: 0 0 auto;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gw-gold-dark);
}
.exd-toc__current {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--gw-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.exd-toc__count {
    flex: 0 0 auto;
    min-width: 26px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--gw-navy);
    color: var(--gw-gold);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}
.exd-toc__chev { flex: 0 0 auto; color: var(--gw-navy); transition: transform .2s ease; }
.exd-toc__box[open] .exd-toc__chev { transform: rotate(180deg); }
.exd-toc__head:focus-visible { outline-offset: -3px; }

.exd-toc__list {
    margin: 0;
    padding: 6px 8px 12px;
    list-style: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--gw-navy-rgb), .25) transparent;
}
/* Mobile / tablet: the list drops down over the content. */
@media (max-width: 1199.98px) {
    .exd-toc__list {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        max-height: min(60vh, 440px);
        background: var(--gw-white);
        border-top: 1px solid rgba(var(--gw-navy-rgb), .08);
        box-shadow: 0 18px 30px rgba(var(--gw-navy-rgb), .18);
        border-radius: 0 0 18px 18px;
    }
}
@media (min-width: 1200px) {
    .exd-toc__head { cursor: default; padding: 16px 18px 8px; min-height: 0; }
    .exd-toc__current,
    .exd-toc__chev { display: none; }
    .exd-toc__count { margin-left: auto; }
    .exd-toc__list { max-height: calc(100vh - 220px); padding: 4px 10px 14px; }
}
.exd-toc__item { margin: 0; }
.exd .exd-toc__link {
    position: relative;
    display: block;
    padding: 8px 10px 8px 14px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--gw-slate);
    text-decoration: none;
    transition: background-color .15s ease, color .15s ease;
}
.exd .exd-toc__item--h3 .exd-toc__link { padding-left: 26px; font-size: 13px; }
.exd .exd-toc__link::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 9px;
    bottom: 9px;
    width: 3px;
    border-radius: 3px;
    background: transparent;
    transition: background-color .15s ease;
}
.exd .exd-toc__item--h3 .exd-toc__link::before { left: 14px; }
.exd .exd-toc__link:hover { background: var(--gw-ice); color: var(--gw-navy); }
.exd .exd-toc__link.is-active {
    background: rgba(var(--gw-gold-rgb), .18);
    color: var(--gw-navy);
    font-weight: 700;
}
.exd .exd-toc__link.is-active::before { background: var(--gw-gold-dark); }
.exd .exd-toc__link:focus-visible { outline-offset: -2px; }

.exd-toc__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: rgba(var(--gw-navy-rgb), .06);
}
.exd-toc__progress span {
    display: block;
    height: 100%;
    background: var(--gw-gold-shine);
    transform: scaleX(0);
    transform-origin: left center;
}
@media (min-width: 1200px) {
    .exd-toc__progress { position: static; margin: 0 18px 14px; border-radius: 3px; overflow: hidden; }
}

/* ---------- Article ---------- */
.exd-article {
    min-width: 0;
    padding: 28px 22px;
    background: var(--gw-white);
    border: 1px solid rgba(var(--gw-navy-rgb), .08);
    border-radius: 24px;
    box-shadow: 0 2px 10px rgba(var(--gw-navy-rgb), .05);
}
@media (min-width: 768px) { .exd-article { padding: 40px 48px; } }

/* Test at a glance */
.exd-glance {
    max-width: 70ch;
    margin: 0 0 36px;
    padding: 22px;
    border-radius: 18px;
    background: var(--gw-ice);
}
.exd .exd-glance__title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    scroll-margin-top: 110px;
}
.exd .exd-glance__title:focus { outline: none; }
.exd .exd-glance__sub { margin: 0 0 16px; font-size: 14px; }
.exd-bars { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.exd-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: baseline;
}
.exd-bar__name { font-size: 14.5px; font-weight: 600; color: var(--gw-navy); min-width: 0; overflow-wrap: anywhere; }
.exd-bar__time { font-size: 13.5px; font-weight: 700; color: var(--gw-navy); white-space: nowrap; }
.exd-bar__track {
    grid-column: 1 / -1;
    height: 10px;
    border-radius: 999px;
    background: rgba(var(--gw-navy-rgb), .1);
    overflow: hidden;
}
.exd-bar__fill {
    display: block;
    width: var(--exd-pct, 50%);
    height: 100%;
    border-radius: inherit;
    background: var(--gw-navy);
    transform-origin: left center;
    animation: exd-grow .9s cubic-bezier(.2, .7, .2, 1) both;
}
.exd-bar--1 .exd-bar__fill { background: var(--gw-gold-shine); }
.exd-bar--2 .exd-bar__fill { background: var(--gw-navy-light); }
.exd-bar--3 .exd-bar__fill { background: var(--gw-gold-dark); }
@keyframes exd-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Long-form content (admin HTML) */
.exd-prose {
    max-width: 70ch;
    font-size: 17px;
    line-height: 1.75;
    color: var(--gw-slate);
    overflow-wrap: break-word;
}
.exd-prose > :first-child { margin-top: 0; }
.exd .exd-prose p,
.exd .exd-prose li { color: var(--gw-slate); font-size: inherit; }
.exd .exd-prose p { margin: 0 0 1.1em; }
.exd .exd-prose h2,
.exd .exd-prose h3,
.exd .exd-prose h4 {
    position: relative;
    scroll-margin-top: 110px;
    font-weight: 700;
    letter-spacing: -.01em;
}
.exd .exd-prose h2:focus,
.exd .exd-prose h3:focus { outline: none; }
.exd .exd-prose h2 {
    margin: 2.2em 0 .7em;
    padding-top: .9em;
    font-size: clamp(23px, 2.6vw, 28px) !important;
    line-height: 1.25;
    border-top: 1px solid rgba(var(--gw-navy-rgb), .08);
}
.exd .exd-prose > h2:first-child { padding-top: 0; border-top: 0; }
.exd .exd-prose h2::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    margin-bottom: 14px;
    border-radius: 4px;
    background: var(--gw-gold-shine);
}
.exd .exd-prose h3 {
    margin: 1.9em 0 .6em;
    font-size: clamp(20px, 2.1vw, 22px) !important;
    line-height: 1.3;
}
.exd .exd-prose h4 { margin: 1.6em 0 .5em; font-size: 18px !important; }
.exd .exd-prose h2 strong,
.exd .exd-prose h3 strong { font-weight: inherit; color: inherit; }

.exd .exd-prose strong,
.exd .exd-prose b { font-weight: 600; color: var(--gw-navy); }

.exd .exd-prose a {
    color: var(--gw-navy-light);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(var(--gw-gold-rgb), .9);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: background-color .15s ease;
}
.exd .exd-prose a:hover { color: var(--gw-navy); background: rgba(var(--gw-gold-rgb), .2); }
.exd .exd-prose a:focus-visible { border-radius: 3px; }
.exd .exd-prose a strong { color: inherit; }

/* Lists */
.exd .exd-prose ul,
.exd .exd-prose ol { margin: 0 0 1.3em; padding: 0; list-style: none; }
.exd .exd-prose li { position: relative; margin: 0 0 .55em; padding-left: 1.9em; }
.exd .exd-prose li > p { margin: 0 0 .35em; }
.exd .exd-prose ul > li::before {
    content: "";
    position: absolute;
    left: .45em;
    top: .62em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gw-gold);
    box-shadow: 0 0 0 3px rgba(var(--gw-gold-rgb), .22);
}
.exd .exd-prose ol { counter-reset: exd-ol; }
.exd .exd-prose ol > li { counter-increment: exd-ol; padding-left: 2.4em; }
.exd .exd-prose ol > li::before {
    content: counter(exd-ol);
    position: absolute;
    left: 0;
    top: .15em;
    width: 1.65em;
    height: 1.65em;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--gw-navy);
    color: var(--gw-gold);
    font-size: .78em;
    font-weight: 700;
    line-height: 1;
}
.exd .exd-prose li ul,
.exd .exd-prose li ol { margin: .45em 0 .2em; }
.exd .exd-prose li li { font-size: .95em; margin-bottom: .3em; }
.exd .exd-prose li ul > li::before {
    width: 7px;
    height: 7px;
    top: .7em;
    background: transparent;
    border: 2px solid var(--gw-navy-light);
    box-shadow: none;
}

/* Pro tips / questions */
.exd .exd-prose p.exd-tip {
    position: relative;
    margin: 1.4em 0;
    padding: 16px 18px 16px 52px;
    border-radius: 14px;
    background: rgba(var(--gw-gold-rgb), .14);
    border-left: 4px solid var(--gw-gold);
    color: var(--gw-navy);
    font-size: .95em;
    line-height: 1.65;
}
.exd .exd-prose p.exd-tip::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 17px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 38%, var(--gw-gold) 0 4px, transparent 4.5px),
        var(--gw-navy);
}
.exd .exd-prose p.exd-tip strong:first-child { color: var(--gw-gold-dark); }

/* Quotes */
.exd .exd-prose blockquote {
    margin: 1.5em 0;
    padding: 18px 22px;
    border-radius: 0 16px 16px 0;
    border-left: 4px solid var(--gw-navy);
    background: var(--gw-ice);
    color: var(--gw-navy);
    font-size: 1.05em;
    font-weight: 500;
}
.exd .exd-prose blockquote p { color: var(--gw-navy); margin: 0; }

/* Tables: scroll inside their own box */
.exd .exd-prose .exd-table {
    max-width: 100%;
    margin: 1.4em 0;
    overflow-x: auto;
    border: 1px solid rgba(var(--gw-navy-rgb), .1);
    border-radius: 14px;
    -webkit-overflow-scrolling: touch;
}
.exd .exd-prose table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 15px;
    line-height: 1.5;
}
.exd .exd-prose th,
.exd .exd-prose td {
    padding: 11px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid rgba(var(--gw-navy-rgb), .08);
    color: var(--gw-slate);
}
.exd .exd-prose thead th,
.exd .exd-prose tr:first-child th {
    background: var(--gw-navy);
    color: var(--gw-white);
    font-weight: 600;
}
.exd .exd-prose tbody tr:nth-child(even) td { background: rgba(var(--gw-ice-rgb), .7); }
.exd .exd-prose tr:last-child td { border-bottom: 0; }

.exd .exd-prose img,
.exd .exd-prose iframe,
.exd .exd-prose video { max-width: 100%; height: auto; border-radius: 14px; }
.exd .exd-prose iframe { aspect-ratio: 16 / 9; width: 100%; border: 0; }
.exd .exd-prose hr { margin: 2em 0; border: 0; border-top: 1px solid rgba(var(--gw-navy-rgb), .1); opacity: 1; }

/* Cost + mock test card */
.exd-mock {
    max-width: 70ch;
    margin: 40px 0 0;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--gw-ice);
    border: 1px dashed rgba(var(--gw-navy-rgb), .2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    scroll-margin-top: 110px;
}
.exd-mock__text { min-width: 0; }
.exd .exd-mock__kicker {
    margin: 0 0 2px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gw-gold-dark);
}
.exd .exd-mock__title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; }
.exd .exd-mock__sub { margin: 2px 0 0; font-size: 14px; }

/* ---------- Related tests ---------- */
.exd-related { margin-top: 56px; }
.exd-related__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.exd .exd-related__title {
    margin: 0;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
}
.exd .exd-related__title span { color: var(--gw-gold-dark); -webkit-text-fill-color: var(--gw-gold-dark); }
.exd .exd-related__all {
    font-size: 14px;
    font-weight: 700;
    color: var(--gw-navy);
    text-decoration: underline;
    text-decoration-color: var(--gw-gold);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.exd .exd-related__all:hover { color: var(--gw-navy-light); }

.exd-related__row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.exd .exd-rcard {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--gw-white);
    border: 1px solid rgba(var(--gw-navy-rgb), .08);
    box-shadow: 0 2px 10px rgba(var(--gw-navy-rgb), .05);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.exd .exd-rcard:hover,
.exd .exd-rcard:focus-visible {
    transform: translateY(-3px);
    border-color: var(--gw-gold);
    box-shadow: 0 12px 26px rgba(var(--gw-navy-rgb), .12);
}
.exd .exd-rcard:focus-visible { outline-offset: 3px; }
.exd-rcard__logo {
    position: relative;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--gw-navy);
}
.exd-rcard__mark { font-size: 15px; font-weight: 800; color: var(--gw-gold); }
.exd .exd-rcard__logo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--gw-white);
}
.exd-rcard__text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1 1 auto; }
.exd-rcard__kind { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gw-gold-dark); }
.exd-rcard__name { font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--gw-navy); }
.exd-rcard__meta {
    font-size: 12.5px;
    color: var(--gw-slate);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.exd-rcard__go {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--gw-ice);
    color: var(--gw-navy);
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease;
}
.exd .exd-rcard:hover .exd-rcard__go { background: var(--gw-gold); transform: translateX(3px); }

/* ---------- Expert band (navy) ---------- */
.exd-band {
    position: relative;
    margin-top: 48px;
    padding: 32px 36px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    background:
        radial-gradient(ellipse at 0% 0%, rgba(var(--gw-gold-rgb), .18), transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(var(--gw-navy-light-rgb), .95), transparent 60%),
        var(--gw-navy);
    color: var(--gw-white);
}
.exd-band__text { min-width: 0; flex: 1 1 360px; }
.exd .exd-band__kicker {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gw-gold);
}
.exd .exd-band__title {
    margin: 0 0 6px;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--gw-white);
    -webkit-text-fill-color: var(--gw-white);
}
.exd .exd-band__title span { color: var(--gw-gold); -webkit-text-fill-color: var(--gw-gold); }
.exd .exd-band__sub { margin: 0; font-size: 15px; color: var(--gw-white); opacity: .9; }
.exd .exd-band__btn {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 12px 28px;
    border-radius: 999px;
    background: var(--gw-gold-shine);
    box-shadow: var(--gw-gold-glow);
    color: var(--gw-navy);
    -webkit-text-fill-color: var(--gw-navy);
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease;
}
.exd .exd-band__btn span { display: inline-block; transition: transform .2s ease; }
.exd .exd-band__btn:hover {
    transform: translateY(-2px);
    color: var(--gw-navy);
    -webkit-text-fill-color: var(--gw-navy);
    box-shadow: 0 0 0 4px rgba(var(--gw-gold-rgb), .3), var(--gw-gold-glow);
}
.exd .exd-band__btn:hover span { transform: translateX(4px); }
.exd .exd-band__btn:focus-visible { outline-color: var(--gw-white); outline-offset: 3px; }

/* ---------- Small screens ---------- */
@media (max-width: 991.98px) {
    .exd-hero__form { max-width: 560px; }
}
@media (max-width: 767.98px) {
    .exd-hero { padding: 20px 0 28px; }
    .exd .exd-crumbs { margin-bottom: 18px; }
    .exd-main { padding-bottom: 56px; }
    .exd-band { padding: 26px 22px; margin-top: 36px; }
    .exd .exd-band__btn { width: 100%; justify-content: center; }
    .exd-related { margin-top: 40px; }
    .exd-prose { font-size: 16px; line-height: 1.7; }
}
@media (max-width: 599.98px) {
    .exd .container { padding-left: 16px; padding-right: 16px; }
    .exd-logo { flex-basis: 68px; width: 68px; height: 68px; border-radius: 18px; }
    .exd-logo__mark { font-size: 19px; }
    .exd-id { gap: 14px; }
    .exd-actions .exd-btn { flex: 1 1 100%; }
    .exd-article { padding: 22px 16px; border-radius: 20px; margin: 0 -4px; }
    .exd-glance { padding: 18px 16px; }
    .exd .exd-prose p.exd-tip { padding: 14px 14px 14px 46px; }
    .exd .exd-prose p.exd-tip::before { left: 13px; top: 15px; }
    .exd-mock { padding: 18px 16px; }
    .exd-mock .exd-btn { width: 100%; }
    .exd-related__row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 379.98px) {
    .exd .exd-facts { gap: 8px; }
    .exd-fact { padding: 12px 10px; }
    .exd .exd-fact dd { font-size: 14px; }
    .exd .subscribe-now-box .card-body { padding: 20px 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .exd *,
    .exd *::before,
    .exd *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
    .exd-fact:hover,
    .exd .exd-rcard:hover,
    .exd .exd-rcard:focus-visible,
    .exd .exd-band__btn:hover,
    .exd .exd-btn:hover span,
    .exd .exd-band__btn:hover span,
    .exd .exd-rcard:hover .exd-rcard__go { transform: none; }
}
