/* =====================================================================
   T20 MUMBAI LEAGUE — HOMEPAGE REDESIGN
   Premium dark-blue + white, mobile-first, broadcast-grade.
   Relies on design tokens declared in style.css (:root).
   ===================================================================== */

.t20-home {
	overflow-x: hidden;
}

.t20-home img {
	display: block;
	max-width: 100%;
}

/* Tighter section rhythm on the homepage */
.t20-home .t20-section {
	padding: 56px 0;
}

.t20-home .t20-section-tight {
	padding: 40px 0;
}

@media (min-width: 1024px) {
	.t20-home .t20-section {
		padding: 72px 0;
	}
}

.t20-section-header.center {
	justify-content: center;
	text-align: center;
}

.t20-section-header.center .t20-section-title::after {
	left: 50%;
	transform: translateX(-50%);
}

.t20-section-header.dark .t20-section-title,
.t20-section-header.dark .t20-view-all {
	color: #fff;
}

.t20-section-header.dark {
	border-bottom-color: rgba(255, 255, 255, .18);
}

/* ---------------------------------------------------------------------
   SKELETON LOADERS
   --------------------------------------------------------------------- */
.sk {
	display: block;
	background: linear-gradient(90deg, #e7edf5 25%, #f3f7fc 37%, #e7edf5 63%);
	background-size: 400% 100%;
	animation: t20-shimmer 1.4s ease infinite;
	border-radius: 6px;
}

@keyframes t20-shimmer {
	0% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0 50%;
	}
}

.sk-line {
	height: 12px;
}

.sk-num {
	height: 34px;
	width: 60%;
	margin: 0 auto 10px;
	border-radius: 8px;
}

.sk-row {
	height: 18px;
	margin-top: 8px;
	border-radius: 6px;
}

.sk-rank {
	width: 18px;
	height: 18px;
	border-radius: 50%;
}

.sk-avatar {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.sk-stat {
	width: 42px;
	height: 20px;
	border-radius: 6px;
}

.sk-logo {
	width: 64px;
	height: 64px;
	border-radius: 50%;
}

.sk-vs {
	width: 30px;
	height: 14px;
}

.sk-photo {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 12px;
}

.sk-badge {
	width: 120px;
	height: 22px;
	border-radius: 20px;
	margin: 0 auto;
}

.t20-skel-card .sk,
.t20-skel-row .sk {
	animation-duration: 1.4s;
}

/* ---------------------------------------------------------------------
   EMPTY & ERROR STATES
   --------------------------------------------------------------------- */
.t20-empty,
.t20-error {
	text-align: center;
	padding: 48px 24px;
	border: 1px dashed var(--t20-border);
	border-radius: 14px;
	background: var(--t20-bg-light);
	color: var(--t20-text-muted);
}

.t20-empty-icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.t20-empty h3,
.t20-error h3 {
	color: var(--t20-text-dark);
	margin-bottom: 6px;
}

.t20-empty p,
.t20-error p {
	margin: 0 auto;
	max-width: 460px;
	font-size: 14px;
}

.t20-empty.on-dark,
.t20-error.on-dark {
	background: rgba(255, 255, 255, .04);
	border-color: rgba(255, 255, 255, .18);
	color: rgba(255, 255, 255, .75);
}

.t20-empty.on-dark h3,
.t20-error.on-dark h3 {
	color: #fff;
}

.t20-error {
	border-style: solid;
	border-color: #fecaca;
	background: #fff5f5;
}

.t20-error h3 {
	color: var(--t20-accent);
}

/* LIVE indicator (pulsing dot) */
.t20-live-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #fff;
	margin-right: 6px;
	vertical-align: middle;
	animation: t20-pulse 1.2s infinite;
}

@keyframes t20-pulse {

	0%,
	100% {
		opacity: 1;
	}

	50% {
		opacity: .25;
	}
}

/* ---------------------------------------------------------------------
   1. HERO
   --------------------------------------------------------------------- */
.t20-hero {
	position: relative;
	background: #ffffff;
	padding: 56px 0;
	overflow: hidden;
}

/* Trophy artwork on its own layer so we can fade its edges into the white
   without affecting the hero text/CTAs. */
.t20-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url(../images/hero-trophy.png) no-repeat calc(50% + 170px) center;
	background-size: auto 95%;
	opacity: 0.85;
	-webkit-mask-image: linear-gradient(to right, transparent 30%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, 1) 70%);
	mask-image: linear-gradient(to right, transparent 30%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, 1) 70%);
	pointer-events: none;
	z-index: 0;
}

.t20-hero-layout {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 680px) 1fr;
	gap: 32px;
	align-items: center;
	min-height: 380px;
}

.t20-hero-main {
	display: flex;
	min-width: 0;
}

.t20-hero-main .t20-hero-card {
	width: 100%;
}

/* Hero intro (headline, description and CTAs) */
.t20-hero-intro {
	min-width: 0;
	max-width: 680px;
}

