/*
 * EduDrift Core — section library for individual competition pages.
 * Design system: Direction 4 — Immersive (approved 24 Nov 2026).
 * Every measurement here comes from the approved design board
 * "Individual competition page — ASOW (full)".
 * Breakpoints: tablet ≤1024px, phone ≤640px.
 */

/* ---------- Page frame ---------- */
.edp-page {
	--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-gap: 140px;
	--edp-photo: var(--edp-t-photo, linear-gradient(155deg, #cfe5fb 0%, #6aaef0 38%, #0068cc 75%, #0053a3 100%));
	/* The competition's tone (1.2.0): panels, fades and accents follow it; buttons stay EduDrift blue. */
	--edp-accent: var(--edp-t-deep, #0053a3);
	--edp-accent-mid: var(--edp-t-mid, #0068cc);
	--edp-deco: var(--edp-t-brand, #1a8fff);
	--edp-tint1: var(--edp-t-tint1, #eef6ff);
	--edp-tint2: var(--edp-t-tint2, #dcebfb);
	display: block;
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0 0 160px;
	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-page__sections *,
.edp-page__sections *::before,
.edp-page__sections *::after { box-sizing: border-box; }

/* Reset theme and WordPress spacing inside the sections; each section sets its own. */
.edp-page :where(.edp-s) :is(p, h1, h2, h3, h4, ul, ol, figure, table) { margin: 0; }
.edp-page .edp-s :is(h1, h2, h3, h4) {
	font-family: var(--edp-display);
	font-weight: 500;
	letter-spacing: -0.01em;
	color: var(--edp-ink);
	text-transform: none;
	font-style: normal;
}
.edp-page .edp-s :is(h2, h3, p) em {
	font-style: italic;
	color: var(--edp-accent);
}
.edp-page .edp-s a { color: var(--edp-blue); }
.edp-page .edp-s a:hover { color: var(--edp-blue-dark); }

/* Section width and rhythm */
.edp-page .edp-s {
	width: 100%;
	max-width: 1290px;
	margin: var(--edp-gap) auto 0;
	padding: 0 24px;
	color: var(--edp-text);
}
.edp-page .edp-page__sections > .edp-s:first-child { margin-top: calc(var(--edp-gap) - 72px); }

/* Shared pieces */
.edp-page .edp-s .edp-ey {
	font-family: var(--edp-body);
	font-size: 12px;
	line-height: 1.4;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 500;
	color: var(--edp-t-mid, var(--edp-blue));
}
.edp-page .edp-s h2 {
	font-size: clamp(40px, 4.6vw, 56px);
	line-height: 1;
}
.edp-page .edp-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 16px;
}
.edp-page .edp-head__title h2 { margin-top: 16px; }
.edp-page .edp-head__title > h2:first-child { margin-top: 0; }
.edp-page .edp-head .edp-head__note { font-size: 15px; max-width: 360px; }
.edp-page .edp-head--center { display: block; text-align: center; }
.edp-page .edp-head--center .edp-head__note { max-width: none; font-size: 14px; margin-top: 14px; }
.edp-page .edp-head--center h2 { font-size: clamp(40px, 5vw, 60px); }

/* Photographs (placeholders until real photos are added) */
.edp-page .edp-s .edp-photo,
.edp-page .edp-s .edp-tile__img {
	position: relative;
	overflow: hidden;
	border-radius: 32px;
	background: var(--edp-photo);
}
.edp-page .edp-s .edp-photo img,
.edp-page .edp-s .edp-tile__img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: inherit;
}
.edp-page .edp-s .edp-photo figcaption {
	position: absolute;
	left: 20px;
	bottom: 20px;
	margin: 0;
	border-radius: 999px;
	padding: 10px 18px;
	font-size: 13px;
	line-height: 1.3;
	color: var(--edp-ink);
	text-align: left;
	background: rgba(255, 255, 255, 0.74);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	max-width: calc(100% - 40px);
}

/* Buttons */
.edp-page .edp-s .edp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.edp-page .edp-s .edp-btn:not(#edp) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 0 28px;
	border: 0;
	border-radius: 999px;
	background: var(--edp-blue);
	color: #fff;
	font: 500 12px/1 var(--edp-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.2s, color 0.2s;
}
.edp-page .edp-s .edp-btn:not(#edp):hover,
.edp-page .edp-s .edp-btn:not(#edp):focus-visible { background: var(--edp-blue-dark); color: #fff; }
.edp-page .edp-s .edp-btn--soft:not(#edp) { background: var(--edp-haze); color: var(--edp-blue-dark); }
.edp-page .edp-s .edp-btn--soft:not(#edp):hover { background: var(--edp-mist); color: var(--edp-blue-dark); }
.edp-page .edp-s .edp-btn--glass:not(#edp) {
	background: rgba(255, 255, 255, 0.74);
	color: var(--edp-ink);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.7);
}
.edp-page .edp-s .edp-btn--glass:not(#edp):hover { background: #fff; color: var(--edp-blue-dark); }

/* ---------- 1. Introduction ---------- */
.edp-page .edp-intro {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: end;
}
.edp-page .edp-intro__text { grid-column: 1 / 7; padding-bottom: 24px; }
.edp-page .edp-s .edp-lead {
	font-size: clamp(36px, 4.4vw, 52px);
	line-height: 1.05;
	margin-top: 22px;
}
.edp-page .edp-intro__text > p:not(.edp-ey) {
	font-size: 17px;
	line-height: 1.75;
	max-width: 520px;
	margin-top: 16px;
}
.edp-page .edp-intro__text > h2 + p { margin-top: 28px; }
.edp-page .edp-intro__photo { grid-column: 8 / 13; height: 600px; }

/* ---------- 2. Key details (bento) ---------- */
.edp-page .edp-details .edp-head .edp-head__note { font-size: 14px; }
.edp-page .edp-bento {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	grid-auto-rows: 180px;
	gap: 16px;
	margin-top: 36px;
}
.edp-page .edp-tile {
	background: var(--edp-soft);
	border-radius: 32px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
}
.edp-page .edp-tile .edp-ey { color: var(--edp-text); }
.edp-page .edp-tile--general {
	grid-column: span 2;
	grid-row: span 2;
	padding: 36px;
	background: linear-gradient(160deg, var(--edp-tint1), var(--edp-tint2));
}
.edp-page .edp-tile--general .edp-ey { color: var(--edp-accent); }
.edp-page .edp-tile--general.has-workshop { grid-row: span 2; }
.edp-page .edp-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 32px;
	font-size: 15px;
}
.edp-page .edp-fact__k { color: var(--edp-text); }
.edp-page .edp-s .edp-fact__v { font-size: 18px; line-height: 1.3; color: var(--edp-ink); margin-top: 4px; }
.edp-page .edp-s .edp-fact__v--big { font-family: var(--edp-display); font-weight: 500; font-size: 30px; line-height: 1.1; }
.edp-page .edp-s .edp-tile__big { font-family: var(--edp-display); font-weight: 500; font-size: 30px; line-height: 1.1; color: var(--edp-ink); }
.edp-page .edp-s .edp-tile__sub { font-size: 14px; margin-top: 4px; }
.edp-page .edp-tile--photo {
	grid-column: span 2;
	position: relative;
	padding: 0;
	overflow: hidden;
	background: var(--edp-photo);
}
.edp-page .edp-tile--photo .edp-tile__img { position: absolute; inset: 0; border-radius: 0; }
.edp-page .edp-glassbar {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	border-radius: 22px;
	padding: 14px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 24px;
	background: rgba(255, 255, 255, 0.74);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.7);
}
.edp-page .edp-glassbar .edp-ey { color: var(--edp-accent); font-size: 11px; }
.edp-page .edp-s .edp-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.edp-page .edp-s .edp-links a { color: var(--edp-ink); font-weight: 500; text-decoration: none; }
.edp-page .edp-s .edp-links a:hover { color: var(--edp-blue); text-decoration: underline; }

/* ---------- 3. Registration call-to-action ---------- */
.edp-page .edp-cta {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	align-items: center;
}
.edp-page .edp-cta__photo { grid-column: 1 / 8; grid-row: 1; height: 620px; border-radius: 36px; }
.edp-page .edp-cta__panel {
	grid-column: 7 / 13;
	grid-row: 1;
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: 36px;
	padding: 52px 48px;
	box-shadow: 0 30px 70px color-mix(in srgb, var(--edp-accent) 14%, transparent);
}
.edp-page .edp-cta__panel .edp-ey { color: var(--edp-accent); }
.edp-page .edp-cta__panel h2 { font-size: clamp(34px, 4.2vw, 50px); line-height: 1.02; margin-top: 14px; }
.edp-page .edp-s .edp-incl {
	list-style: none;
	padding: 0;
	margin-top: 28px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 28px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--edp-ink);
	counter-reset: edp-incl;
}
.edp-page .edp-incl li {
	display: flex;
	gap: 12px;
	margin: 0;
	counter-increment: edp-incl;
}
.edp-page .edp-incl li::before {
	content: counter(edp-incl, decimal-leading-zero);
	font-family: var(--edp-display);
	font-weight: 500;
	font-size: 20px;
	line-height: 1;
	color: var(--edp-deco);
	flex: none;
}
.edp-page .edp-cta__panel .edp-btns { margin-top: 36px; }

/* ---------- 4. University / venue partner ---------- */
.edp-page .edp-partner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
}
.edp-page .edp-partner__photo { grid-column: 1 / 7; height: 560px; }
.edp-page .edp-partner__text { grid-column: 8 / 13; }
.edp-page .edp-partner__text h2 { font-size: clamp(36px, 4.2vw, 50px); line-height: 1.05; margin-top: 18px; }
.edp-page .edp-partner__text > p:not(.edp-ey) { font-size: 16px; line-height: 1.75; margin-top: 16px; }
.edp-page .edp-partner__text > h2 + p { margin-top: 24px; }
.edp-page .edp-partner__text .edp-btns { margin-top: 28px; }

/* ---------- 5. Stats ---------- */
.edp-page .edp-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	align-items: end;
}
.edp-page .edp-stat {
	background: linear-gradient(180deg, var(--edp-tint1), #fff);
	border-radius: 32px;
	padding: 32px;
	height: 200px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.edp-page .edp-stat:nth-child(4n + 2) { height: 250px; }
.edp-page .edp-stat:nth-child(4n + 3) { height: 300px; background: linear-gradient(180deg, var(--edp-tint2), #fff); }
.edp-page .edp-stat:nth-child(4n + 4) { height: 230px; }
.edp-page .edp-s .edp-stat__num { font-family: var(--edp-display); font-weight: 500; font-size: clamp(46px, 6vw, 72px); line-height: 1; color: var(--edp-accent); }
.edp-page .edp-s .edp-stat__label { font-size: 14px; margin-top: 8px; }

/* ---------- 6. Participating schools ---------- */
.edp-page .edp-schools { margin-top: 130px; }
.edp-page .edp-logos {
	background: var(--edp-soft);
	border-radius: 36px;
	padding: 32px;
	margin-top: 36px;
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 12px;
}
.edp-page .edp-logos > .edp-logo {
	height: 84px;
	border-radius: 18px;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 8px;
	font-size: 12px;
	line-height: 1.3;
	color: var(--edp-text);
	text-align: center;
	overflow: hidden;
}
.edp-page .edp-logo--img img {
	max-height: 56px;
	width: auto;
	object-fit: contain;
}
/* 2.3.0: full colour all the time; the border glows EduDrift blue on hover. */
.edp-page .edp-logo--img { border: 1px solid #e3e8ec; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s; }
.edp-page .edp-logo--img:hover { border-color: #1a8fff; 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-page .edp-logos > .is-hidden { display: none; }
.edp-page .edp-s .edp-logos__more { text-align: center; margin-top: 20px; font-size: 15px; }
.edp-page .edp-logos__more button:not(#edp) {
	all: unset;
	cursor: pointer;
	color: var(--edp-blue);
	font-weight: 500;
}
.edp-page .edp-logos__more button:not(#edp):hover,
.edp-page .edp-logos__more button:not(#edp):focus-visible { color: var(--edp-blue-dark); text-decoration: underline; }

/* ---------- 7. Story ---------- */
/* Two or more photos: text beside a photo grid with a captioned lead photo. */
.edp-page .edp-story {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	align-items: center;
}
.edp-page .edp-story__text { grid-column: 1 / 5; }
.edp-page .edp-story .edp-story__tagline {
	font-size: 40px;
	line-height: 1.08;
	font-style: italic;
	margin-top: 18px;
}
.edp-page .edp-story__text > p:not(.edp-ey) { font-size: 16px; line-height: 1.75; margin-top: 14px; }
.edp-page .edp-story__text > h2 + p { margin-top: 22px; }
.edp-page .edp-story__text .edp-btns { margin-top: 32px; }
.edp-page .edp-story__photos {
	grid-column: 6 / 13;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.edp-page .edp-story__photos > .edp-photo { height: 260px; }
.edp-page .edp-story__photos > .edp-photo:first-child { grid-column: 1 / 3; height: 380px; }
.edp-page .edp-story__photos > .edp-photo:nth-child(4):last-child { grid-column: 1 / 3; }
.edp-page .edp-story--n2 .edp-story__photos > .edp-photo:nth-child(2) { grid-column: 1 / 3; height: 260px; }

/* No photos: a soft text panel. */
.edp-page .edp-story--text { display: block; }
.edp-page .edp-story--text .edp-story__text {
	background: linear-gradient(160deg, var(--edp-tint1), var(--edp-tint2));
	border-radius: 36px;
	padding: 64px;
	max-width: none;
}
.edp-page .edp-story--text .edp-story__text > * { max-width: 760px; }

/* One photo: an immersive photograph with the text on a blue fade. */
.edp-page .edp-story--banner {
	display: block;
	position: relative;
	max-width: none;
	padding: 0;
	margin-left: 14px;
	margin-right: 14px;
	width: auto;
	height: 600px;
	border-radius: 36px;
	overflow: hidden;
	background: linear-gradient(200deg, #f6f8fa 0%, #a9c9e8 45%, #30363a 100%);
}
.edp-page .edp-story--banner .edp-story__photos {
	position: absolute;
	inset: 0;
	display: block;
}
.edp-page .edp-story--banner .edp-story__photos > .edp-photo {
	height: 100%;
	border-radius: 0;
	background: transparent;
}
.edp-page .edp-story--banner::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, color-mix(in srgb, var(--edp-accent) 94%, transparent) 0%, color-mix(in srgb, var(--edp-accent) 72%, transparent) 38%, transparent 72%);
	pointer-events: none;
}
.edp-page .edp-story--banner .edp-story__text {
	position: absolute;
	z-index: 2;
	left: 72px;
	bottom: 72px;
	width: min(620px, calc(100% - 144px));
}
.edp-page .edp-story--banner .edp-ey { color: var(--edp-tint2); }
.edp-page .edp-story--banner .edp-story__tagline {
	font-size: clamp(44px, 6.5vw, 76px);
	line-height: 0.95;
	font-style: normal;
	color: #fff;
}
.edp-page .edp-story--banner .edp-story__tagline em { color: #fff; }
.edp-page .edp-story--banner .edp-story__text > p:not(.edp-ey) {
	font-size: 17px;
	line-height: 1.7;
	color: var(--edp-soft);
	max-width: 520px;
}

/* ---------- 8. Highlights (carousel) ---------- */
.edp-page .edp-hl { max-width: none; padding: 0; }
.edp-page .edp-hl > .edp-head { max-width: 1290px; margin: 0 auto; padding: 0 24px; flex-wrap: nowrap; }
.edp-page .edp-hl__nav { display: flex; align-items: center; gap: 14px; flex: none; }
.edp-page .edp-hl__count { font-size: 14px; font-variant-numeric: tabular-nums; }
.edp-page .edp-hl__nav button:not(#edp) {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	border: 1px solid var(--edp-line);
	color: var(--edp-ink);
	transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.edp-page .edp-hl__nav button.edp-hl__next:not(#edp) { background: var(--edp-blue); border-color: var(--edp-blue); color: #fff; }
.edp-page .edp-hl__nav button:not(#edp):hover { background: var(--edp-blue-dark); border-color: var(--edp-blue-dark); color: #fff; }
.edp-page .edp-hl__nav button:not(#edp):focus-visible { outline: 2px solid var(--edp-blue); outline-offset: 3px; }
.edp-page .edp-hl__nav button[disabled]:not(#edp) { opacity: 0.35; cursor: default; background: transparent; border-color: var(--edp-line); color: var(--edp-ink); }
.edp-page .edp-hl__track {
	display: flex;
	gap: 20px;
	margin-top: 40px;
	padding-left: max(24px, calc((100% - 1242px) / 2));
	/* Room after the last card, so every card can slide fully into place. */
	padding-right: max(24px, calc(100% - min(800px, 72vw) - max(24px, calc((100% - 1242px) / 2))));
	scroll-padding-left: max(24px, calc((100% - 1242px) / 2));
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.edp-page .edp-hl__track::-webkit-scrollbar { display: none; }
.edp-page .edp-hl__item {
	flex: 0 0 min(800px, 72vw);
	scroll-snap-align: start;
	transition: opacity 0.3s;
}
.edp-page .edp-hl__track.is-ready .edp-hl__item:not(.is-active) { opacity: 0.55; }
.edp-page .edp-hl__photo { height: 460px; position: relative; }
.edp-page .edp-hl__num {
	position: absolute;
	left: 20px;
	top: 20px;
	z-index: 1;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--edp-blue-dark);
	background: rgba(255, 255, 255, 0.74);
	-webkit-backdrop-filter: blur(20px);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.7);
}
.edp-page .edp-s .edp-hl__title { font-size: 36px; line-height: 1.15; margin-top: 24px; }
.edp-page .edp-hl__item > p { font-size: 16px; line-height: 1.7; margin-top: 8px; max-width: 620px; }

/* ---------- 9. Certificates & recognition ---------- */
.edp-page .edp-recog__items {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 36px;
	counter-reset: edp-recog;
}
.edp-page .edp-recog__item {
	background: linear-gradient(160deg, var(--edp-tint1), var(--edp-tint2));
	border-radius: 32px;
	padding: 36px;
	counter-increment: edp-recog;
}
.edp-page .edp-recog__item::before {
	content: counter(edp-recog, decimal-leading-zero);
	display: block;
	font-family: var(--edp-display);
	font-size: 20px;
	line-height: 1;
	color: var(--edp-deco);
}
.edp-page .edp-s .edp-recog__item h3 { font-size: 30px; line-height: 1.1; margin-top: 18px; }
.edp-page .edp-recog__item p { font-size: 15px; line-height: 1.7; margin-top: 10px; }
.edp-page .edp-s .edp-recog__close { font-size: 16px; margin-top: 24px; max-width: 640px; }
.edp-page .edp-recog__photos {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 36px;
}
.edp-page .edp-recog__photos > .edp-photo { height: 300px; }
.edp-page .edp-recog__photos > .edp-photo:nth-child(2) { height: 360px; margin-top: -30px; }

/* ---------- 10. Schedule (tabs) ---------- */
.edp-page .edp-sched {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px;
	background: var(--edp-soft);
	border-radius: 36px;
	padding: 56px;
	width: calc(100% - 48px);
	max-width: 1242px;
}
.edp-page .edp-sched__side { grid-column: 1 / 5; }
.edp-page .edp-sched__side h2 { font-size: clamp(36px, 4.4vw, 52px); }
.edp-page .edp-s .edp-sched__tz { font-size: 14px; margin-top: 16px; }
.edp-page .edp-sched__tabs {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	margin-top: 28px;
}
.edp-page .edp-sched__tabs button:not(#edp) {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 28px;
	border-radius: 999px;
	background: #fff;
	color: var(--edp-text);
	font: 500 12px/1.2 var(--edp-body);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	transition: background-color 0.2s, color 0.2s;
}
.edp-page .edp-sched__tabs button[aria-selected="true"]:not(#edp) { background: var(--edp-accent); color: #fff; }
.edp-page .edp-sched__tabs button:not(#edp):hover { color: var(--edp-blue-dark); }
.edp-page .edp-sched__tabs button[aria-selected="true"]:not(#edp):hover { color: #fff; }
.edp-page .edp-sched__tabs button:not(#edp):focus-visible { outline: 2px solid var(--edp-blue); outline-offset: 3px; }
.edp-page .edp-sched__days { grid-column: 6 / 13; display: flex; flex-direction: column; gap: 16px; }
.edp-page .edp-day {
	background: #fff;
	border-radius: 28px;
	padding: 12px 32px;
}
.edp-page .edp-sched.is-tabbed .edp-day[hidden] { display: none; }
.edp-page .edp-sched.is-tabbed .edp-day__label { display: none; }
.edp-page .edp-s .edp-day__label { font-size: 26px; padding: 18px 0 6px; }
.edp-page .edp-s .edp-day__note { font-size: 14px; color: var(--edp-accent); padding: 18px 0 6px; }
.edp-page table.edp-day__table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	table-layout: auto;
	margin: 0;
	background: none;
}
.edp-page .edp-day__table tr { border: 0; border-bottom: 1px solid var(--edp-soft); background: none; }
.edp-page .edp-day__table tr:last-child { border-bottom: 0; }
.edp-page .edp-day__table td {
	border: 0;
	padding: 20px 0;
	vertical-align: top;
	background: none;
	text-align: left;
}
.edp-page .edp-day__table td:first-child { width: 140px; padding-right: 20px; color: var(--edp-accent); font-weight: 500; white-space: nowrap; }
.edp-page .edp-day__table td:nth-child(2) { color: var(--edp-ink); font-size: 17px; }

/* ---------- 11. Ticket options ---------- */
.edp-page .edp-tix__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 48px;
	align-items: center;
}
.edp-page .edp-ticket {
	background: var(--edp-soft);
	border-radius: 32px;
	padding: 36px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	min-width: 0;
}
.edp-page .edp-s .edp-ticket__name { color: var(--edp-text); }
.edp-page .edp-s .edp-ticket__who { font-size: 14px; margin-top: -12px; }
.edp-page .edp-s .edp-ticket__price { font-size: 14px; }
.edp-page .edp-ticket__price strong {
	font-family: var(--edp-display);
	font-weight: 500;
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1;
	color: var(--edp-ink);
	margin-right: 4px;
}
.edp-page .edp-s .edp-ticket__sgd { font-size: 13px; margin-top: -12px; }
.edp-page .edp-s .edp-ticket__list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 15px;
	line-height: 1.45;
}
.edp-page .edp-ticket__list li { margin: 0; padding-left: 22px; position: relative; }
.edp-page .edp-ticket__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--edp-deco);
}
.edp-page .edp-ticket .edp-btns { margin-top: auto; }
.edp-page .edp-ticket .edp-btn:not(#edp) { width: 100%; }

.edp-page .edp-ticket--featured {
	background: linear-gradient(165deg, var(--edp-accent-mid), var(--edp-accent));
	color: #fff;
	padding: 44px 36px;
	box-shadow: 0 30px 60px color-mix(in srgb, var(--edp-accent) 22%, transparent);
}
.edp-page .edp-s .edp-ticket--featured :is(.edp-ticket__name, .edp-ticket__who, .edp-ticket__price, .edp-ticket__sgd) { color: var(--edp-line); }
.edp-page .edp-ticket--featured .edp-ticket__price strong { color: #fff; }
.edp-page .edp-ticket--featured .edp-ticket__list { color: #fff; }
.edp-page .edp-ticket--featured .edp-ticket__list li::before { background: #fff; }
.edp-page .edp-s .edp-ticket--featured .edp-btn:not(#edp) { background: #fff; color: var(--edp-accent); }
.edp-page .edp-s .edp-ticket--featured .edp-btn:not(#edp):hover { background: var(--edp-tint1); color: var(--edp-accent); }

.edp-page .edp-ticket--soldout { background: #fff; border: 1px solid var(--edp-line); }
.edp-page .edp-ticket--soldout .edp-ticket__price strong { color: var(--edp-text); text-decoration: line-through; }

/* Registration closed or sold out: greyed-out buttons with no link. */
.edp-page .edp-s .edp-btn--disabled:not(#edp),
.edp-page .edp-s .edp-btn--disabled:not(#edp):hover {
	background: #e9ecef;
	color: #5c6369;
	pointer-events: none;
	cursor: not-allowed;
	box-shadow: none;
}
.edp-page .edp-s .edp-ticket--featured .edp-btn--disabled:not(#edp) {
	background: rgba(255, 255, 255, 0.18);
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- Tablet ≤1024px ---------- */
@media (max-width: 1024px) {
	.edp-page .edp-intro,
	.edp-page .edp-cta,
	.edp-page .edp-partner,
	.edp-page .edp-story,
	.edp-page .edp-sched { grid-template-columns: 1fr; row-gap: 28px; }
	.edp-page :is(.edp-intro, .edp-cta, .edp-partner, .edp-story, .edp-sched) > * { grid-column: 1 / -1; grid-row: auto; }
	.edp-page .edp-intro__photo,
	.edp-page .edp-partner__photo { order: -1; }
	.edp-page .edp-intro__text { padding-bottom: 0; }
	.edp-page .edp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(180px, auto); }
	.edp-page .edp-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.edp-page .edp-stat,
	.edp-page .edp-stat:nth-child(n) { height: auto; min-height: 180px; }
	.edp-page .edp-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.edp-page .edp-cta__panel { margin: -96px 20px 0; }
	.edp-page .edp-story__photos { grid-column: 1 / -1; }
	.edp-page .edp-story--banner .edp-story__text { left: 48px; bottom: 48px; width: calc(100% - 96px); }
	.edp-page .edp-hl__item { flex-basis: 72vw; }
	.edp-page .edp-sched__tabs { flex-direction: row; flex-wrap: wrap; }
	.edp-page .edp-tix__grid { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
	.edp-page .edp-recog__photos > .edp-photo,
	.edp-page .edp-recog__photos > .edp-photo:nth-child(2) { height: 240px; margin-top: 0; }
}

/* ---------- Phone ≤640px ---------- */
@media (max-width: 640px) {
	.edp-page { --edp-gap: 88px; }
	.edp-page .edp-s { padding: 0 18px; }
	.edp-page .edp-intro__photo,
	.edp-page .edp-cta__photo,
	.edp-page .edp-partner__photo { height: 400px; }
	.edp-page .edp-bento { grid-template-columns: 1fr; }
	.edp-page .edp-bento > * { grid-column: auto; grid-row: auto; }
	.edp-page .edp-tile--general { padding: 28px; }
	.edp-page .edp-facts { gap: 18px 20px; }
	.edp-page .edp-tile--photo { min-height: 220px; }
	.edp-page .edp-stats { gap: 10px; }
	.edp-page .edp-stat,
	.edp-page .edp-stat:nth-child(n) { padding: 22px; min-height: 150px; }
	.edp-page .edp-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 16px; gap: 8px; }
	.edp-page .edp-logos > .edp-logo { height: 72px; font-size: 11px; }
	.edp-page .edp-cta__panel { margin: -64px 10px 0; padding: 30px 24px; }
	.edp-page .edp-s .edp-incl { grid-template-columns: 1fr; }
	.edp-page .edp-story__photos > .edp-photo:first-child { height: 300px; }
	.edp-page .edp-story__photos > .edp-photo { height: 200px; }
	.edp-page .edp-story--text .edp-story__text { padding: 36px 24px; }
	.edp-page .edp-story--banner {
		height: auto;
		min-height: 600px;
		display: flex;
		align-items: flex-end;
	}
	.edp-page .edp-story--banner::after {
		background: linear-gradient(0deg, color-mix(in srgb, var(--edp-accent) 96%, transparent) 0%, color-mix(in srgb, var(--edp-accent) 75%, transparent) 55%, transparent 100%);
	}
	.edp-page .edp-story--banner .edp-story__text {
		position: relative;
		left: auto;
		bottom: auto;
		width: auto;
		padding: 160px 28px 28px;
	}
	.edp-page .edp-hl > .edp-head { padding: 0 18px; }
	.edp-page .edp-hl__item { flex-basis: 86vw; }
	.edp-page .edp-hl__track { padding-right: max(18px, calc(100% - 86vw - 18px)); }
	.edp-page .edp-hl__photo { height: 300px; }
	.edp-page .edp-s .edp-hl__title { font-size: 30px; }
	.edp-page .edp-hl__count { display: none; }
	.edp-page .edp-sched { padding: 24px 18px; border-radius: 28px; margin-left: 18px; margin-right: 18px; width: auto; }
	.edp-page .edp-day { padding: 4px 18px; }
	.edp-page .edp-day__table td:first-child { width: 96px; padding-right: 12px; font-size: 14px; }
	.edp-page .edp-day__table td:nth-child(2) { font-size: 15px; }
	.edp-page .edp-day__table td { padding: 16px 0; }
	.edp-page .edp-recog__photos { grid-template-columns: 1fr 1fr; }
	.edp-page .edp-recog__photos > .edp-photo:nth-child(3) { grid-column: 1 / -1; }
	.edp-page .edp-recog__item { padding: 28px; }
	.edp-page .edp-ticket { padding: 30px 26px; }
}

@media (prefers-reduced-motion: reduce) {
	.edp-page .edp-hl__track { scroll-behavior: auto; }
	.edp-page .edp-hl__item { transition: none; }
}

/* Partner logo */
.edp-page .edp-partner__logo { margin-bottom: 20px; }
.edp-page .edp-partner__logo img { display: block; max-height: 56px; width: auto; }
