/* =========================================================================
   Where to Watch — the rights guide.
   Binds to the theme's own tokens (so it IS the site in light AND dark),
   with the EPG signature layered on top: TV lane = --brand, Digital lane =
   --accent, and one deliberate exception — a saffron FREE flag that stays
   unmissable in both modes.
   ========================================================================= */

.wtw {
	--wtw-tv: var(--brand-text, #0B7A43);
	--wtw-digital: var(--accent);
	--wtw-free: #f59e0b;
	--wtw-free-ink: #1b1405;
	--wtw-ok: #12a150;
	/* Theme hairlines — same borders as news-cards, flip with the theme. */
	--wtw-line: var(--rule, rgba(25, 33, 15, 0.13));
	--wtw-line-strong: var(--rule-strong, rgba(25, 33, 15, 0.32));
	--wtw-max: var(--container-max, 1100px);

	/* Transparent: the theme's halftone/gradient body wash shows through,
	   exactly like every other page — cards sit on paper above it. */
	background: transparent;
	color: var(--ink);
	font-family: var(--font-body, 'Inter', system-ui, sans-serif);
	padding: clamp(16px, 4vw, 40px) 0 56px;
}

/* Sport context → the theme's own category accent, like site sections. */
.wtw[data-sport="cricket"]  { --cat: var(--cat-cricket, var(--brand)); }
.wtw[data-sport="football"] { --cat: var(--cat-football, var(--brand)); }

html[data-theme="dark"] .wtw,
body.dark-mode .wtw {
	--wtw-free: #fbbf24;
	--wtw-ok: #2ce58c;
}

.wtw-wrap {
	max-width: var(--wtw-max);
	margin: 0 auto;
	padding: 0 var(--space-5, 20px);
}

.wtw *:focus-visible {
	outline: 3px solid var(--wtw-tv);
	outline-offset: 2px;
	border-radius: 3px;
}

/* ---- Breadcrumb ---- */
.wtw-crumbs {
	font-size: 13px;
	color: var(--ink-3);
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
	margin-bottom: 18px;
}
.wtw-crumbs a { color: var(--ink-3); text-decoration: none; }
.wtw-crumbs a:hover { color: var(--wtw-tv); }
.wtw-crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---- Answer band ---- */
.wtw-kicker {
	/* Mirrors the theme's .category-badge kicker treatment. */
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cat, var(--brand));
	margin: 0 0 6px;
}
.wtw-title {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: clamp(28px, 6vw, 42px);
	line-height: 1.05;
	letter-spacing: -0.01em;
	margin: 0 0 14px;
	color: var(--ink);
}

/* The trust signal — prominent, never a footer whisper. */
.wtw-verified {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-size: 13px;
	font-weight: 700;
	color: var(--wtw-ok);
	background: color-mix(in srgb, var(--wtw-ok) 12%, var(--paper));
	border: 1px solid color-mix(in srgb, var(--wtw-ok) 40%, transparent);
	padding: 6px 12px;
	border-radius: var(--radius-pill, 999px);
	margin: 0;
}
.wtw-verified time { font-variant-numeric: tabular-nums; }
.wtw-verified-tick { flex: none; }

.wtw-lead {
	font-size: clamp(15px, 2.5vw, 17px);
	line-height: 1.5;
	color: var(--ink-2);
	margin: 16px 0 0;
	max-width: 58ch;
}