.t20-hero-eyebrow {
	display: inline-block;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--t20-blue);
	background: rgba(13, 59, 156, 0.08);
	padding: 7px 16px;
	border-radius: 999px;
	margin-bottom: 22px;
}

.t20-hero-title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(32px, 4.5vw, 52px);
	line-height: 1.1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--t20-blue-dark);
	margin: 0 0 20px;
}

.t20-hero-title span {
	color: var(--t20-blue);
}

.t20-hero-desc {
	font-size: 18px;
	line-height: 1.6;
	color: var(--t20-text-body);
	margin: 0 0 32px;
}

.t20-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

@media (max-width: 880px) {
	.t20-hero-intro {
		max-width: none;
	}

	.t20-hero-desc {
		font-size: 16px;
	}
}

@media (max-width: 880px) {
	.t20-hero::before {
		background-position: right center;
		background-size: auto 60%;
		opacity: 0.3;
		-webkit-mask-image: linear-gradient(to right, transparent 20%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, 1) 100%);
		mask-image: linear-gradient(to right, transparent 20%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, 1) 100%);
	}

	.t20-hero-layout {
		grid-template-columns: 1fr;
		gap: 20px;
		min-height: 0;
	}

	.t20-hero-intro {
		grid-column: 1;
	}
}

.t20-hero-card {
	background: linear-gradient(135deg, #0a2a63, #071d49);
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 18px;
	padding: 28px 24px;
	color: #fff;
	box-shadow: 0 24px 60px -24px rgba(7, 29, 73, .55);
}

.t20-hero-skeleton {
	min-height: 220px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.t20-hero-skel-teams {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	margin-top: 18px;
}

.t20-hero-skeleton .sk {
	background: linear-gradient(90deg, rgba(255, 255, 255, .10) 25%, rgba(255, 255, 255, .20) 37%, rgba(255, 255, 255, .10) 63%);
}

.t20-hero-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.t20-hero-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var(--font-heading);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: 13px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .12);
}

.t20-hero-status.live {
	background: var(--t20-accent);
}

.t20-hero-status.upcoming {
	background: var(--t20-blue-light);
}

.t20-hero-status.completed {
	background: rgba(255, 255, 255, .16);
}

.t20-hero-meta {
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
	text-align: right;
}

.t20-hero-teams {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
}

.t20-hero-team {
	text-align: center;
}

.t20-hero-team img {
	width: 72px;
	height: 72px;
	object-fit: contain;
	margin: 0 auto 10px;
}

.t20-hero-team-logofallback {
	width: 72px;
	height: 72px;
	margin: 0 auto 10px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .12);
	font-family: var(--font-heading);
	font-size: 22px;
}

.t20-hero-team-name {
	font-family: var(--font-heading);
	font-size: 18px;
	text-transform: uppercase;
}

.t20-hero-team-score {
	font-size: 22px;
	font-weight: 800;
	margin-top: 4px;
}

.t20-hero-team-overs {
	font-size: 13px;
	color: rgba(255, 255, 255, .7);
}

.t20-hero-vs {
	font-family: var(--font-heading);
	font-size: 16px;
	color: rgba(255, 255, 255, .6);
}

.t20-hero-countdown {
	display: flex;
	gap: 10px;
	justify-content: center;
	margin: 6px 0;
}

.t20-cd-box {
	background: rgba(255, 255, 255, .10);
	border-radius: 10px;
	padding: 8px 12px;
	min-width: 60px;
	text-align: center;
}

.t20-cd-box strong {
	display: block;
	font-size: 26px;
	font-family: var(--font-heading);
	line-height: 1;
}

.t20-cd-box span {
	font-size: 11px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, .7);
	text-transform: uppercase;
}

.t20-hero-bottom {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.t20-hero-result {
	text-align: center;
	font-family: var(--font-heading);
	font-size: 16px;
	letter-spacing: .5px;
	margin-bottom: 14px;
}

.t20-hero-rrr {
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, .8);
	margin-bottom: 8px;
}

.t20-hero-progress {
	height: 6px;
	border-radius: 6px;
	background: rgba(255, 255, 255, .15);
	overflow: hidden;
	margin-bottom: 16px;
}

.t20-hero-progress>i {
	display: block;
	height: 100%;
	background: var(--t20-gold);
	transition: width .6s ease;
}

.t20-hero-batting {
	display: flex;
	justify-content: center;
	gap: 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, .85);
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.t20-hero-batting b {
	color: #fff;
}

.t20-hero-ctas {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
}

/* Outline button styling only applies inside the dark hero card (legacy);
   the light hero intro uses the default blue outline button. */
.t20-hero-card .t20-btn-outline {
	color: #fff;
	border-color: rgba(255, 255, 255, .6);
}

.t20-hero-card .t20-btn-outline:hover {
	background: #fff;
	color: var(--t20-blue-dark);
}

