/*
Theme Name: One Hot Tub
Theme URI: https://onehottub.com
Author: One Hot Tub
Author URI: https://onehottub.com
Description: A bright, friendly, premium hot-tub-care blog & reviews theme. Editorial blog-post components (TOC, pros/cons, for/against, list & number tables, Amazon bestsellers, FAQ, affiliate disclaimer), wave hero with featured image, and a legacy-content converter that reflows old WordPress/AAWP posts into the new design.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: one-hot-tub
Tags: blog, news, two-columns, custom-menu, featured-images, block-patterns, full-width-template, editor-style
*/

/* ============================================================
   ONE HOT TUB — bright, friendly, practical DIY-care design system
   Light & airy. Ocean blue + aqua, warm coral for the "hot".
   Illustration-forward. Helpful, not moody.
   ============================================================ */

:root {
  /* ---- surfaces ---- */
  --paper:     #ffffff;
  --sky:       oklch(0.975 0.012 230);   /* page base, faint sky */
  --sky-2:     oklch(0.958 0.009 238);   /* alt sections */
  --sky-3:     oklch(0.935 0.013 236);   /* tints */
  --card:      #ffffff;

  /* ---- ink / text ---- */
  --ink:       oklch(0.25 0.038 252);    /* headings — deep slate-navy */
  --body:      oklch(0.40 0.026 250);    /* body */
  --muted:     oklch(0.52 0.022 248);
  --faint:     oklch(0.62 0.018 246);
  --line:      oklch(0.90 0.010 240);
  --line-soft: oklch(0.93 0.008 240);

  /* ---- water blues (deeper, restrained) ---- */
  --blue:      oklch(0.49 0.105 248);    /* primary */
  --blue-deep: oklch(0.39 0.095 250);
  --blue-soft: oklch(0.945 0.020 242);
  --aqua:      oklch(0.58 0.072 215);
  --aqua-deep: oklch(0.47 0.070 218);
  --aqua-soft: oklch(0.94 0.022 210);

  /* ---- warm accent (used sparingly) ---- */
  --coral:     oklch(0.58 0.125 42);     /* terracotta CTA */
  --coral-deep:oklch(0.51 0.130 38);
  --coral-soft:oklch(0.94 0.026 55);
  --sun:       oklch(0.72 0.095 72);
  --sun-soft:  oklch(0.95 0.028 82);
  --mint:      oklch(0.58 0.068 175);    /* tips / success */
  --mint-soft: oklch(0.94 0.024 175);
  --grape:     oklch(0.49 0.085 290);
  --grape-soft:oklch(0.94 0.022 300);

  --radius:    20px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --radius-xl: 34px;

  --shadow-xs: 0 1px 2px oklch(0.30 0.03 250 / 0.06), 0 1px 3px oklch(0.30 0.03 250 / 0.05);
  --shadow:    0 14px 32px -20px oklch(0.28 0.04 250 / 0.30);
  --shadow-lg: 0 34px 64px -36px oklch(0.24 0.04 250 / 0.36);
  --shadow-coral: 0 8px 20px -12px oklch(0.52 0.12 40 / 0.32);
  --shadow-blue:  0 8px 20px -12px oklch(0.42 0.10 248 / 0.30);

  --maxw: 1180px;
  --nav-h: 90px;

  --display: "Lora", Georgia, "Times New Roman", serif;
  --sans:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

/* ------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 20px); }
body {
  font-family: var(--sans);
  background: var(--sky);
  color: var(--body);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden !important;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
::selection { background: oklch(0.58 0.125 42 / 0.18); }

h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.24; font-weight: 600; letter-spacing: 0; text-wrap: balance; text-transform: capitalize; }

/* ------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }
.wrap-tight { max-width: 760px; }
section { position: relative; }
.section { padding-block: clamp(40px, 6vw, 80px); }
.section-sm { padding-block: clamp(40px, 5vw, 72px); }
.bg-sky { background: var(--sky-2); }
.bg-blue-soft { background: linear-gradient(180deg, var(--blue-soft), var(--sky)); }

.eyebrow {
  font-weight: 700; font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--blue); display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: 0.6; }
.eyebrow.coral { color: var(--coral-deep); }
.eyebrow.aqua { color: var(--aqua-deep); }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-top: 14px; font-weight: 600; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.08rem; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--body); line-height: 1.6; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 100px; font-weight: 700; font-size: 0.96rem;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .2s, color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-coral); }
.btn-primary:hover { transform: translateY(-2px); background: var(--coral-deep); box-shadow: 0 12px 26px -14px oklch(0.52 0.12 40 / 0.55); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-blue:hover { transform: translateY(-2px); background: var(--blue-deep); box-shadow: 0 12px 26px -14px oklch(0.42 0.10 248 / 0.5); }
.btn-ghost { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--blue), var(--shadow); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue-deep); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--blue); transition: gap .25s, color .25s; }
.text-link svg { width: 16px; height: 16px; transition: transform .25s; }
.text-link:hover { color: var(--blue-deep); gap: 11px; }
.text-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------ tags / chips */
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 100px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  background: var(--blue-soft); color: var(--blue-deep);
  width: max-content;
}
.grid .tag {
    position: absolute;
  left: 10px;
  top: 10px;
}
.tag svg { width: 13px; height: 13px; }
.tag.cat-reviews    { background: var(--sun-soft);   color: oklch(0.46 0.09 62); }
.tag.cat-maintenance{ background: var(--aqua-soft);  color: var(--aqua-deep); }
.tag.cat-diy        { background: var(--coral-soft); color: var(--coral-deep); }
.tag.cat-wellness   { background: var(--grape-soft); color: var(--grape); }
.tag.cat-buying     { background: var(--mint-soft);  color: oklch(0.42 0.07 175); }
.tag.cat-chemistry  { background: var(--blue-soft);  color: var(--blue-deep);   }
.tag.cat-troubleshooting { background: var(--coral-soft); color: var(--coral-deep); }

/* ============================================================ NAV */
.nav { position: sticky; top: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center;
  background: oklch(1 0 0 / 0.82); backdrop-filter: blur(16px) saturate(1.2); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px oklch(0.4 0.1 250 / 0.5); }
.nav .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand .mark {
  width: 42px; height: 42px; border-radius: 11px; flex-shrink: 0; position: relative; overflow: hidden;
  background: var(--blue-deep); box-shadow: var(--shadow-blue);
  display: grid; place-items: center;
}
.brand .mark svg { width: 24px; height: 24px; color: #fff; position: relative; z-index: 2; }
.brand .mark::after { content:""; position:absolute; left:-20%; right:-20%; bottom:-30%; height:70%; border-radius:50%;
  background: oklch(1 0 0 / 0.18); }
.brand b { font-family: var(--display); font-size: 1.18rem; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1; white-space: nowrap; }
.brand small { display: block; font-size: 0.6rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--aqua-deep); font-weight: 700; margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { padding: 9px 14px; border-radius: 100px; font-weight: 600; font-size: 0.95rem; color: var(--body); transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--blue); background: var(--blue-soft); }
.nav-links a.active { color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 9px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
  background: var(--sky-2); transition: background .2s, transform .2s; }
