/*
 * BetLahze Mag — design system (loaded on every page).
 * Palette: ink black, brand green for actions, logo gold for ratings/odds.
 * Mobile first; breakpoints 600 / 900 / 1025 / 1280.
 */

@font-face { font-family: Dana; src: url('../../fonts/Dana-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Dana; src: url('../../fonts/Dana-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Dana; src: url('../../fonts/Dana-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: Dana; src: url('../../fonts/Dana-ExtraBlack.woff2') format('woff2'); font-weight: 900; font-display: swap; }

:root {
	color-scheme: dark;
	--bg: #07090b;
	--bg-2: #0a0d10;
	--surface: #0e1317;
	--surface-2: #141b20;
	--surface-3: #1a232a;
	--line: #1f2a31;
	--line-2: #2a3841;
	--text: #eef4f1;
	--text-2: #c3cfca;
	--muted: #8a9c95;
	--green: #19e68c;
	--green-2: #12c476;
	--green-ink: #03130b;
	--green-soft: rgba(25, 230, 140, .12);
	--gold: #f5c451;
	--gold-soft: rgba(245, 196, 81, .12);
	--live: #ff4d5e;
	--r-xl: 24px;
	--r-lg: 18px;
	--r-md: 14px;
	--r-sm: 10px;
	--wrap: 1200px;
	--gutter: 16px;
	--header-h: 64px;
	--bottombar-h: 64px;
	--fs-xs: .75rem;
	--fs-sm: .875rem;
	--fs-md: 1rem;
	--fs-lg: 1.125rem;
	--fs-xl: 1.375rem;
	--fs-2xl: 1.75rem;
	--fs-3xl: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem);
	--fs-hero: clamp(2rem, 1.1rem + 4.2vw, 3.6rem);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 900px) {
	:root { --gutter: 24px; --header-h: 72px; }
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	min-height: 100vh;
	background: var(--bg);
	color: var(--text);
	font-family: Dana, Tahoma, sans-serif;
	font-size: var(--fs-md);
	line-height: 1.9;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.4; font-weight: 900; color: var(--text); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul, ol { padding-inline-start: 1.25em; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
::selection { background: var(--green); color: var(--green-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
html.ba-locked { overflow: hidden; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; right: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--green); color: var(--green-ink); border-radius: var(--r-sm); font-weight: 700; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons, chips ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
	font-weight: 700; font-size: var(--fs-sm); line-height: 1; white-space: nowrap;
	transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease), transform .18s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green); color: var(--green-ink); }
.btn--primary:hover { background: #3cf0a2; }
.btn--gold { background: var(--gold); color: #1d1503; }
.btn--gold:hover { background: #ffd473; }
.btn--ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-xs); border-radius: 10px; }
.btn--block { width: 100%; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
	background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2);
	font-size: var(--fs-xs); font-weight: 500; line-height: 1.6; white-space: nowrap;
}
.chip--green { background: var(--green-soft); border-color: transparent; color: var(--green); }
.chip--gold { background: var(--gold-soft); border-color: transparent; color: var(--gold); }
.chip--live { background: rgba(255, 77, 94, .14); border-color: transparent; color: var(--live); }
.chip--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ba-pulse 1.4s infinite; }
@keyframes ba-pulse { 50% { opacity: .3; } }

.rating { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); font-weight: 900; font-variant-numeric: tabular-nums; }
.rating .ic { width: 1em; height: 1em; }

/* ---------- Sections ---------- */
.sec { padding-block: 40px; }
@media (min-width: 900px) { .sec { padding-block: 64px; } }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-title { font-size: var(--fs-2xl); margin: 0; }
@media (min-width: 900px) { .sec-title { font-size: 2rem; } }
.sec-lead { margin: 6px 0 0; color: var(--muted); max-width: 60ch; }
.sec-more { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.sec-more:hover { text-decoration: underline; text-underline-offset: 6px; }
.sec-more .ic { width: 1.1em; height: 1.1em; }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); }

/* ---------- Rails (horizontal scroll lists) ---------- */
.rail {
	display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 82%); gap: 16px;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
	margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 600px) { .rail { grid-auto-columns: calc((100% - 16px) / 2.15); } }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 32px) / 3); margin-inline: 0; padding-inline: 0; } }
@media (min-width: 1280px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); } }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav .ba-icon-btn { display: none; width: 40px; height: 40px; }
@media (min-width: 900px) { .rail-nav .ba-icon-btn { display: inline-grid; } }

