/* ============================================================
   sansdepotcasinos.com - design system v2
   Toplist layout: ranked casino cards with rating pill, logo strip,
   two-column bonus stats, CTA pair, per-card disclosure.
   Light, high-contrast, mobile-first. No dependencies.
   Re-skin the whole site by editing the tokens in :root.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — aligned with Astryx (Meta design system, MIT)
   Values taken from @astryxdesign/core 0.7.12 resolved tokens:
     accent #0064E0 · text-primary #0A1317 · text-secondary #4E606F
     border rgba(5,54,89,.10) · radii inner4/element8/container12/page28
     shadow low/high · type scale 0.5–2.625rem · motion 175/410ms
   Mapped onto this theme's existing variable names so every component
   already reading var(--brand)/var(--ink)/var(--line) updates at once.
   ============================================================ */
:root{
  --bg:          #f7f8fa;
  --card:        #ffffff;

  --ink:         #0a1317;   /* Astryx text-primary */
  --ink-2:       #4e606f;   /* Astryx text-secondary */
  --ink-3:       #77848f;

  --line:        #e6ebee;   /* rgba(5,54,89,.10) flattened on white */
  --line-strong: #ccd3db;   /* Astryx border-emphasized */

  --brand:       #0064e0;   /* Astryx accent */
  --brand-dark:  #0050b3;
  --brand-soft:  #e8f1fc;
  --accent:      #f8c723;
  --good:        #358a3a;
  --warn:        #d62830;

  --radius-page: 28px;
  --radius:      12px;
  --radius-sm:   8px;
  --radius-inner:4px;
  --radius-pill: 9999px;

  --shadow:      0 1px 1px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.10);
  --shadow-hi:   0 2px 2px rgba(0,0,0,.10), 0 8px 24px rgba(0,0,0,.10);

  --fs-2xs: .5rem;     --fs-xs:  .625rem;   --fs-sm:  .75rem;
  --fs-base: .875rem;  --fs-lg:  1.0625rem; --fs-xl:  1.25rem;
  --fs-2xl: 1.5rem;    --fs-3xl: 1.8125rem; --fs-4xl: 2.1875rem;
  --fs-5xl: 2.625rem;

  --dur-fast: 175ms;
  --dur-med:  410ms;

  --maxw:        1180px;
  --fs:          17px;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font:var(--fs)/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.wrap{max-width:var(--maxw); margin:0 auto; padding:0 18px}

/* ---------- typography ---------- */
h1,h2,h3,h4{line-height:1.25; margin:0 0 .5em; font-weight:800; letter-spacing:-.015em; color:var(--ink)}
h1{font-size:clamp(1.7rem,4.4vw,2.5rem); text-align:center; margin:.4em 0 .5em}
h2{font-size:clamp(1.3rem,3vw,1.8rem); margin-top:1.9em}
h3{font-size:clamp(1.08rem,2.2vw,1.28rem); margin-top:1.4em}
h2::after{content:""; display:block; width:52px; height:3px; margin-top:.42em; background:var(--brand); border-radius:3px}
p{margin:0 0 1.1em}
a{color:var(--brand); text-decoration:none; border-bottom:1px solid rgba(27,100,217,.28)}
a:hover{border-bottom-color:var(--brand)}
strong{font-weight:700}
ul,ol{margin:0 0 1.15em; padding-left:1.3em}
li{margin:.35em 0}

/* ---------- intro + filter tabs ---------- */
.lede{max-width:760px; margin:0 auto 1.4em; text-align:center; color:var(--ink-2); font-size:1.03rem}
.tabs{display:flex; gap:4px; overflow-x:auto; padding:6px 0 0; margin:0 0 6px; border-bottom:1px solid var(--line); scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{
  flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:9px 14px; color:var(--ink-2); font-size:.82rem; font-weight:600;
  border-bottom:2px solid transparent; white-space:nowrap;
}
.tab:hover{color:var(--brand)}
.tab[aria-current="page"],.tab.is-active{color:var(--ink); border-bottom-color:var(--ink)}
.tab svg{width:20px; height:20px; stroke:var(--brand); fill:none; stroke-width:1.7}

/* ---------- affiliate disclosure bar ---------- */
.disclosure{font-size:.78rem; color:var(--ink-3); margin:8px 0 20px; line-height:1.55}
.disclosure strong{color:var(--ink-2)}

/* ---------- ranked casino card ---------- */
.toplist{display:flex; flex-direction:column; gap:14px}
.ccard{
  position:relative; background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow); padding:18px 18px 12px; display:grid;
  grid-template-columns:200px 1fr 200px; gap:20px; align-items:center;
}
.ccard:hover{box-shadow:var(--shadow-hi)}
.ccard__rank{
  position:absolute; top:-9px; left:-9px; width:32px; height:32px; border-radius:50%;
  background:#fff; border:1px solid var(--line); display:grid; place-items:center;
  font-weight:800; font-size:.9rem; color:var(--ink); box-shadow:var(--shadow);
}
.ccard__logo{
  width:100%; height:78px; object-fit:contain; background:#fff;
  border-radius:var(--radius-sm); padding:8px; border:1px solid var(--line);
}
.ccard__stats{display:grid; grid-template-columns:1fr 1fr; gap:10px; text-align:center}
.ccard__stat small{display:block; font-size:.72rem; color:var(--ink-3); line-height:1.4}
.ccard__stat b{display:block; font-size:1.42rem; font-weight:800; color:var(--ink); line-height:1.2; margin:1px 0}
.ccard__stat span{display:block; font-size:.76rem; color:var(--ink-2)}
.ccard__actions{display:flex; flex-direction:column; gap:8px}

