/* ==========================================================================
   Course details page — editorial / magazine layout.
   Loaded only by resources/views/frontend/pages/course-details.blade.php.
   Everything is namespaced .va-* and scoped under .va so the site header,
   footer, cookie banner, Ask John widget and the funnel / callback sections
   are untouched. Brand tokens come from the theme (main.css :root): navy
   #191D88, dark blue #0E104B, amber #F7A400, Outfit + Inter.
   ========================================================================== */
:root {
    --va-header-h: 90px;   /* measured at runtime */
    --va-sticky-top: 0px;  /* = header height once the live header turns sticky */
}

/* .fix sets overflow:hidden, which would stop the mini-nav from sticking. */
main.va-main {
    overflow: visible;
    overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

.va {
    --va-ink: #0E104B;
    --va-navy: #191D88;
    --va-heading: #14176C;
    --va-body: #3E4073;
    --va-muted: #696B92;
    --va-amber: #F7A400;
    --va-amber-deep: #B87400;
    --va-amber-tint: #FEF6E6;
    --va-rule: #DADBEC;
    --va-rule-soft: #E9E9F0;
    --va-tint: #F4F6FD;
    --va-tint-2: #E6EEFF;
    --va-paper: #ffffff;
    --va-radius: 6px;
    --va-serif: 'Newsreader', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
    --va-display: var(--tg-heading-font-family, 'Outfit', sans-serif);
    --va-sans: var(--tg-body-font-family, 'Inter', sans-serif);
    color: var(--va-body);
    font-family: var(--va-sans);
    background: var(--va-paper);
}

.va *,
.va *::before,
.va *::after { box-sizing: border-box; }

/* Resets use :where() so they never out-rank the component rules below. */
:where(.va) ul,
:where(.va) ol { margin: 0; padding: 0; list-style: none; }
:where(.va) dl,
:where(.va) dd,
:where(.va) figure { margin: 0; }
:where(.va) p { color: var(--va-body); font-size: 1.0625rem; line-height: 1.7; margin: 0 0 1.1em; }
:where(.va) p:last-child { margin-bottom: 0; }
.va a { color: var(--va-navy); }
.va :focus-visible {
    outline: 2px solid var(--va-navy);
    outline-offset: 3px;
    border-radius: 3px;
}

.va-textlink {
    font-weight: 600;
    color: var(--va-navy);
    text-decoration: underline;
    text-decoration-color: var(--va-amber);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.va a.va-textlink:hover { color: var(--va-ink); text-decoration-color: var(--va-navy); }

/* ---------- Buttons ---------- */
.va-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 14px 26px;
    border: 1.5px solid transparent;
    border-radius: 10px;
    font-family: var(--va-sans);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.va-btn svg { flex: 0 0 auto; width: 18px; height: 18px; transition: transform 0.2s ease; }
.va-btn:hover svg { transform: translateX(3px); }
.va .va-btn--primary,
.va-dock .va-btn--primary {
    background: var(--va-amber, #F7A400);
    color: var(--va-ink, #0E104B);
    box-shadow: 0 1px 0 rgba(14, 16, 75, 0.12), 0 10px 24px -12px rgba(247, 164, 0, 0.85);
}
.va .va-btn--primary:hover,
.va-dock .va-btn--primary:hover {
    background: var(--va-navy, #191D88);
    color: #fff;
    box-shadow: 0 12px 26px -14px rgba(25, 29, 136, 0.9);
}
.va .va-btn--ghost {
    background: transparent;
    border-color: var(--va-navy);
    color: var(--va-navy);
}
.va .va-btn--ghost:hover { background: var(--va-navy); color: #fff; }
.va .va-btn--onink {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
    background: transparent;
}
.va .va-btn--onink:hover { background: #fff; border-color: #fff; color: var(--va-ink); }
.va-btn--sm { min-height: 40px; padding: 9px 18px; font-size: 0.875rem; border-radius: 8px; }
.va-btn--block { display: flex; width: 100%; }
.va-btn:disabled,
.va .va-btn--primary:disabled {
    background: #E9E9F0;
    color: #8587A8;
    box-shadow: none;
    cursor: not-allowed;
}

/* ---------- Hero ---------- */
.va-hero {
    position: relative;
    padding: 34px 0 0;
    background:
        radial-gradient(900px 420px at 88% -10%, rgba(230, 238, 255, 0.95), rgba(230, 238, 255, 0) 70%),
        linear-gradient(180deg, #F4F6FD 0%, #FBFCFF 62%, #ffffff 100%);
    border-top: 1px solid var(--va-rule-soft);
}
.va-hero__topline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 20px;
}
.va-crumbs {
    margin-left: auto;
    text-align: right;
}
.va-crumbs ol {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 10px;
    align-items: center;
}
.va-crumbs li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--va-muted);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.va-crumbs li + li::before {
    content: "";
    width: 14px;
    height: 1px;
    background: #B8B9DA;
}
.va-crumbs a { color: var(--va-muted); text-decoration: none; }
.va-crumbs a:hover { color: var(--va-navy); }
.va-crumbs [aria-current] { color: var(--va-ink); }

.va-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 18px;
}
.va-kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0 !important;
    font-family: var(--va-sans);
    font-size: 0.78rem !important;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.4 !important;
    text-transform: uppercase;
    color: var(--va-navy) !important;
}
.va-kicker::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--va-amber);
}
.va-kicker span { color: #B8B9DA; }
.va-hero__title {
    margin: 0 0 22px;
    font-family: var(--va-display);
    font-size: clamp(2.5rem, 6.1vw, 4.6rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.028em;
    color: var(--va-ink);
    text-wrap: balance;
}
.va p.va-hero__standfirst {
    max-width: 36em;
    margin: 0 0 30px;
    font-family: var(--va-serif);
    font-size: clamp(1.2rem, 1.75vw, 1.5rem);
    font-weight: 400;
    line-height: 1.45;
    color: #2F3166;
}
.va-hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; }
.va p.va-hero__assure {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin: 14px 0 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--va-muted);
}
.va-hero__assure i { margin-top: 2px; color: #15803d; font-size: 0.8125rem; }
.va-hero__assure strong { color: var(--va-ink); font-weight: 600; }

.va-plate {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--va-rule);
    border-radius: var(--va-radius);
}
.va-plate__logo {
    aspect-ratio: 3 / 2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
}
.va-plate__logo img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.35); }
.va-plate figcaption { display: grid; gap: 3px; }
.va-plate__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-plate__name {
    font-family: var(--va-display);
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--va-ink) !important;
    text-decoration: none;
}
.va-plate__name:hover { color: var(--va-navy) !important; text-decoration: underline; text-underline-offset: 4px; }
.va-plate__meta { font-size: 0.875rem; color: var(--va-muted); }