.meter { position: relative; display: block; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter i { position: absolute; inset: 0 0 0 auto; width: var(--v, 0%); border-radius: inherit; background: linear-gradient(270deg, var(--green), #8ff5c6); }

/* ---------- Match card ---------- */
.mcard { min-width: 0; }
.mcard__link {
	position: relative; display: flex; flex-direction: column; gap: 14px; height: 100%; padding: 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
	transition: border-color .18s, transform .18s var(--ease);
}
.mcard__link::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg, transparent, var(--glow, var(--green)), transparent); opacity: .7; }
.mcard__link:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mcard__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 26px; }
.mcard__league { color: var(--muted); font-size: var(--fs-xs); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; text-align: center; }
.mcard__team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; font-weight: 700; font-size: var(--fs-sm); line-height: 1.5; }
.mcard__team span { overflow-wrap: anywhere; }
.mcard__crest { width: 48px; height: 48px; object-fit: contain; border-radius: 50%; background: var(--surface-2); padding: 6px; }
.mcard__crest--ph { display: grid; place-items: center; color: var(--muted); font-weight: 900; }
.mcard__vs { align-self: center; display: grid; place-items: center; min-width: 64px; padding: 6px 8px; border-radius: 10px; background: var(--surface-2); color: var(--text-2); font-size: var(--fs-xs); font-weight: 700; line-height: 1.5; }
.mcard__pick { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--green-soft); }
.mcard__pick small { color: var(--muted); font-size: 11px; }
.mcard__pick strong { color: var(--text); font-size: var(--fs-sm); line-height: 1.6; }
.mcard__foot { display: flex; align-items: flex-end; gap: 16px; margin-top: auto; }
.mcard__conf { flex: 1; display: grid; gap: 6px; }
.mcard__conf small, .mcard__odd small { color: var(--muted); font-size: 11px; }
.mcard__conf b { color: var(--text); }
.mcard__odd { display: grid; text-align: center; }
.mcard__odd b { color: var(--gold); font-size: 1.5rem; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.ba-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(7, 9, 11, .82);
	-webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s, background-color .2s;
}
.admin-bar .ba-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) { .admin-bar .ba-header { top: 0; } }
.ba-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 9, 11, .94); }
.ba-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.ba-logo { display: inline-flex; align-items: center; flex: none; }
.ba-logo-img { width: auto; height: 34px; max-width: 160px; object-fit: contain; }
@media (min-width: 900px) { .ba-logo-img { height: 40px; max-width: 180px; } }
.ba-logo-text { font-weight: 900; font-size: 1.25rem; color: var(--gold); }
.ba-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.ba-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text);
	transition: border-color .18s, color .18s;
}
.ba-icon-btn:hover, .ba-icon-btn[aria-expanded="true"] { border-color: var(--green); color: var(--green); }
.ba-header__cta { display: none; }
@media (min-width: 600px) { .ba-header__cta { display: inline-flex; } }

.ba-nav--desktop { display: none; }
@media (min-width: 1025px) {
	.ba-burger { display: none; }
	.ba-nav--desktop { display: block; margin-inline-start: 12px; }
	.ba-menu { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
	.ba-menu > li { position: relative; }
	.ba-menu > li > a {
		display: flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: 10px;
		color: var(--text-2); font-size: var(--fs-sm); font-weight: 500; white-space: nowrap;
	}
	.ba-menu > li > a:hover, .ba-menu > li:focus-within > a { color: var(--text); background: var(--surface-2); }
	.ba-menu > .current-menu-item > a, .ba-menu > .current-menu-ancestor > a { color: var(--green); }
	.ba-menu > .menu-item-has-children > a::after {
		content: ""; width: 7px; height: 7px; margin-top: -3px; margin-inline-start: 4px;
		border-inline-end: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg); opacity: .7;
	}
	.ba-menu .sub-menu {
		position: absolute; top: calc(100% + 8px); right: 0; z-index: 20; min-width: 240px; margin: 0; padding: 8px; list-style: none;
		background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
		box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .7);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s;
	}
	.ba-menu .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
	.ba-menu li:hover > .sub-menu, .ba-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.ba-menu .sub-menu .sub-menu { top: -9px; right: calc(100% + 8px); }
	.ba-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
	.ba-menu .sub-menu a:hover, .ba-menu .sub-menu .current-menu-item > a { background: var(--surface-2); color: var(--green); }
	.ba-menu .sub-menu .menu-item-has-children > a::after { content: "‹"; float: left; opacity: .6; }
}

