/*
 * EduKation v9: company page draft (Nov 2026, EduKation Healthcare first). Only with ?look=v9.
 * Same header as the new home page (v5/v8 rules). Main section: a carousel of the company's
 * courses (centre card = course photo, the rest = solid teal / gold cards), and a course
 * detail view: the photo moves to the left and a white panel slides in from the right.
 * The user's Pinterest references were for the feel only. Teal + gold only.
 */
.v9 .v9-main .container { max-width: 1400px; padding-left: var(--gutter); padding-right: var(--gutter); }

.v9-main {
	--h: clamp(280px, calc((100svh - 372px) / 1.16), 450px);
	--w: calc(var(--h) * .7);
	--gap: 18px;
	position: relative; overflow: hidden; isolation: isolate;
	min-height: calc(100svh - 66px);
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(24px, 4.5vh, 52px) 0 clamp(20px, 3.5vh, 36px);
	background: linear-gradient(180deg, #F1F7F8 0%, #FFFFFF 70%);
}
.v9-main__glow {
	position: absolute; inset: -10% -10% auto; height: 120%; pointer-events: none; z-index: -1;
	background:
		radial-gradient(30% 40% at 18% 70%, rgba(46, 105, 120, .16), transparent 70%),
		radial-gradient(28% 36% at 82% 62%, rgba(243, 210, 122, .32), transparent 70%);
	filter: blur(16px);
}

/* Heading row */
.v9-head { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 20px 56px; align-items: end; transition: opacity .4s, transform .5s; }
.v9-crumbs { display: flex; gap: 8px; align-items: center; margin: 0 0 12px; font-size: .86rem; color: #5B7178; }
.v9-crumbs a { color: #2E6978; text-decoration: none; font-weight: 500; }
.v9-crumbs a:hover { text-decoration: underline; }
.v9-head h1 { margin: 0; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(2.1rem, min(3.6vw, 6.6vh), 3.6rem); line-height: 1.06; letter-spacing: -.03em; color: #0E2E37; }
.v9-head h1 em { font-family: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; font-style: normal; background: linear-gradient(transparent 58%, #FCE8A8 58%, #FCE8A8 92%, transparent 92%); padding: 0 .06em; }
.v9-lede { margin: 0 0 18px; color: #4A5F66; font-size: 1.02rem; line-height: 1.55; max-width: 52ch; }
.v9-ctrl { display: flex; align-items: center; gap: 10px; }
.v9-count { margin: 0 auto 0 0; color: #5B7178; font-size: .92rem; }
.v9-count strong { color: #0E2E37; font-weight: 600; font-size: 1.1rem; }
.v9-arrow { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(17, 72, 89, .2); background: #fff; color: #114859; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.v9-arrow .ek-icon { width: 18px; height: 18px; }
.v9-arrow--prev .ek-icon { transform: rotate(180deg); }
.v9-arrow:hover { background: #114859; color: #fff; border-color: #114859; }
.v9-arrow:active { transform: scale(.94); }

/* Carousel */
.v9-stage { position: relative; height: calc(var(--h) * 1.16 + 6px); margin-top: clamp(22px, 4vh, 40px); touch-action: pan-y; transition: opacity .45s, transform .6s cubic-bezier(.2, .8, .2, 1); }
.v9-track { position: absolute; inset: 0; }
.v9-card {
	position: absolute; left: 0; bottom: 0; width: var(--w); height: var(--h); border-radius: 26px; overflow: hidden;
	transform-origin: 50% 100%; transition: transform .65s cubic-bezier(.2, .8, .2, 1), box-shadow .4s, background-color .4s;
	box-shadow: 0 10px 26px rgba(14, 46, 55, .08); user-select: none; -webkit-user-select: none;
}
.v9-card.is-active { z-index: 3; background-color: #fff; box-shadow: 0 34px 70px rgba(14, 46, 55, .2); }
.v9-card__face { position: absolute; inset: 0; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: opacity .35s; }
.v9-card.is-active .v9-card__face { opacity: 0; visibility: hidden; }
.v9-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.v9-card__ico { position: relative; display: grid; place-items: center; width: 58px; height: 58px; isolation: isolate; }
.v9-card__ico::before { content: ""; position: absolute; inset: 6px 2px 2px 8px; z-index: -1; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; background: var(--blob, rgba(255, 255, 255, .5)); transform: rotate(-8deg); }
.v9-card__ico .v3-illus { width: 40px; height: 40px; stroke-width: 2; }
.v9-card__tag { font-size: .7rem; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); color: #114859; white-space: nowrap; }
.v9-card__meta { margin: 0 0 8px; font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; opacity: .78; }
.v9-card__title { margin: 0 0 14px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.15rem, 1.5vw, 1.45rem); line-height: 1.15; letter-spacing: -.02em; color: inherit; }
.v9-card__more { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); }
.v9-card__more .ek-icon { width: 13px; height: 13px; transform: rotate(-45deg); }

.v9-card--t1 { background-color: #114859; color: #fff; --blob: rgba(243, 210, 122, .28); }
.v9-card--t1 .v9-card__ico { color: #F3D27A; }
.v9-card--t2 { background-color: #F5E2A6; color: #0E2E37; --blob: rgba(255, 255, 255, .65); }
.v9-card--t2 .v9-card__ico { color: #114859; }
.v9-card--t2 .v9-card__more, .v9-card--t3 .v9-card__more { background: rgba(17, 72, 89, .1); }
.v9-card--t3 { background-color: #E2EEF1; color: #0E2E37; --blob: #FCE8A8; }
.v9-card--t3 .v9-card__ico { color: #114859; }
.v9-card--t4 { background-color: #2E6978; color: #fff; --blob: rgba(255, 255, 255, .18); }
.v9-card--t4 .v9-card__ico { color: #fff; }
.v9-card--t1 .v9-card__tag, .v9-card--t4 .v9-card__tag { background: #F3D27A; color: #0C3743; }

/* The centre card: photo + caption */
.v9-card__photo { position: absolute; left: 7px; right: 7px; top: 7px; bottom: 66px; border-radius: 20px; overflow: hidden; background: #E2EEF1; opacity: 0; transition: opacity .45s .08s; }
.v9-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.v9-card.is-active .v9-card__photo { opacity: 1; }
.v9-card.is-lifted .v9-card__photo { visibility: hidden; }
.v9-card__tag--photo { position: absolute; top: 10px; left: 10px; background: rgba(255, 255, 255, .9); }
.v9-card__cap { position: absolute; left: 0; right: 0; bottom: 0; height: 66px; padding: 0 12px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; opacity: 0; transition: opacity .35s .1s; color: #0E2E37; }
.v9-card.is-active .v9-card__cap { opacity: 1; }
.v9-card__cap h3 { margin: 0; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: .98rem; line-height: 1.15; letter-spacing: -.01em; color: #0E2E37; }
.v9-card__cap p { margin: 2px 0 0; font-size: .72rem; color: #5B7178; }
.v9-card__go { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #0C3743, #1B5A6B); color: #F3D27A; }
.v9-card__go .ek-icon { width: 15px; height: 15px; transform: rotate(-45deg); }
.v9-card__hit { position: absolute; inset: 0; z-index: 4; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.v9-card__hit:focus-visible { outline: 3px solid #D9A92B; outline-offset: -3px; }
.v9-card:not(.is-active):hover { box-shadow: 0 18px 40px rgba(14, 46, 55, .16); }

.v9-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: clamp(16px, 2.6vh, 26px); transition: opacity .4s; }
.v9-dots { display: flex; gap: 6px; flex-wrap: wrap; }
.v9-dots span { width: 8px; height: 4px; border-radius: 4px; background: rgba(17, 72, 89, .18); transition: width .35s, background .35s; }
.v9-dots span.is-on { width: 26px; background: #114859; }
.v9-hint { margin: 0; font-size: .82rem; color: #5B7178; }

/* ---------- Course detail ---------- */
.v9-main.is-detail .v9-head, .v9-main.is-detail .v9-foot { opacity: 0; transform: translateX(-4%); pointer-events: none; }
.v9-main.is-detail .v9-stage { opacity: 0; transform: translateX(-10%); pointer-events: none; }
.v9-detail { position: absolute; inset: 0; z-index: 20; }
.v9-detail[hidden] { display: none; }
.v9-detail__bg { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .55s ease; background: #0C3743; }
.v9-detail__bg::before { content: ""; position: absolute; inset: -40px; background: var(--photo) center / cover no-repeat; filter: blur(30px) saturate(.9); transform: scale(1.1); opacity: .55; }
.v9-detail__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(12, 55, 67, .9) 0%, rgba(17, 72, 89, .72) 55%, rgba(12, 55, 67, .85) 100%); }
.v9-detail.is-open .v9-detail__bg { opacity: 1; }
.v9-back {
	position: absolute; z-index: 3; top: clamp(16px, 3vh, 28px); left: max(var(--gutter), calc((100% - 1400px) / 2 + var(--gutter)));
	display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 9px; border-radius: 999px; cursor: pointer;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 500 .92rem/1 "Outfit", var(--font-body);
	opacity: 0; transform: translateY(-8px); transition: opacity .4s .25s, transform .4s .25s, background .2s;
}
.v9-back:hover { background: rgba(255, 255, 255, .22); }
.v9-back__arrow { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #F3D27A; color: #0C3743; }
.v9-back__arrow .ek-icon { width: 14px; height: 14px; transform: rotate(180deg); }
.v9-detail.is-open .v9-back { opacity: 1; transform: none; }
.v9-detail__photo { position: absolute; z-index: 2; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); background: #114859; }
.v9-detail__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.v9-panel {
	position: absolute; z-index: 2; top: clamp(18px, 4vh, 40px); bottom: clamp(18px, 4vh, 40px);
	right: max(var(--gutter), calc((100% - 1400px) / 2 + var(--gutter))); width: min(640px, 52%);
	overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 28px; padding: clamp(24px, 3vw, 44px);
	box-shadow: 0 40px 90px rgba(0, 0, 0, .3); transform: translateX(calc(100% + 80px)); transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}
.v9-detail.is-open .v9-panel { transform: none; transition-delay: .12s; }
.v9-panel > * { opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s; }
.v9-detail.is-open .v9-panel > * { opacity: 1; transform: none; }
.v9-detail.is-open .v9-panel > :nth-child(1) { transition-delay: .35s; }
.v9-detail.is-open .v9-panel > :nth-child(2) { transition-delay: .4s; }
.v9-detail.is-open .v9-panel > :nth-child(3) { transition-delay: .45s; }
.v9-detail.is-open .v9-panel > :nth-child(4) { transition-delay: .5s; }
.v9-detail.is-open .v9-panel > :nth-child(5) { transition-delay: .55s; }
.v9-detail.is-open .v9-panel > :nth-child(6) { transition-delay: .6s; }
.v9-detail.is-open .v9-panel > :nth-child(n+7) { transition-delay: .65s; }
.v9-panel__k { margin: 0 0 10px; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #B98A12; }
.v9-panel h2 { margin: 0 0 8px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.7rem, 2.6vw, 2.4rem); line-height: 1.08; letter-spacing: -.03em; color: #0E2E37; }
.v9-panel__tagline { margin: 0 0 14px; font-size: 1.08rem; color: #2E6978; font-weight: 500; }
.v9-panel__tagline em { font-style: normal; background: linear-gradient(transparent 58%, #FCE8A8 58%, #FCE8A8 92%, transparent 92%); color: #0E2E37; }
.v9-panel__intro { margin: 0 0 20px; color: #4A5F66; line-height: 1.6; }
.v9-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 20px; border-radius: 16px; overflow: hidden; background: rgba(17, 72, 89, .1); }
.v9-facts div { background: #F6FAFB; padding: 12px 14px; }
.v9-facts dt { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #5B7178; margin-bottom: 3px; }
.v9-facts dd { margin: 0; font-weight: 600; color: #0E2E37; font-size: .94rem; line-height: 1.35; }
.v9-panel__label { margin: 0 0 8px; font-size: .78rem; font-weight: 600; color: #5B7178; }
.v9-panel__jobs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.v9-panel__jobs li { padding: 6px 12px; border-radius: 999px; background: #E4EFF1; color: #114859; font-size: .84rem; font-weight: 500; }
.v9-panel__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.v9-panel__actions .v7-cta { padding: 9px 9px 9px 18px; font-size: .96rem; }
.v9-panel__actions .v7-cta > .ek-icon { width: 21px; height: 21px; color: #F3D27A; }
.v9-panel__full { display: inline-flex; align-items: center; gap: 6px; color: #2E6978; font-weight: 600; font-size: .92rem; text-decoration: none; border-bottom: 1.5px solid rgba(46, 105, 120, .3); padding-bottom: 2px; }
.v9-panel__full .ek-icon { width: 14px; height: 14px; transform: rotate(-45deg); }
.v9-panel__full:hover { color: #0C3743; border-color: #0C3743; }

@media (max-width: 900px) {
	.v9-main { --h: clamp(290px, 52svh, 400px); min-height: 0; padding-top: 22px; }
	.v9-head { grid-template-columns: 1fr; gap: 12px; }
	.v9-head h1 { font-size: 2rem; }
	.v9-lede { font-size: .95rem; margin-bottom: 12px; }
	.v9-hint { display: none; }
	.v9-main.is-detail { min-height: calc(100svh - 64px); }
	.v9-panel { left: 0; right: 0; top: 40%; bottom: 0; width: auto; border-radius: 26px 26px 0 0; transform: translateY(105%); padding: 22px 20px 28px; }
	.v9-back { top: 12px; left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.v9-card, .v9-stage, .v9-panel, .v9-panel > *, .v9-detail__bg, .v9-back { transition: none !important; }
}

/* Theme headings set their own colour; cards and panel follow their own palette */
.v9 .v9-card__title { color: inherit; }
.v9 .v9-card__face { color: inherit; }
.v9 .v9-card--t1 .v9-card__title, .v9 .v9-card--t4 .v9-card__title { color: #fff; }

/* Panel: everything fits without scrolling on a laptop */
.v9-panel { padding: clamp(22px, 2.6vw, 38px); scrollbar-width: thin; scrollbar-color: rgba(17, 72, 89, .25) transparent; }
.v9-panel h2 { font-size: clamp(1.6rem, 2.3vw, 2.15rem); }
.v9-panel__tagline { margin-bottom: 10px; }
.v9-panel__intro { margin-bottom: 16px; font-size: .95rem; line-height: 1.55; }
.v9-facts { margin-bottom: 16px; }
.v9-facts div { padding: 10px 14px; }
.v9-panel__jobs ul { margin-bottom: 18px; gap: 6px; }
.v9-panel__jobs li { padding: 5px 11px; font-size: .8rem; }
.v9-panel__actions { margin-bottom: 12px; }
@media (max-width: 900px) {
	.v9-main { --h: clamp(260px, 44svh, 360px); --w: calc(var(--h) * .66); }
	.v9-panel { padding-bottom: 96px; }
}

/* ---------- Revision (user, 24 Nov 2026) ---------- */
/* 1. Heading row: description starts level with the headline's top, counter + arrows end level with its last line */
@media (min-width: 901px) {
	.v9-head { grid-template-areas: "crumbs ." "title side"; grid-template-rows: auto 1fr; align-items: stretch; row-gap: 0; }
	.v9-head__copy { display: contents; }
	.v9-crumbs { grid-area: crumbs; }
	.v9-head h1 { grid-area: title; align-self: start; }
	.v9-head__side { grid-area: side; display: flex; flex-direction: column; justify-content: space-between; padding: .5em 0 .35em; font-size: clamp(2.1rem, min(3.6vw, 6.6vh), 3.6rem); }
	.v9-head__side > * { font-size: 1rem; }
	.v9-head__side .v9-lede { font-size: 1.02rem; margin: 0; }
}

/* 2. Every card shows its photo; side cards are dimmed under a teal shade, the centre card is bright */
.v9-card, .v9-card--t1, .v9-card--t2, .v9-card--t3, .v9-card--t4 { background-color: #0C3743; color: #fff; --blob: rgba(255, 255, 255, .16); }
.v9-card.is-active { background-color: #fff; }
.v9-card__photo { opacity: 1; inset: 0; border-radius: 26px; transition: inset .55s cubic-bezier(.2, .8, .2, 1), border-radius .55s; z-index: 0; }
.v9-card__photo img { filter: saturate(.7) brightness(.92); transition: filter .5s, transform .8s; transform: scale(1.04); }
.v9-card__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 55, 67, .38) 0%, rgba(12, 55, 67, .5) 42%, rgba(12, 55, 67, .9) 100%); transition: opacity .45s; }
.v9-card.is-active .v9-card__photo { inset: 7px 7px 66px; border-radius: 20px; }
.v9-card.is-active .v9-card__photo img { filter: none; transform: none; }
.v9-card.is-active .v9-card__photo::after { opacity: 0; }
.v9-card:not(.is-active):hover .v9-card__photo::after { opacity: .75; }
.v9-card:not(.is-active):hover .v9-card__photo img { filter: saturate(.9) brightness(1); }
.v9-card:not(.is-active) .v9-card__tag--photo { display: none; }
.v9-card__face { z-index: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.v9 .v9-card__title, .v9 .v9-card--t2 .v9-card__title, .v9 .v9-card--t3 .v9-card__title { color: #fff; }
.v9-card .v9-card__ico, .v9-card--t1 .v9-card__ico, .v9-card--t2 .v9-card__ico, .v9-card--t3 .v9-card__ico, .v9-card--t4 .v9-card__ico { color: #F3D27A; }
.v9-card__ico::before { backdrop-filter: blur(6px); }
.v9-card .v9-card__tag { background: #F3D27A; color: #0C3743; text-shadow: none; }
.v9-card .v9-card__more, .v9-card--t2 .v9-card__more, .v9-card--t3 .v9-card__more { background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); color: #fff; text-shadow: none; }
.v9-card__meta { opacity: .9; }
.v9-card__cap { z-index: 1; }
@media (min-width: 901px) {
	.v9-head { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); column-gap: clamp(32px, 4vw, 72px); }
	.v9-head__side { padding: .14em 0 0; }
	.v9-head__side .v9-ctrl { margin-top: 14px; }
}
@media (min-width: 901px) {
	.v9-head__side { padding-top: 0; }
	.v9-head__side .v9-lede { max-width: none; }
}

/* Current course number in a gold circle (user, 24 Nov 2026) */
.v9-count { display: inline-flex; align-items: center; gap: 12px; font-size: .95rem; color: #4A5F66; }
.v9-count__num {
	display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 6px; border-radius: 999px;
	background: linear-gradient(140deg, #D9A92B, #F3D27A); color: #0C3743;
	font-family: "Outfit", var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1;
	box-shadow: 0 0 0 6px rgba(243, 210, 122, .28), 0 10px 22px rgba(185, 138, 18, .28);
}
.v9-count__num.is-pop { animation: v9-pop .45s cubic-bezier(.2, .8, .2, 1); }
@keyframes v9-pop { 0% { transform: scale(.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.v9-count__of { font-weight: 500; }

/* Centre card larger: 1.28x the side cards (JS uses the same factor) */
.v9-main { --h: clamp(270px, calc((100svh - 372px) / 1.28), 430px); }
.v9-stage { height: calc(var(--h) * 1.28 + 6px); }
@media (max-width: 900px) { .v9-main { --h: clamp(240px, 40svh, 330px); } }
@media (prefers-reduced-motion: reduce) { .v9-count__num.is-pop { animation: none; } }
@media (min-width: 901px) { .v9-main { --h: clamp(250px, calc((100svh - 400px) / 1.28), 430px); } }
@media (min-width: 901px) { .v9-main { --h: clamp(240px, calc((100svh - 410px) / 1.28), 405px); } }
/* Centre card 1.4x (user, 24 Nov 2026) */
.v9-stage { height: calc(var(--h) * 1.4 + 6px); }
@media (min-width: 901px) { .v9-main { --h: clamp(220px, calc((100svh - 410px) / 1.4), 370px); } }
@media (max-width: 900px) { .v9-main { --h: clamp(220px, 36svh, 300px); } }
@media (min-width: 901px) {
	.v9-main { --h: clamp(230px, calc((100svh - 352px) / 1.4), 400px); }
	.v9-stage { margin-top: clamp(16px, 2.6vh, 28px); }
	.v9-foot { margin-top: clamp(12px, 2vh, 20px); }
}
@media (min-width: 901px) { .v9-main { --h: clamp(230px, calc((100svh - 352px) / 1.4), 392px); } }
/* Centre card back to 1.28x (user, 24 Nov 2026) */
.v9-stage { height: calc(var(--h) * 1.28 + 6px); }
@media (min-width: 901px) { .v9-main { --h: clamp(240px, calc((100svh - 372px) / 1.28), 420px); } }
@media (max-width: 900px) { .v9-main { --h: clamp(240px, 40svh, 330px); } }
.v9-back, .v9-panel { --frame: 1640px; }
.v9-back { left: max(clamp(16px, 3vw, 56px), calc((100% - 1640px) / 2 + clamp(16px, 3vw, 56px))); }
@media (min-width: 901px) { .v9-panel { right: max(clamp(16px, 3vw, 56px), calc((100% - 1640px) / 2 + clamp(16px, 3vw, 56px))); } }
.v9 .v9-main .container { max-width: 1640px; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
/* More air between the heading row and the cards (user, 24 Nov 2026); top padding unchanged */
@media (min-width: 901px) {
	.v9-stage { margin-top: clamp(40px, 6.5vh, 72px); }
	.v9-main { --h: clamp(230px, calc((100svh - 402px) / 1.28), 420px); padding-bottom: clamp(12px, 2vh, 22px); }
	.v9-foot { margin-top: clamp(10px, 1.6vh, 16px); }
}

/* ================================================================== */
/* Course page (v9 course, Nov 2026): /psw/, /it-technology/ ...       */
/* Photo hero + facts + two buttons, option tabs, fit cards, the form */
/* in a teal block at the end. Same 1640 frame as the header.         */
/* ================================================================== */
.v9 .v9c-hero .container, .v9 .v9c-opts .container, .v9 .v9c-enq .container { max-width: 1640px; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }

.v9c-hero { position: relative; overflow: hidden; isolation: isolate; padding: clamp(18px, 3vh, 36px) 0 clamp(28px, 5vh, 56px); background: linear-gradient(180deg, #F1F7F8 0%, #FFFFFF 78%); }
.v9c-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.v9c-hero__copy { animation: v9c-up .7s cubic-bezier(.2, .8, .2, 1) both; }
.v9c-hero h1 { margin: 0 0 16px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(2.1rem, min(3.7vw, 6.8vh), 3.75rem); line-height: 1.05; letter-spacing: -.03em; color: #0E2E37; text-wrap: balance; }
.v9c-hero h1 em { font-family: inherit; font-weight: inherit; font-size: inherit; letter-spacing: inherit; line-height: inherit; color: inherit; font-style: normal; background: linear-gradient(transparent 58%, #FCE8A8 58%, #FCE8A8 92%, transparent 92%); padding: 0 .06em; }
.v9c-lede { margin: 0 0 22px; color: #4A5F66; font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.6; max-width: 58ch; }
.v9c-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(17, 72, 89, .14); font-size: .82rem; font-weight: 600; color: #2E6978; }
.v9c-chip .ek-icon { width: 15px; height: 15px; color: #B98A12; }
.v9c-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: #D9A92B; box-shadow: 0 0 0 3px rgba(217, 169, 43, .22); }

.v9c-facts { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 26px; }
.v9c-facts div { flex: 1 1 150px; max-width: 260px; padding: 12px 16px; border-radius: 16px; background: rgba(255, 255, 255, .9); border: 1px solid rgba(17, 72, 89, .1); box-shadow: 0 6px 18px rgba(14, 46, 55, .05); }
.v9c-facts dt { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5B7178; }
.v9c-facts dt .ek-icon { width: 14px; height: 14px; color: #B98A12; }
.v9c-facts dd { margin: 0; font-weight: 600; color: #0E2E37; font-size: .98rem; line-height: 1.3; }

.v9c-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.v9c-actions .v7-cta { padding-left: 18px; }
.v9c-actions .v7-cta > .ek-icon { width: 22px; height: 22px; color: #F3D27A; margin-right: -2px; }

.v9c-hero__visual { position: relative; margin: 0; height: clamp(380px, calc(100svh - 150px), 740px); animation: v9c-in .9s cubic-bezier(.2, .8, .2, 1) both; }
.v9c-hero__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 30px; box-shadow: 0 40px 80px rgba(14, 46, 55, .18); }
.v9c-hero__visual::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 34px; border: 2px dashed rgba(217, 169, 43, .55); z-index: -1; }
.v9c-badge { position: absolute; top: 26px; left: -30px; display: grid; place-items: center; align-content: center; width: 104px; height: 104px; border-radius: 50%; background: linear-gradient(145deg, #F3D27A, #D9A92B); color: #0E2E37; text-decoration: none; box-shadow: 0 16px 34px rgba(185, 138, 18, .35), 0 0 0 6px rgba(255, 255, 255, .85); animation: v9c-float 5s ease-in-out infinite; }
.v9c-badge strong { font-family: "Outfit", var(--font-head); font-size: 2.3rem; font-weight: 700; line-height: 1; }
.v9c-badge span { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.v9c-jobs { position: absolute; left: 18px; right: 18px; bottom: 18px; padding: 16px 18px 18px; border-radius: 22px; background: rgba(12, 55, 67, .74); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #fff; }
.v9c-jobs p { margin: 0 0 10px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #F3D27A; }
.v9c-jobs ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.v9c-jobs li { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .18); font-size: .88rem; font-weight: 500; color: #fff; }

@keyframes v9c-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes v9c-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
@keyframes v9c-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Options */
.v9c-opts { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); scroll-margin-top: 70px; }
.v9c-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 56px; align-items: end; margin-bottom: clamp(26px, 3.5vw, 44px); }
.v9c-head h2 { margin: 0; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.08; letter-spacing: -.025em; color: #0E2E37; }
.v9c-head p { margin: 0; color: #4A5F66; font-size: 1.02rem; line-height: 1.6; max-width: 56ch; }
.v9c-tabs { display: grid; grid-template-columns: minmax(260px, .82fr) minmax(0, 1.5fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.v9c-tabs--single { grid-template-columns: minmax(0, 960px); }
.v9c-tabs__list { display: flex; flex-direction: column; gap: 8px; }
.v9c-tab { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border-radius: 18px; border: 1px solid rgba(17, 72, 89, .12); background: #fff; color: #0E2E37; text-align: left; font: inherit; cursor: pointer; transition: background .25s, border-color .25s, transform .25s, box-shadow .25s; }
.v9c-tab:hover { border-color: rgba(17, 72, 89, .3); transform: translateX(3px); }
.v9c-tab:focus-visible { outline: 2px solid #D9A92B; outline-offset: 2px; }
.v9c-tab__num { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #E6F0F2; color: #114859; font-weight: 700; font-size: .95rem; transition: background .25s, color .25s; }
.v9c-tab__txt { display: grid; gap: 2px; min-width: 0; }
.v9c-tab__name { font-weight: 600; font-size: .96rem; line-height: 1.3; }
.v9c-tab__meta { font-size: .78rem; font-weight: 600; color: #8A6508; }
.v9c-tab__meta:empty { display: none; }
.v9c-tab.is-on { background: #114859; border-color: #114859; color: #fff; box-shadow: 0 16px 30px rgba(17, 72, 89, .22); transform: none; }
.v9c-tab.is-on .v9c-tab__num { background: linear-gradient(145deg, #F3D27A, #D9A92B); color: #0E2E37; }
.v9c-tab.is-on .v9c-tab__meta { color: #F3D27A; }

.v9c-tabs__panels { min-width: 0; }
.v9c-opt { padding: clamp(22px, 2.6vw, 34px); border-radius: 26px; background: #fff; border: 1px solid rgba(17, 72, 89, .1); box-shadow: 0 24px 60px rgba(14, 46, 55, .08); }
.v9c-opt + .v9c-opt { margin-top: 16px; }
.v9c-tabs.is-js .v9c-opt { display: none; margin-top: 0; }
.v9c-tabs.is-js .v9c-opt.is-on { display: block; animation: v9c-up .45s cubic-bezier(.2, .8, .2, 1) both; }
.v9c-opt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 12px; }
.v9c-opt__count { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #5B7178; margin-right: 6px; }
.v9c-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 11px; border-radius: 999px; background: #E6F0F2; color: #114859; font-size: .76rem; font-weight: 600; }
.v9c-pill .ek-icon { width: 13px; height: 13px; }
.v9c-pill--gold { background: #FCE8A8; color: #6B4E05; }
.v9c-pill--soon { background: #0E2E37; color: #F3D27A; }
.v9c-opt h3 { margin: 0 0 20px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: -.02em; color: #0E2E37; }
.v9c-opt__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; border-radius: 18px; overflow: hidden; background: rgba(17, 72, 89, .1); }
.v9c-opt__facts div { padding: 14px 16px; background: #F6FAFB; }
.v9c-opt__facts .is-wide { grid-column: 1 / -1; }
.v9c-opt__facts dt { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5B7178; }
.v9c-opt__facts dt .ek-icon { width: 14px; height: 14px; color: #B98A12; }
.v9c-opt__facts dd { margin: 0; color: #0E2E37; font-size: .96rem; line-height: 1.5; }
.v9c-opt.is-soon h3 { color: #4A5F66; }
.v9c-opts__note { margin: 14px 4px 0; font-size: .88rem; color: #5B7178; }

/* Who can apply / what it gives you */
.v9c-fit { padding: 0 0 clamp(56px, 8vw, 96px); }
.v9c-fit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.v9c-fit__card { padding: clamp(24px, 3vw, 38px); border-radius: 26px; background: linear-gradient(160deg, #F1F7F8, #FFFFFF); border: 1px solid rgba(17, 72, 89, .1); }
.v9c-fit__ico { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; color: #114859; isolation: isolate; }
.v9c-fit__ico::before { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: 58% 42% 55% 45% / 48% 58% 42% 52%; background: #FCE8A8; transform: rotate(-8deg); }
.v9c-fit__ico .ek-icon { width: 24px; height: 24px; }
.v9c-fit__card h2 { margin: 0 0 12px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -.02em; color: #0E2E37; }
.v9c-fit__card p { margin: 0; color: #4A5F66; line-height: 1.65; }
.v9c-fit__note { margin-top: 12px !important; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid rgba(17, 72, 89, .1); font-size: .9rem; }
.v9c-ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.v9c-ticks li { display: flex; gap: 10px; align-items: flex-start; color: #0E2E37; font-weight: 500; line-height: 1.5; }
.v9c-ticks .ek-icon { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: #114859; color: #F3D27A; }

/* Enquiry block */
.v9c-enq { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); scroll-margin-top: 60px; }
.v9c-enq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(28px, 4.5vw, 72px) !important; border-radius: 34px; background: radial-gradient(60% 80% at 90% 10%, rgba(243, 210, 122, .18), transparent 60%), linear-gradient(150deg, #114859, #0C3743); color: #fff; max-width: calc(1640px - 2 * clamp(16px, 3vw, 56px)) !important; width: calc(100% - 2 * clamp(16px, 3vw, 56px)); }
.v9c-enq__copy h2 { margin: 0 0 14px; font-family: "Outfit", var(--font-head); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.1; letter-spacing: -.025em; color: #fff; }
.v9c-enq__course { color: #F3D27A; }
.v9c-enq__copy > p { margin: 0 0 22px; color: rgba(255, 255, 255, .82); font-size: 1.04rem; }
.v9c-enq__list { display: grid; gap: 12px; margin: 0 0 24px; padding: 0; list-style: none; }
.v9c-enq__list li { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 500; }
.v9c-enq__list li > span { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(243, 210, 122, .16); color: #F3D27A; }
.v9c-enq__list .ek-icon { width: 17px; height: 17px; }
.v9c-enq__alt { margin: 0; color: rgba(255, 255, 255, .75); }
.v9c-enq__alt a { display: inline-flex; align-items: center; gap: 6px; color: #F3D27A; font-weight: 600; text-decoration: none; }
.v9c-enq__alt a:hover { text-decoration: underline; }
.v9c-enq__alt .ek-icon { width: 15px; height: 15px; transform: rotate(-45deg); }
.v9c-enq__form.card { margin: 0; border: 0; border-radius: 26px; box-shadow: 0 30px 60px rgba(0, 0, 0, .22); background: #fff; color: #0E2E37; }
.v9c-back { margin: 22px 0 0; text-align: center; }
.v9c-back a { display: inline-flex; align-items: center; gap: 6px; color: #114859; font-weight: 600; text-decoration: none; }
.v9c-back a:hover { text-decoration: underline; }
.v9c-back .ek-icon { width: 15px; height: 15px; transform: rotate(-45deg); }

@media (min-width: 961px) {
	.v9c-hero { min-height: calc(100svh - 66px); display: flex; align-items: center; }
	.v9c-hero > .container { width: 100%; }
}
@media (max-width: 960px) {
	.v9c-hero__grid, .v9c-head, .v9c-tabs, .v9c-enq__grid { grid-template-columns: minmax(0, 1fr); }
	.v9c-hero__visual { height: clamp(300px, 62vw, 460px); margin: 6px 0 0 14px; }
	.v9c-badge { left: -14px; top: -14px; width: 84px; height: 84px; }
	.v9c-badge strong { font-size: 1.8rem; }
	.v9c-tabs__list { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 8px; margin: 0 -2px; scrollbar-width: none; }
	.v9c-tabs__list::-webkit-scrollbar { display: none; }
	.v9c-tab { flex: 0 0 min(78%, 280px); scroll-snap-align: start; }
	.v9c-tab:hover { transform: none; }
}
@media (max-width: 600px) {
	.v9c-facts div { flex-basis: calc(50% - 5px); }
	.v9c-actions .v7-cta, .v9c-actions .v8-wa { width: 100%; justify-content: center; }
	.v9c-opt__facts { grid-template-columns: minmax(0, 1fr); }
	.v9c-jobs li { font-size: .8rem; }
	.v9c-hero__visual::before { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.v9c-hero__copy, .v9c-hero__visual, .v9c-badge, .v9c-tabs.is-js .v9c-opt.is-on { animation: none; }
}
/* Course page: every section on the same 1640 frame as the header */
.v9.is-landing .site-main .container { max-width: 1640px; padding-left: clamp(16px, 3vw, 56px); padding-right: clamp(16px, 3vw, 56px); }
.v9.is-landing .v9c-enq .v9c-enq__grid.container { max-width: calc(1640px - 2 * clamp(16px, 3vw, 56px)); padding: clamp(28px, 4.5vw, 72px); }
/* Course page, phones: tidy crumbs, taller photo, smaller job pills */
.v9c-hero .v9-crumbs { flex-wrap: wrap; row-gap: 2px; }
.v9c-hero .v9-crumbs > * { white-space: nowrap; }
@media (max-width: 600px) {
	.v9c-hero .v9-crumbs > :nth-child(-n+2) { display: none; }
	.v9c-facts div { max-width: none; }
	.v9c-hero__visual { height: clamp(360px, 112vw, 480px); }
	.v9c-jobs { left: 12px; right: 12px; bottom: 12px; padding: 12px 14px 14px; border-radius: 18px; }
	.v9c-jobs ul { gap: 6px; }
	.v9c-jobs li { padding: 4px 10px; font-size: .76rem; }
}
.v9c-enq__form .form-note, .v9c-enq__form .consent span, .v9c-enq__form label span { color: #4A5F66; }

/* ---------- Phones (user, 25 Nov 2026) ---------- */
@media (max-width: 900px) {
	/* Centre card: room for a 3-line course name under the photo */
	.v9-card.is-active .v9-card__photo { bottom: 88px; }
	.v9-card__cap { height: 88px; padding: 0 10px 0 13px; }
	.v9-card__cap h3 { font-size: .8rem; line-height: 1.14; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
	.v9-card__cap p { font-size: .64rem; margin-top: 3px; }
	.v9-card__go { width: 30px; height: 30px; }
	.v9-card__go .ek-icon { width: 13px; height: 13px; }

	/* Course details: one page that scrolls as a whole (photo, then the white panel) */
	.v9-main.is-detail { padding: 0; justify-content: flex-start; }
	.v9-main.is-detail > .v9-main__glow, .v9-main.is-detail > .v9-head, .v9-main.is-detail > .v9-stage, .v9-main.is-detail > .v9-foot { display: none; }
	.v9-main.is-detail .v9-detail { position: relative; inset: auto; min-height: calc(100svh - 64px); }
	.v9-main.is-detail .v9-panel { position: relative; top: auto; right: auto; bottom: auto; left: auto; margin-top: var(--ph, 330px); overflow: visible; min-height: calc(100svh - 64px - var(--ph, 330px)); transform: translateY(48px); opacity: 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .35s; }
	.v9-main.is-detail .v9-detail.is-open .v9-panel { transform: none; opacity: 1; transition-delay: .15s; }
}

/* ---------- Smooth swiping (user, 25 Nov 2026: stutter on a Galaxy S24 Ultra) ---------- */
/* Each card is its own GPU layer, so a swipe only moves layers and repaints nothing. */
.v9-card { --cib: 66px; will-change: transform; backface-visibility: hidden; -webkit-backface-visibility: hidden; contain: layout style; }
/* No live blur inside cards: 2 per card made every frame re-render 32 blurs */
.v9-card__ico::before { -webkit-backdrop-filter: none; backdrop-filter: none; }
.v9-card .v9-card__more, .v9-card--t2 .v9-card__more, .v9-card--t3 .v9-card__more { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .22); }
/* Centre-card photo frame: animate a clip (GPU) instead of the box edges (layout every frame) */
.v9-card__photo, .v9-card.is-active .v9-card__photo { inset: 0; border-radius: 0; }
.v9-card__photo { clip-path: inset(0 round 26px); transition: clip-path .55s cubic-bezier(.2, .8, .2, 1); }
.v9-card.is-active .v9-card__photo { clip-path: inset(7px 7px var(--cib) 7px round 20px); }
.v9-card__photo img { transition: filter .45s; transform: none; }
.v9-card.is-active .v9-card__photo .v9-card__tag--photo { top: 17px; left: 17px; }
@media (max-width: 900px) {
	.v9-card { --cib: 88px; }
	.v9-card.is-active .v9-card__photo { bottom: 0; }
	.v9c-jobs { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(12, 55, 67, .86); }
}