/* ---- FREE-to-air hero — the highest-value info, impossible to miss ---- */
.wtw-free {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 26px 0 8px;
	background: var(--wtw-free);
	color: var(--wtw-free-ink);
	border-radius: var(--radius-md, 8px);
	overflow: hidden;
	box-shadow: 0 10px 26px -14px color-mix(in srgb, var(--wtw-free) 70%, transparent);
}
.wtw-free-flag {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 clamp(14px, 4vw, 26px);
	background: color-mix(in srgb, #000 12%, var(--wtw-free));
	position: relative;
}
.wtw-free-flag span {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: clamp(18px, 5vw, 26px);
	letter-spacing: .04em;
	transform: rotate(-90deg);
	white-space: nowrap;
}
.wtw-free-body { padding: 16px 18px; }
.wtw-free-head {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: clamp(17px, 3.4vw, 21px);
	margin: 0 0 4px;
}
.wtw-free-what { margin: 0 0 6px; font-size: 15px; }
.wtw-free-what strong { font-weight: 700; }
.wtw-free-how {
	display: inline-block;
	margin-left: 6px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .05em;
	padding: 2px 7px;
	border-radius: var(--radius-pill, 999px);
	background: color-mix(in srgb, #000 14%, var(--wtw-free));
}
.wtw-free-scope { margin: 0 0 8px; font-size: 14px; line-height: 1.45; opacity: .92; }
.wtw-free-link {
	display: inline-block;
	font-weight: 700;
	font-size: 14px;
	color: var(--wtw-free-ink);
	text-decoration: none;
	border-bottom: 2px solid color-mix(in srgb, var(--wtw-free-ink) 40%, transparent);
	padding-bottom: 1px;
}
.wtw-free-link:hover { border-bottom-color: var(--wtw-free-ink); }
.wtw-free *:focus-visible { outline-color: var(--wtw-free-ink); }

/* ---- Section headings ---- */
.wtw-h2 {
	/* Mirrors the theme's .section-title: uppercase, square marker, ink rule. */
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: clamp(19px, 3.4vw, 24px);
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
	color: var(--ink);
	margin: 38px 0 18px;
	padding-bottom: 12px;
	border-bottom: 3px solid var(--ink);
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}
.wtw-h2::before {
	content: '';
	width: 11px;
	height: 11px;
	flex: none;
	background: var(--cat, var(--brand));
}
.wtw-h2-note {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink-3);
}

/* ---- Signature: the TV / digital split card ---- */
.wtw-guide-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}
.wtw-lane {
	position: relative;
	display: flex;
	background: var(--paper);
	border: 1px solid var(--wtw-line);
	border-radius: var(--radius-md, 8px);
	box-shadow: var(--shadow-card);
	overflow: hidden;
	min-height: 118px;
}
.wtw-lane-spine {
	flex: none;
	width: 6px;
	align-self: stretch;
	background: var(--lane-color, var(--ink-4));
}
.wtw-lane--tv { --lane-color: var(--wtw-tv); }
.wtw-lane--digital { --lane-color: var(--wtw-digital); }
.wtw-lane--free { --lane-color: var(--wtw-free); }
.wtw-lane-body { padding: 14px 16px; flex: 1; }
.wtw-lane-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.wtw-lane-icon { color: var(--lane-color); display: inline-flex; }
.wtw-lane-tag {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--lane-color);
}
.wtw-lane-name {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: clamp(18px, 4vw, 22px);
	margin: 0 0 2px;
	color: var(--ink);
	line-height: 1.1;
}
.wtw-lane-name--none { color: var(--ink-3); font-size: 15px; font-weight: 600; }
.wtw-lane-parent { margin: 0 0 10px; font-size: 12.5px; color: var(--ink-3); }
.wtw-chips { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wtw-chip {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ink-2);
	background: transparent;
	border: 1px solid var(--wtw-line-strong);
	border-radius: var(--radius-sm, 4px);
	padding: 3px 8px;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.wtw-lane-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	margin: 0;
	color: var(--ink-3);
}
.wtw-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.wtw-lane-status--sub { color: var(--ink-3); }
.wtw-lane-status--free { color: color-mix(in srgb, var(--wtw-free) 72%, var(--ink)); }
.wtw-lane--empty { min-height: 90px; opacity: .78; box-shadow: none; border-style: dashed; }

/* The split seam — makes "different companies" obvious, not a footnote. */
.wtw-seam {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
	padding: 4px 2px;
}
.wtw-seam-line { flex: 1; height: 0; border-top: 2px dashed var(--wtw-line-strong); }
.wtw-seam-tag {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-2);
	background: var(--recess);
	border: 1px solid var(--wtw-line-strong);
	border-radius: var(--radius-pill, 999px);
	padding: 4px 11px;
	white-space: nowrap;
}
.wtw-seam-sub { font-size: 11.5px; color: var(--ink-3); flex: 1 1 100%; text-align: center; }

@media (min-width: 640px) {
	.wtw-guide-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
	.wtw-guide-grid.is-split { grid-template-columns: 1fr auto 1fr; gap: 0; }
	.wtw-guide-grid.is-split .wtw-lane { border-radius: var(--radius-md, 8px); }
	.is-split .wtw-seam {
		flex-direction: column;
		padding: 0 14px;
		gap: 8px;
		align-self: stretch;
	}
	.is-split .wtw-seam-line { width: 0; height: auto; flex: 1; border-top: 0; border-left: 2px dashed var(--wtw-line-strong); }
	.is-split .wtw-seam-sub { display: none; }
}

