/* OFPANZ — ofpanz.co.nz
   Palette: navy #0D1B2A (header/footer), ink #1F2933 (text), paper #FFFFFF,
   mist #F4F6F8 (alt sections), line #E2E8F0.
   ACCENT #16C761 (kiwi green) is reserved for CTAs and CTA-adjacent trust marks ONLY. */

:root {
  --navy: #0D1B2A;
  --navy-2: #16273B;
  --ink: #1F2933;
  --muted: #52606D;
  --paper: #fff;
  --mist: #F4F6F8;
  --line: #E2E8F0;
  --cta: #16C761;
  --cta-dark: #10A14D;
  --gold: #F5B301;
  --radius: 10px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: #0B5FA5; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--navy); }
h1 { font-size: 2rem; margin: .2em 0 .4em; }
h2 { font-size: 1.5rem; margin-top: 2.2em; }
h3 { font-size: 1.2rem; margin-top: 1.6em; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 18px; }

/* ---------- header ---------- */
.site-header { background: var(--navy); color: #fff; }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; flex-wrap: wrap; }
.logo { display: flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: .4px; padding: 10px 0; }
.logo img { width: 30px; height: 30px; }
.logo .nz { color: var(--cta); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.site-nav a { color: #D8E1EA; text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--navy-2); color: #fff; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 34px 0 28px; }
.hero h1 { color: #fff; margin: 0 0 .35em; }
.hero p { color: #C3CFDA; max-width: 760px; margin: 0 0 14px; font-size: 1.04rem; }
.hero .byline, .byline { color: #9FB0C0; font-size: .88rem; }
.byline a { color: inherit; }
main .byline { color: var(--muted); }
.trustbar { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.trustbar span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #E7EEF4; font-size: .82rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; }

/* ---------- top-picks table ---------- */
.toplist-section { padding: 10px 0 6px; }
.table-scroller { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table.toplist { width: 100%; border-collapse: collapse; min-width: 740px; background: #fff; font-size: .95rem; }
table.toplist thead th { background: var(--mist); color: var(--navy); text-align: left; padding: 11px 12px; font-size: .8rem; text-transform: uppercase; letter-spacing: .5px; border-bottom: 2px solid var(--line); white-space: nowrap; }
table.toplist td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.toplist tbody tr:last-child td { border-bottom: 0; }
table.toplist tbody tr:hover { background: #FAFCFD; }
tr.top-pick { background: #F2FBF5; }
tr.top-pick:hover { background: #ECF9F1 !important; }
.rank { font-weight: 800; color: var(--navy); white-space: nowrap; }
.rank .medal { font-size: 1.05rem; }
td.brandcell { min-width: 150px; }
.brandcell a.brandlink { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; text-decoration: none; }
.brandcell img { width: 86px; height: 40px; object-fit: contain; background: var(--navy); border-radius: 6px; padding: 3px 6px; }
.bonus { font-weight: 700; color: var(--navy); }
.subnote { display: block; font-size: .8rem; color: var(--muted); font-weight: 400; }
.rating { white-space: nowrap; font-weight: 700; }
.rating .stars { color: var(--gold); letter-spacing: 1px; }

/* ---------- CTA buttons (the only green things on the page) ---------- */
.btn-cta {
  display: inline-block; background: var(--cta); color: #fff !important; font-weight: 800;
  text-decoration: none; padding: 10px 20px; border-radius: 8px; white-space: nowrap;
  box-shadow: 0 2px 0 var(--cta-dark); font-size: .95rem;
}
.btn-cta:hover { background: var(--cta-dark); }
.btn-cta.lg { padding: 13px 30px; font-size: 1.05rem; }
.cta-center { text-align: center; margin: 22px 0; }

/* ---------- #1 pick spotlight ---------- */
.top-pick-card { display: flex; gap: 20px; align-items: center; border: 2px solid var(--cta); border-radius: var(--radius); padding: 18px 20px; margin: 20px 0; flex-wrap: wrap; background: #fff; }
.top-pick-card img { width: 120px; height: 56px; object-fit: contain; background: var(--navy); border-radius: 8px; padding: 5px 9px; }
.top-pick-card .tp-label { font-size: .75rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--cta-dark); }
.top-pick-card .tp-bonus { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.top-pick-card .tp-body { flex: 1; min-width: 220px; }
.top-pick-card p { margin: 4px 0; color: var(--muted); font-size: .92rem; }

/* ---------- mini reviews ---------- */
.review { border-top: 1px solid var(--line); padding-top: 8px; }
.review-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 10px 0 6px; }
.review-head img { width: 110px; height: 50px; object-fit: contain; background: var(--navy); border-radius: 8px; padding: 4px 8px; }
.review-head .score { margin-left: auto; font-weight: 800; color: var(--navy); font-size: 1.05rem; white-space: nowrap; }
table.info-table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: .93rem; }
table.info-table th, table.info-table td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); }
table.info-table th { background: var(--mist); color: var(--navy); width: 42%; font-weight: 700; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 14px 0; }
.proscons div { border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.proscons h4 { margin: 0 0 8px; font-size: .95rem; }
.proscons ul { margin: 0; padding-left: 20px; font-size: .92rem; }
.proscons .pros h4 { color: var(--cta-dark); }
.proscons .cons h4 { color: #B3261E; }

/* ---------- generic content ---------- */
.section-alt { background: var(--mist); padding: 26px 0; margin: 30px 0; }
blockquote.keyfact { border-left: 4px solid var(--navy); background: var(--mist); margin: 18px 0; padding: 12px 18px; font-size: .97rem; }
ol.steps { counter-reset: step; list-style: none; padding-left: 0; }
ol.steps li { position: relative; padding-left: 44px; margin: 12px 0; }
ol.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq details { border: 1px solid var(--line); border-radius: 8px; margin: 10px 0; padding: 0 16px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 13px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 800; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0; }

/* ---------- breadcrumbs ---------- */
.crumbs { font-size: .83rem; color: var(--muted); padding: 12px 0 0; }
.crumbs a { color: var(--muted); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li + li::before { content: "›"; margin: 0 6px; color: #9AA5B1; }

/* ---------- responsible gambling block ---------- */
.rg-block { border: 1px solid var(--line); border-left: 4px solid var(--navy); border-radius: 8px; background: var(--mist); padding: 16px 20px; margin: 34px 0 10px; font-size: .92rem; }
.rg-block h2, .rg-block h3 { margin-top: 0; font-size: 1.05rem; }

/* ---------- author box ---------- */
.author-box { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 26px 0; align-items: flex-start; background: #fff; }
.author-box .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: 0 0 56px; }
.author-box .author-photo { width: 72px; height: 72px; object-fit: cover; object-position: center 20%; border-radius: 50%; flex: 0 0 72px; border: 2px solid #dce5ee; }
.page-authors .author-box .author-photo { width: 112px; height: 112px; flex-basis: 112px; }
.byline-photo { width: 30px; height: 30px; object-fit: cover; object-position: center 20%; border-radius: 50%; vertical-align: middle; margin-right: 5px; border: 1px solid rgba(255,255,255,.65); }
@media (max-width: 600px) { .page-authors .author-box .author-photo { width: 72px; height: 72px; flex-basis: 72px; } }
.author-box p { margin: 4px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #AEBDCB; margin-top: 50px; padding: 36px 0 22px; font-size: .9rem; }
.site-footer a { color: #D8E1EA; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 26px; }
.site-footer h4 { color: #fff; margin: 0 0 10px; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-rg { border-top: 1px solid rgba(255,255,255,.14); margin-top: 26px; padding-top: 16px; font-size: .83rem; color: #8DA0B3; }
.badge-18 { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; color: #fff; font-weight: 800; font-size: .8rem; margin-right: 10px; vertical-align: middle; }

/* ---------- misc ---------- */
.updated-line { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; background: var(--mist); font-size: .92rem; }
.toc ul { columns: 2; margin: 8px 0 0; padding-left: 20px; }
.compare-grid table { font-size: .9rem; }

@media (max-width: 760px) {
  h1 { font-size: 1.55rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .proscons { grid-template-columns: 1fr; }
  .toc ul { columns: 1; }
  .review-head .score { margin-left: 0; }
}
