/**
 * Simulator & TTT Timings + Test Dates calendar
 * Matches SSDC Figma UI (node 2-46984)
 */

:root {
	--st-navy: #0a1f57;
	--st-navy-deep: #07102c;
	--st-blue: #0b39a1;
	--st-red: #e30d11;
	--st-red-hover: #b40b0e;
	--st-text-dark: #0a1f57;
	--st-text-muted: #64748b;
	--st-text-body: #334155;
	--st-bg-light: #f8fafc;
	--st-border: #e2e8f0;
	--st-border-hover: #cbd5e1;
	--st-font-heading: 'Hanken Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--st-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

	/* Session type colors - Exactly matching Figma node 151:14719 */
	--st-sit-color: #059669;
	--st-sit-bg: #ecfdf5;
	--st-sit-border: #a7f3d0;

	--st-sim-color: #01319d;
	--st-sim-bg: #eff2fb;
	--st-sim-border: #b1c6f6;

	--st-ttt-color: #ea580c;
	--st-ttt-bg: #fff7ed;
	--st-ttt-border: #fed7aa;
}

/* ==========================================================================
   Simulator & TTT Timings Page Layout (Figma node 2-46984)
   ========================================================================== */

/* Page Outer with Background Graphic */
.st-page {
	position: relative;
	background-color: transparent;
	overflow: hidden;
	padding-top: 64px;
	padding-bottom: 80px;
	min-height: calc(100vh - 400px);
	font-family: var(--st-font-body);
	color: var(--st-text-body);
}

.st-page:has(.ssdc-cta-banner),
.st-page:has(.td-cta-section) {
	padding-bottom: 0;
}

.tm-page {
	background-color: #ffffff;
	background-image: url('../img/page-bg.png');
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 50% auto;
}

/* Main Container */
.st-container {
	width: 100%;
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
	box-sizing: border-box;
	position: relative;
	z-index: 1;
}

/* Breadcrumbs */
.st-crumbs {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-family: var(--st-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	margin-bottom: 24px;
	color: #64748B;
}

.st-crumbs__home,
.st-crumbs__link {
	color: #64748B;
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
	transition: color 0.15s ease;
}

.st-crumbs__home:hover,
.st-crumbs__link:hover {
	color: #03287C;
}

.st-crumbs__sep {
	color: #CBD5E1;
	display: inline-flex;
	align-items: center;
	line-height: 1;
}

.st-crumbs__current {
	color: #03287C;
	font-weight: 600;
	font-size: 16px;
	line-height: 24px;
}

/* Page Header */
.st-header {
	margin-bottom: 40px;
}

.st-title {
	font-family: var(--st-font-heading);
	font-size: clamp(34px, 4.2vw, 48px);
	font-weight: 800;
	color: var(--st-navy);
	margin: 0 0 16px;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.st-desc {
	font-family: var(--st-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: #1e293b;
	max-width: 720px;
	margin: 0 0 28px;
}

.st-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}

.st-btn-appoint {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--st-red);
	color: #ffffff !important;
	border-radius: 999px;
	padding: 13px 26px;
	font-family: var(--st-font-body);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 4px 14px rgba(227, 13, 17, 0.25);
}

.st-btn-appoint:hover {
	background: var(--st-red-hover);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(227, 13, 17, 0.35);
}

.st-btn-shuttle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	color: var(--st-navy) !important;
	border: 1px solid #cbd5e1;
	border-radius: 999px;
	padding: 13px 26px;
	font-family: var(--st-font-body);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none !important;
	transition: all 0.2s ease;
	box-shadow: 0 2px 6px rgba(10, 31, 87, 0.04);
}

.st-btn-shuttle:hover {
	background: #f8fafc;
	border-color: #94a3b8;
	transform: translateY(-1px);
}

.st-btn-arrow {
	font-size: 15px;
	transition: transform 0.2s ease;
}

.st-btn-appoint:hover .st-btn-arrow,
.st-btn-shuttle:hover .st-btn-arrow {
	transform: translateX(3px);
}

/* Summary / Stats 4-Card Grid */
.st-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	margin-bottom: 48px;
	align-items: stretch;
}

.st-stats-grid > .acf-innerblocks-container,
.st-stats-grid > .st-stats-grid__inner,
.st-stats-grid > .block-editor-inner-blocks {
	display: contents;
}

.st-stats-grid > .st-stat-card {
	min-width: 0;
}

.st-stat-card {
	background: #ffffff;
	border: 1px solid var(--st-border);
	border-radius: 16px;
	padding: 24px 22px;
	box-shadow: 0 4px 20px rgba(10, 31, 87, 0.04);
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.st-stat-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 28px rgba(10, 31, 87, 0.08);
	border-color: var(--st-border-hover);
}

