/*
Theme Name: Crictertain
Theme URI: https://www.crictertain.com/
Author: Crictertain
Description: A sports-news theme for cricket articles with an ESPN-style live scores strip, a live scorecard widget and a full Match Centre scorecard page. Live data comes from a cricket score API (CricketData.org supported out of the box) through a cached server-side proxy, with demo data until an API key is added.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crictertain
Tags: news, blog, sports, custom-logo, custom-menu, featured-images, threaded-comments, two-columns, right-sidebar
*/

/* ---------- Tokens ---------- */
:root {
	--ct-accent: #D4122E;
	--ct-accent-soft: #FBEAEC;
	--ct-accent-ink: #8E0D20;
	--ct-ink: #0D1B14;
	--ct-ink-2: #16281F;
	--ct-ink-line: #2A3B32;
	--ct-ink-muted: #A9B8B0;
	--ct-paper: #F5F4EF;
	--ct-surface: #FFFFFF;
	--ct-panel: #F0EEE7;
	--ct-line: #E2E0D8;
	--ct-line-soft: #ECEAE3;
	--ct-text: #15201A;
	--ct-text-2: #3E4842;
	--ct-muted: #5B635E;
	--ct-blue: #1F4FD1;
	--ct-gold: #E8A317;
	--ct-win: #0E7A47;
	--ct-radius: 14px;
	--ct-max: 1320px;
	--ct-display: "Barlow Condensed", "Arial Narrow", sans-serif;
	--ct-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ct-paper);
	color: var(--ct-text);
	font-family: var(--ct-body);
	font-size: 17px;
	line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ct-text); text-decoration: none; }
a:hover, a:focus-visible { color: var(--ct-accent); }
:focus-visible { outline: 3px solid var(--ct-accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--ct-display); color: var(--ct-ink); line-height: 1.08; margin: 0; }
button { font: inherit; }
.num, .ct-table { font-variant-numeric: tabular-nums; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important;
	width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000;
	left: 12px; top: 12px; padding: 12px 18px; background: #fff; color: var(--ct-ink);
}
.ct-wrap { max-width: var(--ct-max); margin: 0 auto; padding: 0 20px; }
.ct-kicker { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ct-accent); }
.ct-muted { color: var(--ct-muted); }

/* Live badge */
.ct-live {
	display: inline-flex; align-items: center; gap: 6px; background: var(--ct-accent); color: #fff;
	font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 8px; border-radius: 4px; line-height: 1.4;
}
.ct-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: ct-pulse 1.6s infinite; }
@keyframes ct-pulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ct-live::before { animation: none; } }

/* Team badge */
.ct-badge {
	width: 26px; height: 26px; border-radius: 50%; flex: none; display: inline-flex; align-items: center; justify-content: center;
	font-size: 9px; font-weight: 800; background: #2A62C9; color: #fff; overflow: hidden;
}
.ct-badge img { width: 100%; height: 100%; object-fit: cover; }
.ct-badge--lg { width: 56px; height: 56px; font-size: 15px; }
.ct-badge--md { width: 30px; height: 30px; font-size: 10px; }

