/*
Theme Name: PSL Hub
Theme URI: https://example.com/psl-hub
Author: PSL Hub
Description: A fast, SEO-friendly WordPress theme for Pakistan Super League schedule, teams, squads and news websites. Includes a live countdown, schedule table, team cards, dark mode, FAQ rich results, table of contents and built-in structured data.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: pslhub
Tags: blog, news, sports, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, one-column
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--brand: #0a7a43;
	--accent: #f6b100;
	--bg: #f4f7f5;
	--surface: #ffffff;
	--text: #0e1d15;
	--muted: #5b6c63;
	--border: #e0e8e3;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(10, 40, 25, .08);
	--max: 1180px;
	--narrow: 800px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Nastaliq Urdu", sans-serif;
}

[data-theme="dark"] {
	--bg: #09120d;
	--surface: #111e17;
	--text: #e7f0ea;
	--muted: #9db1a6;
	--border: #22342a;
	--shadow: 0 6px 24px rgba(0, 0, 0, .45);
	color-scheme: dark;
}

/* ==========================================================================
   Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.7;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
[data-theme="dark"] a { color: color-mix(in srgb, var(--brand) 40%, #7ee2a8); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.25; margin: 1.6em 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-top: 0; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1.1em; }
.container { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 32px, var(--narrow)); }
.section { padding-block: 44px; }
.muted { color: var(--muted); }
.muted-light { color: rgba(255, 255, 255, .7); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #111; padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: #04170e; color: #d6ebdf; font-size: .84rem; text-align: center; padding: 6px 0; }
.site-header {
	position: sticky; top: 0; z-index: 100;
	background: color-mix(in srgb, var(--surface) 92%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand-link { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
[data-theme="dark"] .brand-link { color: var(--text); }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), color-mix(in srgb, var(--brand) 60%, #000)); font-size: 1.1rem; }
.custom-logo { max-height: 44px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; align-items: center; }
.main-nav a { display: block; padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: .95rem; }
[data-theme="dark"] .main-nav a { color: var(--text); }
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current_page_item > a { background: color-mix(in srgb, var(--brand) 12%, transparent); color: var(--brand); }
.main-nav li { position: relative; }
.main-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 190px; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { display: block; }
.header-actions { display: flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand); }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.menu-btn { display: none; }
.bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, top .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; }
.bars::after { top: 6px; }
.menu-open .bars { background: transparent; }
.menu-open .bars::before { top: 0; transform: rotate(45deg); }
.menu-open .bars::after { top: 0; transform: rotate(-45deg); }
.search-bar { border-top: 1px solid var(--border); padding: 12px 0; background: var(--surface); }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input[type="search"] { flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.search-form input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

@media (max-width: 900px) {
	.menu-btn { display: grid; }
	.main-nav { position: absolute; left: 0; right: 0; top: 100%; margin: 0; background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; display: none; max-height: calc(100vh - 110px); overflow-y: auto; }
	.menu-open .main-nav { display: block; }
	.main-nav .menu { flex-direction: column; align-items: stretch; }
	.main-nav .sub-menu { display: block; position: static; border: 0; box-shadow: none; padding-left: 14px; }
	.header-actions { margin-left: auto; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative; overflow: hidden; color: #fff; text-align: center;
	padding: 70px 0 110px;
	background:
		radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 70%),
		radial-gradient(700px 400px at 5% 110%, color-mix(in srgb, var(--brand) 70%, transparent), transparent 70%),
		linear-gradient(160deg, #03140c, color-mix(in srgb, var(--brand) 38%, #03140c));
}
.hero::before {
	content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
	background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
	background-size: 26px 26px;
	mask-image: linear-gradient(to bottom, #000, transparent 90%);
}
.hero-in { position: relative; max-width: 860px; }
.hero-badge { display: inline-block; margin: 0 0 18px; padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); font-size: .85rem; font-weight: 600; letter-spacing: .02em; }
.hero-title { color: #fff; margin: 0 0 16px; font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 800; }
.hero-text { color: rgba(255, 255, 255, .82); font-size: 1.1rem; max-width: 680px; margin: 0 auto 30px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

.countdown-wrap { margin-top: 8px; }
.countdown-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.countdown { display: inline-grid; grid-template-columns: repeat(4, minmax(64px, 96px)); gap: 10px; }
.cd-box { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 12px 6px 10px; backdrop-filter: blur(6px); }
.cd-box b { display: block; font-size: clamp(1.7rem, 5vw, 2.6rem); line-height: 1.1; font-variant-numeric: tabular-nums; font-weight: 800; }
.cd-box span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .7); }
.countdown.is-live::after { content: "🏏 It's match time!"; grid-column: 1 / -1; color: var(--accent); font-weight: 700; }
/* Countdown outside the hero (shortcode in content) */
.entry-content .countdown-wrap { background: linear-gradient(160deg, #03140c, color-mix(in srgb, var(--brand) 45%, #03140c)); color: #fff; border-radius: var(--radius); padding: 22px; text-align: center; margin: 1.6em 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 22px; border-radius: 12px; font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .18); text-decoration: none; }
.btn-accent { background: var(--accent); color: #1a1300 !important; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .5); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); }

/* ==========================================================================
   Facts
   ========================================================================== */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-top: -58px; position: relative; z-index: 2; }
.fact { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); border-top: 4px solid var(--accent); }
.fact-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.fact-value { display: block; font-size: 1.05rem; margin-top: 2px; line-height: 1.35; }

/* ==========================================================================
   Sections, cards
   ========================================================================== */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card-grid-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 16 / 9; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 3rem; font-weight: 800; color: var(--brand); opacity: .5; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.1rem; margin: 8px 0 6px; }