.icon-btn:hover { background: var(--blue-soft); color: var(--blue); transform: translateY(-2px); }
.icon-btn svg { width: 19px; height: 19px; }
.nav-cta { display: inline-flex; }
.hamburger { display: none; }

/* search overlay */
.search-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: start center; padding-top: 13vh;
  background: oklch(0.45 0.08 250 / 0.35); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-box { width: min(640px, 90vw); transform: translateY(-12px); transition: transform .35s; }
.search-overlay.open .search-box { transform: none; }
.search-box label { display: block; color: #fff; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.72rem; margin-bottom: 12px; }
.search-field { display: flex; align-items: center; gap: 13px; background: #fff; border-radius: var(--radius); padding: 17px 20px; box-shadow: var(--shadow-lg); }
.search-field svg { width: 23px; height: 23px; color: var(--blue); flex-shrink: 0; }
.search-field input { flex: 1; background: none; border: none; outline: none; color: var(--ink); font-size: 1.25rem; }
.search-field input::placeholder { color: var(--faint); }
.search-hint { color: oklch(1 0 0 / 0.85); font-size: 0.84rem; margin-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; }
.search-hint kbd { background: oklch(1 0 0 / 0.2); border-radius: 6px; padding: 2px 8px; font-family: var(--sans); font-size: 0.78rem; }

/* ============================================================ illustration scenes (friendly flat CSS art) */
.scene { position: absolute; inset: 0; overflow: hidden; isolation: isolate; }
.scene .label { position: absolute; bottom: 9px; right: 11px; z-index: 6;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.6rem; letter-spacing: 0.02em;
  color: oklch(0.30 0.05 250 / 0.5); background: oklch(1 0 0 / 0.55); padding: 2px 7px; border-radius: 6px; }
/* base tints */
.scene-water { background: linear-gradient(160deg, var(--aqua-soft), var(--blue-soft) 60%, oklch(0.86 0.07 235)); }
.scene-aqua  { background: linear-gradient(160deg, oklch(0.92 0.07 195), var(--aqua-soft) 70%); }
.scene-warm  { background: linear-gradient(160deg, var(--sun-soft), var(--coral-soft) 70%); }
.scene-coral { background: linear-gradient(160deg, oklch(0.93 0.06 55), var(--coral-soft) 70%); }
.scene-mint  { background: linear-gradient(160deg, oklch(0.94 0.05 165), var(--mint-soft) 75%); }
.scene-grape { background: linear-gradient(160deg, oklch(0.94 0.04 310), var(--grape-soft) 75%); }
.scene-night { background: linear-gradient(160deg, var(--blue-soft), oklch(0.84 0.08 245)); }
/* legacy names mapped to friendly tints (so older markup still reads ok) */
.scene-dusk  { background: linear-gradient(160deg, var(--coral-soft), var(--blue-soft) 75%); }
.scene-teal  { background: linear-gradient(160deg, var(--aqua-soft), var(--blue-soft) 70%); }
.scene-amber { background: linear-gradient(160deg, var(--sun-soft), var(--coral-soft) 70%); }
.scene-wood  { background: linear-gradient(160deg, oklch(0.90 0.04 70), oklch(0.84 0.06 55)); }
.scene-stone { background: linear-gradient(160deg, oklch(0.94 0.01 230), oklch(0.88 0.02 235)); }

/* friendly illustration bits */
.scene .sun { position: absolute; border-radius: 50%; background: radial-gradient(circle at 40% 40%, #fff, var(--sun) 70%); box-shadow: 0 0 40px oklch(0.83 0.135 78 / 0.55); }
.scene .tub { position: absolute; left: 50%; bottom: 14%; transform: translateX(-50%); width: 58%; height: 34%;
  border-radius: 0 0 50% 50% / 0 0 90% 90%; background: linear-gradient(180deg, var(--aqua), var(--blue-deep));
  box-shadow: inset 0 6px 14px oklch(1 0 0 / 0.3), 0 10px 24px -10px var(--blue-deep); }
.scene .tub::before { content:""; position:absolute; inset: -10% 0 auto 0; height: 26%; border-radius: 50%;
  background: oklch(0.86 0.09 200); box-shadow: 0 4px 10px -4px var(--blue-deep); }
.scene .wave { position: absolute; left: 0; right: 0; bottom: 0; height: 40%;
  background:
    radial-gradient(60% 100% at 20% 100%, oklch(1 0 0 / 0.35), transparent 70%),
    radial-gradient(60% 100% at 70% 100%, oklch(1 0 0 / 0.25), transparent 70%);
  mix-blend-mode: soft-light; }
.scene .bubbles i { position: absolute; bottom: 16%; border-radius: 50%; background: oklch(1 0 0 / 0.6);
  animation: bub var(--bd,4s) ease-in infinite; animation-delay: var(--bdl, 0s); }
@keyframes bub { 0%{ transform: translateY(0) scale(0.6); opacity:0 } 25%{opacity:.9} 100%{ transform: translateY(-120px) scale(1); opacity: 0 } }
.scene .orb { position: absolute; border-radius: 50%; left: 50%; top: 26%; transform: translateX(-50%);
  background: radial-gradient(circle at 40% 35%, #fff, var(--sun) 65%, transparent 78%); }
.scene .shimmer { position:absolute; inset:auto 0 0 0; height: 44%;
  background: repeating-linear-gradient(180deg, oklch(1 0 0 / 0.18) 0 2px, transparent 2px 9px);
  mix-blend-mode: soft-light; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { from{ transform: translateY(2px) } to { transform: translateY(-2px) } }
@media (prefers-reduced-motion: reduce){ .scene .shimmer, .scene .bubbles i { animation: none; } }

/* ============================================================ image slots (user-fillable photos) */
image-slot { display: block; width: 100%; height: 100%; }
image-slot::part(frame) { background: linear-gradient(160deg, var(--aqua-soft), var(--blue-soft) 60%, oklch(0.87 0.045 235)); }
image-slot::part(empty) { color: var(--aqua-deep); font-weight: 600; }
/* deep dusk variant for hero / feature imagery */
.slot-dusk::part(frame) { background: linear-gradient(170deg, oklch(0.62 0.07 235) 0%, oklch(0.46 0.07 224) 55%, oklch(0.30 0.055 220) 100%); }
.slot-dusk::part(empty) { color: oklch(0.97 0.012 230 / 0.92); }
.card-media image-slot, .rc-media image-slot, .gitem image-slot { position: absolute; inset: 0; }

/* ============================================================ steam */
.steam { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.steam i { position: absolute; bottom: -30px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, oklch(1 0 0 / 0.5), transparent 65%); filter: blur(12px); opacity: 0;
  animation: steamRise var(--d, 9s) ease-in infinite; animation-delay: var(--delay, 0s); }
@keyframes steamRise { 0%{ transform: translateY(0) scale(0.7); opacity:0 } 20%{opacity:.6} 70%{opacity:.3} 100%{ transform: translateY(-280px) scale(1.5) translateX(var(--drift,30px)); opacity:0 } }
@media (prefers-reduced-motion: reduce){ .steam i { animation: none; opacity: 0.25; } }

/* ============================================================ CARDS / GRID */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { position: relative; display: flex; flex-direction: column; background: var(--card);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs);
  border: 1px solid var(--line-soft);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-media .scene { transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media .scene { transform: scale(1.05); }
.card-media .tag { position: absolute; top: 13px; left: 13px; z-index: 5; background: oklch(1 0 0 / 0.9); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 9px; font-size: 0.8rem; color: var(--faint); font-weight: 600; }
.card-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.card h3 { font-size: 1.2rem; line-height: 1.25; color: var(--ink); font-weight: 600; }
.card h3 a { transition: color .2s; }
.card:hover h3 a { color: var(--blue); }
.card p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.card-foot { margin-top: auto; padding-top: 4px; }
.card-lg .card-media { aspect-ratio: 16/11; }
.card-lg h3 { font-size: 1.6rem; }

/* ============================================================ TOPIC CARDS */
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.topic-card { position: relative; background: var(--card); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-xs); transition: transform .3s, box-shadow .3s; overflow: hidden; display: flex; flex-direction: column; gap: 10px; }
.topic-card::after { content:""; position:absolute; right:-30px; top:-30px; width:120px; height:120px; border-radius:50%; opacity:.5; background: var(--tint, var(--blue-soft)); transition: transform .4s; }
.topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.topic-card:hover::after { transform: scale(1.3); }
.topic-ico { width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center; position: relative; z-index: 2;
  background: var(--tint, var(--blue-soft)); color: var(--tintfg, var(--blue-deep)); }
.topic-ico svg { width: 28px; height: 28px; }
.topic-card h3 { font-size: 1.3rem; position: relative; z-index: 2; }
.topic-card p { color: var(--muted); font-size: 0.96rem; position: relative; z-index: 2; }
.topic-card .count { position: relative; z-index: 2; margin-top: auto; font-weight: 700; color: var(--blue); font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.topic-card .count svg { width: 15px; height: 15px; transition: transform .25s; }
.topic-card:hover .count svg { transform: translateX(3px); }

/* ============================================================ STAT BAR */
.stat-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat-bar .stat { display: flex; align-items: center; gap: 14px; }
.stat-bar .stat .si { width: 50px; height: 50px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; background: var(--blue-soft); color: var(--blue); }
.stat-bar .stat .si svg { width: 24px; height: 24px; }
.stat-bar .stat b { font-family: var(--display); font-size: 1.7rem; color: var(--ink); line-height: 1; display: block; }
.stat-bar .stat span { font-size: 0.86rem; color: var(--muted); }

/* ============================================================ help-article components */
.callout { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius-sm); margin: 1.6em 0; }
.callout .ci { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; display: grid; place-items: center; }
.callout .ci svg { width: 17px; height: 17px; }
.callout p { margin: 0 !important; font-size: 0.98rem; }
.callout b { color: var(--ink); }
.callout.tip  { background: var(--mint-soft); }
.callout.tip .ci  { background: var(--mint); color: #fff; }
.callout.warn { background: var(--coral-soft); }
.callout.warn .ci { background: var(--coral); color: #fff; }
.callout.info { background: var(--blue-soft); }
.callout.info .ci { background: var(--blue); color: #fff; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.4em 0; display: flex; flex-direction: column; gap: 16px; }
.steps li { position: relative; padding-left: 56px; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px;
  width: 38px; height: 38px; border-radius: 9px; background: var(--blue); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.steps li b { color: var(--ink); display: block; font-size: 1.08rem; margin-bottom: 2px; }

/* table of contents */
.toc { background: var(--sky-2); border-radius: var(--radius); padding: 22px 24px; }
.toc h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; color: var(--body); }
.toc a { transition: color .2s; } .toc a:hover { color: var(--blue); }

/* ============================================================ NEWSLETTER / lead magnet */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  background: linear-gradient(150deg, var(--blue-deep), oklch(0.30 0.05 250) 90%); color: #fff; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 600; }
.cta-band p { color: oklch(1 0 0 / 0.86); max-width: 540px; margin: 14px 0 26px; }
.cta-band.center { text-align: center; } .cta-band.center p { margin-inline: auto; }
.lead-form { display: flex; gap: 10px; max-width: 480px; }
.cta-band.center .lead-form { margin-inline: auto; }
.lead-form input { flex: 1; background: #fff; border: none; outline: none; padding: 15px 18px; border-radius: 9px; color: var(--ink); font-size: 1rem; box-shadow: var(--shadow); }
.lead-form input::placeholder { color: var(--faint); }
.nl-note { font-size: 0.84rem; color: oklch(1 0 0 / 0.8); margin-top: 14px; }
.cta-band.center .nl-note { text-align: center; }
.nl-ok { color: #fff; font-weight: 800; margin-top: 14px; min-height: 1.2em; }

/* ============================================================ FORMS */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--ink); }
.field input, .field textarea, .field select { background: var(--sky-2); border: none; outline: none; padding: 14px 16px; border-radius: var(--radius-sm); color: var(--ink); font-size: 1rem; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.field input:focus, .field textarea:focus, .field select:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 4px var(--blue-soft); }
.field textarea { resize: vertical; min-height: 140px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================ FOOTER */
.footer { background: var(--ink); color: oklch(0.82 0.03 240);}
.footer .wrap { padding-block: 64px 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 38px; padding-bottom: 48px; }
.footer .brand b { color: #fff; } .footer .brand small { color: var(--aqua); }
.footer h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: oklch(0.80 0.03 240); font-size: 0.95rem; transition: color .2s; }
.footer ul a:hover { color: #fff; }
.footer .f-about p { color: oklch(0.78 0.03 240); font-size: 0.95rem; max-width: 320px; margin-top: 14px; }
.socials { display: flex; gap: 9px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: oklch(1 0 0 / 0.08); color: #fff; transition: all .2s; }
.socials a:hover { background: var(--coral); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 24px 0; border-top: 1px solid oklch(1 0 0 / 0.1); flex-wrap: wrap; }
.footer-bottom p { color: oklch(0.72 0.03 240); font-size: 0.85rem; }
.footer-bottom .closing { color: #fff; font-weight: 700; }
.footer-legal { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.footer-legal a { color: oklch(0.80 0.03 240); font-size: 0.85rem; font-weight: 600; transition: color .2s; }
.footer-legal a:hover { color: #fff; }
@media (max-width: 768px){ .footer-legal { gap: 16px; } }

/* ============================================================ scroll reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .07s; } .reveal.d2 { transition-delay: .14s; } .reveal.d3 { transition-delay: .21s; } .reveal.d4 { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce){ .reveal { opacity: 1; transform: none; } }

/* ============================================================ fun bits: wavy divider + amazon button */
.wave-divider { display: block; width: 100%; height: 40px; color: var(--sky-2); }
.wave-divider.flip { transform: rotate(180deg); }
.btn-amazon { background: linear-gradient(135deg, var(--sun), oklch(0.66 0.12 58)); color: oklch(0.24 0.05 50); box-shadow: 0 8px 20px -12px oklch(0.66 0.12 58 / 0.6); font-weight: 800; }
.btn-amazon:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px oklch(0.66 0.12 58 / 0.75); }
.btn-amazon svg { width: 17px; height: 17px; }

/* ============================================================ EDITORIAL / BLOG-POST COMPONENTS */
/* affiliate disclaimer */
.disclaimer { display: flex; gap: 14px; align-items: flex-start; background: var(--sun-soft); border-radius: var(--radius); padding: 16px 20px; margin: 1.4em 0; font-size: 0.92rem; color: var(--body); }
.disclaimer .di { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: oklch(0.72 0.095 72); color: #fff; }
.disclaimer .di svg { width: 16px; height: 16px; }
.disclaimer b { color: var(--ink); }

/* table of contents card */
.toc-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 25px; box-shadow: var(--shadow-xs); max-height: max-content; position: sticky; top: calc(var(--nav-h) + 50px); margin-bottom: 36px;}
.toc-card h4 { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.toc-card h4 svg { width: 16px; height: 16px; }
.toc-card ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; columns: 1; column-gap: 32px; font-size: 0.85rem;}
.toc-card li { counter-increment: toc; break-inside: avoid; margin-bottom: 4px;}
.toc-card a { display: flex; align-items: baseline; gap: 11px; padding: 8px 10px; border-radius: 10px; color: var(--body); font-weight: 500; transition: background .2s, color .2s; }
.toc-card a::before { content: counter(toc, decimal-leading-zero); font-family: var(--display); font-weight: 600; color: var(--coral); font-size: 0.85rem; flex-shrink: 0; }
.toc-card a:hover { background: var(--blue-soft); color: var(--blue-deep); }

@media only screen and (min-width:1024px) {.toc-card a.is-active {
    background: var(--blue-soft);
    color: var(--blue-deep);
}
}

@media (max-width: 768px){ .toc-card ol { columns: 1; } }

/* generic editorial block heading */
.eblock { margin: 1.8em 0; }
.eblock-title { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.3rem; margin-bottom: 14px; }
.eblock-title .et-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.eblock-title .et-ico svg { width: 19px; height: 19px; }

/* pros & cons (two cards) */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1.6em 0; }
.pc-col { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); }
.pc-col .pc-head { display: flex; align-items: center; gap: 10px; padding: 14px 20px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: #fff; }
.pc-col .pc-head svg { width: 20px; height: 20px; }
.pc-col.pros .pc-head { background: var(--mint); }
.pc-col.cons .pc-head { background: oklch(0.60 0.115 32); }
.pc-col ul { list-style: none; margin: 0; padding: 8px 20px 18px; display: flex; flex-direction: column; gap: 2px; }
.pc-col li { display: flex; gap: 11px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid var(--line-soft); color: var(--body); font-size: 0.97rem; }
.pc-col li:last-child { border-bottom: none; }
.pc-col li .lic { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; margin-top: 1px; }
.pc-col.pros li .lic { background: var(--mint-soft); color: oklch(0.42 0.07 175); }
.pc-col.cons li .lic { background: var(--coral-soft); color: var(--coral-deep); }
@media (max-width: 768px){ .proscons { grid-template-columns: 1fr; } }

/* for & against (versus table) */
.versus { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 1.6em 0; background: var(--card); box-shadow: var(--shadow-xs); }
.versus-head { display: grid; grid-template-columns: 1fr 1fr; }
.versus-head > div { padding: 14px 20px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: #fff; display: flex; align-items: center; gap: 9px; }
.versus-head .vh-for { background: var(--blue); } .versus-head .vh-against { background: var(--aqua-deep); }
.versus-row { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.versus-row > div { padding: 14px 20px; font-size: 0.96rem; color: var(--body); display: flex; gap: 10px; align-items: flex-start; }
.versus-row > div:first-child { border-right: 1px solid var(--line); }
.versus-row .vd { width: 7px; height: 7px; border-radius: 50%; margin-top: 8px; flex-shrink: 0; }
.versus-row .for .vd { background: var(--blue); } .versus-row .against .vd { background: var(--aqua-deep); }

/* bullet list styled as table */
.list-table { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 1.5em 0; background: var(--card); box-shadow: var(--shadow-xs); }
.list-table .lt-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); transition: background .2s; }
.list-table .lt-row:last-child { border-bottom: none; }
.list-table .lt-row:hover { background: var(--sky-2); }
.list-table .lt-ico { width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0; display: grid; place-items: center; background: var(--blue-soft); color: var(--blue); }
.list-table .lt-ico svg { width: 20px; height: 20px; }
.list-table .lt-body b { display: block; color: var(--ink); font-weight: 600; font-size: 1.02rem; margin-bottom: 2px; }
.list-table .lt-body span { color: var(--muted); font-size: 0.94rem; }

/* numbered list styled as table */
.num-table { counter-reset: nt; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 1.5em 0; background: var(--card); box-shadow: var(--shadow-xs); }
.num-table .nt-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); }
.num-table .nt-row:last-child { border-bottom: none; }
.num-table .nt-row::before { counter-increment: nt; content: counter(nt); width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; background: var(--coral); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.05rem; display: grid; place-items: center; box-shadow: var(--shadow-coral); }
.num-table .nt-body b { display: block; color: var(--ink); font-weight: 600; font-size: 1.04rem; margin-bottom: 2px; }
.num-table .nt-body span { color: var(--muted); font-size: 0.95rem; }

/* amazon bestseller list */
.bestseller { display: flex; flex-direction: column; gap: 14px; margin: 1.5em 0; }
.bs-item { display: grid; grid-template-columns: auto 120px 1fr auto; gap: 18px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-xs); transition: transform .25s, box-shadow .25s; }
.bs-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.bs-rank { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 1.15rem; background: var(--blue-soft); color: var(--blue-deep); }
.bs-item.top .bs-rank { background: linear-gradient(135deg, var(--sun), oklch(0.66 0.12 58)); color: oklch(0.24 0.05 50); }
.bs-img { width: 120px; height: 96px; border-radius: 12px; overflow: hidden; position: relative; flex-shrink: 0; }
.bs-img image-slot, .bs-img .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.bs-body h4 { font-size: 1.12rem; margin-bottom: 4px; }
.bs-stars { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.bs-stars .st { display: inline-flex; color: var(--sun); } .bs-stars .st svg { width: 14px; height: 14px; }
.bs-body p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.bs-cta { display: flex; flex-direction: column; gap: 8px; align-items: stretch; text-align: center; min-width: 150px; }
.bs-cta .price { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.bs-badge { font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--coral-deep); }
@media (max-width: 1024px){ .bs-item { grid-template-columns: auto 1fr; grid-auto-rows: auto; } .bs-img { grid-row: span 2; width: 90px; height: 90px; } .bs-cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; } }

/* faq accordion (post) */
.faq-block { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin: 1.4em 0; background: var(--card); box-shadow: var(--shadow-xs); }
.faq-block details { border-bottom: 1px solid var(--line-soft); }
.faq-block details:last-child { border-bottom: none; }
.faq-block summary { cursor: pointer; list-style: none; padding: 18px 22px; font-family: var(--display); font-weight: 600; font-size: 1.08rem; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: background .2s; }
.faq-block summary::-webkit-details-marker { display: none; }
.faq-block summary:hover { background: var(--sky-2); }
.faq-block summary .chev { transition: transform .3s; color: var(--blue); flex-shrink: 0; }
.faq-block details[open] summary .chev { transform: rotate(45deg); }
.faq-block details > p, .faq-block .faq-a { color: var(--muted); padding: 0 22px 20px; margin: 0; font-size: 0.98rem; }
.faq-block .faq-a > :last-child { margin-bottom: 0; }
.faq-block .faq-a p { margin: 0 0 .7em; color: var(--muted); }
.faq-block .faq-a a { color: var(--blue); font-weight: 600; }

/* ============================================================ responsive */

@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-bar { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 1024px) {
  .nav-links { display: none; } .hamburger { display: grid; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .topic-grid { grid-template-columns: 1fr; }
  .lead-form { flex-direction: column; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links.mobile-open { display: flex; flex-direction: column; align-items: stretch; gap: 3px;
    position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; padding: 16px 26px 24px;
    background: oklch(1 0 0 / 0.98); backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); }
  .nav-links.mobile-open a { padding: 13px 15px; font-size: 1.06rem; }
}
@media (max-width: 768px) {
  .stat-bar { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; }
  .wrap { padding-inline: 18px; }
}


/* ============================================================ WORDPRESS THEME ADDITIONS */
/* featured image fills the wave hero; sits above the water fallback */
.post-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.post-hero-img { position: relative; }

/* WP core alignments inside .prose */
.prose .alignleft { float: left; margin: 6px 24px 16px 0; max-width: 50%; border-radius: var(--radius-sm); }
.prose .alignright { float: right; margin: 6px 0 16px 24px; max-width: 50%; border-radius: var(--radius-sm); }
.prose .aligncenter { display: block; margin: 1.4em auto; }
.prose img { border-radius: var(--radius-sm); height: auto; }
.prose figure { margin: 1.6em 0; }
.prose figure img { width: 100%; }
.prose figcaption { text-align: center; color: var(--faint); font-size: 0.88rem; margin-top: 10px; }
.prose .wp-block-image { margin: 1.6em 0; }
.prose iframe {
    width: 100%;
    border-radius: var(--radius-sm);
}
.alignwide { width: min(100%, 980px); margin-inline: auto; }
.alignfull { width: 100%; }

/* generic WP table inside prose → styled like a spec table */
.prose > table, .prose .wp-block-table table { width: 100%; border-collapse: collapse; margin: 1.5em 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); background: var(--card); }
.prose table th, .prose table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); }
.prose table thead th { background: var(--sky-2); color: var(--ink); font-family: var(--display); font-weight: 600; }
.prose table tbody tr:hover { background: var(--sky-2); }
.prose table th:first-child, .prose table td:first-child {
    display: none;
}
@media only screen and (max-width:768px) {
    .prose table th:nth-child(4), .prose table td:nth-child(4) {
    display: none;
}
}

/* sticky-aside layout helper for single */
.post-aside .toc-card { position: sticky; top: calc(var(--nav-h) + 20px); }

/* comments (native WP) */
.commentlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.commentlist .comment { padding: 20px 0; border-bottom: 1px solid var(--line); }
.comment-body { display: flex; gap: 14px; }
.comment .avatar { width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0; }
.comment .comment-author { font-weight: 700; color: var(--ink); }
.comment .comment-meta { color: var(--faint); font-size: 0.82rem; margin-bottom: 6px; }
.comment .comment-content p { color: var(--body); margin: 0 0 .6em; }
.comment .children { list-style: none; margin: 0 0 0 40px; padding: 0; }
.comment-respond { background: var(--sky-2); border-radius: var(--radius); padding: 26px; margin-top: 24px; }
.comment-respond .comment-reply-title { font-size: 1.3rem; margin-bottom: 14px; }
.comment-form label { display:block; font-weight:700; font-size:0.88rem; color:var(--ink); margin-bottom:6px; }
.comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url], .comment-form textarea {
  width:100%; background:#fff; border:none; outline:none; padding:13px 15px; border-radius:var(--radius-sm); color:var(--ink); box-shadow:inset 0 0 0 1.5px var(--line); margin-bottom:14px; font:inherit; }
.comment-form .submit { background:var(--coral); color:#fff; border:none; border-radius:100px; padding:13px 26px; font-weight:700; cursor:pointer; }

/* pagination */
.oht-pagination { display:flex; justify-content:center; gap:8px; margin-top:44px; flex-wrap:wrap; }
.oht-pagination .page-numbers { display:grid; place-items:center; min-width:44px; height:44px; padding:0 12px; border-radius:100px; background:var(--card); box-shadow:inset 0 0 0 1.5px var(--line); color:var(--body); font-weight:700; transition:all .2s; }
.oht-pagination .page-numbers.current { background:var(--blue); color:#fff; box-shadow:var(--shadow-blue); }
.oht-pagination a.page-numbers:hover { color:var(--blue); box-shadow:inset 0 0 0 1.5px var(--blue); }

/* admin bar offset */
.admin-bar .nav { top: 32px; }
@media (max-width:768px){ .admin-bar .nav { top: 46px; } }

/* screen-reader */
.screen-reader-text { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }
.skip-link { position:absolute; left:-9999px; }
.skip-link:focus { left:8px; top:8px; z-index:1000; background:#fff; padding:10px 16px; border-radius:8px; box-shadow:var(--shadow); }


/* ---- WordPress nav menu normalisation ---- */
.nav-links { list-style: none; }
.nav-links li { list-style: none; margin: 0; }
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a,
.nav-links .current-menu-ancestor > a { color: var(--blue); }
.footer-legal { list-style: none; margin: 0; padding: 0; }
.footer-legal li { list-style: none; margin: 0; }
.footer .menu, .footer ul.menu { list-style: none; margin: 0; padding: 0; }
@media (max-width: 1024px){
  .nav-links.mobile-open li { width: 100%; }
}


/* ============================================================ SINGLE-POST COMPONENTS (bundled for theme) */
.prose { font-size: 1.13rem; line-height: 1.8; color: var(--body); }
.prose > p { margin-bottom: 1.3em; }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); color: var(--ink); margin: 1.6em 0 .5em; scroll-margin-top: calc(var(--nav-h) - 65px); }
.prose h3 { font-size: 1.25rem; color: var(--ink); margin: 1.4em 0 .4em; }
.prose h4 { margin: 1.2em 0 .4em; }
.prose a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.35em; padding-left: 1.4em; }
.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }
.prose li { margin-bottom: .5em; line-height: 1.7; }
.prose li::marker { color: var(--aqua-deep); }
.prose blockquote { margin: 1.5em 0; padding: 6px 0 6px 22px; border-left: 4px solid var(--coral); font-family: var(--display); font-size: 1.3rem; line-height: 1.4; color: var(--ink); }
.prose blockquote p { margin: 0; }
.prose > p:first-child { font-size: 1.18rem; }

/* tables (WP block + classic) */
.prose .wp-block-table { margin: 1.5em 0; overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); background: var(--card); }
.prose table th, .prose table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose table thead th { background: var(--sky-2); color: var(--ink); font-family: var(--display); font-weight: 600; }
.prose table tbody tr:last-child td { border-bottom: none; }
.prose table tbody tr:hover { background: var(--sky-2); }
.prose table strong { color: var(--ink); }

/* crumbs */
.crumbs a:hover { color: var(--blue); }

/* wave hero */
.post-hero { position: relative; margin-bottom: clamp(10px, 2vw, 22px); }
.post-hero-img { position: relative; height: clamp(300px, 40vw, 470px); margin-top: calc(var(--nav-h) * -1); overflow: hidden; }
.post-hero-water { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(180deg, oklch(0.89 0.07 197) 0%, oklch(0.79 0.10 209) 36%, oklch(0.66 0.12 224) 76%, oklch(0.57 0.12 232) 100%); }
.post-hero-water::before { content:""; position:absolute; inset:-25%;
  background:
    radial-gradient(58px 24px at 18% 28%, oklch(1 0 0 / 0.4), transparent 60%),
    radial-gradient(82px 30px at 58% 18%, oklch(1 0 0 / 0.28), transparent 60%),
    radial-gradient(70px 24px at 82% 46%, oklch(1 0 0 / 0.34), transparent 60%),
    radial-gradient(96px 32px at 40% 68%, oklch(1 0 0 / 0.24), transparent 60%);
  mix-blend-mode: screen; opacity: .75; animation: waterDrift 16s ease-in-out infinite alternate; }
.post-hero-water::after { content:""; position:absolute; inset:0; background: repeating-linear-gradient(180deg, oklch(1 0 0 / 0.11) 0 1px, transparent 1px 13px); mix-blend-mode: soft-light; }
.hw-glint { position:absolute; left:62%; top:-14%; width:44%; aspect-ratio:1; border-radius:50%; background: radial-gradient(circle, oklch(0.99 0.03 95 / 0.7), transparent 64%); filter: blur(6px); z-index:2; }
@keyframes waterDrift { from { transform: translate3d(-3%,0,0) scale(1.04);} to { transform: translate3d(3%,2%,0) scale(1.08);} }
@media (prefers-reduced-motion: reduce){ .post-hero-water::before { animation: none; } }
.post-hero .steam { position: absolute; inset: 0; z-index: 2; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(46px, 6vw, 80px); display: block; z-index: 3; color: var(--sky); }
.post-hero-card { position: relative; z-index: 4; max-width: 920px; margin: clamp(-108px, -9vw, -74px) auto 0; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(26px, 4vw, 46px); border: 1px solid var(--line-soft); }
.post-hero .meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.post-hero .meta-row .upd { color: var(--muted); font-size: .86rem; font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.post-hero h1 { color: var(--ink); font-size: clamp(1.9rem, 4vw, 3.3rem); font-weight: 600; line-height: 1.16; }
.post-hero .dek { color: var(--muted); font-size: clamp(1.04rem, 1.5vw, 1.22rem); margin-top: 14px; max-width: 640px; }
.post-hero .hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.post-hero .byline { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.post-hero .byline .av, .post-hero .byline .avatar { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; }
.post-hero .byline b { color: var(--ink); font-size: .96rem; } .post-hero .byline span { display: block; color: var(--faint); font-size: .82rem; }

/* post layout */

@media (max-width: 768px){ .post-layout { display: block; } .post-layout > .prose { padding-inline: 20px; } .post-hero-img { height: clamp(220px, 52vw, 320px); } .post-hero-card { margin-top: -56px; } }


/* ============================================================ v3 FIXES — header, prose spacing, tables */
/* brand label never breaks the nav row */
.brand small { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav .wrap { flex-wrap: nowrap; }
.nav-links { flex-wrap: wrap; }

/* prose spacing — robust (descendant selectors, not just direct children) */
.prose { line-height: 1.85; }
.prose p { margin: 0 0 1.35em; }
.prose ul, .prose ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.prose li { margin-bottom: .55em; line-height: 1.75; }
.prose li > ul, .prose li > ol { margin: .55em 0 0; }
.prose h2 { margin: 1.9em 0 .55em; }
.prose h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin: 1.55em 0 .4em; }
.prose h4 { margin: 1.3em 0 .4em; }

/* ---- tables: full design ---- */
.prose figure.wp-block-table { margin: 1.7em 0; }
.prose .wp-block-table { overflow-x: auto; }
.prose table {
  width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.7em 0;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs); font-size: 0.99rem;
}
.prose table caption { caption-side: top; text-align: left; font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 1.1rem; margin-bottom: 10px; }
.prose table th, .prose table td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.prose table thead th {
  background: linear-gradient(180deg, var(--blue-soft), oklch(0.945 0.020 242));
  color: var(--ink); font-family: var(--display); font-weight: 600; font-size: 1.02rem;
  border-bottom: 2px solid var(--line);
}
/* emphasise the first column (row labels) */
.prose table tbody td:first-child, .prose table tbody th { font-weight: 600; color: var(--ink); }
/* zebra + hover */
.prose table tbody tr:nth-child(even) { background: color-mix(in oklab, var(--sky-2) 70%, transparent); }
.prose table tbody tr:hover { background: var(--blue-soft); }
.prose table tbody tr:last-child td { border-bottom: none; }
.prose table a { color: var(--blue); font-weight: 600; }
/* green check / red x cells (common in comparison tables) */
.prose table td:only-child { text-align: center; }
@media (max-width: 768px){ .prose table { font-size: 0.92rem; } .prose table th, .prose table td { padding: 11px 13px; } }


/* ============================================================ v4 — logo size, nav nowrap, Poppins headings */
:root { --display: "Poppins", system-ui, -apple-system, sans-serif; }
.brand .custom-logo, .brand .custom-logo-link img, .brand img.custom-logo { height: 60px !important; width: auto !important; max-width: 190px; object-fit: contain; }
.custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.nav-links a { white-space: nowrap; }
@media only screen and (max-width: 1240px){ .nav-cta { display: none; } 
  .nav-links { gap: 0; } .nav .nav-links a, .nav .nav-links ul.menu > li > a {
  font-size: 0.86rem !important;
}
}



/* ============================================================ v5 — hero, numbered lists, key takeaways, topic posts, category head */

/* ---- HOME HERO (was missing from the theme bundle) ---- */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-scene { position: absolute; inset: 0; z-index: -2; }
.hs-sky { position: absolute; inset: 0; background: linear-gradient(180deg, #d3e9f6 0%, #e9f4fb 50%, var(--sky) 100%); }
.hs-sun { position: absolute; top: 12%; right: 14%; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle at 42% 40%, #fff, var(--sun) 72%); box-shadow: 0 0 70px oklch(0.83 0.12 78 / 0.55); opacity: .9; }
.hs-water { position: absolute; left: 0; right: 0; bottom: 0; height: 36%; background: linear-gradient(180deg, oklch(0.74 0.08 205) 0%, oklch(0.56 0.10 222) 100%); }
.hs-water::before { content:""; position:absolute; inset:0; background: repeating-linear-gradient(180deg, rgba(255,255,255,.14) 0 2px, transparent 2px 11px); }
.hs-tub { position: absolute; left: 58%; bottom: 11%; transform: translateX(-50%); width: 30%; max-width: 330px; aspect-ratio: 2 / 1; }
.hs-tub .rim { position:absolute; inset:0; border-radius: 50% / 42%; background: linear-gradient(180deg, #ecdfce, #c9b59c); box-shadow: 0 18px 32px -14px rgba(0,0,0,.32); }
.hs-tub .wt { position:absolute; inset: 16% 9% 12%; border-radius: 50% / 46%; background: radial-gradient(circle at 50% 28%, oklch(0.82 0.09 205), oklch(0.55 0.11 224)); box-shadow: inset 0 6px 12px rgba(255,255,255,.35); }
.hero-scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, var(--sky) 16%, oklch(0.97 0.012 230 / 0.4) 46%, transparent 64%); }
.hero .steam { z-index: -1; }

.hero-wrap { position: relative; display: flex; align-items: center; min-height: clamp(460px, 56vw, 620px); padding-block: clamp(48px, 7vw, 92px); }
.hero-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 46px); max-width: 580px; position: relative; box-shadow: 0 40px 80px -30px oklch(0.28 0.06 250 / 0.40), 0 3px 10px oklch(0.28 0.06 250 / 0.06); }
.hero-card .eyebrow { margin-bottom: 14px; }
.hero-card h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.08; }
.hero-card .lead { margin-top: 16px; color: var(--body); }
.hero-form { margin-top: 26px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.hero-trust .avs { display: flex; }
.hero-trust .avs span { width: 30px; height: 30px; border-radius: 50%; margin-left: -8px; border: 2px solid #fff; }
.hero-trust .avs span:nth-child(1){ background: var(--coral); }
.hero-trust .avs span:nth-child(2){ background: var(--aqua); }
.hero-trust .avs span:nth-child(3){ background: var(--sun); }
.hero-trust .avs span:nth-child(4){ background: var(--grape); }
.hero .hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 54px; color: var(--sky-2); display: block; z-index: 1; }
.hero .hero-wave path { fill: currentColor; }
@media (max-width: 768px){
  .hero-scrim { background: linear-gradient(180deg, oklch(0.97 0.012 230 / 0.5) 26%, transparent 96%); }
  .hero-card { max-width: none; }
  .hs-tub { opacity: .85; }
}

/* ---- NUMBERED LISTS in prose (styled counters) ---- */
.prose ol { list-style: none; counter-reset: olc; padding-left: 0; margin: 1.5em 0; }
.prose ol > li { counter-increment: olc; position: relative; padding-left: 54px; margin-bottom: 16px; min-height: 36px; }
.prose ol > li::before { content: counter(olc); position: absolute; left: 0; top: -1px; width: 36px; height: 36px; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.02rem; display: grid; place-items: center; box-shadow: var(--shadow-blue); }
.prose ol > li::marker { content: none; }
.prose ol ol { margin: .6em 0; }
/* keep TOC + steps using their own numbering */
.toc-card ol > li { counter-increment: toc; padding-left: 0; margin-bottom: 4px; min-height: 0; }
.toc-card ol > li::before { content: none; }
.steps li { padding-left: 56px; }
.steps li::before { width: 38px; height: 38px; }

/* ---- KEY TAKEAWAYS pop-out box ---- */
.key-takeaways { position: relative; background: white; border: 1px solid var(--line); border-left: 5px solid var(--coral); border-radius: var(--radius); padding: 24px 28px 22px 30px; margin: 1.9em 0; box-shadow: var(--shadow); }
.key-takeaways .kt-label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 1.18rem; margin-bottom: 12px; }
.key-takeaways .kt-label svg { width: 22px; height: 22px; color: var(--coral); }
.key-takeaways > p { margin: 0 0 1em; }
.key-takeaways ul { margin: 6px 0 0; padding-left: 1.25em; }
.key-takeaways ul li { margin-bottom: 10px; line-height: 1.7; }
.key-takeaways ul li::marker { color: var(--coral); }
.key-takeaways > :last-child { margin-bottom: 0; }

/* ---- TOPIC CARD latest posts (internal linking) ---- */
.topic-card { display: flex; flex-direction: column; }
.topic-card h3 a { transition: color .2s; }
.topic-card h3 a:hover { color: var(--blue); }
.topic-card .tc-posts { list-style: none; margin: 14px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line-soft); display: flex; flex-direction: column; gap: 9px; position: relative; z-index: 2; }
.topic-card .tc-posts a { display: flex; gap: 9px; color: var(--body); font-size: 0.92rem; font-weight: 600; line-height: 1.35; transition: color .2s; }
.topic-card .tc-posts a::before { content: ""; width: 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--aqua); flex-shrink: 0; }
.topic-card .tc-posts a:hover { color: var(--blue); }
.topic-card .count { margin-top: 16px; }

/* ---- ARCHIVE / CATEGORY HEAD — compact + lively ---- */
.archive-head { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--blue-soft), var(--sky)); padding-top: clamp(34px,4vw,56px); padding-bottom: clamp(30px,3.5vw,46px); }
.archive-head .wrap { position: relative; z-index: 2; }
.archive-head .eyebrow { margin-bottom: 8px; }
.archive-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
.archive-head .ah-desc { color: var(--muted); max-width: 580px; margin-top: 10px; }
.archive-head .ah-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.archive-head .ah-chips a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border-radius: 100px; background: #fff; box-shadow: var(--shadow-xs); color: var(--body); font-weight: 600; font-size: 0.88rem; transition: all .2s; }
.archive-head .ah-chips a:hover { color: var(--blue); transform: translateY(-2px); box-shadow: var(--shadow); }
.archive-head .ah-chips a.is-current { background: var(--blue); color: #fff; }
.archive-head .ah-blob { position: absolute; border-radius: 50%; z-index: 1; filter: blur(2px); opacity: .5; }
.archive-head .ah-blob.b1 { width: 180px; height: 180px; right: 6%; top: -40px; background: radial-gradient(circle at 40% 40%, #fff, var(--aqua-soft) 70%); }
.archive-head .ah-blob.b2 { width: 110px; height: 110px; right: 22%; bottom: -30px; background: radial-gradient(circle at 40% 40%, var(--sun-soft), transparent 72%); }
.archive-head .ah-count { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-weight: 700; color: var(--blue-deep); font-size: 0.92rem; }

/* ---- FOOTER: social label ---- */
.footer .social-label { font-family: var(--sans); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--aqua); margin: 20px 0 10px; }


/* ---- v6: numbered lists in a box ---- */
.prose .num-box { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 1.7em 0; box-shadow: var(--shadow-xs); }
.prose .num-box ol { margin: 0; }
.prose .num-box ol > li:last-child { margin-bottom: 0; }
.prose .num-box ol > li::before { box-shadow: var(--shadow-blue), 0 0 0 3px var(--sky-2); }
@media (max-width: 768px){ .prose .num-box { padding: 18px 16px 18px 18px; } }


/* ---- v7: bullet lists in a box (check-circle badges) ---- */
.prose .bullet-box { background: var(--sky-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; margin: 1.7em 0; box-shadow: var(--shadow-xs); }
.prose .bullet-box ul.bullet-list { list-style: none !important; margin: 0; padding: 0; }
.prose .bullet-box ul.bullet-list > li { list-style: none !important; }
.prose .bullet-box ul.bullet-list > li { position: relative; padding-left: 40px; margin-bottom: 14px; line-height: 1.7; }
.prose .bullet-box ul.bullet-list > li:last-child { margin-bottom: 0; }
.prose .bullet-box ul.bullet-list > li::marker { content: none; }
.prose .bullet-box ul.bullet-list > li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--mint-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23337a63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='m5 13 4 4L19 7'/></svg>") center / 15px no-repeat;
  box-shadow: 0 0 0 3px var(--sky-2); flex-shrink: 0;
}
@media (max-width: 768px){ .prose .bullet-box { padding: 18px 16px; } }


/* ============================================================ v9 — roomier cards, wider content, verdict boxes */
:root { --maxw: 1240px; }

/* topic cards: more room + line spacing + button-style link */
.topic-card { padding: 32px 30px; }
.topic-card h3 { font-size: 1.42rem; }
.topic-card > p { font-size: 1rem; line-height: 1.7; color: var(--muted); }
.topic-card .tc-posts { gap: 13px; padding-top: 16px; margin-top: 16px; }
.topic-card .tc-posts a { font-size: 0.96rem; line-height: 1.5; }
.topic-card .count { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin-top: 20px; padding: 11px 20px; border-radius: 100px; background: var(--blue); color: #fff; font-weight: 700; font-size: 0.92rem; box-shadow: var(--shadow-blue); transition: transform .2s, background .2s; white-space: nowrap; }
.topic-card .count:hover { background: var(--blue-deep); transform: translateY(-2px); }
.topic-card .count svg { width: 15px; height: 15px; }
.topic-grid { gap: 26px; }

/* recent-guide cards: line spacing + a little bigger */
.card-body { padding: 24px 24px 26px; gap: 12px; }
.card h3 { font-size: 1.3rem; line-height: 1.32; }
.card p { line-height: 1.7; font-size: 0.98rem; }

/* post content: wider so review titles don't wrap so early */
.post-layout { display: grid; grid-template-columns: minmax(0px, 400px) minmax(0px, 740px); max-width: max-content; margin: 0 auto; gap: 40px; margin-top: 60px; padding: 0 25px;}
@media only screen and (max-width:1024px) { 
    .post-layout {
        display: block;
    }
    .toc-card {
        position: relative;
        top: 0;
    }
}
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.92rem); text-wrap: balance; }
.prose h3 { text-wrap: balance; }

/* Verdict / Choose if / Skip if boxes (landscape, full width) */
.prose .vbox { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-xs); margin: 1.1em 0; }
.prose .vbox .vbox-head { padding: 11px 18px; font-family: var(--display); font-weight: 700; font-size: 0.95rem; color: #fff; display: flex; align-items: center; gap: 9px; }
.prose .vbox .vbox-head svg { width: 18px; height: 18px; }
.prose .vbox .vbox-body { padding: 15px 18px; color: var(--body); line-height: 1.75; }
.prose .vbox .vbox-body > :last-child { margin-bottom: 0; }
.prose .vbox-verdict .vbox-head { background: var(--blue); }
.prose .vbox-choose .vbox-head { background: var(--mint); }
.prose .vbox-skip .vbox-head { background: var(--coral); }


/* ---- v10: card thumbnails fill their box without stretching ---- */
.card-media { aspect-ratio: 16 / 10; }
.card-media img,
.card-media .wp-post-image,
.card-media a > img {
  position: absolute; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; object-position: center;
  display: block; max-width: none;
}
.card-media .scene { position: absolute; inset: 0; width: 100%; height: 100%; }


/* ============================================================ v11 — WordPress primary menu matches the design exactly */
.nav .nav-links { display: flex; align-items: center; }
.nav .nav-links ul.menu,
.nav .nav-links > ul {
  display: flex; align-items: center; gap: 2px;
  list-style: none; margin: 0; padding: 0;
}
.nav .nav-links li,
.nav .nav-links ul.menu > li {
  list-style: none; margin: 0; padding: 0; position: relative;
}
.nav .nav-links a,
.nav .nav-links ul.menu > li > a {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--body);
  padding: 9px 13px;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav .nav-links a:hover,
.nav .nav-links ul.menu > li > a:hover { color: var(--blue) !important; background: var(--blue-soft) !important; }
.nav .nav-links .current-menu-item > a,
.nav .nav-links .current_page_item > a,
.nav .nav-links .current-menu-ancestor > a,
.nav .nav-links a.active { color: var(--blue) !important; }
/* kill any theme/plugin underline or bullet artefacts */
.nav .nav-links a::before, .nav .nav-links a::after { content: none !important; }
.nav .nav-links ul.sub-menu { display: none; } /* depth 1 — no dropdowns */

@media (max-width: 1024px){
  .nav .nav-links { display: none; }
  .nav .nav-links.mobile-open { display: flex; }
  .nav .nav-links.mobile-open ul.menu,
  .nav .nav-links.mobile-open > ul { flex-direction: column; align-items: stretch; gap: 3px; width: 100%; }
  .nav .nav-links.mobile-open a { padding: 13px 15px !important; font-size: 1.06rem !important; }
}


.aawp .aawp-product {
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
    padding: 70px 35px 35px !important;
    box-shadow: var(--shadow-xs);
}

.aawp .aawp-product__ribbon {
    padding: 10px 15px !important;
    border-radius: 0 0 var(--radius-sm) 0 ;
}

.aawp .aawp-product__content {
    padding-bottom: 30px !important;
}

.page-hero:after {
    content: "";
    height: 100%;
    width: 100%;
    position: absolute;
    background: #00000045;
    top: 0;
    left: 0;
}

.page-hero {
    position: relative;
}

/* 404 Page styling */

.page-404 {
    font-size: 150px;
    font-weight: 800;
    color: var(--blue-deep);
    line-height: 1em;
}

.wrap.not-found {
    text-align: center;
}

.wrap.not-found h1 {
    font-size: 60px;
    margin-bottom: 50px;
}

.wrap.not-found h2 {
    font-size: 30px;
    margin-bottom: 30px;
}
.searchform-container {
    background: var(--blue);
    padding: 25px;
    color: white;
    border-radius: var(--radius-lg);
}

.wrap.not-found p {
    margin-bottom: 20px;
}