/* Key facts strip. Outer frame uses the same rule colour as the cell dividers. */
.va-facts-wrap {
    margin-top: 40px;
    border: 1px solid var(--va-rule);
    overflow: hidden;
}
.va-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* Clip only the shared 1px cell edge — keep left padding equal on the first column. */
    margin-left: -1px;
}
.va-facts__item {
    margin: -1px 0 0 -1px;
    padding: 16px 14px 18px 16px;
    border-top: 1px solid var(--va-rule-soft);
    border-left: 1px solid var(--va-rule-soft);
}
.va-facts dt {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-facts dd {
    font-family: var(--va-display);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--va-ink);
}
.va-facts dd small {
    display: block;
    margin-top: 5px;
    font-family: var(--va-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.4;
    color: var(--va-muted);
}
.va-facts dd a { color: var(--va-navy); text-decoration: underline; text-decoration-color: var(--va-amber); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Sticky mini-nav ---------- */
.va-subnav {
    position: sticky;
    top: var(--va-sticky-top, 0px);
    z-index: 90;
    background: #fff;
    border-bottom: 1px solid var(--va-rule);
    transition: box-shadow 0.25s ease;
    /* Own compositing layer so sticky taps aren't lost to content underneath on mobile WebKit. */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}
.va-subnav.is-stuck { box-shadow: 0 10px 24px -18px rgba(14, 16, 75, 0.45); }
.va-subnav__inner { display: flex; align-items: center; gap: 20px; min-height: 52px; }
.va-subnav__list {
    display: flex;
    flex: 1 1 auto;
    gap: 4px;
    min-width: 0;
    margin: 0 -10px !important;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
}
.va-subnav__list::-webkit-scrollbar { display: none; }
.va-subnav__list > li { flex: 0 0 auto; }
.va-subnav__list a {
    position: relative;
    display: block;
    padding: 16px 10px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    color: var(--va-muted);
    text-decoration: none;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(14, 16, 75, 0.08);
}
.va-subnav__list a::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: -1px;
    height: 2px;
    background: var(--va-amber);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}
.va-subnav__list a:hover { color: var(--va-ink); }
.va-subnav__list a.is-active { color: var(--va-ink); }
.va-subnav__list a.is-active::after { transform: scaleX(1); }
.va-subnav__list .va-subnav__apply-tab a { color: var(--va-navy); }
.va-subnav__cta { display: none; flex: 0 0 auto; }

/* ---------- Section scaffold ---------- */
.va-section { padding: 0; scroll-margin-top: calc(var(--va-header-h, 90px) + 52px); }
.va-section__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 52px 0 56px;
    border-top: 1px solid var(--va-rule);
}
.va-section:first-of-type .va-section__grid { border-top: 0; }
.va-section__num {
    display: block;
    margin-bottom: 8px;
    font-family: var(--va-serif);
    font-size: 1.05rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1;
    color: var(--va-amber-deep);
}
.va-section__num::after {
    content: "";
    display: inline-block;
    width: 36px;
    height: 1px;
    margin-left: 12px;
    vertical-align: middle;
    background: var(--va-amber);
}
.va-section__title {
    margin: 0;
    font-family: var(--va-display);
    font-size: clamp(1.75rem, 2.6vw, 2.25rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--va-ink);
}
.va p.va-section__dek {
    max-width: 22em;
    margin: 12px 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--va-muted);
}
.va-section__body > * + * { margin-top: 36px; }
.va-prose { max-width: none; }
.va p.va-lede {
    font-family: var(--va-serif);
    font-size: clamp(1.3rem, 1.9vw, 1.6rem);
    line-height: 1.42;
    color: var(--va-ink);
    margin-bottom: 0.9em;
}
.va-h3 {
    margin: 0 0 14px;
    font-family: var(--va-display);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--va-ink);
}
.va-label {
    display: block;
    margin: 0 0 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--va-muted);
}

/* Pull-out */
.va-pull {
    max-width: none;
    width: 100%;
    padding: 4px 0 4px 26px;
    border-left: 3px solid var(--va-amber);
}
.va p.va-pull__text {
    margin: 0;
    font-family: var(--va-serif);
    font-size: clamp(1.35rem, 2.1vw, 1.75rem);
    font-style: italic;
    line-height: 1.35;
    color: var(--va-navy);
}

