/* Shmor site kit: default theme. Replace freely; each site has its own design.
   Change the variables first; class names are what tools/build.js outputs. */
:root {
  color-scheme: dark;
  --accent: #7644B0;
  --accent-2: #2FAF82;
  --bg: #0A0C0E;
  --surface: #121518;
  --surface-2: #191D21;
  --line: #23282C;
  --ink: #F3F4F5;
  --ink-2: #B4BABE;
  --ink-3: #868D92;
  --radius: 18px;
  --display: "Outfit", system-ui, sans-serif;
  --font: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.12; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { font: 700 24px var(--display); text-decoration: none; letter-spacing: -.03em; }
.nav { display: flex; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav a:hover { color: var(--ink); }
.menu { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 860px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 70px; flex-direction: column; gap: 0; background: var(--surface); 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); }
}

/* Hero */
.hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.hero-home { padding: 96px 0 88px; }
.eyebrow { font: 600 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 14px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); letter-spacing: -.04em; max-width: 900px; }
.hero-page h1 { font-size: clamp(32px, 4.6vw, 52px); }
.lede { color: var(--ink-2); font-size: 19px; max-width: 720px; margin: 18px 0 0; }
.search { display: flex; align-items: center; gap: 10px; max-width: 700px; margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.search svg { color: var(--ink-3); flex: 0 0 auto; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 16px; padding: 10px 0; }
.search button { font: 600 15px var(--display); background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips a { text-decoration: none; font-size: 14px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.chips a:hover { color: var(--ink); border-color: var(--accent); }

/* Breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: 14px; color: var(--ink-3); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* Sections */
section h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 24px; }
.highlights, .partners, .faq, .related, .cta-band { padding: 56px 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.tile, .card, .offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.tile-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 18%, transparent); font-size: 22px; margin-bottom: 14px; }
.tile h3, .card h3, .offer h3 { font-size: 19px; margin-bottom: 6px; }
.tile p, .card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.card, .offer { text-decoration: none; display: flex; flex-direction: column; gap: 6px; transition: transform .2s, border-color .2s; }
.card:hover, .offer:hover { transform: translateY(-3px); border-color: var(--accent); }
.cta { margin-top: auto; padding-top: 10px; font: 600 15px var(--display); color: var(--accent-2); }
.merchant { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--accent-2); color: #04150F; padding: 3px 10px; border-radius: 999px; }
.offer small { color: var(--ink-3); }
.aff-note { color: var(--ink-3); font-size: 13px; margin-top: 16px; }

/* Article */
.content { padding: 40px 0 24px; }
.content-grid { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.content-grid:not(:has(.toc)) { grid-template-columns: 1fr; }
.toc { position: sticky; top: 96px; font-size: 14px; border-left: 2px solid var(--line); padding-left: 16px; }
.toc p { font: 600 13px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toc a { text-decoration: none; color: var(--ink-2); } .toc a:hover { color: var(--ink); }
.prose { max-width: 760px; color: var(--ink-2); font-size: 17px; }
.prose h2 { color: var(--ink); font-size: 28px; margin: 40px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { color: var(--ink); font-size: 20px; margin: 24px 0 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--accent-2); }
.prose li { margin-bottom: 6px; }
.updated { font-size: 14px; color: var(--ink-3); margin-top: 32px; }
@media (max-width: 900px) { .content-grid { grid-template-columns: 1fr; } .toc { position: static; } }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 20px; font: 600 17px var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* CTA band */
.cta-band .wrap { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 40px; text-align: center; }
.cta-band .search { margin: 0 auto; }
.empty { color: var(--ink-2); grid-column: 1 / -1; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; color: var(--ink-3); font-size: 14px; margin-top: 40px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.foot-cols h4 { color: var(--ink); font-size: 15px; margin-bottom: 12px; }
.foot-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-cols a { text-decoration: none; } .foot-cols a:hover { color: var(--ink); }
.disclosure { border-top: 1px solid var(--line); margin-top: 36px; padding-top: 20px; font-size: 13px; }
@media (max-width: 760px) { .foot-cols { grid-template-columns: 1fr 1fr; } }

/* Photos (a page's "image"): full-bleed hero photo with a dark overlay, photo on top of cards */
.hero.has-img { isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero.has-img::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.3) 60%, rgba(0,0,0,.5)); }
.hero.has-img h1, .hero.has-img .lede, .hero.has-img .eyebrow { color: #fff; }
.photo-credit { position: absolute; right: 14px; bottom: 8px; margin: 0; font-size: 11px; color: rgba(255,255,255,.75); z-index: 1; }
.photo-credit a { color: inherit; }
.card-img { display: block; width: calc(100% + 44px); max-width: none; height: auto; aspect-ratio: 5 / 3; object-fit: cover; margin: -22px -22px 12px; }

/* Blog: post meta, byline, sources */
.post-meta { font-size: 13px; color: var(--ink-3); }
.post-byline { font-size: 14px; color: var(--ink-3); margin: 14px 0 0; }
.hero.has-img .post-byline { color: rgba(255,255,255,.85); }
.sources { padding: 8px 0 40px; }
.sources h2 { font-size: 20px; margin-bottom: 10px; }
.sources ul { margin: 0; padding-left: 20px; color: var(--ink-2); }
.sources a { color: var(--accent-2); }
.more-link { margin: 18px 0 0; font-weight: 600; } .more-link a { color: var(--accent-2); }

/* Blocks (page "blocks": strip, deals, tiles, steps, links) */
.blocks { padding: 48px 0; }
.block-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-bottom: 22px; }
.block-head h2 { margin: 0; flex: 1 1 auto; }
.block-head p { flex: 1 1 100%; order: 3; margin: 0; color: var(--ink-2); max-width: 720px; }
.block-more { font-weight: 600; color: var(--accent); text-decoration: none; white-space: nowrap; }
.ico { flex: 0 0 auto; }
.blocks-strip { padding: 18px 0; border-bottom: 1px solid var(--line); }
.strip-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px 24px; }
.strip-list li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; color: var(--ink-2); }
.strip-list .ico { color: var(--accent); }
.strip-list strong { color: var(--ink); }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.deal { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; color: inherit; transition: transform .2s, border-color .2s; }
.deal:hover { transform: translateY(-2px); border-color: var(--accent); }
.deal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.deal-top .ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--accent); }
.deal-badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: #fff; }
.deal h3 { font-size: 18px; margin: 0; }
.deal p { margin: 0; color: var(--ink-2); font-size: 14.5px; flex: 1; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; }
.tile-photo { position: relative; overflow: hidden; border-radius: var(--radius); color: #fff; text-decoration: none; isolation: isolate; background: var(--surface-2); }
.tile-photo .card-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0; transition: transform .4s; z-index: -2; }
.tile-photo:hover .card-img { transform: scale(1.05); }
.tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.75) 100%); }
.tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; }
.tile-body h3 { font-size: 20px; margin: 0; }
.tile-body p { margin: 4px 0 0; font-size: 13.5px; opacity: .9; }
.tile-badge { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); margin-bottom: 8px; }
.tile-feature { grid-column: span 2; grid-row: span 2; }
.tile-feature .tile-body h3 { font-size: 28px; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
@media (max-width: 520px) { .tiles { grid-auto-rows: 150px; gap: 10px; } .tile-feature { grid-row: span 1; } .tile-feature .tile-body h3 { font-size: 22px; } .tile-body { padding: 12px; } .tile-body h3 { font-size: 17px; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: step; }
.steps li { position: relative; padding: 22px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 18px; right: 18px; font: 700 34px var(--display); color: var(--line); }
.steps .ico { color: var(--accent); margin-bottom: 10px; }
.steps h3 { font-size: 18px; margin: 0 0 6px; }
.steps p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.pill-links { display: flex; flex-wrap: wrap; gap: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; background: var(--surface); }
.pill .ico { width: 16px; height: 16px; color: var(--accent); }
.pill:hover { border-color: var(--accent); color: var(--accent); }

/* =====================================================================
   OnBusLaw theme: "counsel"
   Light, law-library feel: ivory paper pages, deep navy ink and bands,
   brass-gold detailing, Source Serif 4 headings + Inter body, small-caps
   eyebrows, ruled cards and a navy footer with the legal-information notice.
   ===================================================================== */
:root {
  color-scheme: light;
  --navy: #0F1E3A;
  --navy-2: #182C55;
  --navy-3: #0A152B;
  --gold: #B8892F;          /* decoration, rules, icons */
  --gold-ink: #85601C;      /* gold text on light backgrounds (AA) */
  --gold-lt: #D4B06A;       /* gold on navy */
  --accent: #1E3D7B;        /* links, buttons */
  --accent-2: var(--accent);
  --accent-soft: rgba(30,61,123,.07);
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --surface-2: #F4F1EA;
  --line: #E3DED2;
  --ink: #0F1E3A;
  --ink-2: #3B4862;
  --ink-3: #636D82;
  --radius: 10px;
  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font: "Inter", system-ui, sans-serif;
  --shadow: 0 1px 2px rgba(15,30,58,.06), 0 10px 30px rgba(15,30,58,.08);
}
body { background: var(--bg); color: var(--ink); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.012em; }
h4 { font-family: var(--font); font-weight: 700; }
.skip:focus { background: var(--navy); color: #fff; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Top utility bar */
.topbar { background: var(--navy); color: rgba(255,255,255,.82); font-size: 13px; }
.topbar-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar p { margin: 0; }
.topbar strong { color: var(--gold-lt); font-weight: 600; }
.topbar-note { color: rgba(255,255,255,.62); white-space: nowrap; }
@media (max-width: 760px) { .topbar-note { display: none; } .topbar { font-size: 12px; } }

/* Header */
.site-header { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(184,137,47,.25); }
.bar { height: 74px; }
.brand-wrap { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.ol-mark { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 9px; box-shadow: 0 0 0 1px rgba(212,176,106,.5); }
.ol-word { display: block; font: 700 25px/1 var(--display); letter-spacing: -.01em; color: var(--navy); }
.ol-word b { font-weight: 700; color: var(--gold-ink); }
.ol-word small { display: block; white-space: nowrap; font: 500 11.5px/1 var(--font); letter-spacing: .04em; color: var(--ink-3); margin-top: 5px; }
.by { font: 600 11px var(--font); letter-spacing: .04em; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; text-decoration: none; }
.by:hover { color: var(--navy); border-color: var(--gold); }
@media (max-width: 1180px) { .by { display: none; } }
@media (max-width: 420px) { .ol-word small { display: none; } .ol-word { font-size: 23px; } }
.nav { gap: 2px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 14.5px; font-weight: 600; padding: 8px 10px; border-radius: 6px; position: relative; }
.nav a:hover { color: var(--navy); background: var(--accent-soft); }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.menu span { background: var(--navy); }
@media (max-width: 860px) {
  .nav { top: 74px; background: #fff; box-shadow: var(--shadow); padding: 6px 16px 14px; }
  .nav a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}
.head-cta { display: inline-flex; align-items: center; gap: 8px; margin-left: 8px; padding: 10px 16px; border-radius: 6px; background: var(--navy); color: #fff; font: 600 14px var(--font); text-decoration: none; white-space: nowrap; border: 1px solid var(--navy); }
.head-cta svg { width: 16px; height: 16px; color: var(--gold-lt); }
.head-cta:hover { background: var(--navy-2); }
@media (max-width: 1080px) { .head-cta { display: none; } }
@media (min-width: 1081px) { .nav a[href="/complaints/"] { display: none; } }

/* Heroes */
.hero-art { display: none; }
.eyebrow { font: 700 12px var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); flex: 0 0 auto; }
.hero h1 { font-weight: 600; letter-spacing: -.02em; }
.hero h1 .hl { color: var(--gold-lt); font-style: italic; }
.lede { color: var(--ink-2); font-size: 18.5px; }

.hero.has-img { background: var(--navy-3); }
.hero.has-img .eyebrow { color: var(--gold-lt); }
.hero.has-img .eyebrow::before { background: var(--gold-lt); }
.hero.has-img .lede { color: rgba(255,255,255,.9); }
.hero-home.has-img { padding: 96px 0 92px; }
.hero-home.has-img::after { background: linear-gradient(90deg, rgba(10,21,43,.96) 0%, rgba(10,21,43,.86) 45%, rgba(10,21,43,.45) 100%); }
.hero-home h1 { font-size: clamp(36px, 5.2vw, 62px); max-width: 780px; line-height: 1.06; }
.hero-home .lede { max-width: 640px; }
.hero-page.has-img { padding: 64px 0 52px; }
.hero-page.has-img::after { background: linear-gradient(90deg, rgba(10,21,43,.95) 0%, rgba(10,21,43,.84) 55%, rgba(10,21,43,.55) 100%); }
.hero-page h1 { font-size: clamp(30px, 4.2vw, 46px); max-width: 860px; }
@media (max-width: 640px) {
  .hero-home.has-img { padding: 56px 0 52px; }
  .hero-page.has-img { padding: 44px 0 38px; }
  .hero-home.has-img::after, .hero-page.has-img::after { background: rgba(10,21,43,.88); }
  .lede { font-size: 17px; }
}
.juris { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; font-size: 13.5px; color: rgba(255,255,255,.75); }
.juris span { font: 700 12px var(--font); letter-spacing: .08em; color: var(--navy); background: var(--gold-lt); border-radius: 4px; padding: 3px 8px; }

/* Search */
.search { max-width: 700px; background: #fff; border: 1px solid #fff; border-radius: 8px; padding: 6px 6px 6px 16px; box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.search svg { color: var(--gold); }
.search input { color: var(--ink); font-size: 16px; padding: 12px 0; }
.search input::placeholder { color: #7C8496; }
.search button { font: 600 15px var(--font); background: var(--gold-lt); color: var(--navy-3); border-radius: 5px; padding: 13px 24px; }
.search button:hover { background: #E2C383; }
.hero:not(.has-img) .search, .cta-band .search { border-color: var(--line); box-shadow: var(--shadow); }
.chips { gap: 8px; margin-top: 18px; }
.chips a { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.06); font-weight: 600; font-size: 13.5px; border-radius: 4px; padding: 6px 12px; }
.chips a:hover { color: var(--navy); background: var(--gold-lt); border-color: var(--gold-lt); }
@media (max-width: 520px) { .search { padding: 5px 5px 5px 12px; } .search button { padding: 12px 16px; } }

/* Breadcrumbs (inner pages) */
.page .crumbs { background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.crumbs ol { padding: 12px 0; color: var(--ink-3); font-size: 13.5px; }
.crumbs a { color: var(--accent); font-weight: 500; } .crumbs a:hover { text-decoration: underline; }

/* Sections */
section h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 22px; }
.highlights, .partners, .faq, .related, .cta-band { padding: 56px 0; }
.grid { gap: 18px; }

/* "Why OnBusLaw": numbered sections */
.highlights { background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.highlights .grid { counter-reset: tile; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 28px; }
.tile { background: none; border: 0; border-top: 2px solid var(--navy); border-radius: 0; padding: 18px 0 0; position: relative; }
.tile::before { counter-increment: tile; content: "\00A7  " counter(tile); display: block; font: 600 15px var(--display); color: var(--gold-ink); margin-bottom: 8px; }
.tile h3 { font-size: 21px; }
.tile p { color: var(--ink-2); font-size: 15.5px; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 20px 20px; overflow: hidden; isolation: isolate; box-shadow: 0 1px 2px rgba(15,30,58,.04); }
.card::before { content: ""; display: block; height: 6px; margin: 0 -20px 16px; background: linear-gradient(90deg, var(--navy), var(--navy-2) 70%, var(--gold)); }
.card.has-img::before { display: none; }
.card .card-img { width: calc(100% + 40px); margin: 0 -20px 14px; aspect-ratio: 16 / 9; object-fit: cover; height: auto; transition: transform .35s; }
.card:hover .card-img { transform: scale(1.03); }
.card:hover, .offer:hover { transform: translateY(-2px); border-color: rgba(184,137,47,.6); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; color: var(--navy); }
.card p { color: var(--ink-2); font-size: 14.5px; }
.cta { color: var(--accent); font: 600 14.5px var(--font); }
.related .grid, .posts .grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }

/* Partner offers */
.offer { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.offer .cta { align-self: stretch; text-align: center; background: var(--navy); color: #fff; border-radius: 6px; padding: 11px 14px; margin-top: 10px; }
.offer:hover .cta { background: var(--navy-2); }
.merchant { color: var(--ink-3); }
.badge { background: var(--gold-lt); color: var(--navy-3); border-radius: 4px; }
.aff-note { color: var(--ink-3); } .aff-note a { color: var(--accent); }

/* Article */
.content { padding: 48px 0 16px; }
.toc { border-left: 2px solid var(--gold); background: var(--surface); border-radius: 0 8px 8px 0; padding: 16px 16px 16px 18px; box-shadow: 0 1px 2px rgba(15,30,58,.05); }
.toc p { font: 700 11.5px var(--font); letter-spacing: .12em; color: var(--gold-ink); }
.toc a { color: var(--ink-2); } .toc a:hover { color: var(--accent); }
.prose { color: var(--ink-2); font-size: 17px; line-height: 1.72; }
.prose h2 { color: var(--navy); font-size: 29px; padding-top: 6px; }
.prose h3, .prose strong { color: var(--navy); }
.prose a { color: var(--accent); text-underline-offset: 3px; text-decoration-color: rgba(30,61,123,.35); }
.prose a:hover { text-decoration-color: var(--gold); }
.prose ul li::marker, .prose ol li::marker { color: var(--gold); }
.prose, .toc { min-width: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; display: block; overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: #fff; background: var(--navy); font: 600 13px var(--font); letter-spacing: .03em; }
.prose tr:last-child td { border-bottom: 0; }
.prose .note { background: #FBF6EA; border: 1px solid #EBDDBB; border-left: 4px solid var(--gold); border-radius: 6px; padding: 14px 18px; font-size: 15.5px; color: var(--ink-2); }
.prose .note strong:first-child { color: var(--gold-ink); }
.updated { color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.faq summary { font: 600 18px var(--display); color: var(--navy); padding: 18px 20px; }
.faq summary:hover { color: var(--accent); }
.faq summary::after { color: var(--gold); font-family: var(--font); font-weight: 400; }
.faq details[open] { border-color: rgba(184,137,47,.5); }
.faq details > div { color: var(--ink-2); }
.faq details > div a { color: var(--accent); }

/* Sources */
.sources .wrap { border-top: 1px solid var(--line); padding-top: 26px; }
.sources h2 { font-size: 20px; }
.sources a, .more-link a { color: var(--accent); }

/* Bottom CTA: navy band */
.cta-band .wrap { background: radial-gradient(80% 140% at 100% 0%, rgba(212,176,106,.22), transparent 55%), linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); border: 0; border-radius: 14px; padding: 48px 28px; }
.cta-band h2 { color: #fff; }
.cta-band .search { border-color: #fff; }

/* Home: visual order only (HTML order unchanged for SEO) */
.home main { display: flex; flex-direction: column; }
.home main > .hero { order: -10; }
.home main > .blocks-strip { order: -9; }
.home main > .blocks-tiles { order: -8; }
.home main > .blocks-deals { order: -7; }
.home main > .blocks-steps { order: -6; }
.home main > .highlights { order: -5; }
.home main > .posts { order: -4; }
.home main > .blocks-links { order: -3; }

/* Blocks */
.blocks { padding: 60px 0; }
.block-head { margin-bottom: 26px; }
.block-head h2 { font-size: clamp(26px, 3.2vw, 36px); }
.block-head p { font-size: 16.5px; }
.block-more { color: var(--accent); }
.block-more:hover { color: var(--gold-ink); }
.blocks-strip { padding: 0; border: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 6px 20px rgba(15,30,58,.05); position: relative; z-index: 1; }
.blocks-strip .wrap { padding-top: 18px; padding-bottom: 18px; }
.strip-list li { font-size: 14px; }
.strip-list .ico { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--navy); color: var(--gold-lt); }
.strip-list strong { color: var(--navy); }
.tiles { grid-auto-rows: 210px; }
.tile-photo { border-radius: var(--radius); box-shadow: 0 8px 24px rgba(15,30,58,.12); }
.tile-shade { background: linear-gradient(180deg, rgba(10,21,43,.05) 20%, rgba(10,21,43,.92) 100%); }
.tile-body h3 { font-family: var(--display); font-weight: 600; }
.tile-badge { background: var(--gold-lt); color: var(--navy-3); backdrop-filter: none; border-radius: 3px; }
.tile-photo::after { content: "\2192"; position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--navy); font-weight: 700; opacity: 0; transform: translateX(-6px); transition: .25s; }
.tile-photo:hover::after { opacity: 1; transform: none; }
.tile-photo:not(.tile-feature) .tile-body p { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .3s; }
.tile-photo:not(.tile-feature):hover .tile-body p, .tile-photo:not(.tile-feature):focus-visible .tile-body p { max-height: 80px; opacity: .92; }
@media (hover: none) { .tile-photo:not(.tile-feature) .tile-body p { display: none; } }
@media (max-width: 520px) { .tiles { grid-auto-rows: 160px; } .tile-feature .tile-body p { display: none; } .tile-photo::after { display: none; } }

/* "Rules at a glance" cards (deals block) */
.blocks-deals { background: var(--navy); }
.blocks-deals .block-head h2 { color: #fff; }
.blocks-deals .block-head p { color: rgba(255,255,255,.78); }
.blocks-deals .block-more { color: var(--gold-lt); }
.deal { background: #fff; border: 1px solid transparent; border-radius: var(--radius); padding: 22px 22px 22px 26px; position: relative; overflow: hidden; }
.deal::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold); }
.deal:hover { border-color: var(--gold-lt); box-shadow: 0 14px 34px rgba(0,0,0,.3); }
.deal-top .ico { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--surface-2); color: var(--navy); }
.deal-badge { background: var(--navy); color: var(--gold-lt); border-radius: 4px; letter-spacing: .06em; }
.deal h3 { font-family: var(--display); font-size: 20px; color: var(--navy); }
.deal p { color: var(--ink-2); }
.deal .cta { margin-top: 8px; }
.steps li { background: var(--surface); border-color: var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); }
.steps li::before { font-family: var(--display); color: rgba(184,137,47,.35); font-size: 46px; top: 10px; }
.steps .ico { width: 46px; height: 46px; padding: 11px; border-radius: 50%; background: var(--navy); color: var(--gold-lt); }
.steps h3 { font-size: 20px; }
.pill { background: var(--surface); border-color: var(--line); color: var(--navy); border-radius: 6px; }
.pill .ico { color: var(--gold); }
.pill:hover { border-color: var(--navy); color: var(--navy); background: var(--accent-soft); }

/* Blog */
.posts { background: var(--surface-2); box-shadow: 0 0 0 100vmax var(--surface-2); clip-path: inset(0 -100vmax); }
.page-blog .posts { background: none; box-shadow: none; }
.post-card .post-meta { margin-top: 2px; font-size: 12.5px; letter-spacing: .02em; color: var(--gold-ink); font-weight: 600; }
.post-byline { color: var(--ink-3); }

/* Footer */
.site-footer { background: var(--navy-3); color: rgba(255,255,255,.72); border-top: 3px solid var(--gold); margin-top: 64px; }
.foot-legal { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(212,176,106,.3); border-radius: 10px; padding: 18px 20px; margin-bottom: 40px; }
.foot-legal svg { width: 28px; height: 28px; flex: 0 0 auto; color: var(--gold-lt); margin-top: 2px; }
.foot-legal p { margin: 0; font-size: 14px; line-height: 1.6; }
.foot-legal strong { color: #fff; }
.foot-legal a { color: var(--gold-lt); font-weight: 600; }
.site-footer .ol-word { color: #fff; }
.site-footer .ol-word b { color: var(--gold-lt); }
.foot-cols h4 { color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.foot-cols a:hover { color: var(--gold-lt); }
.foot-cols p a { color: var(--gold-lt); }
.disclosure { border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.empty { color: var(--ink-2); }
.photo-credit { color: rgba(255,255,255,.6); }

/* Menu collapses earlier: this site's nav is wider than the kit default */
@media (max-width: 1080px) {
  .menu { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 74px; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 6px 16px 14px; }
  .nav.open { display: flex; }
  .nav a { border-radius: 0; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
}

/* Byline bar under guide heroes + reviewer profiles */
.byline { background: #fff; border-bottom: 1px solid var(--line); }
.byline .wrap { display: flex; align-items: flex-start; gap: 10px; padding-top: 13px; padding-bottom: 13px; }
.byline .ico { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; color: var(--gold); }
.byline.is-reviewed .ico { color: #fff; background: var(--navy); border-radius: 50%; padding: 3px; }
.byline p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.byline .sep { color: var(--gold); margin: 0 4px; }
.byline a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.post-byline a { color: inherit; font-weight: 600; }
.people { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.person { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: 0 0 var(--radius) var(--radius); padding: 22px; scroll-margin-top: 100px; }
.person-img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 0 0 3px var(--gold-lt); }
.person h3 { font-size: 21px; color: var(--navy); margin: 0 0 4px; }
.person p { margin: 6px 0 0; font-size: 14.5px; color: var(--ink-2); }
.person-role { font-weight: 600; color: var(--navy) !important; }
.person-cred { color: var(--gold-ink) !important; font-weight: 600; }
.person a { color: var(--accent); font-weight: 600; }

/* Menu folds into the menu button when it doesn't fit (set by site.js) */
.nav-compact .menu { display: block; }
.nav-compact .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; box-shadow: 0 12px 30px rgba(0,0,0,.18); z-index: 60; }
.nav-compact .nav.open { display: flex; }
.nav-compact .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }

/* Let article columns shrink so wide tables scroll inside their box instead of widening the page */
.content-grid > * { min-width: 0; }