.st-stat-card__icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.st-stat-card__icon--navy {
	background: var(--st-blue);
	color: #ffffff;
}

.st-stat-card__icon--red {
	background: var(--st-red);
	color: #ffffff;
}

.st-stat-card__label {
	font-family: var(--st-font-body);
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
	margin-bottom: 6px;
}

.st-stat-card__val {
	font-family: var(--st-font-heading);
	font-size: 24px;
	font-weight: 800;
	color: var(--st-navy);
	line-height: 1.2;
	margin-bottom: 8px;
	letter-spacing: -0.01em;
}

.st-stat-card__meta {
	margin: 0;
	font-family: var(--st-font-body);
	font-size: 12.5px;
	line-height: 1.45;
	color: #64748b;
}

/* Timetable Section */
.st-section {
	margin-bottom: 56px;
}

.st-sechead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.st-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--st-font-body);
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ae0404;
	margin-bottom: 6px;
}

.st-eyebrow-dash {
	display: inline-block;
	width: 22px;
	height: 1px;
	background-color: #e20004;
}

.st-sec-title {
	font-family: var(--st-font-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 48px;
	color: #020617;
	margin: 0;
	letter-spacing: -0.02em;
}

/* Legend Controls */
.st-legend {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
}

.st-legend__item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	margin: 0;
	font-size: 14px;
	font-weight: 500;
	color: #334155;
	user-select: none;
}

.st-legend__item input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	border: 1.5px solid #cbd5e1;
	background-color: #ffffff;
	cursor: pointer;
	display: inline-grid;
	place-content: center;
	margin: 0;
	transition: all 0.15s ease;
	position: relative;
}

.st-legend__item input[type="checkbox"]::before {
	content: "";
	width: 8px;
	height: 4px;
	border-left: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	transform: rotate(-45deg) translate(1px, -1px);
	opacity: 0;
	transition: opacity 0.15s ease;
}

.st-legend__item input[type="checkbox"]:checked::before {
	opacity: 1;
}