@media (min-width: 768px) {
	.t20-hero {
		padding: 64px 0 72px;
	}

	.t20-hero-card {
		padding: 40px;
	}

	.t20-hero-team img,
	.t20-hero-team-logofallback {
		width: 96px;
		height: 96px;
	}

	.t20-hero-team-name {
		font-size: 24px;
	}

	.t20-hero-team-score {
		font-size: 30px;
	}
}

/* ---------------------------------------------------------------------
   2. MATCH CENTRE STRIP
   --------------------------------------------------------------------- */
.t20-strip-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.t20-strip-tab {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: 13px;
	padding: 8px 18px;
	border-radius: 20px;
	cursor: pointer;
	border: 1px solid var(--t20-border);
	background: #fff;
	color: var(--t20-text-muted);
	transition: all .2s;
}

.t20-strip-tab:hover {
	border-color: var(--t20-blue);
	color: var(--t20-blue);
}

.t20-strip-tab.is-active {
	background: var(--t20-blue);
	border-color: var(--t20-blue);
	color: #fff;
}

.t20-matchstrip {
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr;
}

@media (min-width: 600px) {
	.t20-matchstrip {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-matchstrip {
		grid-template-columns: repeat(4, 1fr);
	}
}

.t20-match-card {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 12px;
	padding: 16px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s, box-shadow .2s;
	display: flex;
	flex-direction: column;
	min-height: 150px;
}

.t20-match-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lg);
}

.t20-match-card-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
	font-size: 11px;
	color: var(--t20-text-muted);
	font-weight: 600;
}

.t20-mc-tag {
	font-family: var(--font-heading);
	letter-spacing: .5px;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 4px;
	font-size: 10px;
}

.t20-mc-tag.live {
	background: var(--t20-accent);
	color: #fff;
}

.t20-mc-tag.upcoming {
	background: var(--t20-blue-light);
	color: #fff;
}

.t20-mc-tag.completed {
	background: var(--t20-bg-muted);
	color: var(--t20-text-muted);
}

.t20-mc-team {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 5px 0;
}

.t20-mc-team-id {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--t20-text-dark);
}

.t20-mc-team-id img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.t20-mc-team-id .ini {
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--t20-bg-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-family: var(--font-heading);
}

.t20-mc-score {
	font-weight: 800;
	font-size: 14px;
	color: var(--t20-text-dark);
}

.t20-mc-score small {
	font-weight: 600;
	color: var(--t20-text-muted);
}

.t20-mc-foot {
	margin-top: auto;
	padding-top: 10px;
	font-size: 12px;
	color: var(--t20-text-muted);
	font-weight: 600;
}

.t20-mc-foot.win {
	color: var(--t20-blue);
}

/* ---------------------------------------------------------------------
   3. SEASON OVERVIEW
   --------------------------------------------------------------------- */
.t20-overview-season {
	font-family: var(--font-heading);
	color: var(--t20-blue);
	font-size: 16px;
	letter-spacing: 1px;
}

.t20-overview-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

@media (min-width: 600px) {
	.t20-overview-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-overview-grid {
		grid-template-columns: repeat(8, 1fr);
	}
}

.t20-stat-tile {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 12px;
	padding: 18px 12px;
	text-align: center;
}

.t20-stat-tile-value {
	font-family: var(--font-heading);
	font-size: 30px;
	color: var(--t20-blue-dark);
	line-height: 1;
}

.t20-stat-tile-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--t20-text-muted);
	margin-top: 6px;
	font-weight: 600;
}

/* ---------------------------------------------------------------------
   4. NEWS
   --------------------------------------------------------------------- */
.t20-news-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: 1fr;
}

@media (min-width: 900px) {
	.t20-news-grid {
		grid-template-columns: 1.4fr 1fr;
		align-items: start;
	}
}

.t20-news-feature {
	display: block;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--t20-border);
	box-shadow: var(--shadow-md);
}

.t20-news-feature:hover {
	box-shadow: var(--shadow-lg);
}

.t20-news-feature-media {
	aspect-ratio: 16/9;
	background: var(--t20-bg-muted);
}

.t20-news-feature-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.t20-news-feature-body {
	padding: 22px;
}

.t20-news-feature-body h3 {
	font-size: 24px;
	margin: 12px 0 10px;
	line-height: 1.2;
	color: var(--t20-text-dark);
}

.t20-news-noimg {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--t20-blue), var(--t20-blue-dark));
	color: #fff;
	font-family: var(--font-heading);
	letter-spacing: 2px;
}

.t20-news-noimg.sm {
	aspect-ratio: 1/1;
}

.t20-news-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.t20-news-item {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 14px;
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 12px;
	overflow: hidden;
}

.t20-news-item:hover {
	box-shadow: var(--shadow-md);
}

.t20-news-item-media {
	aspect-ratio: 1/1;
	background: var(--t20-bg-muted);
}

