/* Inter, self-hosted from /fonts (SIL Open Font License 1.1, see /fonts/OFL.txt).
   No request leaves the site. latin-ext covers Polish (ą ć ę ł ń ó ś ź ż). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --accent-light: #ff9aa4;
  --accent-soft: #fdecee;
  --navy: #12233d;
  --navy-2: #1c3357;
  --red: #d62839;
  --red-dark: #b81f2e;
  --ink: #1a2230;
  --muted: #5b6676;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --ok: #1f8a4c;
  --ok-bg: #e8f6ee;
  --bad: #c62f3b;
  --bad-bg: #fdecee;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(18, 35, 61, 0.08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
section[id], [id].test-wrap { scroll-margin-top: 72px; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 56px 0; }
.soft { background: var(--bg-soft); }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-primary[disabled], .btn-primary[aria-disabled="true"] { background: #e9a1a7; cursor: not-allowed; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); }
.btn-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-white:hover { border-color: #fff; }
.btn-lg { min-height: 56px; padding: 14px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(6px); border-bottom: 1px solid var(--line); }
.site-header { z-index: 200; }
.header-inner { display: flex; align-items: center; justify-content: flex-start; gap: 16px; height: 64px; }
.logo img { height: 44px; width: auto; }
.nav { margin-left: auto; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 1.1rem; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--red); }
.nav .btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--navy); min-width: 44px; min-height: 44px; }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
}

/* Hero */
.hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(230,57,70,.35), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 820px; }
.hero p { color: #d3dbe7; font-size: 1.15rem; max-width: 680px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #d3dbe7; font-size: .95rem; }
.ticks li::before { content: "✓ "; color: #7fd6a0; font-weight: 800; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.hero .eyebrow { color: #ffb3b9; }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.test-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.test-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(18,35,61,.13); }
.test-card .tc-icon { font-size: 2rem; margin-bottom: 10px; }
.test-card h3 { margin-bottom: 6px; }
.test-card p { color: var(--muted); margin: 0 0 16px; flex: 1; }
.test-card .tc-foot { display: flex; justify-content: space-between; align-items: center; font-weight: 700; }
.test-card .tc-price { color: var(--navy); }
.test-card .tc-go { color: var(--red); }
.steps { counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 24px; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; transform: translateY(16px); }
.step { padding: 72px 24px 24px; }
.price-box { max-width: 520px; margin: 0 auto; text-align: center; }
.price-big { font-size: 2.6rem; font-weight: 800; color: var(--navy); margin: 6px 0; }
.price-box ul { text-align: left; list-style: none; padding: 0; margin: 18px 0; }
.price-box li { padding: 7px 0 7px 28px; position: relative; }
.price-box li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.compare { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: .95rem; }
.compare th, .compare td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.compare th { background: var(--bg-soft); }
.compare tbody th { background: none; font-weight: 400; }
.related-list { margin-top: 0; }
#faq .faq + h3 { margin-top: 36px; }
.table-scroll { overflow-x: auto; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; padding-right: 30px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.4rem; color: var(--red); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

/* Category page */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 24px 0 0; }
.fact { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 12px 14px; }
.fact strong { display: block; font-size: 1.35rem; color: #fff; }
.fact span { font-size: .85rem; color: #c3cddb; }
.content h2 { margin-top: 1.4em; }
.content ul, .content ol { padding-left: 1.2em; }
.content li { margin: 4px 0; }
.content table { width: 100%; border-collapse: collapse; margin: 14px 0; display: block; overflow-x: auto; }
.content th, .content td { border-bottom: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.content th { background: var(--bg-soft); }
.callout { border-left: 4px solid var(--red); background: var(--bg-soft); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.buy-box { border: 2px solid var(--navy); }
.buy-box .price-big { margin: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); margin: 16px 0; text-align: left; }
.consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; accent-color: var(--red); }
.consent-msg { color: var(--bad); font-size: .85rem; min-height: 1.2em; margin: 6px 0 0; }
.pay-methods { font-size: .85rem; color: var(--muted); margin-top: 10px; }
.sources { font-size: .85rem; color: var(--muted); }

/* Test engine */
.test-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; min-height: 260px; scroll-margin-top: 80px; }
.te-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .9rem; color: var(--muted); }
.te-section { background: var(--bg-soft); border-radius: 20px; padding: 3px 12px; font-weight: 600; color: var(--navy); }
.te-timer { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--navy); background: var(--bg-soft); padding: 4px 12px; border-radius: 8px; }
.te-timer-low { color: #fff; background: var(--red); }
.te-bar { height: 6px; background: var(--bg-soft); border-radius: 6px; margin: 12px 0 20px; overflow: hidden; }
.te-bar span { display: block; height: 100%; background: var(--red); transition: width .2s; }
.te-q { font-size: 1.15rem; font-weight: 600; margin: 0 0 18px; white-space: pre-wrap; }
.te-opts { display: grid; gap: 10px; }
.te-opt { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: 100%; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; color: inherit; cursor: pointer; min-height: 52px; }
.te-opt:hover:not([disabled]) { border-color: var(--navy-2); }
.te-letter { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.te-chosen { border-color: var(--navy); background: #f0f4fa; }
.te-chosen .te-letter { background: var(--navy); color: #fff; }
.te-right { border-color: var(--ok); background: var(--ok-bg); }
.te-right .te-letter { background: var(--ok); color: #fff; }
.te-wrong { border-color: var(--bad); background: var(--bad-bg); }
.te-wrong .te-letter { background: var(--bad); color: #fff; }
.te-opt[disabled] { cursor: default; }
.te-feedback { margin-top: 16px; padding: 14px 16px; border-radius: 10px; }
.te-feedback.ok { background: var(--ok-bg); }
.te-feedback.bad { background: var(--bad-bg); }
.te-feedback p { margin: 6px 0 0; }
.te-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.te-result { text-align: center; }
.te-score-label { color: var(--muted); margin: 0; }
.te-score { font-size: 2.4rem; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.te-score span { font-size: 1.2rem; color: var(--muted); }
.te-timeup { background: var(--bad-bg); padding: 10px; border-radius: 8px; }
.te-note { color: var(--muted); }
.te-sections { list-style: none; padding: 0; text-align: left; max-width: 520px; margin: 0 auto; }
.te-sections li { display: grid; grid-template-columns: 1fr 120px 52px; gap: 10px; align-items: center; padding: 6px 0; font-size: .92rem; }
.te-sbar { height: 8px; background: var(--bg-soft); border-radius: 8px; overflow: hidden; }
.te-sbar span { display: block; height: 100%; background: var(--ok); }
.te-review { text-align: left; margin-top: 22px; }
.te-review summary { cursor: pointer; font-weight: 700; }
.te-review li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.te-review li.bad .te-rq::before { content: "✗ "; color: var(--bad); }
.te-review li.ok .te-rq::before { content: "✓ "; color: var(--ok); }
.te-rq { font-weight: 600; white-space: pre-wrap; }
.te-exp { color: var(--muted); }
.te-result .te-nav { justify-content: center; }
.te-upsell { margin: 22px auto 0; max-width: 520px; }
.mode-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-bottom: 18px; }
.mode-pick button { text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 10px; padding: 14px; font: inherit; cursor: pointer; }
.mode-pick button strong { display: block; color: var(--navy); }
.mode-pick button span { font-size: .88rem; color: var(--muted); }
.mode-pick button:hover { border-color: var(--red); }
.section-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.section-pick button { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 8px 14px; font: inherit; font-size: .9rem; cursor: pointer; }
.spinner { width: 40px; height: 40px; border: 4px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin .8s linear infinite; margin: 30px auto 14px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer */
.site-footer { background: var(--navy); color: #c3cddb; padding: 48px 0 28px; font-size: .92rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.footer-cols h2 { color: #fff; margin: 0 0 10px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { padding: 4px 0; }
.disclaimer { border-top: 1px solid rgba(255,255,255,.15); margin-top: 28px; padding-top: 18px; font-size: .82rem; line-height: 1.6; }
.linklike { background: none; border: 0; padding: 0; color: #fff; font: inherit; cursor: pointer; }
.linklike:hover { text-decoration: underline; }

/* Cookie banner */
#cookie-banner { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1100; max-width: 720px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 40px rgba(0,0,0,.2); padding: 18px 20px; font-size: .92rem; }
#cookie-banner p { margin: 0 0 12px; }
.cb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cb-btn { background: var(--navy); color: #fff; border-color: var(--navy); }
.cb-btn:hover { background: var(--navy-2); }

/* Legal pages */
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal ol, .legal ul { padding-left: 1.3em; }
.review-flag { background: #fff6d6; border: 1px solid #f0d77a; padding: 12px 16px; border-radius: 10px; font-size: .9rem; }

@media (max-width: 560px) {
  section { padding: 44px 0; }
  .hero { padding: 48px 0 44px; }
  .test-wrap { padding: 18px 14px; }
  .te-sections li { grid-template-columns: 1fr 70px 44px; }
  .hero-ctas .btn { width: 100%; }
}

/* NZ best-practice layout pieces: flow line, breadcrumbs, topic box, worked examples */
.hero-flow { font-size: .92rem; color: #c3cddb; margin: 0 0 4px; }
.crumbs { font-size: .88rem; color: var(--muted); padding: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--navy-2); }
.topic-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 16px 0 0; }
.topic-box ul { margin: 8px 0 0; padding-left: 1.2em; }
.topic-box li { margin: 4px 0; }
.worked { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 16px 0; }
.worked .tag { display: inline-block; font-size: .78rem; font-weight: 700; background: var(--bg-soft); color: var(--navy); border-radius: 20px; padding: 2px 10px; margin-bottom: 6px; }
.worked ol { margin: 8px 0; }
.worked .ans { background: var(--ok-bg); border-radius: 8px; padding: 10px 12px; font-size: .95rem; }

/* Homepage test groups: small uppercase label with a rule, like the NZ site. */
.test-groups { margin-top: 32px; display: grid; gap: 0; }
.test-groups .test-group { margin: 36px 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.test-groups .test-group:first-child { margin-top: 0; }
.trust-ticks { margin-top: 14px; }

/* How it works: 4 numbered steps, same structure as the NZ TestReady homepage. */
.how { background: var(--bg); }
.how .lead { margin-bottom: 0; }
.how-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 880px; margin: 36px auto 0; }
.how-step { text-align: center; padding: 8px; }
.how-num { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.how-step h3 { font-size: 1rem; margin-bottom: 8px; }
.how-step p { font-size: .9rem; color: var(--muted); line-height: 1.6; margin: 0; }
@media (max-width: 700px) { .how-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .how-steps { grid-template-columns: 1fr; } }

/* Test tiles: photo, "try free" tag, name, description, aligned-to line, pills, price row (NZ structure). */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1100px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tile-grid { grid-template-columns: 1fr; } }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tile-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.tile:hover .tile-photo img { transform: scale(1.04); }
.tile-tag { position: absolute; top: 10px; left: 10px; background: var(--red); color: #fff; font-size: .66rem; font-weight: 700; padding: 3px 9px; border-radius: 20px; letter-spacing: .03em; }
.tile-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.test-card .tile-name { font-size: .98rem; font-weight: 800; margin: 0 0 6px; line-height: 1.25; text-wrap: balance; }
.test-card .tile-desc { font-size: .82rem; line-height: 1.55; margin: 0 0 8px; flex: none; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.test-card .tile-aligned { font-size: .74rem; color: #176b3a; font-weight: 600; margin: 0 0 10px; line-height: 1.45; flex: 0; }
.tile-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tile-pills span { background: var(--bg-soft); color: var(--navy); font-size: .66rem; font-weight: 700; padding: 3px 8px; border-radius: 10px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.tile .tc-foot { border-top: 1px solid var(--line); padding-top: 10px; margin-top: auto; font-size: .85rem; }
.tile .tc-price small { display: block; font-size: .7rem; font-weight: 400; color: var(--muted); }

/* Practice questions with answers, collapsed by default. */
.qa details summary { font-weight: 600; }
.qa .qa-body { padding: 4px 0 8px; }
.qa .qa-body ol { margin: 6px 0 10px; }
.qa .ans { background: var(--ok-bg); border-radius: 8px; padding: 10px 12px; margin: 0; }

/* ===== NZ-mirror layout (2026-10-10) ===== */
.eyebrow { font-size: .72rem; }
.center > .eyebrow { display: block; margin-bottom: 8px; }

/* Header: free study guide button (NZ pattern). Full label on wide screens, short label below 1060px. */
.guide-btn { display: inline-flex; align-items: center; min-width: 0; flex: 0 1 auto; background: var(--red); color: #fff; border: 0; border-radius: 7px; padding: 9px 18px; min-height: 40px; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; }
.guide-btn span { overflow: hidden; text-overflow: ellipsis; }
.guide-btn:hover { background: var(--red-dark); }
.page-test .guide-btn { background: var(--navy-2); }
.page-test .guide-btn:hover { background: var(--navy); }
.gb-short { display: none; }
@media (max-width: 1060px) { .gb-full { display: none; } .gb-short { display: inline; } .guide-btn { padding: 9px 14px; font-size: .8rem; } }
@media (max-width: 820px) { .guide-btn { margin-left: auto; } }
@media (max-width: 420px) {
  .wrap.header-inner { padding: 0 12px; gap: 8px; }
  .logo img { height: 34px; }
  .guide-btn { padding: 7px 10px; font-size: .74rem; min-height: 38px; }
  .menu-btn { min-width: 40px; }
}

/* Homepage hero: photo band (44vh, 320-470px) melting into a dark two-column panel. */
.hero-photo { position: relative; overflow: hidden; background: var(--navy); height: 44vh; min-height: 320px; max-height: 470px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, var(--navy) 100%); pointer-events: none; }
/* Phones: show the whole photo, never a cropped strip (owner request 2026-10-06). */
@media (max-width: 700px) { .hero-photo { height: auto; min-height: 0; max-height: none; } .hero-photo img { height: auto; object-fit: contain; } .hero-photo::after { display: none; } }
.hero-panel { background: var(--navy); color: #fff; padding: 32px 0 40px; }
.hero-inner { display: flex; gap: 44px; align-items: flex-start; }
.hero-left { flex: 1 1 auto; max-width: 620px; min-width: 0; }
.hero-pill { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 5px 14px; margin-bottom: 14px; }
.hero-panel h1 { color: #fff; font-size: clamp(1.7rem, 3.8vw, 2.5rem); margin: 0 0 12px; }
.h1-accent { color: var(--accent-light); }
.hero-panel .hero-sub { color: rgba(255,255,255,.78); font-size: 1rem; max-width: 540px; margin: 0; }
.hero-panel .hero-ctas { margin: 22px 0 16px; }
.hero-panel .ticks { flex-direction: column; gap: 6px; font-size: .88rem; color: rgba(255,255,255,.85); }
.hero-right { flex: 0 0 320px; }
.pop-label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 4px 0 10px; }
.pop-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.pop-card { min-width: 0; display: flex; align-items: center; gap: 12px; background: #fff; color: var(--ink); border-radius: 9px; padding: 10px 12px; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.pop-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.pop-thumb { width: 56px; height: 42px; border-radius: 6px; object-fit: cover; flex: 0 0 56px; background: var(--bg-soft); }
.pop-text { flex: 1 1 auto; min-width: 0; }
.pop-name { display: block; font-size: .82rem; font-weight: 700; line-height: 1.3; }
.pop-sub { display: block; font-size: .72rem; color: var(--muted); line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pop-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: 0 0 auto; }
.pop-try { font-size: .65rem; font-weight: 700; background: var(--accent-soft); color: var(--red-dark); padding: 2px 8px; border-radius: 10px; white-space: nowrap; }
.pop-price { font-size: .78rem; font-weight: 700; color: var(--navy); white-space: nowrap; }
@media (max-width: 900px) { .hero-inner { flex-direction: column; gap: 26px; } .hero-right { flex: none; width: 100%; } .pop-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pop-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .hero-panel h1 { font-size: 1.6rem; } .hero-panel .hero-ctas .btn { width: 100%; } }

/* Trust strip under the hero (true facts only). */
.trust-strip { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; padding: 14px 20px; font-size: .88rem; color: var(--muted); }
.trust-strip strong { color: var(--ink); }
.trust-strip .sep { margin: 0 10px; color: #aab3c0; }
@media (max-width: 600px) { .trust-strip { font-size: .78rem; padding: 12px 14px; } .trust-strip .sep { margin: 0 6px; } }

/* Test page hero: the test photo behind the text with a dark 105deg overlay (NZ .tp-hero). */
.tp-hero { position: relative; min-height: 320px; display: flex; align-items: center; background: var(--navy); color: #fff; overflow: hidden; padding: 0; }
.tp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.tp-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(105deg, rgba(10,20,36,.88) 0%, rgba(18,35,61,.76) 55%, rgba(18,35,61,.52) 100%); }
.tp-inner { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; padding: 52px 24px 44px; width: 100%; }
.tp-inner .hero-pill { margin-bottom: 12px; }
.tp-inner h1 { font-size: clamp(1.75rem, 4vw, 2.4rem); line-height: 1.12; letter-spacing: -.4px; color: #fff; margin: 0 0 14px; }
.tp-tagline { color: #fff; font-size: 1.15rem; font-weight: 700; margin: -6px 0 10px; }
.tp-sub { color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.7; margin: 0 0 24px; max-width: 580px; }
.tp-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.tp-ctas .btn { min-height: 52px; padding: 14px 30px; border-radius: 8px; }
.tp-inner .hero-flow { font-size: .8rem; color: rgba(255,255,255,.65); margin: 0 0 12px; }
.buy-guarantee { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.tp-inner .buy-guarantee { color: rgba(255,255,255,.85); margin: -4px 0 12px; }
.te-intro > .buy-guarantee { margin: 10px 0 0; }
.tp-inner .ticks { font-size: .82rem; gap: 6px 20px; color: rgba(255,255,255,.9); }
@media (max-width: 768px) { .tp-hero { min-height: 0; } .tp-inner { padding: 36px 16px 32px; } .tp-ctas { flex-direction: column; } }
@media (max-width: 600px) {
  .tp-hero { min-height: 240px; }
  .tp-inner { padding: 28px 16px 22px; }
  .tp-inner h1 { font-size: 1.4rem; }
  .tp-tagline { font-size: 1rem; }
  .tp-sub { font-size: .9rem; margin-bottom: 16px; }
  .tp-inner .hero-flow { display: none; }
  .tp-ctas { gap: 10px; }
  .tp-ctas .btn { width: 100%; }
  .tp-inner .ticks { flex-direction: column; }
}

/* Key facts strip on light background, under the breadcrumb. */
.facts-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0 0; }
.facts-strip .fact { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.facts-strip .fact strong { display: block; font-size: 1.25rem; color: var(--navy); line-height: 1.25; }
.facts-strip .fact span { font-size: .82rem; color: var(--muted); }

/* Homepage: framework cards + stats row, email band, final CTA band. */
.fw-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 960px; margin: 32px auto 0; }
.fw-card { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 12px 12px 0; padding: 18px 20px; }
.fw-label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red-dark); margin-bottom: 6px; }
.fw-card p { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.6; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 960px; margin: 36px auto 0; text-align: center; }
.stat strong { display: block; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 800; color: var(--red-dark); line-height: 1.15; }
.stat span { font-size: .82rem; color: var(--muted); }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fw-cards { grid-template-columns: 1fr; } }
.email-card { max-width: 680px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 44px 36px; text-align: center; box-shadow: var(--shadow); }
.email-card h2 { margin-bottom: 8px; }
.email-card .lead { margin: 0 auto 20px; font-size: 1rem; }
@media (max-width: 480px) { .email-card { padding: 30px 18px; } }
.cta-band { background: linear-gradient(135deg, #c92a37 0%, #a51f2b 55%, #7d1620 100%); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0 auto 24px; max-width: 620px; }
.btn-onaccent { background: #fff; color: #a51f2b; padding: 15px 32px; border-radius: 9px; }
.btn-onaccent:hover { background: #fff3f4; }
.cta-band .cta-foot { font-size: .8rem; color: rgba(255,255,255,.8); margin: 20px auto 0; }

/* Study-guide form (modal, homepage band, post-test gate). */
.guide-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.guide-form select, .guide-form input[type="email"] { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #cfd6df; border-radius: 8px; font: inherit; font-size: .95rem; background: #fff; color: var(--ink); }
.guide-form select:focus, .guide-form input[type="email"]:focus { outline: 2px solid var(--navy-2); outline-offset: 1px; }
.guide-form .gf-invalid { border-color: var(--bad); }
.gf-row { display: flex; gap: 10px; }
.gf-row > * { flex: 1 1 0; min-width: 0; }
.gf-row .btn { flex: 0 0 auto; }
@media (max-width: 600px) { .gf-row { flex-direction: column; } }
.gf-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--muted); line-height: 1.5; }
.gf-consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 1px; accent-color: var(--red); }
.gf-notice { font-size: .75rem; color: var(--muted); margin: 0; line-height: 1.5; }
.gf-msg { font-size: .85rem; color: var(--bad); min-height: 1.2em; margin: 0; }
.gf-msg:empty { display: none; }
.gf-success { font-weight: 700; color: var(--ok); margin: 6px 0 0; text-align: center; }
.gf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Modals: study guide (sg-*), email gate and paywall (pw-*). Below the cookie banner (z 1100). */
html.modal-open, body.modal-open { overflow: hidden; overscroll-behavior: none; }
.pw-modal:focus, .sg-box:focus { outline: none; }
.pw-modal, .sg-box { overscroll-behavior: contain; }
.pw-nothanks { display: block; margin: 14px auto 0; background: none; border: 0; font: inherit; font-size: .88rem; color: var(--muted); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 12px; }
.pw-nothanks:hover { color: var(--ink); }

.sg-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.sg-overlay[hidden], .pw-overlay[hidden] { display: none; }
.sg-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.sg-box { position: relative; background: #fff; border-radius: 14px; padding: 36px 32px; max-width: 440px; width: 100%; max-height: calc(100vh - 32px); overflow: auto; box-shadow: 0 24px 60px rgba(0,0,0,.18); animation: tr-pop .18s ease-out; }
.sg-box h2 { font-size: 1.3rem; margin: 0 0 8px; padding-right: 32px; }
.sg-lead { color: var(--muted); font-size: .95rem; margin: 0 0 16px; }
.sg-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--muted); min-width: 44px; min-height: 44px; }
.sg-close:hover { color: var(--ink); }
@media (max-width: 480px) { .sg-box { padding: 30px 20px 24px; } }
.pw-overlay { position: fixed; inset: 0; z-index: 500; background: rgba(18,35,61,.72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pw-modal { position: relative; background: #fff; border-radius: 16px; padding: 32px 28px 36px; max-width: 600px; width: 100%; max-height: 90vh; overflow: auto; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.25); animation: tr-pop .2s ease-out; }
.pw-gate { max-width: 480px; }
.pw-close { position: absolute; top: 8px; right: 10px; background: none; border: 0; font: inherit; font-size: .85rem; color: var(--muted); cursor: pointer; min-height: 44px; padding: 0 10px; }
.pw-close:hover { color: var(--ink); text-decoration: underline; }
.pw-modal h2 { font-size: clamp(1.2rem, 3vw, 1.55rem); margin: 18px 0 8px; }
.pw-modal .lead { font-size: .98rem; margin: 0 auto 18px; }
.pw-modal .buy-box { max-width: 400px; margin: 0 auto; box-shadow: none; text-align: center; }
.pw-modal .guide-form { margin-top: 6px; }
.pw-guarantee { font-size: .85rem; color: var(--muted); margin: 16px auto 0; max-width: 440px; }
.pw-format { font-size: .85rem; color: var(--muted); margin: 0 auto 14px; max-width: 460px; }
@keyframes tr-pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }

/* Free test: intro card, what-you-get box, drill box. */
.te-intro { background: var(--bg-soft); border-radius: 12px; padding: 40px 28px; text-align: center; }
.te-intro h3 { font-size: 1.35rem; margin-bottom: 6px; }
.te-intro > p { color: var(--muted); margin: 0 0 14px; }
.info-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.info-pills li { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 4px 12px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.te-intro .te-note-sm { font-size: .85rem; color: var(--muted); max-width: 520px; margin: 0 auto 18px; }
.te-intro-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.te-paidbox { border: 1px dashed #c9d1dc; border-radius: 12px; padding: 18px 20px; margin-top: 16px; text-align: center; }
.te-paidbox .eyebrow { margin-bottom: 8px; }
.sec-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.sec-pills li { background: var(--accent-soft); color: var(--red-dark); font-size: .74rem; font-weight: 700; border-radius: 12px; padding: 3px 10px; }
.te-paidbox p { font-size: .88rem; color: var(--muted); margin: 0 0 12px; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.drill-box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; margin-top: 18px; }
.drill-box h3 { margin-bottom: 4px; }
.drill-box p { color: var(--muted); font-size: .92rem; margin: 0 0 12px; }
.drill-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.drill-btn { min-height: 44px; background: #fff; border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 14px; font: inherit; font-size: .9rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.drill-btn:hover, .drill-btn.active { border-color: var(--red); background: var(--accent-soft); }
@media (max-width: 600px) { .drill-btn { width: 100%; } .te-intro { padding: 28px 16px; } .te-intro-btns .btn { width: 100%; } }

/* Engine: sticky progress/timer bar, results badge, score circle, stat tiles, dashboard. */
.te-timerbar { position: sticky; top: 64px; z-index: 5; display: flex; align-items: center; gap: 14px; background: #fff; border-bottom: 1px solid var(--line); margin: -24px -24px 18px; padding: 10px 24px; border-radius: var(--radius) var(--radius) 0 0; }
.te-clock { font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--ok); min-width: 64px; }
.te-clock.warn { color: #b7791f; }
.te-clock.low { color: var(--bad); animation: tr-pulse 1s ease-in-out infinite; }
@keyframes tr-pulse { 50% { opacity: .45; } }
.te-progress { flex: 1 1 auto; max-width: 200px; height: 4px; background: var(--bg-soft); border-radius: 4px; overflow: hidden; }
.te-progress span { display: block; height: 100%; background: var(--red); transition: width .2s; }
.te-qn { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .te-timerbar { margin: -18px -14px 16px; padding: 10px 14px; } }
.te-badge { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 20px; padding: 5px 14px; margin-bottom: 8px; }
.te-badge.good { background: var(--ok-bg); color: var(--ok); }
.te-badge.mid { background: #fff6d6; color: #8a5a00; }
.te-badge.low { background: var(--bad-bg); color: var(--bad); }
.te-headline { font-size: 1.35rem; margin: 0 0 14px; }
.te-circle { width: 148px; height: 148px; border-radius: 50%; border: 5px solid var(--ok); display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto 18px; }
.te-circle.mid { border-color: #e0a526; }
.te-circle.low { border-color: var(--bad); }
.te-circle strong { font-size: 2.3rem; font-weight: 800; color: var(--navy); line-height: 1; }
.te-circle span { font-size: .8rem; color: var(--muted); margin-top: 4px; }
.te-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 520px; margin: 0 auto 18px; }
.te-stat { background: var(--bg-soft); border-radius: 10px; padding: 10px 8px; }
.te-stat strong { display: block; font-size: 1rem; color: var(--navy); overflow-wrap: anywhere; }
.te-stat span { font-size: .75rem; color: var(--muted); }
.te-result h3 { font-size: 1rem; margin-top: 8px; }
.te-result .te-nav { flex-wrap: wrap; }
.te-dash { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 18px auto 0; max-width: 560px; text-align: left; }
.te-dash h4 { margin: 0 0 10px; font-size: .95rem; }
.te-dash-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.te-dash-tiles div { background: var(--bg-soft); border-radius: 8px; padding: 8px; text-align: center; }
.te-dash-tiles strong { display: block; color: var(--navy); }
.te-dash-tiles span { font-size: .72rem; color: var(--muted); }
.te-bars { display: flex; align-items: flex-end; gap: 8px; height: 80px; padding-top: 18px; }
.te-bars div { flex: 1; max-width: 48px; background: var(--red); border-radius: 4px 4px 0 0; min-height: 3px; position: relative; }
.te-bars div span { position: absolute; top: -17px; left: -6px; right: -6px; text-align: center; font-size: .7rem; color: var(--muted); }
.te-dash .te-focus { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }

/* Related tests (4 + all), 2 columns. */
.related-list { columns: 2; column-gap: 28px; padding-left: 1.2em; }
.related-list li { margin: 4px 0; break-inside: avoid; }
@media (max-width: 768px) { .related-list { columns: 1; } }

/* Floating FAQ button + bottom sheet (test pages). Hidden while the cookie banner or a modal is open. */
#faq-fab { position: fixed; right: 24px; bottom: 24px; z-index: 200; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--navy-2); color: #fff; font: inherit; font-size: 1.4rem; font-weight: 800; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
#faq-fab:hover { background: var(--navy); }
body:has(#cookie-banner) #faq-fab, body.modal-open #faq-fab { display: none; }
.sg-overlay.faq-sheet-wrap { align-items: flex-end; padding: 0; }
.sg-box.faq-sheet { max-width: 600px; max-height: 80vh; border-radius: 16px 16px 0 0; padding: 28px 22px 24px; }
@media (max-width: 560px) { #faq-fab { right: 14px; bottom: 14px; } }

/* Footer group headings (NZ style). */
.footer-cols h2 { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 12px; }
/* Paywall pop-up card, laid out like the NZ paywall. */
.pw-modal .pw-card { max-width: 380px; margin: 0 auto; padding: 26px 24px 20px; border: 2px solid var(--red); border-radius: 16px; background: var(--bg); box-shadow: 0 10px 30px rgba(230,57,70,.12); display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.pw-badge { align-self: center; background: var(--accent-soft); color: var(--red-dark); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.pw-price { font-size: 2.6rem; font-weight: 800; line-height: 1; color: var(--navy); margin: 2px 0 0; }
.pw-once { font-size: .82rem; color: var(--muted); margin: 0; }
.pw-value { list-style: none; padding: 0; margin: 4px 0; text-align: left; display: grid; gap: 9px; }
.pw-value li { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 600; color: var(--ink); padding: 0; }
.pw-value li::before { content: none; }
.pw-tick { flex: 0 0 20px; width: 20px; height: 20px; fill: var(--red); }
.pw-cta { font-size: 1.05rem; padding-block: 15px; box-shadow: 0 6px 18px rgba(230,57,70,.35); }
.pw-instant { font-size: .8rem; color: var(--muted); margin: -2px 0 0; }
.pw-instant strong { color: var(--ink); }
.pw-guarantee-box { display: flex; align-items: center; gap: 10px; text-align: left; background: var(--ok-bg); border-radius: 10px; padding: 10px 12px; }
.pw-guarantee-box strong { display: block; font-size: .88rem; color: var(--ink); }
.pw-guarantee-box span { font-size: .8rem; color: var(--muted); }
.pw-shield { flex: 0 0 26px; width: 26px; height: 26px; fill: var(--ok); }
.pw-trust { font-size: .76rem; color: var(--muted); margin: 0; }
.pw-secure { font-size: .72rem; color: var(--muted); margin: 0; line-height: 1.5; }
.pw-secure a { color: inherit; }
.pw-lock { width: 12px; height: 12px; fill: currentColor; vertical-align: -1px; margin-right: 4px; }
.pw-modal h2#pw-title { margin-bottom: 4px; }

/* Popup sizing on phones (after the base .pw-modal / .sg-box rules so they win). */
@supports (height: 100dvh) { .pw-modal { max-height: 90dvh; } .sg-box { max-height: calc(100dvh - 32px); } }
@media (max-width: 480px) { .pw-modal { padding: 28px 18px 26px; } }

/* Blog (Soro): /blog and /blog/<slug>, rendered by functions/blog/*.js. */
.blog-hero { padding: 28px 0 36px; }
.blog-hero .crumbs { padding: 0 0 14px; }
.blog-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.blog-hero .lead { margin: 0; }
.blog-date { color: var(--muted); font-size: .92rem; margin: 0; }
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(18, 35, 61, 0.12); }
.blog-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft); }
.blog-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card-body h2 { font-size: 1.15rem; margin: 0; letter-spacing: 0; }
.blog-card-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.blog-card-body .blog-date { margin-top: auto; padding-top: 6px; font-size: .85rem; }
.blog-card:hover h2 { color: var(--red); }
.blog-empty { max-width: 640px; margin: 0 auto; text-align: center; }
.blog-empty p { color: var(--muted); }
.blog-body { padding-top: 36px; }
.blog-body img { border-radius: var(--radius); margin: 18px 0; }
.blog-body h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.blog-body blockquote { border-left: 4px solid var(--red); background: var(--bg-soft); margin: 18px 0; padding: 12px 18px; border-radius: 0 10px 10px 0; }
.blog-test-link { background: var(--accent-soft); border-left: 4px solid var(--red); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.blog-back { margin-top: 32px; }
.blog-cta { text-align: center; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 30px 24px; box-shadow: var(--shadow); }
.blog-cta h2 { font-size: 1.4rem; }
.blog-cta p { color: var(--muted); }

/* EU withdrawal-right consent box above buy buttons (SITE.requireWithdrawalConsent) */
.buy-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; line-height: 1.45; color: var(--ink); margin: 4px 0 10px; text-align: left; cursor: pointer; }
.buy-consent input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.consent-msg { color: #b91c1c; font-size: .78rem; margin: -4px 0 8px; text-align: left; }
/* Phones: keep the 3-column comparison table inside the screen (longer Spanish labels) */
@media (max-width: 520px) {
  .compare { table-layout: fixed; font-size: .82rem; }
  .compare th, .compare td { padding: 8px 6px; overflow-wrap: anywhere; hyphens: auto; }
}