/* ---- Fixtures (IST, midnight-crossing explicit) ---- */
.wtw-fix-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.wtw-fix-link {
	display: grid;
	grid-template-columns: minmax(96px, auto) 1fr;
	gap: 4px 16px;
	align-items: center;
	padding: 12px 14px;
	background: var(--paper);
	border: 1px solid var(--wtw-line);
	border-radius: var(--radius-md, 8px);
	text-decoration: none;
	color: var(--ink);
	transition: border-color .2s var(--ease-out, ease), transform .2s var(--ease-out, ease);
}
.wtw-fix-link:hover { border-color: var(--wtw-tv); transform: translateX(2px); }
.wtw-fix-when { display: flex; flex-direction: column; gap: 1px; }
.wtw-fix-time {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 800;
	font-size: 16px;
	font-variant-numeric: tabular-nums;
	color: var(--ink);
}
.wtw-fix-date { font-size: 12px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.wtw-fix-cross {
	font-size: 11px;
	font-weight: 700;
	color: color-mix(in srgb, var(--wtw-digital) 70%, var(--ink));
	margin-top: 2px;
}
.wtw-fix-teams {
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 700;
	font-size: 15px;
	grid-column: 2;
}
.wtw-fix-venue { grid-column: 2; font-size: 12px; color: var(--ink-3); }

/* ---- FAQ ---- */
.wtw-faq-list { display: grid; gap: 8px; }
.wtw-faq-item {
	background: var(--paper);
	border: 1px solid var(--wtw-line);
	border-radius: var(--radius-md, 8px);
	overflow: hidden;
}
.wtw-faq-q {
	cursor: pointer;
	list-style: none;
	padding: 14px 16px;
	font-family: var(--font-headline, 'Space Grotesk', sans-serif);
	font-weight: 700;
	font-size: 15px;
	color: var(--ink);
	position: relative;
	padding-right: 44px;
}
.wtw-faq-q::-webkit-details-marker { display: none; }
.wtw-faq-q::after {
	content: "+";
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 20px;
	font-weight: 400;
	color: var(--wtw-tv);
	transition: transform .2s var(--ease-out, ease);
}
.wtw-faq-item[open] .wtw-faq-q::after { content: "\2212"; }
.wtw-faq-a { padding: 0 16px 15px; }
.wtw-faq-a p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }

/* ---- Trust / freshness trail ---- */
.wtw-trust {
	margin-top: 34px;
	padding-top: 18px;
	border-top: 1px solid var(--wtw-line);
	font-size: 13px;
	color: var(--ink-3);
	display: grid;
	gap: 7px;
}
.wtw-trust-verified { display: inline-flex; align-items: center; gap: 6px; color: var(--wtw-ok); font-weight: 600; margin: 0; }
.wtw-trust-verified strong { color: var(--wtw-ok); font-variant-numeric: tabular-nums; }
.wtw-trust-note { margin: 0; color: var(--ink-2); line-height: 1.5; }
.wtw-trust-source a, .wtw-trust-related a, .wtw-trust-up a { color: var(--wtw-tv); text-decoration: none; }
.wtw-trust-source a:hover, .wtw-trust-related a:hover, .wtw-trust-up a:hover { text-decoration: underline; }
.wtw-trust-up { margin-top: 4px; font-weight: 700; }

@media (min-width: 560px) {
	.wtw-free-body { padding: 20px 24px; }
}