.t20-news-item-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.t20-news-item-body {
	padding: 12px 14px 12px 0;
}

.t20-news-item-body h4 {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	margin: 6px 0;
	color: var(--t20-text-dark);
	line-height: 1.3;
}

.t20-news-cat {
	font-family: var(--font-heading);
	font-size: 11px;
	letter-spacing: 1px;
	color: var(--t20-blue);
	text-transform: uppercase;
}

.t20-news-meta {
	display: flex;
	gap: 8px;
	font-size: 12px;
	color: var(--t20-text-muted);
}

/* ---------------------------------------------------------------------
   5. VIDEOS
   --------------------------------------------------------------------- */
.t20-videos-section {
	background: var(--t20-blue-dark);
}

.t20-video-grid {
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-behavior: smooth;
	padding: 0;
	margin: 0;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.t20-video-grid::-webkit-scrollbar {
	display: none;
}

.t20-video-slider-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 24px;
	padding-bottom: 8px;
}

.t20-video-slider-track {
	width: 180px;
	height: 4px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 2px;
	position: relative;
	overflow: hidden;
}

.t20-video-slider-bar {
	height: 100%;
	width: 0%;
	background: var(--t20-gold);
	border-radius: 2px;
	transition: width 0.1s ease-out;
}

@media (min-width: 600px) {
	.t20-video-grid {
		gap: 18px;
	}
}

@media (min-width: 1024px) {
	.t20-video-grid {
		gap: 18px;
	}
}

.t20-video-card {
	text-align: left;
	border: 0;
	padding: 0;
	background: transparent;
	cursor: pointer;
	color: #fff;
	flex: 0 0 calc(25% - 14px);
	min-width: 280px;
	scroll-snap-align: start;
}

.t20-video-thumb {
	position: relative;
	aspect-ratio: 16/9;
	border-radius: 12px;
	overflow: hidden;
	background: #0a234f;
}

.t20-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.t20-video-card:hover .t20-video-thumb img {
	transform: scale(1.06);
}

.t20-play {
	position: absolute;
	inset: 0;
	margin: auto;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(13, 59, 156, .85);
	display: flex;
	align-items: center;
	justify-content: center;
}

.t20-play svg {
	width: 24px;
	height: 24px;
	fill: #fff;
	margin-left: 3px;
}

.t20-video-dur {
	position: absolute;
	bottom: 8px;
	right: 8px;
	background: rgba(0, 0, 0, .75);
	padding: 2px 8px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
}

.t20-video-info h4 {
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 15px;
	color: #fff;
	margin: 12px 0 4px;
}

.t20-video-meta {
	display: flex;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, .65);
}

/* ---------------------------------------------------------------------
   6. HIGHLIGHTS
   --------------------------------------------------------------------- */
.t20-highlights-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.t20-highlights-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-highlights-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.t20-hl-card {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 14px;
	padding: 20px;
	box-shadow: var(--shadow-sm);
}

.t20-hl-head {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: var(--t20-text-muted);
	font-weight: 600;
	margin-bottom: 14px;
}

.t20-hl-team {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 0;
}

.t20-hl-team-id {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-heading);
	font-size: 16px;
	color: var(--t20-text-dark);
}

.t20-hl-team-id img {
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.t20-hl-score {
	font-weight: 800;
}

.t20-hl-result {
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--t20-border);
	font-family: var(--font-heading);
	color: var(--t20-blue);
	font-size: 14px;
}

.t20-hl-performer {
	font-size: 12px;
	color: var(--t20-text-muted);
	margin-top: 6px;
}

/* ---------------------------------------------------------------------
   7. STATS LEADERS
   --------------------------------------------------------------------- */
.t20-stats-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}

