.twosix3-academy {
	--ts3-bg: #f4f7fa;
	--ts3-card: #ffffff;
	--ts3-text: #17324d;
	--ts3-muted: #617286;
	--ts3-border: #dce4eb;
	box-sizing: border-box;
	color: var(--ts3-text);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.55;
	margin: 0 auto;
	max-width: 1180px;
}

.twosix3-academy *,
.twosix3-academy *::before,
.twosix3-academy *::after { box-sizing: inherit; }

.ts3-header {
	background: linear-gradient(135deg, var(--ts3-navy), #255477);
	border-radius: 20px;
	color: #fff;
	margin-bottom: 14px;
	overflow: hidden;
	padding: clamp(24px, 5vw, 52px);
	position: relative;
}

.ts3-header::after {
	background: var(--ts3-gold);
	border-radius: 999px;
	content: "";
	height: 180px;
	opacity: .18;
	position: absolute;
	right: -60px;
	top: -80px;
	width: 180px;
}

.ts3-brand {
	color: var(--ts3-gold);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .14em;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.ts3-header h1 { color: #fff; font-size: clamp(28px, 5vw, 48px); line-height: 1.08; margin: 0 0 10px; }
.ts3-header p { color: rgba(255,255,255,.86); font-size: 17px; margin: 0; max-width: 720px; }

.ts3-nav {
	align-items: center;
	background: #fff;
	border: 1px solid var(--ts3-border);
	border-radius: 14px;
	display: flex;
	gap: 6px;
	margin: 0 0 24px;
	overflow-x: auto;
	padding: 7px;
}

.ts3-nav a {
	border-radius: 9px;
	color: var(--ts3-navy);
	font-size: 14px;
	font-weight: 700;
	padding: 9px 13px;
	text-decoration: none;
	white-space: nowrap;
}

.ts3-nav a:hover,
.ts3-nav a:focus { background: #e9f6f4; color: var(--ts3-primary); }

.ts3-programmes {
	align-items: center;
	background: var(--ts3-bg);
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 20px;
	padding: 14px 16px;
}

.ts3-pill,
.ts3-card-meta span {
	background: #e4f4f2;
	border-radius: 999px;
	color: #075f59;
	font-size: 12px;
	font-weight: 800;
	padding: 5px 9px;
}

.ts3-note { color: var(--ts3-muted); }

.ts3-stats {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(4, 1fr);
	margin-bottom: 28px;
}

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

.ts3-stat strong { color: var(--ts3-primary); display: block; font-size: 28px; line-height: 1; margin-bottom: 7px; }
.ts3-stat span { color: var(--ts3-muted); font-size: 13px; }
.ts3-section-title { color: var(--ts3-navy); font-size: 23px; margin: 28px 0 14px; }

.ts3-card-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ts3-hub-card,
.ts3-list-card,
.ts3-team-card {
	background: var(--ts3-card);
	border: 1px solid var(--ts3-border);
	border-radius: 16px;
	box-shadow: 0 8px 24px rgba(23,50,77,.06);
	padding: 22px;
}

.ts3-linked-card { color: inherit; display: block; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.ts3-linked-card:hover,
.ts3-linked-card:focus { box-shadow: 0 14px 34px rgba(23,50,77,.13); color: inherit; transform: translateY(-3px); }
.ts3-hub-card h3,
.ts3-list-card h3,
.ts3-team-card h3 { color: var(--ts3-navy); font-size: 19px; margin: 10px 0 8px; }
.ts3-hub-card p { color: var(--ts3-muted); margin: 0 0 14px; }
.ts3-icon { background: #e9f6f4; border-radius: 12px; display: inline-grid; font-size: 24px; height: 46px; place-items: center; width: 46px; }
.ts3-text-link { color: var(--ts3-primary); font-weight: 800; text-decoration: none; }

.ts3-list { display: grid; gap: 14px; }
.ts3-list-card h3 { margin-top: 10px; }
.ts3-list-card p { margin: 8px 0; }
.ts3-card-meta { display: flex; flex-wrap: wrap; gap: 7px; }
.ts3-description:empty { display: none; }

.ts3-filters {
	align-items: end;
	background: var(--ts3-bg);
	border: 1px solid var(--ts3-border);
	border-radius: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0 0 20px;
	padding: 14px;
}

.ts3-filters label { color: var(--ts3-muted); display: grid; font-size: 12px; font-weight: 800; gap: 4px; }
.ts3-filters input,
.ts3-filters select { background: #fff; border: 1px solid #bfcbd6; border-radius: 8px; color: var(--ts3-navy); min-height: 40px; padding: 7px 10px; }

.ts3-button {
	background: var(--ts3-primary);
	border: 0;
	border-radius: 9px;
	color: #fff !important;
	cursor: pointer;
	display: inline-block;
	font-weight: 800;
	line-height: 1.2;
	padding: 12px 16px;
	text-decoration: none;
}

.ts3-button:hover,
.ts3-button:focus { filter: brightness(.9); }
.ts3-session-time { color: var(--ts3-primary); font-size: 17px; font-weight: 800; }
.ts3-session-action { margin-top: 16px; }
.ts3-disabled { background: #eef2f5; border-radius: 8px; color: var(--ts3-muted); display: inline-block; font-weight: 700; padding: 10px 12px; }

.ts3-callout,
.ts3-safeguarding {
	align-items: center;
	background: #fff8e7;
	border: 1px solid #f1d98b;
	border-radius: 12px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
	padding: 14px 16px;
}

.ts3-safeguarding { display: block; margin: 0 0 20px; }
.ts3-empty,
.ts3-login { background: var(--ts3-bg); border: 1px dashed #aebdc9; border-radius: 16px; padding: 34px; text-align: center; }
.ts3-empty strong,
.ts3-login h2 { color: var(--ts3-navy); font-size: 22px; }

.ts3-team-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ts3-team-card { text-align: center; }
.ts3-team-card img { border: 4px solid #e4f4f2; border-radius: 50%; }
.ts3-team-card p { color: var(--ts3-primary); font-size: 13px; font-weight: 800; }

.twosix3-footer-banner {
	align-items: center;
	background: #17324d;
	color: #fff;
	display: flex;
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	gap: 12px;
	justify-content: center;
	padding: 15px 20px;
	text-align: center;
}

.twosix3-footer-banner strong { color: #f4b942; }
.twosix3-footer-banner span { opacity: .88; }

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

@media (max-width: 560px) {
	.ts3-card-grid,
	.ts3-team-grid,
	.ts3-stats { grid-template-columns: 1fr; }
	.ts3-header { border-radius: 14px; }
	.ts3-filters { align-items: stretch; flex-direction: column; }
	.ts3-filters label { width: 100%; }
	.twosix3-footer-banner { align-items: center; flex-direction: column; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
	.ts3-linked-card { transition: none; }
}
