/*
Theme Name: CricPoint Arena
Theme URI: https://cricpoint.xyz
Author: CricPoint Sports
Author URI: https://cricpoint.xyz
Description: A bright, broadcast-styled cricket news theme. Bold display typography, saturated gradients, angular shapes and a homepage that stays full even with a small number of posts. Includes NewsArticle and BreadcrumbList schema, author E-E-A-T blocks and no CSS frameworks.
Version: 1.0.0
Requires at least: 5.9
Tested up to: 6.9
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: cricpoint
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens — broadcast graphics palette
   ========================================================================== */
:root {
	--ink: #0E1424;
	--ink-2: #171F33;
	--ink-3: #222C45;

	--paper: #FFFFFF;
	--paper-2: #F4F6FB;
	--line: #E2E7F0;
	--line-2: #CDD5E4;

	--body: #2B3448;
	--body-soft: #5C6880;
	--body-faint: #8A94A8;

	/* Broadcast accents */
	--volt: #00E07A;          /* electric green */
	--volt-2: #00B863;
	--flame: #FF4D2E;         /* wicket red */
	--flame-2: #E03418;
	--sky: #2B7FFF;           /* replay blue */
	--violet: #7C3AED;
	--sun: #FFB020;

	--grad-hero: linear-gradient(120deg, #0E1424 0%, #1B2A4E 46%, #0F3D2E 100%);
	--grad-volt: linear-gradient(120deg, var(--volt) 0%, var(--sky) 100%);
	--grad-flame: linear-gradient(120deg, var(--flame) 0%, var(--sun) 100%);

	--font-display: 'Anton', 'Arial Narrow', Impact, sans-serif;
	--font-mono: 'Space Mono', ui-monospace, Menlo, monospace;
	--font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--maxw: 1240px;
	--r: 4px;
	--shadow-1: 0 2px 10px rgba(14,20,36,.07);
	--shadow-2: 0 14px 40px rgba(14,20,36,.14);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.62;
}
img { max-width: 100%; height: auto; }
a { color: var(--sky); text-decoration: none; transition: color .15s ease; }
a:hover { color: #1567E0; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .004em;
	line-height: 1.02;
	margin: 0 0 .45em;
	color: var(--ink);
}
h1 { font-size: clamp(2.1rem, 5.6vw, 3.8rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
	html { scroll-behavior: auto; }
}
.screen-reader-text {
	border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden;
	padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto;
	position: fixed !important; top: 8px; left: 8px; z-index: 10000;
	background: var(--volt); color: var(--ink); padding: 11px 18px; font-weight: 700;
}
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.site-content { padding-bottom: 60px; }

.mono, .post-meta, time, .kicker, .eyebrow { font-family: var(--font-mono); }

/* ==========================================================================
   3. Header
   ========================================================================== */
.ticker {
	background: var(--ink); color: #fff; overflow: hidden;
	border-bottom: 3px solid var(--volt);
}
.ticker-inner { display: flex; align-items: center; min-height: 38px; gap: 0; }
.ticker-tag {
	background: var(--flame); color: #fff; font-family: var(--font-display);
	font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
	padding: 0 16px; align-self: stretch; display: flex; align-items: center;
	clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
	padding-right: 26px; flex-shrink: 0;
}
.ticker-track { overflow: hidden; flex: 1; }
.ticker-list {
	display: flex; gap: 34px; list-style: none; margin: 0; padding: 0 20px;
	font-family: var(--font-mono); font-size: .78rem; white-space: nowrap;
	animation: tickerScroll 34s linear infinite;
}
.ticker-list:hover { animation-play-state: paused; }
@keyframes tickerScroll {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.ticker-list a { color: #D8DEEA; }
.ticker-list a:hover { color: var(--volt); }
.ticker-list li::before { content: "▸"; color: var(--volt); margin-right: 9px; }
@media (prefers-reduced-motion: reduce) {
	.ticker-list { animation: none; flex-wrap: nowrap; overflow-x: auto; }
}

.site-header { background: var(--ink); position: sticky; top: 0; z-index: 900; }
.header-inner { display: flex; align-items: center; gap: 18px; min-height: 76px; }

.site-branding { flex-shrink: 0; }
.site-branding img { max-height: 48px; width: auto; }
.site-title-text {
	font-family: var(--font-display); font-size: 1.85rem; color: #fff;
	text-transform: uppercase; letter-spacing: .01em; line-height: 1; display: block;
}
.site-title-text .accent {
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent;
}
.site-tagline {
	display: block; font-family: var(--font-mono); font-size: .6rem;
	color: #7C87A0; letter-spacing: .16em; margin-top: 5px; text-transform: uppercase;
}

.main-navigation { margin-left: auto; }
.main-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 3px; }
.main-navigation li { position: relative; }
.main-navigation a {
	display: block; padding: 10px 15px; color: #B4BECE;
	font-family: var(--font-body); font-weight: 600; font-size: .87rem;
	text-transform: uppercase; letter-spacing: .05em; border-radius: var(--r);
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current-post-ancestor > a {
	color: var(--ink); background: var(--volt);
}
.main-navigation ul ul {
	position: absolute; left: 0; top: 100%; min-width: 215px; display: none;
	background: var(--ink-2); border-radius: var(--r); padding: 6px;
	box-shadow: var(--shadow-2); z-index: 950;
}
.main-navigation li:hover > ul, .main-navigation li:focus-within > ul { display: block; }

.header-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	background: var(--ink-3); border: 0; color: #B4BECE; border-radius: var(--r);
	padding: 10px 13px; cursor: pointer; display: inline-flex; align-items: center;
	gap: 8px; font-family: var(--font-body); font-weight: 600; font-size: .84rem;
	text-transform: uppercase; letter-spacing: .05em;
}
.icon-btn:hover { background: var(--volt); color: var(--ink); }
.menu-toggle { display: none; }

.header-search-bar { display: none; background: var(--ink-2); padding: 18px 0; }
.header-search-bar.open { display: block; }
.search-form { display: flex; gap: 10px; max-width: 660px; margin: 0 auto; }
.search-form .search-field {
	flex: 1; min-width: 0; background: #fff; border: 0; border-radius: var(--r);
	color: var(--ink); padding: 13px 17px; font-family: var(--font-body); font-size: 1rem;
}
.search-form .search-field::placeholder { color: var(--body-faint); }
.search-form .search-submit {
	background: var(--volt); color: var(--ink); border: 0; border-radius: var(--r);
	padding: 13px 26px; cursor: pointer; font-family: var(--font-display);
	font-size: .95rem; text-transform: uppercase; letter-spacing: .06em;
}
.search-form .search-submit:hover { background: #fff; }

@media (max-width: 1000px) {
	.menu-toggle { display: inline-flex; }
	.main-navigation { margin-left: auto; }
	.main-navigation ul#primary-menu {
		display: none; position: absolute; left: 0; right: 0; top: 76px;
		background: var(--ink-2); flex-direction: column; padding: 12px 20px 18px; gap: 2px;
	}
	.main-navigation.toggled ul#primary-menu { display: flex; }
	.main-navigation ul ul { position: static; box-shadow: none; background: transparent; padding-left: 14px; }
}

/* ==========================================================================
   4. Hero — carries the page when posts are few
   ========================================================================== */
.hero {
	background: var(--grad-hero); color: #fff; position: relative; overflow: hidden;
	padding: 46px 0 52px; margin-bottom: 44px;
}
.hero::before {
	content: ""; position: absolute; top: -30%; right: -8%;
	width: 620px; height: 620px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,224,122,.16) 0%, transparent 66%);
	pointer-events: none;
}
.hero::after {
	content: ""; position: absolute; bottom: -40%; left: -6%;
	width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(43,127,255,.14) 0%, transparent 66%);
	pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: stretch; }
