/*
Theme Name: UKNonCasinos
Description: Editorial UK casino comparison theme — 1:1 port of the Lovable design. Cream/navy/gold system, Source Serif 4 + Inter.
Version: 1.0.0
Author: UKNonCasinos
Text Domain: noncasinouk
*/

/* ============ TOKENS ============ */
:root {
  --bg: #FDFBF7;            /* warm cream page */
  --surface: #FCFAF5;       /* warm ivory cards */
  --sand: #F6F0E4;          /* warm sand band */
  --subtle: #F4EFE6;
  --fg: #1C2B3A;            /* deep slate-navy text */
  --muted-fg: #5A6B7C;
  --navy: #1E3A5F;
  --navy-dark: #16293F;
  --gold: #B98A2F;
  --gold-ribbon: #D3A94B;
  --gold-wash: #F9F1DF;
  --danger: #9B3B3B;
  --border: #E5DED2;
  --radius: 6px;
  --shadow-card: 0 1px 2px rgba(28,43,58,.04), 0 1px 3px rgba(28,43,58,.06);
  --shadow-drop: 0 12px 32px -6px rgba(28,43,58,.28), 0 2px 8px -2px rgba(28,43,58,.18);
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* ============ BASE ============ */
* { box-sizing: border-box; border-color: var(--border); }
html { font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--fg); font-size: 16px; line-height: 1.65; }
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: 2.25rem; } h2 { font-size: 1.75rem; } h3 { font-size: 1.35rem; } h4 { font-size: 1.125rem; }
a { color: var(--navy); }
img { max-width: 100%; height: auto; }
.container { max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.tnum { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted-fg); }
.serif { font-family: var(--serif); }

/* ============ RIBBON + HEADER ============ */
.ribbon { background: var(--gold-ribbon); color: var(--navy); font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; }
.ribbon a { color: var(--navy); }
.site-header { background: #FFFFFF; border-bottom: 1px solid var(--border); position: relative; z-index: 60; }
.site-header .container { display: flex; align-items: center; gap: 28px; padding-block: 16px; }
.brand { font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--navy); text-decoration: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-item > a { display: inline-block; padding: 8px 12px; color: var(--fg); text-decoration: none; font-size: 15px; border-radius: 4px; }
.nav-item > a:hover, .nav-item.open > a { color: var(--gold); }
.dropdown { position: absolute; top: 100%; left: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-drop); padding: 14px; display: none; min-width: 250px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; gap: 26px; }
.dropdown .col { min-width: 190px; }
.dropdown .col-h { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; }
.dropdown a { display: block; padding: 6px 8px; font-size: 14.5px; color: var(--fg); text-decoration: none; border-radius: 4px; white-space: nowrap; }
.dropdown a:hover { background: var(--subtle); }
.dropdown a.all { color: var(--gold); font-weight: 600; border-top: 1px solid var(--border); margin-top: 6px; padding-top: 9px; }
.dropdown a.all:hover { background: none; text-decoration: underline; }