@media (min-width: 700px) {
	.t20-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-stats-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.t20-statcard {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
}

.t20-statcard-head {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: .5px;
	font-size: 16px;
	padding: 16px 18px;
	background: var(--t20-blue-dark);
	color: #fff;
	border-left: 4px solid var(--t20-gold);
}

.t20-statcard-body {
	padding: 6px 0;
}

.t20-statrow {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 18px;
	border-bottom: 1px solid var(--t20-bg-muted);
	text-decoration: none;
	color: inherit;
}

.t20-statrow:hover {
	background: var(--t20-bg-muted);
}

.t20-statrow:last-child {
	border-bottom: 0;
}

.t20-statrow .rk {
	font-family: var(--font-heading);
	width: 18px;
	color: var(--t20-text-muted);
}

.t20-statrow .av {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	background: var(--t20-bg-muted);
}

.t20-statrow .av-ini {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--t20-bg-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: 13px;
	color: var(--t20-text-muted);
}

.t20-statrow .nm {
	flex: 1;
	min-width: 0;
}

.t20-statrow .nm strong {
	display: block;
	font-size: 14px;
	color: var(--t20-text-dark);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.t20-statrow .nm span {
	font-size: 11px;
	color: var(--t20-text-muted);
}

.t20-statrow .vl {
	font-family: var(--font-heading);
	font-size: 20px;
	color: var(--t20-blue);
}

.t20-statrow .vl small {
	display: block;
	font-size: 10px;
	color: var(--t20-text-muted);
	font-family: var(--font-body);
	text-align: right;
}

/* ---------------------------------------------------------------------
   8. POINTS TABLE
   --------------------------------------------------------------------- */
.t20-table-wrap {
	border-radius: 14px;
	overflow: hidden;
}

.t20-table {
	width: 100%;
	border-collapse: collapse;
}

.t20-table thead {
	background: var(--t20-blue-dark);
	color: #fff;
}

.t20-table th {
	padding: 14px 10px;
	font-family: var(--font-heading);
	font-size: 13px;
	text-align: center;
}

.t20-table th.ta-left {
	text-align: left;
}

.t20-table td {
	padding: 12px 10px;
	text-align: center;
	font-weight: 600;
	font-size: 14px;
	border-bottom: 1px solid var(--t20-border);
	color: var(--t20-text-dark);
}

.t20-table tbody tr:hover {
	background: var(--t20-bg-light);
}

.t20-table .ta-left {
	text-align: left;
}

.t20-table .team-cell {
	display: flex;
	align-items: center;
	gap: 10px;
}

.t20-table .team-cell img {
	width: 26px;
	height: 26px;
	object-fit: contain;
}

.t20-table .pts {
	font-family: var(--font-heading);
	font-size: 18px;
	color: var(--t20-blue);
}

.t20-table tr.q td:first-child {
	box-shadow: inset 3px 0 0 #22c55e;
}

.t20-table tr.e td:first-child {
	box-shadow: inset 3px 0 0 #ef4444;
}

.t20-table .nrr-pos {
	color: #16a34a;
}

.t20-table .nrr-neg {
	color: #dc2626;
}

.t20-table-legend {
	display: flex;
	gap: 18px;
	padding: 12px 16px;
	background: var(--t20-bg-light);
	font-size: 12px;
	color: var(--t20-text-muted);
}

.t20-table-legend .dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 5px;
	vertical-align: middle;
}

.t20-table-legend .dot.q {
	background: #22c55e;
}

.t20-table-legend .dot.e {
	background: #ef4444;
}

/* ---------------------------------------------------------------------
   9. TEAMS
   --------------------------------------------------------------------- */
.t20-teams-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
	.t20-teams-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-teams-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.t20-team-card {
	display: block;
	text-align: center;
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 14px;
	padding: 26px 16px;
	box-shadow: var(--shadow-sm);
	transition: transform .2s, box-shadow .2s;
}

.t20-team-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.t20-team-logo {
	width: 92px;
	height: 92px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.t20-team-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.t20-team-initials {
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--t20-blue), var(--t20-blue-dark));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-heading);
	font-size: 26px;
}

.t20-team-name {
	font-size: 18px;
	margin-bottom: 12px;
	color: var(--t20-text-dark);
}

.t20-team-meta {
	font-size: 12px;
	color: var(--t20-text-muted);
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 14px;
}

.t20-team-meta div {
	display: flex;
	justify-content: space-between;
}

.t20-team-meta strong {
	color: var(--t20-text-dark);
}

.t20-team-cta {
	font-family: var(--font-heading);
	font-size: 13px;
	letter-spacing: .5px;
	color: var(--t20-blue);
}

/* ---------------------------------------------------------------------
   10. PLAYERS TO WATCH
   --------------------------------------------------------------------- */
.t20-watch-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
	.t20-watch-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.t20-watch-card {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 16px;
	padding: 18px;
	text-align: center;
	box-shadow: var(--shadow-sm);
}

.t20-watch-photo {
	width: 100%;
	aspect-ratio: 1/1;
	border-radius: 12px;
	overflow: hidden;
	background: var(--t20-bg-muted);
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.t20-watch-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.t20-watch-photo .ini {
	font-family: var(--font-heading);
	font-size: 34px;
	color: var(--t20-text-muted);
	align-self: center;
}

.t20-watch-name {
	font-family: var(--font-heading);
	font-size: 17px;
	margin: 12px 0 2px;
	color: var(--t20-text-dark);
}

.t20-watch-team {
	font-size: 12px;
	color: var(--t20-text-muted);
	margin-bottom: 12px;
}

.t20-watch-stats {
	display: flex;
	justify-content: center;
	gap: 16px;
}

.t20-watch-stats div {
	text-align: center;
}

.t20-watch-stats strong {
	display: block;
	font-family: var(--font-heading);
	font-size: 18px;
	color: var(--t20-blue);
}

.t20-watch-stats span {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--t20-text-muted);
}

/* ---------------------------------------------------------------------
   11. SPONSORS
   --------------------------------------------------------------------- */
.t20-sponsor-tier {
	text-align: center;
	margin-bottom: 32px;
}