/* Spec grid (how you study) */
.va-spec {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 2px solid var(--va-ink);
}
.va-spec__item { padding: 18px 0; border-bottom: 1px solid var(--va-rule); }
.va-spec dt {
    margin: 0 0 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-spec dd { font-size: 1.0625rem; line-height: 1.5; color: var(--va-ink); font-weight: 500; }
.va p.va-note { font-size: 0.9rem; line-height: 1.6; color: var(--va-muted); }
.va p.va-note i { margin-right: 6px; color: var(--va-navy); }

/* ---------- Accordion (modules + FAQs) ---------- */
.va-acc { border-top: 2px solid var(--va-ink); }
.va-acc__item { border-bottom: 1px solid var(--va-rule); }
.va-acc__heading { margin: 0; font-size: inherit; }
.va-acc__trigger {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    padding: 22px 0;
    border: 0;
    background: transparent;
    text-align: left;
    color: var(--va-ink);
    cursor: pointer;
}
.va-acc__trigger:hover { color: var(--va-navy); }
.va-acc__titles { flex: 1 1 auto; min-width: 0; display: grid; gap: 4px; }
.va-acc__eyebrow {
    font-family: var(--va-sans);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-acc__title {
    font-family: var(--va-display);
    font-size: clamp(1.25rem, 1.9vw, 1.6rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.012em;
    color: inherit;
}
.va-acc--faq .va-acc__title { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); letter-spacing: -0.005em; line-height: 1.3; }
.va-acc__count {
    flex: 0 0 auto;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--va-muted);
    white-space: nowrap;
}
.va-acc__icon {
    position: relative;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--va-rule);
    border-radius: 50%;
    background: #fff;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.va-acc__icon::before,
.va-acc__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 1.5px;
    margin: -0.75px 0 0 -6px;
    background: var(--va-ink);
    transition: transform 0.3s ease, background-color 0.2s ease;
}
.va-acc__icon::after { transform: rotate(90deg); }
.va-acc__trigger:hover .va-acc__icon { border-color: var(--va-navy); }
.va-acc__item.is-open .va-acc__icon { background: var(--va-ink); border-color: var(--va-ink); }
.va-acc__item.is-open .va-acc__icon::before,
.va-acc__item.is-open .va-acc__icon::after { background: #fff; }
.va-acc__item.is-open .va-acc__icon::after { transform: rotate(0deg); }
.va-acc__panel { display: grid; grid-template-rows: 1fr; }
.va-acc__panel-inner { min-height: 0; overflow: hidden; }
.va-acc__content { padding: 0 0 28px; }
.va-acc--faq .va-acc__content { max-width: 44rem; padding-right: 54px; }
.va-js .va-acc__panel { transition: grid-template-rows 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.va-js .va-acc__item:not(.is-open) .va-acc__panel { grid-template-rows: 0fr; }
.va-js .va-acc__item:not(.is-open) .va-acc__panel-inner { visibility: hidden; transition: visibility 0s linear 0.34s; }

.va-modules__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    font-size: 0.9375rem;
    color: var(--va-muted);
}
.va-modules__summary strong {
    margin-right: 6px;
    font-family: var(--va-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--va-ink);
}
.va-modlist li {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    align-items: baseline;
    gap: 8px;
    padding: 15px 0;
    border-top: 1px solid var(--va-rule-soft);
}
.va-modlist__num {
    font-family: var(--va-serif);
    font-size: 1.05rem;
    font-style: italic;
    color: var(--va-amber-deep);
}
.va-modlist__name { font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: var(--va-ink); }

/* ---------- Requirements ---------- */
.va-routes-compare {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 2px solid var(--va-ink);
    border-bottom: 1px solid var(--va-rule);
}
.va-routes-compare__item { padding: 24px 0 26px; }
.va-routes-compare__item + .va-routes-compare__item { border-top: 1px solid var(--va-rule); }
.va-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    white-space: nowrap;
}
.va-tag--solid { background: var(--va-navy); color: #fff; }
.va-tag--soft { background: var(--va-tint-2); color: var(--va-navy); }
.va-tag--outline { border: 1px solid var(--va-rule); color: var(--va-muted); background: #fff; }
.va-tag--amber { background: var(--va-amber-tint); color: #8A5600; }
.va-routes-compare .va-h3 { margin-top: 14px; font-size: 1.5rem; }
.va-route-english,
.va-route-interview {
    margin: 12px 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--va-body);
}
.va-route-english strong,
.va-route-interview strong { color: var(--va-ink); }
.va-callout {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    max-width: none;
    padding: 20px 22px;
    background: var(--va-tint);
    border-radius: var(--va-radius);
}
.va-callout__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    color: var(--va-navy);
    font-size: 0.95rem;
}
.va-callout p { font-size: 1rem; line-height: 1.6; }
.va-callout strong { color: var(--va-ink); }

.va-doclist { border-top: 2px solid var(--va-ink); }
.va-doclist li {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--va-rule);
}
.va-doclist__name { font-size: 1.0625rem; font-weight: 600; color: var(--va-ink); line-height: 1.35; }
.va-doclist__desc { font-size: 0.9375rem; line-height: 1.55; color: var(--va-body); }
.va-doclist__meta { display: flex; flex-wrap: wrap; gap: 8px; justify-self: start; }
.va-doclist__tag { justify-self: start; }

/* ---------- Careers ---------- */
.va-roles {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    border-top: 2px solid var(--va-ink);
}
.va-roles li {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 17px 0;
    border-bottom: 1px solid var(--va-rule);
    font-family: var(--va-display);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--va-ink);
}
.va-roles li::before {
    content: "";
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--va-amber);
    transform: translateY(-2px);
}

/* ---------- Funding ---------- */
.va-fee {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 40px;
    align-items: end;
    padding: 26px 0 28px;
    border-top: 2px solid var(--va-ink);
    border-bottom: 1px solid var(--va-rule);
}
.va-fee__amount {
    font-family: var(--va-display);
    font-size: clamp(2.6rem, 5vw, 3.75rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--va-ink);
}
.va-fee__amount small {
    margin-left: 8px;
    font-family: var(--va-sans);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--va-muted);
}
.va p.va-fee__note { margin: 10px 0 0; font-size: 0.9rem; color: var(--va-muted); }
.va-loans { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--va-rule); }
.va-loans__item { padding: 20px 0; border-bottom: 1px solid var(--va-rule); }
.va-loans__item .va-h3 { margin-bottom: 6px; font-size: 1.25rem; }
.va-loans__item p { font-size: 1rem; line-height: 1.55; }
.va-funding__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.va-funding__cta span { font-size: 0.9375rem; color: var(--va-muted); }
.va-helps {
    max-width: none;
    padding: 24px 26px;
    background: var(--va-tint);
    border-left: 3px solid var(--va-navy);
    border-radius: 0 var(--va-radius) var(--va-radius) 0;
}
.va-helps .va-h3 { font-size: 1.2rem; margin-bottom: 8px; }
.va-helps p { font-size: 1rem; line-height: 1.65; }
.va-helps strong { color: var(--va-ink); }

