/* NZ Travel Insider — site-wide design system
   Accent #00A45A is reserved exclusively for CTAs. */
:root {
  --ink: #13202c;
  --text: #2c3a47;
  --muted: #5d6d7b;
  --line: #e3e9ee;
  --bg: #ffffff;
  --bg-soft: #f4f7f9;
  --navy: #0d2233;
  --navy-deep: #091826;
  --cta: #00a45a;
  --cta-dark: #008046;
  --star: #f5a623;
  --badge: #eef4f8;
  --radius: 10px;
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: #0b5aa5; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 700; }
h1 { font-size: 2rem; margin: 0.4em 0; }
h2 { font-size: 1.55rem; margin: 1.6em 0 0.6em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 0.5em; }
h4 { font-size: 1.05rem; margin: 1.2em 0 0.4em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header { background: var(--navy); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 60px; flex-wrap: wrap; }
.logo { color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: 0.2px; text-decoration: none; padding: 10px 0; }
.logo span { color: #9fd4bb; }
.logo:hover { text-decoration: none; }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a { color: #d6e2ec; padding: 18px 12px; font-size: 0.95rem; font-weight: 600; }
.main-nav a:hover, .main-nav a.active { color: #fff; text-decoration: none; box-shadow: inset 0 -3px 0 #9fd4bb; }
.nav-toggle { display: none; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); color: #e8eef4; padding: 34px 0 26px; }
.hero h1 { color: #fff; font-size: 2.1rem; margin: 0 0 10px; }
.hero p.lede { font-size: 1.08rem; color: #c3d2de; margin: 0 0 14px; max-width: 70ch; }
.hero .updated { font-size: 0.85rem; color: #8aa2b5; }
.trust-badges { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0 4px; }
.trust-badges li { list-style: none; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); color: #dce7ef; border-radius: 30px; padding: 5px 14px; font-size: 0.82rem; font-weight: 600; }
ul.trust-badges { padding: 0; margin: 14px 0 4px; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.82rem; color: var(--muted); padding: 10px 0 0; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { color: var(--ink); }

/* CTA buttons — the ONLY place the accent color appears */
.btn-cta {
  display: inline-block; background: var(--cta); color: #fff !important;
  font-weight: 800; text-align: center; border-radius: 8px;
  padding: 11px 22px; font-size: 0.98rem; text-decoration: none !important;
  box-shadow: 0 2px 0 var(--cta-dark); white-space: nowrap;
}
.btn-cta:hover { background: var(--cta-dark); }
.btn-cta small { display: block; font-weight: 500; font-size: 0.68rem; opacity: 0.9; }

/* Comparison table */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 18px 0 8px; }
table.compare { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: #fff; }
table.compare th { background: var(--navy); color: #fff; text-align: left; padding: 10px 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.4px; }
table.compare td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: middle; }
table.compare tr:nth-child(even) td { background: var(--bg-soft); }
table.compare .rank { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
table.compare img.op-logo { width: 110px; height: auto; max-height: 44px; object-fit: contain; background: var(--navy); border-radius: 6px; padding: 5px 8px; }
table.compare .op-name { font-weight: 700; color: var(--ink); }
table.compare .bonus { font-weight: 600; color: var(--ink); max-width: 220px; }
.rating { color: var(--star); font-weight: 700; white-space: nowrap; }
.rating .num { color: var(--ink); }

/* Toplist cards (mobile-first alternative under the table) */
.top-pick { border: 2px solid var(--navy); border-radius: var(--radius); padding: 18px; margin: 22px 0; background: #fff; position: relative; }
.top-pick .flag { position: absolute; top: -13px; left: 16px; background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; }
.top-pick .row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-pick img { width: 150px; background: var(--navy); border-radius: 8px; padding: 8px 10px; }
.top-pick .bonus-line { font-size: 1.12rem; font-weight: 800; color: var(--ink); }

/* Mini reviews */
.mini-review { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 34px; }
.mini-review .review-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 10px 0; }
.mini-review .review-head img { width: 130px; background: var(--navy); border-radius: 8px; padding: 7px 9px; }
.op-info { width: 100%; border-collapse: collapse; font-size: 0.9rem; margin: 14px 0; }
.op-info th { text-align: left; background: var(--bg-soft); width: 42%; padding: 8px 12px; border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.op-info td { padding: 8px 12px; border: 1px solid var(--line); }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 14px 0; }
.pros, .cons { border-radius: var(--radius); padding: 14px 18px; font-size: 0.92rem; }
.pros { background: #f0f8f3; border: 1px solid #cfe7d8; }
.cons { background: #fbf3f1; border: 1px solid #ecd4cd; }
.pros h4, .cons h4 { margin: 0 0 8px; }
.pros ul, .cons ul { margin: 0; padding-left: 20px; }
.pros li, .cons li { margin: 4px 0; }

/* Content blocks */
.section-alt { background: var(--bg-soft); padding: 28px 0; margin: 30px 0; }
.note-box { background: var(--badge); border-left: 4px solid var(--navy); border-radius: 0 8px 8px 0; padding: 14px 18px; font-size: 0.93rem; margin: 18px 0; }
.fact-block { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin: 18px 0; font-size: 0.95rem; }
.fact-block strong { color: var(--ink); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 8px; margin: 8px 0; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 13px 16px; list-style: none; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 16px; font-weight: 800; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .faq-a { padding: 0 16px 14px; }

/* Author / EEAT */
.byline { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); margin: 6px 0 2px; flex-wrap: wrap; }
.byline a { font-weight: 700; }
.author-box { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 26px 0; background: var(--bg-soft); align-items: flex-start; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.author-box img.avatar { display: block; object-fit: cover; object-position: center 25%; }
.author-box--profile img.avatar { width: 112px; height: 112px; }
.author-box p { margin: 4px 0 0; font-size: 0.9rem; }

/* Responsible gambling */
.rg-block { background: var(--navy-deep); color: #c9d7e2; border-radius: var(--radius); padding: 20px 24px; margin: 34px 0 10px; font-size: 0.9rem; }
.rg-block h2, .rg-block h3 { color: #fff; margin-top: 0; }
.rg-block a { color: #9fd4bb; }
.rg-block .r18 { display: inline-block; border: 2px solid #fff; color: #fff; border-radius: 50%; width: 38px; height: 38px; line-height: 34px; text-align: center; font-weight: 800; margin-right: 10px; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #9fb3c2; margin-top: 46px; padding: 34px 0 26px; font-size: 0.88rem; }
.site-footer a { color: #c9d7e2; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.footer-cols h4 { color: #fff; font-size: 0.95rem; margin: 0 0 10px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-cols li { margin: 6px 0; }
.footer-legal { border-top: 1px solid #1d3346; margin-top: 26px; padding-top: 18px; font-size: 0.8rem; color: #7a93a6; }

/* Tables of content */
.toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 20px 0; font-size: 0.92rem; }
.toc ol { margin: 6px 0 0; padding-left: 22px; columns: 2; }
.toc li { margin: 3px 0; }

/* Misc */
.center { text-align: center; }
.small { font-size: 0.85rem; color: var(--muted); }
.anchor-offset { scroll-margin-top: 80px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 1.55rem; }
  h2 { font-size: 1.3rem; }
  .pros-cons { grid-template-columns: 1fr; }
  .toc ol { columns: 1; }
  .main-nav a { padding: 12px 10px; }
  table.compare { font-size: 0.82rem; }
  table.compare img.op-logo { width: 84px; }
  .btn-cta { padding: 10px 14px; font-size: 0.9rem; }
}

/* 2026 editorial layout: inspired by the supplied sidebar and card reference. */
:root {
  --ink: #0b1723;
  --text: #263644;
  --muted: #526373;
  --line: #e0e7ed;
  --bg-soft: #f5f8fa;
  --navy: #111d29;
  --navy-deep: #0b141e;
  --cta: #00ad68;
  --cta-dark: #008e55;
  --brand: #2b4be8;
  --sidebar-width: 250px;
}
body { background: #fff; color: var(--text); }
a { color: #2442bd; }
:focus-visible { outline: 3px solid #81a4ff; outline-offset: 3px; }
h1, h2, h3, h4 { letter-spacing: -0.025em; }
h2 { padding-top: 2px; border-top: 1px solid var(--line); }
.wrap { max-width: 1180px; padding-inline: clamp(16px, 2.5vw, 36px); }

/* Top bar and permanently visible desktop directory. */
.site-header {
  height: 66px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 3px 18px rgba(13,29,43,.06);
  backdrop-filter: blur(12px);
}
.site-header .wrap { max-width: none; min-height: 66px; gap: 24px; }
.logo { color: var(--ink); font-size: 1.23rem; white-space: nowrap; letter-spacing: -.04em; }
.logo span { color: var(--brand); }
.main-nav { flex-wrap: nowrap; align-items: center; }
.main-nav a { color: #344458; padding: 20px 10px; font-size: .88rem; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); box-shadow: inset 0 -3px 0 var(--brand); }
.nav-toggle { display: none; flex: 0 0 auto; width: 42px; height: 42px; padding: 10px; background: transparent; border: 0; border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 2px; }
.nav-toggle:hover { background: var(--bg-soft); }
.site-sidebar {
  position: fixed; z-index: 40; left: 0; top: 66px; bottom: 0;
  width: var(--sidebar-width); overflow-y: auto; overscroll-behavior: contain;
  background: #f7f9fc; border-right: 1px solid var(--line);
  scrollbar-width: thin;
}
.sidebar-intro { padding: 23px 20px 19px; border-bottom: 1px solid var(--line); }
.sidebar-eyebrow, .sidebar-label { display: block; text-transform: uppercase; letter-spacing: .09em; font-size: .67rem; font-weight: 800; color: #657488; }
.sidebar-intro strong { display: block; color: var(--ink); margin-top: 5px; line-height: 1.3; font-size: 1.12rem; }
.sidebar-intro p { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 7px 0 10px; }
.sidebar-age { display: inline-block; border: 1px solid #d4dce9; color: #41516b; border-radius: 20px; padding: 2px 9px; font-size: .71rem; font-weight: 800; }
.sidebar-nav { display: grid; gap: 2px; padding: 12px 8px; }
.sidebar-label { padding: 16px 12px 5px; }
.sidebar-nav a { display: block; padding: 8px 12px; color: #405166; border-left: 3px solid transparent; border-radius: 0 7px 7px 0; font-size: .84rem; font-weight: 650; line-height: 1.35; }
.sidebar-nav a:hover, .sidebar-nav a.active { color: var(--brand); background: #eaf0ff; border-left-color: var(--brand); text-decoration: none; }
.sidebar-help { margin: 0 16px 20px; padding: 13px; border-radius: 9px; background: #e8eef8; color: #31435a; font-size: .76rem; }
.sidebar-help a { display: block; font-weight: 700; }
.nav-scrim { display: none; }

/* Every page has a real hero; editorial pages use the shorter variant. */
body > .hero, body > main, body > .site-footer { margin-left: var(--sidebar-width); }
main .hero { margin-left: 0; }
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 88% 18%, rgba(58, 93, 126, .35), transparent 46%), linear-gradient(115deg, #091a2e 0%, #102943 68%, #163754 100%);
  border-top: 2px solid #d7ac5c;
  border-bottom: 2px solid #d7ac5c;
  box-shadow: inset 0 5px 0 rgba(215, 172, 92, .11), inset 0 -5px 0 rgba(215, 172, 92, .11);
  color: #eaf1f8;
  padding: 30px 0 28px;
}
.hero::before, .hero::after { content: ""; position: absolute; width: 46px; height: 46px; pointer-events: none; opacity: .85; }
.hero::before { top: 13px; right: 15px; border-top: 2px solid #e4bf78; border-right: 2px solid #e4bf78; }
.hero::after { bottom: 13px; left: 15px; border-bottom: 2px solid #e4bf78; border-left: 2px solid #e4bf78; }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 820px; font-size: clamp(1.85rem, 2.6vw, 2.65rem); line-height: 1.13; margin: 8px 0 11px; text-wrap: balance; }
.hero .lede { color: #dce7f0; max-width: 74ch; font-size: 1rem; line-height: 1.55; }
.hero .byline, .hero .updated, .hero .hero-meta, .hero .breadcrumbs { color: #c6d4e2 !important; }
.hero .breadcrumbs { display: block; text-align: left; padding: 0; margin: 0 0 8px; line-height: 1.3; }
.hero .breadcrumbs a, .hero .hero-meta a, .hero .byline a, .hero .updated a { color: #eef5ff !important; }
.hero .breadcrumbs span { color: #fff; }
.hero .byline, .hero .updated, .hero .hero-meta { display: block; margin: 7px 0 0; font-size: .82rem; line-height: 1.4; }
.hero .hero-author-link { display: inline-flex; align-items: center; gap: 6px; vertical-align: middle; font-weight: 700; }
.hero .hero-author-avatar { display: block; width: 28px; height: 28px; flex: 0 0 28px; object-fit: cover; object-position: center 25%; border-radius: 50%; border: 1px solid #d7ac5c; background: #dce5eb; }
.hero .hero-avatar-stack { display: inline-flex; align-items: center; padding-left: 7px; }
.hero .hero-avatar-stack .hero-author-avatar + .hero-author-avatar { margin-left: -7px; }
.hero .trust-badges { margin-bottom: 0; }
.hero .trust-badges li { background: rgba(19,36,55,.82); border-color: rgba(216,233,245,.22); color: #eff6fb; }
.hero--compact { padding: 27px 0 25px; }
.hero--compact h1 { margin-bottom: 0; }
.hero-kicker { display: inline-block; color: #f0c878; text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 800; }
main > .wrap { padding-top: 20px; padding-bottom: 38px; }
main > .hero + .wrap { padding-top: 16px; }
.breadcrumbs { font-size: .8rem; }
.byline { font-size: .82rem; }

/* Decision tables become a stack of dark cards, matching the reference. */
.table-scroll { overflow-x: auto; margin: 18px 0 14px; }
table.compare { border-collapse: separate; border-spacing: 0 8px; background: transparent; color: #e9f0f5; font-size: .84rem; min-width: 850px; }
table.compare thead th { position: sticky; top: 0; z-index: 2; background: #1a2937; color: #bcd0e5; padding: 12px 10px; border-bottom: 2px solid #354c60; }
table.compare tbody tr { background: #15232e; box-shadow: 0 2px 9px rgba(12,28,40,.13); }
table.compare tbody tr:first-child { background: #152b39; box-shadow: inset 4px 0 0 #5599ff, 0 4px 16px rgba(16,46,77,.18); }
table.compare td, table.compare tr:nth-child(even) td { background: transparent; border-top: 1px solid #314250; border-bottom: 1px solid #314250; padding: 13px 10px; line-height: 1.45; }
table.compare td:first-child { border-left: 1px solid #314250; border-radius: 10px 0 0 10px; }
table.compare td:last-child { border-right: 1px solid #314250; border-radius: 0 10px 10px 0; }
table.compare .rank { color: #9cc2ff; }
table.compare .op-name, table.compare .bonus, table.compare .rating .num { color: #fff; }
table.compare .op-name { font-size: .95rem; }
table.compare .rating { color: #ffcf6c; }
table.compare img.op-logo { width: 110px; height: 52px; max-height: 52px; object-fit: contain; background: #fff; border: 1px solid #dce4ed; padding: 5px; }
.btn-cta { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #00bc73, #008f60); border-radius: 8px; padding: 9px 16px; box-shadow: 0 4px 13px rgba(0,142,85,.26); transition: transform .15s, filter .15s; }
.btn-cta:hover { background: linear-gradient(135deg, #00c67b, #009a68); filter: brightness(1.04); transform: translateY(-1px); }
.top-pick { border-color: #478bff; background: #142735; color: #e9f0f5; box-shadow: 0 10px 30px rgba(21,42,62,.13); }
.top-pick .flag { background: #416cda; }
.top-pick h2, .top-pick h3, .top-pick .bonus-line { color: #fff; }
.top-pick p, .top-pick li { color: #d3e2ec; }
.top-pick .rating .num { color: #fff; }
.mini-review { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; margin-top: 24px; background: #fff; box-shadow: 0 5px 22px rgba(22,42,59,.04); }
.mini-review h3 { margin-top: .2em; }
.mini-review .review-head img { width: 120px; height: 64px; object-fit: contain; background: #142735; }
.note-box { background: #eff4fd; border-left-color: var(--brand); }
.fact-block, .faq details, .toc, .author-box { box-shadow: 0 3px 16px rgba(19,38,58,.04); }
.faq details { border-radius: 10px; }
.faq summary { padding: 16px 18px; }
.rg-block { background: #142534; }
.site-footer { margin-top: 0; }

/* Compact quick pick stays visible while readers scroll a money page. */
.sticky-pick { display: none; }

@media (max-width: 1220px) {
  .main-nav { display: none; }
}
@media (max-width: 1080px) {
  :root { --sidebar-width: 0px; }
  .site-header .wrap { justify-content: flex-start; gap: 10px; }
  .nav-toggle { display: block; }
  .site-sidebar { width: min(290px, 83vw); transform: translateX(-102%); visibility: hidden; transition: transform .2s ease, visibility .2s ease; box-shadow: 12px 0 30px rgba(0,0,0,.18); }
  body.nav-open .site-sidebar { transform: translateX(0); visibility: visible; }
  body.nav-open .nav-scrim { display: block; position: fixed; z-index: 39; inset: 66px 0 0; background: rgba(7,16,25,.55); }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 760px) {
  .author-box--profile { flex-direction: column; }
  .author-box--profile img.avatar { width: 88px; height: 88px; }
  .hero { padding: 16px 0 14px; }
  .hero--compact { padding: 16px 0 14px; }
  .hero::before, .hero::after { width: 20px; height: 20px; opacity: .7; }
  .hero::before { top: 8px; right: 8px; }
  .hero::after { bottom: 8px; left: 8px; }
  .hero-kicker { display: none; }
  .hero .breadcrumbs { margin-bottom: 5px; font-size: .72rem; }
  .hero .byline, .hero .updated, .hero .hero-meta { margin-top: 6px; font-size: .76rem; }
  .hero h1 { font-size: clamp(1.55rem, 5.6vw, 2rem); line-height: 1.16; }
  .hero .lede, main > .wrap > p.lede:first-child { display: none; }
  .hero .trust-badges { display: none; }
  .hero .breadcrumbs { padding-top: 0; }
  main > .wrap { padding-top: 12px; }
  main h2 { margin-top: 1.25em; }
  .table-scroll { overflow-x: visible; }
  table.compare.compare--cards-ready, table.compare.compare--cards-ready tbody, table.compare.compare--cards-ready tr, table.compare.compare--cards-ready td { display: block; width: 100%; min-width: 0; }
  table.compare.compare--cards-ready thead { display: none; }
  table.compare.compare--cards-ready tbody tr { border: 1px solid #36506a; border-radius: 12px; margin: 0 0 12px; padding: 8px 13px 12px; }
  table.compare.compare--cards-ready tbody tr:first-child { border-color: #5495fa; }
  table.compare.compare--cards-ready td, table.compare.compare--cards-ready tr:nth-child(even) td { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-bottom: 1px solid #2c4051; border-radius: 0; padding: 8px 0; text-align: right; overflow-wrap: anywhere; }
  table.compare.compare--cards-ready td::before { content: attr(data-label); color: #a9bdce; text-transform: uppercase; letter-spacing: .04em; font-size: .65rem; font-weight: 800; text-align: left; flex: 0 0 31%; }
  table.compare.compare--cards-ready td.rank { display: block; text-align: center; color: #9ec3ff; font-size: 1rem; }
  table.compare.compare--cards-ready td.rank::before { content: '#'; display: inline; color: inherit; font-size: inherit; }
  table.compare.compare--cards-ready td:has(.op-logo), table.compare.compare--cards-ready td:has(.btn-cta) { justify-content: center; }
  table.compare.compare--cards-ready td:has(.op-logo)::before, table.compare.compare--cards-ready td:has(.btn-cta)::before { display: none; }
  table.compare.compare--cards-ready td:last-child { border-bottom: 0; }
  table.compare.compare--cards-ready td:has(.btn-cta) .btn-cta { width: 100%; }
  table.compare.compare--cards-ready .op-name { font-size: 1.02rem; }
  table.compare.compare--cards-ready img.op-logo { width: 120px; height: 56px; }
  .sticky-pick { position: fixed; z-index: 45; bottom: 0; left: 0; right: 0; display: flex; align-items: center; gap: 9px; min-height: 66px; padding: 7px 12px; background: rgba(17,29,41,.97); border-top: 1px solid #3c5366; box-shadow: 0 -7px 25px rgba(0,0,0,.25); backdrop-filter: blur(10px); }
  .sticky-pick-rank { color: #acd0ff; font-weight: 800; }
  .sticky-pick img { width: 40px; height: 40px; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
  .sticky-pick-name { display: grid; min-width: 0; flex: 1; color: #fff; line-height: 1.1; }
  .sticky-pick-name strong { font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-pick-name small { color: #bdcbd8; font-size: .65rem; }
  .sticky-pick .btn-cta { font-size: .8rem; padding: 8px 13px; white-space: nowrap; }
  body:has(.sticky-pick) { padding-bottom: 66px; }
  .mini-review { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Ranked affiliate offers: desktop rows and mobile cards from the supplied reference. */
.affiliate-source[hidden] { display: none !important; }
.offer-list { display: grid; gap: 14px; margin: 16px 0 22px; }
.offer-card {
  display: grid;
  grid-template-columns: 48px 126px minmax(135px,1.05fr) minmax(210px,1.35fr) minmax(145px,.85fr) 180px;
  gap: 12px; align-items: center;
  background: #fff; border: 1px solid #dce4f0; border-radius: 18px;
  padding: 18px 20px 12px; box-shadow: 0 3px 15px rgba(24,43,72,.04);
  color: #152341;
}
.offer-card:nth-child(even) { background: #eef2f8; }
.offer-card--top, .offer-card--top:nth-child(even) { background: #fffaf0; border-color: #f2ac18; }
.offer-card__rank {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #192a52; color: #fff; font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 4px 12px rgba(20,37,69,.12);
}
.offer-card--top .offer-card__rank { background: #efa900; color: #1e2a40; }
.offer-card__logo {
  height: 82px; min-width: 0; display: grid; place-items: center;
  background: #fff; border: 1px solid #d7e0ed; border-radius: 12px; padding: 9px;
  color: #172541; font-weight: 800; text-align: center;
}
.offer-card__logo img { display: block; max-width: 100%; max-height: 66px; width: auto; height: auto; object-fit: contain; }
.offer-card__brand { align-self: center; min-width: 0; }
.offer-card__brand h3 { margin: 4px 0 2px; color: #17264c; font-size: 1.12rem; line-height: 1.22; overflow-wrap: anywhere; }
.offer-card__rating { color: #637188; font-size: .77rem; font-weight: 650; }
.offer-card__badge { display: inline-block; background: #f0aa00; color: #13203b; border-radius: 4px; font-size: .63rem; font-weight: 900; letter-spacing: .04em; padding: 4px 7px; }
.offer-card__bonus { display: grid; align-content: center; gap: 5px; min-height: 96px; padding: 12px 15px; background: #ffeca8; border: 1px solid #e5b222; border-left: 4px solid #dfa500; border-radius: 10px; }
.offer-card__bonus span { text-transform: uppercase; color: #80611c; font-size: .65rem; font-weight: 800; letter-spacing: .11em; }
.offer-card__bonus strong { color: #182546; font-size: 1.03rem; line-height: 1.3; overflow-wrap: anywhere; }
.offer-card__facts { display: grid; gap: 9px; padding: 3px 0; min-width: 0; }
.offer-card__fact { min-width: 0; }
.offer-card__fact span { display: block; color: #68748b; text-transform: uppercase; font-size: .64rem; font-weight: 800; letter-spacing: .09em; line-height: 1.25; }
.offer-card__fact strong { display: block; margin-top: 3px; color: #147856; font-size: .84rem; line-height: 1.35; overflow-wrap: anywhere; }
.offer-card__action { display: grid; justify-items: stretch; gap: 7px; align-self: center; min-width: 0; }
.offer-card__action .btn-cta {
  display: flex; width: 100%; min-height: 50px; padding: 10px 12px;
  background: #d9154c; border-radius: 10px; box-shadow: 0 8px 18px rgba(217,21,76,.15);
  font-weight: 800; font-size: .9rem; line-height: 1.2; text-align: center; white-space: normal;
}
.offer-card__action .btn-cta:hover { background: #bc103f; filter: none; }
.offer-card__action small { text-align: center; color: #7a8597; font-size: .65rem; line-height: 1.4; }
.offer-card__action small a { color: #385db1; text-decoration: underline; }
.offer-card__details { grid-column: 1 / -1; justify-self: end; width: 100%; margin-top: -2px; font-size: .72rem; }
.offer-card__details summary { width: max-content; margin-left: auto; cursor: pointer; color: #61728d; text-decoration: underline; }
.offer-card__details summary:hover { color: #263c73; }
.offer-card__details dl { display: grid; grid-template-columns: minmax(110px,180px) 1fr; gap: 7px 16px; margin: 12px 0 2px; padding: 15px; border-top: 1px solid #d6deeb; border-radius: 0 0 8px 8px; background: rgba(234,240,248,.62); font-size: .79rem; }
.offer-card__details dt { font-weight: 750; color: #52627d; }
.offer-card__details dd { margin: 0; color: #213351; }

@media (max-width: 1380px) and (min-width: 761px) {
  .offer-card { grid-template-columns: 44px 105px minmax(120px,1fr) minmax(185px,1.25fr) 165px; gap: 10px; }
  .offer-card__facts { grid-column: 3 / 5; grid-row: 2; display: flex; gap: 20px; padding: 0; }
  .offer-card__fact { flex: 1; }
  .offer-card__action { grid-column: 5; grid-row: 1 / 3; }
  .offer-card__details { grid-row: 3; }
}
@media (max-width: 760px) {
  .offer-list { gap: 12px; margin-top: 12px; }
  .offer-card { display: flex; flex-direction: column; gap: 10px; position: relative; padding: 14px 15px 10px; border-radius: 18px; }
  .offer-card__rank { position: absolute; z-index: 1; top: 14px; left: 15px; width: 39px; height: 39px; }
  .offer-card__logo { width: 100%; height: 96px; }
  .offer-card__logo img { max-height: 74px; }
  .offer-card__brand { width: 100%; text-align: center; }
  .offer-card__brand h3 { margin: 4px 0 0; font-size: 1.15rem; }
  .offer-card__rating { display: block; margin-top: 2px; }
  .offer-card__bonus { width: 100%; min-height: 76px; text-align: center; padding: 10px 12px; }
  .offer-card__bonus strong { font-size: 1.02rem; }
  .offer-card__facts { width: 100%; padding: 10px 12px; border-radius: 10px; background: #eaf0f8; text-align: center; }
  .offer-card__fact strong { font-size: .88rem; }
  .offer-card__action { width: 100%; }
  .offer-card__action .btn-cta { min-height: 48px; font-size: .97rem; }
  .offer-card__details { margin-top: -4px; font-size: .73rem; }
  .offer-card__details summary { margin-inline: auto; }
  .sticky-pick-rank { color: #ffca4b; }
  .sticky-pick .btn-cta { background: #d9154c; box-shadow: 0 4px 14px rgba(217,21,76,.24); }
  .sticky-pick .btn-cta:hover { background: #bc103f; filter: none; }
}