.t20-sponsor-tier-label {
	font-family: var(--font-heading);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 13px;
	color: var(--t20-text-muted);
	margin-bottom: 18px;
}

.t20-sponsor-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	justify-content: center;
	align-items: center;
}

.t20-sponsor-logo {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 12px;
	padding: 18px 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 140px;
	min-height: 80px;
	transition: box-shadow .2s;
}

.t20-sponsor-logo:hover {
	box-shadow: var(--shadow-md);
}

.t20-sponsor-logo img {
	max-height: 56px;
	width: auto;
	object-fit: contain;
}

.t20-sponsor-logos.title-sponsor .t20-sponsor-logo {
	min-width: 220px;
	min-height: 110px;
}

.t20-sponsor-logos.title-sponsor .t20-sponsor-logo img {
	max-height: 80px;
}

/* ---------------------------------------------------------------------
   12. GALLERY
   --------------------------------------------------------------------- */
.t20-gallery-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 700px) {
	.t20-gallery-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.t20-gallery-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.t20-gallery-item {
	display: block;
	aspect-ratio: 1/1;
	border-radius: 10px;
	overflow: hidden;
	background: var(--t20-bg-muted);
	cursor: zoom-in;
}

.t20-gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s;
}

.t20-gallery-item:hover img {
	transform: scale(1.07);
}

/* ---------------------------------------------------------------------
   13. SOCIAL
   --------------------------------------------------------------------- */
.t20-social-links {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 24px;
}

.t20-social-pill {
	font-family: var(--font-heading);
	letter-spacing: .5px;
	text-transform: uppercase;
	font-size: 13px;
	padding: 10px 22px;
	border-radius: 24px;
	color: #fff;
}

.t20-social-pill.facebook {
	background: #1877f2;
}

.t20-social-pill.instagram {
	background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.t20-social-pill.twitter {
	background: #000;
}

.t20-social-pill.youtube {
	background: #ff0000;
}

.t20-social-embeds {
	display: grid;
	gap: 20px;
	grid-template-columns: 1fr;
}

@media (min-width: 800px) {
	.t20-social-embeds {
		grid-template-columns: 1fr 1fr;
	}
}

.t20-social-embed {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 12px;
	padding: 12px;
	overflow: hidden;
}

.t20-social-embed iframe {
	width: 100% !important;
	border-radius: 8px;
}

/* ---------------------------------------------------------------------
   14. NEWSLETTER
   --------------------------------------------------------------------- */
.t20-newsletter-card {
	background: linear-gradient(135deg, var(--t20-blue), var(--t20-blue-dark));
	border-radius: 18px;
	padding: 36px;
	color: #fff;
	display: grid;
	gap: 22px;
	align-items: center;
}

@media (min-width: 860px) {
	.t20-newsletter-card {
		grid-template-columns: 1fr 1fr;
	}
}

.t20-newsletter-copy h2 {
	color: #fff;
	font-size: 28px;
}

.t20-newsletter-copy p {
	color: rgba(255, 255, 255, .82);
	margin: 0;
}

.t20-newsletter-form {
	display: flex;
	gap: 0;
}

.t20-newsletter-form input {
	flex: 1;
	padding: 14px 16px;
	border: 0;
	border-radius: 8px 0 0 8px;
	font-family: var(--font-body);
	outline: none;
}

.t20-newsletter-form .t20-btn {
	border-radius: 0 8px 8px 0;
}

/* ---------------------------------------------------------------------
   MODAL + LIGHTBOX
   --------------------------------------------------------------------- */
.t20-modal,
.t20-lightbox {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	align-items: center;
	justify-content: center;
}

.t20-modal[aria-hidden="false"],
.t20-lightbox[aria-hidden="false"] {
	display: flex;
}

.t20-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 15, 35, .85);
}

.t20-modal-box {
	position: relative;
	width: min(900px, 92vw);
}

.t20-modal-video {
	position: relative;
	aspect-ratio: 16/9;
	background: #000;
	border-radius: 12px;
	overflow: hidden;
}

.t20-modal-video iframe,
.t20-modal-video video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.t20-modal-close,
.t20-lightbox-close {
	position: absolute;
	top: -44px;
	right: 0;
	background: transparent;
	border: 0;
	color: #fff;
	font-size: 36px;
	line-height: 1;
	cursor: pointer;
}

.t20-lightbox {
	background: rgba(7, 15, 35, .92);
}

.t20-lightbox img {
	max-width: 92vw;
	max-height: 86vh;
	border-radius: 10px;
}

.t20-lightbox-close {
	top: 24px;
	right: 28px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.sk {
		animation: none;
	}

	.t20-live-dot {
		animation: none;
	}

	* {
		scroll-behavior: auto !important;
	}
}

/* =====================================================================
   RESPONSIVE FIXES — All pages (homepage, players, points table, teams)
   Mobile-first additions on top of existing rules.
   ===================================================================== */