/* ---------- Campuses ---------- */
.va-campus-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.va-campuses { border-top: 2px solid var(--va-ink); }
.va-campus { padding: 22px 0 24px; border-bottom: 1px solid var(--va-rule); }
.va-campus__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.va-campus__name {
    margin: 0;
    font-family: var(--va-display);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--va-ink);
}
.va-campus__city a { color: inherit; text-decoration: none; }
.va-campus__city a:hover { text-decoration: underline; }
.va p.va-campus__address { margin: 0 0 12px; font-size: 0.9875rem; line-height: 1.55; }
.va-campus__intake {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.9rem;
    color: var(--va-muted);
}
.va-campus__intake strong { color: #15803d; font-weight: 700; }
.va-campus__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.va-campus__links a,
.va-campus__links button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--va-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--va-navy);
    text-decoration: none;
    cursor: pointer;
}
.va-campus__links a:hover,
.va-campus__links button:hover { color: var(--va-ink); text-decoration: underline; text-underline-offset: 4px; }
.va-campus__links i { font-size: 0.8rem; color: var(--va-amber-deep); }

/* Live Leaflet campus map (same hooks as the live component) */
.va-map { position: relative; }
.va-map .af-campus-map__canvas {
    position: relative;
    z-index: 1;
    isolation: isolate;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #e8eefc;
    border: 1px solid var(--va-rule);
    border-radius: var(--va-radius);
}
.va p.va-map__caption { margin: 10px 0 0; font-size: 0.8125rem; color: var(--va-muted); }
.va-map .af-nearest { margin-bottom: 12px; }
.va-map .af-campus-map { margin-top: 0; }
.af-campus-map-marker { background: transparent !important; border: 0 !important; }
.af-campus-map-marker__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: #191d88;
    color: #fff;
    box-shadow: 0 6px 14px rgba(25, 29, 136, 0.28);
}
.af-campus-map-marker__pin i { transform: rotate(45deg); font-size: 14px; }
.af-campus-map__popup strong { display: block; color: #191d88; font-size: 14px; margin-bottom: 2px; }
.af-campus-map__popup-city {
    font-size: 12px;
    font-weight: 700;
    color: #1f90ff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}
.af-campus-map__popup-address { font-size: 13px; color: #6c757d; margin: 0 0 8px; line-height: 1.4; }
.af-campus-map__popup-link { font-size: 13px; font-weight: 600; color: #191d88; }

/* ---------- Apply (self-apply) ---------- */
.va-applyband {
    position: relative;
    padding: 64px 0 68px;
    scroll-margin-top: calc(var(--va-header-h, 90px) + 52px);
    background:
        radial-gradient(760px 420px at 0% 0%, rgba(59, 66, 181, 0.55), rgba(59, 66, 181, 0) 70%),
        var(--va-ink);
    color: #fff;
}
.va-applyband__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
.va-applyband .va-section__num { color: var(--va-amber); }
.va-applyband__title {
    margin: 0 0 18px;
    font-family: var(--va-display);
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.026em;
    color: #fff;
    text-wrap: balance;
}
.va-applyband p { color: rgba(255, 255, 255, 0.82); }
.va-applyband p strong { color: #fff; font-weight: 600; }
/* The white card sits inside the dark band: keep its text dark. */
.va-applyband .va-apply p { color: var(--va-body); }
.va-applyband .va-apply p strong { color: var(--va-ink); }
.va p.va-applyband__lede {
    max-width: 30em;
    font-family: var(--va-serif);
    font-size: clamp(1.15rem, 1.6vw, 1.35rem);
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.va-applysteps { margin-top: 30px !important; border-top: 1px solid rgba(255, 255, 255, 0.22); }
.va-applysteps li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px;
    align-items: baseline;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 1.0125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}
.va-applysteps li span:first-child {
    font-family: var(--va-serif);
    font-style: italic;
    font-size: 1.05rem;
    color: var(--va-amber);
}
.va-applyband__alt { margin-top: 30px; }
.va p.va-applyband__alt-text { max-width: 32em; font-size: 0.9875rem; line-height: 1.6; margin-bottom: 16px; }
.va-applyband__alt-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; }

.va-apply {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 34px 70px -34px rgba(0, 0, 0, 0.7);
    color: var(--va-body);
    overflow: hidden;
}
.va-apply__head { padding: 26px 26px 20px; border-bottom: 1px solid var(--va-rule-soft); }
.va-apply__head-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.va-apply__head .va-label { margin-bottom: 0; }
.va-apply__title {
    margin: 0 0 4px;
    font-family: var(--va-display);
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.15;
    color: var(--va-ink);
}
.va-apply p.va-apply__sub { margin: 0; font-size: 0.9375rem; color: var(--va-muted); }
.va-apply__group { padding: 22px 26px; border-bottom: 1px solid var(--va-rule-soft); }
.va-apply__group:last-of-type { border-bottom: 0; }
.va-apply__group--ruled { border-bottom: 1px solid var(--va-rule-soft); }
.va-apply p.va-apply__legend {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 0 0 14px;
    font-family: var(--va-sans);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--va-ink);
}
.va-apply__legend span {
    font-family: var(--va-serif);
    font-size: 1rem;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--va-amber-deep);
}
/* The card is a summary of what the application asks for. The choices themselves
   are made in the apply step, so these are plain cards, not form controls. */
.va-routes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.va-route__body {
    display: block;
    height: 100%;
    padding: 14px 16px 15px;
    border: 1.5px solid var(--va-rule);
    border-radius: 10px;
    background: #fff;
}
.va-route__name { display: block; font-size: 1rem; font-weight: 700; color: var(--va-ink); line-height: 1.3; }
.va-route__text { display: block; margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: var(--va-body); }
.va-applyopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px 24px; }
.va-applyopts dt {
    margin: 0 0 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--va-muted);
}
.va-applyopts dd { font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--va-ink); }
.va-applyopts dd small { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--va-muted); }
.va-applyopts__wide { grid-column: 1 / -1; }
.va-applyopts__intakes li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 7px 0; border-top: 1px solid var(--va-rule-soft); font-size: 0.9375rem; }
.va-applyopts__intakes li:first-child { border-top: 0; padding-top: 0; }
.va-applyopts__intakes li span:last-child { font-weight: 500; color: var(--va-body); }
.va-applyopts__intakes li span.is-upcoming { color: #15803d; font-weight: 700; }
.va-apply p.va-apply__hint { margin: -4px 0 12px; font-size: 0.875rem; line-height: 1.5; color: var(--va-muted); }
.va-apply p.va-apply__hint--after { margin: 12px 0 0; }
.va-applydocs li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--va-rule-soft);
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--va-ink);
}
.va-applydocs li:first-child { border-top: 0; padding-top: 0; }
.va-applydocs__name { font-weight: 500; }
.va-apply__foot { padding: 22px 26px 26px; background: #FBFCFF; }
.va-apply p.va-apply__account { margin: 14px 0 0; font-size: 0.875rem; line-height: 1.55; color: var(--va-muted); text-align: center; }
.va-apply p.va-apply__account strong { color: var(--va-ink); font-weight: 600; }
.va-apply [hidden] { display: none !important; }
.va-apply__progress {
    margin: 0;
    padding: 16px 26px 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--va-amber-deep);
}
.va-apply__head .va-apply__progress {
    padding: 0;
    flex-shrink: 0;
    text-align: right;
}
.va-apply__question {
    margin: 0 0 12px;
    font-family: var(--va-display);
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--va-ink);
}
.va-apply__answer {
    margin: 10px 0 0;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--va-tint);
    font-size: 0.875rem;
    font-weight: 450;
    line-height: 1.4;
    color: var(--va-body);
}
.va-apply__answer strong { display: block; margin: 0; color: var(--va-ink); font-size: 0.875rem; font-weight: 650; }
.va-apply__answer span { display: none; }
.va-apply__split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; align-items: start; }
.va-apply__option { min-width: 0; }
.va-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.va-apply__intake { margin: 4px 0 0; font-size: 0.9375rem; font-weight: 600; color: #15803d; }
.va-apply__option:has(+ .va-apply__intake) .va-choice-row { margin-bottom: 6px; }
.va-apply__option + .va-apply__intake,
.va-apply__locked + .va-apply__intake { margin-top: 2px; }
.va-apply__locked { margin: 0 0 14px; font-size: 1rem; font-weight: 600; line-height: 1.45; color: var(--va-ink); }
.va-apply__locked span {
    display: block;
    margin-bottom: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.va-choice {
    min-height: 44px;
    padding: 10px 16px;
    border: 1.5px solid var(--va-rule);
    border-radius: 10px;
    background: #fff;
    color: var(--va-ink);
    font: inherit;
    font-weight: 650;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}
.va-choice.is-selected { border-color: var(--va-navy); background: var(--va-tint-2); color: var(--va-navy); }
.va-choice-row.is-invalid .va-choice:not(.is-selected) { border-color: #dc2626; }
.va-field { margin-bottom: 14px; }
.va-field__label { display: block; margin-bottom: 6px; font-size: 0.875rem; font-weight: 650; color: var(--va-ink); }
.va-field__req { color: #b45309; }
.va-field__input {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1.5px solid var(--va-rule);
    border-radius: 10px;
    background: #fff;
    color: var(--va-ink);
    font: inherit;
    font-weight: 450;
}
.va-apply .va-field__input::placeholder {
    color: #a3a8c4;
    font-weight: 400;
    opacity: 1;
}
.va-apply select.va-field__input:has(option[value=""]:checked) {
    color: #a3a8c4;
    font-weight: 400;
}
.va-field__input:focus { border-color: var(--va-navy); outline: none; }
.va-field__input.is-invalid,
.va-apply .cf-turnstile.is-invalid { border-color: #dc2626; }
.va-apply .cf-turnstile.is-invalid { border: 1.5px solid #dc2626; border-radius: 10px; }
.va-field__feedback {
    margin: 6px 0 0;
    min-height: 1.2em;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--va-muted);
}
.va-field__feedback.is-error { color: #b91c1c; }
.va-field__feedback.is-ok { color: #15803d; }
.va-city { position: relative; }
.va-city__control { position: relative; }
.va-city__search { padding-right: 42px; }
.va-city__toggle {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--va-muted);
    cursor: pointer;
}
.va-city.is-open .va-city__toggle { color: var(--va-navy); }
.va-city__list {
    position: absolute;
    z-index: 30;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    max-height: 280px;
    margin: 0;
    padding: 0 0 8px;
    overflow: auto;
    list-style: none;
    border: 1.5px solid var(--va-rule);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(14, 16, 75, 0.12);
}
.va-city__prompt {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: 12px 14px;
    border-bottom: 1px solid var(--va-rule-soft);
    background: var(--va-tint);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--va-body);
}
.va-city__prompt.is-error {
    background: #fef2f2;
    color: #b91c1c;
    border-bottom-color: #fecaca;
}
.va-city__heading {
    padding: 10px 14px 4px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-city__option {
    padding: 10px 14px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--va-ink);
    cursor: pointer;
}
.va-city__option:hover,
.va-city__option.is-active {
    background: var(--va-tint);
    color: var(--va-navy);
}
.va-city__option[hidden],
.va-city__heading[hidden] { display: none !important; }
.va-check.is-invalid { outline: 1.5px solid #dc2626; outline-offset: 3px; border-radius: 8px; }
.va-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 0 0 12px;
    font-size: 0.9375rem;
    line-height: 1.45;
    color: var(--va-body);
    cursor: pointer;
}
.va-check input { margin-top: 4px; cursor: pointer; }
.va-apply__error {
    margin: 16px 26px 0;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 0.9375rem;
    line-height: 1.45;
}
.va-apply__success { padding: 26px; }
.va-apply__success h3 {
    margin: 0 0 10px;
    font-family: var(--va-display);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--va-ink);
}
.va-apply__success p { margin: 0 0 12px; }
.va-apply__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.va-apply__actions .va-btn--primary { flex: 1 1 160px; }
.va-review { display: grid; gap: 14px; margin-bottom: 4px; }
.va-review__section {
    padding: 14px 16px;
    border: 1px solid var(--va-rule-soft);
    border-radius: 12px;
    background: #FBFCFF;
}
.va-review__section--docs { background: var(--va-amber-tint); border-color: #f3e0b5; }
.va-review__heading {
    margin: 0 0 10px;
    font-family: var(--va-display);
    font-size: 0.9375rem;
    font-weight: 650;
    color: var(--va-ink);
}
.va-review__list { display: grid; gap: 10px; margin: 0; }
.va-review__row {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    gap: 8px 14px;
    align-items: start;
}
.va-review__row dt {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-review__row dd {
    margin: 0;
    font-size: 0.975rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--va-ink);
    word-break: break-word;
}
.va-review__section--docs .va-apply__hint { margin: 0 0 10px; color: #8A5600; }
.va-review__section--docs .va-applydocs { margin: 0; padding: 0; list-style: none; }
.va-review__section--docs .va-applydocs li {
    border-top-color: rgba(138, 86, 0, 0.16);
}
.va-apply .el-alert {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* What happens next: running-in boards on one gantry */
.va-path { padding: 56px 0 60px; }
.va-path__head { display: grid; gap: 10px; margin-bottom: 30px; }
.va-path__title {
    margin: 0;
    font-family: var(--va-display);
    font-size: clamp(1.5rem, 2.3vw, 1.9rem);
    font-weight: 600;
    letter-spacing: -0.018em;
    line-height: 1.15;
    color: var(--va-ink);
}
.va-path__scroll {
    overflow-x: auto;
    max-width: 100%;
    padding-top: 8px;
    scrollbar-color: var(--va-rule) transparent;
}
.va-path__scroll::-webkit-scrollbar { height: 8px; }
.va-path__scroll::-webkit-scrollbar-thumb { background: var(--va-rule); border-radius: 99px; }
.va-path__rib {
    position: relative;
    width: 100%;
    min-width: 980px;
    container-type: inline-size;
}
.va-path__beam {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    height: 26px;
    background: var(--va-navy);
}
.va-path__beam::before,
.va-path__beam::after {
    content: "";
    position: absolute;
    top: -5px;
    width: 9px;
    height: 36px;
    background: var(--va-ink);
}
.va-path__beam::before { left: 0; }
.va-path__beam::after { right: 0; }
.va-path__line {
    position: absolute;
    z-index: 1;
    top: 7px;
    height: 12px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    background: var(--va-amber);
    border-radius: 999px;
}
.va-path__boards {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    margin: 0;
    padding: 0;
    list-style: none;
}
.va-path__boards > li {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
    padding: 0 6px;
}
.va-path__slot {
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.va-path__disc {
    width: 18px;
    height: 18px;
    box-sizing: border-box;
    border: 4px solid var(--va-ink);
    border-radius: 50%;
    background: #fff;
}
.va-path__boards > li.is-last .va-path__disc { border-color: #15803d; }
.va-path__rod {
    width: 2px;
    height: 18px;
    background: var(--va-navy);
}
.va-path__enamel {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1.5px solid var(--va-ink);
    border-radius: 4px;
    overflow: hidden;
}
.va-path__bar { height: 8px; background: var(--va-amber); }
.va-path__boards > li.is-last .va-path__bar { background: #15803d; }
.va-path__body {
    padding: 8px 8px 8px;
    text-align: center;
}
.va-path__num {
    display: block;
    margin: 0 0 3px;
    font-family: var(--va-serif);
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1;
    color: var(--va-amber-deep);
}
.va-path__boards > li.is-last .va-path__num { color: #15803d; }
.va-path__name {
    margin: 0;
    font-family: var(--va-display);
    font-weight: 700;
    font-size: 0.84rem;
    font-size: clamp(0.84rem, 1.05cqi, 1.15rem);
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--va-ink);
}
.va-path__note {
    margin: 6px 0 0;
    font-size: 0.72rem;
    font-size: clamp(0.72rem, 0.85cqi, 0.9rem);
    line-height: 1.35;
    color: var(--va-muted);
}
.va a.va-path__plate {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 8px;
    background: var(--va-amber-tint);
    color: var(--va-ink);
    font-family: var(--va-sans);
    font-size: 0.7rem;
    font-size: clamp(0.7rem, 0.78cqi, 0.82rem);
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
}
.va a.va-path__plate span { min-width: 0; }
.va a.va-path__plate:hover { background: var(--va-amber); color: var(--va-ink); }
.va a.va-path__plate:focus-visible { outline-offset: -3px; }
.va a.va-path__plate i {
    font-style: normal;
    color: var(--va-amber-deep);
    flex: none;
}
.va a.va-path__plate:hover i { color: var(--va-ink); }

/* ---------- Related + refer ---------- */
.va-related { border-top: 2px solid var(--va-ink); }
.va-related a {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--va-rule);
    text-decoration: none;
    transition: padding 0.25s ease, background-color 0.25s ease;
}
.va-related a:hover { padding-left: 14px; padding-right: 14px; background: var(--va-tint); }
.va-related__name {
    font-family: var(--va-display);
    font-size: clamp(1.1rem, 1.6vw, 1.3rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--va-ink);
}
.va-related__meta { grid-column: 1; font-size: 0.9rem; color: var(--va-muted); }
.va-related__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--va-rule);
    border-radius: 50%;
    color: var(--va-ink);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.va-related__arrow svg { width: 16px; height: 16px; }
.va-related a:hover .va-related__arrow { background: var(--va-ink); border-color: var(--va-ink); color: #fff; }
.va-refer {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px 32px;
    align-items: center;
    padding: 24px 26px;
    background: var(--va-tint);
    border-left: 3px solid var(--va-amber);
    border-radius: 0 var(--va-radius) var(--va-radius) 0;
}
.va-refer .va-h3 { margin-bottom: 6px; font-size: 1.25rem; }
.va-refer p { font-size: 1rem; line-height: 1.6; }
.va-refer p strong { color: #15803d; }
.va-section--last .va-section__grid { padding-bottom: 72px; }

/* ---------- Mobile apply dock ---------- */
.va-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9990; /* under Ask John (9999) and the cookie UI (10040+) */
    display: none;
    padding: 12px 72px calc(12px + env(safe-area-inset-bottom, 0px)) 16px;
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #DADBEC;
    box-shadow: 0 -14px 30px -20px rgba(14, 16, 75, 0.45);
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Leave room for the round cookie-settings button when it is showing (bottom-left). */
body:has(#af-cookie-reopen:not([hidden])) .va-dock { padding-left: 68px; }
.va-dock.is-visible { transform: translateY(0); }
.va-dock .va-btn { min-height: 49px; padding: 10px 16px; font-size: 0.9375rem; }
.va-dock__meta { display: none; }

@media (max-width: 991.98px) {
    .va-dock { display: block; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 576px) {
    .va-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .va-facts__item { padding: 18px 16px 20px; }
    .va-spec { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
    .va-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
    .va-loans { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
    .va-routes--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-applyopts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-refer { grid-template-columns: minmax(0, 1fr) auto; }
    .va-map .af-campus-map__canvas { height: 380px; }
}

@media (min-width: 768px) {
    .va-routes-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .va-routes-compare__item { padding: 28px 36px 32px 0; }
    .va-routes-compare__item + .va-routes-compare__item { padding-left: 36px; padding-right: 0; border-top: 0; border-left: 1px solid var(--va-rule); }
    .va-doclist li { grid-template-columns: minmax(0, 15rem) minmax(0, 1fr) auto; align-items: baseline; }
    .va-doclist__tag { justify-self: end; }
    .va-fee { grid-template-columns: auto minmax(0, 1fr); }
    .va-apply__head,
    .va-apply__group { padding-left: 32px; padding-right: 32px; }
    .va-apply__foot { padding: 24px 32px 30px; }
}

@media (min-width: 992px) {
    .va-hero { padding-top: 34px; }
    .va-hero__grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; align-items: end; margin-top: 22px; }
    .va-plate { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; overflow: hidden; }
    .va-plate__logo { border-bottom: 1px solid var(--va-rule-soft); }
    .va-plate__logo img { transform: scale(1.12); }
    .va-plate figcaption { padding: 18px 20px 20px; gap: 4px; }
    .va-facts-wrap { margin-top: 44px; }
    .va-facts { grid-template-columns: repeat(var(--va-facts-n, 6), minmax(0, 1fr)); margin-left: -1px; }
    .va-facts__item { padding: 18px 18px 22px; border-left-color: var(--va-rule); }
    .va-facts dd { font-size: 1.3rem; }

    .va-subnav__inner { min-height: 58px; }
    .va-subnav__list { gap: 10px; }
    .va-subnav__list a { padding: 19px 10px; font-size: 0.9rem; }
    .va-subnav__list .va-subnav__apply-tab { display: none; }
    .va-subnav__cta { display: inline-flex; }

    .va-section { scroll-margin-top: calc(var(--va-header-h, 90px) + 58px); }
    .va-applyband { scroll-margin-top: calc(var(--va-header-h, 90px) + 58px); padding: 96px 0 100px; }
    .va-section__grid { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; padding: 80px 0 88px; }
    .va-section__head { position: sticky; top: calc(var(--va-sticky-top, 0px) + 58px + 36px); align-self: start; }
    .va-section__num { margin-bottom: 14px; }
    .va-section__body > * + * { margin-top: 44px; }

    .va-campus-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: start; }
    .va-map { position: sticky; top: calc(var(--va-sticky-top, 0px) + 58px + 28px); }
    .va-map .af-campus-map__canvas { height: 470px; }

    .va-applyband__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; }
    .va-applyband__intro { position: sticky; top: calc(var(--va-sticky-top, 0px) + 58px + 40px); }

    .va-path { padding: 80px 0 88px; }
    .va-path__head { grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; align-items: end; margin-bottom: 40px; }
    .va-section--last .va-section__grid { padding-bottom: 104px; }
}

@media (min-width: 1200px) {
    .va-hero__grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 88px; }
    .va-section__grid { gap: 72px; }
}

@media (max-width: 575.98px) {
    .va-btn { width: 100%; }
    .va-btn--sm, .va-refer .va-btn { width: auto; }
    .va-acc__count { display: none; }
    .va-acc--faq .va-acc__content { padding-right: 0; }
    .va-apply__head, .va-apply__group, .va-apply__foot { padding-left: 20px; padding-right: 20px; }
    .va-apply__split, .va-field-row { grid-template-columns: 1fr; }
    .va-review__row { grid-template-columns: 1fr; gap: 2px; }
    .va-applyband__alt-actions .va-btn { width: 100%; }
}

/* ==========================================================================
   Live-data shapes: content that varies by course (rich text from the CRM,
   optional facts, intake / deadline rows, online delivery, twin courses).
   ========================================================================== */

/* Keyword emphasis added by the SEO highlighter: bold, no chip. */
.va .af-course-seo__kw { padding: 0; background: none; font-weight: 600; color: var(--va-ink); }
.va .va-hero__standfirst .af-course-seo__kw,
.va .va-lede .af-course-seo__kw,
.va .va-pull__text .af-course-seo__kw { font-weight: inherit; color: inherit; }

/* Inline links inside running copy. */
.va-prose a:not(.va-btn),
.va-callout a,
.va-helps a,
.va-spec dd a,
.va-explore a {
    font-weight: 600;
    color: var(--va-navy);
    text-decoration: underline;
    text-decoration-color: var(--va-amber);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.va-prose a:not(.va-btn):hover,
.va-callout a:hover,
.va-helps a:hover,
.va-spec dd a:hover,
.va-explore a:hover { color: var(--va-ink); text-decoration-color: var(--va-navy); }
.va-prose strong { color: var(--va-ink); font-weight: 600; }
.va-prose ul,
.va-prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.va-prose ul { list-style: disc; }
.va-prose ol { list-style: decimal; }
.va-prose li { margin: 0.3em 0; font-size: 1.0625rem; line-height: 1.65; color: var(--va-body); }
.va-prose li::marker { color: var(--va-amber-deep); }
.va-prose > .va-h3 + p { margin-top: 0; }
.va-prose + .va-prose { margin-top: 28px; }

/* University overview HTML written in the CRM editor. */
.va-richtext > :first-child { margin-top: 0; }
.va-richtext > :last-child { margin-bottom: 0; }
.va-richtext h1,
.va-richtext h2,
.va-richtext h3,
.va-richtext h4,
.va-richtext h5,
.va-richtext h6 {
    margin: 1.7em 0 0.55em;
    font-family: var(--va-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--va-ink);
}
.va-richtext h1,
.va-richtext h2 { font-size: 1.5rem; }
.va-richtext h3 { font-size: 1.3rem; }
.va-richtext h4,
.va-richtext h5,
.va-richtext h6 { font-size: 1.125rem; }
.va-richtext img,
.va-richtext iframe,
.va-richtext video { max-width: 100%; height: auto; }
.va-richtext table {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 0 1.1em;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.va-richtext th,
.va-richtext td { padding: 10px 12px; border: 1px solid var(--va-rule); text-align: left; vertical-align: top; }
.va-richtext th { background: var(--va-tint); color: var(--va-ink); }
.va-richtext blockquote {
    margin: 0 0 1.1em;
    padding: 2px 0 2px 20px;
    border-left: 3px solid var(--va-amber);
    font-family: var(--va-serif);
    font-size: 1.2rem;
    color: var(--va-navy);
}

/* Hero: long course names step the headline down so it never runs past four lines. */
.va-hero__title { overflow-wrap: break-word; }
.va-hero__title--long { font-size: clamp(2.1rem, 4.5vw, 3.5rem); line-height: 1.06; }
.va-hero__title--xlong { font-size: clamp(1.8rem, 3.5vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }

/* Old links to the previous apply block (#apply-now) land on the apply section. */
.va-anchor {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    scroll-margin-top: calc(var(--va-header-h, 90px) + 58px);
}

/* Hero: university plate without a logo. */
.va-plate--nologo { grid-template-columns: minmax(0, 1fr); padding: 18px 20px; }
.va-plate--nologo figcaption { padding: 0; }
.va-plate__name--plain:hover { text-decoration: none; color: var(--va-ink) !important; }

/* Longer "who it's for" copy reads better upright and a little smaller. */
.va-pull--long p.va-pull__text { font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-style: normal; line-height: 1.5; }

/* Spec grid values that are lists or longer text. */
.va-spec__list li + li { margin-top: 4px; }
.va-spec--single { grid-template-columns: minmax(0, 1fr) !important; }
.va-spec--single dd { font-size: 1rem; font-weight: 400; line-height: 1.6; color: var(--va-body); }

/* Module credits (only when the university publishes them). */
.va-modlist__credits { margin-left: 10px; font-size: 0.875rem; font-weight: 400; color: var(--va-muted); white-space: nowrap; }

/* Entry routes: per-route document chips (Required / Optional / Any one). */
.va-routedocs {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px !important;
}
.va-routedocs__title {
    margin: 0 0 2px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--va-ink);
}
.va-routedocs__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
}
.va-routedocs__col {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--va-rule);
    border-radius: var(--va-radius);
    background: var(--va-tint);
}
.va-routedocs__col-label {
    margin-bottom: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--va-muted);
}
.va-routedocs__list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.va-routedocs__empty {
    font-size: 0.875rem;
    color: var(--va-muted);
}
.va-routedocs__chip {
    display: block;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--va-rule);
    border-radius: 6px;
    background: #fff;
    color: var(--va-ink);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}
.va-routedocs__chip--required {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}
.va-routedocs__chip--optional {
    border-color: #bae6fd;
    background: #f0f9ff;
    color: #0369a1;
}
.va-routedocs__chip--group {
    border-style: dashed;
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1e40af;
}
.va-routedocs__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    border: 1px dashed #60a5fa;
    border-radius: var(--va-radius);
    background: linear-gradient(180deg, #eff6ff, #f8fafc);
}
.va-routedocs__group-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.va-routedocs__group-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1e40af;
}
.va-routedocs__group-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: #2563eb;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.va-routedocs__group-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
@media (min-width: 640px) {
    .va-routedocs__split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.va-routes-compare--single { grid-template-columns: minmax(0, 1fr) !important; }
.va-doclist__desc strong { color: var(--va-ink); font-weight: 600; }
.va-doclist__opt { display: block; }
.va-doclist__opt + .va-doclist__opt { margin-top: 6px; }
.va-doclist__opt--note {
    margin-top: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--va-muted);
}

/* Campus intake / deadline rows. */
.va-campus__timing { display: grid; gap: 4px; margin-bottom: 14px; }
.va-campus__timing-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    font-size: 0.9rem;
    color: var(--va-muted);
}
.va-campus__timing-row strong { font-weight: 700; color: var(--va-ink); }
.va-campus__timing-row--future strong { color: #15803d; }
.va-campus__timing-row--current strong { color: #b45309; }
.va-campus__timing-row--past strong { color: #b91c1c; }
.va-campus__timing-row a { font-weight: 600; color: var(--va-navy); text-decoration: underline; text-underline-offset: 3px; }
.va-campus--note { padding: 22px 24px; background: var(--va-tint); border-bottom: 0; border-radius: var(--va-radius); }
.va-campus--note + .va-campus--note,
.va-campus + .va-campus--note { margin-top: 20px; }
.va-campus--note p.va-campus__address { margin-bottom: 0; }
.va-campus-layout--solo { grid-template-columns: minmax(0, 1fr) !important; max-width: 48rem; }

/* The shared campus map component, without its own heading and legend. */
.va-map .af-campus-map { margin-top: 0 !important; }
/* "Show on map" reuses the component's legend-button hook; keep it a text link here. */
.va .va-campus__links .af-campus-map__legend-btn,
.va .va-campus__links .af-campus-map__legend-btn:hover {
    width: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    transform: none;
    line-height: inherit;
}

/* "How this course differs" table (shared partial) inside the editorial page. */
.va .af-course-differs { margin-bottom: 0 !important; }
.va .af-course-differs .af-section-title {
    display: block;
    min-height: 0;
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--va-display);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--va-ink);
}
.va .af-course-differs .af-section-title::before,
.va .af-course-differs .af-section-title::after { display: none !important; content: none !important; }
.va .af-course-differs .af-section-title__icon { display: none; }
.va .af-course-differs p { font-size: 1rem; }
.va .af-course-differs__table a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Related: subject / city hub links. */
.va p.va-explore { font-size: 1rem; line-height: 1.65; }

@media (prefers-reduced-motion: reduce) {
    .va *, .va *::before, .va *::after, .va-dock { transition: none !important; }
}