.st-legend__item input[type="checkbox"]:checked {
	background-color: var(--st-item-color, #059669);
	border-color: var(--st-item-color, #059669);
}

.st-legend__item input:not(:checked) ~ .st-legend__text {
	color: #94a3b8;
}

/* Mobile Day Switcher */
.st-day-toggle {
	display: none;
	margin-bottom: 16px;
	background: #f1f5f9;
	border: 1px solid var(--st-border);
	border-radius: 999px;
	padding: 4px;
	width: fit-content;
}

.st-day-toggle button {
	border: 0;
	background: transparent;
	padding: 8px 18px;
	border-radius: 999px;
	font-family: var(--st-font-body);
	font-size: 13px;
	font-weight: 600;
	color: var(--st-text-muted);
	cursor: pointer;
	transition: all 0.2s ease;
}

.st-day-toggle button.is-on {
	background: var(--st-navy);
	color: #ffffff;
	box-shadow: 0 2px 6px rgba(10, 31, 87, 0.15);
}

/* Timeline Grid Container */
.st-dayview,
.dayview {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr);
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	position: relative;
}

.dvgutter {
	position: relative;
	border-right: 1px solid #e2e8f0;
	margin-top: 64px;
	background: transparent;
	width: 72px;
	box-sizing: border-box;
}

.dvhour {
	position: absolute;
	left: 0;
	right: 12px;
	transform: translateY(-50%);
	line-height: 18px;
	text-align: right;
	font-family: var(--st-font-body);
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.st-dvcol,
.dvcol {
	border-right: 1px solid #e2e8f0;
	min-width: 0;
	background: transparent;
}

.st-dvcol:last-child,
.dvcol:last-child {
	border-right: 0;
}

.st-dvhead,
.dvhead {
	height: 64px;
	padding: 8px 20px;
	border-bottom: 1px solid #e2e8f0;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	text-align: left;
	gap: 2px;
}

.st-dvhead b,
.dvhead b {
	font-family: var(--st-font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 20px;
	color: #0f172a;
}

.st-dvhead span,
.dvhead span {
	font-family: var(--st-font-body);
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	color: #475569;
}

.st-dvbody,
.dvbody {
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--tm-lane-count, 3), minmax(0, 1fr));
	gap: 4px;
	padding: 0 4px;
	box-sizing: border-box;
}

.dvline {
	position: absolute;
	left: 0;
	right: 0;
	border-top: 1px solid #e2e8f0;
	pointer-events: none;
}

.dvlane {
	position: relative;
	min-width: 0;
	height: 100%;
	transition: opacity 0.2s ease;
}

.dvlane.off {
	display: none;
}

/* Event Pills */
.dvev {
	position: absolute;
	left: 2px;
	right: 2px;
	border-radius: 6px;
	padding: 4px 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 18px;
	box-sizing: border-box;
	cursor: default;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	z-index: 1;
	text-align: center;
	background-color: var(--dv-bg, #ecfdf5);
	border: 1px solid var(--dv-border, #a7f3d0);
	color: var(--dv-color, #059669);
}

.dvev:hover {
	transform: scale(1.02);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	z-index: 5;
}

.dvev .dvev__time {
	font-family: var(--st-font-body, Inter, sans-serif);
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -0.01em;
	color: inherit;
}

.st-page .ssdc-cta-banner {
	margin-top: 48px;
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.st-page .ssdc-cta-banner {
		margin-top: 0;
	}
}

/* Legacy inner compatibility overrides */
.ssdc-inner.ssdc-sched .section {
	padding: 56px 0;
	border-top: 1px solid var(--st-border);
}

.ssdc-inner.ssdc-sched .section.section--first {
	border-top: none;
	padding-top: 40px;
}

.ssdc-inner.ssdc-sched .section.section--continuation {
	border-top: none;
	padding-top: 0;
	margin-top: -24px;
}

.ssdc-info-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 12px;
}

.ssdc-info-list__item {
	padding: 14px 16px;
	border: 1px solid var(--st-border, #e7e3de);
	border-radius: 10px;
	background: #fff;
}

.ssdc-info-list__title {
	display: block;
	margin-bottom: 4px;
	color: var(--tdv-navy, #0a1f57);
}

.ssdc-info-list__text {
	display: block;
	color: var(--tdv-muted, #5b5b66);
	font-size: 0.95rem;
}

.ssdc-info-list__heading {
	margin: 0 0 16px;
}

/* ==========================================================================
   Test Dates Calendar (tdv styles preserved)
   ========================================================================== */

.tdv {
	--tdv-navy: #0a1f57;
	--tdv-red: #e30d11;
	--tdv-text: #171417;
	--tdv-muted: #5b5b66;
	--tdv-ink-2: #334155;
	--tdv-line: #e7e3de;
	--tdv-paper: #f8fafc;
	--tdv-heading: 'Hanken Grotesk', 'Open Sans', sans-serif;
	--tdv-body: 'Inter', 'Open Sans', sans-serif;
	font-family: var(--tdv-body);
	color: var(--tdv-text);
	background: var(--tdv-paper);
}

.tdv-wrap {
	max-width: var(--ssdc-page-max, none);
	margin: 0 auto;
	padding: 0 var(--ssdc-gutter, 112px);
}

.tdv-pagehead {
	background: var(--tdv-navy);
	color: #fff;
	padding: 28px 0 22px;
}

.tdv-pagehead h1 {
	margin: 0 0 4px;
	font-family: var(--tdv-heading);
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: #fff;
}

.tdv-crumbs {
	font-size: 12px;
	color: #dbe3f8;
}

.tdv-pagehead-row {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 16px;
}

.tdv-print {
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
}

.tdv-print:hover {
	color: #fff;
	opacity: 0.85;
}

.tdv .hv2-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 100px;
	font-family: var(--tdv-body);
	font-weight: 500;
	font-size: 15px;
	line-height: 1;
	padding: 14px 24px;
	border: 1px solid transparent;
	text-decoration: none;
	white-space: nowrap;
}

.tdv .hv2-btn--red {
	background: var(--tdv-red);
	color: #fff;
}

.tdv .hv2-btn--red:hover {
	background: #b40b0e;
	color: #fff;
}

.tdv .hv2-btn--sm {
	font-size: 14px;
	padding: 12px 22px;
}

.tdv-section {
	padding: 56px 0;
	border-top: 1px solid var(--tdv-line);
}

.tdv-section--first {
	border-top: none;
}

.tdv-section--last {
	padding-top: 0;
	border-top: none;
}

.tdv-eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--tdv-navy);
	margin-bottom: 6px;
}

.tdv-section h2 {
	font-family: var(--tdv-heading);
	font-size: 26px;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0.15em 0 0.4em;
	color: var(--tdv-navy);
}

.tdv-lead {
	color: var(--tdv-ink-2);
	max-width: 640px;
	margin: 0 0 24px;
	font-size: 16px;
	line-height: 1.6;
}

.tdv-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
	margin-top: 8px;
}

.tdv-stat {
	background: #fff;
	border: 1px solid var(--tdv-line);
	border-radius: 14px;
	padding: 18px;
}

.tdv-annot {
	font-size: 11px;
	color: var(--tdv-navy);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 6px;
	display: block;
}

.tdv-stat h3 {
	margin: 0 0 6px;
	font-family: var(--tdv-heading);
	font-size: 22px;
	font-weight: 800;
	color: var(--tdv-navy);
}

.tdv-stat p {
	margin: 0;
	color: var(--tdv-muted);
	font-size: 13px;
}

.callegend {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 16px;
	font-size: 12px;
	color: var(--st-text-body);
}

.callegend span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.callegend i {
	width: 10px;
	height: 10px;
	border-radius: 3px;
	display: inline-block;
}

.calhead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 14px;
	gap: 12px;
}

.calnav {
	display: flex;
	gap: 8px;
	align-items: center;
}

.calnav span {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid var(--st-border);
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 13px;
	user-select: none;
}

.calnav b {
	min-width: 150px;
	text-align: center;
	font-size: 15px;
	font-weight: 700;
	color: var(--st-navy);
}

.calmonth { display: none; }
.calmonth.on { display: block; }

.calmonths {
	overflow-x: auto;
}

.calgrid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 6px;
	min-width: 640px;
}

