/*
Theme Name: Bitcoin Now
Theme URI: https://bitcoinnowatm.ca
Author: Bitcoin Now
Description: Custom theme for Bitcoin Now Inc. — matches the brand mockup exactly (Home, Host an ATM, FAQ, Contact). Works together with the "Bitcoin Now Locations" plugin, which calls this theme's header/footer for every Locations page so navigation and branding stay identical site-wide.
Version: 1.1.0
Requires PHP: 7.4
Text Domain: bitcoin-now-theme
*/

/* ============ Design tokens (match bitcoin-now-locations plugin + mockup exactly) ============ */
:root {
  --ink: #14191F;
  --ink-soft: #4A5160;
  --ink-faint: #8A8F98;
  --red: #C41230;
  --red-dark: #9E0E26;
  --red-tint: #FBEAEC;
  --paper: #F6F6F4;
  --paper-dim: #EFEDE8;
  --paper-dim2: #E8E5DE;
  --rule: #DDDAD3;
  --surface: #FFFFFF;
  --good: #1F8A4C;
  --warn: #9C6B14;
  --warn-tint: #F5E9D2;
  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'DejaVu Sans Mono', monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* ============ SITE HEADER ============ */
.site-header { background: var(--paper); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 90; }
.site-header .inner { max-width: 1200px; margin: 0 auto; padding: 16px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-logo { width: 290px; } /* icon +90%, wordmark +12% vs original via new icon-dominant lockup SVG (2026-09-12, user-approved) — was 168px, then 227px */
.site-logo img, .site-logo svg { width: 100%; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a { font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: transparent; border: 1.5px solid var(--rule); border-radius: 9px; padding: 9px 11px; flex-shrink: 0; }
.nav-toggle svg { width: 20px; height: 20px; }

.btn { display: inline-flex; align-items: center; gap: 8px; justify-content: center; font-weight: 700; font-size: 13.5px; padding: 12px 22px; border-radius: 10px; border: none; letter-spacing: .01em; }
.btn-primary { background: var(--red); color: white; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--rule); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-tint { background: var(--red-tint); color: var(--red-dark); border: 1.5px solid transparent; }
.btn-tint:hover { background: var(--red); color: white; }

/* ============ SHARED SECTION PATTERNS ============ */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 12px; }
section.block { padding: 76px 0; }
.section-head { max-width: 620px; margin-bottom: 44px; }
.section-head h2 { font-size: 30px; letter-spacing: -.01em; }
.section-head p { margin-top: 12px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }

/* ============ HERO (home) ============ */
.hero { background: var(--ink); color: var(--paper); position: relative; overflow: hidden; padding: 88px 0 96px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, #23202A 1.6px, transparent 1.6px); background-size: 26px 26px; opacity: .5; }
.hero::after { content: ''; position: absolute; width: 780px; height: 780px; right: -280px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(196,18,48,0.30), transparent 60%); }
.hero .inner { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { font-size: 48px; line-height: 1.14; }
.hero .lede { margin-top: 18px; font-size: 17.5px; line-height: 1.6; color: #C9C7C3; max-width: 540px; }
.locator-box { margin-top: 34px; background: var(--surface); border-radius: 14px; padding: 8px; display: flex; gap: 8px; max-width: 480px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.locator-box input { flex: 1; border: none; outline: none; padding: 12px 14px; font-family: var(--font-display); font-size: 14.5px; color: var(--ink); background: transparent; }
.locator-box input::placeholder { color: var(--ink-faint); }
.hero-trust { margin-top: 30px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust .item { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; color: #A8A6AC; text-transform: uppercase; }
.hero-trust .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); }

/* ============ STEPS ============ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 26px 24px; }
.step .n { width: 38px; height: 38px; border-radius: 10px; background: var(--red); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-mono); font-size: 15px; }
.step-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--red-tint); color: var(--red); display: flex; align-items: center; justify-content: center; }
.step-icon svg { width: 22px; height: 22px; }
.step-num { margin-top: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-faint); text-transform: uppercase; font-weight: 700; }
.step h3 { font-size: 16.5px; margin-top: 6px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin-top: 8px; }
.steps-note { margin-top: 22px; font-size: 13px; color: var(--ink-faint); text-align: center; }
.steps-note a { color: var(--red); font-weight: 600; }

/* ============ PRICE TRACKER (home) ============ */
.price-tracker { background: var(--paper-dim); }
.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 24px; }
.price-card-head { display: flex; align-items: center; gap: 10px; }
.price-card .sym {
  width: 34px; height: 34px; border-radius: 9px; background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-family: var(--font-mono); font-size: 13px; flex-shrink: 0;
}
.price-card .name { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.price-card .ticker { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); letter-spacing: .04em; }
.price-card .amount {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: 24px; font-weight: 700;
  color: var(--ink); margin-top: 16px; line-height: 1.2;
}
.price-card .amount .cur { font-size: 13px; font-weight: 500; color: var(--ink-faint); margin-left: 4px; }
.price-card .change {
  display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono);
  font-variant-numeric: tabular-nums; font-size: 12.5px; font-weight: 700; margin-top: 10px;
}
.price-card .change.up { color: var(--good); }
.price-card .change.down { color: var(--red); }
.price-card .change.flat { color: var(--ink-faint); }
.price-card .peg-note { font-size: 11px; color: var(--ink-faint); margin-top: 4px; }
.price-tracker-disclaimer { font-size: 12px; color: var(--ink-faint); line-height: 1.6; max-width: 700px; margin-top: 24px; }
.price-tracker-disclaimer .stale-note { display: none; color: var(--warn); }
.price-tracker-disclaimer.is-stale .stale-note { display: inline; }

/* ============ LOCATIONS TEASER (home) ============ */
.loc-teaser { background: var(--paper-dim); }
.loc-teaser-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.map-placeholder {
  aspect-ratio: 4/3; border-radius: 18px; background:
    linear-gradient(135deg, #E4E1D9 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(225deg, #E4E1D9 25%, transparent 25%) -10px 0/20px 20px,
    linear-gradient(315deg, #E4E1D9 25%, transparent 25%) 0px 0/20px 20px,
    linear-gradient(45deg, #E4E1D9 25%, #DEDBD3 25%) 0px 0/20px 20px;
  position: relative; border: 1px solid var(--rule);
}
.map-pin { position: absolute; color: var(--red); filter: drop-shadow(0 3px 5px rgba(0,0,0,.25)); }
.loc-teaser-copy h2 { font-size: 30px; }
.loc-teaser-copy p { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--ink-soft); }
.loc-count { font-family: var(--font-mono); font-size: 42px; font-weight: 700; color: var(--red); margin-top: 22px; }
.loc-count-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-top: 2px; }

/* Real teaser map (Locations plugin's .bnl-app renders inside this on Home) */
.loc-teaser-live .bnl-app { border-radius: 18px; overflow: hidden; border: 1px solid var(--rule); }

/* ============ CTA BAND ============ */
.cta-band { background: var(--red); color: white; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { font-size: 27px; max-width: 460px; }
.cta-band p { margin-top: 10px; font-size: 14.5px; color: #FBDEE2; max-width: 460px; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.5); color: white; }
.cta-band .btn-ghost:hover { border-color: white; background: rgba(255,255,255,.08); }

/* ============ FAQ TEASER (home) ============ */
/* Reuses the .faq-item accordion component (see the FAQ page rules below)
   inside a bordered box, so clicking a question expands its answer right
   here instead of jumping to the full FAQ page. */
.faq-teaser-list { display: flex; flex-direction: column; background: var(--surface); border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); }
.faq-teaser-list .faq-item { border-bottom: 1px solid var(--rule); padding: 18px 24px; margin: 0; }
.faq-teaser-list .faq-item:last-child { border-bottom: none; }
.faq-teaser-list .faq-item .q { font-size: 14.5px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: #C9C7C3; padding: 60px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-icon { width: auto; height: 60px; margin-bottom: 16px; } /* icon-dominant lockup, option A (2026-09-12, user-approved) — was 32px, then 43px */
.footer-icon svg, .footer-icon img { width: auto; height: 100%; display: block; }
.footer-tag { font-size: 13.5px; line-height: 1.6; color: #96949B; max-width: 220px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6F6D74; margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col div.item { display: block; font-size: 13.5px; color: #C9C7C3; margin-bottom: 11px; }
.footer-col a:hover { color: white; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid #2A2730; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 11px; color: #6F6D74; letter-spacing: .03em; }
.footer-bottom a { color: #6F6D74; text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a:hover { color: white; }

/* ============ PAGE HERO (inner pages) ============ */
.page-hero { background: var(--paper-dim); padding: 56px 0; border-bottom: 1px solid var(--rule); }
.page-hero .eyebrow { margin-bottom: 10px; }
.page-hero h1 { font-size: 34px; }
.page-hero p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); max-width: 560px; }

/* ============ HOST PAGE ============ */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.benefit { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 24px; }
.benefit .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--red); display: flex; align-items: center; justify-content: center; color: white; }
.benefit h3 { font-size: 15px; margin-top: 16px; }
.benefit p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }

.host-form-section { background: var(--paper-dim); }
.form-card { background: var(--surface); border-radius: 20px; padding: 40px; max-width: 640px; margin: 0 auto; border: 1px solid var(--rule); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-row.full { grid-template-columns: 1fr; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-display); font-size: 14px; padding: 11px 13px;
  border-radius: 9px; border: 1.5px solid var(--rule); background: var(--paper); color: var(--ink);
}
.field textarea { resize: vertical; min-height: 90px; }
.field-hp { position: absolute; left: -9999px; top: -9999px; }
.form-notice { border-radius: 12px; padding: 14px 18px; font-size: 13.5px; margin-bottom: 20px; }
.form-notice.success { background: #E8F5EC; color: var(--good); border: 1px solid #BFE3CC; }
.form-notice.error { background: var(--red-tint); color: var(--red-dark); border: 1px solid #F3C4CC; }

/* ============ FAQ PAGE ============ */
.fee-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 24px; }
.fee-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 26px; }
.fee-card-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.fee-card-amount { font-size: 34px; font-weight: 700; margin-top: 10px; }
.fee-card-amount span { font-size: 13px; font-weight: 500; color: var(--ink-faint); margin-left: 4px; }
.fee-card-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.fee-card ul { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.fee-card li { font-size: 12.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.fee-card li svg { color: var(--good); flex-shrink: 0; width: 14px; height: 14px; }
.fee-disclaimer { font-size: 12px; color: var(--ink-faint); line-height: 1.6; max-width: 700px; padding: 16px 0 40px; border-top: 1px solid var(--rule); margin-top: 8px; }

.faq-cats { display: flex; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.faq-cat { font-family: var(--font-mono); font-size: 12px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--rule); background: transparent; color: var(--ink-soft); }
.faq-cat.active { background: var(--ink); border-color: var(--ink); color: white; }
.faq-group { margin-bottom: 44px; }
.faq-group h3 { font-size: 13px; font-family: var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.faq-item { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq-item .q { display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; font-size: 15px; cursor: pointer; background: transparent; border: none; width: 100%; text-align: left; padding: 0; color: var(--ink); }
.faq-item .a { font-size: 14px; line-height: 1.7; color: var(--ink-soft); margin-top: 12px; max-width: 680px; max-height: 400px; opacity: 1; overflow: hidden; transition: max-height .35s ease, opacity .3s ease, margin-top .35s ease; }
.faq-item .chev { color: var(--ink-faint); flex-shrink: 0; transition: transform .25s ease; }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-item .a.collapsed { max-height: 0; opacity: 0; margin-top: 0; }

/* Fraud prevention (FAQ page) */
.fraud-alert { background: var(--warn-tint); border: 1.5px solid var(--warn); border-radius: 14px; padding: 20px 24px; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 8px; }
.fraud-alert .ico { width: 30px; height: 30px; border-radius: 50%; background: var(--warn); color: white; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: var(--font-mono); font-weight: 700; font-size: 15px; }
.fraud-alert h3 { font-size: 15px; margin: 0 0 4px; }
.fraud-alert p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

.scam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.scam-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 14px; padding: 22px; }
.scam-card .tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--warn); font-weight: 700; }
.scam-card h3 { font-size: 15.5px; margin: 8px 0 6px; }
.scam-card p { font-size: 13px; line-height: 1.6; color: var(--ink-soft); }

.redflag-list { display: flex; flex-direction: column; gap: 12px; }
.redflag-item { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.redflag-item:last-child { border-bottom: none; }
.redflag-item .x { width: 22px; height: 22px; border-radius: 50%; background: var(--red-tint); color: var(--red); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; font-family: var(--font-mono); }
.redflag-item p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
.redflag-item strong { color: var(--ink); }

.report-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.report-step { background: var(--paper-dim); border-radius: 14px; padding: 18px; }
.report-step .n { font-family: var(--font-mono); font-size: 11px; color: var(--ink-faint); }
.report-step p { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.55; }

/* ============ CONTACT PAGE ============ */
.contact-layout { display: grid; grid-template-columns: 1fr 0.85fr; gap: 46px; }
.contact-sidebar .item { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.contact-sidebar .item:first-child { padding-top: 0; }
.contact-sidebar .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 6px; }
.contact-sidebar .v { font-size: 15px; font-weight: 600; }
.contact-sidebar .v.small { font-size: 13.5px; font-weight: 400; color: var(--ink-soft); line-height: 1.6; }
.subject-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.subject-pill { position: relative; font-size: 12.5px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--surface); color: var(--ink-soft); cursor: pointer; }
.subject-pill.active, .subject-pill:has(input:checked) { background: var(--red-tint); border-color: var(--red); color: var(--red); font-weight: 700; }
.subject-pill input { position: absolute; opacity: 0; pointer-events: none; }

/* ============ 404 ============ */
.not-found-hero { padding: 120px 0; text-align: center; }
.not-found-hero .code { font-family: var(--font-mono); color: var(--red); font-size: 15px; letter-spacing: .08em; margin-bottom: 14px; }
.not-found-hero h1 { font-size: 32px; }
.not-found-hero p { margin-top: 14px; font-size: 15.5px; color: var(--ink-soft); max-width: 480px; margin-left: auto; margin-right: auto; }
.not-found-hero .actions { margin-top: 28px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.site-nav-signup { display: none; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(300px, 84vw); background: var(--surface); flex-direction: column; align-items: flex-start; padding: 90px 28px 28px; gap: 22px; transform: translateX(100%); transition: transform .25s ease; box-shadow: -20px 0 40px rgba(0,0,0,.15); }
  .site-nav.is-open { transform: translateX(0); }
  .site-nav a { font-size: 16px; }
  .hero h1 { font-size: 34px; }
  .steps, .benefits, .footer-grid, .loc-teaser-grid, .contact-layout, .fee-cards, .scam-grid, .report-steps { grid-template-columns: 1fr; }
  .price-cards { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  .form-row.dob { grid-template-columns: 1fr; }
  .header-actions .btn-tint { display: none; }
  .site-nav-signup { display: block; }
  .header-actions .btn-primary svg { display: none; }
  .header-actions .btn-primary .btn-label-full { display: none; }
  .header-actions .btn-primary .btn-label-short { display: inline; }
  .header-actions .btn-primary { padding: 10px 14px; font-size: 12.5px; white-space: nowrap; }
  .locator-box { flex-direction: column; padding: 10px; gap: 10px; }
  .locator-box input { padding: 14px 16px; font-size: 15px; width: 100%; }
  .locator-box button { width: 100%; padding: 14px 22px; }
}

/* Sign-up form (bnt_signup_form shortcode) */
.form-row.dob { grid-template-columns: 1fr 1fr 1.3fr; }
.field .hint, .hint { font-size: 12px; color: var(--ink-faint); line-height: 1.5; margin-top: 6px; margin-bottom: 18px; }
.field input[type="file"] { padding: 9px 10px; background: var(--surface); }

.btn-label-short { display: none; }

.map-placeholder-badge {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--surface); color: var(--red);
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(20,25,31,0.12);
}

.page-hero-signup {
  background: linear-gradient(135deg, var(--red-tint) 0%, var(--paper-dim) 60%);
  border-bottom: 3px solid var(--red);
}


/* ============ GENERIC PAGE CONTENT (Terms of Service, Privacy Policy, etc.) ============ */
.bnt-page-content { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.bnt-page-content h1 { font-size: 26px; margin: 0 0 14px; color: var(--ink); }
.bnt-page-content h2 { font-size: 19px; margin: 38px 0 14px; color: var(--ink); border-top: 1px solid var(--rule); padding-top: 26px; }
.bnt-page-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 8px; }
.bnt-page-content h3 { font-size: 16px; margin: 22px 0 8px; color: var(--ink); }
.bnt-page-content p { margin: 0 0 16px; }
.bnt-page-content strong { color: var(--ink); font-weight: 700; }
.bnt-page-content ul, .bnt-page-content ol { margin: 0 0 16px; padding-left: 22px; }
.bnt-page-content li { margin-bottom: 10px; }
.bnt-page-content a { color: var(--red); font-weight: 600; }
.bnt-page-content hr { border: none; border-top: 1px solid var(--rule); margin: 28px 0; }
.bnt-page-content .legal-updated { font-size: 12px; color: var(--ink-faint); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 26px; }
.bnt-page-content .legal-intro { background: var(--paper-dim); border-radius: 12px; padding: 18px 20px; font-size: 13px; font-weight: 700; letter-spacing: .01em; color: var(--ink); margin-bottom: 12px; line-height: 1.6; }

/* ============ NEWS (index, homepage teaser, single post) ============ */
.news-list { display: flex; flex-direction: column; gap: 22px; }
.news-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; padding: 18px; align-items: center; }
.news-card-thumb { aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--paper-dim); display: flex; align-items: center; justify-content: center; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-thumb.placeholder { background: var(--red-tint); }
.news-card-date { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.news-card-body h3 { font-size: 19px; }
.news-card-body p { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.news-pagination { margin-top: 32px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; }
.news-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: 9px; border: 1.5px solid var(--rule); color: var(--ink-soft); }
.news-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: white; }
.news-pagination a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

/* Homepage "From the news" teaser */
.news-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-teaser-card { background: var(--surface); border: 1px solid var(--rule); border-radius: 16px; overflow: hidden; }
.news-teaser-thumb { aspect-ratio: 16/10; background: var(--paper-dim); display: flex; align-items: center; justify-content: center; }
.news-teaser-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-teaser-thumb.placeholder { background: var(--red-tint); }
.news-teaser-body { padding: 18px 20px 22px; }
.news-teaser-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 8px; }
.news-teaser-body h3 { font-size: 16px; }

/* Single news post hero */
.news-post-hero.has-image { padding: 0 0 0; overflow: hidden; }
.news-post-hero-image { aspect-ratio: 21/9; overflow: hidden; }
.news-post-hero-image img { width: 100%; height: 100%; object-fit: cover; }
.news-post-hero.has-image .wrap { padding-top: 32px; padding-bottom: 32px; }
.news-post-date { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; font-weight: 700; }
.news-post-back { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--rule); }
.news-post-back .btn svg { transform: translateY(-0.5px); }

@media (max-width: 860px) {
  .news-card { grid-template-columns: 1fr; }
  .news-teaser-grid { grid-template-columns: 1fr; }
}
