/*
Theme Name: Strength for Sydney
Theme URI: https://strengthforsydney.org
Author: Strength for Sydney
Description: Theme for Strength for Sydney, an Australian guide to online pokies: pokies guides, banking and bonus pages, game and provider pages, a market top list with cloaked /casino/ links, focus keyword anti-cannibalization, schema, llms.txt, an affiliate centre and automatic import of pages from .md files.
Version: 0.1.1
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: strengthforsydney
*/
/* Strength for Sydney design system
   White base (trust), navy typography, green for verified / licensed,
   warm sand for tips, red ONLY for CTA buttons. */
:root {
  --bg: #ffffff;
  --ink: #0f1b2d;
  --ink-2: #33415c;
  --muted: #5d6b82;
  --line: #e7eaf0;
  --soft: #f6f7fa;
  --sand: #fbf6ec;
  --sand-line: #efe2c6;
  --trust: #0e9f6e;
  --trust-soft: #e8f7f1;
  --gold: #f2b705;
  --cta: #e10600;
  --cta-hover: #b80500;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 6px 24px rgba(15, 27, 45, 0.06);
  --w: 1160px;
  --w-text: 760px;
}

*,
*::before,
*::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 2px; border-radius: 4px; }
.container { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.topbar { background: var(--ink); color: #dfe5ef; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; gap: 10px; min-height: 34px; }
.topbar__link { margin-left: auto; color: #fff; text-decoration: none; font-weight: 600; white-space: nowrap; }
.badge-18 { display: inline-grid; place-items: center; min-width: 30px; height: 22px; border-radius: 999px; border: 1.5px solid currentColor; font-size: 11px; font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.header__logo { text-decoration: none; }
.logo { display: inline-flex; align-items: center; gap: 5px; font-weight: 900; font-size: 23px; letter-spacing: -0.03em; line-height: 1; color: var(--ink); }
.logo__gamblers { background: var(--ink); color: #fff; padding: 4px 8px 5px; border-radius: 8px; transform: rotate(-3deg); display: inline-block; }
.logo__tld { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 0; align-self: flex-end; margin-left: 1px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; border-radius: 8px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
.nav-toggle, .nav-burger { display: none; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__top { padding-right: 4px !important; }
label.nav__top { font-weight: 600; font-size: 15px; color: var(--ink-2); padding: 8px 12px; cursor: pointer; }
.nav__caret { width: 22px; height: 34px; cursor: pointer; display: grid; place-items: center; }
.nav__caret::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg) translateY(-2px); }
.nav__sub-toggle { display: none; }
.nav__sub { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; flex-direction: column; z-index: 30; }
.nav__sub a { display: block; padding: 8px 12px; font-size: 14.5px; white-space: nowrap; }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { display: flex; }
.nav__item:hover .nav__sub--wide, .nav__item:focus-within .nav__sub--wide { display: grid; grid-template-columns: repeat(2, minmax(170px, 1fr)); }

/* ---------- Layout ---------- */
main { padding-bottom: 72px; }
.page-head { background: linear-gradient(180deg, #fbfcfe 0%, #fff 100%); border-bottom: 1px solid var(--line); padding: 18px 0 30px; margin-bottom: 34px; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 48px; align-items: start; }
.layout--single { grid-template-columns: minmax(0, var(--w-text)); justify-content: center; }
.sidebar { position: sticky; top: 92px; display: grid; gap: 18px; min-width: 0; }
.sidebar > * { min-width: 0; overflow-wrap: anywhere; }
mark.verify { background: #fff3b0; color: #6b4e00; padding: 1px 4px; border-radius: 4px; font-size: 0.9em; }
.narrow { max-width: var(--w-text); }

.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: '›'; margin-left: 6px; color: #a5aec0; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(30px, 4.2vw, 46px); font-weight: 800; margin: 0 0 14px; max-width: 22ch; }
h1 .accent { background: linear-gradient(transparent 62%, #d8f2e7 62%); }
.lead { font-size: 19px; color: var(--ink-2); max-width: 62ch; margin: 0 0 18px; }

/* ---------- Meta (EEAT) ---------- */
.meta { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; font-size: 14.5px; margin-top: 8px; }
.meta__person { display: flex; gap: 10px; align-items: center; }
.meta__person a { font-weight: 700; text-decoration: none; }
.meta__person a:hover { text-decoration: underline; }
.meta__label { display: block; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.meta__dates time { font-weight: 600; }
.meta__read { color: var(--muted); }
.avatar { border-radius: 50%; object-fit: cover; flex: none; }
.avatar--initials { display: inline-grid; place-items: center; background: var(--trust-soft); color: var(--trust); font-weight: 800; font-size: 14px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* ---------- Hero image ---------- */
.hero-figure { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); aspect-ratio: 16 / 9; }
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Key facts / TOC ---------- */
.summary { background: var(--trust-soft); border: 1px solid #c9ecdd; border-radius: var(--radius); padding: 18px 22px 8px; margin: 0 0 26px; }
.summary__title { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--trust); margin: 0 0 8px; }
.summary ul { margin: 0; padding: 0; list-style: none; }
.summary li { position: relative; padding-left: 26px; margin-bottom: 10px; font-weight: 500; }
.summary li::before { content: ''; position: absolute; left: 2px; top: 8px; width: 13px; height: 8px; border-left: 2.5px solid var(--trust); border-bottom: 2.5px solid var(--trust); transform: rotate(-45deg); }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; background: #fff; font-size: 15px; }
.toc summary { font-weight: 800; cursor: pointer; }
.toc ol { margin: 10px 0 2px; padding-left: 20px; }
.toc li { margin: 5px 0; }
.toc a { text-decoration: none; color: var(--ink-2); }
.toc a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Body text ---------- */
.prose { font-size: 17.5px; }
.prose > * { max-width: var(--w-text); }
.prose h2 { font-size: 28px; margin: 46px 0 12px; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; margin: 30px 0 8px; scroll-margin-top: 96px; }
.prose h4 { font-size: 18px; margin: 22px 0 6px; }
.prose p { margin: 0 0 16px; }
.prose a { color: #0b4fd6; text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 600; }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--trust); font-weight: 700; }
.prose strong { font-weight: 700; }
.prose blockquote { margin: 22px 0; padding: 4px 20px; border-left: 4px solid var(--line); color: var(--ink-2); }
.table-wrap { overflow-x: auto; margin: 22px 0 26px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table-wrap th, .table-wrap td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap thead th { background: var(--soft); font-weight: 700; }
.table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap p { margin: 0; }

/* Callout boxes: OG tip / Important / How to verify */
.callout { position: relative; margin: 26px 0; padding: 18px 20px 14px 20px; border-radius: var(--radius); }
.callout p:last-child { margin-bottom: 0; }
.callout__label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.callout--tip { background: var(--sand); border: 1px solid var(--sand-line); }
.callout--tip .callout__label::before { content: '💡'; font-size: 15px; }
.callout--warn { background: #fff8e6; border: 1px solid #f3dc9c; }
.callout--warn .callout__label { color: #8a5a00; }
.callout--warn .callout__label::before { content: '!'; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #b7791f; color: #fff; font-size: 12px; }
.callout--verify { background: #f2f6ff; border: 1px solid #d6e2ff; }
.callout--verify .callout__label { color: #1c3fa8; }
.callout--verify .callout__label::before { content: '🔍'; font-size: 14px; }

/* ---------- CTA - the only red on the site ---------- */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--cta); color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; padding: 14px 22px; border-radius: 12px; box-shadow: 0 6px 16px rgba(225, 6, 0, 0.22); transition: background 0.15s, transform 0.15s; white-space: nowrap; }
.cta:hover { background: var(--cta-hover); transform: translateY(-1px); }
.cta--sm { font-size: 14.5px; padding: 10px 16px; border-radius: 10px; }
.prose a.cta, .prose a.cta:hover { color: #fff; text-decoration: none; }
.fineprint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 8px; }

/* ---------- Brand ---------- */
.brand-badge { border-radius: 16px; object-fit: contain; background: #fff; flex: none; }
.brand-badge--text { display: inline-grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px; letter-spacing: -0.02em; text-transform: uppercase; padding: 4px; text-align: center; line-height: 1.05; }
.licence-stamp { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--trust); background: var(--trust-soft); padding: 4px 10px; border-radius: 999px; }
.chip { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.chip--sm { font-size: 11.5px; padding: 1px 8px; }
.chip--muted { color: var(--muted); }
.brand-hero { display: grid; grid-template-columns: 1.3fr auto 1.2fr; gap: 26px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow); margin: 22px 0 6px; }
.brand-hero__id { display: flex; gap: 16px; align-items: center; }
.brand-hero__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.brand-hero__score { display: grid; justify-items: center; gap: 4px; padding: 0 18px; border-left: 1px dashed var(--line); border-right: 1px dashed var(--line); }
.brand-hero__score-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.brand-hero__offer p { margin: 0 0 10px; }
.brand-hero__offer strong { font-size: 16px; }
.score-ring { position: relative; display: inline-grid; place-items: center; }
.score-ring svg { position: absolute; inset: 0; }
.score-ring__value { position: relative; font-weight: 900; font-size: 22px; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.toplist .score-ring__value { font-size: 16px; }

.brand-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
.brand-nav a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--ink-2); padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; }
.brand-nav a:hover { border-color: #cbd2de; background: var(--soft); }
.brand-nav a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* License badges ("OG Verified" style), review type, CTA note */
.lic-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.lic-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--trust); background: var(--trust-soft); border: 1px solid #c9ecdd; padding: 3px 10px 3px 8px; border-radius: 999px; text-decoration: none; white-space: nowrap; line-height: 1.5; }
a.lic-badge:hover { background: #d6f1e5; }
.lic-badge--plain { color: var(--ink-2); background: var(--soft); border-color: var(--line); }
.lic-badge--reported, a.lic-badge--reported:hover { color: var(--ink-2); background: var(--soft); border: 1px dashed var(--line); }
.review-type { display: inline-block; font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--soft); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.review-type--hands-on { color: var(--ink); border-color: var(--ink); }
a.review-type:hover { border-color: #cbd2de; }
.brand-hero__labels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cta-block { display: grid; gap: 6px; justify-items: start; }
.cta-note a { color: inherit; }
.lic-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lic-rows li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; align-items: start; }
.lic-row__text { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 14px; color: var(--ink-2); }
.lic-row__reg { font-weight: 700; color: var(--ink); }
.lic-row__text a { font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
details.more { display: inline; }
details.more summary { display: inline; cursor: pointer; color: var(--muted); font-weight: 600; }

.rating-box, .facts, .side-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; }
.rating-box h2, .facts h2 { font-size: 18px; margin: 0 0 12px; }
.rating-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rating-box li { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(40px, 1fr) 30px; align-items: center; gap: 10px; font-size: 14px; line-height: 1.3; }
.rating-box__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rating-box__head h2 { margin: 0; }
.rating-box__overall { font-size: 15px; color: var(--muted); font-weight: 600; }
.rating-box__overall strong { font-size: 28px; color: var(--trust); font-weight: 900; }
.rating-box__type { margin: 4px 0 12px; }
.rating-box__label small { color: var(--muted); font-weight: 600; }
.bar { height: 8px; background: #eef0f4; border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #12b981, var(--trust)); border-radius: 999px; }
.rating-box strong { text-align: right; font-variant-numeric: tabular-nums; }
.facts dl { margin: 0; display: grid; gap: 0; }
.facts { margin: 0 0 26px; }
.facts dl > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; font-weight: 500; }
.side-card h3 { margin: 0 0 8px; font-size: 16px; }
.side-card .cta { width: 100%; }
.side-card .cta-block { justify-items: stretch; }

/* Compact brand card (cluster pages) and brand cards (reviews hub, topic hubs, license pages) */
.brand-card { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 16px 18px; display: grid; gap: 10px; align-content: start; }
.brand-card--compact { margin: 16px 0 0; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 20px; box-shadow: var(--shadow); }
.brand-card__id { display: flex; gap: 12px; align-items: center; }
.brand-card__name { display: block; font-weight: 800; font-size: 17px; text-decoration: none; color: var(--ink); }
.brand-card__score { display: block; font-size: 13.5px; color: var(--muted); }
.brand-card__score strong { color: var(--trust); font-size: 16px; }
.brand-card__chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.brand-card__ring { white-space: nowrap; margin-left: auto; display: grid; justify-items: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.brand-card__ring .score-ring__value { font-size: 15px; }
.brand-card__note { margin: 0; font-size: 14px; color: var(--ink-2); }
.brand-card__act { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.brand-card--compact .brand-card__act { justify-content: flex-end; }
.brand-card--compact .cta-block { justify-items: end; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.brand-grid > [hidden] { display: none; }
.review-dir { margin: 10px 0 34px; }
.review-dir h2 { display: flex; align-items: center; gap: 10px; }
.review-dir__tools { display: grid; gap: 10px; margin: 0 0 18px; }
.review-dir__label { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); align-self: center; margin-right: 4px; }
.license-dir__chip small { font-weight: 600; opacity: 0.7; }
.related--secondary { margin-top: 30px; }
.related--secondary h3 { font-size: 17px; color: var(--ink-2); margin: 0 0 10px; }
.related--secondary .related__card { padding: 10px 14px; }
.related--secondary .related__card strong { font-size: 15px; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 8px 0 30px; max-width: var(--w-text); }
.pros-cons > div { border-radius: var(--radius); padding: 16px 18px; }
.pros { background: var(--trust-soft); }
.cons { background: #fff6f5; }
.pros-cons h3 { margin: 0 0 8px; font-size: 16px; }
.pros-cons ul { margin: 0; padding: 0; list-style: none; font-size: 15.5px; }
.pros-cons li { padding-left: 24px; position: relative; margin-bottom: 7px; }
.pros li::before { content: '+'; position: absolute; left: 2px; font-weight: 900; color: var(--trust); }
.cons li::before { content: '\2212'; position: absolute; left: 3px; font-weight: 900; color: var(--muted); }

/* ---------- Top list ---------- */
.toplist { margin: 10px 0 36px; }
.toplist h2 { font-size: 28px; }
.toplist ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.toplist__item { display: grid; grid-template-columns: 30px 56px 1fr auto auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; background: #fff; transition: box-shadow 0.15s, border-color 0.15s; }
.toplist__item:hover { box-shadow: var(--shadow); border-color: #d7dce6; }
.toplist__rank { font-weight: 900; font-size: 20px; color: #b7bfcd; text-align: center; }
.toplist__main { display: grid; gap: 3px; min-width: 0; }
.toplist__name { font-size: 18px; }
.toplist__bonus { font-size: 14.5px; color: var(--ink-2); }
.toplist__chips { display: flex; gap: 5px; flex-wrap: wrap; }
.toplist__actions { display: grid; gap: 6px; justify-items: center; }
.link-more { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.link-more--muted { color: var(--muted); font-weight: 500; text-decoration: none; }

/* ---------- Home ---------- */
.home-hero { padding: 46px 0 34px; background: radial-gradient(1200px 380px at 85% -10%, #eef2fb 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(900px 320px at 0% 0%, #eefaf5 0%, rgba(255, 255, 255, 0) 60%); border-bottom: 1px solid var(--line); }
.home-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 44px; align-items: center; }
.home-hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 18ch; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.trust-row span::before { content: '✓'; color: var(--trust); font-weight: 900; margin-right: 6px; }
.home-hero .hero-figure { margin: 0; }
.pillars { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; margin: 34px 0 10px; }
.pillar { text-decoration: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; display: grid; gap: 4px; transition: box-shadow 0.15s; }
.pillar:hover { box-shadow: var(--shadow); }
.pillar__icon { font-size: 22px; }
.pillar strong { font-size: 17px; }
.pillar span { font-size: 14px; color: var(--muted); }

/* ---------- FAQ / author / related ---------- */
.faq { margin-top: 46px; max-width: var(--w-text); }
.faq h2 { font-size: 28px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 15px 28px 15px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 12px; font-size: 22px; color: var(--muted); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: 0 0 16px; color: var(--ink-2); }
.author-box { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius); padding: 18px 20px; margin-top: 40px; max-width: var(--w-text); }
.author-box__name { display: block; font-weight: 800; font-size: 18px; text-decoration: none; }
.author-box__role { font-size: 14px; color: var(--muted); }
.author-box p { margin: 6px 0 0; font-size: 15px; }
.related { margin-top: 44px; }
.home-body { margin-top: 44px; }
.related h2 { font-size: 22px; }
.related__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.related__card { display: grid; gap: 4px; text-decoration: none; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.related__card:hover { border-color: #cbd2de; box-shadow: var(--shadow); }
.related__card span { font-size: 14px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #0b1424; color: #c9d2e0; padding: 46px 0 22px; font-size: 14.5px; }
.site-footer .logo { color: #fff; }
.site-footer .logo__gamblers { background: #fff; color: var(--ink); }
.site-footer .logo__tld { color: #94a1b8; }
.footer__grid { display: grid; grid-template-columns: minmax(240px, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; align-items: start; }
.footer__grid h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 10px; }
.footer__grid a { display: block; color: #c9d2e0; text-decoration: none; margin-bottom: 7px; }
.footer__grid a:hover { color: #fff; }
.footer__tag { color: #fff; font-weight: 600; margin: 12px 0 6px; }
.footer__small { font-size: 13px; color: #94a1b8; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; border-top: 1px solid #1d2a40; margin-top: 30px; padding-top: 18px; font-size: 12.5px; color: #94a1b8; }

/* ---------- Author page ---------- */
.author-head { display: flex; gap: 22px; align-items: center; }
.expertise { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__grid > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 1020px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .brand-hero { grid-template-columns: 1fr auto; }
  .brand-hero__offer { grid-column: 1 / -1; }
  .brand-hero__score { border: 0; }
  .home-hero__grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .topbar__inner span:nth-child(2) { display: none; }
  .nav-burger { display: grid; gap: 5px; margin-left: auto; cursor: pointer; padding: 10px; }
  .nav-burger span { width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav a { padding: 12px 8px; font-size: 16px; }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav { max-height: calc(100vh - 110px); overflow-y: auto; }
  .nav__item { flex-wrap: wrap; }
  .nav__top { flex: 1; }
  label.nav__top { padding: 12px 8px; font-size: 16px; }
  .nav__caret { width: 44px; height: 44px; }
  .nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub, .nav__item:hover .nav__sub--wide, .nav__item:focus-within .nav__sub--wide { display: none; }
  .nav__sub { position: static; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; min-width: 0; width: 100%; padding: 0 0 6px 12px; }
  .nav__sub a { padding: 9px 8px; font-size: 15px; }
  .nav__item .nav__sub-toggle:checked ~ .nav__sub { display: flex; }
  .nav__item .nav__sub-toggle:checked ~ .nav__sub--wide { display: grid; grid-template-columns: 1fr 1fr; }
  .header__inner { position: relative; }
  .prose h2 { font-size: 24px; }
  .toplist__item { grid-template-columns: 26px 48px 1fr auto; gap: 12px; }
  .toplist__actions { grid-column: 1 / -1; grid-template-columns: 1fr auto; align-items: center; }
  .toplist__actions .cta { width: 100%; }
  .pros-cons { grid-template-columns: 1fr; }
  .brand-hero { padding: 18px; }
  .brand-hero .cta { width: 100%; }
  .brand-hero .cta-block { justify-items: stretch; }
  .brand-hero { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .brand-hero__id { min-width: 0; align-items: flex-start; }
  .brand-hero__id .brand-badge { width: 48px !important; height: 48px !important; font-size: 13px; }
  .brand-hero__score { padding: 0; }
  .brand-card--compact { grid-template-columns: 1fr; }
  .brand-card--compact .brand-card__act, .brand-card--compact .cta-block { justify-content: stretch; justify-items: stretch; }
  .brand-card--compact .cta { width: 100%; }
  .facts dl > div { grid-template-columns: 1fr; gap: 2px; }
  .pillars { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}
.sr-only{position:absolute;left:-9999px}.sr-only:focus{left:12px;top:12px;z-index:99;background:#fff;padding:8px 12px}

/* ---------- WordPress ---------- */
.nav a[aria-current] { color: var(--ink); background: var(--soft); }
.prose img { border-radius: var(--radius-sm); margin: 18px 0; }
.prose figure { margin: 22px 0; }
.prose figcaption, .wp-caption-text { font-size: 14px; color: var(--muted); margin-top: 6px; }
.alignleft { float: left; margin: 0 18px 12px 0; }
.alignright { float: right; margin: 0 0 12px 18px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.prose code { background: var(--soft); padding: 1px 6px; border-radius: 5px; font-size: 0.92em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.related ul { padding-left: 20px; }
.related li { margin-bottom: 8px; }
.pagination, .nav-links { display: flex; gap: 8px; margin: 30px 0; }

/* ---------- Buttons (navy, never red: red is reserved for CTA) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; padding: 11px 18px; border-radius: 10px; border: 2px solid var(--ink); line-height: 1.2; transition: background 0.15s, color 0.15s; }
.btn--navy { background: var(--ink); color: #fff; }
.btn--navy:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.btn--outline { background: #fff; color: var(--ink); }
.btn--outline:hover { background: var(--soft); }
.btn svg { flex: none; }
.btn.btn--sm { font-size: 14px; padding: 8px 14px; border-radius: 9px; border-width: 1.5px; }
.prose a.btn, .prose a.btn:hover { text-decoration: none; font-weight: 700; }
.prose a.btn--navy, .prose a.btn--navy:hover { color: #fff; }
.prose a.btn--outline { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }

/* ---------- Facts last checked stamp ---------- */
.checked-stamp { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--trust); background: var(--trust-soft); padding: 4px 11px; border-radius: 999px; margin-top: 12px; }
.checked-stamp::before { content: '✓'; font-weight: 900; }

/* ---------- Sources ---------- */
.sources { margin-top: 40px; max-width: var(--w-text); border-top: 1px solid var(--line); padding-top: 8px; }
.sources h2 { font-size: 20px; margin: 18px 0 10px; }
.sources ol { margin: 0; padding-left: 22px; font-size: 15px; }
.sources li { margin-bottom: 6px; overflow-wrap: anywhere; }
.sources a { color: #0b4fd6; font-weight: 600; text-underline-offset: 3px; }
.sources .sources__host { color: var(--muted); font-size: 13px; margin-left: 4px; }

/* ---------- License fact box ---------- */
.license-box { border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); padding: 20px 22px; margin: 0 0 30px; max-width: var(--w-text); }
.license-box__head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.license-box__seal { flex: none; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 900; font-size: 17px; letter-spacing: -0.02em; text-align: center; line-height: 1.05; padding: 4px; }
.license-box__title { font-size: 19px; font-weight: 800; margin: 0; line-height: 1.25; }
.license-box__sub { font-size: 14px; color: var(--muted); }
.license-box dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.license-box dl > div { display: grid; grid-template-columns: 128px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.license-box dl > div.is-wide { grid-column: 1 / -1; }
.license-box dt { color: var(--muted); font-weight: 600; }
.license-box dd { margin: 0; font-weight: 500; }
.license-box dd a { color: var(--ink); font-weight: 700; }
.license-box .btn-row { margin: 18px 0 4px; }
.license-box__legend { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.license-box__legend a { color: var(--ink-2); }
.rating-pill { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 2px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }
.rating-pill--high { background: var(--trust-soft); color: var(--trust); }
.rating-pill--medium { background: #fdf3d6; color: #8a6100; }
.rating-pill--low { background: #eef0f4; color: var(--ink-2); }
.status-pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); color: var(--ink-2); }
.status-pill--active { background: var(--trust-soft); border-color: #c9ecdd; color: var(--trust); }

/* ---------- License directory (hub) ---------- */
.license-dir { margin: 0 0 34px; }
.license-dir__tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 18px; }
.license-dir__search { flex: 1 1 240px; font: inherit; font-size: 16px; padding: 10px 14px; border: 1px solid #cfd5df; border-radius: 10px; background: #fff; color: var(--ink); }
.license-dir__search:focus { outline: 2px solid var(--trust); outline-offset: 1px; border-color: transparent; }
.license-dir__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.license-dir__chip { font: inherit; font-size: 13.5px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--soft); color: var(--ink-2); cursor: pointer; }
.license-dir__chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.license-dir__region { scroll-margin-top: 96px; }
.license-dir__region h2 { font-size: 24px; margin: 30px 0 4px; }
.license-dir__region .table-wrap { margin-top: 10px; }
.license-dir td a { font-weight: 700; color: var(--ink); }
.license-dir .table-wrap td:first-child { min-width: 200px; }
.license-dir .status-pill, .license-dir .rating-pill { white-space: nowrap; }
.license-dir__count { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.license-dir__empty { color: var(--muted); font-size: 15px; }
.license-dir [hidden] { display: none !important; }

@media (max-width: 760px) {
  .license-box dl { grid-template-columns: 1fr; }
  .license-box dl > div { grid-template-columns: 112px 1fr; }
  .license-dir .table-wrap th:nth-child(3), .license-dir .table-wrap td:nth-child(3), .license-dir .table-wrap th:nth-child(4), .license-dir .table-wrap td:nth-child(4) { display: none; }
  .license-dir .table-wrap td:first-child { min-width: 0; }
  .license-dir .table-wrap th, .license-dir .table-wrap td { padding: 10px 10px; }
  .license-dir .table-wrap table { table-layout: fixed; }
  .license-dir .table-wrap th:nth-child(1) { width: 42%; }
  .license-dir .table-wrap th:nth-child(2) { width: 29%; }
  .license-dir .table-wrap th:nth-child(5) { width: 29%; }
  .license-dir .table-wrap th { font-size: 13px; }
  .license-dir .table-wrap td { overflow-wrap: break-word; hyphens: auto; }
  .license-dir .rating-pill { padding-left: 7px; padding-right: 7px; }
}

/* ---------- Evergreen hubs: jump links, grouped cards, glossary A-Z ---------- */
.hub-jump, .az-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 26px; }
.az-nav__label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-right: 4px; }
.hub-jump a { font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink-2); padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); }
.hub-jump a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.az-nav a, .az-nav span:not(.az-nav__label) { display: inline-grid; place-items: center; min-width: 34px; height: 34px; border-radius: 8px; font-weight: 800; font-size: 15px; text-decoration: none; }
.az-nav a { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.az-nav a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.az-nav span:not(.az-nav__label) { color: #c3c9d4; }
.hub-cards { margin-top: 40px; }
.hub-cards h2 { font-size: 22px; margin: 34px 0 14px; scroll-margin-top: 90px; }
.hub-cards__count { font-size: 14px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.related__card--tool strong::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--trust); margin-right: 8px; vertical-align: middle; }
.az { margin-top: 40px; }
.az h2 { font-size: 24px; }
.az__letter { border-top: 1px solid var(--line); padding: 14px 0 6px; scroll-margin-top: 90px; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; }
.az__letter h3 { margin: 0; font-size: 28px; font-weight: 900; color: var(--trust); line-height: 1.1; }
.az__letter ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px 20px; }
.az__letter li { margin: 0 0 10px; line-height: 1.35; }
.az__letter a { font-weight: 700; text-decoration: none; color: var(--ink); }
.az__letter a:hover { text-decoration: underline; }
.az__letter li span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.az__top { font-size: 14px; margin-top: 10px; }

/* ---------- Calculators (tool: pages) ---------- */
.calc { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 20px 22px 14px; margin: 0 0 30px; }
.calc__title { font-size: 20px; margin: 0 0 12px; }
.calc fieldset { border: 0; padding: 0; margin: 0 0 10px; min-width: 0; }
.calc legend { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); padding: 0; margin-bottom: 6px; }
.calc__grid, .calc__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px 14px; margin-bottom: 12px; }
.calc__rows { display: grid; gap: 0; }
.calc__row { padding-top: 10px; border-top: 1px dashed var(--line); }
.calc__field { display: grid; gap: 4px; align-content: start; }
.calc__field label { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.calc__field input, .calc__field select { font: inherit; font-size: 16px; color: var(--ink); width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid #cfd6e2; border-radius: var(--radius-sm); background: #fff; }
.calc__field input:focus, .calc__field select:focus { border-color: var(--ink); outline: 3px solid #c7d7fe; outline-offset: 0; }
.calc__check { grid-template-columns: auto 1fr; align-items: center; align-self: end; gap: 8px; min-height: 44px; }
.calc__check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--ink); }
.calc__btns { margin: 4px 0 10px; }
.calc__btns button { cursor: pointer; font-family: inherit; }
.calc__hint { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.calc__out { display: block; background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.calc__res { margin: 0; display: grid; gap: 0; }
.calc__res > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.calc__res > div:last-child { border-bottom: 0; }
.calc__res dt { color: var(--ink-2); }
.calc__res dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.calc__res .is-key dd { color: var(--trust); font-size: 17px; font-weight: 800; }
.calc__out .table-wrap { margin: 12px 0 4px; background: #fff; }
.calc__out td { font-variant-numeric: tabular-nums; }
.calc__err { margin: 0; color: #8a5a00; font-weight: 600; font-size: 15px; }
.calc__warn { background: #fff8e6; border: 1px solid #f3dc9c; border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14.5px; margin: 0 0 12px; }
.calc [hidden] { display: none !important; }
.calc .fineprint a { color: inherit; }

@media (max-width: 760px) {
  .calc { padding: 16px 14px 10px; }
  .calc__grid, .calc__row { grid-template-columns: 1fr 1fr; }
  .calc__res > div { font-size: 14.5px; }
  .az__letter { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 420px) {
  .calc__grid { grid-template-columns: 1fr; }
}

.footer__legal { margin-left: auto; display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a { color: #94a1b8; text-decoration: none; }
.footer__legal a:hover { color: #fff; }

/* Brand directory (/gambling-sites) */
.chip--ok { color: var(--trust); background: var(--trust-soft); border-color: transparent; }
.directory__filters { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: end; margin: 0 0 16px; }
.directory__filters label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.directory__filters input, .directory__filters select { font: inherit; font-weight: 400; padding: 8px 10px; border: 1px solid var(--line, #DDE2EA); border-radius: 8px; min-width: 180px; background: #fff; }
.directory__count { font-size: 13px; color: var(--muted); padding-bottom: 10px; }
.directory td code { font-size: 12px; white-space: nowrap; }
.directory tr[hidden] { display: none; }

/* News hub: newest first, date + title + excerpt */
.news-list ul { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-list time { display: block; font-size: 13px; font-weight: 700; color: var(--muted); }
.news-list a { font-weight: 800; font-size: 18px; }
.news-list span { display: block; margin-top: 4px; color: var(--muted); }