@media (max-width: 950px) { .hero-grid { grid-template-columns: 1fr; gap: 26px; } }

.hero-main { display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; }
.hero-figure {
	position: relative; border-radius: 8px; overflow: hidden;
	aspect-ratio: 16 / 9; background: var(--ink-3); margin-bottom: 22px;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-figure::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(14,20,36,.9) 0%, rgba(14,20,36,.1) 58%);
}
.hero-figure .flash {
	position: absolute; left: 0; top: 20px; z-index: 3;
	background: var(--flame); color: #fff; font-family: var(--font-display);
	font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
	padding: 7px 20px 7px 16px;
	clip-path: polygon(0 0, 100% 0, calc(100% - 13px) 100%, 0 100%);
}
.hero-main h1 { color: #fff; margin-bottom: 14px; }
.hero-main h1 a { color: #fff; }
.hero-main h1 a:hover {
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent;
}
.hero-main .dek { color: #C3CBDA; font-size: 1.04rem; margin-bottom: 16px; max-width: 62ch; }
.hero .post-meta { color: #8A94AC; }
.hero .post-meta a { color: #8A94AC; }
.hero .post-meta a:hover { color: var(--volt); }

/* Hero side stack */
.hero-side { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.hero-side-head {
	font-family: var(--font-display); font-size: 1rem; color: #fff;
	text-transform: uppercase; letter-spacing: .08em; padding-bottom: 12px;
	border-bottom: 2px solid rgba(255,255,255,.14); margin-bottom: 4px;
	display: flex; align-items: center; gap: 10px;
}
.hero-side-head .dot {
	width: 8px; height: 8px; background: var(--volt); border-radius: 50%;
	box-shadow: 0 0 10px var(--volt); animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

.hero-item {
	display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px;
	padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.09);
}
.hero-item:last-child { border-bottom: 0; }
.hero-item .n {
	font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent; opacity: .75;
}
.hero-item h3 { font-family: var(--font-body); font-weight: 600; font-size: .96rem; text-transform: none; letter-spacing: 0; line-height: 1.4; margin-bottom: 5px; }
.hero-item h3 a { color: #E8ECF4; }
.hero-item h3 a:hover { color: var(--volt); }
.hero-item .post-meta { font-size: .7rem; }

/* ==========================================================================
   5. Section heads
   ========================================================================== */
.sec-head {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; margin-bottom: 22px;
}
.sec-head h2 { margin: 0; display: flex; align-items: center; gap: 14px; }
.sec-head h2::before {
	content: ""; width: 6px; height: 30px; background: var(--grad-volt);
	border-radius: 2px; flex-shrink: 0;
}
.sec-head .see-all {
	font-family: var(--font-body); font-weight: 700; font-size: .8rem;
	text-transform: uppercase; letter-spacing: .07em; color: var(--body-soft);
	white-space: nowrap; border-bottom: 2px solid var(--line-2); padding-bottom: 2px;
}
.sec-head .see-all:hover { color: var(--ink); border-color: var(--volt); }
.section-block { margin-bottom: 50px; }

/* ==========================================================================
   6. Cards
   ========================================================================== */
.cat-badge {
	display: inline-block; font-family: var(--font-body); font-size: .68rem;
	font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
	background: var(--ink); color: #fff; padding: 4px 10px;
	border-radius: 3px; margin-bottom: 10px;
}
.cat-badge:hover { background: var(--volt); color: var(--ink); }

.post-meta {
	font-size: .74rem; color: var(--body-faint); display: flex;
	gap: 9px; flex-wrap: wrap; align-items: center; text-transform: uppercase;
	letter-spacing: .05em;
}
.post-meta > * + *::before { content: "•"; margin-right: 9px; color: var(--line-2); }
.post-meta a { color: var(--body-faint); }
.post-meta a:hover { color: var(--ink); }

/* Big feature card */
.card-feature {
	display: flex; flex-direction: column; background: var(--paper);
	border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-1);
	transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.card-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card-feature .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.card-feature .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card-feature:hover .thumb img { transform: scale(1.04); }
.card-feature .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card-feature h3 { font-size: 1.3rem; margin-bottom: 10px; }
.card-feature h3 a { color: var(--ink); }
.card-feature h3 a:hover { color: var(--sky); }
.card-feature .dek { color: var(--body-soft); font-size: .93rem; margin-bottom: 14px; }
.card-feature .post-meta { margin-top: auto; }

/* Standard card */
.card {
	display: flex; flex-direction: column; background: var(--paper);
	border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-1);
	transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card .thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb .cat-badge { position: absolute; left: 12px; bottom: 12px; margin: 0; z-index: 2; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; text-transform: none; letter-spacing: 0; line-height: 1.34; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--sky); }
.card .post-meta { margin-top: auto; }

/* Wide horizontal card */
.card-wide {
	display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 0;
	background: var(--paper); border-radius: 8px; overflow: hidden;
	box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease;
}
.card-wide:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
@media (max-width: 620px) { .card-wide { grid-template-columns: 118px minmax(0,1fr); } }
.card-wide .thumb { overflow: hidden; background: var(--paper-2); }
.card-wide .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-wide .body { padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; }
.card-wide h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; text-transform: none; letter-spacing: 0; line-height: 1.34; margin-bottom: 9px; }
.card-wide h3 a { color: var(--ink); }
.card-wide h3 a:hover { color: var(--sky); }
.card-wide .dek { color: var(--body-soft); font-size: .9rem; margin-bottom: 10px; }
@media (max-width: 620px) { .card-wide .dek { display: none; } }

/* Dark band section — breaks up the white page */
.band {
	background: var(--ink); color: #fff; padding: 44px 0 48px;
	margin: 0 0 50px; position: relative; overflow: hidden;
}
.band::before {
	content: ""; position: absolute; top: -50%; left: -5%;
	width: 500px; height: 500px; border-radius: 50%;
	background: radial-gradient(circle, rgba(124,58,237,.18) 0%, transparent 66%);
}
.band .container { position: relative; z-index: 2; }
.band h2, .band h3 { color: #fff; }
.band .sec-head .see-all { color: #B4BECE; border-color: rgba(255,255,255,.2); }
.band .sec-head .see-all:hover { color: #fff; border-color: var(--volt); }
.band .card, .band .card-wide { background: var(--ink-2); box-shadow: none; }
.band .card h3 a, .band .card-wide h3 a { color: #fff; }
.band .card h3 a:hover, .band .card-wide h3 a:hover { color: var(--volt); }
.band .card .dek, .band .card-wide .dek { color: #A9B3C6; }
.band .post-meta { color: #7C87A0; }
.band .post-meta a { color: #7C87A0; }
.band .post-meta > * + *::before { color: #4A5670; }
.band .cat-badge { background: var(--volt); color: var(--ink); }

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
@media (max-width: 980px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
	.grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* Category strip — always full, built from categories not posts */
.cat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.cat-tile {
	position: relative; border-radius: 8px; overflow: hidden;
	background: var(--ink); padding: 26px 20px; min-height: 118px;
	display: flex; flex-direction: column; justify-content: flex-end;
	transition: transform .2s ease;
}
.cat-tile:hover { transform: translateY(-4px); }
.cat-tile::before {
	content: ""; position: absolute; inset: 0; opacity: .88;
	background: var(--grad-volt);
}
.cat-tile:nth-child(2)::before { background: var(--grad-flame); }
.cat-tile:nth-child(3)::before { background: linear-gradient(120deg, var(--violet) 0%, var(--sky) 100%); }
.cat-tile:nth-child(4)::before { background: linear-gradient(120deg, var(--sun) 0%, var(--flame) 100%); }
.cat-tile:nth-child(5)::before { background: linear-gradient(120deg, var(--sky) 0%, var(--volt) 100%); }
.cat-tile:nth-child(6)::before { background: linear-gradient(120deg, var(--flame) 0%, var(--violet) 100%); }
.cat-tile > * { position: relative; z-index: 2; }
.cat-tile .n {
	font-family: var(--font-mono); font-size: .72rem; color: rgba(14,20,36,.65);
	text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px;
}
.cat-tile .t {
	font-family: var(--font-display); font-size: 1.35rem; color: var(--ink);
	text-transform: uppercase; line-height: 1.05;
}

/* ==========================================================================
   7. Single article
   ========================================================================== */
.read-progress {
	position: fixed; top: 0; left: 0; height: 3px; width: 0;
	background: var(--grad-volt); z-index: 999; transition: width .1s linear;
}

.article-hero {
	background: var(--grad-hero); color: #fff; padding: 34px 0 40px; margin-bottom: 36px;
	position: relative; overflow: hidden;
}
.article-hero::before {
	content: ""; position: absolute; top: -40%; right: -5%;
	width: 520px; height: 520px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,224,122,.14) 0%, transparent 66%);
}
.article-hero .container { position: relative; z-index: 2; max-width: 900px; }
.article-hero h1 { color: #fff; margin-bottom: 18px; }
.article-hero .dek { color: #C3CBDA; font-size: 1.08rem; max-width: 68ch; margin-bottom: 20px; }

.breadcrumbs {
	font-family: var(--font-mono); font-size: .72rem; color: #8A94AC;
	text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px;
}
.breadcrumbs a { color: #8A94AC; }
.breadcrumbs a:hover { color: var(--volt); }
.breadcrumbs .sep { margin: 0 8px; opacity: .45; }

.byline { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.byline img { border-radius: 50%; flex-shrink: 0; border: 2px solid rgba(255,255,255,.2); }
.byline .who { font-weight: 700; font-size: .95rem; color: #fff; }
.byline .who a { color: #fff; }
.byline .who a:hover { color: var(--volt); }
.byline .when { font-family: var(--font-mono); font-size: .74rem; color: #8A94AC; text-transform: uppercase; letter-spacing: .05em; }

.layout-2col { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
@media (max-width: 1040px) { .layout-2col { grid-template-columns: 1fr; } }

.featured-media { margin: 0 0 26px; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-1); }
.featured-media img { width: 100%; display: block; }
.featured-media figcaption {
	font-family: var(--font-mono); font-size: .74rem; color: var(--body-faint);
	padding: 10px 14px; background: var(--paper-2);
}

.entry-content { font-size: 1.09rem; line-height: 1.78; color: var(--body); }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--ink); margin-top: 1.8em; }
.entry-content h2:first-child, .entry-content h3:first-child { margin-top: 0; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.32rem; }
.entry-content a { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: 8px; }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.entry-content li { margin-bottom: .5em; }
.entry-content blockquote {
	border-left: 5px solid var(--volt); margin: 1.7em 0; padding: 6px 0 6px 24px;
	font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25;
	text-transform: uppercase; color: var(--ink);
}
.entry-content blockquote p { margin-bottom: 0; }
.entry-content table {
	width: 100%; border-collapse: collapse; margin: 1.5em 0;
	display: block; overflow-x: auto; font-size: .95rem;
}
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.entry-content th {
	background: var(--ink); color: #fff; font-family: var(--font-body);
	font-weight: 700; text-transform: uppercase; font-size: .78rem; letter-spacing: .06em;
}
.entry-content tr:nth-child(even) td { background: var(--paper-2); }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-family: var(--font-mono); font-size: .76rem; color: var(--body-faint); text-align: center; padding-top: 8px; }

.entry-tags { margin: 28px 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.entry-tags .label { font-family: var(--font-mono); font-size: .72rem; color: var(--body-faint); text-transform: uppercase; letter-spacing: .08em; }
.entry-tags a {
	background: var(--paper-2); color: var(--body-soft); font-size: .82rem;
	padding: 6px 13px; border-radius: 20px; font-weight: 600;
}
.entry-tags a:hover { background: var(--ink); color: #fff; }

.author-box {
	display: grid; grid-template-columns: 74px minmax(0,1fr); gap: 20px;
	background: var(--paper-2); border-radius: 8px; padding: 24px;
	margin: 30px 0; border-left: 5px solid var(--volt);
}
.author-box img { border-radius: 50%; width: 74px; height: 74px; }
.author-box .role { font-family: var(--font-mono); font-size: .68rem; color: var(--body-faint); text-transform: uppercase; letter-spacing: .12em; margin-bottom: 5px; }
.author-box .name { font-family: var(--font-display); font-size: 1.35rem; text-transform: uppercase; margin-bottom: 7px; color: var(--ink); }
.author-box .bio { font-size: .93rem; color: var(--body-soft); margin: 0; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 32px 0; }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav a { background: var(--paper-2); border-radius: 8px; padding: 18px 20px; display: block; }
.post-nav a:hover { background: var(--ink); }
.post-nav a:hover .ttl, .post-nav a:hover .dir { color: #fff; }
.post-nav .dir { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--body-faint); display: block; margin-bottom: 7px; }
.post-nav .ttl { color: var(--ink); font-weight: 700; font-size: .97rem; line-height: 1.35; }
.post-nav .next { text-align: right; }

/* ==========================================================================
   8. Sidebar
   ========================================================================== */
.site-sidebar .widget {
	background: var(--paper-2); border-radius: 8px; padding: 22px; margin-bottom: 22px;
}
.widget-title {
	font-size: 1.15rem; margin-bottom: 16px; display: flex; align-items: center; gap: 12px;
}
.widget-title::before {
	content: ""; width: 5px; height: 22px; background: var(--grad-volt);
	border-radius: 2px; flex-shrink: 0;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--body); }
.widget a:hover { color: var(--sky); }

.rank-list { counter-reset: r; }
.rank-list li {
	counter-increment: r; display: grid; grid-template-columns: 36px minmax(0,1fr);
	gap: 12px; align-items: start;
}
.rank-list li::before {
	content: counter(r);
	font-family: var(--font-display); font-size: 1.7rem; line-height: .9;
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent;
}
.rank-list a { font-weight: 600; line-height: 1.4; display: block; }
.rank-list .post-meta { margin-top: 5px; font-size: .68rem; }
.sticky-sidebar { position: sticky; top: 96px; }

/* ==========================================================================
   9. Comments
   ========================================================================== */
.comments-area { background: var(--paper-2); border-radius: 8px; padding: 28px; margin-top: 34px; }
.comments-title { font-size: 1.4rem; }
.comment-list { list-style: none; padding: 0; margin: 0 0 24px; }
.comment-list .comment { border-bottom: 1px solid var(--line); padding: 16px 0; }
.comment-list .children { list-style: none; padding-left: 28px; }
.comment-author { font-weight: 700; font-size: .96rem; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-right: 10px; }
.comment-metadata { font-family: var(--font-mono); font-size: .72rem; color: var(--body-faint); margin: 4px 0 10px; text-transform: uppercase; }
.comment-metadata a { color: var(--body-faint); }
.comment-form label { display: block; font-weight: 600; font-size: .87rem; color: var(--body-soft); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"],
.comment-form input[type="url"], .comment-form textarea {
	width: 100%; background: #fff; border: 2px solid var(--line);
	color: var(--ink); border-radius: var(--r); padding: 11px 15px;
	font-family: var(--font-body); font-size: .96rem; margin-bottom: 14px;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--sky); outline: none; }
.comment-form .submit {
	background: var(--ink); color: #fff; border: 0; border-radius: var(--r);
	padding: 13px 30px; font-family: var(--font-display); font-size: 1rem;
	text-transform: uppercase; letter-spacing: .05em; cursor: pointer;
}
.comment-form .submit:hover { background: var(--volt); color: var(--ink); }

/* ==========================================================================
   10. Pagination
   ========================================================================== */
.pagination { display: flex; justify-content: center; margin: 40px 0 0; }
.pagination ul { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; flex-wrap: wrap; }
.pagination .page-numbers {
	display: block; padding: 11px 18px; border-radius: var(--r);
	background: var(--paper-2); color: var(--body); font-weight: 700; font-size: .92rem;
}
.pagination .page-numbers.current, .pagination .page-numbers:hover {
	background: var(--ink); color: #fff;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #A9B3C6; margin-top: 60px; }
.footer-top {
	display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 34px;
	padding: 42px 0 30px;
}
@media (max-width: 1000px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 620px) { .footer-top { grid-template-columns: 1fr; gap: 26px; } }
.footer-col h4 { color: #fff; font-size: 1.1rem; margin-bottom: 15px; }
.footer-col p, .footer-col li { font-size: .91rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { padding: 6px 0; }
.footer-col a { color: #A9B3C6; }
.footer-col a:hover { color: var(--volt); }
.footer-brand .site-title-text { font-size: 1.55rem; margin-bottom: 10px; }
.footer-brand p { margin-bottom: 16px; max-width: 34ch; }
.footer-about { font-size: .88rem; line-height: 1.6; color: #97A2B6; }
.footer-stat-row {
	display: flex; gap: 26px; margin-top: 18px; padding-top: 16px;
	border-top: 1px solid rgba(255,255,255,.09);
}
.footer-stat .num {
	font-family: var(--font-display); font-size: 1.5rem; line-height: 1;
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent; display: block;
}
.footer-stat .lbl {
	font-family: var(--font-mono); font-size: .64rem; color: #6E7A92;
	text-transform: uppercase; letter-spacing: .1em; margin-top: 5px; display: block;
}
.site-info {
	border-top: 1px solid rgba(255,255,255,.09); padding: 18px 0 26px;
	text-align: center; font-family: var(--font-mono); font-size: .76rem; color: #6E7A92;
}

/* ==========================================================================
   12. Misc
   ========================================================================== */
.page-head {
	background: var(--grad-hero); color: #fff; padding: 40px 0 44px; margin-bottom: 40px;
	position: relative; overflow: hidden;
}
.page-head::before {
	content: ""; position: absolute; top: -45%; right: -5%;
	width: 500px; height: 500px; border-radius: 50%;
	background: radial-gradient(circle, rgba(0,224,122,.14) 0%, transparent 66%);
}
.page-head .container { position: relative; z-index: 2; }
.page-head h1 { color: #fff; margin-bottom: 10px; }
.page-head .archive-desc { color: #C3CBDA; max-width: 720px; font-size: .98rem; }

.no-results { background: var(--paper-2); border-radius: 8px; padding: 46px; text-align: center; }
.error-404 { text-align: center; padding: 60px 0 40px; }
.error-404 .code {
	font-family: var(--font-display); font-size: 8rem; line-height: 1; margin-bottom: 10px;
	background: var(--grad-volt); -webkit-background-clip: text;
	background-clip: text; color: transparent;
}
.banner-zone { margin: 22px 0; text-align: center; }
.alignleft { float: left; margin: 0 24px 14px 0; }
.alignright { float: right; margin: 0 0 14px 24px; }
.aligncenter { display: block; margin: 0 auto 14px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-family: var(--font-mono); font-size: .76rem; color: var(--body-faint); text-align: center; }
.sticky {}
.bypostauthor {}
.gallery-caption {}