/* --- GLOBAL --- */
@media (min-width: 600px) {
	.t20-container {
		padding-left: 32px !important;
		padding-right: 32px !important;
	}
}

/* Section headers: always flex-wrap so "view all" link doesn't overflow */
.t20-section-header {
	flex-wrap: wrap;
	gap: 12px;
}

/* --- HOMEPAGE: HERO --- */
/* On small screens, collapse the 2-col hero layout to single column */
@media (max-width: 599px) {
	.t20-hero {
		padding: 40px 0 32px;
	}

	.home .t20-hero {
		padding-top: 100px;
	}

	.t20-hero-layout {
		grid-template-columns: 1fr !important;
		gap: 16px;
		min-height: 0 !important;
	}

	.t20-hero-eyebrow {
		font-size: 12px;
		padding: 5px 12px;
		margin-bottom: 14px;
	}

	.t20-hero-title {
		font-size: clamp(24px, 7vw, 36px);
	}

	.t20-hero-desc {
		font-size: 15px;
		margin-bottom: 22px;
	}

	.t20-hero-actions {
		gap: 10px;
	}

	.t20-hero-actions .t20-btn {
		font-size: 14px;
		padding: 12px 22px;
		width: 100%;
		justify-content: center;
	}

	/* trophy artwork: just fade out on mobile */
	.t20-hero::before {
		opacity: 0.15;
		background-size: auto 50%;
		background-position: right center;
	}
}

/* Match strip: 2 columns on ≤599 */
@media (max-width: 599px) {
	.t20-strip-tabs {
		gap: 6px;
	}

	.t20-strip-tab {
		font-size: 12px;
		padding: 6px 12px;
	}

	.t20-matchstrip {
		grid-template-columns: 1fr !important;
	}

	.t20-match-card {
		min-height: 0;
	}
}

/* Season overview: 2 cols on very small, 4 on tablet */
@media (max-width: 599px) {
	.t20-overview-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}

	.t20-stat-tile-value {
		font-size: 22px;
	}
}

/* News grid: single column on mobile */
@media (max-width: 599px) {
	.t20-news-grid {
		grid-template-columns: 1fr !important;
	}

	.t20-news-feature-body h3 {
		font-size: 18px;
	}

	.t20-news-item {
		grid-template-columns: 72px 1fr;
	}
}

/* Stats: single column on mobile */
@media (max-width: 599px) {
	.t20-stats-grid {
		grid-template-columns: 1fr !important;
	}

	.t20-statcard-head {
		font-size: 14px;
	}
}

/* Points table section on homepage: horizontally scrollable */
@media (max-width: 599px) {
	.t20-table-wrap {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.t20-table {
		min-width: 480px;
	}
}

/* Teams grid on homepage: 2-col already, fine */
@media (max-width: 399px) {
	.t20-teams-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Video cards: 2 per row on tablet, 1 on mobile */
@media (max-width: 599px) {
	.t20-video-card {
		flex: 0 0 calc(90vw);
		min-width: calc(90vw);
	}
}

/* Highlights: 1-col on mobile */
@media (max-width: 599px) {
	.t20-highlights-grid {
		grid-template-columns: 1fr !important;
	}
}

/* Newsletter card: stack on mobile */
@media (max-width: 599px) {
	.t20-newsletter-card {
		padding: 24px 20px;
		grid-template-columns: 1fr !important;
	}

	.t20-newsletter-form {
		flex-direction: column;
		gap: 10px;
	}

	.t20-newsletter-form input {
		border-radius: 6px;
		border-right: 1px solid #e2e8f0 !important;
	}

	.t20-newsletter-form .t20-btn {
		border-radius: 6px !important;
		width: 100%;
	}
}

/* Hero countdown boxes on mobile */
@media (max-width: 399px) {
	.t20-cd-box {
		min-width: 48px;
		padding: 6px 8px;
	}

	.t20-cd-box strong {
		font-size: 20px;
	}
}

/* Hero team images on mobile */
@media (max-width: 499px) {

	.t20-hero-team img,
	.t20-hero-team-logofallback {
		width: 52px;
		height: 52px;
	}

	.t20-hero-team-name {
		font-size: 13px;
	}

	.t20-hero-team-score {
		font-size: 18px;
	}

	.t20-hero-teams {
		gap: 8px;
	}
}

/* --- PAGE: PLAYERS HUB --- */
/* Sidebar+main 2-col → stack on mobile */
@media (max-width: 860px) {
	.players-hub-layout {
		grid-template-columns: 1fr !important;
	}

	/* Flatten sidebar team filter into a horizontal scrollable strip */
	#teamFilter {
		display: flex !important;
		flex-wrap: wrap !important;
		gap: 8px !important;
	}

	#teamFilter li {
		margin-bottom: 0 !important;
	}
}

