/*
 * EduDrift Core — the Competitions listing (showcase) and the Programme
 * Calendar (complete schedule). Design system: Direction 4 — Immersive.
 * Design boards: "Competitions listing — v2" and "Programme Calendar" (25–26 Nov 2026).
 * Breakpoints: tablet ≤1024px, phone ≤640px.
 */

.edp-lp {
	--edp-ink: #090d0f;
	--edp-text: #30363a;
	--edp-line: #dce2e7;
	--edp-soft: #f6f8fa;
	--edp-mist: #dcebfb;
	--edp-haze: #eef6ff;
	--edp-blue: #0068cc;
	--edp-blue-dark: #0053a3;
	--edp-brand: #1a8fff;
	--edp-display: "Cormorant Garamond", Georgia, serif;
	--edp-body: Jost, system-ui, sans-serif;
	--edp-ph: linear-gradient(155deg, #cfe5fb 0%, #6aaef0 38%, #0068cc 75%, #0053a3 100%);
	display: block;
	width: 100%;
	padding-bottom: 140px;
	background: #fff;
	color: var(--edp-text);
	font-family: var(--edp-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.edp-lp *, .edp-lp *::before, .edp-lp *::after { box-sizing: border-box; }
.edp-lp :is(h1, h2, h3, p, ol, ul, figure, blockquote) { margin: 0; padding: 0; }
.edp-lp ol { list-style: none; }
.edp-lp :is(h1, h2, h3) { font-style: normal; font-family: var(--edp-display); font-weight: 500; letter-spacing: -0.01em; color: var(--edp-ink); text-transform: none; }
.edp-lp :is(h1, h2, h3, p) em { font-style: italic; color: var(--edp-blue-dark); }
.edp-lp img { display: block; max-width: 100%; }
.edp-lp .edp-wrap { max-width: 1290px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.edp-lp .edp-ey { font-size: 12px; line-height: 1.4; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--edp-blue); }
.edp-lp .edp-ey--light { color: #fff; }
.edp-lp .edp-h2 { font-size: clamp(38px, 5vw, 60px); line-height: 1.02; margin-top: 14px; }
.edp-lp .edp-ey + .edp-h2 { margin-top: 14px; }
.edp-lp .edp-h2:first-child { margin-top: 0; }
.edp-lp .edp-glass { background: rgba(255, 255, 255, 0.78); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.7); }
.edp-lp [hidden] { display: none !important; }

/* ---------- Buttons (always EduDrift blue) ---------- */
.edp-lp .edp-btn:not(#edp) {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0;
	background: var(--edp-blue); color: #fff;
	font: 500 12px/1 var(--edp-body); letter-spacing: 0.18em; text-transform: uppercase;
	text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: none;
}
.edp-lp .edp-btn:not(#edp):hover { background: var(--edp-blue-dark); color: #fff; }
.edp-lp .edp-btn--soft:not(#edp) { background: var(--edp-haze); color: var(--edp-blue-dark); }
.edp-lp .edp-btn--soft:not(#edp):hover { background: var(--edp-mist); color: var(--edp-blue-dark); }
.edp-lp .edp-btn--outline:not(#edp) { background: #fff; color: var(--edp-blue-dark); border: 1px solid var(--edp-mist); }
.edp-lp .edp-btn--outline:not(#edp):hover { background: var(--edp-haze); color: var(--edp-blue-dark); }
.edp-lp .edp-btn--light:not(#edp) { background: #fff; color: var(--edp-blue-dark); }
.edp-lp .edp-btn--light:not(#edp):hover { background: var(--edp-haze); color: var(--edp-blue-dark); }
.edp-lp .edp-btn--disabled:not(#edp), .edp-lp .edp-btn--disabled:not(#edp):hover { background: var(--edp-soft); color: #5b6266; border: 1px solid var(--edp-line); cursor: default; }
.edp-lp .edp-btn:not(#edp):focus-visible, .edp-lp .edp-chip:focus-visible, .edp-lp button:focus-visible, .edp-lp a:focus-visible { outline: 2px solid var(--edp-blue); outline-offset: 3px; }

/* ---------- Status badges and logo tiles ---------- */
.edp-lp .edp-badge { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 14px; font-size: 13px; line-height: 1.2; font-weight: 500; color: var(--edp-ink); white-space: nowrap; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.edp-lp .edp-badge--plain { background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.edp-lp .edp-badge__dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--edp-brand); }
.edp-lp .edp-badge--closing .edp-badge__dot { background: var(--edp-blue-dark); box-shadow: 0 0 0 3px var(--edp-mist); }
.edp-lp .edp-badge--opens .edp-badge__dot { background: transparent; border: 1.5px solid var(--edp-ink); }
.edp-lp .edp-badge--closed .edp-badge__dot, .edp-lp .edp-badge--soldout .edp-badge__dot { background: #9aa3a9; }
.edp-lp .edp-lg { width: 56px; height: 56px; border-radius: 16px; background: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; overflow: hidden; box-shadow: 0 6px 18px rgba(9, 13, 15, 0.08); }
.edp-lp .edp-lg img { width: 80%; height: 80%; object-fit: contain; }
.edp-lp .edp-lg--initials { background: var(--edp-t-base, var(--edp-blue-dark)); color: var(--edp-t-ink, #fff); font-size: 12px; font-weight: 600; letter-spacing: 0.06em; }
.edp-lp .edp-lg--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 10px; box-shadow: none; }
.edp-lp .edp-lg--lg { width: 64px; height: 64px; border-radius: 18px; }

/* ---------- Listing: top of the page ---------- */
.edp-lp .edp-lhero { position: relative; margin: 14px 14px 0; }
.edp-lp .edp-lhero__media { position: relative; height: 540px; border-radius: 36px; overflow: hidden; background: var(--edp-ph); }
.edp-lp .edp-lhero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 41, 82, 0.62) 0%, rgba(0, 41, 82, 0.18) 55%, rgba(0, 41, 82, 0) 100%); }
.edp-lp .edp-lhero__img { width: 100%; height: 100%; object-fit: cover; }
.edp-lp .edp-lhero__text { position: absolute; left: 64px; right: 64px; bottom: 112px; display: flex; flex-direction: column; align-items: flex-start; color: #fff; z-index: 1; }
.edp-lp .edp-lhero__title { font-size: clamp(56px, 9vw, 112px); line-height: 0.92; color: #fff; margin-top: 12px; letter-spacing: -0.015em; }
.edp-lp .edp-lhero__title em { color: #fff; }
.edp-lp .edp-lhero__line { font-family: var(--edp-display); font-style: italic; font-size: clamp(24px, 3vw, 36px); line-height: 1.15; margin-top: 10px; color: #fff; }
.edp-lp .edp-lhero__summary { font-size: 18px; line-height: 1.6; margin-top: 16px; max-width: 560px; color: #fff; }
.edp-lp .edp-lhero__link { margin-top: 22px; border-radius: 999px; padding: 0 20px; min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; font-weight: 500; color: var(--edp-ink); text-decoration: none; }
.edp-lp .edp-lhero__link:hover { background: #fff; color: var(--edp-blue-dark); }

/* ---------- Filters ---------- */
.edp-lp .edp-lp__filters { position: relative; z-index: 3; margin-top: -38px; }
.edp-cal .edp-lp__filters { margin-top: -38px; }
.edp-lp .edp-filters { border-radius: 30px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; background: rgba(255, 255, 255, 0.94); box-shadow: 0 20px 50px rgba(0, 83, 163, 0.14); }
.edp-lp .edp-filters__body { display: contents; }
.edp-lp .edp-filters__group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.edp-lp .edp-filters__label { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; color: var(--edp-text); margin-right: 4px; }
.edp-lp .edp-filters__head { order: 2; margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; }
.edp-lp .edp-filters__end { order: 3; display: flex; align-items: center; gap: 12px; }
.edp-lp .edp-filters__toggle, .edp-lp .edp-filters__done { display: none; }
.edp-lp .edp-chip:not(#edp) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edp-line); background: #fff; color: var(--edp-text); font: 500 14px/1 var(--edp-body); letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer; box-shadow: none; }
.edp-lp .edp-chip:not(#edp):hover { border-color: var(--edp-blue); color: var(--edp-blue-dark); }
.edp-lp .edp-chip[aria-pressed="true"]:not(#edp) { background: var(--edp-blue-dark); border-color: var(--edp-blue-dark); color: #fff; }
.edp-lp .edp-filters__clear:not(#edp) { background: none; border: 0; padding: 0; min-height: 44px; font: 500 14px var(--edp-body); color: var(--edp-blue); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Listing: featured ---------- */
.edp-lp .edp-feat { margin-top: 88px; }
.edp-lp .edp-fmain { position: relative; margin-top: 20px; }
.edp-lp .edp-fmain__media { height: 600px; border-radius: 36px; overflow: hidden; background: var(--edp-t-photo, var(--edp-ph)); }
.edp-lp .edp-fmain__media img { width: 100%; height: 100%; object-fit: cover; }
.edp-lp .edp-fmain__grid { position: relative; margin-top: -230px; padding: 0 20px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: end; }
.edp-lp .edp-fmain__panel { grid-column: 1 / 8; border-radius: 32px; padding: 38px 42px; box-shadow: 0 30px 60px rgba(0, 83, 163, 0.14); }
.edp-lp .edp-fmain__brand { display: flex; align-items: center; gap: 16px; }
.edp-lp .edp-fmain__brand .edp-ey { color: var(--edp-t-deep, var(--edp-blue-dark)); margin-bottom: 6px; }
.edp-lp .edp-fmain__title { font-size: clamp(44px, 5vw, 64px); line-height: 0.98; margin-top: 24px; }
.edp-lp .edp-fmain__sub { font-family: var(--edp-display); font-style: italic; font-size: 26px; line-height: 1.2; color: var(--edp-t-deep, var(--edp-blue-dark)); margin-top: 8px; }
.edp-lp .edp-fmain__summary { font-size: 16px; line-height: 1.6; margin-top: 16px; max-width: 520px; }
.edp-lp .edp-fmain .edp-meta { margin-top: 14px; }
.edp-lp .edp-fmain .edp-meta + .edp-meta { margin-top: 4px; }
.edp-lp .edp-fmain__tiles { grid-column: 8 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edp-lp .edp-fmain__date { grid-column: 1 / 3; background: var(--edp-t-base, var(--edp-blue-dark)); color: var(--edp-t-ink, #fff); border-radius: 28px; padding: 28px 30px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.edp-lp .edp-fmain__date .edp-ey { color: inherit; opacity: 0.85; }
.edp-lp .edp-fmain__big { font-family: var(--edp-display); font-size: 44px; line-height: 1; margin-top: 10px; }
.edp-lp .edp-fmain__wk { font-size: 14px; margin-top: 6px; }
.edp-lp .edp-tile { background: var(--edp-soft); border-radius: 28px; padding: 22px 24px; }
.edp-lp .edp-tile .edp-ey { color: var(--edp-text); }
.edp-lp .edp-tile__main { font-size: 19px; font-weight: 500; color: var(--edp-ink); margin-top: 8px; }
.edp-lp .edp-tile__sub { font-size: 14px; margin-top: 2px; }

/* ---------- Listing: cards ---------- */
.edp-lp .edp-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.edp-lp .edp-grid--feat { margin-top: 16px; }
.edp-lp .s7 { grid-column: span 7; } .edp-lp .s5 { grid-column: span 5; } .edp-lp .s4 { grid-column: span 4; }
.edp-lp .s6 { grid-column: span 6; } .edp-lp .s12 { grid-column: span 12; }
.edp-lp .edp-card { position: relative; border-radius: 32px; overflow: hidden; display: flex; flex-direction: column; }
.edp-lp .edp-card__media { position: relative; background: var(--edp-t-photo, var(--edp-ph)); }
.edp-lp .edp-card__img { width: 100%; height: 100%; object-fit: cover; }
.edp-lp .edp-card__ph { display: block; width: 100%; height: 100%; }
.edp-lp .edp-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.edp-lp .edp-card__head { display: flex; gap: 16px; align-items: center; }
.edp-lp .edp-dchip { width: 72px; height: 72px; border-radius: 20px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--edp-t-base, var(--edp-blue-dark)); color: var(--edp-t-ink, #fff); }
.edp-lp .edp-dchip__big { font-family: var(--edp-display); font-size: 24px; line-height: 1; white-space: nowrap; }
.edp-lp .edp-dchip__mon { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; margin-top: 4px; }
.edp-lp .edp-card__titles { min-width: 0; }
.edp-lp .edp-card__title { font-size: 32px; line-height: 1.04; }
.edp-lp .edp-card__title a { color: var(--edp-ink); text-decoration: none; }
.edp-lp .edp-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 32px; }
.edp-lp .edp-card__title a:hover { color: var(--edp-t-deep, var(--edp-blue-dark)); }
.edp-lp .edp-card__title a:focus-visible { outline: none; }
.edp-lp .edp-card__title a:focus-visible::after { outline: 2px solid var(--edp-blue); outline-offset: -2px; }
.edp-lp .edp-card__sub { font-family: var(--edp-display); font-style: italic; font-size: 19px; line-height: 1.2; color: var(--edp-t-deep, var(--edp-blue-dark)); margin-top: 4px; }
.edp-lp .edp-meta { font-size: 14px; line-height: 1.55; }
.edp-lp .edp-card__head + .edp-meta { margin-top: 16px; }
.edp-lp .edp-meta--strong { font-weight: 500; color: var(--edp-ink); }
.edp-lp .edp-meta--accent { font-weight: 500; color: var(--edp-t-deep, var(--edp-blue-dark)); }
.edp-lp .edp-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; position: relative; z-index: 2; }
.edp-lp .edp-card__price { font-size: 15px; font-weight: 500; color: var(--edp-ink); }

/* Photo card: the photo fills the card; a glass panel sits on it. */
.edp-lp .edp-card--hero { min-height: 540px; padding: 20px; justify-content: space-between; }
.edp-lp .edp-card--hero .edp-card__media { position: absolute; inset: 0; }
.edp-lp .edp-card--hero .edp-card__top { position: relative; z-index: 2; }
.edp-lp .edp-card__panel { position: relative; border-radius: 26px; padding: 24px 26px; margin-top: 120px; }
.edp-lp .edp-card--hero.s6 { min-height: 480px; }

/* Stacked card: photo on top, text below. */
.edp-lp .edp-card--stack { background: var(--edp-soft); }
.edp-lp .edp-card--stack .edp-card__media { height: 220px; }
.edp-lp .edp-card--stack .edp-card__top { position: absolute; left: 16px; right: 16px; top: 16px; z-index: 2; }
.edp-lp .edp-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.edp-lp .edp-card--stack .edp-dchip { width: 66px; height: 66px; border-radius: 18px; }
.edp-lp .edp-card--stack .edp-dchip__big { font-size: 22px; }
.edp-lp .edp-card--stack .edp-card__title { font-size: 28px; }
.edp-lp .edp-card--stack .edp-card__sub { font-size: 17px; }
.edp-lp .edp-card--stack .edp-card__foot { margin-top: auto; padding-top: 20px; }

/* ---------- Listing: years, numbers, standard, quotes, band ---------- */
.edp-lp .edp-year { margin-top: 120px; }
.edp-lp .edp-year__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.edp-lp .edp-year__count { font-size: 14px; }
.edp-lp .edp-more { display: none; margin-top: 28px; }
.edp-lp .edp-more .edp-btn { width: 100%; }

.edp-lp .edp-nums { margin-top: 120px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.edp-lp .edp-nums__head { grid-column: 1 / 6; }
.edp-lp .edp-nums__grid { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.edp-lp .edp-nums__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edp-lp .edp-nums__grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.edp-lp .edp-num { border-radius: 28px; background: var(--edp-soft); padding: 24px 22px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; }
.edp-lp .edp-num--mist { background: var(--edp-mist); }
.edp-lp .edp-num__n { font-family: var(--edp-display); font-size: 52px; line-height: 1; color: var(--edp-blue-dark); }
.edp-lp .edp-num__c { font-size: 14px; }

.edp-lp .edp-std { margin-top: 140px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.edp-lp .edp-std__text { grid-column: 1 / 6; position: sticky; top: 24px; }
.edp-lp .edp-std__intro { font-size: 17px; line-height: 1.7; margin-top: 22px; max-width: 440px; }
.edp-lp .edp-std__grid { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.edp-lp .edp-pill { border-radius: 28px; padding: 30px 30px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-height: 250px; }
.edp-lp .edp-pill--0 { background: linear-gradient(150deg, #0053a3 0%, #0068cc 70%, #1a8fff 130%); color: #fff; }
.edp-lp .edp-pill--0 .edp-ey { color: var(--edp-line); }
.edp-lp .edp-pill--0 .edp-pill__title { color: #fff; }
.edp-lp .edp-pill--0 .edp-pill__text { color: var(--edp-soft); }
.edp-lp .edp-pill--1 { background: var(--edp-soft); }
.edp-lp .edp-pill--2 { background: var(--edp-haze); }
.edp-lp .edp-pill--3 { background: var(--edp-mist); }
.edp-lp .edp-pill__title { font-size: 32px; line-height: 1.05; }
.edp-lp .edp-pill__text { font-size: 15px; line-height: 1.6; margin-top: 10px; }

.edp-lp .edp-quotes { margin-top: 120px; }
/* 2.3.0: reviews as a paged wall of cards (design option D, 2 Dec 2026). */
.edp-lp .edp-reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; }
.edp-lp .edp-reviews__title { flex: 1 1 520px; min-width: 0; }
.edp-lp .edp-reviews__google { font-size: 14px; font-weight: 500; text-decoration: none; color: var(--edp-blue); min-height: 44px; display: inline-flex; align-items: center; }
.edp-lp .edp-reviews__google:hover { color: var(--edp-blue-dark); }
.edp-lp .edp-reviews__wall { margin-top: 40px; column-count: 3; column-gap: 16px; }
.edp-lp .edp-rv { break-inside: avoid; -webkit-column-break-inside: avoid; display: flex; flex-direction: column; gap: 16px; margin: 0 0 16px; padding: 28px 28px 22px; border-radius: 28px; background: var(--edp-soft); box-sizing: border-box; }
.edp-lp .edp-rv[hidden] { display: none; }
.edp-lp .edp-rv--short { background: var(--edp-haze); }
.edp-lp .edp-rv__q { margin: 0; }
.edp-lp .edp-rv__big p { font-family: var(--edp-display); font-style: italic; font-weight: 500; font-size: 30px; line-height: 1.15; color: var(--edp-ink); }
.edp-lp .edp-rv__hl { font-family: var(--edp-display); font-weight: 500; font-size: 23px; line-height: 1.22; color: var(--edp-ink); }
.edp-lp .edp-rv__rest, .edp-lp .edp-rv__body { font-size: 15px; line-height: 1.7; }
.edp-lp .edp-rv__rest { margin-top: 12px; }
.edp-lp .edp-rv__rest p + p, .edp-lp .edp-rv__body p + p { margin-top: 12px; }
.edp-lp .edp-rv__src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #5b6266; }
.edp-lp .edp-rv__stars { color: var(--edp-blue); letter-spacing: 2px; font-size: 13px; }
.edp-lp .edp-rv__off { color: var(--edp-line); }
.edp-lp .edp-rv__more:not(#edp) { display: none; align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font: 500 12px var(--edp-body); letter-spacing: 0.18em; text-transform: uppercase; color: var(--edp-blue-dark); }
.edp-lp .edp-rv__more:focus-visible, .edp-lp .edp-reviews__arrow:focus-visible, .edp-lp .edp-reviews__dot:focus-visible { outline: 2px solid var(--edp-blue); outline-offset: 2px; }
.edp-lp .edp-rv__by { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--edp-line); padding-top: 16px; }
.edp-lp .edp-rv__av { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; background: var(--edp-mist); color: var(--edp-blue-dark); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 600; }
.edp-lp .edp-rv__av img { width: 100%; height: 100%; object-fit: cover; }
.edp-lp .edp-rv__name { display: block; font-size: 15px; font-weight: 600; color: var(--edp-ink); line-height: 1.4; }
.edp-lp .edp-rv__name a { color: inherit; text-decoration: underline; text-decoration-color: var(--edp-line); text-underline-offset: 3px; }
.edp-lp .edp-rv__role { display: block; font-size: 13px; margin-top: 2px; line-height: 1.45; }
/* Cut long reviews (only once the script runs, so the button can open them). */
.edp-lp .edp-reviews.is-ready .edp-rv[data-clamp-desk] .edp-rv__more:not(#edp) { display: inline-flex; }
.edp-lp .edp-reviews.is-ready .edp-rv[data-clamp-desk]:not(.is-open) .edp-rv__rest { max-height: 11.9em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.edp-lp .edp-reviews__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 16px; }
.edp-lp .edp-reviews__nav[hidden] { display: none; }
.edp-lp .edp-reviews__arrow:not(#edp) { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--edp-line); background: #fff; color: var(--edp-blue-dark); cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.edp-lp .edp-reviews__arrow:not(#edp):hover { border-color: var(--edp-blue); }
.edp-lp .edp-reviews__arrow:not(#edp):disabled { opacity: 0.35; cursor: default; }
.edp-lp .edp-reviews__dots { display: flex; }
.edp-lp .edp-reviews__dots[hidden], .edp-lp .edp-reviews__count[hidden] { display: none; }
.edp-lp .edp-reviews__dot:not(#edp) { width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.edp-lp .edp-reviews__dot::after { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #c4cdd4; transition: width 0.2s, background 0.2s; }
.edp-lp .edp-reviews__dot[aria-current="true"]::after { width: 28px; background: var(--edp-blue); }
.edp-lp .edp-reviews__count { font-size: 14px; min-width: 64px; text-align: center; }
.edp-lp .edp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1024px) { .edp-lp .edp-reviews__wall { column-count: 2; } }
@media (max-width: 640px) {
	.edp-lp .edp-reviews__wall { column-count: 1; }
	.edp-lp .edp-rv { padding: 24px 22px 18px; }
	.edp-lp .edp-rv__big p { font-size: 28px; }
	.edp-lp .edp-reviews.is-ready .edp-rv[data-len="long"] .edp-rv__more:not(#edp) { display: inline-flex; }
	.edp-lp .edp-reviews.is-ready .edp-rv[data-len="long"]:not(.is-open) .edp-rv__rest { max-height: 10.2em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
}

.edp-lp .edp-band { margin-top: 120px; border-radius: 36px; background: var(--edp-haze); padding: 48px 52px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.edp-lp .edp-band__text { margin-top: 12px; font-size: 16px; line-height: 1.6; }

.edp-lp .edp-empty { margin-top: 80px; text-align: center; }
.edp-lp .edp-empty:not([hidden]) { display: block; }
.edp-lp .edp-empty__title { font-family: var(--edp-display); font-size: 36px; color: var(--edp-ink); background: var(--edp-haze); border-radius: 32px; padding: 48px 32px 24px; }
.edp-lp .edp-empty .edp-btn { margin-top: -8px; }

/* ---------- Programme Calendar ---------- */
.edp-cal .edp-chead { margin: 14px 14px 0; border-radius: 36px; background: linear-gradient(160deg, #eef6ff 0%, #dcebfb 60%, #c3dcf6 100%); padding: 104px 64px 104px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.edp-cal .edp-chead__text { max-width: 720px; }
.edp-cal .edp-chead__title { font-size: clamp(52px, 8vw, 96px); line-height: 0.95; margin-top: 14px; letter-spacing: -0.015em; }
.edp-cal .edp-chead__summary { font-size: 18px; line-height: 1.6; margin-top: 18px; max-width: 600px; }
.edp-cal .edp-chead__link { font-size: 14px; font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; color: var(--edp-blue); }

.edp-cal .edp-mbar { position: sticky; top: 12px; z-index: 4; margin-top: 40px; border-radius: 999px; padding: 6px; display: flex; gap: 4px; overflow-x: auto; background: rgba(255, 255, 255, 0.94); box-shadow: 0 10px 30px rgba(0, 83, 163, 0.1); border: 1px solid var(--edp-haze); scrollbar-width: none; }
.edp-cal .edp-mbar__link { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-height: 44px; min-width: 56px; padding: 0 12px; border-radius: 999px; text-decoration: none; color: var(--edp-text); font-size: 14px; font-weight: 500; line-height: 1.1; }
.edp-cal .edp-mbar__link:hover { background: var(--edp-haze); color: var(--edp-blue-dark); }
.edp-cal .edp-mbar__yr { font-size: 10px; letter-spacing: 0.12em; color: var(--edp-blue-dark); }

.edp-cal .edp-month { scroll-margin-top: 90px; }
.edp-cal .edp-month__head { margin-top: 80px; display: flex; align-items: baseline; gap: 14px; padding: 0 20px 18px; }
.edp-cal .edp-month__title { font-size: 44px; line-height: 1; }
.edp-cal .edp-month__head .edp-ey { color: var(--edp-blue-dark); }
.edp-cal .edp-row { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) 270px; gap: 28px; align-items: center; padding: 26px 20px; border-top: 1px solid var(--edp-line); }
.edp-cal .edp-row:hover { background: var(--edp-soft); border-radius: 24px; }
.edp-cal .edp-row__big { font-family: var(--edp-display); font-size: 44px; line-height: 1; color: var(--edp-ink); }
.edp-cal .edp-row__big--x { font-size: 27px; line-height: 1.1; }
.edp-cal .edp-row__wk { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-top: 8px; }
.edp-cal .edp-row__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.edp-cal .edp-row__title { font-size: 29px; line-height: 1.1; margin-top: 10px; }
.edp-cal .edp-row__title a { color: var(--edp-ink); text-decoration: none; }
.edp-cal .edp-row__title a::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.edp-cal .edp-row__title a:hover { color: var(--edp-blue-dark); }
.edp-cal .edp-row__title a:focus-visible { outline: none; }
.edp-cal .edp-row__title a:focus-visible::after { outline: 2px solid var(--edp-blue); outline-offset: -2px; }
.edp-cal .edp-row__meta { font-size: 14px; line-height: 1.55; margin-top: 6px; }
.edp-cal .edp-row__act { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.edp-cal .edp-row__price { font-size: 14px; color: var(--edp-ink); font-weight: 500; }
.edp-cal .edp-cal__note { margin-top: 56px; font-size: 14px; }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
	.edp-lp .edp-lhero__media { height: 480px; }
	.edp-lp .edp-lhero__text { left: 40px; right: 40px; bottom: 96px; }
	.edp-lp .edp-filters__head { margin-left: 0; width: 100%; order: 0; }
	.edp-lp .edp-fmain__media { height: 520px; }
	.edp-lp .edp-fmain__grid { grid-template-columns: 1fr; margin-top: -140px; row-gap: 16px; }
	.edp-lp .edp-fmain__panel, .edp-lp .edp-fmain__tiles { grid-column: 1 / -1; }
	.edp-lp .edp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edp-lp .s7, .edp-lp .s5, .edp-lp .s4, .edp-lp .s6 { grid-column: span 1; }
	.edp-lp .s12 { grid-column: span 2; }
	.edp-lp .edp-nums, .edp-lp .edp-std { grid-template-columns: 1fr; row-gap: 32px; }
	.edp-lp .edp-nums > *, .edp-lp .edp-std > * { grid-column: 1 / -1; position: static; }
	.edp-lp .edp-nums__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edp-cal .edp-chead { padding: 80px 40px 92px; }
	.edp-cal .edp-row { grid-template-columns: 120px minmax(0, 1fr); gap: 8px 22px; align-items: start; }
	.edp-cal .edp-row__act { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
	.edp-cal .edp-row__big { font-size: 38px; }
}

/* ---------- Phone ---------- */
@media (max-width: 640px) {
	.edp-lp .edp-wrap { padding-left: 18px; padding-right: 18px; }
	.edp-lp .edp-lhero { margin: 12px 12px 0; }
	.edp-lp .edp-lhero__media { height: 460px; border-radius: 28px; }
	.edp-lp .edp-lhero__text { left: 22px; right: 22px; bottom: 80px; }
	.edp-lp .edp-lhero__summary { font-size: 16px; }
	.edp-lp .edp-filters { display: block; border-radius: 28px; padding: 10px 10px 10px 20px; }
	.edp-lp .edp-filters__head { justify-content: space-between; }
	.edp-lp .edp-filters__toggle:not(#edp) { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 0; background: var(--edp-haze); color: var(--edp-blue-dark); font: 500 12px/1 var(--edp-body); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
	.edp-lp .edp-filters__body { display: none; }
	.edp-lp .edp-filters.is-open .edp-filters__body { display: flex; flex-direction: column; gap: 18px; padding: 16px 10px 10px 0; }
	.edp-lp .edp-filters__group { flex-wrap: wrap; }
	.edp-lp .edp-filters__label { width: 100%; }
	.edp-lp .edp-filters__end { justify-content: space-between; }
	.edp-lp .edp-filters__done:not(#edp) { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--edp-blue); color: #fff; font: 500 12px/1 var(--edp-body); letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; }
	.edp-lp .edp-filters__clear:not([hidden]) { display: inline-flex; }
	.edp-lp .edp-feat { margin-top: 64px; }
	.edp-lp .edp-fmain__media { height: 420px; border-radius: 28px; }
	.edp-lp .edp-fmain__grid { margin-top: -110px; padding: 0 10px; }
	.edp-lp .edp-fmain__panel { padding: 26px 22px; }
	.edp-lp .edp-fmain__title { font-size: 44px; }
	.edp-lp .edp-grid { grid-template-columns: 1fr; }
	.edp-lp .s7, .edp-lp .s5, .edp-lp .s4, .edp-lp .s6, .edp-lp .s12 { grid-column: auto; }
	.edp-lp .edp-card--hero { min-height: 500px; }
	.edp-lp .edp-card__title { font-size: 28px; }
	.edp-lp.edp-listing:not(.is-expanded) [data-edp-more-item] { display: none; }
	.edp-lp.edp-listing:not(.is-expanded) .edp-more { display: block; }
	.edp-lp .edp-year, .edp-lp .edp-nums, .edp-lp .edp-quotes, .edp-lp .edp-band { margin-top: 72px; }
	.edp-lp .edp-std { margin-top: 88px; }
	.edp-lp .edp-std__grid { grid-template-columns: 1fr; }
	.edp-lp .edp-pill { min-height: 0; }
	.edp-lp .edp-num { min-height: 140px; padding: 20px 18px; }
	.edp-lp .edp-num__n { font-size: 42px; }
	.edp-lp .edp-band { padding: 36px 24px; border-radius: 28px; }
	.edp-cal .edp-chead { margin: 12px 12px 0; padding: 64px 22px 84px; border-radius: 28px; }
	.edp-cal .edp-row { grid-template-columns: 1fr; gap: 10px; padding: 22px 6px; }
	.edp-cal .edp-row__date { display: flex; align-items: baseline; gap: 12px; }
	.edp-cal .edp-row__wk { margin-top: 0; }
	.edp-cal .edp-row__big { font-size: 32px; }
	.edp-cal .edp-row__big--x { font-size: 24px; }
	.edp-cal .edp-row__act { grid-column: auto; flex-direction: column; align-items: stretch; margin-top: 6px; }
	.edp-cal .edp-row__act .edp-btn { width: 100%; }
	.edp-cal .edp-month__head { margin-top: 56px; padding: 0 6px 14px; }
	.edp-cal .edp-month__title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
	.edp-lp * { scroll-behavior: auto !important; transition: none !important; }
}

/* A card that spans the whole row keeps its panel readable. */
.edp-lp .edp-card--hero.s12 { min-height: 480px; }
.edp-lp .edp-card--hero.s12 .edp-card__panel { max-width: 640px; }
@media (max-width: 640px) { .edp-lp .edp-card--hero.s12 .edp-card__panel { max-width: none; } }

/* ---------- School logos: three slowly scrolling rows (1.2.1) ---------- */
.edp-lp .edp-logorows { margin-top: 56px; }
.edp-lp .edp-logorows__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.edp-lp .edp-logorows__head > .edp-ey { color: var(--edp-text); }
/* 2.2.2: with a heading, the section reads like the others (blue label, large heading, a line of text). */
.edp-lp .edp-logorows--titled { margin-top: 120px; }
.edp-lp .edp-logorows--titled .edp-logorows__head { align-items: flex-end; flex-wrap: wrap; margin-bottom: 28px; }
.edp-lp .edp-logorows__title { flex: 1 1 520px; min-width: 0; }
.edp-lp .edp-logorows__text { font-size: 17px; line-height: 1.7; margin-top: 18px; max-width: 560px; }
.edp-lp .edp-logorows__pause:not(#edp) { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--edp-line); background: #fff; color: var(--edp-text); font: 500 13px var(--edp-body); cursor: pointer; }
.edp-lp .edp-logorows__pause:not(#edp):hover { border-color: var(--edp-blue); color: var(--edp-blue-dark); }
.edp-lp .edp-logorow { display: flex; overflow: hidden; gap: 12px; margin-top: 0; padding: 6px 0 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.edp-lp .edp-logorow__track { display: flex; gap: 12px; flex: none; list-style: none; animation: edp-marquee var(--edp-dur, 40s) linear infinite; }
.edp-lp .edp-logorow--1 .edp-logorow__track { animation-direction: reverse; animation-duration: calc(var(--edp-dur, 40s) * 1.15); }
.edp-lp .edp-logorow--2 .edp-logorow__track { animation-duration: calc(var(--edp-dur, 40s) * 0.9); }
.edp-lp .edp-logorows.is-paused .edp-logorow__track { animation-play-state: paused; }
.edp-lp .edp-logotile { width: 168px; height: 84px; flex: none; box-sizing: border-box; border-radius: 20px; background: #fff; border: 1px solid #e3e8ec; display: flex; align-items: center; justify-content: center; padding: 14px 22px; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s; }
/* 2.3.0: logos in full colour all the time; the tile's border glows EduDrift blue on hover and the row stops. */
.edp-lp .edp-logotile img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.edp-lp .edp-logotile:hover { border-color: var(--edp-brand); box-shadow: 0 0 0 4px rgba(26, 143, 255, 0.16), 0 6px 14px rgba(26, 143, 255, 0.24); transform: translateY(-2px); }
.edp-lp .edp-logorow:hover .edp-logorow__track { animation-play-state: paused; }
@keyframes edp-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-100% - 12px)); } }
@media (max-width: 640px) {
	.edp-lp .edp-logotile { width: 120px; height: 64px; border-radius: 16px; padding: 10px 16px; }
	.edp-lp .edp-logorows--titled { margin-top: 80px; }
	.edp-lp .edp-logorows__title { flex-basis: 100%; }
	.edp-lp .edp-logorows__text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.edp-lp .edp-logorow__track { animation: none; }
	.edp-lp .edp-logorow__track[aria-hidden="true"] { display: none; }
	.edp-lp .edp-logorow { flex-wrap: wrap; -webkit-mask-image: none; mask-image: none; }
	.edp-lp .edp-logorow__track { flex-wrap: wrap; }
	.edp-lp .edp-logorows__pause { display: none; }
}

/* ---------- Programme Calendar: "Save as PDF" and the printed version (2.2.3) ---------- */
.edp-cal .edp-chead__text .edp-chead__link { margin-top: 12px; }
/* 2.2.4: the "Take it with you" card (option C). */
.edp-cal .edp-cal__take { width: 360px; flex: none; box-sizing: border-box; border-radius: 28px; padding: 26px 28px; }
.edp-cal .edp-cal__take-text { font-size: 15px; line-height: 1.55; margin-top: 10px; }
.edp-cal .edp-cal__take-btn:not(#edp) { width: 100%; margin-top: 18px; gap: 10px; }
.edp-cal .edp-cal__take-more { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--edp-line); font-size: 14px; line-height: 1.5; }
.edp-cal .edp-cal__take-more .edp-chead__link { min-height: 44px; vertical-align: middle; }
@media (max-width: 1024px) {
	.edp-cal .edp-chead--card .edp-chead__text { flex: 1 1 100%; }
	.edp-cal .edp-cal__take { width: 100%; max-width: 520px; }
}
.edp-cal .edp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.edp-cal .edp-cal__print-head, .edp-cal .edp-cal__print-meta { display: none; }
@media (max-width: 640px) {
	.edp-cal .edp-cal__take { max-width: none; border-radius: 24px; padding: 22px 20px; }
	.edp-cal .edp-cal__take-more { text-align: center; }
}
@media print {
	@page { size: A4; margin: 14mm 14mm 16mm; }
	body.edp-has-calendar { background: #fff !important; padding: 0 !important; }
	body.edp-has-calendar :is(.edc-bar, .edc-bar-space, .edc-menu, .edc-footer, #wpadminbar, #header, #footer, .ct-header, .ct-footer) { display: none !important; }
	.edp-cal { color: #222; font-size: 10pt; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
	.edp-cal :is(.edp-lp__filters, .edp-mbar, .edp-cal__take, .edp-chead__link, .edp-row__act .edp-btn, .edp-empty .edp-btn) { display: none !important; }
	.edp-cal .edp-wrap { max-width: none; margin-left: 0; margin-right: 0; padding: 0; }
	.edp-cal .edp-cal__print-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 5mm; margin-bottom: 6mm; border-bottom: 1px solid #DCE2E7; font-size: 9pt; color: #5B6266; }
	.edp-cal .edp-chead { margin: 0; padding: 0; border-radius: 0; background: none; display: block; }
	.edp-cal .edp-chead__title { font-size: 28pt; margin-top: 2mm; }
	.edp-cal .edp-chead__summary { font-size: 10.5pt; margin-top: 3mm; max-width: none; }
	.edp-cal .edp-cal__print-meta { display: block; margin-top: 4mm; padding: 3mm 0; border-top: 1px solid #DCE2E7; border-bottom: 1px solid #DCE2E7; font-size: 9pt; line-height: 1.5; color: #5B6266; }
	.edp-cal .edp-month__head { margin-top: 8mm; padding: 0 0 2mm; break-after: avoid; page-break-after: avoid; }
	.edp-cal .edp-month__title { font-size: 18pt; }
	.edp-cal .edp-row { grid-template-columns: 30mm minmax(0, 1fr) 32mm; gap: 5mm; padding: 3.5mm 0; align-items: start; break-inside: avoid; page-break-inside: avoid; }
	.edp-cal .edp-row:hover { background: none; }
	.edp-cal .edp-row__big { font-size: 17pt; }
	.edp-cal .edp-row__big--x { font-size: 12pt; }
	.edp-cal .edp-row__wk { font-size: 7.5pt; margin-top: 1.5mm; }
	.edp-cal .edp-row__title { font-size: 13pt; margin-top: 1.5mm; }
	.edp-cal .edp-row__title a { color: #090D0F; }
	.edp-cal .edp-row__title a::after { content: none; }
	.edp-cal .edp-row__meta { font-size: 8.5pt; margin-top: 1mm; }
	.edp-cal .edp-row__act { align-items: flex-end; text-align: right; }
	.edp-cal .edp-row__price { font-size: 9.5pt; }
	.edp-cal .edp-cal__note { margin-top: 8mm; font-size: 8.5pt; }
}