.calgrid .dow {
	font-size: 11px;
	font-weight: 700;
	color: var(--st-text-muted);
	text-align: center;
	padding-bottom: 4px;
}

.calcell {
	border: 1px solid var(--st-border);
	border-radius: 10px;
	min-height: 96px;
	min-width: 0;
	overflow: hidden;
	padding: 6px;
	background: #fff;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.calcell.off {
	background: #f8fafc;
	border-style: dashed;
}

.calcell .dnum {
	font-size: 11px;
	font-weight: 700;
	color: var(--st-text-dark);
	margin-bottom: 2px;
}

.calcell .ev {
	font-size: 10px;
	font-weight: 700;
	border-radius: 5px;
	padding: 2px 5px;
	color: #fff;
	line-height: 1.4;
}

.ev-theory { background: #7c3aed; }
.ev-practical { background: #0ea5a4; }
.ev-sdc { background: #e0763e; }

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
	.st-stats-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.st-sechead {
		flex-direction: column;
		align-items: flex-start;
	}

	.st-day-toggle {
		display: flex;
		width: 100%;
		box-sizing: border-box;
		background: #f1f5f9;
		border: 1px solid #e2e8f0;
		border-radius: 999px;
		padding: 4px;
		margin-bottom: 16px;
		gap: 0;
	}

	.st-day-toggle button {
		flex: 1 1 0;
		padding: 8px 12px;
		font-size: 14px;
		line-height: 20px;
		font-weight: 600;
		color: #475569;
		box-shadow: none;
	}

	.st-day-toggle button.is-on {
		background: #ffffff;
		color: #0f172a;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	}

	.st-dayview,
	.dayview {
		grid-template-columns: 64px minmax(0, 1fr);
	}

	.dvgutter {
		width: 64px;
	}

	.tm-page .st-dayview,
	.tm-page .dayview {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.tm-page .dvgutter {
		position: sticky;
		left: 0;
		z-index: 4;
		background: #ffffff;
	}

	.tm-page .st-dvcol,
	.tm-page .dvcol {
		min-width: calc(var(--tm-lane-count, 3) * 152px + 12px);
	}

	.tm-page .st-dvbody,
	.tm-page .dvbody {
		grid-template-columns: repeat(var(--tm-lane-count, 3), minmax(152px, 1fr));
	}

	.tm-page .dvlane {
		min-width: 152px;
	}

	.tm-page .dvev .dvev__time {
		overflow: visible;
		text-overflow: unset;
	}

	.st-dvcol[data-dvcol="weekend"],
	.dvcol[data-dvcol="weekend"] {
		display: none;
	}

	.st-dayview.is-weekend .st-dvcol[data-dvcol="weekday"],
	.dayview.is-weekend .dvcol[data-dvcol="weekday"] {
		display: none;
	}

	.st-dayview.is-weekend .st-dvcol[data-dvcol="weekend"],
	.dayview.is-weekend .dvcol[data-dvcol="weekend"] {
		display: block;
		border-right: 0;
	}

	.st-cta-band {
		padding: 24px;
		flex-direction: column;
		align-items: flex-start;
	}

	.st-cta-band__btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.st-container {
		padding: 0 var(--ssdc-gutter, 16px);
	}

	.st-page {
		padding-top: 24px;
		padding-bottom: 48px;
	}

	.st-page:has(.ssdc-cta-banner),
	.st-page:has(.td-cta-section) {
		padding-bottom: 0;
	}

	.st-stats-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.st-title {
		font-size: 28px;
	}

	.st-legend {
		width: 100%;
		box-sizing: border-box;
		justify-content: flex-start;
	}
}

/* Simulator & TTT Timings — mobile (Figma 195:136521, 390) */
@media (max-width: 767px) {
	.tm-page.st-page {
		padding-top: 32px;
		padding-bottom: 0;
		overflow-x: clip;
	}

	.tm-page .st-container {
		padding: 0 var(--ssdc-gutter, 16px);
	}

	.tm-page .st-crumbs {
		font-size: 16px;
		line-height: 24px;
		margin-bottom: 16px;
		gap: 6px;
	}

	.tm-page .st-header {
		margin-bottom: 0;
	}

	.tm-page .st-header-actions {
		display: none;
	}

	.tm-page .st-title {
		font-size: 36px;
		line-height: 44px;
		font-weight: 700;
		letter-spacing: -0.72px;
		text-transform: uppercase;
		color: #020617;
		margin: 0 0 16px;
	}

	.tm-page .st-desc {
		font-size: 18px;
		line-height: 28px;
		color: #1e293b;
		margin: 0;
		max-width: none;
	}

	.tm-page .st-stats-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		margin-top: 40px;
		margin-bottom: 48px;
		padding: 0 4px;
	}

	.tm-page .st-stat-card {
		padding: 20px;
		border-radius: 12px;
		gap: 20px;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	}

	.tm-page .st-stat-card:hover {
		transform: none;
	}

	.tm-page .st-stat-card__icon {
		width: 40px;
		height: 40px;
		border-radius: 8px;
		margin-bottom: 0;
	}

	.tm-page .st-stat-card__icon svg,
	.tm-page .st-stat-card__custom-icon {
		width: 20px;
		height: 20px;
		max-width: 20px;
		max-height: 20px;
	}

	.tm-page .st-stat-card__label {
		font-size: 14px;
		line-height: 20px;
		font-weight: 600;
		color: #334155;
		margin-bottom: 8px;
	}

	.tm-page .st-stat-card__val {
		font-size: 24px;
		line-height: 32px;
		font-weight: 600;
		color: #020617;
		margin-bottom: 4px;
		letter-spacing: 0;
	}

	.tm-page .st-stat-card__meta {
		font-size: 16px;
		line-height: 24px;
		color: #334155;
	}

	.tm-page .st-section {
		margin-bottom: 0;
		padding-bottom: 48px;
	}

	.tm-page .st-sechead {
		margin-bottom: 16px;
		gap: 16px;
	}

	.tm-page .st-sec-title {
		font-size: 36px;
		line-height: 44px;
		font-weight: 700;
		letter-spacing: -0.72px;
		text-transform: uppercase;
		color: #020617;
	}

	.tm-page .st-legend {
		flex-direction: column;
		align-items: flex-start;
		gap: 8px;
		width: 100%;
	}

	.tm-page .st-legend__item {
		font-size: 16px;
		line-height: 24px;
	}

	.tm-page .st-dvhead,
	.tm-page .dvhead {
		padding: 8px 20px;
	}

	.tm-page .dvev {
		padding: 4px 8px;
		overflow: visible;
	}

	.tm-page .dvev .dvev__time {
		font-size: 13px;
		overflow: visible;
		text-overflow: unset;
	}

	.tm-page .ssdc-cta-banner__title {
		font-size: 30px;
		line-height: 38px;
		letter-spacing: 0;
		margin-bottom: 8px;
	}

	.tm-page .ssdc-cta-banner__subtitle {
		font-size: 16px;
		line-height: 24px;
	}

	.tm-page .ssdc-cta-banner__actions {
		flex-direction: row;
		align-items: center;
		width: auto;
	}

	.tm-page .ssdc-cta-btn {
		width: auto;
		padding: 10px 16px;
		font-size: 16px;
		line-height: 24px;
		font-weight: 600;
	}

	/* Break the shared CTA out of .st-container so it can full-bleed. */
	.tm-page .st-container .td-cta-section {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		padding: 0 !important;
		box-sizing: border-box;
	}

	.tm-page .ssdc-cta-banner,
	.tm-page .ssdc-cta-banner.ssdc-page-schedule-cta {
		border-radius: 0;
		margin: 0;
		width: 100%;
		max-width: 100%;
		padding: 24px 20px;
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
		box-shadow: none;
	}
}