/* ---------- rating pill ---------- */
.rating{
  display:inline-flex; align-items:center; gap:5px; background:var(--brand); color:#fff;
  font-size:.78rem; font-weight:800; padding:4px 10px; border-radius:999px;
}
.rating svg{width:12px; height:12px; fill:#fff; stroke:none}

/* ---------- buttons ---------- */
.btn{
  display:block; text-align:center; padding:13px 16px; border-radius:999px; border:0;
  font-weight:800; font-size:.95rem; cursor:pointer; line-height:1.2; transition:filter .12s, transform .12s;
}
.btn--primary{background:var(--brand); color:#fff}
.btn--primary:hover{background:var(--brand-dark); transform:translateY(-1px); border-bottom:0}
.btn--secondary{background:#eef0f3; color:var(--ink-2)}
.btn--secondary:hover{background:#e4e7ec; border-bottom:0}

/* ---------- badges ---------- */
.badge{display:inline-block; font-size:.68rem; font-weight:800; padding:3px 8px; border-radius:999px; text-transform:uppercase; letter-spacing:.04em}
.badge--tested{background:rgba(26,156,91,.12); color:var(--good)}
.badge--thirdparty{background:#eef0f3; color:var(--ink-2)}
.badge--caution{background:rgba(214,69,69,.11); color:var(--warn)}
.badge--new{position:absolute; top:8px; right:8px; background:var(--accent); color:#3a2600}

/* ---------- per-card disclosure ---------- */
.ccard__foot{grid-column:1/-1; border-top:1px solid var(--line); margin-top:2px; padding-top:8px; font-size:.7rem; color:var(--ink-3)}
.ccard__foot span+span::before{content:" | "; color:var(--line)}
.regnote{font-size:.73rem; color:var(--ink-3); margin:4px 0 0}

/* ---------- comparison table ---------- */
.tablewrap{overflow-x:auto; margin:0 0 1.6em; border:1px solid var(--line); border-radius:var(--radius); background:var(--card)}
table{width:100%; border-collapse:collapse; min-width:660px; font-size:.93rem}
th,td{padding:.8em 1em; text-align:left; border-bottom:1px solid var(--line); vertical-align:middle}
thead th{background:#f2f4f7; font-size:.76rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-2); position:sticky; top:0}
tbody tr:last-child td{border-bottom:0}

/* ---------- FAQ ---------- */
details.faq{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-sm); margin:0 0 9px}
details.faq summary{padding:.92em 1.1em; font-weight:700; cursor:pointer; list-style:none; position:relative; padding-right:2.6em}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary::after{content:"+"; position:absolute; right:1.05em; color:var(--brand); font-size:1.3rem; line-height:1}
details.faq[open] summary::after{content:"-"}
details.faq .faq__a{padding:0 1.1em 1em; color:var(--ink-2)}

/* ---------- callout + legal ---------- */
.callout{background:#eef4ff; border-left:3px solid var(--brand); border-radius:0 var(--radius-sm) var(--radius-sm) 0; padding:1em 1.15em; margin:0 0 1.5em}
.callout--warn{background:#fff3f3; border-left-color:var(--warn)}
.legal{font-size:.78rem; color:var(--ink-3); border-top:1px solid var(--line); padding-top:1em; margin-top:2.4em}

/* ---------- footer ---------- */
footer.site{background:var(--card); border-top:1px solid var(--line); margin-top:3.2em; padding:2.2em 0 2.6em; font-size:.86rem; color:var(--ink-3)}
footer.site .cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:1.5em}
footer.site a{color:var(--ink-2); border-bottom-color:transparent}

/* ---------- responsive ---------- */

@media (max-width:640px){
  :root{--fs:16.5px}
  .wrap{padding:0 14px}
  h1,.lede{text-align:left}
  .ccard__stat b{font-size:1.3rem}
  th,td{padding:.68em .72em}
}

/* ---------- accessibility ---------- */
:focus-visible{outline:2px solid var(--brand); outline-offset:2px; border-radius:5px}
@media (prefers-reduced-motion:reduce){*{transition:none!important; animation:none!important}}


/* ============================================================
   HEADER + FOOTER  (added to match the reference layout)
   ============================================================ */

/* ---------- header: clean white bar, logo left, nav right ---------- */
.site-header{
  background:#fff; border-bottom:1px solid var(--line);
  box-shadow:0 1px 3px rgba(16,24,40,.04);
  position:sticky; top:0; z-index:50;
}
.site-header .inside-header{
  max-width:var(--maxw); margin:0 auto; padding:10px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
}
.site-header .site-branding-container{display:flex; align-items:center; gap:14px}
.site-header .site-logo img{max-height:52px; width:auto; display:block}
.site-header .site-branding{display:none}          /* the logo is the brand; hide the text title */

/* nav: horizontal row of links with an active underline, like the reference */
.main-navigation{display:flex; align-items:center}
.main-navigation ul{
  display:flex; flex-wrap:wrap; gap:2px; list-style:none; margin:0; padding:0;
}
.main-navigation li{margin:0}
.main-navigation a{
  display:block; padding:9px 13px; font-size:.9rem; font-weight:600;
  color:var(--ink-2); border-bottom:2px solid transparent; white-space:nowrap;
}
.main-navigation a:hover{color:var(--brand); border-bottom-color:var(--brand)}
.main-navigation .current-menu-item > a,
.main-navigation a[aria-current="page"]{
  color:var(--ink); border-bottom-color:var(--ink);
}

/* mobile: hide the inline list, show the toggle */
.menu-toggle{display:none; background:none; border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:8px 11px; cursor:pointer; color:var(--ink)}

@media (max-width:900px){
  .main-navigation ul{display:none}
  .main-navigation.toggled ul{
    display:flex; flex-direction:column; position:absolute; left:0; right:0; top:100%;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow); padding:8px 0;
  }
  .main-navigation.toggled a{border-bottom:0; padding:12px 18px}
  .menu-toggle{display:inline-flex; align-items:center; gap:6px}
  .site-header .inside-header{padding:8px 14px}
  .site-header .site-logo img{max-height:42px}
}

/* ---------- footer ---------- */
.site-footer{border-top:0}
.sd-footer{background:var(--card); border-top:1px solid var(--line); margin-top:3em; padding:2.4em 0 2.6em}
.sd-footer .cols{display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:1.8em}
.sd-footer strong{display:block; margin-bottom:.6em; color:var(--ink); font-size:.92rem}
.sd-footer ul{list-style:none; margin:0; padding:0}
.sd-footer li{margin:.32em 0}
.sd-footer a{color:var(--ink-2); font-size:.86rem; border-bottom-color:transparent}
.sd-footer a:hover{color:var(--brand)}
.sd-footer .legal{
  margin-top:2.2em; padding-top:1.4em; border-top:1px solid var(--line);
  font-size:.76rem; color:var(--ink-3); line-height:1.65;
}
.sd-footer .legal p{margin:0 0 .7em}
.sd-footer .legal strong{display:inline; color:var(--ink-2)}

/* WordPress core footer widget area, if any, should not double up */
.site-info{display:none}


/* ============================================================
   SITE HEADER (our own markup, replaces the theme's)
   ============================================================ */
.skip{position:absolute; left:-9999px}
.skip:focus{left:8px; top:8px; z-index:999; background:#fff; padding:8px 12px; border-radius:6px}

.sd-header{
  position:sticky; top:0; z-index:60; background:#fff;
  border-bottom:1px solid var(--line); box-shadow:0 1px 3px rgba(16,24,40,.05);
}
.sd-header__inner{
  max-width:var(--maxw); margin:0 auto; padding:10px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.sd-header__brand{display:flex; align-items:center; border-bottom:0; flex:0 0 auto}
.sd-header__brand img{height:46px; width:auto; display:block}
.sd-header__wordmark{font-size:1.35rem; font-weight:800; color:var(--brand); letter-spacing:-.02em}
.sd-header__wordmark em{color:var(--ink); font-style:normal}

.sd-nav{display:flex; align-items:center}
.sd-nav ul{display:flex; flex-wrap:wrap; gap:1px; list-style:none; margin:0; padding:0}
.sd-nav a{
  display:block; padding:9px 12px; font-size:.9rem; font-weight:600; color:var(--ink-2);
  border-bottom:2px solid transparent; white-space:nowrap;
}
.sd-nav a:hover{color:var(--brand); border-bottom-color:var(--brand)}
.sd-nav a[aria-current="page"]{color:var(--ink); border-bottom-color:var(--ink)}
/* Drawer-only chrome must not leak into the desktop row. The eyebrow and the
 * drawer CTA were missed the first time, which stacked "Navigation" and a button
 * above the links and inflated the header to 155px. display:contents makes the
 * wrapper layout-transparent so the ul participates in .sd-nav's flex row as
 * before the wrapper was introduced. */
.sd-nav__panel{display:contents}
.sd-nav__ico,
.sd-nav__chev,
.sd-nav__top,
.sd-nav__eyebrow,
.sd-nav__foot{display:none}

.sd-burger{display:none; width:42px; height:38px; padding:9px 10px; cursor:pointer;
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); flex-direction:column; gap:4px}
.sd-burger span{display:block; height:2px; background:var(--ink); border-radius:2px}

@media (max-width:980px){
  .sd-header__brand img{height:38px}
  .sd-burger{display:flex}
  .sd-nav{position:absolute; left:0; right:0; top:100%; display:none;
    background:#fff; border-bottom:1px solid var(--line); box-shadow:var(--shadow)}
  .sd-nav.is-open{display:block}
  .sd-nav ul{flex-direction:column; padding:6px 0; gap:0}
  .sd-nav a{padding:13px 18px; border-bottom:1px solid var(--line)}
  .sd-nav a[aria-current="page"]{background:#f2f4f7}
}

.ccard__logo--dark{background:#0e1116; border-color:#0e1116}

/* stronger card separation - the critique was right that they blended in */
.ccard{border-color:#d8dce3; box-shadow:0 1px 2px rgba(16,24,40,.07), 0 6px 18px rgba(16,24,40,.07)}
.ccard:hover{box-shadow:0 2px 6px rgba(16,24,40,.10), 0 14px 32px rgba(16,24,40,.12)}
.ccard__stat small{min-height:1.05em}

/* ============================================================
   FILTER TABS  (icon row above the toplist, as in the reference)
   ============================================================ */
.sd-tabs{display:flex; gap:2px; overflow-x:auto; padding:4px 0 0; margin:0 0 14px;
  border-bottom:1px solid var(--line); scrollbar-width:none}
.sd-tabs::-webkit-scrollbar{display:none}
.sd-tab{flex:0 0 auto; display:flex; flex-direction:column; align-items:center; gap:5px;
  padding:10px 15px; font-size:.82rem; font-weight:600; color:var(--ink-2);
  border-bottom:2px solid transparent; white-space:nowrap}
.sd-tab:hover{color:var(--brand); border-bottom-color:rgba(27,100,217,.35)}
.sd-tab.is-active{color:var(--ink); border-bottom-color:var(--ink)}
.sd-tab svg{width:21px; height:21px; stroke:var(--brand); fill:none; stroke-width:1.7;
  stroke-linecap:round; stroke-linejoin:round}
@media (max-width:640px){ .sd-tab{padding:9px 12px; font-size:.78rem} }

/* ============================================================
   HERO  (centred like the reference)
   ============================================================ */
.sd-hero{max-width:820px; margin:26px auto 22px; text-align:center}
.sd-hero h1{margin:0 0 .55em}
.sd-hero p{color:var(--ink-2); font-size:1.05rem; margin:0 auto .8em; max-width:720px}
.sd-hero .sd-hero__meta{font-size:.82rem; color:var(--ink-3); margin-top:.9em}

/* Opening paragraphs are centred by the ADJACENCY rule further down
 * (.entry-content > h1 + p). The old nth-of-type(2) selector lived here and
 * centred the second paragraph ANYWHERE on the page - which is body copy on
 * most pages, producing the random-centring look. Removed deliberately. */

/* ============================================================
   TRUST STRIP  (the muted band under the cards in the reference)
   ============================================================ */
.sd-trust{display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:14px;
  margin:22px 0 8px; padding:18px; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:var(--shadow)}
.sd-trust div{display:flex; gap:11px; align-items:flex-start}
.sd-trust svg{width:22px; height:22px; flex:0 0 auto; stroke:var(--good); fill:none; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round}
.sd-trust b{display:block; font-size:.9rem; color:var(--ink); margin-bottom:2px}
.sd-trust span{font-size:.82rem; color:var(--ink-3); line-height:1.5}

/* ============================================================
   TABLE  (the comparison table below the list)
   ============================================================ */
.tablewrap{box-shadow:var(--shadow)}
table thead th{background:#f2f4f7}
table tbody tr:nth-child(even){background:#fbfcfd}
table td:first-child, table th:first-child{font-weight:700; color:var(--ink)}
table a{font-weight:600}

/* ============================================================
   BOTTOM CATEGORY LINKS  (reference has these after the content)
   ============================================================ */
.sd-cats{margin:38px 0 10px}
.sd-cats h2{text-align:center}
.sd-cats h2::after{margin-left:auto; margin-right:auto}
.sd-cats__grid{display:grid; grid-template-columns:repeat(auto-fit,minmax(215px,1fr)); gap:12px; margin-top:18px}
.sd-cat{display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:15px 17px; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius-sm); box-shadow:var(--shadow); font-weight:700; color:var(--ink);
  font-size:.94rem; border-bottom:1px solid var(--line)}
.sd-cat:hover{border-color:var(--brand); color:var(--brand); transform:translateY(-1px); transition:.12s}
.sd-cat span{font-weight:500; color:var(--ink-3); font-size:.84rem}
.sd-cat svg{width:17px; height:17px; stroke:var(--brand); fill:none; stroke-width:2.2; flex:0 0 auto}
@media (max-width:640px){ .sd-hero{margin-top:16px} .sd-cats__grid{grid-template-columns:1fr} }

/* ============================================================
   VERTICAL RHYTHM  (get the cards above the fold)
   The first casino card sat at y=783 in a 577px viewport, so a visitor had to
   scroll past the entire hero before seeing a single offer. For an affiliate page
   that is a conversion problem, not a cosmetic one.
   ============================================================ */
.sd-header__inner{padding:7px 18px}
.sd-header__brand img{height:40px}

.disclosure{font-size:.74rem; margin:6px 0 10px; line-height:1.5}

.entry-content > h1,
.entry-content > .sd-hero h1{font-size:clamp(1.5rem,3.6vw,2.1rem); margin:.15em 0 .4em}
.entry-content > p:first-of-type,
.entry-content > p:nth-of-type(2){
  font-size:.98rem; line-height:1.62; color:var(--ink-2);
  max-width:760px; margin-bottom:.55em;
}
.entry-content > p:nth-of-type(2){margin-bottom:.9em}

/* tabs sit closer to the hero, cards follow immediately */
.sd-tabs{margin:2px 0 10px; padding:2px 0 0}
.sd-tab{padding:8px 13px; gap:4px}
.toplist{gap:11px}
.ccard{padding:15px 16px 10px}

/* slightly denser hero block overall */
.entry-content{padding-top:14px}
.sd-hero{margin:12px auto 12px}

@media (max-width:640px){
  .sd-header__brand img{height:34px}
  .entry-content > h1, .entry-content > .sd-hero h1{font-size:1.42rem}
  .entry-content > p:first-of-type, .entry-content > p:nth-of-type(2){font-size:.94rem}
}

/* ============================================================
   FINAL FOLD PASS
   A 1366x768 laptop gives ~660px of content area; the first card sat at 662px.
   Moving the disclosure beside the offers frees ~60px so a card is visible on a
   standard laptop without scrolling.
   ============================================================ */
.entry-content > .disclosure:first-of-type,
.entry-content > p.disclosure:first-of-type{display:none}

.entry-content > h1,
.entry-content > .sd-hero h1{font-size:clamp(1.42rem,3.2vw,1.9rem); margin:.1em 0 .34em; line-height:1.24}
.entry-content > p:first-of-type,
.entry-content > p:nth-of-type(2){font-size:.95rem; line-height:1.58; max-width:740px}
.entry-content > p:first-of-type{margin-bottom:.45em}
.entry-content > p:nth-of-type(2){margin-bottom:.7em}
.entry-content{padding-top:10px}
.sd-hero{margin:8px auto 10px}
.sd-tabs{margin:0 0 8px}
.sd-tab{padding:7px 12px; font-size:.79rem}
.sd-tab svg{width:19px; height:19px}

/* ============================================================
   BRAND COLUMN: logo with the score directly beneath it
   (the score used to sit in the action column next to the buttons)
   ============================================================ */
.ccard__brand{display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; min-width:0}
.ccard__brand .ccard__logo{width:100%; max-width:190px; height:auto; max-height:72px; object-fit:contain}
.ccard__brand .rating{margin:0}

/* ============================================================
   MINI-REVIEW CARDS  (side by side, reference layout)
   logo + rating, no-deposit bonus, Jouer + Lire l'avis
   ============================================================ */
.mgrid{display:grid; grid-template-columns:repeat(auto-fit,minmax(238px,1fr)); gap:14px; margin:18px 0 26px}
.mcard{position:relative; display:flex; flex-direction:column; align-items:center; gap:11px;
  padding:26px 16px 13px; background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); box-shadow:0 1px 2px rgba(16,24,40,.06),0 6px 18px rgba(16,24,40,.06);
  text-align:center}
.mcard:hover{box-shadow:0 2px 6px rgba(16,24,40,.09),0 14px 30px rgba(16,24,40,.11)}
.mcard__rank{position:absolute; top:10px; left:10px; width:25px; height:25px; border-radius:50%;
  background:var(--ink); color:#fff; font-size:.78rem; font-weight:700; display:grid; place-items:center}
.mcard__brand{display:flex; flex-direction:column; align-items:center; gap:8px; width:100%; min-height:96px; justify-content:center}
.mcard__logo{max-width:100%; max-height:62px; width:auto; object-fit:contain}
.mcard__logo--dark{background:#0e1116; border-radius:8px; padding:7px 12px}
.mcard__logo--text{font-weight:700; color:var(--ink-2); font-size:1rem}
.mcard__bonus{display:flex; flex-direction:column; gap:3px; width:100%}
.mcard__bonus small{font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3)}
.mcard__bonus b{font-size:1.06rem; font-weight:800; color:var(--ink); line-height:1.25}
.mcard__bonus span{font-size:.76rem; color:var(--ink-3)}
.mcard__cta{display:flex; flex-direction:column; gap:7px; width:100%; margin-top:auto}
.mcard__cta .btn{width:100%; justify-content:center; text-align:center}
.mcard__foot{font-size:.68rem; color:var(--ink-3); margin:2px 0 0}
@media (max-width:560px){ .mgrid{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))} .mcard{padding:24px 12px 12px} }

/* ============================================================
   BRAND HERO  (review pages: logo + score + bonus + CTA)
   ============================================================ */
.sd-brandhero{display:grid; grid-template-columns:230px 1fr; gap:26px; align-items:center;
  margin:16px 0 26px; padding:24px; background:linear-gradient(180deg,#f7f9fc,#fff);
  border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 1px 2px rgba(16,24,40,.06), 0 10px 26px rgba(16,24,40,.07)}
.sd-brandhero__logo{display:grid; place-items:center; min-height:110px}
.sd-hero-logo{max-width:100%; max-height:96px; width:auto; object-fit:contain}
.sd-hero-logo--dark{background:#0e1116; border-radius:10px; padding:12px 18px}
.sd-hero-logo-text{font-size:1.3rem; font-weight:800; color:var(--ink)}
.sd-brandhero__body{display:flex; flex-direction:column; gap:13px; align-items:flex-start}
.rating--lg{font-size:1rem; padding:6px 13px}
.rating--lg i{font-style:normal; opacity:.75; font-size:.82rem; margin-left:2px}
.sd-brandhero__bonus{display:flex; flex-direction:column; gap:3px}
.sd-brandhero__bonus small{font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3)}
.sd-brandhero__bonus b{font-size:1.34rem; font-weight:800; color:var(--ink); line-height:1.2}
.sd-brandhero__bonus span{font-size:.85rem; color:var(--ink-3)}
.btn--lg{padding:13px 30px; font-size:1rem}
.sd-brandhero__foot{font-size:.72rem; color:var(--ink-3); margin:0}
@media (max-width:760px){
  .sd-brandhero{grid-template-columns:1fr; gap:18px; padding:20px; text-align:center}
  .sd-brandhero__body{align-items:center}
}

/* ============================================================
   FIX: "randomly centered" sections
   ------------------------------------------------------------
   The old rule centred .entry-content > p:nth-of-type(2) - i.e. the second
   paragraph ANYWHERE on the page. On most pages that is body copy sitting under
   an H2, so the page read: centred intro, left heading, centred body, left body.
   Only paragraphs ADJACENT to the H1 belong in the intro block.
   ============================================================ */
/* NOTE: do NOT set text-align here. p:first-of-type is (0,2,1) and would
   outrank the (0,1,2) h1 + p centering rule below, cancelling the intro centring. */
.entry-content > p:first-of-type{max-width:none; margin-left:0; margin-right:0}
.entry-content > h1 + p,
.entry-content > h1 + p + p{
  text-align:center; max-width:740px; margin-left:auto; margin-right:auto; color:var(--ink-2);
}
.entry-content > h1{max-width:900px; margin-left:auto; margin-right:auto; text-align:center}

/* ============================================================
   SECTION RHYTHM: consistent heading spacing + rules
   ============================================================ */
.entry-content > h2{margin:44px 0 14px; padding-bottom:10px; border-bottom:1px solid var(--line); text-align:left}
.entry-content > h3{margin:28px 0 10px; text-align:left}
.entry-content > p, .entry-content > ul, .entry-content > ol{text-align:left; max-width:860px}
.entry-content > ul, .entry-content > ol{padding-left:22px}
.entry-content > table{margin:18px 0 26px}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.sd-faq{margin:40px 0 10px}
.sd-faq > h2{border-bottom:none; text-align:center; margin-bottom:6px}
.sd-faq > h2 + p{text-align:center; color:var(--ink-3); font-size:.92rem; margin:0 auto 20px; max-width:620px}
.sd-faq{max-width:none}
.sd-faq__list{
  display:grid; grid-template-columns:1fr 1fr; gap:12px;
  max-width:none; margin:0;
}
.sd-faq__item{height:fit-content; align-self:start}
.sd-faq__item{border:1px solid var(--line); border-radius:var(--radius-sm); background:var(--card);
  box-shadow:0 1px 2px rgba(16,24,40,.05); overflow:hidden}
.sd-faq__item summary{padding:15px 18px; font-weight:700; color:var(--ink); cursor:pointer;
  list-style:none; display:flex; justify-content:space-between; gap:14px; align-items:center; font-size:.97rem}
.sd-faq__item summary::-webkit-details-marker{display:none}
.sd-faq__item summary::after{content:"+"; color:var(--brand); font-weight:800; font-size:1.15rem; flex:0 0 auto}
.sd-faq__item[open] summary::after{content:"\2212"}
.sd-faq__item[open] summary{border-bottom:1px solid var(--line); background:#fafbfd}
.sd-faq__item > p{margin:0; padding:15px 18px; color:var(--ink-2); font-size:.94rem; line-height:1.65; text-align:left}

/* ============================================================
   VISUAL IDENTITY: hero band + section artwork
   Art is original SVG geometry rendered to raster: ink + gold.
   ============================================================ */
:root{
  --gold:#e0a92e;
  --gold-soft:#f2c85b;
}

/* homepage hero: the artwork sits behind, text over the calm middle */
.sd-heroband{
  position:relative; margin:0 0 22px; padding:44px 26px 40px; border-radius:var(--radius);
  background:#12161c url("/wp-content/uploads/2026/11/hero-bg.webp") center/cover no-repeat;
  overflow:hidden;
}
.sd-heroband::after{content:""; position:absolute; inset:0;
  background:radial-gradient(120% 90% at 50% 45%, rgba(12,16,21,.72), rgba(12,16,21,.34) 70%, transparent);}
.sd-heroband > *{position:relative; z-index:1}
.sd-heroband h1{color:#fff; max-width:860px; margin:0 auto .42em; text-align:center}
.sd-heroband h1::after{display:none}
.sd-heroband p{color:#c9d2dc; text-align:center; max-width:720px; margin:0 auto .7em}
.sd-heroband .sd-heroband__rule{width:64px; height:3px; background:linear-gradient(90deg,#f2c85b,#c4891b);
  border-radius:3px; margin:14px auto 0}
@media (max-width:700px){
  .sd-heroband{padding:32px 18px 30px; background-image:url("/wp-content/uploads/2026/11/hero-bg-900.webp")}
  .sd-heroband h1{font-size:1.5rem}
}

/* section artwork: heading + illustration side by side */
.sd-sec{display:flex; align-items:center; gap:22px; margin:38px 0 16px;
  padding-bottom:12px; border-bottom:1px solid var(--line)}
.sd-sec__art{flex:0 0 auto; width:104px; height:70px; opacity:.95}
.sd-sec__art img{width:100%; height:100%; object-fit:contain}
.sd-sec h2{border-bottom:none; margin:0; padding:0}
.sd-sec h2::after{display:none}
@media (max-width:640px){ .sd-sec{gap:14px} .sd-sec__art{width:66px; height:46px} }

/* ============================================================
   HEADER LOCKUP: cartoon mascot + wordmark set in our own type
   ============================================================ */
.sd-header__brand{display:flex; align-items:center; gap:11px; text-decoration:none; border-bottom:0}
.sd-header__mascot{width:46px; height:46px; object-fit:contain; flex:0 0 auto}
.sd-header__wordmark{
  font-weight:800; font-size:1.17rem; line-height:1.05; letter-spacing:-.02em;
  color:var(--ink); display:flex; flex-direction:column;
}
.sd-header__wordmark em{
  font-style:normal; font-weight:600; font-size:.58em; letter-spacing:.26em;
  color:var(--gold); text-transform:uppercase; margin-top:2px;
}
.sd-header__brand:hover .sd-header__wordmark{color:var(--brand)}
@media (max-width:560px){
  .sd-header__mascot{width:38px; height:38px}
  .sd-header__wordmark{font-size:1.02rem}
}

/* ============================================================
   MINI-REVIEW CARDS v2
   More design: gold ranks for the top three, a featured first card,
   stronger bonus hierarchy, and a lift on hover.
   ============================================================ */
.mcard{
  padding:0 0 14px; align-items:stretch; text-align:center; overflow:hidden;
  border-radius:16px; border:1px solid #e2e6ec;
  box-shadow:0 1px 2px rgba(16,24,40,.05), 0 8px 22px rgba(16,24,40,.06);
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.mcard:hover{transform:translateY(-3px); border-color:#c9d2de;
  box-shadow:0 4px 10px rgba(16,24,40,.09), 0 18px 38px rgba(16,24,40,.13)}

/* top edge accent, so a card reads as a unit */
.mcard::before{content:""; position:absolute; top:0; left:0; right:0; height:4px;
  background:linear-gradient(90deg,#e2e6ec,#e2e6ec)}
.mcard--top::before{background:linear-gradient(90deg,#f2c85b,#e0a92e,#c4891b)}
.mcard--top{border-color:#e8d9a8;
  box-shadow:0 2px 4px rgba(16,24,40,.06), 0 10px 26px rgba(158,120,20,.15)}

/* rank badge: gold for 1-3, ink otherwise */
.mcard__rank{
  position:absolute; top:12px; left:12px; width:30px; height:30px; border-radius:50%;
  font-size:.84rem; font-weight:800; display:grid; place-items:center; z-index:2;
  background:var(--ink); color:#fff; box-shadow:0 2px 6px rgba(16,24,40,.22);
}
.mcard--top .mcard__rank{
  background:linear-gradient(145deg,#f2c85b,#e0a92e); color:#3a2c05;
  box-shadow:0 2px 6px rgba(158,120,20,.35);
}

/* logo plate */
.mcard__brand{padding:26px 16px 4px; min-height:112px}
.mcard__logo{max-height:64px}

/* rating: sits under the logo, gold-tinted so it reads as a score */
.mcard__brand .rating{
  background:linear-gradient(145deg,#fdf6e3,#f8ecc8); color:#7a5a06;
  border:1px solid #ead9a4; font-weight:800;
}
.mcard__brand .rating svg{fill:#e0a92e; stroke:none}

/* bonus block: the value is the loudest thing on the card */
.mcard__bonus{padding:12px 16px 0; gap:5px; border-top:1px solid #eef1f5; margin-top:8px; padding-top:14px}
.mcard__bonus small{font-size:.68rem; letter-spacing:.08em; font-weight:700}
.mcard__bonus b{font-size:1.16rem; letter-spacing:-.01em}
.mcard__bonus span{font-size:.74rem; line-height:1.45}

.mcard__cta{padding:14px 16px 0; gap:8px}
.mcard__cta .btn{border-radius:10px; padding:11px 14px; font-weight:700}
.mcard__foot{padding:9px 16px 0; border-top:1px solid #eef1f5; margin:12px 16px 0; color:#98a2b0}

@media (max-width:560px){ .mcard__brand{padding:22px 12px 2px; min-height:98px} }

/* ============================================================
   FAQ SECTION v2 - full width, two columns, numbered cards
   The old version was a narrow centred column that wasted most of the
   content width on desktop.
   ============================================================ */
.sd-faq{margin:46px 0 14px; padding:28px 26px 30px;
  background:linear-gradient(180deg,#f7f9fc,#fff);
  border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:0 1px 2px rgba(16,24,40,.05), 0 10px 26px rgba(16,24,40,.055)}
.sd-faq > h2{text-align:left; border-bottom:none; margin:0 0 4px; padding:0;
  display:flex; align-items:center; gap:12px}
.sd-faq > h2::before{content:""; width:5px; height:26px; border-radius:3px;
  background:linear-gradient(180deg,#f2c85b,#c4891b); flex:0 0 auto}
.sd-faq > h2::after{display:none}
.sd-faq > h2 + p{text-align:left; margin:0 0 22px; max-width:760px; color:var(--ink-3); font-size:.94rem}

.sd-faq__item{
  border:1px solid #e3e8ef; border-radius:12px; background:#fff;
  box-shadow:0 1px 2px rgba(16,24,40,.04);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.sd-faq__item:hover{border-color:#cdd7e3; box-shadow:0 4px 12px rgba(16,24,40,.08)}
.sd-faq__item[open]{border-color:#d8c48a; box-shadow:0 4px 14px rgba(158,120,20,.10)}
.sd-faq__item summary{
  padding:16px 18px; font-size:1rem; font-weight:700; line-height:1.4;
  display:flex; align-items:flex-start; gap:14px;
}
.sd-faq__item summary::after{
  content:"+"; margin-left:auto; flex:0 0 auto; width:26px; height:26px; border-radius:50%;
  background:#eef2f7; color:var(--ink-2); font-size:1.15rem; font-weight:700;
  display:grid; place-items:center; line-height:1;
}
.sd-faq__item[open] summary::after{content:"\2212"; background:linear-gradient(145deg,#f2c85b,#e0a92e); color:#3a2c05}
.sd-faq__item[open] summary{background:#fcfbf7; border-bottom:1px solid #ece5d3}
.sd-faq__item > p{margin:0; padding:17px 20px 19px; font-size:.94rem; line-height:1.7;
  color:var(--ink-2); text-align:left}
/* counter: number the questions so a long FAQ stays scannable */
.faq-counter{counter-reset:faq}
.sd-faq__item summary{counter-increment:faq}
.sd-faq__item summary::before{
  content:counter(faq); flex:0 0 auto; width:24px; height:24px; border-radius:50%;
  background:var(--ink); color:#fff; font-size:.76rem; font-weight:800;
  display:grid; place-items:center; margin-top:2px;
}
.sd-faq__item[open] summary::before{background:linear-gradient(145deg,#1d2530,#0d1116)}

@media (max-width:820px){
  .sd-faq{padding:22px 16px 24px}
  .sd-faq__list{grid-template-columns:1fr}
  .sd-faq__item summary{padding:14px 15px; font-size:.95rem}
  .sd-faq__item > p{padding:15px 17px 17px}
}

/* ============================================================
   REVIEW-LAYOUT: article + sticky sidebar
   ============================================================ */
.sd-layout{display:grid; grid-template-columns:minmax(0,1fr) 336px; gap:34px; align-items:start}
.sd-main{min-width:0}
.sd-aside{position:sticky; top:96px; display:flex; flex-direction:column; gap:16px}

/* ---- brand banner: the whole image is the link ---- */
.sd-banner{display:block; border-radius:16px; overflow:hidden; line-height:0;
  box-shadow:0 2px 6px rgba(16,24,40,.10), 0 14px 32px rgba(16,24,40,.14);
  transition:transform .16s ease, box-shadow .16s ease}
.sd-banner a{display:block; border-bottom:0}
.sd-banner img{display:block; width:100%; height:auto}
.sd-banner:hover{transform:translateY(-3px);
  box-shadow:0 4px 12px rgba(16,24,40,.14), 0 20px 44px rgba(16,24,40,.20)}

/* ---- table of contents ---- */
.sd-toc{background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px 20px 20px;
  box-shadow:0 1px 2px rgba(16,24,40,.05)}
.sd-toc__title{margin:0 0 12px; font-weight:800; font-size:.82rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-3); display:flex; align-items:center; gap:9px}
.sd-toc__title::before{content:""; width:4px; height:15px; border-radius:2px;
  background:linear-gradient(180deg,#f2c85b,#c4891b)}
.sd-toc ol{margin:0; padding:0; list-style:none; counter-reset:toc;
  border-left:2px solid #eef1f5; padding-left:0}
.sd-toc li{counter-increment:toc; margin:0}
.sd-toc a{display:flex; gap:10px; align-items:baseline; padding:7px 10px 7px 12px;
  font-size:.875rem; line-height:1.45; color:var(--ink-2); border-bottom:0;
  border-left:2px solid transparent; margin-left:-2px; transition:.13s}
.sd-toc a::before{content:counter(toc,decimal-leading-zero); flex:0 0 auto;
  font-size:.72rem; font-weight:800; color:#b3bcc7; font-variant-numeric:tabular-nums}
.sd-toc a:hover{color:var(--brand); border-left-color:var(--brand); background:#f7f9fc}
.sd-toc a:hover::before{color:var(--brand)}

/* ============================================================
   REVIEW HERO v2 - was a flat box with a logo floating in it
   ============================================================ */
.sd-brandhero{
  display:block; padding:0; border:0; border-radius:18px; overflow:hidden;
  background:#12161c; box-shadow:0 2px 6px rgba(16,24,40,.10), 0 16px 40px rgba(16,24,40,.16);
  margin:14px 0 30px;
}
.sd-brandhero__top{
  position:relative; padding:26px 28px 24px; text-align:left;
  background:
    radial-gradient(120% 130% at 12% 0%, rgba(224,169,46,.20), transparent 58%),
    linear-gradient(135deg,#1b2432 0%,#12161c 55%,#0c1015 100%);
}
.sd-brandhero__top::after{content:""; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);
  background-size:26px 26px; pointer-events:none}
.sd-brandhero__row{position:relative; z-index:1; display:flex; align-items:center; gap:20px; flex-wrap:wrap}
.sd-brandhero__plate{flex:0 0 auto; display:grid; place-items:center; min-width:186px; min-height:92px;
  padding:14px 20px; background:#fff; border-radius:13px;
  box-shadow:0 3px 10px rgba(0,0,0,.28)}
.sd-brandhero__plate--dark{background:#0e1116; box-shadow:0 0 0 1px rgba(224,169,46,.28)}
.sd-hero-logo{max-width:170px; max-height:64px; width:auto; object-fit:contain; display:block}
.sd-brandhero__meta{flex:1 1 260px; min-width:0}
.sd-brandhero__label{display:block; font-size:.7rem; letter-spacing:.12em; font-weight:800;
  text-transform:uppercase; color:#e0a92e; margin-bottom:7px}
.sd-brandhero__bonus{font-size:1.5rem; font-weight:800; color:#fff; line-height:1.22;
  letter-spacing:-.015em; margin-bottom:6px}
.sd-brandhero__cond{font-size:.85rem; color:#9fb0c2}

/* score badge, top-right corner of the band */
.sd-brandhero__score{position:absolute; top:20px; right:22px; z-index:2;
  display:flex; align-items:baseline; gap:2px; padding:9px 15px; border-radius:999px;
  background:linear-gradient(145deg,#f2c85b,#e0a92e); color:#3a2c05;
  font-weight:800; font-size:1.18rem; box-shadow:0 4px 14px rgba(158,120,20,.42)}
.sd-brandhero__score i{font-style:normal; font-size:.7rem; font-weight:700; opacity:.72}
.sd-brandhero__score svg{width:15px; height:15px; fill:#3a2c05; margin-right:4px; align-self:center}

/* action bar under the band */
.sd-brandhero__bar{display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  padding:18px 28px; background:#fff; border-top:1px solid #eef1f5}
.sd-brandhero__bar .btn{flex:1 1 200px; justify-content:center; padding:14px 22px;
  font-size:1rem; font-weight:700; border-radius:11px}
.sd-brandhero__note{margin:0; font-size:.72rem; color:var(--ink-3); flex:1 1 100%}

@media (max-width:1024px){
  .sd-layout{grid-template-columns:1fr; gap:26px}
  .sd-aside{position:static; order:2}
  .sd-banner{max-width:420px}
}
@media (max-width:620px){
  .sd-brandhero__top{padding:20px 18px 18px}
  .sd-brandhero__row{gap:14px}
  .sd-brandhero__plate{min-width:0; width:100%; min-height:74px; padding:12px}
  .sd-hero-logo{max-height:52px}
  .sd-brandhero__bonus{font-size:1.22rem}
  .sd-brandhero__score{position:static; margin-bottom:12px; display:inline-flex}
  .sd-brandhero__bar{padding:14px 18px}
}

/* ============================================================
   SIDEBAR: internal links block
   ============================================================ */
.sd-links{background:#fff; border:1px solid var(--line); border-radius:14px; padding:17px 19px 19px;
  box-shadow:0 1px 2px rgba(16,24,40,.05)}
.sd-links__title{margin:0 0 11px; font-weight:800; font-size:.8rem; letter-spacing:.1em;
  text-transform:uppercase; color:var(--ink-3); display:flex; align-items:center; gap:9px}
.sd-links__title::before{content:""; width:4px; height:15px; border-radius:2px;
  background:linear-gradient(180deg,#f2c85b,#c4891b)}
.sd-links ul{margin:0; padding:0; list-style:none}
.sd-links li{margin:0}
.sd-links a{display:flex; align-items:center; gap:9px; padding:8px 2px; font-size:.865rem;
  color:var(--ink-2); border-bottom:1px solid #f1f4f8; border-top:0; text-decoration:none}
.sd-links li:last-child a{border-bottom:0}
.sd-links a::before{content:""; width:5px; height:5px; border-radius:50%; background:#c9d2de;
  flex:0 0 auto; transition:.13s}
.sd-links a:hover{color:var(--brand)}
.sd-links a:hover::before{background:var(--brand)}

/* sidebar is desktop only - mobile drops to one column and hides the aside */
.sd-aside{display:flex}
@media (max-width:1024px){
  .sd-layout{grid-template-columns:1fr !important; gap:0 !important}
  .sd-aside{display:none !important}
}

/* ============================================================
   MINI-REVIEW CARDS v3
   Richer frame: inner header strip, larger logo plate, bonus panel with a
   soft gold wash, and a clearer button stack.
   ============================================================ */
.mcard{padding:0 0 15px; border-radius:17px; background:#fff; border:1px solid #e4e8ee;
  overflow:hidden; isolation:isolate}
.mcard__brand{
  padding:30px 16px 16px; margin:0 0 2px; min-height:126px;
  background:linear-gradient(180deg,#fafbfd 0%,#fff 100%);
  border-bottom:1px solid #f1f4f8;
}
.mcard__logo{max-height:66px}
.mcard__brand .rating{margin-top:2px}

/* bonus panel: the offer sits in its own tinted field */
.mcard__bonus{
  margin:14px 14px 0; padding:13px 14px 14px; gap:4px;
  background:linear-gradient(180deg,#fdfaf3,#fffdf9);
  border:1px solid #f0e6cd; border-radius:12px; border-top:1px solid #f0e6cd;
}
.mcard__bonus small{color:#a8821f; font-size:.66rem}
.mcard__bonus b{font-size:1.2rem; color:var(--ink)}
.mcard__bonus span{color:var(--ink-3)}

/* buttons */
.mcard__cta{padding:14px 14px 0; gap:9px}
.mcard__cta .btn{border-radius:11px; padding:12px 15px; font-weight:700; font-size:.93rem}
.mcard__cta .btn--secondary{border:1px solid #dde3ea; background:#fff}

.mcard__foot{margin:12px 14px 0; padding-top:11px; border-top:1px solid #f1f4f8;
  font-size:.67rem; color:#9aa5b1; text-align:center}

/* keep the podium distinct with the new frame */
.mcard--top{box-shadow:0 2px 6px rgba(16,24,40,.06), 0 12px 30px rgba(158,120,20,.15);
  border-color:#e9dcae}
.mcard--top .mcard__brand{background:linear-gradient(180deg,#fdfaf1,#fff 100%)}

/* ============================================================
   FIX: CTA text went near-black on hover, on a blue button
   ------------------------------------------------------------
   GeneratePress ships  a:hover,a:focus,a:active{color:var(--contrast)}
   which is specificity (0,1,1) and BEATS .btn--primary at (0,1,0). So on hover
   the parent theme repainted the button label in --contrast (#222) - unreadable
   on the blue background. The button states need to outrank the generic link
   rule, which (0,2,0) does.
   Reported by the user; confirmed by forcing :hover over CDP and reading the
   computed colour (rgb(34,34,34) before this fix).
   ============================================================ */
.btn--primary:hover,
.btn--primary:focus,
.btn--primary:focus-visible,
.btn--primary:active{color:#fff}
.btn--primary:visited{color:#fff}

.btn--secondary:hover,
.btn--secondary:focus,
.btn--secondary:focus-visible,
.btn--secondary:active{color:var(--ink-2)}

/* keep the label white on every button that sits on a dark/coloured fill */
.sd-brandhero__bar .btn--primary:hover,
.sd-brandhero__bar .btn--primary:focus,
.sd-brandhero__bar .btn--primary:active{color:#fff}

/* banners are images inside links - no text colour involved, but stop the
   generic hover colour from tinting anything wrapped around them */
.sd-banner a:hover, .sd-banner a:focus, .sd-banner a:active{color:inherit}

/* ============================================================================
   CONSOLIDATION PASS - this block is authoritative.
   Three earlier layers (v1 @414, v2 @568, v3 @796) had accumulated and were
   overriding each other, which is why the cards never settled into a design.
   Everything here is written to win: it is last in the file, and each rule is
   explicit rather than incremental.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. RESPONSIVE BODY TABLES
   table{min-width:660px} pushed tables past the viewport on phones. Above the
   breakpoint they stay as a table; below it each row becomes a stacked block
   with its column name as a label, so nothing scrolls sideways.
   --------------------------------------------------------------------------- */
.tablewrap{overflow-x:auto; -webkit-overflow-scrolling:touch; max-width:100%}
table{min-width:0; font-size:.93rem; border-collapse:collapse}

@media (min-width:761px){
  table{min-width:660px}
}

@media (max-width:760px){
  table{width:100%; min-width:0; display:block}
  table thead{display:none}
  table tbody,table tr,table td{display:block; width:100%}
  table tr{padding:13px 14px; border-bottom:1px solid #eef1f5}
  table tr:last-child{border-bottom:0}
  table td{
    display:flex; justify-content:space-between; gap:14px; align-items:baseline;
    padding:6px 0; border:0; text-align:right;
  }
  table td::before{
    content:attr(data-label); flex:0 0 auto; font-weight:700; color:var(--ink-3);
    font-size:.78rem; text-transform:uppercase; letter-spacing:.04em; text-align:left;
  }
  table td:first-child{font-size:1rem; padding-bottom:9px}
  table td:first-child::before{display:none}
  .tablewrap{border:0; background:transparent}
  .tablewrap table{border:1px solid var(--line); border-radius:12px; background:#fff}
}

/* ---------------------------------------------------------------------------
   2. MINI-REVIEW CARD - single authoritative design
   --------------------------------------------------------------------------- */
.mcard{
  position:relative; display:flex; flex-direction:column; align-items:stretch;
  text-align:center; padding:0; overflow:hidden; isolation:isolate;
  background:#fff; border:1px solid #e3e8ef; border-radius:18px;
  box-shadow:0 1px 2px rgba(16,24,40,.05), 0 8px 24px rgba(16,24,40,.07);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.mcard:hover{transform:translateY(-4px); border-color:#c6d0dd;
  box-shadow:0 6px 14px rgba(16,24,40,.10), 0 22px 46px rgba(16,24,40,.15)}

/* top accent rail */
.mcard::before{content:""; position:absolute; inset:0 0 auto 0; height:4px;
  background:#e3e8ef; z-index:3}
.mcard--top::before{background:linear-gradient(90deg,#f2c85b,#e0a92e,#c4891b)}
.mcard--top{border-color:#e7d9a6}

/* rank badge */
.mcard__rank{position:absolute; top:13px; left:13px; z-index:4;
  width:31px; height:31px; border-radius:50%; display:grid; place-items:center;
  font-size:.85rem; font-weight:800; background:var(--ink); color:#fff;
  box-shadow:0 2px 7px rgba(16,24,40,.25)}
.mcard--top .mcard__rank{background:linear-gradient(145deg,#f5d67c,#e0a92e);
  color:#3a2c05; box-shadow:0 2px 8px rgba(158,120,20,.40)}

/* brand plate */
.mcard__brand{display:flex; flex-direction:column; align-items:center;
  justify-content:center; gap:9px; width:100%; min-height:132px;
  padding:34px 16px 20px; margin:0;
  background:linear-gradient(180deg,#fafbfd,#fff); border-bottom:1px solid #eef1f5}
.mcard__logo{max-width:100%; max-height:66px; width:auto; object-fit:contain}
.mcard__logo--dark{background:#0e1116; border-radius:9px; padding:8px 13px}
.mcard__logo--text{font-weight:800; color:var(--ink-2)}
.mcard__brand .rating{background:linear-gradient(145deg,#fdf6e3,#f7ecc9);
  color:#7a5a06; border:1px solid #ead9a4; font-weight:800; font-size:.82rem;
  padding:5px 12px}
.mcard__brand .rating svg{fill:#e0a92e; stroke:none}

/* bonus panel - the offer in its own tinted field */
.mcard__bonus{display:flex; flex-direction:column; gap:4px; text-align:center;
  margin:15px 15px 0; padding:14px 15px 15px;
  background:linear-gradient(180deg,#fdfaf2,#fffdfa);
  border:1px solid #f1e7cf; border-radius:13px}
.mcard__bonus small{font-size:.66rem; font-weight:800; letter-spacing:.09em;
  text-transform:uppercase; color:#a8821f}
.mcard__bonus b{font-size:1.22rem; font-weight:800; color:var(--ink); line-height:1.24;
  letter-spacing:-.012em}
.mcard__bonus span{font-size:.75rem; color:var(--ink-3); line-height:1.45}

/* actions */
.mcard__cta{display:flex; flex-direction:column; gap:9px; width:auto;
  margin:15px 15px 0; padding:0}
.mcard__cta .btn{width:100%; justify-content:center; text-align:center;
  border-radius:11px; padding:12px 15px; font-size:.93rem; font-weight:700}
.mcard__cta .btn--secondary{background:#fff; border:1px solid #dde3ea; color:var(--ink-2)}

/* disclosure strip */
.mcard__foot{margin:13px 15px 15px; padding-top:11px; border-top:1px solid #f1f4f8;
  font-size:.66rem; color:#9aa5b1; text-align:center; line-height:1.5}

/* ---------------------------------------------------------------------------
   3. MASCOT AS THE SITE GUIDE
   The mascot previously appeared only in the header. Here it becomes the guide
   of each section: a figure beside the heading, with the section art retired.
   --------------------------------------------------------------------------- */
.sd-sec{display:flex; align-items:center; gap:22px; margin:44px 0 18px;
  padding:0 0 14px; border-bottom:1px solid var(--line)}
.sd-sec__guide{flex:0 0 auto; width:104px; height:104px; position:relative;
  display:grid; place-items:center}
.sd-sec__guide::after{content:""; position:absolute; inset:6%;
  border-radius:50%; background:radial-gradient(circle,rgba(224,169,46,.16),transparent 68%);
  z-index:0}
.sd-sec__guide img{position:relative; z-index:1; width:100%; height:100%;
  object-fit:contain; filter:drop-shadow(0 6px 14px rgba(16,24,40,.18))}
.sd-sec h2{margin:0; padding:0; border-bottom:0; flex:1 1 auto; min-width:0}
.sd-sec h2::after{display:none}

/* the guide also anchors the sidebar on desktop */
.sd-guide{display:flex; align-items:center; gap:12px; padding:14px 16px;
  background:linear-gradient(135deg,#fdfaf2,#fff); border:1px solid #f1e7cf;
  border-radius:14px}
.sd-guide img{width:54px; height:54px; object-fit:contain; flex:0 0 auto}
.sd-guide b{display:block; font-size:.86rem; color:var(--ink); line-height:1.3}
.sd-guide span{font-size:.76rem; color:var(--ink-3); line-height:1.4}

@media (max-width:760px){
  .sd-sec{gap:14px; margin:32px 0 14px}
  .sd-sec__guide{width:68px; height:68px}
  .mcard__brand{min-height:112px; padding:28px 13px 16px}
  .mcard__bonus{margin:13px 13px 0; padding:12px 13px}
  .mcard__bonus b{font-size:1.1rem}
  .mcard__cta{margin:13px 13px 0}
  .mcard__foot{margin:11px 13px 13px}
}

/* ============================================================================
   FLOATING MASCOT ASSISTANT
   Rides along as the visitor scrolls. Click opens a query panel that answers
   in plain French and returns the relevant tracked offer.
   ============================================================================ */
.sd-assist{position:fixed; right:22px; bottom:22px; z-index:9990;
  font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}

/* ---- the mascot button ---- */
.sd-assist__btn{
  width:76px; height:76px; padding:0; border:0; background:transparent; cursor:pointer;
  display:grid; place-items:center; position:relative; border-radius:50%;
  transition:transform .18s ease;
  animation:sdAssistBob 3.4s ease-in-out infinite;
}
.sd-assist__btn img{width:100%; height:100%; object-fit:contain;
  filter:drop-shadow(0 8px 18px rgba(16,24,40,.32))}
.sd-assist__btn:hover{transform:scale(1.07)}
.sd-assist[data-open="1"] .sd-assist__btn{animation:none; transform:scale(.92)}
@keyframes sdAssistBob{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-7px)}
}
/* attention nudge, once, so the mascot is noticed without nagging */
.sd-assist::after{
  content:""; position:absolute; right:8px; bottom:8px; width:74px; height:74px;
  border-radius:50%; border:2px solid rgba(224,169,46,.55); pointer-events:none;
  animation:sdAssistPulse 3.4s ease-out infinite;
}
@keyframes sdAssistPulse{
  0%{transform:scale(.9); opacity:.75}
  70%{transform:scale(1.28); opacity:0}
  100%{opacity:0}
}
.sd-assist[data-open="1"]::after{display:none}

/* ---- the panel ---- */
.sd-assist__panel{
  position:absolute; right:0; bottom:92px; width:min(360px, calc(100vw - 32px));
  background:#fff; border:1px solid #e3e8ef; border-radius:18px; overflow:hidden;
  box-shadow:0 4px 14px rgba(16,24,40,.12), 0 24px 56px rgba(16,24,40,.20);
  transform-origin:bottom right; animation:sdAssistIn .18s ease-out;
}
.sd-assist__panel[hidden]{display:none}
@keyframes sdAssistIn{from{opacity:0; transform:translateY(10px) scale(.97)} to{opacity:1; transform:none}}

.sd-assist__head{display:flex; align-items:center; gap:11px; padding:14px 16px;
  background:linear-gradient(135deg,#1b2432,#12161c)}
.sd-assist__head img{width:40px; height:40px; object-fit:contain; flex:0 0 auto}
.sd-assist__head b{display:block; color:#fff; font-size:.95rem; line-height:1.2}
.sd-assist__head span{display:block; color:#9fb0c2; font-size:.75rem; margin-top:2px}
.sd-assist__close{margin-left:auto; background:transparent; border:0; color:#9fb0c2;
  font-size:1.5rem; line-height:1; cursor:pointer; padding:0 2px}
.sd-assist__close:hover{color:#fff}

.sd-assist__form{display:flex; gap:8px; padding:14px 16px 10px}
.sd-assist__form input{
  flex:1 1 auto; min-width:0; padding:11px 13px; border:1px solid #dde3ea; border-radius:11px;
  font-size:.9rem; font-family:inherit; color:var(--ink); background:#fff;
}
.sd-assist__form input:focus{outline:0; border-color:var(--brand); box-shadow:0 0 0 3px rgba(27,100,217,.14)}
.sd-assist__form .btn{flex:0 0 auto; padding:11px 16px; border-radius:11px; font-size:.88rem}

.sd-assist__chips{display:flex; flex-wrap:wrap; gap:6px; padding:0 16px 12px}
.sd-assist__chips button{
  border:1px solid #e3e8ef; background:#fafbfd; color:var(--ink-2);
  font-size:.76rem; font-family:inherit; padding:5px 10px; border-radius:999px; cursor:pointer;
}
.sd-assist__chips button:hover{border-color:var(--brand); color:var(--brand); background:#f4f8ff}

.sd-assist__out{max-height:340px; overflow-y:auto; padding:0 16px 16px; font-size:.88rem; color:var(--ink-2)}
.sd-assist__out p{margin:0 0 10px; line-height:1.55}
.sd-assist__out .sd-assist__lead{font-weight:700; color:var(--ink)}

/* result rows */
.sd-ares{display:flex; align-items:center; gap:11px; padding:11px; margin-bottom:8px;
  border:1px solid #eef1f5; border-radius:12px; background:#fff; text-decoration:none; border-bottom:1px solid #eef1f5}
.sd-ares:hover{border-color:#cdd7e3; background:#fafbfd}
.sd-ares__t{flex:1 1 auto; min-width:0}
.sd-ares__t b{display:block; color:var(--ink); font-size:.9rem; line-height:1.25}
.sd-ares__t span{display:block; color:var(--ink-3); font-size:.76rem; margin-top:2px}
.sd-ares__go{flex:0 0 auto; background:var(--brand); color:#fff; font-size:.76rem; font-weight:800;
  padding:8px 13px; border-radius:9px; white-space:nowrap}
.sd-ares--page .sd-ares__go{background:#eef1f5; color:var(--ink-2)}

@media (max-width:600px){
  .sd-assist{right:12px; bottom:12px}
  .sd-assist__btn{width:60px; height:60px}
  .sd-assist::after{width:58px; height:58px; right:6px; bottom:6px}
  .sd-assist__panel{bottom:76px}
}
/* never let it cover the phone's bottom nav area on very short screens */
@media (max-height:520px){ .sd-assist{display:none} }

/* ============================================================
   MINI-REVIEW CARD: compliance + conditions
   Folded in from the two removed homepage tables.
   ============================================================ */
.mcard__meta{display:flex; flex-wrap:wrap; gap:6px; justify-content:center; align-items:center;
  margin:13px 15px 0; padding-top:12px; border-top:1px solid #f1f4f8}
.mcard__flag{font-size:.68rem; font-weight:800; letter-spacing:.03em; text-transform:uppercase;
  padding:4px 9px; border-radius:999px}
.mcard__flag--ok{background:rgba(26,156,91,.12); color:#12734a}
.mcard__flag--warn{background:rgba(224,169,46,.16); color:#8a6206}
.mcard__flag--stop{background:rgba(214,69,69,.12); color:#a52d2d}
.mcard__lic{font-size:.68rem; font-weight:600; color:var(--ink-3); padding:4px 0}
.mcard__lic--warn{color:#a52d2d}

.mcard__more{margin:10px 15px 0; border:1px solid #eef1f5; border-radius:10px; background:#fbfcfd}
.mcard__more summary{padding:9px 12px; font-size:.78rem; font-weight:700; color:var(--ink-2);
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:8px}
.mcard__more summary::-webkit-details-marker{display:none}
.mcard__more summary::after{content:"+"; color:var(--brand); font-weight:800}
.mcard__more[open] summary::after{content:"\2212"}
.mcard__more[open] summary{border-bottom:1px solid #eef1f5}
.mcard__more p{margin:0; padding:10px 12px; font-size:.76rem; line-height:1.6; color:var(--ink-2); text-align:left}

/* ============================================================
   BODY MINI-REVIEW COMPONENT
   Replaces the numbered-H3 + two-paragraph text block that read
   as undifferentiated article copy. Each review is now a card
   with a rank badge, the brand logo, and a labelled fact chip.
   ============================================================ */
.mrev{position:relative; margin:22px 0; padding:22px 24px 20px;
  background:#fff; border:1px solid var(--line); border-radius:16px;
  box-shadow:0 1px 2px rgba(16,24,40,.04), 0 8px 24px -12px rgba(16,24,40,.10)}
.mrev--top{border-color:#e8d5a8; box-shadow:0 1px 2px rgba(16,24,40,.05), 0 10px 28px -12px rgba(191,155,64,.22)}
.mrev--top::before{content:""; position:absolute; inset:0 auto 0 0; width:4px; border-radius:16px 0 0 16px;
  background:linear-gradient(180deg,#e3c268,#bf9b40)}
.mrev__head{display:flex; align-items:center; gap:14px; margin-bottom:14px; flex-wrap:wrap}
.mrev__rank{flex:0 0 auto; width:34px; height:34px; border-radius:10px; display:grid; place-items:center;
  font-weight:800; font-size:1rem; color:#7a5c14; background:linear-gradient(160deg,#fdf3d8,#f3e2b0);
  border:1px solid #e8d5a8}
.mrev--top .mrev__rank{color:#fff; background:linear-gradient(160deg,#e3c268,#bf9b40); border-color:#b8933a}
.mrev__logo-wrap{flex:0 0 auto; display:grid; place-items:center; width:118px; height:52px;
  background:#f7f9fc; border:1px solid var(--line); border-radius:10px; padding:6px}
.mrev__logo{width:100%; height:100%; max-width:104px; max-height:40px; object-fit:contain; display:block}
.mrev__title{flex:1 1 240px; margin:0; font-size:1.12rem; line-height:1.3; color:var(--ink)}
.mrev__body>p{margin:0 0 10px; font-size:.94rem; line-height:1.68; color:var(--ink-2)}
.mrev__body>p:last-child{margin-bottom:0}
.mrev__body strong{color:var(--ink); font-weight:700}
.mrev__reg{margin-top:14px; padding:12px 14px; border-radius:10px;
  background:#fbfcfd; border:1px solid #eef1f5; border-left:3px solid #c9b06a}
.mrev__reg strong{display:block; font-size:.7rem; font-weight:800; letter-spacing:.07em;
  text-transform:uppercase; color:#8a6d20; margin-bottom:5px}
.mrev__reg p{margin:0; font-size:.86rem; line-height:1.6; color:var(--ink-2)}

.sd-regtable{width:100%; border-collapse:collapse; margin:16px 0; font-size:.9rem}
.sd-regtable th{text-align:left; padding:10px 12px; background:#f7f9fc; border-bottom:2px solid var(--line);
  font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-3)}
.sd-regtable td{padding:11px 12px; border-bottom:1px solid #eef1f5; vertical-align:top; line-height:1.6}

@media (max-width:768px){
  .mrev{padding:18px 16px}
  .mrev__logo-wrap{width:96px; height:46px}
  .mrev__title{flex:1 1 100%; font-size:1.04rem}
  .sd-regtable{display:block; overflow-x:auto; white-space:nowrap}
}

/* mini-review fact grid: Conditions / Licence / France as labelled rows */
.mrev__facts{margin:15px 0 0; padding:0; border-top:1px solid #eef1f5}
.mrev__fact{display:grid; grid-template-columns:96px 1fr; gap:12px;
  padding:10px 0; border-bottom:1px solid #f4f7fa; align-items:start}
.mrev__fact:last-child{border-bottom:0}
.mrev__fact dt{margin:0; font-size:.68rem; font-weight:800; letter-spacing:.07em;
  text-transform:uppercase; color:var(--ink-3); padding-top:3px}
.mrev__fact dd{margin:0; font-size:.87rem; line-height:1.6; color:var(--ink-2)}
@media (max-width:600px){
  .mrev__fact{grid-template-columns:1fr; gap:3px; padding:9px 0}
  .mrev__fact dt{padding-top:0}
}

/* untested brands: same component, visibly more cautious treatment */
.mrev--untested{border-style:dashed; background:#fcfdfe}
.mrev--untested .mrev__title{color:var(--ink-2)}
.mrev--untested::before{display:none}

/* dark plate for light logos: without it they vanish on the light wrapper */
.mrev__logo-wrap--dark{background:#0e1116; border-color:#0e1116}
/* mini-review CTA row */
.mrev__cta{display:flex; flex-wrap:wrap; gap:10px; margin-top:16px;
  padding-top:14px; border-top:1px solid #eef1f5}
.mrev__cta .btn{flex:1 1 140px; text-align:center; justify-content:center}
@media (max-width:520px){ .mrev__cta .btn{flex:1 1 100%} }

/* ============================================================
   MOBILE NAV — off-canvas sidebar
   Slides in from the left over a scrim. Replaces both the original
   dropdown and the interim centred panel.
   ============================================================ */
.sd-burger{display:none; width:46px; height:42px; padding:0; cursor:pointer;
  background:#fff; border:1px solid var(--line); border-radius:12px;
  align-items:center; justify-content:center;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease}
.sd-burger:hover{border-color:#c9d2dd; box-shadow:0 2px 8px rgba(16,24,40,.08)}
.sd-burger:active{transform:scale(.96)}
.sd-burger:focus-visible{outline:2px solid var(--brand); outline-offset:2px}
.sd-burger__lines{position:relative; display:block; width:20px; height:14px}
.sd-burger__lines i{position:absolute; left:0; width:100%; height:2px; border-radius:2px;
  background:var(--ink); transition:transform .26s cubic-bezier(.4,0,.2,1), opacity .18s ease, top .26s ease}
.sd-burger__lines i:nth-child(1){top:0}
.sd-burger__lines i:nth-child(2){top:6px}
.sd-burger__lines i:nth-child(3){top:12px}
.sd-burger.is-open{border-color:var(--brand)}
.sd-burger.is-open .sd-burger__lines i:nth-child(1){top:6px; transform:rotate(45deg)}
.sd-burger.is-open .sd-burger__lines i:nth-child(2){opacity:0; transform:scaleX(.4)}
.sd-burger.is-open .sd-burger__lines i:nth-child(3){top:6px; transform:rotate(-45deg)}

.sd-scrim{position:fixed; inset:0; z-index:998; background:rgba(12,16,22,.46);
  -webkit-backdrop-filter:blur(2px); backdrop-filter:blur(2px);
  animation:sdScrimIn .22s ease both}
@keyframes sdScrimIn{from{opacity:0}to{opacity:1}}
html.sd-nav-open{overflow:hidden}

@media (max-width:980px){
  .sd-burger{display:inline-flex}

  /* full-height off-canvas sidebar */
  .sd-nav{
    position:fixed; top:0; bottom:0; left:0; z-index:999;
    width:min(84vw, 330px); display:flex; flex-direction:column;
    background:#fff; border-right:1px solid var(--line);
    box-shadow:0 0 0 1px rgba(16,24,40,.04), 24px 0 60px -20px rgba(16,24,40,.35);
    transform:translateX(-102%);
    transition:transform .3s cubic-bezier(.4,0,.2,1);
    overflow-y:auto; -webkit-overflow-scrolling:touch;
    padding-bottom:env(safe-area-inset-bottom)}
  .sd-nav.is-open{transform:translateX(0)}
  html.sd-nav-open .sd-nav{will-change:transform}

  .sd-nav__panel{display:flex; flex-direction:column; flex:1 1 auto; min-height:100%}

  /* drawer header */
  .sd-nav__top{display:flex; align-items:center; justify-content:space-between;
    gap:10px; padding:14px 16px; border-bottom:1px solid #f1f4f8}
  .sd-nav__brand{font-size:1rem; font-weight:800; letter-spacing:-.01em; color:var(--ink)}
  .sd-nav__brand em{font-style:normal; color:var(--brand)}
  .sd-nav__close{width:38px; height:38px; border-radius:10px; cursor:pointer;
    background:#f5f7fa; border:1px solid var(--line); color:var(--ink-2);
    font-size:1.35rem; line-height:1; display:grid; place-items:center}
  .sd-nav__close:hover{background:#eef1f5; color:var(--ink)}
  .sd-nav__close:focus-visible{outline:2px solid var(--brand); outline-offset:2px}

  .sd-nav__eyebrow{display:block; margin:0; padding:14px 18px 8px; font-size:.66rem; font-weight:800;
    letter-spacing:.1em; text-transform:uppercase; color:var(--ink-3)}
  .sd-nav__list{list-style:none; margin:0; padding:0 10px 10px;
    display:flex; flex-direction:column; gap:2px}
  .sd-nav__item{border-radius:12px; overflow:hidden}
  .sd-nav__item a{display:flex; align-items:center; gap:13px; min-height:54px;
    padding:9px 12px; font-size:.98rem; font-weight:600; color:var(--ink);
    text-decoration:none; border-bottom:0; border-radius:12px}
  .sd-nav__item a:hover, .sd-nav__item a:focus-visible{background:#f5f8fc; color:var(--brand)}
  .sd-nav__item.is-current a{background:#f1f5fb; color:var(--brand)}
  .sd-nav__ico{flex:0 0 auto; display:grid; place-items:center; width:36px; height:36px;
    border-radius:11px; background:#f2f5f9; color:var(--brand)}
  .sd-nav__item.is-current .sd-nav__ico{background:var(--brand); color:#fff}
  .sd-nav__ico svg{width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9;
    stroke-linecap:round; stroke-linejoin:round}
  .sd-nav__label{flex:1 1 auto}
  .sd-nav__chev{display:inline; flex:0 0 auto; color:#c2cbd6; font-size:1.3rem; line-height:1}

  .sd-nav__foot{display:block; margin-top:auto; padding:14px 18px 20px; border-top:1px solid #f1f4f8; background:#fbfcfd}
  .sd-nav__foot .btn{display:flex; width:100%; justify-content:center}
}

/* ============================================================
   FIXES: hamburger + drawer CTA hover
   Both were losing to parent-theme rules on SPECIFICITY, not value:
     GeneratePress  a:hover { color: var(--contrast) }   (0,1,1)
     this theme     .sd-nav a { color: var(--ink-2) }     (0,1,1)
                    .btn--primary { color:#fff }          (0,1,0)  <- outranked
     GeneratePress  button:hover { background: … }                 <- filled burger
   The burger never declared its own background, so the parent filled it
   dark grey (rgb(63,64,71)). Both now declare every state explicitly at
   higher specificity.
   ============================================================ */
.sd-header .sd-burger,
.sd-header .sd-burger:hover,
.sd-header .sd-burger:focus,
.sd-header .sd-burger:focus-visible,
.sd-header .sd-burger:active{
  background:#fff;
}
.sd-header .sd-burger{border:1px solid var(--line)}
.sd-header .sd-burger:hover{border-color:var(--line-strong); box-shadow:var(--shadow)}
.sd-header .sd-burger.is-open{border-color:var(--brand)}
.sd-header .sd-burger.is-open .sd-burger__lines i{background:var(--ink)}

/* drawer CTA: (0,2,0) so it outranks .sd-nav a and the parent link rule */
.sd-nav .btn--primary{color:#fff; background:var(--brand)}
.sd-nav .btn--primary:hover,
.sd-nav .btn--primary:focus,
.sd-nav .btn--primary:focus-visible,
.sd-nav .btn--primary:active{color:#fff; background:var(--brand-dark)}

/* arrow / chevron accents pick up the new brand hue */
.sd-nav__chev{color:var(--line-strong)}
.sd-nav__item a:hover .sd-nav__chev{color:var(--brand)}
