/* ==========================================================================
   IAMPS theme — main stylesheet
   Palette taken from the IAMPS seal: navy lettering, cyan ring, gold ribbon.
   ========================================================================== */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--navy: #172e57;
	--navy-deep: #0f1f3d;
	--cyan: #16a9d5;
	--cyan-ink: #0a6f95;
	--gold: #b68116;
	--gold-ink: #85600f;
	--gold-wash: #f7efdc;
	--mist: #eef4f8;
	--line: #d6e0e9;
	--text: #1d2735;
	--muted: #546274;
	--white: #fff;

	--display: "Plus Jakarta Sans", "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Public Sans", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5625rem;
	--step-3: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);
	--step-4: clamp(2.1rem, 1.5rem + 2.2vw, 3rem);
	--step-5: clamp(2.5rem, 1.6rem + 3.4vw, 4rem);

	--container: 1200px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--radius: 8px;
	--radius-lg: 14px;
	--section: clamp(3.5rem, 7vw, 6.5rem);
	--header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; font-family: var(--sans); font-size: var(--step-0); line-height: 1.65; color: var(--text); background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--cyan-ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 700; line-height: 1.12; color: var(--navy); margin: 0 0 0.6em; letter-spacing: -0.02em; font-optical-sizing: auto; }
p, ul, ol, dl, figure, blockquote, table { margin: 0 0 1.1em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 3px; }
::selection { background: #cdeaf5; color: var(--navy-deep); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 1000; background: var(--navy); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius); }
.skip-link:focus { top: 1rem; }
.icon { flex: none; }

/* ---------- Buttons & links ---------- */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 46px; padding: 0.7rem 1.35rem; border: 1.5px solid transparent; border-radius: var(--radius); font: 600 0.98rem/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.92rem; }
.btn--lg { min-height: 54px; padding: 0.9rem 1.7rem; font-size: 1.03rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--navy-deep); color: #fff; }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy-deep); }
.btn--outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.text-link { font-weight: 600; color: var(--cyan-ink); text-decoration: underline; text-decoration-color: rgba(10,111,149,.35); }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-deep); color: #dfe8f3; font-size: 0.84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar-note { display: flex; align-items: center; gap: 0.5rem; margin: 0; }
.topbar-note .icon { color: var(--cyan); }
.topbar-menu { display: flex; gap: 1.4rem; list-style: none; margin: 0; padding: 0; }
.topbar-menu a { color: #dfe8f3; text-decoration: none; }
.topbar-menu a:hover { color: #fff; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
@media (min-width: 1021px) { .site-header { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); } }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.85rem; text-decoration: none; color: var(--navy); flex: none; }
.brand-seal { width: 60px; height: 60px; border-radius: 50%; }
.brand-text { display: grid; line-height: 1.1; }
.brand-short { font: 800 1.5rem/1 var(--display); letter-spacing: 0.02em; color: var(--navy); }
.brand-long { font-size: 0.78rem; color: var(--muted); max-width: 17rem; margin-top: 0.25rem; line-height: 1.3; }