/* ---- Hub: intro badges ---- */
.wtw-h2 a { color: inherit; text-decoration: none; }
.wtw-h2 a:hover { color: var(--wtw-tv); }
.wtw-hub-badges { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.wtw-hub-badges li { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.wtw-hub-badge-ic { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px; background: var(--recess); font-weight: 800; font-size: 12px; color: var(--ink-2); }
.wtw-hub-badge-ic--free { background: var(--wtw-free); color: var(--wtw-free-ink); font-size: 10px; letter-spacing: .04em; }

/* ---- Hub: sport chooser ---- */
.wtw-hub-sports { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
.wtw-sport-card { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px 44px 20px 18px; background: var(--paper); border: 1px solid var(--wtw-line); border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease-out, ease), transform .2s var(--ease-out, ease); }
.wtw-sport-card[data-sport="cricket"] { --sc: var(--cat-cricket, var(--brand)); }
.wtw-sport-card[data-sport="football"] { --sc: var(--cat-football, var(--accent)); }
.wtw-sport-card:hover { border-color: var(--sc); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.wtw-sport-name { font-family: var(--font-headline, 'Space Grotesk', sans-serif); font-weight: 800; font-size: 22px; color: var(--sc); }
.wtw-sport-count { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.wtw-sport-go { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--sc); display: inline-flex; }

/* ---- Listing blocks + property cards ---- */
.wtw-hub-block { margin-top: 24px; }
.wtw-cards { display: grid; grid-template-columns: 1fr; gap: 10px; }
.wtw-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--wtw-line); border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); transition: border-color .2s var(--ease-out, ease), transform .2s var(--ease-out, ease); }
.wtw-card:hover { border-color: var(--wtw-tv); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* Site signature: the tri-color stripe rides the card tops, like news-cards. */
.wtw-card,
.wtw-sport-card,
.wtw-match-when {
	position: relative;
}
.wtw-card::before,
.wtw-sport-card::before,
.wtw-match-when::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--stripe, var(--brand));
	border-radius: var(--radius-md, 8px) var(--radius-md, 8px) 0 0;
	z-index: 3;
	pointer-events: none;
}
.wtw-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.wtw-card-title { font-family: var(--font-headline, 'Space Grotesk', sans-serif); font-weight: 800; font-size: 17px; line-height: 1.15; margin: 0; color: var(--ink); }
.wtw-badge-free { flex: none; font-family: var(--font-headline, 'Space Grotesk', sans-serif); font-weight: 800; font-size: 10px; letter-spacing: .06em; padding: 3px 7px; border-radius: 4px; background: var(--wtw-free); color: var(--wtw-free-ink); }
.wtw-card-lanes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.wtw-cl { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.wtw-cl svg { width: 15px; height: 15px; flex: none; }
.wtw-cl--tv { color: color-mix(in srgb, var(--wtw-tv) 78%, var(--ink)); }
.wtw-cl--digital { color: color-mix(in srgb, var(--wtw-digital) 78%, var(--ink)); }
.wtw-cl--off { color: var(--ink-4); font-weight: 500; font-style: italic; }
.wtw-cl-split { color: var(--ink-3); font-weight: 800; font-family: var(--font-headline, 'Space Grotesk', sans-serif); }
.wtw-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 9px; border-top: 1px solid var(--wtw-line); }
.wtw-card-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--wtw-ok); font-variant-numeric: tabular-nums; }
.wtw-card-verified svg { width: 12px; height: 12px; flex: none; }
.wtw-card-go { color: var(--ink-3); display: inline-flex; }
.wtw-card:hover .wtw-card-go { color: var(--wtw-tv); }

/* ---- Match: the kick-off block ---- */
.wtw-match-when { display: flex; align-items: center; gap: 16px; margin: 20px 0 8px; padding: 16px 18px; background: var(--paper); border: 1px solid var(--wtw-line); border-radius: var(--radius-md, 8px); box-shadow: var(--shadow-card); }
.wtw-match-clock { display: flex; flex-direction: column; align-items: center; flex: none; padding-right: 16px; border-right: 1px solid var(--wtw-line); }
.wtw-match-time { font-family: var(--font-headline, 'Space Grotesk', sans-serif); font-weight: 800; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--ink); }
.wtw-match-ist { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--ink-3); margin-top: 5px; }
.wtw-match-meta { flex: 1; }
.wtw-match-date { font-family: var(--font-headline, 'Space Grotesk', sans-serif); font-weight: 700; font-size: 16px; margin: 0 0 3px; color: var(--ink); }
.wtw-match-cross { margin: 0 0 3px; font-size: 12.5px; font-weight: 700; color: color-mix(in srgb, var(--wtw-digital) 70%, var(--ink)); }
.wtw-match-venue { margin: 0; font-size: 13px; color: var(--ink-3); }

.wtw-empty { padding: 24px; text-align: center; color: var(--ink-3); background: var(--paper); border: 1px dashed var(--wtw-line-strong); border-radius: var(--radius-md, 8px); }

@media (min-width: 560px) {
	.wtw-hub-sports { grid-template-columns: 1fr 1fr; }
	.wtw-cards { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.wtw *, .wtw *::after { transition: none !important; }
	.wtw-fix-link:hover, .wtw-card:hover, .wtw-sport-card:hover { transform: none; }
}

/* Editor-authored content on hub/sport/property views (backing WP pages). */
.wtw-editorial { margin: 34px 0 6px; }
.wtw-editorial > :first-child { margin-top: 0; }