.card-title a { color: var(--text); text-decoration: none; }
[data-theme="dark"] .card-title a { color: var(--text); }
.card-title a:hover { color: var(--brand); }
.card-excerpt { color: var(--muted); font-size: .95rem; margin-bottom: 12px; }
.card-meta { margin: auto 0 0; font-size: .8rem; color: var(--muted); }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; background: color-mix(in srgb, var(--brand) 14%, transparent); color: var(--brand); }
.badge-ok { background: #d9f5e5; color: #0a6b38; }
.badge-exp { background: #fff1cc; color: #8a5d00; }
.badge-done { background: #e3e9ff; color: #2a3fa0; }
[data-theme="dark"] .badge-ok { background: #0f3a24; color: #7ee2a8; }
[data-theme="dark"] .badge-exp { background: #3b2d07; color: #f6c75a; }
[data-theme="dark"] .badge-done { background: #1b2750; color: #a9b9ff; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.team-card { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 22px 14px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none; color: var(--text) !important; transition: transform .2s, border-color .2s, box-shadow .2s; }
.team-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.team-logo { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); }
.team-logo img { width: 100%; height: 100%; object-fit: cover; }
.team-logo b { font-size: 1.8rem; color: var(--brand); }
.team-name { font-weight: 800; font-size: 1.05rem; }
.team-meta { font-size: .82rem; color: var(--muted); }

/* ==========================================================================
   Page / entry
   ========================================================================== */
.page-head { background: var(--surface); border-bottom: 1px solid var(--border); padding: 30px 0 26px; }
.page-title { margin: 8px 0 10px; }
.page-lead { font-size: 1.12rem; color: var(--muted); margin-bottom: 10px; }
.entry-meta { color: var(--muted); font-size: .88rem; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.entry-meta a { color: inherit; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 14px; padding: 0; font-size: .85rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.entry-thumb { margin: 0 0 28px; }
.entry-thumb img { width: 100%; border-radius: var(--radius); display: block; }
.entry-wide { max-width: var(--narrow); margin-inline: auto; }
.entry-content { overflow-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { padding-bottom: 8px; border-bottom: 2px solid var(--border); position: relative; }
.entry-content h2::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .35em; }
.entry-content blockquote { margin: 1.4em 0; padding: 14px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; color: var(--muted); }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption { font-size: .85rem; color: var(--muted); text-align: center; margin-top: 6px; }
.updated { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 14px; margin-top: 32px; }
.tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: .82rem; text-decoration: none; color: var(--muted); }
.tags a:hover { border-color: var(--brand); color: var(--brand); }

/* Tables (content + schedule) */
.entry-content table, .psl-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content table { display: block; overflow-x: auto; margin: 1.4em 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.entry-content table tbody, .entry-content table thead { display: table; width: 100%; min-width: 560px; }
.entry-content figure.wp-block-table { overflow-x: auto; }
.entry-content th, .entry-content td, .psl-table th, .psl-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.entry-content thead th, .psl-table thead th { background: color-mix(in srgb, var(--brand) 12%, var(--surface)); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text); white-space: nowrap; }
.entry-content tbody tr:nth-child(even), .psl-table tbody tr:nth-child(even) { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.entry-content tbody tr:hover, .psl-table tbody tr:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.entry-content tr:last-child td, .psl-table tr:last-child td { border-bottom: 0; }
.psl-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); margin: 1.2em 0; }
.psl-table { min-width: 640px; }
.psl-table small { display: block; }
.psl-table small.muted { display: inline; }
.psl-table .result { color: var(--brand); font-weight: 600; margin-top: 2px; }
.table-tools { margin: 1.2em 0 -.4em; }
.table-tools input { width: 100%; max-width: 360px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.table-tools input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 25%, transparent); }

/* TOC */
.toc { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 4px 18px; margin: 0 0 1.8em; }
.toc summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.toc ol { margin: 0 0 12px; padding-left: 1.3em; font-size: .95rem; }
.toc li { margin-bottom: 4px; }
.toc .toc-l3 { margin-left: 1.1em; list-style: circle; font-size: .9rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* FAQ */
.faq { margin-top: 2.4em; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 48px 15px 18px; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--brand) 6%, transparent); }
.faq-a { padding: 14px 18px 4px; color: var(--muted); }

/* Notices */
.notice { padding: 14px 18px; border-radius: 12px; margin: 1.3em 0; border-left: 4px solid; }
.notice-info { background: #e8f1ff; border-color: #3b7dd8; color: #17335f; }
.notice-warn { background: #fff4d6; border-color: #e0a100; color: #5b3f00; }
.notice-ok { background: #def6e8; border-color: #1c9e5b; color: #0b4a2a; }
[data-theme="dark"] .notice-info { background: #12233f; color: #bcd5ff; }
[data-theme="dark"] .notice-warn { background: #33270a; color: #ffe29a; }
[data-theme="dark"] .notice-ok { background: #0f3322; color: #a8efc6; }
.notice p:last-child { margin: 0; }

/* Team single */
.team-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 28px; }
.team-facts div { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 12px 16px; }
.team-facts dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.team-facts dd { margin: 2px 0 0; font-weight: 800; }

/* Share */
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: .9rem; }
.share span { font-weight: 700; margin-right: 4px; }
.share a, .share button { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); text-decoration: none; font: inherit; font-size: .85rem; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--brand); color: var(--brand); }

/* Pagination */
.pagination { margin-top: 36px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); text-decoration: none; color: var(--text); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Empty / 404 */
.empty { text-align: center; padding: 40px 0; }
.empty .search-form, .error-page .search-form { margin: 18px auto; }
.error-page { text-align: center; }
.error-code { font-size: clamp(4rem, 15vw, 8rem); font-weight: 900; line-height: 1; margin: 0; background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page .card-grid { text-align: left; }

/* Comments */
.comments { margin-top: 48px; }
.comment-list { list-style: none; padding: 0; }
.comment-body { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 18px; margin-bottom: 12px; }
.comment-list .children { list-style: none; padding-left: 20px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); font: inherit; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .88rem; }

/* Widgets */
.widget-title { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; color: #fff; }
.widget ul { list-style: none; margin: 0; padding: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { margin-top: 60px; background: #04170e; color: #d6ebdf; }
.site-footer a { color: #d6ebdf; text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 36px; padding-block: 48px 30px; }
.footer-brand { font-size: 1.3rem; font-weight: 800; margin: 0 0 10px; color: #fff; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 8px; font-size: .95rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-bottom p { margin: 0 0 4px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } }

.to-top { position: fixed; right: 16px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 1.2rem; cursor: pointer; box-shadow: var(--shadow); z-index: 90; }
.to-top[hidden] { display: none; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--accent); z-index: 200; }

/* ==========================================================================
   Small screens, motion, print
   ========================================================================== */
@media (max-width: 600px) {
	body { font-size: 16px; }
	.hero { padding: 48px 0 92px; }
	.countdown { grid-template-columns: repeat(4, 1fr); width: 100%; gap: 8px; }
	.section { padding-block: 32px; }
	.facts { margin-top: -48px; grid-template-columns: repeat(2, 1fr); }
	.btn { width: 100%; }
	.hero-cta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .share, .to-top, .progress, .comments, .hero-cta { display: none !important; }
	body { background: #fff; color: #000; }
}

/* WordPress core alignment helpers */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky { border-color: var(--accent); }
.bypostauthor { }
.gallery-caption { font-size: .85rem; }