.site-nav { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.primary-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.primary-menu > li { position: relative; display: flex; align-items: center; }
.primary-menu > li > a { display: block; padding: 0.6rem 0.6rem; font-weight: 550; font-size: 0.95rem; white-space: nowrap; color: var(--text); text-decoration: none; border-radius: 6px; }
.primary-menu > li > a:hover, .primary-menu > li.current-menu-item > a, .primary-menu > li.current-menu-ancestor > a { color: var(--navy); background: var(--mist); }
.submenu-toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -0.45rem; padding: 0; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 4px; }
.submenu-toggle svg { transition: transform .15s; }
.primary-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 270px; margin: 0; padding: 0.5rem; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 18px 40px -18px rgba(15,31,61,.35); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.primary-menu .sub-menu a { display: block; padding: 0.55rem 0.8rem; border-radius: 6px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu .current-menu-item > a { background: var(--mist); color: var(--navy); }
.primary-menu > li:hover > .sub-menu, .primary-menu > li:focus-within > .sub-menu, .primary-menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu > li.is-open > .submenu-toggle svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.search-toggle { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--navy); cursor: pointer; }
.search-toggle:hover { background: var(--mist); }
.nav-toggle { display: none; }
.nav-mobile-quick { display: none; }
.site-search { border-top: 1px solid var(--line); background: var(--mist); padding: 1rem 0; }
.search-form { display: flex; gap: 0.6rem; max-width: 640px; }
.search-field { flex: 1; min-height: 48px; padding: 0.6rem 1rem; border: 1px solid #b9c7d4; border-radius: var(--radius); font: inherit; background: #fff; }

@media (max-width: 1480px) {
	.brand-long { display: none; }
}
@media (max-width: 1140px) {
	.primary-menu > li > a { padding-inline: 0.55rem; }
}
@media (max-width: 1020px) {
	:root { --header-h: 72px; }
	.topbar-nav { display: none; }
	.brand-long { display: block; max-width: 12rem; }
	.brand-seal { width: 52px; height: 52px; }
	.nav-toggle { display: inline-flex; align-items: center; gap: 0.45rem; margin-left: auto; padding: 0.55rem 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--navy); font: 600 0.95rem var(--sans); cursor: pointer; }
	.nav-toggle-close, .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
	.site-nav { position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; display: none; flex-direction: column; align-items: stretch; gap: 1.25rem; padding: 1.25rem var(--gutter) 2.5rem; background: #fff; overflow-y: auto; border-top: 1px solid var(--line); }
	.site-nav.is-open { display: flex; }
	.primary-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-menu > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.primary-menu > li > a { flex: 1; padding: 0.95rem 0; font-size: 1.08rem; background: none !important; }
	.submenu-toggle { width: 44px; height: 44px; margin: 0; }
	.primary-menu .sub-menu { position: static; display: none; flex-basis: 100%; min-width: 0; padding: 0 0 0.75rem 0.5rem; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.primary-menu > li:hover > .sub-menu, .primary-menu > li:focus-within > .sub-menu { display: none; }
	.primary-menu > li.is-open > .sub-menu { display: block; }
	.nav-actions { justify-content: space-between; }
	.nav-actions .btn { flex: 1; }
	.nav-mobile-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
	.nav-mobile-quick a { display: inline-block; padding: 0.4rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.9rem; color: var(--navy); text-decoration: none; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) {
	.topbar-note span { font-size: 0.78rem; }
	.brand-long { display: none; }
	.nav-toggle-label { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(6.5rem, 10vw, 9rem); background: radial-gradient(60rem 36rem at 85% 20%, #dcebf4 0, transparent 60%), var(--mist); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-motto { margin: 0 0 1.25rem; font: italic 500 1.2rem/1.3 var(--serif); color: var(--gold-ink); display: flex; align-items: center; gap: 0.8rem; }
.hero-motto::before { content: ""; width: 2.5rem; height: 2px; background: var(--gold); }
.hero-title { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4rem); line-height: 1.03; font-weight: 800; letter-spacing: -0.035em; margin-bottom: 1.5rem; max-width: 16ch; text-wrap: balance; }
.hero-text { font-size: 1.2rem; line-height: 1.6; color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.75rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; max-width: 40rem; }
.hero-proof li { display: grid; gap: 0.2rem; padding: 0.15rem 1.2rem; border-left: 2px solid var(--gold); }
.hero-proof li:first-child { padding-left: 1rem; }
.hero-proof strong { font: 700 0.98rem/1.25 var(--display); color: var(--navy); }
.hero-proof span { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; }
.hero-ring { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-ring polygon { fill: #fff; stroke: var(--cyan); stroke-width: 1.5; }
.hero-ring circle { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 6; }
.hero-seal { position: relative; width: 74%; height: auto; border-radius: 50%; }
.hero-visual.has-photo { aspect-ratio: 4 / 5; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }
.hero-photo-seal { position: absolute; left: -1.5rem; bottom: -1.5rem; padding: 0.5rem; background: #fff; border-radius: 50%; box-shadow: 0 10px 30px -10px rgba(15,31,61,.4); }
.hero-photo-seal img { width: 104px; height: 104px; }
@media (prefers-reduced-motion: no-preference) {
	.hero-ring { animation: ring-settle 1.6s cubic-bezier(.2,.7,.2,1) both; }
	.hero-seal { animation: seal-in .9s .15s cubic-bezier(.2,.7,.2,1) both; }
	@keyframes ring-settle { from { transform: rotate(-24deg) scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
	@keyframes seal-in { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-visual { order: -1; max-width: 300px; justify-self: start; }
	.hero-visual.has-photo { max-width: none; aspect-ratio: 16 / 10; }
	.hero-title { max-width: 20ch; }
}
@media (max-width: 600px) {
	.hero-visual { max-width: 200px; }
	.hero-proof { grid-template-columns: 1fr; gap: 0.9rem; }
	.hero-proof li, .hero-proof li:first-child { padding-left: 1rem; }
	.hero-actions .btn { flex: 1 1 100%; }
}

/* ---------- Payment & verification ---------- */
.notices-card { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(15,31,61,.5); }
.notice-pay, .notice-verify { padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.notice-pay { background: #fff; }
.notice-verify { background: var(--navy); color: #dbe6f2; }
.notice-title { display: flex; align-items: center; gap: 0.6rem; font-size: var(--step-2); margin-bottom: 0.75rem; }
.notice-title .icon { color: var(--gold); }
.notice-verify .notice-title { color: #fff; }
.notice-verify .notice-title .icon { color: var(--cyan); }
.notice-verify p { max-width: 38ch; margin-bottom: 1.5rem; }
.account { display: grid; grid-template-columns: 1.5fr 1fr 0.8fr; gap: 1px; margin: 1.25rem 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.account > div { background: var(--mist); padding: 0.8rem 1rem; }
.account dt { font-size: 0.78rem; color: var(--muted); margin-bottom: 0.15rem; }
.account dd { margin: 0; font-weight: 600; color: var(--navy); line-height: 1.35; }
.account-number { font: 800 1.3rem/1.2 var(--display) !important; letter-spacing: 0.05em; font-variant-numeric: tabular-nums lining-nums; }
.notice-warning { padding-left: 0.9rem; border-left: 3px solid var(--gold); color: var(--gold-ink); font-weight: 500; font-size: 0.97rem; }
@media (max-width: 900px) {
		.notices-card { grid-template-columns: 1fr; }
	.account { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head--split { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; max-width: none; }
.section-title { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.section-title--sm { font-size: var(--step-3); }
.section-lead { font-size: 1.15rem; color: var(--muted); max-width: 52ch; }

/* Pillars */
.pillars { padding-top: var(--section); }
.pillars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.pillar { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pillar-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1rem; border-radius: 50%; background: #e3f4fa; color: var(--cyan-ink); }
.pillar h3 { font-size: var(--step-2); }
.pillar p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .pillars-grid { grid-template-columns: 1fr; } }

/* Statement band */
.statement { background: var(--navy); color: #fff; padding: clamp(3.5rem, 8vw, 6.5rem) 0; position: relative; overflow: hidden; }
.statement::after { content: ""; position: absolute; right: -8rem; top: 50%; width: 30rem; height: 30rem; transform: translateY(-50%); border-radius: 50%; border: 1px solid rgba(22,169,213,.35); box-shadow: 0 0 0 2.5rem rgba(22,169,213,.06), 0 0 0 5rem rgba(22,169,213,.04); pointer-events: none; }
.statement-inner { position: relative; z-index: 1; }
.statement-text { font: 650 clamp(1.5rem, 1.1rem + 1.7vw, 2.3rem)/1.25 var(--display); letter-spacing: -0.02em; max-width: 30ch; margin-bottom: 2.25rem; text-wrap: pretty; }
.statement-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Programmes */
.programmes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 0.85fr); gap: 1.5rem; align-items: stretch; }
.programme { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(15,31,61,.04), 0 14px 30px -24px rgba(15,31,61,.35); overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.programme:hover { border-color: #b9cddd; box-shadow: 0 1px 2px rgba(15,31,61,.05), 0 22px 40px -24px rgba(15,31,61,.45); }
.programme-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.programme-media img, .programme-media .art { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.programme:hover .programme-media img { transform: scale(1.03); }
.programme-media.is-art { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #1d4a73); }
.programme-tag { position: absolute; left: 0.9rem; top: 0.9rem; display: inline-flex; align-items: center; padding: 0.3rem 0.7rem; border-radius: 999px; background: rgba(255,255,255,.96); color: var(--navy); font: 650 0.78rem/1.2 var(--sans); box-shadow: 0 2px 8px rgba(15,31,61,.18); }
.programme-body { padding: 1.35rem 1.4rem 0.5rem; flex: 1; }
.programme-title { font-size: 1.3rem; margin-bottom: 0.7rem; line-height: 1.2; }
.programme-title a { color: var(--navy); text-decoration: none; }
.programme-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0 0 0.9rem; padding: 0; }
.chips li { padding: 0.22rem 0.65rem; border-radius: 999px; background: #e9f3f9; color: var(--cyan-ink); font: 600 0.8rem/1.3 var(--sans); }
.chips li:nth-child(even) { background: var(--gold-wash); color: var(--gold-ink); }
.programme-text { color: var(--muted); font-size: 0.95rem; line-height: 1.6; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.programme-foot { display: flex; align-items: center; justify-content: space-between; margin: 0 1.4rem; padding: 0.95rem 0 1.1rem; border-top: 1px solid var(--line); font-weight: 650; color: var(--navy); font-size: 0.95rem; }
.programme-go { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #e9f3f9; color: var(--navy); transition: background-color .15s, color .15s, transform .15s; }
.programme:hover .programme-go { background: var(--navy); color: #fff; transform: translateX(2px); }
.programme-links { padding: 1.5rem; background: var(--mist); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.programme-links h3 { font-size: var(--step-1); margin-bottom: 0.75rem; }
.programme-links ul { list-style: none; margin: 0; padding: 0; }
.programme-links li + li { border-top: 1px solid var(--line); }
.programme-links a { display: block; padding: 0.6rem 0; color: var(--navy); text-decoration: none; font-weight: 500; }
.programme-links a:hover { color: var(--cyan-ink); text-decoration: underline; }
@media (max-width: 1100px) { .programmes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .programme-links { grid-column: 1 / -1; } .programme-links ul { columns: 2; column-gap: 2rem; } }
@media (max-width: 640px) { .programmes-grid { grid-template-columns: 1fr; } .programme-links ul { columns: 1; } }

/* Accreditation register */
.register { background: var(--mist); }
.register-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.register-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.register-line { font-size: 0.97rem; color: var(--text); padding: 1rem 1.1rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.register-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.register-item { border-bottom: 1px solid #c8d5e1; }
.register-item summary { display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 1.25rem; padding: 1.15rem 0.25rem; cursor: pointer; list-style: none; }
.register-item summary::-webkit-details-marker { display: none; }
.register-item summary::after { content: ""; width: 14px; height: 14px; justify-self: end; background: linear-gradient(var(--navy), var(--navy)) center / 14px 1.6px no-repeat, linear-gradient(var(--navy), var(--navy)) center / 1.6px 14px no-repeat; transition: transform .2s; }
.register-item[open] summary::after { transform: rotate(45deg); }
.register-item summary:hover .register-body { color: var(--cyan-ink); }
.register-body { font-weight: 600; color: var(--navy); line-height: 1.35; }
.register-ref { font: 700 1rem/1.2 var(--display); color: var(--gold-ink); font-variant-numeric: tabular-nums lining-nums; text-align: right; white-space: nowrap; }
.register-text { padding: 0 2.5rem 1.4rem 0.25rem; color: var(--text); font-size: 0.98rem; }
.register-text p:last-child { margin-bottom: 0; }
@media (max-width: 900px) {
	.register-grid { grid-template-columns: 1fr; }
	.register-intro { position: static; }
}
@media (max-width: 560px) {
	.register-item summary { grid-template-columns: minmax(0, 1fr) 22px; gap: 0.25rem 1rem; }
	.register-ref { grid-row: 2; text-align: left; white-space: normal; font-size: 1rem; }
	.register-item summary::after { grid-row: 1 / span 2; grid-column: 2; }
	.register-text { padding-right: 0; }
}

/* News */
.news-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.news-lead-media { display: block; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.25rem; }
.news-lead-media img { width: 100%; height: 100%; object-fit: cover; }
.news-lead-media .card-seal { width: 140px; height: 140px; }
.news-lead h3 { font-size: var(--step-3); }
.news-lead h3 a, .news-list a { color: var(--navy); text-decoration: none; }
.news-lead h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.news-lead p { color: var(--muted); max-width: 60ch; }
.news-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list a { display: grid; gap: 0.35rem; padding: 1.25rem 0; }
.news-list a:hover .news-list-title { color: var(--cyan-ink); text-decoration: underline; }
.news-list-title { font: 700 1.15rem/1.3 var(--display); letter-spacing: -0.015em; }
.news-list-text { font-size: 0.95rem; color: var(--muted); }
@media (max-width: 860px) { .news-grid { grid-template-columns: 1fr; } }

/* Testimonials */
.testimonials { padding-top: 0; }
.quotes-grid, .vcx-quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.5rem); margin-top: 2rem; }
.quote { margin: 0; padding: 1.75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.quote .icon { color: var(--cyan); margin-bottom: 0.75rem; }
.quote p { font: italic 400 1.2rem/1.5 var(--serif); color: var(--navy); }
.quote footer { margin-top: auto; padding-top: 0.75rem; font-weight: 600; font-size: 0.95rem; color: var(--text); }
@media (max-width: 860px) { .quotes-grid, .vcx-quotes { grid-template-columns: 1fr; } }

/* Partners */
.partners { border-top: 1px solid var(--line); }
.partners .section-title { text-align: center; margin-bottom: 2.25rem; }
.partners-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.partners-grid li { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.partners-grid img { max-height: 72px; width: auto; object-fit: contain; }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem 1.75rem; margin-block: 1rem 2rem; }
.card { position: relative; display: flex; flex-direction: column; }
.card-media { display: block; aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1rem; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-meta { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.3rem; }
.card-title { font-size: 1.35rem; margin-bottom: 0.45rem; }
.card-title a { color: var(--navy); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { text-decoration: underline; text-decoration-thickness: 1px; }
.card-text { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Inner pages ---------- */

.page-layout { padding-block: clamp(2.5rem, 5vw, 4rem) var(--section); }
.page-layout > .entry { max-width: 920px; }
.page-layout.has-nav { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.page-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.section-nav-title { font: 600 0.85rem var(--sans); color: var(--muted); margin-bottom: 0.5rem; padding-left: 0.85rem; }
.section-nav ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.section-nav a { display: block; padding: 0.45rem 0.85rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--text); text-decoration: none; font-size: 0.95rem; line-height: 1.35; }
.section-nav a:hover { color: var(--navy); background: var(--mist); }
.section-nav a[aria-current="page"] { border-left-color: var(--cyan); color: var(--navy); font-weight: 600; }
@media (max-width: 900px) {
	.page-layout.has-nav { grid-template-columns: 1fr; }
	.page-aside { position: static; order: 2; padding-top: 2rem; border-top: 1px solid var(--line); }
}
.entry-hero { margin: 0 0 2rem; border-radius: var(--radius-lg); overflow: hidden; }

/* ---------- Entry content (incl. old page-builder output) ---------- */
.entry-content { overflow-wrap: break-word; }
.entry-content--wide { max-width: none; }
.entry-content > *:first-child, .vcx-col > *:first-child, .vcx-text > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: var(--step-3); margin-top: 2.25rem; }
.entry-content h3 { font-size: var(--step-2); margin-top: 2rem; }
.entry-content h4 { font-size: var(--step-1); margin-top: 1.75rem; }
.entry-content h5, .entry-content h6 { font: 650 1.05rem/1.35 var(--sans); color: var(--navy); margin-top: 1.5rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; }
.entry-content li { margin-bottom: 0.35rem; }
.entry-content blockquote:not(.quote) { margin-inline: 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--cyan); font: italic 1.2rem/1.55 var(--serif); color: var(--navy); }
.entry-content hr, .vcx-sep { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
.entry-content img { border-radius: 6px; }
.entry-content .alignleft { float: left; margin: 0.3rem 1.5rem 1rem 0; }
.entry-content .alignright { float: right; margin: 0.3rem 0 1rem 1.5rem; }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content .wp-caption-text, .entry-content figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 0.5rem; }
.entry-content pre { white-space: pre-line; font: inherit; background: none; margin: 0 0 1rem; }
.entry-content table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 0.95rem; }
.entry-content table td, .entry-content table th { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; width: auto !important; }
.entry-content table tr:first-child td { background: var(--mist); color: var(--navy); }
.entry-content iframe { max-width: 100%; }

/* Old content carries hard-coded colours (white text, "blue" links) that were
   only readable on the previous theme's dark rows. Normalise them. */
.entry-content [style*="color"] { color: inherit !important; }
.entry-content a[style*="color"] { color: var(--cyan-ink) !important; }
.entry-content [style*="text-align: center"] { text-align: center; }

.vcx-row { margin-bottom: 2rem; }
.vcx-cols { display: flex; flex-wrap: wrap; gap: 2rem; }
.vcx-col { flex: 1 1 calc(var(--w, 100%) - 2rem); min-width: 0; }
.vcx-col.is-empty { flex-grow: 0; }
.vcx-row--inner { margin-bottom: 0; width: 100%; }
.vcx-band { padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--mist); border-radius: var(--radius-lg); }
.vcx-band--image { position: relative; color: #fff; background: var(--navy) var(--bg) center / cover no-repeat; isolation: isolate; }
.vcx-band--image::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(15,31,61,.78); }
.vcx-band--image h2, .vcx-band--image h3, .vcx-band--image h4 { color: #fff; }
.vcx-text.is-lead { font-size: 1.15rem; }
.vcx-heading { font-size: var(--step-3); }
.vcx-subheading { color: var(--muted); margin-top: -0.4rem; }
.vcx-button { margin: 1rem 0 1.5rem; }
.vcx-feature { display: grid; gap: 1rem; margin-bottom: 1.5rem; }
.vcx-feature.is-inline { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.vcx-feature-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #e3f4fa; color: var(--cyan-ink); }
.vcx-feature-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-lg); }
.vcx-feature-title { font-size: var(--step-1) !important; margin: 0 0 0.4rem !important; }
.vcx-feature-text { color: var(--text); }
.vcx-address { white-space: pre-line; color: var(--text); }
.vcx-image { margin: 0 0 1.5rem; }
.vcx-image img { width: 100%; border-radius: var(--radius); }
.vcx-image.is-centered { margin-inline: auto; text-align: center; }
.vcx-image.is-round img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.vcx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0.75rem; list-style: none; padding: 0 !important; margin: 0 0 2.5rem; }
.vcx-gallery li { margin: 0; }
.vcx-gallery a { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.vcx-gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .35s; }
.vcx-gallery a:hover img { transform: scale(1.04); }
.vcx-gallery.is-strip a { aspect-ratio: 3 / 2; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; padding: 0.75rem; }
.vcx-gallery.is-strip img { object-fit: contain; height: 72px; }
.vcx-accordion { margin-bottom: 2rem; }
.disclosure { border-bottom: 1px solid var(--line); }
.disclosure:first-of-type { border-top: 1px solid var(--line); }
.disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0.25rem; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor, currentColor) center / 12px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 12px no-repeat; transition: transform .2s; }
.disclosure[open] summary::after { transform: rotate(45deg); }
.disclosure summary:hover { color: var(--cyan-ink); }
.disclosure-body { padding: 0 0.25rem 1.25rem; }
@media (max-width: 760px) {
	.vcx-col { flex-basis: 100%; }
	.vcx-col.is-empty { display: none; }
	.vcx-cols { gap: 1.25rem; }
}

/* Notices & forms */
.notice { padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--gold-wash); border-left: 3px solid var(--gold); margin: 1rem 0 1.5rem; }
.notice p { margin: 0; }
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="tel"], .entry-content input[type="number"], .entry-content input[type="date"], .entry-content input[type="url"], .entry-content select, .entry-content textarea, .comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea {
	width: 100%; min-height: 48px; padding: 0.65rem 0.9rem; border: 1px solid #b9c7d4; border-radius: var(--radius); background: #fff; font: inherit; color: var(--text);
}
.entry-content textarea, .comment-form textarea { min-height: 140px; }
.entry-content input:focus, .entry-content select:focus, .entry-content textarea:focus { outline: 3px solid rgba(22,169,213,.4); border-color: var(--cyan); }
.entry-content label { font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.entry-content input[type="submit"], .entry-content button[type="submit"], .comment-form .submit, .caldera-grid .btn { background: var(--navy) !important; color: #fff !important; border: 0 !important; border-radius: var(--radius) !important; min-height: 48px; padding: 0.7rem 1.5rem !important; font: 600 1rem var(--sans) !important; cursor: pointer; }
.caldera-grid .form-group { margin-bottom: 1.1rem; }

/* Pagination, post nav */
.pagination .nav-links, .post-navigation .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.75rem; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--navy); }
.pagination .page-numbers.current { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-navigation { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-navigation .nav-links { justify-content: space-between; }
.post-navigation a { display: grid; gap: 0.2rem; text-decoration: none; max-width: 22rem; }
.post-navigation .nav-next { text-align: right; margin-left: auto; }
.nav-label { font-size: 0.85rem; color: var(--muted); }
.nav-title { font: 700 1.05rem/1.3 var(--display); color: var(--navy); }
.empty { max-width: 40rem; }
.empty .search-form { margin: 1.5rem 0; }
.pill-links { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; }
.pill-links a { display: inline-block; padding: 0.45rem 0.95rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--navy); }
.search-again { margin-bottom: 2rem; }
.comments { margin-top: 3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c6d3e2; font-size: 0.96rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 0.9fr 0.9fr; gap: clamp(2rem, 4vw, 3.5rem); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-seal { display: inline-block; padding: 6px; background: #fff; border-radius: 50%; margin-bottom: 1rem; }
.footer-seal img { width: 76px; height: 76px; }
.footer-name { font: 700 1.25rem/1.25 var(--display); color: #fff; max-width: 18rem; margin-bottom: 0.4rem; }
.footer-motto { font: italic 1.05rem var(--serif); color: #e2c27a; }
.footer-title { font: 650 0.9rem/1.2 var(--sans); color: #fff; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.55rem; }
.site-footer a { color: #c6d3e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.contact-list li { display: flex; gap: 0.65rem; align-items: flex-start; }
.contact-list .icon { margin-top: 0.2rem; color: var(--cyan); }
.footer-more { display: inline-block; margin-top: 0.5rem; text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.3) !important; }
.socials { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 1rem !important; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); font-size: 0.86rem; }
.footer-legal-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; padding-block: 1.25rem; }
.footer-legal p { margin: 0; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Lightbox ---------- */
.lightbox { width: min(96vw, 1200px); max-height: 92vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10,20,40,.88); }
.lightbox img { max-width: 100%; max-height: 86vh; margin: auto; border-radius: 6px; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--navy); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lightbox-close { top: -1rem; right: -1rem; }
.lightbox-prev { left: -1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: -1.5rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) { .lightbox-prev { left: 0.5rem; } .lightbox-next { right: 0.5rem; } .lightbox-close { right: 0.5rem; top: 0.5rem; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .page-aside, .lightbox { display: none !important; }
	.page-head { background: none; border: 0; padding: 0; }
	a { color: inherit; }
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(15,31,61,.45); }
.programme-media .card-seal, .card-media .card-seal { width: 96px !important; height: 96px !important; object-fit: contain; }
.news-lead-media .card-seal { width: 140px !important; height: 140px !important; object-fit: contain; }
.section-head .section-title { margin-bottom: 0.35em; }

.news-lead-media.is-empty, .card-media.is-empty { background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #1d4a73); display: block; }
.news-lead-media .art, .card-media .art { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ==========================================================================
   Colour scheme: "cyan" — the navy and cyan roles are interchanged.
   Surfaces, buttons and accents that were navy (#172E57) become cyan (#16A9D5)
   and the accents that were cyan become navy. Text on cyan is navy (4.9:1);
   white text is kept only on the deeper cyan used for the top bar and footer.
   Headings and body copy stay dark so they remain readable on white.
   Switch in Appearance > Customize > IAMPS > General & compatibility.
   ========================================================================== */
body.scheme-cyan {
	--brand: #16a9d5;
	--brand-deep: #0c7396;
	--brand-light: #34bde3;
	--accent: #172e57;
	--accent-tint: #e4eaf3;
	--cyan: #172e57;
	--cyan-ink: #172e57;
	--navy-deep: #0c7396;
}
.scheme-cyan .btn--primary { background: var(--brand); color: var(--accent); }
.scheme-cyan .btn--primary:hover { background: var(--brand-light); color: var(--accent); }
.scheme-cyan .btn--ghost { border-color: var(--brand); color: var(--accent); }
.scheme-cyan .btn--ghost:hover { background: var(--brand); color: var(--accent); }
.scheme-cyan .btn--outline-light { border-color: var(--accent); color: var(--accent); }
.scheme-cyan .btn--outline-light:hover { background: var(--accent); color: #fff; }
.scheme-cyan .nav-actions .btn--primary { box-shadow: inset 0 0 0 1px rgba(23,46,87,.12); }


.scheme-cyan .notice-verify { background: var(--brand); color: var(--accent); }
.scheme-cyan .notice-verify .notice-title, .scheme-cyan .notice-verify .notice-title .icon, .scheme-cyan .notice-verify p { color: var(--accent); }
.scheme-cyan .statement { background: linear-gradient(120deg, var(--brand), #2fb7e0); color: var(--accent); }
.scheme-cyan .statement-text { color: var(--accent); font-weight: 500; }
.scheme-cyan .statement::after { border-color: rgba(23,46,87,.28); box-shadow: 0 0 0 2.5rem rgba(23,46,87,.05), 0 0 0 5rem rgba(23,46,87,.035); }

.scheme-cyan .pillar-icon, .scheme-cyan .vcx-feature-icon { background: var(--accent-tint); color: var(--accent); }
.scheme-cyan .chips li { background: var(--accent-tint); color: var(--accent); }
.scheme-cyan .chips li:nth-child(even) { background: var(--gold-wash); color: var(--gold-ink); }
.scheme-cyan .programme-go { background: var(--accent-tint); color: var(--accent); }
.scheme-cyan .programme:hover .programme-go { background: var(--brand); color: var(--accent); }
.scheme-cyan .programme-media.is-art, .scheme-cyan .card-media.is-empty, .scheme-cyan .news-lead-media.is-empty { background: linear-gradient(135deg, #0e90ba, var(--brand) 55%, #4cc6e8); }
.scheme-cyan .art g { stroke: var(--accent); stroke-opacity: .9; }
.scheme-cyan .art circle[fill="#16a9d5"] { fill: #fff; fill-opacity: .16; }
.scheme-cyan .hero-ring polygon { stroke: var(--brand); }
.scheme-cyan .quote .icon { color: var(--accent); }
.scheme-cyan .register-item summary:hover .register-body, .scheme-cyan .disclosure summary:hover { color: var(--brand-deep); }
.scheme-cyan .entry-content a:hover, .scheme-cyan .text-link:hover { color: var(--brand-deep); }
.scheme-cyan .search-field:focus, .scheme-cyan .entry-content input:focus, .scheme-cyan .entry-content select:focus, .scheme-cyan .entry-content textarea:focus { outline-color: rgba(22,169,213,.5); border-color: var(--brand); }
.scheme-cyan .pagination .page-numbers.current { background: var(--brand); border-color: var(--brand); color: var(--accent); }
.scheme-cyan .section-nav a[aria-current="page"] { border-left-color: var(--brand); }
.scheme-cyan .entry-content input[type="submit"], .scheme-cyan .entry-content button[type="submit"], .scheme-cyan .comment-form .submit, .scheme-cyan .caldera-grid .btn { background: var(--brand) !important; color: var(--accent) !important; }
.scheme-cyan .vcx-band--image::before { background: rgba(12,115,150,.86); }
.scheme-cyan ::selection { background: #bfe9f6; color: var(--accent); }



/* ==========================================================================
   Homepage v2: quick actions, programmes offered, study route, stats, fees
   ========================================================================== */

/* Quick actions overlap the hero */
.quick { position: relative; z-index: 2; margin-top: clamp(-6rem, -8vw, -4rem); padding-bottom: var(--section); background: linear-gradient(180deg, transparent 0 4rem, #fff 4rem); }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.quick-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.9rem; height: 100%; padding: 1.15rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 20px 40px -28px rgba(15,31,61,.5); text-decoration: none; color: var(--navy); transition: transform .18s, border-color .18s, box-shadow .18s; }
.quick-item:hover { transform: translateY(-3px); border-color: #aac6da; box-shadow: 0 26px 46px -26px rgba(15,31,61,.55); color: var(--navy); }
.quick-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #e3f4fa; color: var(--cyan-ink); }
.quick-text { display: grid; gap: 0.15rem; line-height: 1.3; }
.quick-text strong { font: 700 1rem/1.25 var(--display); letter-spacing: -0.01em; }
.quick-text span { font-size: 0.84rem; color: var(--muted); }
.quick-go { color: var(--muted); transition: transform .18s, color .18s; }
.quick-item:hover .quick-go { transform: translateX(3px); color: var(--navy); }
@media (max-width: 1100px) { .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .quick { margin-top: -3rem; } .quick-grid { grid-template-columns: 1fr; gap: 0.75rem; } }

/* Programmes offered */
.offered { padding-top: 0; }
.tab-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; padding: 0.35rem; background: var(--mist); border-radius: 999px; width: fit-content; max-width: 100%; }
.tab-list button { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.65rem 1.15rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 650 0.95rem/1 var(--sans); cursor: pointer; transition: background-color .15s, color .15s; }
.tab-list button:hover { color: var(--navy); }
.tab-list button[aria-selected="true"] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(15,31,61,.12), 0 6px 14px -8px rgba(15,31,61,.3); }
.tab-count { display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding: 0 0.4rem; border-radius: 999px; background: #e3f4fa; color: var(--cyan-ink); font-size: 0.78rem; font-weight: 700; }
.tab-panel[hidden] { display: none; }
.tab-note { margin: 1.5rem 0 0; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 640px) { .tab-list { border-radius: var(--radius-lg); width: 100%; } .tab-list button { flex: 1 1 auto; justify-content: center; } }

.area-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.area { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; min-height: 76px; padding: 0.9rem 1.1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--navy); transition: border-color .15s, background-color .15s, transform .15s, box-shadow .15s; }
.area:hover { border-color: #9fc0d6; background: #f5fafd; transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(15,31,61,.5); color: var(--navy); }
.area-no { font: 800 0.95rem/1 var(--display); color: var(--gold-ink); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.area-title { font: 650 1rem/1.3 var(--display); letter-spacing: -0.01em; }
.area-go { color: #8da0b5; transition: transform .15s, color .15s; }
.area:hover .area-go { transform: translateX(3px); color: var(--navy); }
@media (max-width: 980px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .area-grid { grid-template-columns: 1fr; } }

.short-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.short { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.15rem 1.2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); text-decoration: none; color: var(--navy); transition: border-color .15s, transform .15s, box-shadow .15s; }
.short:hover { border-color: #9fc0d6; transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(15,31,61,.5); color: var(--navy); }
.short-code { align-self: flex-start; padding: 0.25rem 0.65rem; border-radius: 999px; background: var(--gold-wash); color: var(--gold-ink); font: 700 0.78rem/1.2 var(--sans); letter-spacing: 0.04em; }
.short-title { font: 650 1.05rem/1.3 var(--display); letter-spacing: -0.01em; }
@media (max-width: 980px) { .short-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .short-grid { grid-template-columns: 1fr; } }

.voc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.85rem; list-style: none; margin: 0; padding: 0; }
.voc { padding: 1.15rem 1.2rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.voc-title { font-size: 1.02rem; margin-bottom: 0.75rem; line-height: 1.25; }
.voc-title a { color: var(--navy); text-decoration: none; }
.voc-title a:hover { text-decoration: underline; }
.voc .chips { margin: 0; }
@media (max-width: 1100px) { .voc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .voc-grid { grid-template-columns: 1fr; } }

/* Study route */
.pathway { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0 0 2.5rem; padding: 0; counter-reset: none; position: relative; }
.step { position: relative; padding-top: 0.25rem; }
.step::before { content: ""; position: absolute; top: 26px; left: 56px; right: -1.5rem; height: 2px; background: linear-gradient(90deg, var(--gold), #e3cf9c); }
.step:last-child::before { display: none; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--gold-ink); font: 800 1.15rem/1 var(--display); }
.step-title { font-size: 1.25rem; margin-bottom: 0.4rem; }
.step-cert { margin: 0 0 0.9rem; font-size: 0.95rem; line-height: 1.4; color: var(--text); }
.step-cert strong { display: inline-block; margin-right: 0.35rem; padding: 0.1rem 0.5rem; border-radius: 6px; background: var(--navy); color: #fff; font: 700 0.78rem/1.5 var(--sans); letter-spacing: 0.04em; }
.step-entry { margin: 0 0 0.7rem; font-size: 0.93rem; color: var(--muted); line-height: 1.5; }
.step-entry span { display: block; font: 700 0.72rem/1.4 var(--sans); letter-spacing: 0.09em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 0.15rem; }
.step-meta { margin: 0; font-weight: 600; font-size: 0.9rem; color: var(--navy); padding-top: 0.7rem; border-top: 1px solid #cddae6; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; } .step:nth-child(2)::before { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .step::before { display: none; } }
.grades { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; padding: 1.1rem 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.grades-label { margin: 0; font-weight: 700; color: var(--navy); }
.grades-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0 auto 0 0; padding: 0; color: var(--muted); font-size: 0.94rem; }
.grades-list strong { margin-right: 0.3rem; color: var(--gold-ink); font: 800 0.95rem var(--display); letter-spacing: 0.04em; }

/* Statement band stats */
.statement { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0 0 2.5rem; padding: 2rem 0 0; border-top: 1px solid rgba(255,255,255,.2); max-width: 52rem; }
.stats strong { display: block; font: 800 clamp(1.9rem, 1.3rem + 1.8vw, 2.8rem)/1 var(--display); letter-spacing: -0.03em; color: #fff; margin-bottom: 0.4rem; }
.stats span { display: block; font-size: 0.86rem; line-height: 1.4; color: #c6d8ea; }
@media (max-width: 700px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fees and verification (lower on the page) */
.fees { background: #fff; border-top: 1px solid var(--line); }
.fees .section-head { margin-bottom: 2rem; }
.notices-card { margin-top: 0; }

/* Tighter cards in "ways to study" */
.programmes .section-head { margin-bottom: 2rem; }

body.scheme-cyan .step-cert strong { background: var(--accent); }
body.scheme-cyan .quick-icon, body.scheme-cyan .tab-count { background: var(--accent-tint); color: var(--accent); }
body.scheme-cyan .stats { border-top-color: rgba(23,46,87,.25); }
body.scheme-cyan .stats strong { color: var(--accent); }
body.scheme-cyan .stats span { color: var(--accent); }

/* Mobile refinements */
.section-head--split { flex-wrap: wrap; }
.section-head--split > div { flex: 1 1 22rem; }
@media (max-width: 640px) {
	.section-head--split { align-items: flex-start; flex-direction: column; gap: 0.75rem; }
	.section-head--split > div { flex: none; }
	.tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 999px; }
	.tab-list::-webkit-scrollbar { display: none; }
	.tab-list button { flex: 0 0 auto; white-space: nowrap; padding-inline: 0.95rem; }
}


/* ==========================================================================
   v3: dark hero with illustrated collage, programme cards
   ========================================================================== */
.hero { color: #fff; background:
	radial-gradient(40rem 28rem at 88% 18%, rgba(22,169,213,.35), transparent 65%),
	radial-gradient(30rem 24rem at 8% 100%, rgba(182,129,22,.18), transparent 70%),
	linear-gradient(160deg, #1b3768 0%, #172e57 45%, #0f1f3d 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); pointer-events: none; }
.hero .container { position: relative; }
.hero-title { color: #fff; }
.hero-text { color: #c9d7e8; }
.hero-motto { color: #f2c36b; }
.hero-motto::before { background: #f2c36b; }
.hero-proof strong { color: #fff; }
.hero-proof span { color: #aebfd4; }
.hero-proof li { border-left-color: #d9a43a; }
.hero .btn--primary { background: #16a9d5; color: #0f1f3d; }
.hero .btn--primary:hover { background: #3cc0e6; color: #0f1f3d; }
.hero .btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: #172e57; }
.quick { background: linear-gradient(180deg, transparent 0 4rem, #fff 4rem); }

/* Collage */
.hero-visual { aspect-ratio: auto; max-width: 540px; min-height: 500px; }
.hero-collage { position: relative; width: 100%; height: 100%; min-height: 500px; }
.hc-glow { position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(22,169,213,.45), transparent 65%); filter: blur(10px); }
.hc-cert { position: absolute; left: 11%; top: 13%; width: 78%; padding: 1.9rem 1.7rem 1.5rem; background: linear-gradient(180deg, #fffdf7, #fff7e6); border-radius: 16px; color: #172e57; text-align: center; transform: rotate(-4deg); box-shadow: 0 40px 70px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(182,129,22,.25), inset 0 0 0 8px #fff, inset 0 0 0 9px rgba(182,129,22,.45); }
.hc-cert-org { margin: 0.2rem 0 0.9rem; font: 800 0.72rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: #172e57; }
.hc-cert-kicker { margin: 0; font: italic 0.95rem var(--serif); color: #8a6a1f; }
.hc-cert-name { margin: 0.6rem auto 0.7rem; width: 70%; height: 1.6rem; border-bottom: 1.5px solid #c9a24a; }
.hc-cert-award { margin: 0 0 1rem; font: 700 1.45rem/1.2 var(--display); letter-spacing: -0.02em; color: #172e57; }
.hc-cert-lines { display: grid; gap: 0.45rem; justify-items: center; margin-bottom: 0.9rem; }
.hc-cert-lines span { display: block; height: 6px; width: 80%; border-radius: 3px; background: #ece2c8; }
.hc-cert-lines span + span { width: 60%; }
.hc-cert-foot { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 0.4rem; }
.hc-sign { width: 38%; height: 26px; border-bottom: 1.5px solid #9fb0c4; background: linear-gradient(transparent 55%, transparent 55%); position: relative; }
.hc-sign::before { content: ""; position: absolute; left: 10%; bottom: 6px; width: 70%; height: 14px; border-top: 2px solid #3a5583; border-radius: 50% 40% 0 0; transform: skewX(-20deg); }
.hc-rosette { width: 74px; height: auto; margin-bottom: -18px; filter: drop-shadow(0 6px 10px rgba(0,0,0,.25)); }
.hc-card { position: absolute; display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 1rem; border-radius: 14px; background: rgba(17,36,70,.9); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: #fff; box-shadow: 0 20px 40px -24px rgba(0,0,0,.6); line-height: 1.2; }
.hc-card strong { display: block; font: 700 0.95rem/1.2 var(--display); }
.hc-card small { display: block; font-size: 0.78rem; color: #cfe0f0; }
.hc-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #16a9d5; color: #0f1f3d; }
.hc-ico--gold { background: #f2c14e; color: #3b2a05; }
.hc-online { right: -1%; top: 0; z-index: 2; }
.hc-iso { left: 0; bottom: 4%; z-index: 2; }
.hc-grades { right: 0; bottom: 0; z-index: 2; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
.hc-grade-row { display: flex; gap: 0.35rem; }
.hc-grade-row b { padding: 0.2rem 0.45rem; border-radius: 6px; background: rgba(242,193,78,.95); color: #3b2a05; font: 800 0.72rem/1.3 var(--sans); letter-spacing: 0.04em; }
@media (prefers-reduced-motion: no-preference) {
	.hc-cert { animation: hc-in .9s cubic-bezier(.2,.7,.2,1) both; }
	.hc-online { animation: hc-float 6s ease-in-out 1s infinite; }
	.hc-iso { animation: hc-float 7s ease-in-out .3s infinite reverse; }
	.hc-grades { animation: hc-float 8s ease-in-out .6s infinite; }
	@keyframes hc-in { from { opacity: 0; transform: rotate(-9deg) translateY(24px) scale(.96); } to { opacity: 1; transform: rotate(-4deg); } }
	@keyframes hc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
@media (max-width: 900px) {
	.hero-visual { order: 2; max-width: 460px; min-height: 380px; justify-self: center; width: 100%; }
	.hero-collage { min-height: 380px; }
}
@media (max-width: 520px) {
	.hero-visual, .hero-collage { min-height: 330px; }
	.hc-cert { left: 4%; width: 86%; padding: 1.2rem 1.1rem 1rem; }
	.hc-cert-award { font-size: 1.1rem; }
	.hc-online { top: -2%; }
	.hc-grades { display: none; }
}

/* Programme cards */
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .section-lead { margin-inline: auto; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.offer { position: relative; display: flex; flex-direction: column; padding: 0.6rem; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 2px 4px rgba(15,31,61,.04), 0 24px 48px -30px rgba(15,31,61,.45); transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.offer:hover { transform: translateY(-6px); box-shadow: 0 2px 4px rgba(15,31,61,.05), 0 36px 60px -30px rgba(15,31,61,.55); }
.offer-media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; }
.offer-media img, .offer-media .offer-art { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.offer:hover .offer-media img, .offer:hover .offer-media .offer-art { transform: scale(1.05); }
.offer-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.35) 45%, transparent 60%); transform: translateX(-120%); transition: transform .9s ease; pointer-events: none; }
.offer:hover .offer-media::after { transform: translateX(120%); }
.offer-tag { position: absolute; left: 0.85rem; top: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; border-radius: 999px; background: rgba(255,255,255,.95); color: #172e57; font: 700 0.78rem/1.2 var(--sans); box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.offer-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.offer--diploma .offer-tag::before { background: #16a9d5; }
.offer--short .offer-tag::before { background: #ef6b4a; }
.offer--voc .offer-tag::before { background: #16a97a; }
.offer-body { flex: 1; padding: 1.2rem 1rem 0.6rem; }
.offer-count { margin: 0 0 0.45rem; font: 700 0.8rem/1.2 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }
.offer--diploma .offer-count { color: #0a6f95; }
.offer--short .offer-count { color: #c2410c; }
.offer--voc .offer-count { color: #0f7a5c; }
.offer-title { font-size: 1.35rem; margin-bottom: 0.55rem; }
.offer-title a { color: var(--navy); text-decoration: none; }
.offer-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.offer-text { margin: 0; color: var(--muted); font-size: 0.97rem; }
.offer-foot { display: flex; align-items: center; justify-content: space-between; margin: 0.8rem 1rem 0.4rem; padding-top: 0.9rem; border-top: 1px solid var(--line); font-weight: 700; color: var(--navy); }
.offer-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #eaf3f9; color: var(--navy); transition: background-color .2s, color .2s, transform .2s; }
.offer:hover .offer-go { background: #172e57; color: #fff; transform: translateX(3px); }
.offer-all { margin: 2.5rem 0 0; text-align: center; }
.offer-all .btn { gap: 0.6rem; }
@media (max-width: 1000px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .offer-grid { grid-template-columns: 1fr; } }
.programmes-page-content { margin-top: 3rem; }


/* ==========================================================================
   One dark blue everywhere: top bar, hero and footer share the same navy,
   in both colour schemes.
   ========================================================================== */
.topbar { background: #0f1f3d; color: #dfe8f3; }
.topbar-menu a { color: #dfe8f3; }
.topbar-note .icon { color: #16a9d5; }
.site-footer { background: radial-gradient(40rem 22rem at 90% 0%, rgba(22,169,213,.22), transparent 65%), linear-gradient(160deg, #1b3768 0%, #172e57 40%, #0f1f3d 100%); color: #c6d3e2; }
.site-footer a { color: #c6d3e2; }
.site-footer a:hover { color: #fff; }
.footer-name { color: #fff; }
.footer-motto { color: #f2c36b; }
.footer-title { color: #fff; }
.contact-list .icon { color: #16a9d5; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.14); }


/* ==========================================================================
   v5: inner-page banners and content polish
   ========================================================================== */
.page-head { position: relative; overflow: hidden; color: #fff; padding: clamp(2.25rem, 5vw, 3.75rem) 0; background:
	radial-gradient(34rem 22rem at 92% 10%, rgba(22,169,213,.32), transparent 65%),
	radial-gradient(26rem 18rem at 4% 110%, rgba(182,129,22,.2), transparent 70%),
	linear-gradient(160deg, #1b3768 0%, #172e57 48%, #0f1f3d 100%); }
.page-head::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 26px 26px; mask-image: linear-gradient(90deg, transparent 10%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000); pointer-events: none; }
.page-head-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 2rem; min-height: 230px; }
.page-title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; max-width: 20ch; margin: 0; text-wrap: balance; }
.page-meta, .page-lead { margin: 1rem 0 0; color: #c3d3e6; max-width: 46ch; font-size: 1.08rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0 0 1.1rem; padding: 0; font-size: 0.86rem; color: #aebfd4; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: #6f87a6; }
.breadcrumbs a { color: #d6e2f0; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: #fff; }
.page-art { justify-self: end; width: 100%; max-width: 360px; }
.page-art-svg { display: block; width: 100%; height: auto; overflow: visible; }
.page-art-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -28px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.25); }
@media (prefers-reduced-motion: no-preference) {
	.page-art-svg { animation: art-in .8s cubic-bezier(.2,.7,.2,1) both, art-float 7s ease-in-out 1s infinite; }
	@keyframes art-in { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
	@keyframes art-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
}
@media (max-width: 820px) {
	.page-head-inner { grid-template-columns: 1fr; min-height: 0; }
	.page-art { display: none; }
}

/* --- Content polish --- */
.entry-content { font-size: 1.06rem; line-height: 1.75; }
.entry-content h2 { position: relative; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.6rem; padding-bottom: 0.7rem; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 52px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #d9a43a, #f2c14e); }
.entry-content h3 { font-size: 1.3rem; }
.entry-content > p:first-child, .entry-content > .vcx-row:first-child .vcx-text > p:first-child { font-size: 1.2rem; line-height: 1.65; color: var(--navy); }
.entry-content ul:not([role]), .entry-content ol:not([role]) { padding-left: 0; list-style: none; }
.entry-content ul:not([role]) > li { position: relative; padding-left: 1.6rem; }
.entry-content ul:not([role]) > li::before { content: ""; position: absolute; left: 0.2rem; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #f2c14e, #d9a43a); }
.entry-content ol:not([role]) { counter-reset: n; }
.entry-content ol:not([role]) > li { position: relative; padding-left: 2.4rem; counter-increment: n; }
.entry-content ol:not([role]) > li::before { content: counter(n); position: absolute; left: 0; top: 0.1em; display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: #e4eaf3; color: var(--navy); font: 800 0.8rem/1 var(--display); }
.entry-content table { border-radius: var(--radius-lg); border: 1px solid var(--line); overflow: auto; }
.entry-content table tr:first-child td, .entry-content table th { background: #172e57; color: #fff; font-weight: 700; }
.entry-content table tr:nth-child(even) td { background: #f6f9fc; }
.entry-content table tr:first-child td { color: #fff; }
.entry-content .vcx-feature, .entry-content .vcx-accordion .disclosure { transition: box-shadow .2s, border-color .2s; }

/* Contact / feature cards */
.vcx-feature { padding: 1.4rem; margin-bottom: 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 36px -28px rgba(15,31,61,.45); gap: 0.9rem; }
.vcx-feature:hover { border-color: #aac6da; box-shadow: 0 24px 44px -26px rgba(15,31,61,.5); }
.vcx-feature-icon { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(135deg, #172e57, #1d4a8a); color: #fff; box-shadow: 0 10px 20px -10px rgba(23,46,87,.7); }
.vcx-feature-title { font-size: 1.15rem !important; color: var(--navy); }
.vcx-feature-text p:last-child { margin-bottom: 0; }
.vcx-feature-media.is-contained { display: grid; place-items: center; padding: 1.25rem; background: #f3f7fb; border-radius: 14px; }
.vcx-feature-media.is-contained img { width: auto; max-width: 180px; max-height: 120px; aspect-ratio: auto; object-fit: contain; border-radius: 6px; }

/* Images: logos and low-resolution pictures are never stretched */
.vcx-image.is-logo { display: grid; place-items: center; width: fit-content; max-width: 100%; padding: 1.25rem 1.5rem; background: #f3f7fb; border: 1px solid var(--line); border-radius: 16px; }
.vcx-image.is-logo img { width: auto; max-width: 220px; max-height: 160px; object-fit: contain; border-radius: 4px; }
.vcx-image.is-small img { width: auto; max-width: 100%; border-radius: 12px; }
.vcx-image img { border-radius: 14px; }
.entry-content img[class*="wp-image"], .entry-content figure img { height: auto; }

/* Accordions as cards */
.vcx-accordion .disclosure { margin-bottom: 0.6rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; border-top: 1px solid var(--line) !important; overflow: hidden; }
.vcx-accordion .disclosure[open] { border-color: #aac6da; box-shadow: 0 16px 30px -24px rgba(15,31,61,.45); }
.vcx-accordion .disclosure summary { padding: 1.05rem 1.25rem; font-family: var(--display); letter-spacing: -0.01em; }
.vcx-accordion .disclosure-body { padding: 0.25rem 1.25rem 1.4rem; }

/* Coloured bands from the old builder */
.vcx-band { border-radius: 20px; background: linear-gradient(135deg, #eef4f9, #e3edf6); border: 1px solid var(--line); }

/* Sidebar nav and layout */
.page-layout { padding-top: clamp(2.25rem, 4vw, 3.5rem); }
.section-nav ul { border-left-color: #cfdbe8; }
.section-nav-title { font-family: var(--display); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); }
.page-aside .section-nav { padding: 1rem 0.5rem 1rem 0.25rem; }

/* Posts keep their own images */
.entry-hero { border-radius: 20px; box-shadow: 0 28px 50px -34px rgba(15,31,61,.5); }

/* Cyan scheme: accent updates for banner extras */
body.scheme-cyan .vcx-feature-icon { background: linear-gradient(135deg, #172e57, #1d4a8a); color: #fff; }
body.scheme-cyan .entry-content ol:not([role]) > li::before { background: #e4eaf3; color: #172e57; }

/* A row made only of feature cards becomes an even grid */
.vcx-cols:has(> .vcx-col > .vcx-feature) { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; align-items: stretch; }
.vcx-cols:has(> .vcx-col > .vcx-feature) > .vcx-col { flex: none; display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.vcx-cols:has(> .vcx-col > .vcx-feature) > .vcx-col.is-empty { display: none; }
.vcx-cols:has(> .vcx-col > .vcx-feature) .vcx-feature { width: 100%; margin: 0; flex: 0 0 auto; }
.vcx-feature-text { font-size: 0.98rem; line-height: 1.65; }
.vcx-feature-text em { font-style: normal; color: var(--muted); display: block; margin-bottom: 0.5rem; }
.vcx-feature { align-content: start; }
.vcx-cols:has(> .vcx-col > .vcx-feature) { align-items: start; }
.vcx-cols:has(> .vcx-col > .vcx-feature) > .vcx-col { align-self: stretch; }

/* Columns that contain only buttons become a call-to-action row above the content */
@media (min-width: 761px) {
	.vcx-col:has(> .vcx-button):not(:has(> :not(.vcx-button))) { flex: 1 1 100%; display: flex; flex-wrap: wrap; gap: 0.75rem; order: -1; }
	.vcx-col:has(> .vcx-button):not(:has(> :not(.vcx-button))) > .vcx-button { margin: 0; }
}
