/**
 * Category/archive pages (archive.php) and single posts (single.php).
 * Both child-theme overrides drop the sidebar (full-width col-12 instead)
 * and wrap <main> in .cricket-content-page, which this file styles: a dark
 * page background matching the rest of the site, post cards built from
 * WordPress's own .hentry class (no template markup changes needed), and
 * improved single-post typography/image presentation.
 * Enqueued site-wide (every archive and every post uses these templates).
 */

/* This stylesheet is enqueued site-wide (every archive/category page and
   every single post uses archive.php/single.php), so this is the right,
   single place to retire the old static custom-background image everywhere
   it was still showing (e.g. the light-blue photo behind category pages) in
   favor of one consistent dark canvas — superseding the narrower home/auth
   -only rule in cricket-storm.css, which is still correct for those two. */
body.custom-background {
	background-image: none !important;
	background-color: #0a1830 !important;
}

/* psp_predictor_avatar()'s colored-initials avatar (.psp-avatar) is used
   everywhere a predictor shows up — including the footer's leaderboard
   ticker (functions.php), which renders on EVERY page via footer.php. Its
   shape (border-radius:50%) was previously defined only in
   cricket-predictions.css, which is enqueued conditionally (front page,
   single posts, Leaderboard/Predictions pages) — on any other page (the
   Blog index, category archives, search, auth pages) that class-less
   circle never applied, so avatars rendered as plain squares. Duplicated
   here, in the one stylesheet confirmed loaded on every page, rather than
   moved, so nothing already relying on cricket-predictions.css's copy
   needs to change. */
.psp-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	flex: 0 0 auto;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	color: #ffffff;
	line-height: 1;
}