/* ---------- Score strip ---------- */
.ct-strip { background: var(--ct-ink); color: #fff; border-bottom: 3px solid var(--ct-accent); }
.ct-strip__inner { padding: 14px 20px 16px; display: flex; flex-direction: column; gap: 12px; }
.ct-strip__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.ct-strip__left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.ct-strip__title { font-family: var(--ct-display); font-weight: 800; font-size: 20px; letter-spacing: .04em; text-transform: uppercase; }
.ct-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.ct-chip {
	padding: 6px 14px; border-radius: 999px; border: 1px solid #3A4A41; background: transparent; color: #E6ECE8;
	font-size: 13px; font-weight: 600; cursor: pointer; min-height: 32px;
}
.ct-chip[aria-pressed="true"] { background: #fff; color: var(--ct-ink); border-color: #fff; font-weight: 700; }
.ct-strip__nav { display: flex; align-items: center; gap: 8px; }
.ct-round {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid #3A4A41; background: transparent; color: #fff;
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ct-strip__all { color: #fff; font-size: 13px; font-weight: 700; padding-left: 8px; text-decoration: underline; text-underline-offset: 3px; }
.ct-strip__all:hover { color: #fff; }
.ct-strip__track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; scrollbar-width: thin; scrollbar-color: #3A4A41 transparent; }
.ct-mcard {
	flex: 0 0 252px; scroll-snap-align: start; background: var(--ct-ink-2); border: 1px solid var(--ct-ink-line); border-radius: 10px;
	padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; color: #fff;
}
.ct-mcard:hover, .ct-mcard:focus-visible { color: #fff; border-color: #4C6357; }
.ct-mcard[hidden] { display: none; }
.ct-mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ct-mcard__state { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--ct-ink-muted); }
.ct-mcard__series { font-size: 12px; color: var(--ct-ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-mcard__team { display: flex; align-items: center; gap: 10px; }
.ct-mcard__name { flex: 1; font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-mcard__score { font-family: var(--ct-display); font-size: 18px; font-weight: 500; }
.ct-mcard__ov { font-size: 12px; color: var(--ct-ink-muted); min-width: 34px; text-align: right; }
.ct-mcard__team.is-batting .ct-mcard__name, .ct-mcard__team.is-batting .ct-mcard__score { font-weight: 800; }
.ct-mcard__note { font-size: 12.5px; font-weight: 600; border-top: 1px solid var(--ct-ink-line); padding-top: 8px; color: #E6ECE8; }
.ct-mcard--live .ct-mcard__note { color: #FFD9DE; }
.ct-mcard--result .ct-mcard__note { color: #9FE0BC; }
.ct-strip__empty { color: var(--ct-ink-muted); font-size: 14px; padding: 8px 0; }
.ct-demo-flag { font-size: 11px; color: var(--ct-ink-muted); border: 1px dashed #3A4A41; border-radius: 4px; padding: 2px 6px; }

/* ---------- Header ---------- */
.ct-header { background: var(--ct-surface); border-bottom: 1px solid var(--ct-line); position: relative; }
.ct-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; min-height: 76px; }
.ct-brand { display: flex; align-items: center; }
.ct-brand img, .ct-brand .custom-logo { height: 46px; width: auto; }
.ct-brand__text { font-family: var(--ct-display); font-weight: 800; font-style: italic; font-size: 32px; color: var(--ct-ink); line-height: 1; }
.ct-brand__text span { color: var(--ct-accent); }
.ct-nav { flex: 1; }
.ct-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px; }
.ct-nav li { position: relative; }
.ct-nav a { display: block; padding: 26px 12px 23px; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.ct-nav .current-menu-item > a, .ct-nav .current_page_item > a, .ct-nav .current-menu-ancestor > a { font-weight: 700; border-bottom-color: var(--ct-accent); }
.ct-nav ul ul {
	display: none; position: absolute; top: 100%; left: 0; z-index: 50; min-width: 220px; flex-direction: column;
	background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: 10px; padding: 6px; box-shadow: 0 12px 24px rgba(13,27,20,.12);
}
.ct-nav ul ul a { padding: 10px 12px; border: 0; }
.ct-nav li:hover > ul, .ct-nav li:focus-within > ul { display: flex; }
.ct-header__tools { display: flex; align-items: center; gap: 10px; }
.ct-icon-btn {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ct-line); background: var(--ct-surface); color: var(--ct-text);
	display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.ct-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ct-ink); color: #fff;
	font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--ct-ink); cursor: pointer; min-height: 44px;
}
.ct-btn:hover, .ct-btn:focus-visible { color: #fff; background: #1d3328; }
.ct-btn--ghost { background: transparent; color: var(--ct-ink); }
.ct-btn--ghost:hover { background: var(--ct-ink); color: #fff; }
.ct-btn--block { width: 100%; border-radius: 8px; }
.ct-menu-toggle { display: none; }
.ct-search { display: none; border-top: 1px solid var(--ct-line); background: var(--ct-surface); }
.ct-search.is-open { display: block; }
.ct-search form { display: flex; gap: 10px; padding: 14px 0; }
.ct-search input[type="search"], .search-form input[type="search"] {
	flex: 1; min-height: 46px; border: 1px solid var(--ct-line); border-radius: 999px; padding: 0 18px; font: inherit; background: var(--ct-paper);
}
.search-form { display: flex; gap: 10px; }

/* Trending bar */
.ct-trending { background: var(--ct-surface); border-bottom: 1px solid var(--ct-line); }
.ct-trending__inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 10px 20px; }
.ct-trending__label { background: var(--ct-ink); color: #fff; font-family: var(--ct-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; padding: 4px 10px; border-radius: 4px; }
.ct-trending ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.ct-trending li { font-size: 14px; font-weight: 600; }
.ct-trending li + li::before { content: "/"; color: #B9B6AB; margin-right: 14px; font-weight: 400; }

/* ---------- Layout ---------- */
.ct-main { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding-top: 28px; padding-bottom: 8px; }
.ct-col { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.ct-rail { flex: 1 1 340px; max-width: 420px; display: flex; flex-direction: column; gap: 20px; }
.ct-section { display: flex; flex-direction: column; gap: 16px; }
.ct-section__head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ct-ink); padding-bottom: 8px; gap: 12px; }
.ct-section__title { font-weight: 800; font-size: 28px; text-transform: uppercase; letter-spacing: .02em; }
.ct-section__more { font-size: 14px; font-weight: 700; color: var(--ct-accent); }

/* Placeholder image */
.ct-ph { background: repeating-linear-gradient(135deg, #DCD8CB 0 12px, #E5E2D7 12px 24px); }
.ct-ph--dark { background: repeating-linear-gradient(135deg, #1D3A2C 0 18px, #224433 18px 36px); }

/* Hero */
.ct-hero { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; }
.ct-hero__media { position: relative; aspect-ratio: 16 / 8; display: block; }
.ct-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-hero__media .ct-live { position: absolute; left: 20px; bottom: 20px; font-size: 12px; padding: 5px 10px; }
.ct-hero__body { padding: 22px 26px 26px; display: flex; flex-direction: column; gap: 12px; }
.ct-hero__title { font-weight: 800; font-size: clamp(32px, 4.2vw, 50px); line-height: 1.02; }
.ct-hero__dek { margin: 0; font-size: 18px; color: var(--ct-text-2); max-width: 760px; }
.ct-byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ct-muted); }
.ct-byline img { width: 32px; height: 32px; border-radius: 50%; }
.ct-byline strong { color: var(--ct-text); }

/* Cards */
.ct-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.ct-grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ct-row-card { display: flex; gap: 14px; background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: 12px; padding: 12px; }
.ct-row-card__thumb { flex: 0 0 120px; height: 90px; border-radius: 8px; overflow: hidden; }
.ct-row-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ct-row-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ct-row-card__title { font-family: var(--ct-display); font-weight: 700; font-size: 21px; line-height: 1.1; color: var(--ct-ink); }
.ct-card { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.ct-card__media { aspect-ratio: 16 / 9; display: block; }
.ct-card__media img { width: 100%; height: 100%; object-fit: cover; }
.ct-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; }
.ct-card__title { font-family: var(--ct-display); font-weight: 700; font-size: 23px; line-height: 1.1; }
.ct-card__title a { color: var(--ct-ink); }
.ct-card__title a:hover { color: var(--ct-accent); }
.ct-card__dek { font-size: 15px; line-height: 1.45; color: var(--ct-text-2); margin: 0; }
.ct-meta { font-size: 13px; color: var(--ct-muted); }

/* Rail boxes */
.ct-box { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; }
.ct-box__head { background: var(--ct-ink); color: #fff; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ct-box__head h2 { color: #fff; font-weight: 700; font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.ct-box__body { padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.ct-box--plain .ct-box__body { gap: 10px; }
.ct-box__title { font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .03em; }
.widget { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 16px 18px; }
.widget-title, .widget h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .03em; margin-bottom: 10px; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { border-top: 1px solid var(--ct-line-soft); padding: 9px 0; font-size: 15px; }

/* Live widget */
.ct-lw__meta { font-size: 12.5px; color: var(--ct-muted); font-weight: 600; }
.ct-lw__teams { display: flex; flex-direction: column; gap: 8px; }
.ct-lw__team { display: flex; align-items: center; gap: 10px; color: var(--ct-muted); }
.ct-lw__team .ct-lw__name { flex: 1; font-size: 16px; font-weight: 600; }
.ct-lw__team .ct-lw__score { font-family: var(--ct-display); font-size: 24px; font-weight: 600; }
.ct-lw__team .ct-lw__ov { font-size: 12.5px; width: 48px; text-align: right; }
.ct-lw__team.is-batting { color: var(--ct-text); }
.ct-lw__team.is-batting .ct-lw__name { font-weight: 700; }
.ct-lw__team.is-batting .ct-lw__score { font-size: 30px; font-weight: 800; color: var(--ct-ink); }
.ct-note { background: var(--ct-accent-soft); color: var(--ct-accent-ink); font-size: 14px; font-weight: 700; padding: 9px 12px; border-radius: 8px; }
.ct-note--win { background: #E3F4EA; color: #0A5A34; }
.ct-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ct-stat { background: var(--ct-paper); border-radius: 8px; padding: 8px 10px; }
.ct-stat__k { font-size: 11px; font-weight: 700; color: var(--ct-muted); letter-spacing: .06em; }
.ct-stat__v { font-family: var(--ct-display); font-size: 22px; font-weight: 700; }
.ct-actions { display: flex; gap: 8px; }
.ct-actions .ct-btn { flex: 1; border-radius: 8px; }

/* Tables */
.ct-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ct-table th { color: var(--ct-muted); font-size: 11.5px; letter-spacing: .06em; font-weight: 700; text-align: right; padding: 6px 4px; text-transform: uppercase; }
.ct-table td { border-top: 1px solid var(--ct-line-soft); text-align: right; padding: 8px 4px; }
.ct-table th:first-child, .ct-table td:first-child { text-align: left; padding-left: 0; }
.ct-table th:last-child, .ct-table td:last-child { padding-right: 0; }
.ct-table .is-strong { font-weight: 800; }
.ct-table .is-name { font-weight: 700; }
.ct-table .is-muted { color: var(--ct-muted); }

/* Fixtures list */
.ct-fixture { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--ct-line-soft); padding: 10px 0; }
.ct-fixture__date { flex: 0 0 52px; text-align: center; background: var(--ct-paper); border-radius: 8px; padding: 6px 0; }
.ct-fixture__mon { font-size: 11px; font-weight: 700; color: var(--ct-muted); text-transform: uppercase; }
.ct-fixture__day { font-family: var(--ct-display); font-size: 22px; font-weight: 800; line-height: 1; }
.ct-fixture__title { font-weight: 700; font-size: 15px; display: block; }

/* Videos band */
.ct-videos { background: var(--ct-ink); color: #fff; margin-top: 28px; }
.ct-videos__inner { padding: 32px 20px 40px; display: flex; flex-direction: column; gap: 18px; }
.ct-videos .ct-section__title { color: #fff; }
.ct-videos .ct-section__head { border-bottom-color: var(--ct-ink-line); }
.ct-videos .ct-section__more { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ct-vcard { display: flex; flex-direction: column; gap: 10px; color: #fff; }
.ct-vcard:hover { color: #fff; }
.ct-vcard__media { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ct-vcard__media img, .ct-vcard__media > .ct-ph { position: absolute !important; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ct-play { position: relative; width: 52px; height: 52px; border-radius: 50%; background: var(--ct-accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.ct-vcard__title { font-family: var(--ct-display); font-weight: 700; font-size: 20px; line-height: 1.15; }

/* ---------- Match Centre ---------- */
.ct-mc-hero { background: var(--ct-ink); color: #fff; }
.ct-mc-hero__inner { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 18px; }
.ct-mc-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 14px; color: var(--ct-ink-muted); }
.ct-mc-hero__meta strong { color: #E6ECE8; font-weight: 600; }
.ct-mc-hero__row { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.ct-mc-teams { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.ct-mc-team { display: flex; align-items: center; gap: 14px; color: #C9D4CE; }
.ct-mc-team__name { font-size: 16px; font-weight: 600; color: var(--ct-ink-muted); }
.ct-mc-team__score { font-family: var(--ct-display); font-size: 44px; font-weight: 700; line-height: 1; }
.ct-mc-team__score small { font-size: 18px; font-weight: 600; }
.ct-mc-team.is-batting { color: #fff; }
.ct-mc-team.is-batting .ct-mc-team__name { color: #fff; font-weight: 700; }
.ct-mc-team.is-batting .ct-mc-team__score { font-size: 56px; font-weight: 800; }
.ct-mc-team.is-batting small { color: #C9D4CE; font-size: 20px; }
.ct-mc-stats { display: flex; gap: 10px; flex-wrap: wrap; }
.ct-mc-stat { background: var(--ct-ink-2); border: 1px solid var(--ct-ink-line); border-radius: 10px; padding: 10px 16px; min-width: 88px; }
.ct-mc-stat .ct-stat__k { color: var(--ct-ink-muted); }
.ct-mc-status { font-size: 17px; font-weight: 700; color: #FFD9DE; }
.ct-mc-status.is-result { color: #9FE0BC; }
.ct-mc-status.is-upcoming { color: #E6ECE8; }
.ct-mc-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-top: 1px solid var(--ct-ink-line); }
.ct-mc-tabs a { padding: 14px; color: #C9D4CE; font-weight: 600; font-size: 15px; border-bottom: 3px solid transparent; }
.ct-mc-tabs a.is-active { color: #fff; font-weight: 700; border-bottom-color: var(--ct-accent); }
.ct-inn-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-inn-tab {
	min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid #D6D3C8; background: var(--ct-surface);
	color: var(--ct-text); font-weight: 700; font-size: 15px; cursor: pointer;
}
.ct-inn-tab[aria-selected="true"] { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.ct-sc { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; }
.ct-sc + .ct-sc { margin-top: 20px; }
.ct-sc__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 14px 18px; background: var(--ct-panel); border-bottom: 1px solid var(--ct-line); }
.ct-sc__head h2 { font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.ct-sc__total { font-family: var(--ct-display); font-weight: 800; font-size: 24px; }
.ct-sc__total small { font-size: 15px; color: var(--ct-muted); font-weight: 600; }
.ct-sc__scroll { overflow-x: auto; }
.ct-sc .ct-table { font-size: 15px; min-width: 620px; }
.ct-sc .ct-table th { padding: 10px 8px; font-size: 12px; }
.ct-sc .ct-table td { padding: 11px 8px; }
.ct-sc .ct-table th:first-child, .ct-sc .ct-table td:first-child { padding-left: 18px; }
.ct-sc .ct-table th:last-child, .ct-sc .ct-table td:last-child { padding-right: 18px; }
.ct-sc .ct-table .is-how { text-align: left; color: var(--ct-muted); font-size: 14px; }
.ct-sc .ct-table tr.is-live { background: var(--ct-accent-soft); }
.ct-sc .ct-table tr.is-live .is-name { color: var(--ct-accent-ink); }
.ct-sc .ct-table tr.is-total td { border-top: 2px solid var(--ct-ink); font-family: var(--ct-display); font-weight: 800; font-size: 19px; }
.ct-sc__foot { padding: 12px 18px 16px; border-top: 1px solid var(--ct-line-soft); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.ct-fow { display: flex; gap: 8px; flex-wrap: wrap; }
.ct-fow span { background: var(--ct-paper); border: 1px solid var(--ct-line); border-radius: 999px; padding: 5px 11px; font-size: 13.5px; }
.ct-info-row { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ct-line-soft); padding: 9px 0; font-size: 14px; }
.ct-info-row span:first-child { color: var(--ct-muted); }
.ct-info-row span:last-child { font-weight: 600; text-align: right; }
.ct-winprob { display: flex; flex-direction: column; gap: 6px; }
.ct-winprob__labels { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; }
.ct-winprob__bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; gap: 2px; }
.ct-updated { font-size: 12px; color: var(--ct-muted); }

/* ---------- Single / pages ---------- */
.ct-article { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); overflow: hidden; }
.ct-article__head { padding: 28px 32px 8px; display: flex; flex-direction: column; gap: 14px; }
.ct-article__title { font-weight: 800; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.02; }
.ct-article__media { margin: 18px 0 0; }
.ct-article__media figcaption { font-size: 13px; color: var(--ct-muted); padding: 8px 32px 0; }
.ct-content { padding: 24px 32px 32px; font-size: 18.5px; line-height: 1.7; color: var(--ct-text); }
.ct-content > * { max-width: 720px; }
.ct-content > .alignwide { max-width: 100%; }
.ct-content h2 { font-size: 32px; margin: 1.4em 0 .4em; }
.ct-content h3 { font-size: 25px; margin: 1.3em 0 .4em; }
.ct-content a { color: var(--ct-accent); text-decoration: underline; text-underline-offset: 3px; }
.ct-content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--ct-accent); font-family: var(--ct-display); font-size: 28px; line-height: 1.2; color: var(--ct-ink); }
.ct-content table { border-collapse: collapse; width: 100%; font-size: 15px; font-variant-numeric: tabular-nums; }
.ct-content th, .ct-content td { border-bottom: 1px solid var(--ct-line); padding: 8px; text-align: left; }
.ct-content img { border-radius: 10px; }
.ct-content figure { margin: 1.5em 0; }
.ct-content figcaption { font-size: 13px; color: var(--ct-muted); margin-top: 6px; }
.ct-tags { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 32px 28px; }
.ct-tags a { border: 1px solid var(--ct-line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.ct-page-head { padding: 28px 0 0; display: flex; flex-direction: column; gap: 8px; }
.ct-page-head h1 { font-size: clamp(34px, 4vw, 50px); font-weight: 800; text-transform: uppercase; }
.ct-pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.ct-pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ct-line); border-radius: 999px; background: var(--ct-surface); padding: 0 14px; font-weight: 700; }
.ct-pagination .current { background: var(--ct-ink); border-color: var(--ct-ink); color: #fff; }
.comments-area { background: var(--ct-surface); border: 1px solid var(--ct-line); border-radius: var(--ct-radius); padding: 24px 32px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { border-top: 1px solid var(--ct-line-soft); padding: 14px 0; }
.comment-form input:not([type="submit"]):not([type="checkbox"]), .comment-form textarea { width: 100%; border: 1px solid var(--ct-line); border-radius: 8px; padding: 10px 12px; font: inherit; }
.comment-form .submit { background: var(--ct-ink); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font-weight: 700; cursor: pointer; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--ct-muted); }
.sticky, .bypostauthor { }

/* ---------- Footer ---------- */
.ct-footer { background: var(--ct-surface); border-top: 1px solid var(--ct-line); margin-top: 36px; }
.ct-footer__inner { padding: 36px 20px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
.ct-footer__about { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.ct-footer__about img { height: 40px; width: auto; }
.ct-footer__about p { margin: 0; font-size: 14px; color: var(--ct-muted); }
.ct-footer__cols { display: flex; flex-wrap: wrap; gap: 48px; font-size: 14px; }
.ct-footer__cols h2 { font-family: var(--ct-body); font-weight: 800; font-size: 12px; letter-spacing: .1em; color: var(--ct-muted); text-transform: uppercase; margin-bottom: 10px; }
.ct-footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ct-footer__bottom { border-top: 1px solid var(--ct-line); padding: 14px 20px; text-align: center; font-size: 13px; color: var(--ct-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
	.ct-menu-toggle { display: inline-flex; }
	.ct-nav { flex-basis: 100%; order: 3; display: none; }
	.ct-nav.is-open { display: block; padding-bottom: 12px; }
	.ct-nav ul { flex-direction: column; }
	.ct-nav a { padding: 12px 4px; border-bottom: 1px solid var(--ct-line-soft); }
	.ct-nav ul ul { position: static; display: flex; border: 0; box-shadow: none; padding: 0 0 0 14px; }
	.ct-header__inner { justify-content: space-between; gap: 12px; min-height: 64px; }
	.ct-brand img, .ct-brand .custom-logo { height: 36px; }
	.ct-rail { max-width: none; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.ct-grid-2 { grid-template-columns: minmax(0, 1fr); }
	.ct-hero__body, .ct-article__head, .ct-content, .ct-tags { padding-left: 18px; padding-right: 18px; }
	.ct-content { font-size: 17.5px; }
	.ct-mcard { flex-basis: 232px; }
	.ct-mc-team__score { font-size: 36px; }
	.ct-mc-team.is-batting .ct-mc-team__score { font-size: 44px; }
	.ct-strip__nav .ct-round { display: none; }
	.comments-area { padding: 20px 18px; }
}