/* ============ FOOTER ============ */
.site-footer { background: var(--navy); color: #E8E2D6; margin-top: 64px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr 1fr; gap: 32px; padding-block: 48px 32px; }
.site-footer .f-h { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ribbon); margin-bottom: 12px; }
.site-footer a { display: block; color: #C9C2B4; text-decoration: none; font-size: 14px; padding-block: 4px; }
.site-footer a:hover { color: #FDFBF7; }
.f-brand .wordmark { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: #FDFBF7; }
.f-brand p { font-size: 13.5px; color: #B9B2A4; max-width: 300px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid rgba(232,226,214,.35); border-radius: 50%; padding: 0; }
.socials a:hover { border-color: var(--gold-ribbon); color: var(--gold-ribbon); }
.f-compliance { border-top: 1px solid rgba(232,226,214,.15); padding-block: 20px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 13px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge-pill { display: inline-block; border: 1px solid rgba(232,226,214,.5); border-radius: 999px; padding: 4px 12px; font-weight: 600; font-size: 12px; color: #E8E2D6 !important; }
.badge-18 { background: #E8E2D6; color: var(--navy) !important; border-color: #E8E2D6; }
.f-bottom { border-top: 1px solid rgba(232,226,214,.15); padding-block: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: #A69F91; }

/* ============ HOMEPAGE BANDS — warm editorial rhythm ============ */
.band { padding-block: 60px; }
.band-cream { background: #FFFFFF; }
.band-sand { background-color: #F3ECDD; border-top: 3px solid var(--navy);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 8C26 20 14 24 14 36a12 12 0 0 0 12 12c2 0 4-1 6-2-1 4-3 7-6 10h12c-3-3-5-6-6-10 2 1 4 2 6 2a12 12 0 0 0 12-12C50 24 38 20 32 8z' fill='none' stroke='%231E3A5F' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 6L54 32 32 58 10 32z' fill='none' stroke='%231E3A5F' stroke-opacity='.07' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='8' y='8' width='48' height='48' rx='10' fill='none' stroke='%231E3A5F' stroke-opacity='.07' stroke-width='2'/%3E%3Ccircle cx='22' cy='22' r='3.5' fill='%231E3A5F' fill-opacity='.07'/%3E%3Ccircle cx='42' cy='42' r='3.5' fill='%231E3A5F' fill-opacity='.07'/%3E%3Ccircle cx='32' cy='32' r='3.5' fill='%231E3A5F' fill-opacity='.07'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 150px 150px, 110px 110px, 90px 90px;
  background-position: right -30px top 20px, left -25px bottom 30px, right 12% bottom -18px; }
.band-subtle { background: var(--subtle); border-top: 1px solid var(--border); }
.band-goldwash { border-top: 3px solid var(--gold-ribbon); color: #EDE7DA;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='24' fill='none' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3Ccircle cx='32' cy='32' r='14' fill='none' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3Cpath d='M32 8v10M32 46v10M8 32h10M46 32h10M15 15l7 7M42 42l7 7M49 15l-7 7M22 42l-7 7' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 10l5 11 12 1-9 8 3 12-11-7-11 7 3-12-9-8 12-1z' fill='none' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1E3A5F 0%, #16293F 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 160px 160px, 90px 90px, auto;
  background-position: right -40px top -30px, left 3% bottom 8%, center; }
.band-goldwash h2 { color: #FDFBF7; }
.band-goldwash .card { color: var(--fg); }
.band-navy { border-top: 3px solid var(--gold-ribbon); color: #EDE7DA;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='8' y='8' width='48' height='48' rx='10' fill='none' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3Ccircle cx='22' cy='22' r='3.5' fill='%23D3A94B' fill-opacity='.15'/%3E%3Ccircle cx='42' cy='22' r='3.5' fill='%23D3A94B' fill-opacity='.15'/%3E%3Ccircle cx='32' cy='32' r='3.5' fill='%23D3A94B' fill-opacity='.15'/%3E%3Ccircle cx='22' cy='42' r='3.5' fill='%23D3A94B' fill-opacity='.15'/%3E%3Ccircle cx='42' cy='42' r='3.5' fill='%23D3A94B' fill-opacity='.15'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 8C26 20 14 24 14 36a12 12 0 0 0 12 12c2 0 4-1 6-2-1 4-3 7-6 10h12c-3-3-5-6-6-10 2 1 4 2 6 2a12 12 0 0 0 12-12C50 24 38 20 32 8z' fill='none' stroke='%23D3A94B' stroke-opacity='.15' stroke-width='2'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1E3A5F 0%, #16293F 100%);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: 120px 120px, 150px 150px, auto;
  background-position: left -30px top -25px, right -35px bottom -30px, center; }
.band-navy h2 { color: #FDFBF7; }

/* payment tiles on the navy stripe */
.pay-grid { gap: 14px; }
.pay-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; text-decoration: none; background: #FFFFFF; border: 1px solid #D8CEB9; border-radius: 12px; padding: 20px 12px 16px; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.pay-tile:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 4px 14px rgba(30,58,95,.10); }
.pay-tile .monogram { width: 52px; height: 52px; }
.pay-tile .monogram-img { background: #FDFBF7; border: 0; }
.pay-name { color: var(--fg); font-family: var(--serif); font-weight: 600; font-size: 14.5px; }
.pay-sub { color: var(--muted-fg); font-size: 11.5px; }
.band-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.band-foot { text-align: center; margin-top: 26px; }
.band-foot a, a.gold-link { color: var(--gold); font-weight: 600; text-decoration: none; }
.band-foot a:hover, a.gold-link:hover { text-decoration: underline; }

/* ============ HERO ============ */
.hero { padding-block: 48px; }
.hero-navy { background: linear-gradient(160deg, #1E3A5F 0%, #16293F 100%); border-bottom: 3px solid var(--gold-ribbon); color: #EDE7DA; position: relative; overflow: hidden; }
.hero.hero-navy h1 { color: #FDFBF7; }
.hero.hero-navy .sub { color: #D6DEE8; }
.hero.hero-navy .chip { background: rgba(253,251,247,.08); border: 1px solid rgba(232,226,214,.22); color: #EDE7DA; }
.hero.hero-navy .widget-micro { color: #B9C4D1; }
.hero-navy .container { position: relative; z-index: 1; }
.hero-navy::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 8C26 20 14 24 14 36a12 12 0 0 0 12 12c2 0 4-1 6-2-1 4-3 7-6 10h12c-3-3-5-6-6-10 2 1 4 2 6 2a12 12 0 0 0 12-12C50 24 38 20 32 8z' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect x='8' y='8' width='48' height='48' rx='10' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3Ccircle cx='22' cy='22' r='3.5' fill='%23D3A94B'/%3E%3Ccircle cx='42' cy='22' r='3.5' fill='%23D3A94B'/%3E%3Ccircle cx='32' cy='32' r='3.5' fill='%23D3A94B'/%3E%3Ccircle cx='22' cy='42' r='3.5' fill='%23D3A94B'/%3E%3Ccircle cx='42' cy='42' r='3.5' fill='%23D3A94B'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='32' r='24' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3Ccircle cx='32' cy='32' r='14' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3Cpath d='M32 8v10M32 46v10M8 32h10M46 32h10M15 15l7 7M42 42l7 7M49 15l-7 7M22 42l-7 7' stroke='%23D3A94B' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 10l5 11 12 1-9 8 3 12-11-7-11 7 3-12-9-8 12-1z' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 12c-5 8-13 11-13 19a8 8 0 0 0 8 8c2 0 3 0 5-1-1 3-2 5-4 8h8c-2-3-3-5-4-8 2 1 3 1 5 1a8 8 0 0 0 8-8c0-8-8-11-13-19z' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3Crect x='6' y='2' width='52' height='60' rx='8' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 10c-4 7-10 11-16 12l4 20c4 3 8 5 12 12 4-7 8-9 12-12l4-20c-6-1-12-5-16-12z' fill='none' stroke='%23D3A94B' stroke-width='2'/%3E%3Cpath d='M32 22v18M24 30h16' stroke='%23D3A94B' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 90px 90px, 64px 64px, 110px 110px, 56px 56px, 74px 74px, 66px 66px;
  background-position: 4% 12%, 12% 78%, 90% 16%, 68% 6%, 30% 4%, 95% 82%;
  opacity: .16; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(232,226,214,.22); position: relative; z-index: 1; }
.trust-strip > div { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.trust-strip b { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-ribbon); }
.trust-strip span { font-size: 13px; color: #D6DEE8; }
.verified-stamp { display: inline-block; background: var(--gold-wash); border: 1px solid #EADFC8; color: #7A5A1B; font-size: 12px; font-weight: 600; border-radius: 999px; padding: 3px 12px; }
.offer-card .verified-stamp { align-self: flex-start; font-size: 11px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: 2.6rem; margin-bottom: 18px; }
.hero .sub { font-size: 1.1rem; color: var(--fg); max-width: 560px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.chip { border: 1px solid var(--border); background: var(--surface); border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 500; }
.widget-card { border-radius: 16px; overflow: hidden; background: #0b1622; box-shadow: 0 4px 12px -2px rgba(28,43,58,.2); position: relative; }
.widget-card iframe { width: 100%; height: 100%; border: 0; display: block; }
.widget-skel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: #0b1622; color: #7d8fa3; font-size: 14px; z-index: 5; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.widget-micro { font-size: 11px; color: var(--muted-fg); margin-top: 8px; }

/* ============ PILL NAV ============ */
.pills { display: flex; gap: 8px; overflow-x: auto; padding: 6px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; width: max-content; max-width: 100%; margin-bottom: 24px; scrollbar-width: none; }
.pills::-webkit-scrollbar { display: none; }
.pill { flex: none; padding: 8px 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--fg); text-decoration: none; white-space: nowrap; background: none; border: 0; font-family: var(--sans); cursor: pointer; }
.hp-panel[hidden] { display: none; }
.pill:hover { background: var(--subtle); }
.pill.active { background: var(--navy); color: #FDFBF7; }

/* ============ LISTING CONTROLS ============ */
.listing-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 16px; margin-bottom: 16px; font-size: 14px; }
.listing-controls label { display: flex; align-items: center; gap: 8px; }
.listing-controls select { font: inherit; font-size: 13.5px; color: var(--fg); background: #fff; border: 1px solid var(--border); border-radius: 6px; padding: 6px 8px; }
.lc-check { cursor: pointer; user-select: none; }
.lc-check input { accent-color: var(--navy); width: 15px; height: 15px; }
.lc-count { margin-left: auto; font-size: 13px; }

/* ============ CASINO ROW ============ */
.casino-row { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; box-shadow: var(--shadow-card); }
.cr-main { display: grid; grid-template-columns: 44px 130px minmax(0, 1fr) 150px 190px; gap: 18px; align-items: center; padding: 18px 20px; min-height: 116px; }
.cr-main > div { min-width: 0; }
.cr-rank { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; text-align: center; }
.cr-logo { background: #FFFFFF; border: 1px solid var(--border); border-radius: var(--radius); height: 72px; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 600; font-size: 15px; padding: 6px 10px; text-align: center; }
.cr-logo img { max-height: 44px; max-width: 100%; object-fit: contain; }
.cr-logo.logo-dark, .monogram-img.logo-dark { background: var(--navy); border-color: var(--navy); }
.cr-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 0 0 2px; }
.cr-name a { text-decoration: none; color: var(--fg); }
.cr-bonus { font-size: 14.5px; margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cr-data { display: flex; gap: 16px; font-size: 13px; color: var(--muted-fg); white-space: nowrap; overflow: hidden; }
.cr-data span { overflow: hidden; text-overflow: ellipsis; }
.cr-data b { color: var(--fg); }
.cr-rating { text-align: center; }
.stars { color: var(--gold); letter-spacing: 1px; font-size: 15px; }
.cr-score { font-weight: 700; font-size: 15px; }
.cr-cta { text-align: center; }
.btn { display: inline-block; background: var(--navy); color: #FDFBF7 !important; font-weight: 600; font-size: 14.5px; text-decoration: none; padding: 12px 26px; border-radius: var(--radius); border: 0; cursor: pointer; }
.btn:hover { background: var(--navy-dark); }
.btn-block { display: block; width: 100%; text-align: center; }
.cr-review-link { display: block; margin-top: 8px; font-size: 13.5px; color: var(--navy); }
.cr-terms { background: var(--subtle); border-top: 1px solid var(--border); padding: 7px 20px; font-size: 11.5px; color: var(--muted-fg); }

/* ============ CARD GRIDS ============ */
.grid { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-card); }
.card:hover { border-color: var(--navy); }
.tile { display: flex; gap: 12px; align-items: center; text-decoration: none; color: var(--fg); }
.sis-card { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--fg); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sis-card:hover { transform: translateY(-2px); border-color: var(--gold); box-shadow: 0 6px 18px rgba(30,58,95,.10); }
.sis-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sis-chip { background: var(--subtle); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; font-size: 12px; line-height: 1.4; }
.sis-chip.sis-more { background: var(--gold-wash); border-color: #EADFC8; color: var(--gold); font-weight: 600; }
.monogram { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #FDFBF7; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.monogram-img { background: #fff; border: 1px solid var(--border); }
.monogram-img img { width: 72%; height: 72%; object-fit: contain; }
.tile-name { font-family: var(--serif); font-weight: 600; }
.tile-meta { font-size: 12.5px; color: var(--muted-fg); }

/* offer cards */
.offer-card { display: flex; flex-direction: column; gap: 8px; min-height: 250px; }
.offer-card .btn { margin-top: auto; }
.offer-card.featured { border: 1.5px solid var(--gold); }
.offer-label { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--gold); text-transform: uppercase; }
.offer-headline { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.offer-kv { display: flex; justify-content: space-between; font-size: 13.5px; }
.offer-terms { font-size: 11.5px; color: var(--muted-fg); margin-top: auto; }

/* slots — photo cards with gradient-scrim title overlay */
.slot-card { padding: 0; overflow: hidden; text-decoration: none; color: var(--fg); display: block; }
.slot-thumb { position: relative; background: linear-gradient(135deg, var(--navy), #2d4a6e); background-size: cover; background-position: center; height: 140px; display: flex; align-items: flex-end; padding: 0; }
.slot-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,34,.82) 0%, rgba(11,22,34,.15) 55%, rgba(11,22,34,0) 100%); }
.slot-emoji { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 44px; opacity: .85; color: #FDFBF7; }
.slot-title-overlay { position: relative; z-index: 2; width: 100%; padding: 10px 12px; font-family: var(--serif); font-weight: 600; font-size: 15px; color: #FDFBF7; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
.slot-card:hover .slot-thumb { filter: saturate(1.15) brightness(1.05); }
.slot-info { padding: 12px 14px; font-size: 13px; }
.slot-info b { display: block; font-size: 14px; }
.slot-meta { display: flex; justify-content: space-between; color: var(--muted-fg); margin-top: 4px; }

/* news — magazine layout with real photography */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.news-feat .n-img { height: 260px; background: linear-gradient(120deg, var(--navy), #2d4a6e); background-size: cover; background-position: center; border-radius: 10px; position: relative; margin-bottom: 14px; overflow: hidden; }
.news-feat .n-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,34,.35), transparent 45%); }
.n-tag { position: absolute; top: 12px; left: 12px; z-index: 2; background: var(--gold-ribbon); color: var(--navy); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 3px; }
.news-feat h3 { font-size: 1.4rem; margin-bottom: 4px; }
.news-feat .n-excerpt { color: var(--muted-fg); font-size: 14.5px; margin: 4px 0 6px; }
.news-side { display: flex; flex-direction: column; gap: 16px; }
.news-mini { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; color: var(--fg); }
.news-mini .n-thumb { flex: none; width: 92px; height: 74px; border-radius: 8px; background: linear-gradient(135deg, var(--navy), #2d4a6e); background-size: cover; background-position: center; position: relative; overflow: hidden; }
.news-mini .n-mini-tag { display: inline-block; color: var(--gold); font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.news-mini b { font-family: var(--serif); font-size: 15px; line-height: 1.35; display: block; }
.news-mini:hover b { text-decoration: underline; }
.n-date { font-size: 12px; color: var(--muted-fg); }
/* news archive cards */
.news-arch { display: flex; gap: 16px; align-items: flex-start; }
.news-arch .n-thumb { flex: none; width: 150px; height: 100px; border-radius: 8px; background-size: cover; background-position: center; background-color: var(--navy); }

/* experts */
.experts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px; }
.author-card { background: rgba(253,251,247,.06); border: 1px solid rgba(232,226,214,.2); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; }
.avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--subtle); color: var(--navy); font-family: var(--serif); font-weight: 700; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.author-card h4 { color: #FDFBF7; margin-bottom: 2px; }
.author-card .role { color: var(--gold-ribbon); font-size: 13px; font-weight: 600; }
.author-card p { font-size: 13.5px; color: #C9C2B4; margin: 6px 0 0; }
.rate-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.rate-strip .pct { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--gold-ribbon); }
.rate-strip b { display: block; color: #FDFBF7; margin-bottom: 3px; }
.rate-strip span { font-size: 12.5px; color: #B9B2A4; }

/* ============ FAQ ============ */
.faq-grid { display: grid; grid-template-columns: 360px 1fr; gap: 40px; align-items: start; }
.faq-intro { position: sticky; top: 20px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; }
.faq-item[open] { border-left: 3px solid var(--gold); }
.faq-item summary { display: flex; gap: 14px; align-items: baseline; padding: 16px 18px; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 17px; font-weight: 600; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { border-color: var(--navy); }
.faq-idx { color: var(--gold); font-size: 13px; font-family: var(--sans); font-weight: 700; }
.faq-item .faq-a { padding: 0 18px 16px 45px; color: var(--muted-fg); max-width: 65ch; }

/* ============ CONTENT / ARTICLE PAGES ============ */
.page-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; padding-block: 36px; }
.breadcrumb { font-size: 13px; color: var(--muted-fg); margin-bottom: 10px; }
.breadcrumb a { color: var(--muted-fg); }
.byline { font-size: 13.5px; color: var(--muted-fg); margin-bottom: 20px; }
.byline b { color: var(--fg); }
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 14.5px; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid var(--border); padding: 9px 12px; text-align: left; }
.prose th { background: var(--subtle); font-weight: 600; }
.prose tr:nth-child(even) td { background: var(--subtle); }

/* right sidebar */
.rail { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.rail .gs-widget { max-height: 380px; }   /* sidebar widget can never balloon */
.rail .widget-micro { margin-top: -10px; }
body { overflow-x: clip; }                 /* nothing may widen the page */
.page-grid > main { min-width: 0; }
.rail-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.rail-box h4 { margin-bottom: 12px; }
.rail-casino { display: grid; grid-template-columns: 22px 1fr 60px; gap: 10px; align-items: center; padding-block: 9px; border-top: 1px solid var(--border); font-size: 13.5px; }
.rail-casino:first-of-type { border-top: 0; }
.rail-casino b { display: block; font-size: 14px; }
.rail-casino .btn { padding: 7px 12px; font-size: 12.5px; }
.rail-offer { border: 1.5px solid var(--gold); }
.rg-box { background: var(--gold-wash); border: 1px solid var(--border); }
.rg-box p { font-size: 13px; margin: 0 0 8px; }

/* at-a-glance / info cards */
.glance { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-block: 20px; }
.glance .g { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; }
.glance .g span { display: block; font-size: 12px; color: var(--muted-fg); margin-bottom: 4px; }
.glance .g b { font-size: 15.5px; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 20px; }
.pros-cons ul { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.cons li { color: var(--danger); }

/* review header */
.review-head { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: 140px 1fr 210px; gap: 24px; align-items: center; margin-bottom: 26px; }
.review-head .cr-logo { height: 90px; }

/* callouts */
.callout { border: 1px solid var(--border); border-left: 3px solid var(--gold); background: var(--gold-wash); border-radius: var(--radius); padding: 14px 18px; font-size: 14.5px; margin-block: 18px; }
.callout.safety { border-left-color: var(--navy); background: var(--subtle); }

/* cookie banner */
.cookie-bar { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 16px rgba(28,43,58,.08); padding: 14px 0; z-index: 100; }
.cookie-bar .container { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie-bar p { margin: 0; font-size: 13.5px; max-width: 640px; }
.cookie-actions { display: flex; gap: 10px; }
.btn-outline { display: inline-block; border: 1px solid var(--navy); color: var(--navy); background: transparent; font-weight: 600; font-size: 14px; padding: 10px 20px; border-radius: var(--radius); cursor: pointer; }

/* mobile sticky bottom bar */
.mobile-topbar { display: none; }

/* ============ RESPONSIVE ============ */
/* tables never break the page */
.prose table { display: block; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
@media (min-width: 1025px) { .prose table { display: table; white-space: normal; } }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-block: 32px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .page-grid { grid-template-columns: 1fr; gap: 28px; }
  .rail { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
  .faq-intro { position: static; }
  .news-grid { grid-template-columns: 1fr; }
  .experts-grid, .rate-strip { grid-template-columns: 1fr 1fr; }
  .glance { grid-template-columns: 1fr 1fr; }
  .review-head { grid-template-columns: 1fr; text-align: center; }
  .review-head .cr-logo { margin-inline: auto; width: 160px; }
}

@media (max-width: 768px) {
  /* nav drawer */
  .nav { display: none; }
  .nav.mobile-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid var(--border); padding: 12px 20px 24px; max-height: 75vh; overflow-y: auto; box-shadow: 0 16px 32px rgba(28,43,58,.18); }
  .nav.mobile-open .nav-item > a { display: block; padding: 12px 8px; font-size: 16px; border-bottom: 1px solid var(--border); }
  .nav.mobile-open .dropdown { position: static; display: block; box-shadow: none; background: transparent; border: 0; padding: 0 0 6px 14px; min-width: 0; }
  .nav.mobile-open .dropdown .col { min-width: 0; }
  .nav.mobile-open .dropdown a { color: var(--muted-fg); padding: 8px; white-space: normal; }
  .nav.mobile-open .dropdown a:hover { background: var(--subtle); }
  .nav.mobile-open .dropdown a.all { border-color: var(--border); }
  .nav.mobile-open .col-h { margin-top: 10px; color: var(--gold); }
  .hamburger { display: block !important; }
  .site-header .container { padding-block: 12px; }

  .container { padding-inline: 16px; }
  .band { padding-block: 36px; }
  h1 { font-size: 1.7rem; } h2 { font-size: 1.4rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero .sub { font-size: 1rem; }
  .widget-card { border-radius: 12px; }

  /* casino row -> same single-row layout as desktop, scaled down */
  .cr-main { grid-template-columns: 16px 46px minmax(0,1fr) 46px 82px; gap: 6px; padding: 10px 10px; min-height: 0; }
  .cr-rank { font-size: 0.95rem; }
  .cr-logo { height: 42px; padding: 3px 4px; font-size: 11px; border-radius: 8px; }
  .cr-logo img { max-height: 32px; }
  .cr-name { font-size: 0.95rem; margin-bottom: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cr-bonus { font-size: 11.5px; margin-bottom: 3px; }
  .cr-data { gap: 7px; font-size: 10px; }
  .cr-data span:nth-child(3) { display: none; }
  .cr-rating .stars { font-size: 8.5px; letter-spacing: 0; }
  .cr-score { font-size: 12.5px; }
  .cr-cta .btn { padding: 8px 4px; font-size: 11.5px; width: 100%; text-align: center; }
  .cr-review-link { margin-top: 4px; font-size: 11px; }

  /* grids */
  .grid { gap: 12px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-6, .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .slot-thumb { height: 118px; }
  .slot-title-overlay { font-size: 13.5px; padding: 8px 10px; }

  /* news */
  .news-feat .n-img { height: 190px; }
  .news-feat h3 { font-size: 1.15rem; }
  .news-mini .n-thumb { width: 74px; height: 62px; }
  .news-arch { flex-direction: column; }
  .news-arch .n-thumb { width: 100%; height: 150px; }

  /* experts / rate strip / glance */
  .experts-grid, .rate-strip { grid-template-columns: 1fr; gap: 14px; }
  .author-card { padding: 16px; }
  .glance { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pros-cons { grid-template-columns: 1fr; }

  /* faq */
  .faq-item summary { font-size: 15.5px; padding: 14px; gap: 10px; }
  .faq-item .faq-a { padding-left: 38px; }

  /* footer — compact 2-col with brand on top */
  .site-footer { margin-top: 40px; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; gap: 4px 24px; padding-block: 28px 18px; }
  .f-brand { grid-column: 1 / -1; margin-bottom: 14px; }
  .f-brand p { max-width: none; font-size: 13px; }
  .site-footer .f-h { margin-top: 14px; margin-bottom: 6px; font-size: 10.5px; }
  .site-footer .cols a { padding-block: 5px; font-size: 13.5px; }
  .socials { gap: 8px; margin-top: 10px; }
  .socials a { width: 32px; height: 32px; font-size: 13px; }
  .f-compliance { flex-direction: column; align-items: flex-start; gap: 10px; padding-block: 16px; font-size: 12.5px; }
  .badges { gap: 8px; }
  .badge-pill { padding: 3px 10px; font-size: 11px; }
  .f-bottom { flex-direction: column; gap: 4px; font-size: 11.5px; text-align: left; padding-block: 12px; }

  /* sticky bottom bar + cookie */
  .mobile-topbar { display: block; position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: #FDFBF7; z-index: 90; padding: 13px 20px; font-weight: 600; text-align: center; box-shadow: 0 -4px 14px rgba(0,0,0,.25); }
  .mobile-topbar a { color: #FDFBF7; text-decoration: none; }
  .cookie-bar { bottom: 48px; }
  .cookie-bar .container { flex-direction: column; align-items: stretch; gap: 10px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn, .cookie-actions .btn-outline { flex: 1; text-align: center; }
  body { padding-bottom: 48px; }
}

@media (max-width: 440px) {
  .grid-4, .grid-6, .pay-grid { grid-template-columns: repeat(2, 1fr); }
  .glance { grid-template-columns: 1fr 1fr; }
  .chips { gap: 6px; }
  .chip { padding: 6px 10px; font-size: 12.5px; }
}
.hamburger { display: none; margin-left: auto; background: none; border: 0; color: var(--navy); font-size: 26px; cursor: pointer; }
.site-search { display: flex; align-items: center; margin-left: 14px; background: var(--subtle); border: 1px solid var(--border); border-radius: 999px; padding: 2px 4px 2px 14px; }
.site-search input { background: none; border: 0; outline: 0; color: var(--fg); font: inherit; font-size: 13.5px; width: 150px; }
.site-search input::placeholder { color: var(--muted-fg); }
.site-search button { background: none; border: 0; cursor: pointer; font-size: 15px; padding: 5px 8px; }
.site-search:focus-within { border-color: var(--gold-ribbon); }
.mobile-search { display: none; }
@media (max-width: 900px) {
  .site-search { display: none; }
  .nav.mobile-open .mobile-search { display: flex; margin: 10px 14px; background: var(--subtle); }
  .nav.mobile-open .mobile-search input { width: 100%; flex: 1; }
}