.cricket-content-page {
	position: relative;
	background: radial-gradient( 120% 90% at 20% 0%, #16305c 0%, #0a1830 45%, #050d1c 100% );
	padding: 40px 24px 56px;
	border-radius: 14px;
	margin-bottom: 30px;
}

/* A soft ambient glow behind the article card on single posts only — a
   restrained accent rather than a decorative background image, per
   CLAUDE.md's "sports professionalism over visual complexity". */
body.single .cricket-content-page::before {
	content: "";
	position: absolute;
	top: -70px;
	left: 50%;
	width: min( 560px, 70% );
	height: 220px;
	transform: translateX( -50% );
	background: radial-gradient( closest-side, rgba( 255, 176, 32, 0.16 ), transparent 72% );
	pointer-events: none;
	z-index: 0;
}

/* ---------------------------------------------------------------------
 * Page / archive header
 * ------------------------------------------------------------------- */

.cricket-content-page .page-header {
	margin-bottom: 30px;
	text-align: center;
}

.cricket-content-page .page-title {
	/* The parent theme uses overflow:auto here as an old float clearfix; with
	   the gradient text-shadow below that 1px sub-pixel overflow was enough
	   to trigger a real native scrollbar next to the heading. Not needed. */
	overflow: visible;
	display: inline-block;
	font-size: clamp( 26px, 4vw, 40px );
	font-weight: 800;
	margin: 0 0 8px;
	background-image: linear-gradient( 90deg, #ff6b6b, #ffb020, #ffe066, #6ee7a8, #4fd1c5, #6c8cff, #c77dff, #ff6b6b );
	background-size: 300% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 1px 4px rgba( 0, 0, 0, 0.5 );
	animation: cricket-nav-rainbow 7s linear infinite;
}

.cricket-content-page .archive-description {
	color: rgba( 255, 255, 255, 0.65 );
	max-width: 62ch;
	margin: 0 auto;
	font-size: 14.5px;
}

/* Category descriptions are free-text written in wp-admin, and some carry
   hardcoded inline colors from when the site had a light background (e.g.
   navy-on-navy blue text). Force them to inherit the readable color above
   rather than trying to fix every category's description content. */
.cricket-content-page .archive-description * {
	color: inherit !important;
}

/* ---------------------------------------------------------------------
 * Post cards — shared by archive grid items and the single post itself,
 * both always carry WordPress's own .hentry class, so no template edits
 * were needed to hook into them.
 * ------------------------------------------------------------------- */

.cricket-content-page .hentry {
	background: rgba( 255, 255, 255, 0.97 );
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba( 0, 0, 0, 0.3 );
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

body:not( .single ) .cricket-content-page .hentry:hover {
	transform: translateY( -4px );
	box-shadow: 0 16px 34px rgba( 0, 0, 0, 0.4 );
}

.cricket-content-page .post-col {
	margin-bottom: 26px;
}

.cricket-content-page .post-featured-image {
	position: relative;
	margin: 0;
}

.cricket-content-page .post-featured-image .post-img {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
}

.cricket-content-page .post-featured-image .entry-meta.category-meta {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 12px;
	margin: 0;
}

.cricket-content-page .entry-meta.category-meta .cat-links a {
	background-color: rgba( 8, 20, 40, 0.6 );
	backdrop-filter: blur( 4px );
	-webkit-backdrop-filter: blur( 4px );
	color: #ffffff;
	border: 1px solid rgba( 255, 255, 255, 0.25 );
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.cricket-content-page .entry-meta.category-meta .cat-links a:hover {
	background-color: rgba( 30, 80, 135, 0.85 );
}

.cricket-content-page .entry-header,
body:not( .single ) .cricket-content-page .hentry > .entry-content,
.cricket-content-page .hentry > .entry-meta:not( .category-meta ) {
	padding-inline: 22px;
}

.cricket-content-page .entry-title {
	font-size: 18px;
	line-height: 1.35;
	margin: 16px 0 8px;
}

.cricket-content-page .entry-title a {
	color: #16233c;
	text-decoration: none;
}

.cricket-content-page .entry-title a:hover {
	color: #1e5087;
}

.cricket-content-page .hentry > .entry-content {
	padding-bottom: 20px;
	color: #4c5872;
	font-size: 14px;
	line-height: 1.65;
}

.cricket-content-page .entry-meta:not( .category-meta ) {
	padding-bottom: 18px;
}

.cricket-content-page .entry-meta .date a {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 11px;
	border-radius: 999px;
	background: linear-gradient( 90deg, #1e5087, #3a86e0 );
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.cricket-content-page .entry-meta .date a::before {
	content: "\1F4C5";
	font-size: 10px;
}

.cricket-content-page .entry-meta .by-author,
.cricket-content-page .entry-meta .comments {
	font-size: 12.5px;
	color: #7c8598;
}

/* Reading time + "Updated" badge — single posts only (mags_posted_on()
   override in functions.php), siblings of .date/.by-author. The parent
   theme's .by-author has no explicit display rule (falls back to block),
   which reads fine stacked on archive cards but looks broken as a tidy
   meta line on the single-post header, so turn the whole row into a wrapping
   flex line on single posts only — archive cards are untouched. */
body.single .cricket-content-page .entry-meta:not( .category-meta ) {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
}

.cricket-content-page .cricket-reading-time,
.cricket-content-page .cricket-updated-badge {
	font-size: 12.5px;
	color: #7c8598;
}

.cricket-content-page .cricket-updated-badge {
	color: #a86a14;
	font-weight: 600;
}

/* ---------------------------------------------------------------------
 * Single post — larger card, framed image, readable article typography
 * ------------------------------------------------------------------- */

body.single .cricket-content-page .hentry {
	position: relative;
	z-index: 1;
}

/* ---------------------------------------------------------------------
 * Article layout — hero (full width) then a rail + main-column row.
 * psp_single_hero() / psp_single_share_rail() (functions.php), called
 * from single.php. Replaces the old max-width:800px auto-centered .hentry.
 * ------------------------------------------------------------------- */

.cricket-article-wrap {
	max-width: 1220px;
	margin: 0 auto;
}

.cricket-article-layout {
	display: flex;
	align-items: flex-start;
	gap: 28px;
	margin-top: 32px;
}

.cricket-article-main {
	flex: 1;
	min-width: 0;
}

/* ---------------------------------------------------------------------
 * Sidebar — search, latest posts, most-discussed. psp_single_sidebar()
 * (functions.php), third child of .cricket-article-layout.
 * ------------------------------------------------------------------- */

.cricket-sidebar {
	flex: none;
	width: 300px;
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cricket-sidebar-search {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: 999px;
	padding: 6px 6px 6px 18px;
}

.cricket-sidebar-search__input {
	flex: 1;
	min-width: 0;
	background: none;
	border: none;
	outline: none;
	color: #ffffff;
	font-size: 14px;
	font-family: inherit;
}

.cricket-sidebar-search__input::placeholder {
	color: rgba( 255, 255, 255, 0.55 );
}

.cricket-sidebar-search__btn {
	flex: none;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient( 90deg, #ffb020, #ff6b6b );
	color: #1a1200;
	cursor: pointer;
	transition: transform 0.2s ease;
}

.cricket-sidebar-search__btn:hover,
.cricket-sidebar-search__btn:focus-visible {
	transform: scale( 1.06 );
}

.cricket-sidebar-card {
	background: rgba( 255, 255, 255, 0.97 );
	border-radius: 16px;
	padding: 22px 22px 8px;
	box-shadow: 0 14px 34px rgba( 0, 0, 0, 0.3 );
}

.cricket-sidebar-card__title {
	margin: 0 0 4px;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	font-size: 16px;
	color: #16233c;
}

.cricket-sidebar-card__rule {
	width: 32px;
	height: 3px;
	border-radius: 2px;
	margin: 0 0 16px;
	background-image: linear-gradient( 90deg, #ff6b6b, #ffb020, #ffe066, #6ee7a8, #4fd1c5, #6c8cff, #c77dff );
}

.cricket-sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cricket-sidebar-list__item {
	border-bottom: 1px solid #eef1f6;
}

.cricket-sidebar-list__item:last-child {
	border-bottom: none;
}

.cricket-sidebar-list--scroll {
	max-height: 480px;
	overflow-y: auto;
}

/* Desktop: each item measures 75.8px tall, so 15 × 75.8px shows exactly
   15 posts before the list needs to scroll for the rest (30 total). Mobile
   keeps the shorter 480px default above — the sidebar is full-width and
   stacked there, not worth matching item-for-item. */
@media ( min-width: 861px ) {
	.cricket-sidebar-list--scroll {
		max-height: 1137px;
	}
}

.cricket-sidebar-list__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 9px 0;
	text-decoration: none;
	color: inherit;
}

.cricket-sidebar-list__thumb {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background-size: cover;
	background-position: center;
}

.cricket-sidebar-list__thumb--placeholder.cricket-related__img--tone0 { background-image: linear-gradient( 135deg, #2a4d8a, #0e2140 ); }
.cricket-sidebar-list__thumb--placeholder.cricket-related__img--tone1 { background-image: linear-gradient( 135deg, #5a3a8a, #1c1240 ); }
.cricket-sidebar-list__thumb--placeholder.cricket-related__img--tone2 { background-image: linear-gradient( 135deg, #2a7d6e, #0e2c26 ); }

.cricket-sidebar-list__body {
	flex: 1;
	min-width: 0;
}

.cricket-sidebar-list__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.4;
	color: #16233c;
}

.cricket-sidebar-list__link:hover .cricket-sidebar-list__title {
	color: #1e5087;
}

.cricket-sidebar-list__meta {
	display: block;
	font-size: 11px;
	color: #8a93a6;
	margin-top: 4px;
}

/* ---------------------------------------------------------------------
 * "Open Predictions" card — light-card palette (this container is a
 * near-white .cricket-sidebar-card, not the dark navy used on the
 * dedicated Predictions page — see the standing sidebar-card lesson).
 * Each prediction is a real preview "box" (bordered, boxed, not just a
 * text row) with a live team-crest matchup or vote-share pills — a
 * compact echo of the real interactive card, not a plain link list.
 * ------------------------------------------------------------------- */

.cricket-sidebar-open__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 14px;
}

.cricket-sidebar-open__box {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 13px 14px;
	border-radius: 12px;
	border: 1px solid #eef1f6;
	background: linear-gradient( 165deg, #fbfcfe, #f4f6fa );
	text-decoration: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.cricket-sidebar-open__box:hover,
.cricket-sidebar-open__box:focus-visible {
	border-color: rgba( 30, 80, 135, 0.28 );
	box-shadow: 0 10px 24px -10px rgba( 22, 35, 60, 0.22 );
	transform: translateY( -2px );
}

.cricket-sidebar-open__head {
	display: flex;
	align-items: center;
	gap: 6px;
}

.cricket-sidebar-open__dot {
	flex: 0 0 auto;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ff5a5a;
	box-shadow: 0 0 0 3px rgba( 255, 90, 90, 0.15 );
	animation: cricketSidebarOpenDot 1.8s ease-in-out infinite;
}

@keyframes cricketSidebarOpenDot {
	0%,
	100% {
		opacity: 1;
		transform: scale( 1 );
	}
	50% {
		opacity: 0.4;
		transform: scale( 0.75 );
	}
}

.cricket-sidebar-open__tag {
	font-family: var( --proace-mono, 'JetBrains Mono', ui-monospace, monospace );
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a93a6;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cricket-sidebar-open__q {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.38;
	color: #16233c;
}

.cricket-sidebar-open__box:hover .cricket-sidebar-open__q {
	color: #1e5087;
}

/* Team-crest matchup preview (team_winner predictions). */
.cricket-sidebar-open__vs {
	display: flex;
	align-items: center;
	gap: 8px;
}

.cricket-sidebar-open__team {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	text-align: center;
}

.cricket-sidebar-open__crest {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	font-size: 10px;
	box-shadow: 0 2px 6px rgba( 22, 35, 60, 0.25 );
}

.cricket-sidebar-open__team-name {
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 10.5px;
	font-weight: 700;
	color: #16233c;
}

.cricket-sidebar-open__vs-x {
	flex: 0 0 auto;
	font-family: var( --proace-mono, 'JetBrains Mono', ui-monospace, monospace );
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
	color: #b7bfcc;
}

/* Vote-share pills preview (custom-type predictions). */
.cricket-sidebar-open__pills {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.cricket-sidebar-open__pill {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 6px 9px;
	border-radius: 8px;
	background: rgba( 22, 35, 60, 0.035 );
	overflow: hidden;
	isolation: isolate;
}

.cricket-sidebar-open__pill::before {
	content: "";
	position: absolute;
	inset: 0;
	width: var( --pct, 0% );
	background: rgba( 30, 80, 135, 0.1 );
	z-index: -1;
	transition: width 0.4s ease;
}

.cricket-sidebar-open__pill-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 11px;
	font-weight: 700;
	color: #16233c;
}

.cricket-sidebar-open__pct {
	flex: 0 0 auto;
	font-family: var( --proace-mono, 'JetBrains Mono', ui-monospace, monospace );
	font-size: 10px;
	font-weight: 700;
	color: #1e5087;
}

.cricket-sidebar-open__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 2px;
}

.cricket-sidebar-open__count {
	font-size: 10.5px;
	color: #8a93a6;
}

.cricket-sidebar-open__arrow {
	font-size: 13px;
	font-weight: 700;
	color: #d68a00;
	transition: transform 0.18s ease;
}

.cricket-sidebar-open__box:hover .cricket-sidebar-open__arrow {
	transform: translateX( 3px );
}

.cricket-sidebar-open__empty {
	font-size: 13px;
	color: #8a93a6;
	padding: 6px 0 14px;
}

/* "Recent Results" variant — same box, resolved state: a green check
   instead of the live dot, the winning side highlighted. */
.cricket-sidebar-open__box--result:hover,
.cricket-sidebar-open__box--result:focus-visible {
	border-color: rgba( 79, 209, 139, 0.32 );
}

.cricket-sidebar-open__check {
	flex: 0 0 auto;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: #4fd18b;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.cricket-sidebar-open__team--correct .cricket-sidebar-open__crest {
	box-shadow: 0 0 0 2px #4fd18b, 0 2px 6px rgba( 22, 35, 60, 0.25 );
}

.cricket-sidebar-open__team--correct .cricket-sidebar-open__team-name,
.cricket-sidebar-open__team--correct .cricket-sidebar-open__pct {
	color: #1c8a5a;
}

.cricket-sidebar-open__result-strip {
	align-self: flex-start;
	font-size: 11px;
	font-weight: 700;
	color: #1c8a5a;
	background: rgba( 79, 209, 139, 0.12 );
	border: 1px solid rgba( 79, 209, 139, 0.3 );
	border-radius: 8px;
	padding: 5px 10px;
}

@media ( prefers-reduced-motion: reduce ) {
	.cricket-sidebar-open__dot {
		animation: none;
	}
}

/* ---------------------------------------------------------------------
 * "Today's Prediction" CTA — a dark accent card, deliberately different
 * from the white list/pill cards below so the sidebar isn't a wall of
 * identical white rectangles.
 * ------------------------------------------------------------------- */

.cricket-sidebar-cta {
	display: block;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	background: linear-gradient( 135deg, #16305c, #0a1830 );
	box-shadow: 0 14px 34px rgba( 0, 0, 0, 0.3 );
	transition: transform 0.25s ease;
}

.cricket-sidebar-cta:hover,
.cricket-sidebar-cta:focus-visible {
	transform: translateY( -3px );
}

.cricket-sidebar-cta__img {
	display: block;
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
}

.cricket-sidebar-cta__body {
	display: block;
	padding: 16px 18px 18px;
}

.cricket-sidebar-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffb020;
	margin-bottom: 6px;
}

.cricket-sidebar-cta__eyebrow::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #ffb020;
	box-shadow: 0 0 6px rgba( 255, 176, 32, 0.8 );
}

.cricket-sidebar-cta__title {
	display: block;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.4;
	color: #ffffff;
}

/* ---------------------------------------------------------------------
 * Browse by Sport — category pills, same visual language as the
 * single-post tag-links.
 * ------------------------------------------------------------------- */

.cricket-sidebar-pills__label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #8a93a6;
	margin-bottom: 8px;
}

.cricket-sidebar-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding-bottom: 20px;
}

.cricket-sidebar-pills__pill {
	display: inline-block;
	padding: 5px 13px;
	border-radius: 999px;
	background: #eef3fb;
	color: #1e5087;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.cricket-sidebar-pills__pill:hover,
.cricket-sidebar-pills__pill:focus-visible {
	background: #1e5087;
	color: #ffffff;
}

/* Tags render as ghost/outline pills so they read as visually distinct
   from the filled category pills above them, at a glance. */
.cricket-sidebar-pills__pill--tag {
	background: none;
	border: 1px solid #dbe2ee;
	color: #4c5872;
}

.cricket-sidebar-pills__pill--tag:hover,
.cricket-sidebar-pills__pill--tag:focus-visible {
	background: #ffb020;
	border-color: #ffb020;
	color: #1a1200;
}

/* ---------------------------------------------------------------------
 * Telegram follow box.
 * ------------------------------------------------------------------- */

.cricket-sidebar-telegram {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 16px;
	background: rgba( 255, 255, 255, 0.06 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.cricket-sidebar-telegram:hover,
.cricket-sidebar-telegram:focus-visible {
	background: rgba( 34, 158, 217, 0.12 );
	border-color: rgba( 34, 158, 217, 0.5 );
}

.cricket-sidebar-telegram__icon {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #229ed9;
	color: #ffffff;
	font-size: 17px;
}

.cricket-sidebar-telegram__body {
	min-width: 0;
}

.cricket-sidebar-telegram__title {
	display: block;
	font-size: 13.5px;
	font-weight: 700;
	color: #ffffff;
}

.cricket-sidebar-telegram__sub {
	display: block;
	font-size: 11.5px;
	color: rgba( 255, 255, 255, 0.6 );
	margin-top: 2px;
}

/* ---------------------------------------------------------------------
 * Hero — category pill, title, subtitle, meta row overlaid on the
 * featured image (or a gradient fallback when there isn't one).
 * ------------------------------------------------------------------- */

.cricket-hero-article {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

/* Image renders full and unobstructed — no text overlaid on top of it, so
   editor-made "flyer" featured images (fixture tables baked into the image
   itself, common across the ~800 "Today Cricket Predictions" posts) never
   collide with the title. Title/meta live in the solid body bar below. */
.cricket-hero-article__media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 7;
	overflow: hidden;
}

.cricket-hero-article__bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}

.cricket-hero-article__scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient( 180deg, rgba( 5, 13, 28, 0 ) 65%, rgba( 5, 13, 28, 0.5 ) 100% );
	pointer-events: none;
}

.cricket-hero-article__body {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 32px 44px 36px;
	background: linear-gradient( 180deg, #0d2038 0%, #0a1830 100% );
}

.cricket-hero-article--no-image .cricket-hero-article__body {
	background:
		radial-gradient( ellipse 420px 260px at 78% 18%, rgba( 255, 255, 255, 0.1 ), transparent 60% ),
		linear-gradient( 135deg, #1c3f74 0%, #122c56 45%, #0a1830 100% );
	padding-top: 40px;
}

body.single .cricket-content-page .cricket-hero-article .entry-meta.category-meta {
	margin: 0 0 16px;
}

body.single .cricket-content-page .cricket-hero-article .entry-header {
	padding-top: 0;
}

body.single .cricket-content-page .cricket-hero-article .entry-title {
	font-size: clamp( 28px, 4.4vw, 44px );
	line-height: 1.12;
	margin: 0 0 12px;
	max-width: 46ch;
	color: #ffffff;
	text-shadow: 0 2px 14px rgba( 0, 0, 0, 0.4 );
}

body.single .cricket-content-page .cricket-hero-article .cricket-subtitle {
	font-size: 17px;
	max-width: 60ch;
	margin: 0 0 16px;
	color: rgba( 255, 255, 255, 0.82 );
}

body.single .cricket-content-page .cricket-hero-article .entry-meta:not( .category-meta ) {
	font-size: 13px;
	color: rgba( 255, 255, 255, 0.75 );
}

body.single .cricket-content-page .cricket-hero-article .entry-meta:not( .category-meta ) > *:not( :last-child )::after {
	content: "\2022";
	margin-left: 14px;
	opacity: 0.4;
}

body.single .cricket-content-page .cricket-hero-article .entry-meta .date a {
	background: none;
	padding: 0;
	font-weight: 400;
	font-size: 13px;
	color: rgba( 255, 255, 255, 0.75 );
}

body.single .cricket-content-page .cricket-hero-article .entry-meta .date a::before {
	content: none;
}

body.single .cricket-content-page .cricket-hero-article .entry-meta .by-author,
body.single .cricket-content-page .cricket-hero-article .entry-meta .comments,
body.single .cricket-content-page .cricket-hero-article .cricket-reading-time {
	color: rgba( 255, 255, 255, 0.75 );
}

body.single .cricket-content-page .cricket-hero-article .cricket-updated-badge {
	color: #ffb020;
}

/* ---------------------------------------------------------------------
 * Share rail — vertical beside the article on desktop, a horizontal bar
 * above it on mobile (see the responsive block below).
 * ------------------------------------------------------------------- */

.cricket-share-rail {
	flex: none;
	width: 52px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	position: sticky;
	top: 100px;
}

.cricket-share-rail__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	background: rgba( 255, 255, 255, 0.08 );
	color: #ffffff;
	font-size: 15px;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}

.cricket-share-rail__btn:hover,
.cricket-share-rail__btn:focus-visible {
	transform: translateY( -2px );
}

.cricket-share-rail__btn--facebook:hover { background: #1877f2; }
.cricket-share-rail__btn--twitter:hover { background: #1da1f2; }
.cricket-share-rail__btn--whatsapp:hover { background: #25d366; }
.cricket-share-rail__btn--telegram:hover { background: #229ed9; }
.cricket-share-rail__btn--copy:hover { background: rgba( 255, 255, 255, 0.2 ); }

.cricket-share-rail__btn--copy.is-copied {
	background: #2c7a52;
	border-color: transparent;
}

body.single .cricket-content-page .page-single-img-wrap {
	margin: 0 0 22px;
	padding: 22px 22px 0;
}

body.single .cricket-content-page .page-single-img-wrap .post-img {
	aspect-ratio: 16 / 9;
	background-size: cover;
	background-position: center;
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.25 );
}

body.single .cricket-content-page .entry-header {
	padding-top: 4px;
}

body.single .cricket-content-page .entry-title {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: clamp( 24px, 3.4vw, 34px );
	line-height: 1.25;
	font-weight: 800;
	margin: 10px 0 6px;
}

/* Subtitle/dek — mags_posted_on() override in functions.php, printed only
   when the post has a real manual excerpt. Sits between the title and the
   date/author line. */
body.single .cricket-content-page .cricket-subtitle {
	margin: 0 0 14px;
	font-size: 16.5px;
	line-height: 1.55;
	color: #4c5872;
}

body.single .cricket-content-page .entry-content {
	max-width: 72ch;
	margin-inline: auto;
	font-size: 16px;
	line-height: 1.75;
	color: #33405c;
}

body.single .cricket-content-page .entry-content > * {
	max-width: 72ch;
	margin-inline: auto;
}

body.single .cricket-content-page .entry-content p {
	margin-bottom: 18px;
}

body.single .cricket-content-page .entry-content h2,
body.single .cricket-content-page .entry-content h3,
body.single .cricket-content-page .entry-content h4 {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	color: #16233c;
	font-weight: 800;
	margin: 30px 0 14px;
}

body.single .cricket-content-page .entry-content ul,
body.single .cricket-content-page .entry-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

body.single .cricket-content-page .entry-content li {
	margin-bottom: 8px;
}

body.single .cricket-content-page .entry-content ul li::marker {
	color: #ffb020;
}

body.single .cricket-content-page .entry-content ol li::marker {
	color: #16233c;
	font-weight: 700;
}

body.single .cricket-content-page .entry-content mark {
	background: rgba( 255, 176, 32, 0.25 );
	color: #16233c;
	padding: 1px 4px;
	border-radius: 4px;
}

body.single .cricket-content-page .entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: 0 8px 20px rgba( 0, 0, 0, 0.18 );
}

/* Image captions — classic-editor .wp-caption and block-editor
   figure.wp-block-image both land here, restyled to match the card's muted
   text tokens instead of the parent theme's generic light-page defaults. */
body.single .cricket-content-page .entry-content .wp-caption-text,
body.single .cricket-content-page .entry-content .wp-block-image figcaption {
	margin-top: 8px;
	padding: 0;
	border: none;
	font-size: 13px;
	font-style: italic;
	color: #7c8598;
	text-align: center;
}

body.single .cricket-content-page .entry-content blockquote {
	position: relative;
	border: none;
	max-width: 58ch;
	margin: 32px auto;
	padding: 6px 44px;
	text-align: center;
	font-family: Georgia, serif;
	font-style: italic;
	font-size: 19px;
	line-height: 1.5;
	color: #16233c;
}

body.single .cricket-content-page .entry-content blockquote::before,
body.single .cricket-content-page .entry-content blockquote::after {
	position: absolute;
	font-family: Georgia, serif;
	font-size: 44px;
	font-style: normal;
	line-height: 1;
	color: rgba( 255, 176, 32, 0.4 );
}

body.single .cricket-content-page .entry-content blockquote::before {
	content: "\201C";
	left: 0;
	top: 6px;
}

body.single .cricket-content-page .entry-content blockquote::after {
	content: "\201D";
	right: 0;
	bottom: -12px;
}

body.single .cricket-content-page .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 14px;
}

body.single .cricket-content-page .entry-content table th,
body.single .cricket-content-page .entry-content table td {
	border: 1px solid #e2e6ee;
	padding: 8px 12px;
}

body.single .cricket-content-page .entry-content table th {
	background: #f3f6fb;
}

body.single .cricket-content-page .entry-content a {
	color: #1e5087;
	text-decoration: underline;
	text-decoration-color: rgba( 30, 80, 135, 0.35 );
	text-underline-offset: 2px;
	transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

body.single .cricket-content-page .entry-content a:hover,
body.single .cricket-content-page .entry-content a:focus-visible {
	color: #ff6b6b;
	text-decoration-color: currentColor;
}

body.single .cricket-content-page .tag-links {
	display: block;
	max-width: 72ch;
	margin: 10px auto 0;
	padding-inline: 0;
}

body.single .cricket-content-page .tag-links .label {
	font-weight: 700;
	color: #16233c;
	margin-right: 6px;
}

body.single .cricket-content-page .tag-links a {
	display: inline-block;
	margin: 3px 4px 3px 0;
	padding: 3px 11px;
	border-radius: 999px;
	background: #eef3fb;
	color: #1e5087;
	font-size: 12px;
	text-decoration: none;
	transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

body.single .cricket-content-page .tag-links a::before {
	content: "#";
	opacity: 0.55;
}

body.single .cricket-content-page .tag-links a:hover {
	background: #1e5087;
	color: #ffffff;
	transform: translateY( -1px );
}

/* ---------------------------------------------------------------------
 * Pagination (archive) + post navigation (single)
 * ------------------------------------------------------------------- */

.cricket-content-page .pagination,
.cricket-content-page .post-navigation,
.cricket-content-page .nav-links {
	margin-top: 10px;
}

.cricket-content-page .pagination .page-numbers,
.cricket-content-page .post-navigation .nav-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.08 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	color: #ffffff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 700;
	margin: 0 4px 8px;
}

.cricket-content-page .pagination .page-numbers.current {
	background: linear-gradient( 90deg, #ffb020, #ff6b6b );
	color: #1a1200;
	border-color: transparent;
}

.cricket-content-page .pagination .page-numbers:hover,
.cricket-content-page .post-navigation .nav-links a:hover {
	background: rgba( 255, 255, 255, 0.18 );
}

body.single .cricket-content-page .post-navigation {
	padding-top: 10px;
}

/* The parent theme's .nav-links is a solid white two-column card with a
   center divider line — invisible against this site's dark redesign, since
   the white text below was landing on that same white background. Strip it
   back to transparent; each .nav-previous/.nav-next link keeps its own
   translucent pill background from the shared rule above. */
body.single .cricket-content-page .post-navigation .nav-links {
	display: flex;
	gap: 14px;
	background: none;
	box-shadow: none;
}

body.single .cricket-content-page .post-navigation .nav-links::before,
body.single .cricket-content-page .post-navigation .nav-links::after {
	content: none;
}

body.single .cricket-content-page .post-navigation .nav-previous,
body.single .cricket-content-page .post-navigation .nav-next {
	float: none;
	width: 50%;
}

body.single .cricket-content-page .post-navigation .nav-links a {
	display: block;
	height: auto;
	width: 100%;
	padding: 14px 20px;
	border-radius: 12px;
	text-align: left;
	color: rgba( 255, 255, 255, 0.85 );
}

/* The parent's chevron icon (::after, "\f104"/"\f105") is absolutely
   positioned at left:20px / right:20px regardless of this padding — leave
   enough clearance so the text doesn't start underneath it. */
body.single .cricket-content-page .post-navigation .nav-previous a {
	padding-left: 44px;
}

body.single .cricket-content-page .post-navigation .nav-next a {
	padding-right: 44px;
	text-align: right;
}

/* ---------------------------------------------------------------------
 * Comments
 * ------------------------------------------------------------------- */

.cricket-content-page #comments {
	max-width: 800px;
	margin: 30px auto 0;
	color: rgba( 255, 255, 255, 0.85 );
}

.cricket-content-page .comments-title {
	color: #ffffff;
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 18px;
}

.cricket-content-page .comment-list {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.cricket-content-page .comment-list .comment-body {
	background: rgba( 255, 255, 255, 0.06 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 12px;
	padding: 16px 18px;
	margin-bottom: 14px;
}

.cricket-content-page .comment-form input[type="text"],
.cricket-content-page .comment-form input[type="email"],
.cricket-content-page .comment-form input[type="url"],
.cricket-content-page .comment-form textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 10px;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	background: rgba( 255, 255, 255, 0.07 );
	color: #f5f8ff;
	margin-bottom: 12px;
}

.cricket-content-page .comment-form .form-submit input {
	appearance: none;
	-webkit-appearance: none;
	padding: 12px 26px;
	border: none;
	border-radius: 999px;
	background: linear-gradient( 90deg, #ffb020, #ff6b6b );
	color: #1a1200;
	font-weight: 800;
	cursor: pointer;
}

/* ---------------------------------------------------------------------
 * "You Might Also Like" — related posts, single.php only
 * ------------------------------------------------------------------- */

.cricket-content-page .cricket-related {
	margin: 40px auto 0;
}

.cricket-content-page .cricket-related__title {
	color: #ffffff;
	font-size: 19px;
	font-weight: 800;
	margin: 0 0 16px;
}

.cricket-content-page .cricket-related__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 16px;
}

.cricket-content-page .cricket-related__card {
	display: flex;
	flex-direction: column;
	background: rgba( 255, 255, 255, 0.06 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 12px;
	overflow: hidden;
	text-decoration: none;
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.cricket-content-page .cricket-related__card:hover {
	transform: translateY( -3px );
	border-color: rgba( 255, 176, 32, 0.4 );
}

.cricket-content-page .cricket-related__img {
	display: block;
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	background-color: rgba( 255, 255, 255, 0.08 );
}

/* Posts with no featured image still get a full-size placeholder — keeps
   every card the same height and never leaves an empty gap — cycling
   through 3 tones (by post ID) so a row of image-less posts isn't a wall
   of identical color. */
.cricket-content-page .cricket-related__img--placeholder.cricket-related__img--tone0 {
	background-image: linear-gradient( 135deg, #2a4d8a, #0e2140 );
}

.cricket-content-page .cricket-related__img--placeholder.cricket-related__img--tone1 {
	background-image: linear-gradient( 135deg, #5a3a8a, #1c1240 );
}

.cricket-content-page .cricket-related__img--placeholder.cricket-related__img--tone2 {
	background-image: linear-gradient( 135deg, #2a7d6e, #0e2c26 );
}

.cricket-content-page .cricket-related__cat {
	margin: 12px 14px 0;
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #ffb020;
}

.cricket-content-page .cricket-related__card-title {
	margin: 6px 14px 14px;
	font-size: 13.5px;
	line-height: 1.45;
	font-weight: 600;
	color: rgba( 255, 255, 255, 0.9 );
}

/* ---------------------------------------------------------------------
 * Comment-policy warning banner — psp_comment_policy_banner(), rendered
 * just above the Disqus thread. Light blue, deliberately distinct from
 * both the dark page canvas and the white article card, so it reads as
 * its own authoritative notice rather than more article content.
 * ------------------------------------------------------------------- */

.cricket-comment-notice {
	max-width: 800px;
	margin: 34px auto 0;
	border-radius: 16px;
	padding: 2px;
	background: linear-gradient( 135deg, #eaf3fb 0%, #dbe9f7 55%, #cfe1f4 100% );
	background-image:
		radial-gradient( rgba( 30, 80, 135, 0.05 ) 1px, transparent 1px ),
		linear-gradient( 135deg, #eaf3fb 0%, #dbe9f7 55%, #cfe1f4 100% );
	background-size: 14px 14px, 100% 100%;
	box-shadow: 0 16px 38px rgba( 0, 0, 0, 0.28 );
}

.cricket-comment-notice__inner {
	padding: 32px 36px 28px;
	text-align: center;
}

.cricket-comment-notice__headline {
	margin: 0 0 26px;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	text-transform: uppercase;
	font-size: 17px;
	line-height: 1.5;
	letter-spacing: 0.01em;
	color: #16233c;
	max-width: 62ch;
	margin-inline: auto;
}

.cricket-comment-notice__icons {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 28px;
	margin: 0 0 26px;
	padding-bottom: 26px;
	border-bottom: 1px solid rgba( 22, 35, 60, 0.12 );
}

.cricket-comment-notice__icon {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 92px;
}

.cricket-comment-notice__label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #4c5872;
}

.cricket-comment-notice__text {
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.6;
	color: #2c3a54;
	max-width: 64ch;
	margin-inline: auto;
}

.cricket-comment-notice__text--strong {
	font-weight: 800;
	text-transform: uppercase;
	font-size: 15px;
	color: #16233c;
}

.cricket-comment-notice__sign {
	margin: 20px 0 0;
	font-style: italic;
	font-weight: 700;
	font-size: 13.5px;
	color: #1e5087;
}

/* Compact variant — same markup, sized for the 300px sidebar column
   instead of the 800px banner above the comment thread. */
.cricket-comment-notice--compact {
	max-width: none;
	margin: 0;
	border-radius: 14px;
	box-shadow: 0 12px 28px rgba( 0, 0, 0, 0.25 );
}

.cricket-comment-notice--compact .cricket-comment-notice__inner {
	padding: 18px 18px 16px;
}

.cricket-comment-notice--compact .cricket-comment-notice__headline {
	font-size: 11.5px;
	line-height: 1.5;
	margin-bottom: 16px;
}

.cricket-comment-notice--compact .cricket-comment-notice__icons {
	gap: 12px;
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.cricket-comment-notice--compact .cricket-comment-notice__icon {
	width: auto;
	gap: 4px;
}

.cricket-comment-notice--compact .cricket-comment-notice__icon svg {
	width: 32px;
	height: 32px;
}

.cricket-comment-notice--compact .cricket-comment-notice__label {
	font-size: 8.5px;
}

.cricket-comment-notice--compact .cricket-comment-notice__text--strong {
	font-size: 12px;
}

.cricket-comment-notice--compact .cricket-comment-notice__text {
	font-size: 11.5px;
	margin-bottom: 10px;
}

.cricket-comment-notice--compact .cricket-comment-notice__sign {
	font-size: 11.5px;
	margin-top: 14px;
}

/* ---------------------------------------------------------------------
 * Policy pages (Privacy Policy, Cookie Policy — page-privacy-policy.php /
 * page-cookie-policy.php). .hentry already gets the white-card treatment
 * generically from the rules above; what's missing on a *page* (vs a
 * body.single post) is readable-column typography, PLUS the real problem:
 * this content carries hardcoded inline colors from the old light-theme
 * design (black body text, bold-blue paragraphs standing in for headings)
 * baked into post_content itself. Force-override rather than edit the
 * content — same technique already used for archive-description text.
 * ------------------------------------------------------------------- */

.cricket-policy-page .hentry {
	max-width: 800px;
	margin-inline: auto;
	/* The site's old Additional CSS (Customizer) has a same-specificity,
	   later-loaded `.site-main .type-page` rule (padding:25px and a fully
	   -transparent background-color:#3a1a1a00) that otherwise wins both
	   ties and makes the card invisible. !important forces these two to
	   win regardless of that legacy code's presence. */
	padding: 44px 48px !important;
	background: rgba( 255, 255, 255, 0.97 ) !important;
}

.cricket-policy-page .entry-title {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: clamp( 26px, 3.6vw, 36px );
	font-weight: 800;
	color: #16233c;
	margin: 0 0 8px;
}

.cricket-policy-page .entry-content {
	max-width: 72ch;
	font-size: 16px;
	line-height: 1.75;
	color: #33405c;
}

.cricket-policy-page .entry-content * {
	color: inherit !important;
	background: none !important;
}

.cricket-policy-page .entry-content p {
	margin: 0 0 18px;
}

.cricket-policy-page .entry-content strong {
	color: #16233c;
}

.cricket-policy-page .entry-content h1,
.cricket-policy-page .entry-content h2,
.cricket-policy-page .entry-content h3,
.cricket-policy-page .entry-content h4 {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	color: #16233c;
	margin: 32px 0 12px;
}

.cricket-policy-page .entry-content h1:first-child,
.cricket-policy-page .entry-content h2:first-child,
.cricket-policy-page .entry-content h3:first-child,
.cricket-policy-page .entry-content h4:first-child {
	margin-top: 0;
}

.cricket-policy-page .entry-content ul,
.cricket-policy-page .entry-content ol {
	margin: 0 0 18px;
	padding-left: 22px;
}

.cricket-policy-page .entry-content li {
	margin-bottom: 8px;
}

.cricket-policy-page .entry-content a {
	color: #1e5087 !important;
	text-decoration: underline;
	text-decoration-color: rgba( 30, 80, 135, 0.35 );
	transition: color 0.15s ease;
}

.cricket-policy-page .entry-content a:hover,
.cricket-policy-page .entry-content a:focus-visible {
	color: #ff6b6b !important;
}

.cricket-policy-page .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
	font-size: 14px;
}

.cricket-policy-page .entry-content table th,
.cricket-policy-page .entry-content table td {
	border: 1px solid #e2e6ee;
	padding: 8px 12px;
	text-align: left;
}

.cricket-policy-page .entry-content table th {
	background: #f3f6fb !important;
}

/* ---------------------------------------------------------------------
 * Policy pages v2 (2026-09-16) — hero + table-of-contents + glass card.
 * Privacy Policy and Cookie Policy only (page-privacy-policy.php /
 * page-cookie-policy.php, via psp_policy_page() in functions.php).
 * Comments Policy stays on the plain .hentry treatment above — its
 * template wasn't touched, so those rules stay live for it.
 *
 * Grain/arc background decoration mirrors .cricket-bg-arc/.cricket-bg-grain
 * (cricket-predictions.css) rather than importing that whole stylesheet
 * just for two small classes — this file already loads site-wide.
 * ------------------------------------------------------------------- */

.cricket-policy-page {
	position: relative;
}

.cricket-policy-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.cricket-policy-bg .cricket-bg-arc {
	border: 1px solid rgba( 255, 255, 255, 0.05 );
}

.cricket-policy-arc--1 {
	width: 900px;
	height: 900px;
	top: -420px;
	right: -260px;
}

.cricket-policy-arc--2 {
	width: 620px;
	height: 620px;
	top: -260px;
	right: -60px;
	border-color: rgba( 255, 176, 32, 0.08 ) !important;
}

.cricket-policy-bg .cricket-bg-grain {
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E" );
}

.cricket-policy-hero {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	align-items: flex-start;
	gap: 22px;
	padding: 0 0 40px;
}

.cricket-policy-hero__icon {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient( circle at 30% 25%, rgba( 255, 176, 32, 0.28 ), rgba( 255, 255, 255, 0.05 ) 70% );
	border: 1px solid rgba( 255, 176, 32, 0.35 );
}

.cricket-policy-hero__eyebrow {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #ffb020;
	margin: 6px 0 8px;
}

.cricket-policy-hero__title {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	font-size: clamp( 28px, 3.6vw, 38px );
	line-height: 1.1;
	color: #ffffff;
	margin: 0 0 10px;
}

.cricket-policy-hero__subtitle {
	font-size: 15.5px;
	line-height: 1.6;
	color: rgba( 234, 244, 255, 0.75 );
	max-width: 56ch;
	margin: 0 0 16px;
}

.cricket-policy-hero__meta {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.cricket-policy-hero__pill {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba( 255, 255, 255, 0.06 );
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	border-radius: 999px;
	padding: 7px 14px;
	font-size: 13px;
	color: #eaf4ff;
}

.cricket-policy-hero__pill svg {
	width: 14px;
	height: 14px;
	stroke: #ffb020;
	flex: none;
}

.cricket-policy-layout {
	position: relative;
	z-index: 1;
	max-width: 1180px;
	margin: 0 auto;
	display: flex;
	gap: 30px;
	align-items: flex-start;
	padding-bottom: 70px;
}

.cricket-policy-toc {
	flex: none;
	width: 250px;
	position: sticky;
	top: 24px;
	background: linear-gradient( 180deg, rgba( 13, 32, 56, 0.9 ), rgba( 8, 20, 40, 0.9 ) );
	backdrop-filter: blur( 14px );
	border: 1px solid rgba( 255, 255, 255, 0.14 );
	border-radius: 14px;
	padding: 18px;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.cricket-policy-toc:empty {
	display: none;
	border: none;
	padding: 0;
}

.cricket-policy-toc__label {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 700;
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba( 234, 244, 255, 0.5 );
	margin: 0 0 10px;
}

.cricket-policy-toc a {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border-radius: 8px;
	font-size: 13.5px;
	color: rgba( 234, 244, 255, 0.68 );
	text-decoration: none;
	line-height: 1.3;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.cricket-policy-toc a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgba( 234, 244, 255, 0.3 );
	flex: none;
	transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.cricket-policy-toc a:hover {
	background: rgba( 255, 255, 255, 0.06 );
	color: #eaf4ff;
}

.cricket-policy-toc a.is-active {
	background: rgba( 255, 176, 32, 0.14 );
	color: #ffb020;
	font-weight: 700;
}

.cricket-policy-toc a.is-active::before {
	background: #ffb020;
	box-shadow: 0 0 0 3px rgba( 255, 176, 32, 0.18 );
}

.cricket-policy-main {
	flex: 1 1 auto;
	min-width: 0;
}

.cricket-policy-page .cricket-policy-card {
	max-width: none;
	margin: 0;
	padding: 44px 52px 56px !important;
	background: rgba( 255, 255, 255, 0.97 ) !important;
	border-radius: 18px;
	box-shadow: 0 24px 60px rgba( 0, 0, 0, 0.35 );
}

.cricket-policy-page .entry-content .cricket-policy-heading {
	position: relative;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-weight: 800;
	font-size: 19px;
	color: #16233c !important;
	background: none !important;
	margin: 34px 0 10px;
	padding-left: 16px;
	scroll-margin-top: 110px;
}

.cricket-policy-page .entry-content .cricket-policy-heading:first-child {
	margin-top: 0;
}

.cricket-policy-page .entry-content .cricket-policy-heading::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	bottom: 4px;
	width: 4px;
	border-radius: 3px;
	background: linear-gradient( 180deg, #ffb020, #ff8a3d );
}

@media ( max-width: 991px ) {
	.cricket-policy-layout {
		flex-direction: column;
		gap: 16px;
	}

	.cricket-policy-toc {
		width: 100%;
		position: static;
		flex-direction: row;
		overflow-x: auto;
		gap: 8px;
		padding: 14px;
	}

	.cricket-policy-toc__label {
		display: none;
	}

	.cricket-policy-toc a {
		flex: none;
		white-space: nowrap;
		background: rgba( 255, 255, 255, 0.06 );
		border: 1px solid rgba( 255, 255, 255, 0.14 );
		border-radius: 999px;
		padding: 8px 14px;
	}

	.cricket-policy-toc a::before {
		display: none;
	}

	.cricket-policy-page .cricket-policy-card {
		padding: 30px 22px 40px !important;
	}
}

@media ( max-width: 600px ) {
	.cricket-policy-hero {
		gap: 14px;
	}

	.cricket-policy-hero__icon {
		width: 52px;
		height: 52px;
		border-radius: 14px;
	}
}

/* ---------------------------------------------------------------------
 * Responsive
 * ------------------------------------------------------------------- */

@media ( max-width: 860px ) {
	.cricket-article-layout {
		flex-direction: column;
	}

	.cricket-share-rail {
		position: static;
		flex-direction: row;
		width: 100%;
		justify-content: center;
		padding: 8px;
		background: rgba( 255, 255, 255, 0.06 );
		border: 1px solid rgba( 255, 255, 255, 0.12 );
		border-radius: 999px;
	}

	.cricket-share-rail__btn {
		width: 38px;
		height: 38px;
	}

	.cricket-sidebar {
		width: 100%;
		position: static;
	}

	.cricket-hero-article__body {
		padding: 28px 26px;
	}

	body.single .cricket-content-page .cricket-hero-article .entry-title {
		font-size: clamp( 24px, 6vw, 32px );
	}

	body.single .cricket-content-page .cricket-hero-article .cricket-subtitle {
		font-size: 15px;
	}
}

@media ( max-width: 640px ) {
	.cricket-content-page .cricket-related__grid {
		grid-template-columns: 1fr;
	}
}

@media ( max-width: 600px ) {
	.cricket-content-page {
		padding: 28px 14px 40px;
	}

	.cricket-policy-page .hentry {
		padding: 28px 22px !important;
	}

	body.single .cricket-content-page .page-single-img-wrap {
		padding: 14px 14px 0;
	}

	.cricket-comment-notice__inner {
		padding: 26px 20px 22px;
	}

	.cricket-comment-notice__headline {
		font-size: 15px;
	}

	.cricket-comment-notice__icons {
		gap: 18px 22px;
	}

	.cricket-comment-notice__icon {
		width: 76px;
	}

	.cricket-comment-notice__icon svg {
		width: 46px;
		height: 46px;
	}

	.cricket-hero-article {
		border-radius: 14px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.cricket-content-page .page-title {
		animation: none !important;
	}

	.cricket-share-rail__btn,
	.cricket-sidebar-search__btn,
	.cricket-sidebar-cta,
	.cricket-content-page .cricket-related__card {
		transition: none;
	}

	.cricket-share-rail__btn:hover,
	.cricket-sidebar-search__btn:hover,
	.cricket-sidebar-cta:hover,
	.cricket-content-page .cricket-related__card:hover {
		transform: none;
	}
}

/* ---------------------------------------------------------------------
 * Sidebar Recent Results v2 (2026-09-16): a clear winner / correct-answer
 * banner, a VS row that marks the winner ("WON", gold ring) and dims the
 * other side, and a "% got it right" meter.
 * ------------------------------------------------------------------- */
.cricket-result-card {
	position: relative;
	overflow: hidden;
}

.cricket-result-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: linear-gradient( 180deg, #2ee58a, #1fb574 );
}

.cricket-result-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 10px 0 2px;
	padding: 8px 12px;
	border-radius: 12px;
	background: linear-gradient( 100deg, rgba( 46, 229, 138, 0.16 ), rgba( 46, 229, 138, 0.04 ) );
	box-shadow: inset 0 0 0 1px rgba( 31, 181, 116, 0.35 );
}

.cricket-result-banner--winner {
	background: linear-gradient( 100deg, rgba( 255, 176, 32, 0.22 ), rgba( 255, 176, 32, 0.05 ) );
	box-shadow: inset 0 0 0 1px rgba( 214, 140, 0, 0.35 );
}

.cricket-result-banner--void {
	background: rgba( 120, 130, 150, 0.12 );
	box-shadow: inset 0 0 0 1px rgba( 120, 130, 150, 0.3 );
}

.cricket-result-banner__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 4px 10px -4px rgba( 10, 24, 48, 0.35 );
	font-size: 15px;
	line-height: 1;
}

.cricket-result-banner__icon .emoji {
	width: 16px !important;
	height: 16px !important;
	margin: 0 !important;
}

.cricket-result-banner__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	line-height: 1.15;
}

.cricket-result-banner__text small {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #1f8f5c;
}

.cricket-result-banner--winner .cricket-result-banner__text small {
	color: #a86a00;
}

.cricket-result-banner__text b {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 15px;
	font-weight: 800;
	color: #0d1b30;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* VS row */
.cricket-result-vs {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 8px;
	margin: 10px 0 4px;
}

.cricket-result-vs__x {
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 11px;
	font-weight: 900;
	color: #9aa7b8;
	text-transform: uppercase;
}

.cricket-result-vs__team {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 8px 4px 7px;
	border-radius: 12px;
	background: #f3f6fa;
	transition: opacity 0.2s ease;
}

.cricket-result-vs__team.is-winner {
	background: linear-gradient( 180deg, rgba( 255, 214, 107, 0.35 ), rgba( 255, 214, 107, 0.08 ) );
	box-shadow: inset 0 0 0 1.5px rgba( 214, 140, 0, 0.55 );
}

.cricket-result-vs__team.is-loser {
	opacity: 0.55;
	filter: grayscale( 0.6 );
}

.cricket-result-vs__crest {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var( --crest, #3a86e0 );
	color: #ffffff;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 10.5px;
	font-weight: 900;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba( 0, 0, 0, 0.45 );
}

.cricket-result-vs__team.is-winner .cricket-result-vs__crest {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #ffb020, 0 6px 14px -4px rgba( 214, 140, 0, 0.7 );
}

.cricket-result-vs__name {
	max-width: 100%;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 12.5px;
	font-weight: 800;
	color: #0d1b30;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cricket-result-vs__won {
	padding: 2px 8px;
	border-radius: 999px;
	background: linear-gradient( 100deg, #ffd66b, #ffb020 );
	color: #1a1200;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 9.5px;
	font-weight: 900;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cricket-result-vs__pct {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 10.5px;
	font-weight: 700;
	color: #6b7a90;
}

/* "% got it right" meter */
.cricket-result-meter {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin: 8px 0 2px;
}

.cricket-result-meter__bar {
	position: relative;
	display: block;
	height: 6px;
	border-radius: 999px;
	background: #e6ebf2;
	overflow: hidden;
}

.cricket-result-meter__bar i {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: var( --pct, 0% );
	border-radius: inherit;
	background: linear-gradient( 90deg, #1fb574, #2ee58a );
}

.cricket-result-meter__text {
	font-size: 11.5px;
	font-weight: 700;
	color: #4b5a70;
}

/* ---------------------------------------------------------------------
 * Sidebar Latest Posts slider (2026-09-16): 10 per slide.
 * ------------------------------------------------------------------- */
.cricket-latest-slider__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.cricket-latest-slider__nav {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.cricket-latest-slider__arrow {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: linear-gradient( 140deg, #ffd66b, #ffb020 );
	box-shadow: 0 6px 14px -6px rgba( 214, 140, 0, 0.8 );
	color: #1a1200;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cricket-latest-slider__arrow:hover:not( :disabled ),
.cricket-latest-slider__arrow:focus-visible {
	transform: scale( 1.1 );
	box-shadow: 0 8px 18px -6px rgba( 214, 140, 0, 0.95 );
	outline: none;
}

.cricket-latest-slider__arrow:disabled {
	background: #e6ebf2;
	box-shadow: none;
	color: #9aa7b8;
	cursor: default;
}

.cricket-latest-slider__page {
	min-width: 30px;
	font-family: 'Outfit', 'PT Sans', sans-serif;
	font-size: 12px;
	font-weight: 700;
	color: #6b7a90;
	text-align: center;
}

.cricket-latest-slider__page b {
	color: #0d1b30;
	font-weight: 900;
}

.cricket-latest-slider__viewport {
	overflow: hidden;
	transition: height 0.35s ease;
}

.cricket-latest-slider__track {
	display: flex;
	transition: transform 0.5s cubic-bezier( 0.16, 1, 0.3, 1 );
}

.cricket-latest-slider__slide {
	flex: 0 0 100%;
	min-width: 0;
	margin: 0;
}

/* Without JS: all slides stack in one scrollable column. */
.cricket-latest-slider:not( .is-ready ) .cricket-latest-slider__viewport {
	max-height: 760px;
	overflow-y: auto;
}

.cricket-latest-slider:not( .is-ready ) .cricket-latest-slider__track {
	flex-direction: column;
}

.cricket-latest-slider__dots {
	display: flex;
	justify-content: center;
	gap: 6px;
	margin-top: 12px;
}

.cricket-latest-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: #d3dae4;
	cursor: pointer;
	transition: width 0.3s ease, background-color 0.3s ease;
}

.cricket-latest-slider__dot.is-active {
	width: 24px;
	background: linear-gradient( 90deg, #ffb020, #ff8a5c );
}

@media ( prefers-reduced-motion: reduce ) {
	.cricket-latest-slider__track,
	.cricket-latest-slider__viewport {
		transition: none;
	}
}