/* Search sheet */
.ba-search-panel { position: absolute; inset: 100% 0 auto; padding: 12px 0 16px; background: rgba(7, 9, 11, .97); border-bottom: 1px solid var(--line); }
.ba-search-form { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 6px; padding-inline-start: 14px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); }
.ba-search-form:focus-within { border-color: var(--green); }
.ba-search-form .ic { color: var(--muted); }
.ba-search-form input { flex: 1; min-width: 0; height: 44px; background: transparent; border: 0; outline: 0; font-size: var(--fs-md); }

/* Drawer */
.ba-drawer { position: fixed; inset: 0; z-index: 200; }
.ba-drawer__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .2s; }
.ba-drawer__sheet {
	position: absolute; inset: 0 0 0 auto; width: min(360px, 88vw); display: flex; flex-direction: column; gap: 16px;
	padding: 16px; padding-bottom: calc(16px + env(safe-area-inset-bottom)); overflow-y: auto;
	background: var(--bg-2); border-inline-start: 1px solid var(--line);
	transform: translateX(100%); transition: transform .22s var(--ease);
}
.ba-drawer.is-open .ba-drawer__overlay { opacity: 1; }
.ba-drawer.is-open .ba-drawer__sheet { transform: none; }
.ba-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.ba-mobile-menu, .ba-mobile-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.ba-mobile-menu > li { border-bottom: 1px solid var(--line); }
.ba-mobile-menu li { position: relative; display: flex; flex-wrap: wrap; align-items: center; }
.ba-mobile-menu a { flex: 1; display: block; padding: 13px 4px; font-weight: 500; }
.ba-mobile-menu .current-menu-item > a { color: var(--green); }
.ba-submenu-toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--surface); color: var(--muted); transition: transform .2s; }
.ba-mobile-menu .is-open > .ba-submenu-toggle { transform: rotate(180deg); color: var(--green); }
.ba-mobile-menu .sub-menu { display: none; width: 100%; padding: 0 12px 10px 0; border-inline-start: 2px solid var(--line); margin-inline-start: 6px; }
.ba-mobile-menu .is-open > .sub-menu { display: block; }
.ba-mobile-menu .sub-menu a { padding: 8px 4px; color: var(--text-2); font-size: var(--fs-sm); }