/* Role filter bar: wrap buttons + stack search below */
@media (max-width: 700px) {
	.players-filter-bar {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 12px !important;
	}

	#roleFilter {
		flex-wrap: wrap !important;
		gap: 6px !important;
	}

	#playerSearch {
		width: 100% !important;
	}
}

/* Player grid: 2-col on tablet, 1-col on mobile */
@media (max-width: 860px) {
	#playersGrid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 16px !important;
	}
}

@media (max-width: 480px) {
	#playersGrid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 12px !important;
	}

	.player-grid-card-photo {
		height: 160px !important;
	}

	.player-grid-card-details h4 {
		font-size: 14px !important;
	}
}

/* --- PAGE: POINTS TABLE --- */
/* Summary stats grid: 2-col on mobile, 4 on desktop */
@media (max-width: 860px) {
	.pt-summary-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 480px) {
	.pt-summary-grid {
		grid-template-columns: 1fr 1fr !important;
		gap: 12px !important;
	}
}

/* Main + sidebar 2-col → stack */
@media (max-width: 860px) {
	.pt-main-layout {
		grid-template-columns: 1fr !important;
	}
}

/* Points table: scrollable */
@media (max-width: 860px) {
	.pt-table-scroll {
		overflow-x: auto !important;
		-webkit-overflow-scrolling: touch;
	}

	.pt-table-scroll table {
		min-width: 560px;
	}
}

/* Points table page header: stack on mobile */
@media (max-width: 600px) {
	.pt-page-header {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 14px !important;
	}

	.pt-page-header h1 {
		font-size: 32px !important;
	}

	.pt-page-header select {
		width: 100%;
	}
}

/* --- PAGE: TEAMS --- */
/* Team cards: auto-fill with min 260px is fine, but ensure padding on mobile */
@media (max-width: 480px) {
	#teamsGrid {
		grid-template-columns: repeat(2, 1fr) !important;
		gap: 14px !important;
	}
}

/* Team detail view hero card: stack logo + info on mobile */
@media (max-width: 700px) {
	.team-detail-hero {
		flex-direction: column !important;
		gap: 24px !important;
		padding: 24px 20px !important;
	}

	.team-detail-hero h1 {
		font-size: 28px !important;
	}

	.team-detail-stats-row {
		flex-wrap: wrap !important;
		gap: 16px !important;
	}
}

/* tm-card (team grid cards) */
.tm-card {
	background: #fff;
	border: 1px solid var(--t20-border);
	border-radius: 14px;
	padding: 24px 16px;
	text-align: center;
	transition: transform .2s, box-shadow .2s;
	display: block;
}

.tm-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.tm-logo-wrap {
	width: 100px;
	height: 100px;
	margin: 0 auto 16px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.tm-logo-wrap img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

@media (max-width: 480px) {
	.tm-logo-wrap {
		width: 72px;
		height: 72px;
	}

	.tm-card {
		padding: 16px 10px;
	}

	.tm-card h3 {
		font-size: 15px !important;
	}
}

/* --- TEAMS: detail view overview grid --- */
@media (max-width: 700px) {
	.team-overview-grid {
		grid-template-columns: 1fr !important;
	}
}

/* --- TEAMS: tabs strip — no wrap, scroll horizontally --- */
.td-tabs {
	white-space: nowrap;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.td-tabs::-webkit-scrollbar {
	display: none;
}

@media (max-width: 500px) {
	.td-tabs button {
		font-size: 13px !important;
		padding: 8px 14px !important;
	}
}

/* --- HOMEPAGE: section-title font scale on mobile --- */
@media (max-width: 599px) {
	.t20-section-title {
		font-size: 24px;
	}

	.t20-section-header {
		margin-bottom: 24px;
	}
}

/* --- HOMEPAGE: hero card padding on mobile --- */
@media (max-width: 599px) {
	.t20-hero-card {
		padding: 20px 16px;
	}

	.t20-hero-countdown {
		gap: 6px;
	}
}

/* --- PLAYERS: search input on mobile --- */
@media (max-width: 700px) {
	.players-filter-bar>div:last-child {
		width: 100%;
	}

	#playerSearch {
		width: 100% !important;
		box-sizing: border-box;
	}
}

/* Ensure images never cause horizontal overflow */
.t20-home *,
.t20-section * {
	max-width: 100%;
}

/* =====================================================================
   SITE-WIDE LAYOUT FIX — sticky header offset + container constraints
   ===================================================================== */

/* All custom page templates open with a <section class="t20-section"> directly
   after the header. Add top padding to compensate for the 80px sticky header. */
.t20-header~* .t20-section:first-of-type,
.t20-section:first-child {
	padding-top: 60px;
}

/* Guarantee the container never loses its max-width/padding regardless of Astra overrides */
.t20-container {
	max-width: 1280px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	width: 100% !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}

/* Prevent the section itself from becoming a full-bleed block on inner pages */
.t20-section {
	overflow-x: hidden;
}