/* Mobile bottom bar */
.ba-bottombar {
	position: fixed; inset: auto 0 0; z-index: 90; display: grid; grid-template-columns: repeat(5, 1fr);
	height: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
	background: rgba(10, 13, 16, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
}
.ba-bottombar__item {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 500; line-height: 1.4;
}
.ba-bottombar__item .ic { width: 22px; height: 22px; }
.ba-bottombar__item.is-current, .ba-bottombar__item[aria-expanded="true"] { color: var(--green); }
body { padding-bottom: calc(var(--bottombar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1025px) {
	.ba-bottombar { display: none; }
	body { padding-bottom: 0; }
}

/* ---------- Footer ---------- */
.ba-footer { margin-top: 48px; padding-top: 48px; background: var(--bg-2); border-top: 1px solid var(--line); }
.ba-footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.ba-footer__brand { grid-column: 1 / -1; }
.ba-footer__brand p { color: var(--muted); font-size: var(--fs-sm); max-width: 46ch; margin-top: 14px; }
@media (min-width: 900px) {
	.ba-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
	.ba-footer__brand { grid-column: auto; }
}
.ba-footer__title { font-size: var(--fs-md); font-weight: 700; margin-bottom: 12px; }
.ba-footer__col ul { list-style: none; margin: 0; padding: 0; }
.ba-footer__col li + li { margin-top: 6px; }
.ba-footer__col a { color: var(--muted); font-size: var(--fs-sm); }
.ba-footer__col a:hover { color: var(--green); }
.ba-footer__bottom { display: grid; gap: 8px; margin-top: 40px; padding-block: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-xs); }
.ba-footer__bottom p { margin: 0; }
.ba-footer__note { display: flex; gap: 10px; align-items: flex-start; }
.ba-18 { flex: none; display: inline-grid; place-items: center; min-width: 34px; height: 24px; border-radius: 6px; border: 1px solid var(--live); color: var(--live); font-weight: 900; font-size: 11px; }

/* ---------- Breadcrumbs, pagination ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; color: var(--muted); font-size: var(--fs-xs); }
.crumbs a:hover { color: var(--green); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--text-2); }

.pagination, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 32px; }
.page-numbers {
	display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px;
	border-radius: 10px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-weight: 700; font-size: var(--fs-sm);
}
a.page-numbers:hover { border-color: var(--green); color: var(--green); }
.page-numbers.current { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.page-numbers.dots { background: none; border: 0; }

/* ---------- Post cards ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 900px) { .grid { gap: 20px; } }
.pcard { position: relative; display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color .18s; }
.pcard:hover { border-color: var(--line-2); }
.pcard__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.03); }
.pcard__ph { display: grid; place-items: center; height: 100%; color: var(--line-2); font-size: 3rem; font-weight: 900; }
.pcard__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px; }
.pcard__cat { align-self: flex-start; color: var(--green); font-size: var(--fs-xs); font-weight: 700; }
.pcard__title { margin: 0; font-size: var(--fs-lg); font-weight: 700; line-height: 1.6; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; }
.pcard__title a:hover { color: var(--green); }
.pcard__cat { position: relative; z-index: 1; }
.pcard__excerpt { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 8px; color: var(--muted); font-size: var(--fs-xs); }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=url], input[type=search], input[type=number], input[type=password], input[type=date], textarea, select {
	width: 100%; min-height: 46px; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; color: var(--text);
	transition: border-color .15s;
}
textarea { min-height: 120px; line-height: 1.8; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--green); }
::placeholder { color: var(--muted); opacity: .8; }
input[type=submit], .submit { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--green); color: var(--green-ink); font-weight: 700; cursor: pointer; }

/* ---------- Article typography ---------- */
.prose { font-size: 1.0625rem; line-height: 2.05; color: var(--text-2); overflow-wrap: anywhere; }
.prose > * { max-width: 72ch; }
.prose h2 { margin: 2em 0 .6em; font-size: var(--fs-2xl); color: var(--text); }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin: 1.6em 0 .5em; font-size: var(--fs-xl); color: var(--text); }
.prose h4 { margin: 1.4em 0 .4em; font-size: var(--fs-lg); color: var(--text); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green); }
.prose img, .prose figure { max-width: 100%; border-radius: var(--r-md); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { color: var(--muted); font-size: var(--fs-sm); text-align: center; margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding: 16px 20px; border-inline-start: 3px solid var(--gold); background: var(--surface); border-radius: var(--r-sm); color: var(--text); }
.prose blockquote p:last-child { margin: 0; }
.prose table, .prose .wp-block-table { display: block; max-width: 100%; overflow-x: auto; font-size: var(--fs-sm); }
.prose table { border: 1px solid var(--line); border-radius: var(--r-sm); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.prose th { background: var(--surface-2); color: var(--text); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--r-md); }
.prose code { padding: 2px 6px; background: var(--surface-2); border-radius: 6px; font-size: .9em; }
.prose .wp-block-button__link { display: inline-flex; padding: 10px 20px; border-radius: 12px; background: var(--green); color: var(--green-ink); text-decoration: none; font-weight: 700; }

/* ---------- Generic pages (Hello templates) ---------- */
.site-main { width: 100%; max-width: calc(860px + var(--gutter) * 2); margin: 0 auto; padding: 32px var(--gutter) 24px; }
.site-main .page-header { margin-bottom: 20px; }
.site-main .entry-title { font-size: var(--fs-3xl); }
.site-main .page-content { font-size: 1.0625rem; line-height: 2.05; color: var(--text-2); }
.site-main .page-content a { color: var(--green); }
body.elementor-page .site-main, body.elementor-template-full-width .site-main { max-width: none; padding: 0; }
body.elementor-page .site-main .page-content { color: inherit; font-size: inherit; line-height: inherit; }

/* ---------- Comments ---------- */
.comments-area, #comments { margin-top: 32px; }
.comments-area .title-comments, .comment-reply-title { font-size: var(--fs-xl); }
.comment-list { list-style: none; margin: 0 0 24px; padding: 0; }
.comment-list .children { list-style: none; padding-inline-start: 20px; border-inline-start: 2px solid var(--line); }
.comment-body { margin-bottom: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: var(--fs-xs); margin-bottom: 6px; }
.comment-author { display: flex; align-items: center; gap: 8px; }
.comment-author img { border-radius: 50%; width: 32px; height: 32px; }
.comment-author .fn { color: var(--text); font-weight: 700; font-style: normal; }
.comment-content { color: var(--text-2); }
.reply a { color: var(--green); font-size: var(--fs-xs); font-weight: 700; }
.comment-form { display: grid; gap: 12px; }
.comment-form label { display: block; margin-bottom: 4px; color: var(--muted); font-size: var(--fs-sm); }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: var(--fs-sm); }
.comment-form-cookies-consent input { width: auto; min-height: 0; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- FAQ accordions ---------- */
.faq-list { display: grid; gap: 10px; }
.faq-list details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); }
.faq-list details[open] { border-color: var(--line-2); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 700; line-height: 1.7; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .ic { flex: none; color: var(--muted); transition: transform .2s; }
.faq-list details[open] summary .ic { transform: rotate(180deg); color: var(--green); }
.faq-list details p { margin: 0; padding: 0 18px 18px; color: var(--text-2); }

/* ---------- Hub pages (sites, predictions) ---------- */
.hub { padding-top: 24px; }
.hub__hero { max-width: 820px; margin-bottom: 24px; }
.hub__hero h1 { font-size: var(--fs-3xl); margin-bottom: 12px; }
.hub__desc { color: var(--text-2); }
.hub__desc a { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.hub__desc p:last-child { margin-bottom: 0; }
.hub__toolbar { display: grid; gap: 10px; margin-bottom: 12px; }
@media (min-width: 600px) { .hub__toolbar { grid-template-columns: 1fr 220px; } }
.hub__search { position: relative; display: block; }
.hub__search .ic { position: absolute; inset: 50% 14px auto auto; transform: translateY(-50%); color: var(--muted); }
.hub__search input { padding-inline-start: 44px; min-height: 50px; }
.hub__sort { display: flex; align-items: center; gap: 8px; }
.hub__sort span { color: var(--muted); font-size: var(--fs-sm); white-space: nowrap; }
.hub__sort select { min-height: 50px; }
.hub__filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; margin-bottom: 8px; }
.hub__filters::-webkit-scrollbar { display: none; }
.hub__filters .chip { min-height: 38px; padding-inline: 14px; cursor: pointer; font-size: var(--fs-sm); }
.hub__filters .chip b { color: var(--muted); font-weight: 500; }
.hub__filters .chip.is-active { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.hub__filters .chip.is-active b { color: inherit; }
.hub__count { margin: 0 0 12px; color: var(--muted); font-size: var(--fs-sm); }

.hub__filters .chip, .mhub__sports .chip { white-space: nowrap; }

/* Segmented control */
.seg { display: inline-flex; padding: 4px; gap: 2px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; }
.seg button { min-height: 38px; padding: 0 16px; border: 0; border-radius: 9px; background: none; color: var(--text-2); font-weight: 700; font-size: var(--fs-sm); }
.seg button:hover { color: var(--text); }
.seg button.is-active { background: var(--green); color: var(--green-ink); }

/* Responsible gambling note */
.note-rg { display: flex; gap: 10px; align-items: flex-start; margin: 32px 0 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: var(--fs-sm); line-height: 1.9; }
.note-rg .ic { color: var(--gold); margin-top: 4px; }

/* ---------- Empty states ---------- */
.empty { padding: 40px 20px; text-align: center; background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r-lg); color: var(--muted); }
.empty h2, .empty h3 { color: var(--text); font-size: var(--fs-xl); }
.empty--sm { padding: 24px 16px; }
.empty p:last-child { margin: 0; }
[hidden] { display: none !important; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 404 ---------- */
.nf { padding: 48px 0 24px; text-align: center; }
.nf__inner { max-width: 640px; }
.nf__code { margin: 0; font-size: clamp(5rem, 3rem + 12vw, 10rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--green); opacity: .9; }
.nf__title { font-size: var(--fs-3xl); margin: 12px 0 8px; }
.nf__text { color: var(--text-2); }
.nf__search { display: flex; gap: 8px; margin: 24px 0 20px; text-align: right; }
.nf__search .hub__search { flex: 1; }
.nf__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.topic { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap; }
.topic .ic { color: var(--green); }
.topic:hover { border-color: var(--green); }
