/* ============================================================
   everpuzzleV2 — main.css
   Design tokens, layout, components, responsive
   ============================================================ */

/* ----------------------------------------------------------
   1. Custom Properties
   ---------------------------------------------------------- */

:root {
  /* Brand purple */
  --pur:      #7C3AED;
  --pur-dk:   #5B21B6;
  --pur-lt:   #EDE8FF;
  --pur-mid:  #9D5CF6;
  --pur-pale: #F5F0FF;

  /* Dark scale */
  --dark:  #0D0C15;
  --dark2: #14121F;
  --dark3: #1C1A2E;
  --ink:   #1A1827;

  /* Light scale */
  --cream:  #F9F8FC;
  --white:  #ffffff;
  --border: #E6E2F4;
  --muted:  #4D4B63;   /* darkened from #72708A → passes WCAG AAA (7:1) on all light bgs */

  /* Accents */
  --gold:        #F59E0B;
  --border-dark: rgba(255,255,255,.08);

  /* Typography */
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-sans:  'Nunito', system-ui, -apple-system, sans-serif;

  /* Layout */
  --fw:     1460px;
  --fw-md:  1200px;
  --pad:    clamp(1rem, 3vw, 2.5rem);
  --nav-h:  70px;
  --topbar-h: 36px;

  /* Radii */
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Spacing */
  --sp-xs:  .5rem;
  --sp-sm:  .75rem;
  --sp-md:  1.25rem;
  --sp-lg:  2rem;
  --sp-xl:  3.5rem;
  --sp-2xl: 5rem;

  /* Effects */
  --shadow: 0 4px 24px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.18);
  --transition: .2s ease;

  /* ── Heading scale — SINGLE SOURCE OF TRUTH ──────────────
     All heading font-sizes across the entire site live here.
     Edit a variable to update every matching heading at once.
     ─────────────────────────────────────────────────────── */
  --hd-xl:      clamp(2rem, 4.5vw, 3rem);      /* blog post hero h1              */
  --hd-display: clamp(1.8rem, 4vw, 2.8rem);    /* archive / product page hero h1 */
  --hd-section: clamp(1.4rem, 2.5vw, 2rem);    /* homepage section headings      */
  --hd-2:       clamp(1.3rem, 2.5vw, 1.7rem);  /* content h2 (desc, entry)       */
  --hd-3:       1.15rem;                        /* content h3                     */
  --hd-4:       1rem;                           /* content h4                     */
  --hd-panel:   1.25rem;                        /* sidebar widget / panel heading */
}

/* ----------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--pur); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--pur-dk); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.4em; }
li { margin-bottom: .3em; }

/* ----------------------------------------------------------
   3. Layout helpers
   ---------------------------------------------------------- */

.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-main { flex: 1; padding-top: calc(var(--nav-h) + var(--topbar-h) + 2rem); }

/* Archive/category hero handles its own nav offset — reset double padding */
body.archive .site-main,
body.category .site-main,
body.tag .site-main { padding-top: 0; }

/* Page template with dark hero — archive-hero handles its own top offset */
.site-main--page-hero { padding-top: 0; }

.section-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: var(--sp-lg);
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--hd-section);
  color: var(--ink);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 700;
  font-size: .88rem;
  color: var(--pur);
  white-space: nowrap;
}

.section-link:hover { color: var(--pur-dk); }
.section-link i { width: 14px; height: 14px; }

/* Global section vertical rhythm — any element using var(--sp-xl) auto-scales */
.home-section,
.home-section--alt { padding-block: var(--sp-xl); }
.home-section--alt { background: var(--surface, #F9F8FE); }

/* ----------------------------------------------------------
   4. Buttons
   ---------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .6rem 1.3rem;
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              filter var(--transition);
}

.btn:hover, .btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn:active { transform: translateY(0); filter: brightness(.95); }

.btn i { width: 16px; height: 16px; flex-shrink: 0; }

.btn--primary   { background: var(--pur); color: var(--white); border-color: var(--pur); }
.btn--primary:hover { color: var(--white); }

.btn--outline   { background: transparent; color: var(--pur); border-color: var(--pur); }
.btn--outline:hover { background: var(--pur); color: var(--white); }

.btn--outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn--outline-white:hover { background: rgba(255,255,255,.12); color: var(--white); }

.btn--ghost { background: transparent; color: rgba(255,255,255,.8); border-color: transparent; }
.btn--ghost:hover { color: var(--white); background: rgba(255,255,255,.08); filter: none; }

.btn--sm { padding: .4rem 1rem; font-size: .82rem; }
.btn--lg { padding: .75rem 1.7rem; font-size: .95rem; }
.btn--lg::after {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}

/* ----------------------------------------------------------
   5. Topbar
   ---------------------------------------------------------- */

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  background: var(--dark);
  height: var(--topbar-h);
}

.topbar-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-trust {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: nowrap;
  overflow: hidden;
}

.topbar-trust-item {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  letter-spacing: .03em;
  white-space: nowrap;
}

.topbar-sep {
  color: rgba(255,255,255,.3);
  font-size: .72rem;
  line-height: 1;
  flex-shrink: 0;
}

.topbar-legal { display: flex; align-items: center; }

.topbar-legal ul {
  display: flex;
  gap: .6rem;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

.topbar-legal ul li + li::before {
  content: '·';
  color: rgba(255,255,255,.3);
  margin-right: .6rem;
  font-size: .72rem;
}

.topbar-legal a {
  font-size: .72rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition);
}

.topbar-legal a:hover { color: var(--white); }

/* ----------------------------------------------------------
   6. Header
   ---------------------------------------------------------- */

.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--dark2);
  border-bottom: 1px solid var(--border-dark);
  height: var(--nav-h);
  transition: box-shadow var(--transition), background var(--transition);
}

.site-header.is-scrolled {
  background: rgba(20,18,31,.97);
  box-shadow: 0 2px 20px rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.header-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header-logo img { height: 40px; width: auto; }

/* Desktop nav */
.primary-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-menu li { position: relative; }
.nav-menu li a {
  display: block;
  padding: .5rem .85rem;
  font-size: .88rem;
  font-weight: 700;
  color: rgba(255,255,255,.8);
  border-radius: 6px;
  white-space: nowrap;
  transition: color var(--transition), background var(--transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current-menu-parent > a,
.nav-menu li.current-menu-ancestor > a {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

/* Dropdown — top: 100% (no gap) + padding-top bridges visually */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: var(--dark3);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  padding: 8px .4rem .4rem;
  z-index: 50;
  list-style: none;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { display: block; }

.nav-menu .sub-menu li a {
  border-radius: 6px;
  padding: .45rem .8rem;
  font-size: .85rem;
  color: rgba(255,255,255,.75);
}

.nav-menu .sub-menu li a:hover,
.nav-sub-coloured { border-radius: 6px; }

/* Nav coloured submenu items */
a.nav-sub-coloured {
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 700;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 1rem; margin-left: auto; }

.header-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.header-action-btn:hover { color: var(--white); background: rgba(255,255,255,.1); }
.header-action-btn i { width: 20px; height: 20px; }

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--pur);
  color: var(--white);
  font-size: .65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}

.burger-btn:hover { background: rgba(255,255,255,.08); }

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.85);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.is-active span:nth-child(2) { opacity: 0; }
.burger-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------
   7. Search Panel
   ---------------------------------------------------------- */

.header-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--dark3);
  border-bottom: 1px solid var(--border-dark);
  padding: 1rem var(--pad);
  display: none;
  z-index: 99;
}

.header-search-panel.is-open { display: block; }

.header-search-inner {
  max-width: 700px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: .75rem;
}

.header-search-form {
  flex: 1;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--r);
  padding: 0 1rem;
  gap: .5rem;
}

.search-form-icon { color: var(--muted); width: 18px; height: 18px; flex-shrink: 0; }

.header-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: .95rem;
  padding: .65rem 0;
}

.header-search-input::placeholder { color: var(--muted); }

.header-search-submit {
  background: var(--pur);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: .4rem .85rem;
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.header-search-submit:hover { background: var(--pur-dk); }

.header-search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
  flex-shrink: 0;
}

.header-search-close:hover { color: var(--white); background: rgba(255,255,255,.15); }
.header-search-close i { width: 18px; height: 18px; }

/* ----------------------------------------------------------
   8. Mobile Nav
   ---------------------------------------------------------- */

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 90vw);
  background: var(--dark2);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 1px solid var(--border-dark);
}

.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav-close {
  align-self: flex-end;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: rgba(255,255,255,.7);
  transition: color var(--transition), background var(--transition);
}

.mobile-nav-close:hover { color: var(--white); background: rgba(255,255,255,.15); }
.mobile-nav-close i { width: 20px; height: 20px; }

.mobile-nav-logo img { height: 36px; width: auto; }

.mobile-nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-dark);
  padding-top: 1rem;
}

.mobile-nav-menu li a {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .5rem;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}

.mobile-nav-menu li a:hover { background: rgba(255,255,255,.07); color: var(--white); }

.mobile-nav-section { border-top: 1px solid var(--border-dark); padding-top: 1rem; }

.mobile-nav-section-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: .5rem;
}

.mobile-nav-cats { list-style: none; padding: 0; margin: 0; }

.mobile-nav-cats li a {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .4rem .25rem;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.mobile-nav-cats li a:hover { color: var(--white); }

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-block;
}

.mobile-nav-shop-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.5rem;
  background: var(--pur);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--r);
  transition: background var(--transition);
  margin-top: auto;
}

.mobile-nav-shop-btn:hover { background: var(--pur-dk); color: var(--white); }
.mobile-nav-shop-btn i { width: 18px; height: 18px; }

.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 190;
  backdrop-filter: blur(2px);
}

.mobile-nav-backdrop.is-visible { display: block; }

/* ----------------------------------------------------------
   9. Hero
   ---------------------------------------------------------- */

.hero {
  position: relative;
  background: var(--dark);
  min-height: clamp(480px, 65vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + var(--topbar-h));
}

/* Geometric parallax background */
.hero-geo {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  will-change: transform;
}

.hero-geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(124,58,237,.25);
}

.hero-geo-ring--1 {
  width: 600px; height: 600px;
  top: -150px; right: 5%;
  background: radial-gradient(circle at 40% 40%, rgba(124,58,237,.12), transparent 70%);
}

.hero-geo-ring--2 {
  width: 380px; height: 380px;
  top: 100px; right: 20%;
  border-color: rgba(157,92,246,.2);
}

.hero-geo-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse 80% 80% at 70% 50%, black 0%, transparent 100%);
}

.hero-geo-stripe {
  position: absolute;
  width: 120%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124,58,237,.4), transparent);
  top: 45%;
  left: -10%;
  transform: rotate(-6deg);
}

/* Hero bg image */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg picture { display: block; width: 100%; height: 100%; }

.hero-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(13,12,21,.85) 0%,
    rgba(13,12,21,.5) 60%,
    rgba(13,12,21,.2) 100%
  );
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--fw);
  margin-inline: auto;
  padding: var(--sp-xl) var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
}

.hero-col {
  flex: 1;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pur-mid);
}

.hero-eyebrow i { width: 14px; height: 14px; flex-shrink: 0; }

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}

.hero-title em {
  font-style: italic;
  color: #c4b5fd;
}

.hero-body {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}

.hero-btn-text {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .9rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  padding: .55rem 1.1rem;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--r);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.hero-btn-text::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.hero-btn-text:hover {
  color: var(--white);
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
}

/* Hero KPI stats row */
.hero-kpi {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: .5rem;
  flex-wrap: wrap;
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.hstat-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hstat-lbl {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.45);
}

.hstat-sep {
  width: 1px;
  height: 2rem;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
}

/* Hero right — Swiper review slider */
.hero-right {
  flex-shrink: 0;
  width: clamp(300px, 34vw, 440px);
  align-self: flex-start; /* don't stretch — let content define height */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-swiper {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-dark);
  width: 100%;          /* explicit — so Swiper reads correct offsetWidth */
  /* No flex:1 — Swiper height is driven by slide content (min-height on .review-card) */
}

/* Hero slider footer: prev · pagination · next */
.hero-swiper-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding-block: .75rem;
}

.hero-swiper-prev,
.hero-swiper-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.3);
  background: transparent;
  color: rgba(255,255,255,.7);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.hero-swiper-prev:hover,
.hero-swiper-next:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,.1);
}
.hero-swiper-prev.swiper-button-disabled,
.hero-swiper-next.swiper-button-disabled { opacity: .25; cursor: default; pointer-events: none; }

/* Swiper pagination — sits between the buttons, outside swiper container */
.hero-swiper-pagination {
  position: static;   /* override Swiper bundle's position:absolute */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}

.hero-swiper-pagination .swiper-pagination-bullet {
  background: var(--pur);
  opacity: 1;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  transition: width .25s, background .25s;
  cursor: pointer;
  display: inline-block;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--pur-mid);
  width: 22px;
}

/* Review Card (Swiper slide content) */
.hero-swiper .swiper-wrapper { align-items: stretch; }
.hero-swiper .swiper-slide {
  height: auto;
  overflow: hidden;
  display: flex;
}

.review-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 460px;   /* drives slide + swiper container height */
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rc-img {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(124,58,237,.45) 0%, rgba(157,92,246,.25) 100%);
  flex-shrink: 0;
  text-decoration: none;
}

.rc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.rc-img:hover img { transform: scale(1.04); }

.rc-img > i {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,.2);
}

.rc-new-tag {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: rgba(13,12,21,.7);
  backdrop-filter: blur(6px);
  color: var(--pur-mid);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem .6rem;
  border-radius: 20px;
}

.rc-new-tag i { width: 11px; height: 11px; }

.rc-score {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: rgba(13,12,21,.7);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  padding: .25rem .6rem;
  border-radius: 20px;
}

.rc-body {
  padding: 1.25rem 1.4rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.rc-meta {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-wrap: wrap;
}

.rc-tag {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pur-lt);
}

.rc-sep {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
}

.rc-date {
  font-size: .65rem;
  color: rgba(255,255,255,.4);
  font-weight: 500;
}

.rc-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--white);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rc-excerpt {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
  margin: 0;
  display: block;
  flex: 1;
}

.rc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  margin-top: auto;
  padding: .5rem .9rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--pur-dk);
  text-decoration: none;
  background: var(--pur-lt);
  border-radius: var(--r);
  transition: background var(--transition), color var(--transition);
}

.rc-btn::after {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.rc-btn:hover { background: var(--pur); color: var(--white); }

/* ----------------------------------------------------------
   10. Trust Strip
   ---------------------------------------------------------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.trust-strip-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}

.ti-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r);
  background: var(--pur-pale, #EDE8FF);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ti-icon i { width: 18px; height: 18px; color: var(--pur); }

.ti-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: .15rem;
}

.ti-desc {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.45;
}

/* ----------------------------------------------------------
   10b. Header Shop Button
   ---------------------------------------------------------- */

.header-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: var(--r);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition);
}

.header-shop-btn::before {
  content: '';
  display: inline-block;
  width: 15px;
  height: 15px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4z'/%3E%3Cline x1='3' x2='21' y1='6' y2='6'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.header-shop-btn:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.75); color: var(--white); }

/* ----------------------------------------------------------
   10c. Section Utilities
   ---------------------------------------------------------- */

.s-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pur);   /* was --pur-mid (3.9:1, AA fail) → --pur (5.3:1, AA pass) */
  margin-bottom: .4rem;
}

.s-kicker i { width: 13px; height: 13px; }

.s-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0;
}

.s-title--white { color: var(--white); }

.s-sub {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.65;
  margin-top: .5rem;
  max-width: 520px;
}

.s-sub--white { color: rgba(255,255,255,.65); }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.btn-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--pur);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--transition), color var(--transition);
}

.btn-more::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.btn-more:hover { gap: .6rem; color: var(--pur-dk); }

.btn-extern {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--pur);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap var(--transition), color var(--transition);
}
.btn-extern::after {
  content: '';
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' x2='21' y1='14' y2='3'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.btn-extern:hover { gap: .6rem; color: var(--pur-dk); }

/* ----------------------------------------------------------
   10d. Editorial enhancements
   ---------------------------------------------------------- */

.ed-tag {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pur);
}

.ed-tag i { width: 12px; height: 12px; }

.ed-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--pur);
  text-decoration: none;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.ed-link i { width: 14px; height: 14px; }
.ed-link:hover { gap: .55rem; color: var(--pur-dk); }

/* Editorial side cards */
.editorial-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.editorial-side:hover { box-shadow: var(--shadow); }

.ed-side-link {
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding: 1.1rem;
  text-decoration: none;
  height: 100%;
}

.ed-side-icon {
  width: 36px;
  height: 36px;
  background: var(--pur-lt);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-side-icon i { width: 16px; height: 16px; color: var(--pur); }

.ed-side-tag {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pur);
}

.ed-side-title {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-side-arr {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--pur);
  margin-top: auto;
  transition: gap var(--transition);
}

.ed-side-link:hover .ed-side-arr { gap: .5rem; }

/* ----------------------------------------------------------
   11. Post Cards & Grid
   ---------------------------------------------------------- */

.post-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.post-grid--products { grid-template-columns: repeat(4, 1fr); }
.post-grid--related  { grid-template-columns: repeat(3, 1fr); }

.post-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.post-card-thumb {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  position: relative;
  background: var(--pur-lt);
}

.post-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.post-card:hover .post-card-thumb img { transform: scale(1.04); }

.post-card-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--pur-lt), var(--border));
}

.cat-badges {
  position: absolute;
  top: .75rem;
  left: .75rem;
  display: flex;
  gap: .35rem;
  flex-wrap: wrap;
  z-index: 1;
}

.cat-badge {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 20px;
  line-height: 1.4;
}

.post-card-body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
}

.post-card-meta time,
.post-card-readtime { display: flex; align-items: center; gap: .25rem; }

.post-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.post-card-title a { color: var(--ink); }
.post-card-title a:hover { color: var(--pur); }

.post-card-excerpt {
  font-size: .85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--pur);
  margin-top: auto;
  padding: 1rem .6rem 0 0;
  border-top: 1px solid var(--border);
  transition: gap var(--transition), color var(--transition);
}

.post-card-link:hover { gap: .55rem; color: var(--pur-dk); }
.post-card-link::after {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: var(--pur-mid);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
  transition: background-color var(--transition);
}
.post-card-link:hover::after { background-color: var(--pur-dk); }
.btn-extern.post-card-link::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3Cpolyline points='15 3 21 3 21 9'/%3E%3Cline x1='10' x2='21' y1='14' y2='3'/%3E%3C/svg%3E");
  background-color: currentColor;
}

/* Product card specifics */
.product-card-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  background: var(--gold);
  color: var(--dark);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .15rem .5rem;
  border-radius: 4px;
}

.product-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pur);
  margin: .25rem 0;
}

/* Load more */
.ep-load-more-wrap {
  text-align: center;
  margin-top: var(--sp-lg);
}

.ep-load-more.is-loading {
  opacity: .7;
  pointer-events: none;
  cursor: wait;
}

/* ----------------------------------------------------------
   12. Editorial Grid
   ---------------------------------------------------------- */

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.editorial-main {
  grid-column: 1;
  grid-row: 1 / 3;
  border-radius: var(--r-xl);
}

/* Main card thumbnail fills more space */
.editorial-main .post-card-thumb,
.editorial-main-thumb {
  aspect-ratio: 4/3;
  display: block;
  overflow: hidden;
  position: relative;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: var(--pur-lt);
}

.editorial-main-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.editorial-main:hover .editorial-main-thumb img { transform: scale(1.03); }

.editorial-main-cat {
  position: absolute;
  bottom: .75rem;
  left: .75rem;
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .6rem;
  border-radius: 20px;
}

.editorial-main-body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.editorial-main-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.editorial-main-title a { color: var(--ink); }
.editorial-main-title a:hover { color: var(--pur); }

.editorial-main-excerpt {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* ----------------------------------------------------------
   12b. EB Grid (Erfahrungsberichte 4-col)
   ---------------------------------------------------------- */

.eb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.eb-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

.eb-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.eb-img {
  display: block;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--pur-lt);
  flex-shrink: 0;
}

.eb-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}

.eb-img > i {
  width: 32px;
  height: 32px;
  color: var(--pur);
  display: block;
  margin: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.eb-card:hover .eb-img img { transform: scale(1.04); }

.eb-body {
  padding: .9rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  flex: 1;
}

.eb-tag {
  display: flex;
  align-items: center;
  gap: .25rem;
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--pur);
}

.eb-tag i { width: 11px; height: 11px; }

.eb-title {
  font-family: var(--font-serif);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eb-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: auto;
}


.rating-score {
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
}

/* Dark-background overrides for rating score */
.review-card .rating-score,
.ed-content .rating-score { color: rgba(255,255,255,.6); }

.eb-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--pur);
  text-decoration: none;
  margin-top: .35rem;
  border-top: 1px solid var(--border);
  padding:1rem .6rem 0 0;
  transition: gap var(--transition), color var(--transition);
}

.eb-cta::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/%3E%3Cpath d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  flex-shrink: 0;
}
.eb-cta:hover { gap: .55rem; color: var(--pur-dk); }

/* Products grid (front-page) */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

/* ----------------------------------------------------------
   13. About Strip
   ---------------------------------------------------------- */

.about-strip {
  background: var(--pur-pale);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: var(--sp-xl);
}

.about-inner {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: var(--sp-xl);
  align-items: center;
}

.about-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--pur-lt);
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-avatar i { width: 48px; height: 48px; color: var(--pur-mid); }

.about-body { display: flex; flex-direction: column; gap: .65rem; }

.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pur);
}

.about-kicker i { width: 12px; height: 12px; }

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.about-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 540px;
  margin: 0;
}

.btn-about {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--ink);
  border-radius: var(--r);
  font-size: .85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.btn-about i { width: 14px; height: 14px; }
.btn-about:hover { background: var(--pur); border-color: var(--pur); color: var(--white); }

/* ----------------------------------------------------------
   13c. Tips Band (dark)
   ---------------------------------------------------------- */

.tips-band {
  background: var(--dark);
  padding-block: var(--sp-xl);
  position: relative;
  overflow: hidden;
}

.tips-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tips-intro {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.tips-more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  background: var(--pur);
  border-radius: var(--r);
  color: var(--white);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
  margin-top: 1rem;
  transition: background var(--transition);
}

.tips-more i { width: 14px; height: 14px; transition: transform var(--transition); }
.tips-more:hover { background: var(--pur-dk); color: var(--white); }
.tips-more:hover i { transform: translateX(2px); }

.tips-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tip-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg);
  padding: 1.375rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.tip-card:hover {
  background: rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.35);
  transform: translateY(-2px);
}

.tc-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(124,58,237,.2);
  border: 1px solid rgba(124,58,237,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pur-mid);
  margin-bottom: .3rem;
}

.tc-icon i { width: 20px; height: 20px; }

.tc-title {
  font-size: .88rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.tc-sub {
  font-size: .76rem;
  color: rgba(255,255,255,.38);
  line-height: 1.5;
}

/* ----------------------------------------------------------
   13d. CTA Split
   ---------------------------------------------------------- */

.cta-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-half {
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.cta-half--pur {
  background: var(--pur);
}

.cta-half--dark {
  background: var(--dark2);
}

.cta-half--timeline {
  background: var(--dark3);
}

.cta-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--r);
  background: rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .25rem;
}

.cta-icon-box i { width: 22px; height: 22px; color: var(--white); }

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin: 0;
}

.cta-sub {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
  margin: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: var(--r);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  width: fit-content;
  transition: background var(--transition), color var(--transition);
}

.btn-cta i { width: 16px; height: 16px; }

.btn-cta--white {
  background: var(--white);
  color: var(--pur);
}

.btn-cta--white:hover { background: var(--pur-lt); color: var(--pur-dk); }

.btn-cta--pur {
  background: var(--pur);
  color: var(--white);
}

.btn-cta--pur:hover { background: var(--pur-dk); color: var(--white); }

.btn-cta--glass {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
}

.btn-cta--glass:hover { background: rgba(255,255,255,.18); color: var(--white); }

/* ----------------------------------------------------------
   13e. Editorial Main Overlay
   ---------------------------------------------------------- */

.editorial-main.ed-main {
  position: relative;
  overflow: hidden;
  background: var(--dark3);
  border-radius: var(--r-xl);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  grid-column: 1;
  grid-row: 1 / 3;
}

.ed-main-img {
  position: absolute;
  inset: 0;
}

.ed-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.editorial-main.ed-main:hover .ed-main-img img { transform: scale(1.04); }

.ed-main-glow {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(145deg, rgba(124,58,237,.45) 0%, transparent 55%),
              linear-gradient(to bottom, rgba(13,12,21,.1) 0%, rgba(13,12,21,.88) 55%);
  pointer-events: none;
}

.ed-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.ed-content .ed-tag { color: var(--pur-lt); }
.ed-content .ed-tag i { color: var(--pur-lt); }

.editorial-main-title {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.editorial-main-title a { color: var(--white); }
.editorial-main-title a:hover { color: var(--pur-lt); }

.editorial-main-excerpt {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-content .ed-link {
  color: var(--white);
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: .65rem;
  margin-top: .25rem;
}

.ed-content .ed-link:hover { color: var(--pur-lt); }

/* ----------------------------------------------------------
   14. Archive / Category Hero
   ---------------------------------------------------------- */

.archive-hero {
  background:
    radial-gradient(ellipse 55% 70% at 100% 5%,  rgba(124,58,237,.22), transparent 65%),
    radial-gradient(ellipse 35% 50% at 5%  95%,  rgba(157,92,246,.12), transparent 55%),
    radial-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    var(--dark);
  background-size: auto, auto, 32px 32px, auto;
  padding: calc(var(--nav-h) + var(--topbar-h) + 2rem) var(--pad) 3rem;
  border-bottom: 3px solid var(--cat-colour, var(--pur));
}

.archive-header {
  margin-bottom: var(--sp-lg);
  padding-top: .5rem;
}

.archive-title {
  font-family: var(--font-serif);
  font-size: var(--hd-display);
  color: var(--white);
  line-height: 1.2;
}

/* Flex column: heading row above, editorial grid below */
.archive-hero .section-inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.archive-hero-head {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.archive-hero .archive-title { color: var(--white); }
.archive-hero .archive-description { color: rgba(255,255,255,.65); font-size: .95rem; }
.archive-hero .archive-description p { margin: 0; }

/* On non-archive pages */
.site-main .archive-header .archive-title { color: var(--ink); }

/* ----------------------------------------------------------
   14b. Archive — Editorial grid (light bg): 1 large + 2 side
   ---------------------------------------------------------- */

.archive-editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

/* Big card on left spans both rows — reuses ed-main overlay */
.archive-editorial .editorial-main {
  grid-column: 1;
  grid-row: 1 / 3;
  min-height: 380px;
}

/* Side cards — dark, horizontal thumbnail + text */
.arc-side {
  display: grid;
  grid-template-columns: 110px 1fr;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: background var(--transition);
}

.arc-side:hover { background: rgba(255,255,255,.10); }

.arc-side-thumb {
  display: block;
  overflow: hidden;
  position: relative;
  align-self: stretch;
}

.arc-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.arc-side:hover .arc-side-thumb img { transform: scale(1.06); }

.arc-side-body {
  padding: .85rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  justify-content: center;
}

.arc-side-cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pur-mid);
}

.arc-side-title {
  font-family: var(--font-serif);
  font-size: clamp(.9rem, 1.4vw, 1.05rem);
  line-height: 1.3;
}

.arc-side-title a {
  color: var(--white);
  text-decoration: none;
}

.arc-side-title a:hover { color: var(--pur-lt); }

.arc-side-meta {
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  display: flex;
  gap: .5rem;
  margin-top: .1rem;
}

/* Post grid: breathing room on light background */
.archive-posts-wrap { padding-block: var(--sp-xl); }

@media (max-width: 992px) {
  .archive-editorial { grid-template-columns: 1fr; }
  .archive-editorial .editorial-main { grid-row: auto; min-height: 300px; }
}

@media (max-width: 480px) {
  .arc-side { grid-template-columns: 85px 1fr; }
}

/* ----------------------------------------------------------
   15. Single Post
   ---------------------------------------------------------- */

.single-main { padding-top: 0; }

/* Dark text header — same background pattern as archive-hero */
.single-text-hero {
  background:
    radial-gradient(ellipse 55% 70% at 100% 5%,  rgba(124,58,237,.22), transparent 65%),
    radial-gradient(ellipse 35% 50% at 5%  95%,  rgba(157,92,246,.12), transparent 55%),
    radial-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    var(--dark);
  background-size: auto, auto, 32px 32px, auto;
  padding: calc(var(--nav-h) + var(--topbar-h) + 3rem) var(--pad) 4rem;
  border-bottom: 3px solid var(--cat-colour, var(--pur));
}

/* Two-column when thumbnail exists: image left, text right */
.single-text-hero .section-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-2xl);
  align-items: center;
}

.single-text-hero .section-inner.has-no-thumb {
  display: block;
  max-width: var(--fw-md);
}

.single-text-hero-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.single-text-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.single-text-hero-img:hover img { transform: scale(1.03); }

.single-text-hero-body {
  display: flex;
  flex-direction: column;
}

@media (max-width: 800px) {
  .single-text-hero .section-inner { grid-template-columns: 1fr; }
  .single-text-hero-img { aspect-ratio: 16/9; }
}

.single-text-hero-cat {
  display: inline-block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pur-mid);
  text-decoration: none;
  margin-bottom: .65rem;
  transition: color var(--transition);
}

.single-text-hero-cat:hover { color: var(--pur-lt); }

.single-text-hero-title {
  font-family: var(--font-serif);
  font-size: var(--hd-xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 .85rem;
}

.single-text-hero-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.55);
}

.single-text-hero-meta time,
.single-text-hero-meta span {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.single-text-hero-meta i { width: 14px; height: 14px; }

.single-text-hero-intro {
  margin-top: 1.1rem;
  font-size: 1rem;
  color: rgba(255,255,255,.7);
  line-height: 1.75;
  max-width: 680px;
}

/* Hero image: no longer needs nav offset — single-text-hero sits above */
.single-hero {
  position: relative;
  height: clamp(320px, 45vh, 560px);
  overflow: hidden;
  margin-top: 0;
}

.single-hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}

.single-hero-cats {
  position: absolute;
  bottom: 1.25rem;
  left: 1.5rem;
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  z-index: 2;
}

.single-inner { padding-top: var(--sp-xl); padding-bottom: var(--sp-2xl); }

.single-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: stretch;
}

.single-content-col { min-width: 0; }

.single-header { margin-bottom: var(--sp-lg); }

.single-cat-link {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-block;
  margin-bottom: .6rem;
  transition: opacity var(--transition);
}

.single-cat-link:hover { opacity: .75; }

.single-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: .75rem;
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}

.single-meta time,
.single-meta-readtime {
  display: flex;
  align-items: center;
  gap: .35rem;
}

.single-meta i { width: 14px; height: 14px; }

/* Entry content typography */
.entry-content {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink);
}

.entry-content h2 {
  font-size: var(--hd-2);
  margin-top: 2.5rem;
  margin-bottom: .75rem;
  color: var(--ink);
}

.entry-content h3 {
  font-size: var(--hd-3);
  margin-top: 2rem;
  margin-bottom: .5rem;
  color: var(--ink);
}

.entry-content h4 {
  font-size: var(--hd-4);
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: .4rem;
}

.entry-content p { margin-bottom: 1.1rem; }
.entry-content ul, .entry-content ol { margin-bottom: 1.1rem; }
.entry-content li { margin-bottom: .4em; }

.entry-content a { color: var(--pur-dk); text-decoration: underline; text-decoration-color: rgba(91,33,182,.35); } /* --pur-dk: 8.9:1 AAA ✓ */
.entry-content a:hover { color: var(--pur); text-decoration-color: var(--pur); }

.entry-content img { border-radius: var(--r); box-shadow: var(--shadow); }

.entry-content figure { margin-block: 1.5rem; }
.entry-content figcaption { font-size: .8rem; color: var(--muted); text-align: center; margin-top: .5rem; }

.entry-content blockquote {
  border-left: 4px solid var(--pur);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--muted);
}

/* Definition list — styled like product attributes table */
.entry-content dl,
.single-page-content dl {
  display: grid;
  grid-template-columns: 45% 1fr;
  font-size: .88rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.1rem;
}
.entry-content dt,
.single-page-content dt {
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  vertical-align: top;
}
.entry-content dd,
.single-page-content dd {
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  margin: 0;
  vertical-align: top;
}

.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td {
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  font-size: .9rem;
}
.entry-content th { background: var(--pur-pale); font-weight: 700; }

/* Sidebar */
.single-sidebar-col {
  position: sticky;
  top: calc(var(--nav-h) + var(--topbar-h) + 1.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-height: calc(100vh - var(--nav-h) - var(--topbar-h) - 3rem);
  overflow-y: auto;
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.sidebar-widget-title {
  font-size: .88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--pur-mid, var(--pur));
  margin-bottom: 1rem;
}

.sidebar-score {
  display: flex;
  align-items: baseline;
  gap: .3rem;
  margin-bottom: .5rem;
}

.sidebar-score-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pur);
  line-height: 1;
}

.sidebar-score-label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
}

.sidebar-stars {
  display: flex;
  align-items: center;
  gap: .2rem;
  margin-bottom: .75rem;
}


.sidebar-meta-row {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  padding: .35rem 0;
  border-top: 1px solid var(--border);
}

.sidebar-meta-row i { width: 15px; height: 15px; color: var(--pur); flex-shrink: 0; }
.sidebar-meta-label { flex: 1; }
.sidebar-meta-val { font-weight: 700; color: var(--ink); }

/* TOC */
.toc-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.toc-item a {
  display: flex;
  align-items: baseline;
  gap: .45rem;
  font-size: .85rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.5;
  transition: color var(--transition);
}

.toc-item a::before {
  content: '•';
  color: var(--pur);
  flex-shrink: 0;
  font-size: .8em;
  line-height: 1.9;
}

.toc-item a:hover { color: var(--pur); }

/* h3 sub-items */
.toc-item--h3 { padding-left: 1.1rem; }

.toc-item--h3 a {
  font-size: .8rem;
  color: var(--muted);
}

.toc-item--h3 a::before {
  content: '–';
  color: var(--pur-mid);
  font-size: .9em;
  line-height: 1.7;
}

/* Sticky product CTA bar */
.single-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--dark2);
  border-top: 1px solid var(--border-dark);
  padding: .7rem var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}

.single-cta-bar.is-visible { transform: translateY(0); }

.single-cta-bar__name {
  font-family: var(--font-serif);
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

/* Sidebar author */
.sidebar-author {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.sidebar-author-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--pur-lt);
}

.sidebar-author-name { font-weight: 700; font-size: .9rem; margin: 0; }
.sidebar-author-bio { font-size: .8rem; color: var(--muted); line-height: 1.5; margin: 0; }

/* Related posts */
.related-posts { margin-top: var(--sp-xl); }

.related-posts-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: var(--sp-md);
  color: var(--ink);
}

/* ----------------------------------------------------------
   Comments
   ---------------------------------------------------------- */

.single-comments { margin-top: var(--sp-xl); }

/* Existing comments list */
.ep-comments-list-wrap {
  margin-bottom: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border);
}

.ep-comments-count {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.comment-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1rem; margin: 0; }

.ep-comment__body {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.25rem;
}

.ep-comment__header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: .75rem;
}

.ep-comment__avatar img { border-radius: 50%; width: 44px; height: 44px; }
.ep-comment__author { font-weight: 700; font-size: .9rem; color: var(--ink); }
.ep-comment__time a { font-size: .75rem; color: var(--muted); text-decoration: none; }
.ep-comment__time a:hover { color: var(--pur); }
.ep-comment__actions { margin-left: auto; }
.ep-comment__actions a { font-size: .8rem; color: var(--pur); text-decoration: none; font-weight: 600; }
.ep-comment__actions a:hover { color: var(--pur-dk); }
.ep-comment__text { font-size: .9rem; line-height: 1.65; color: var(--ink); }
.ep-comment__text p { margin-bottom: .5rem; }
.ep-comment__pending { color: var(--muted); font-style: italic; font-size: .85rem; }

.ep-comment-pagination { display: flex; gap: .5rem; margin-top: var(--sp-lg); }
.ep-comment-pagination a,
.ep-comment-pagination span {
  padding: .4rem .8rem;
  border-radius: var(--r);
  border: 1px solid var(--border);
  font-size: .85rem;
  text-decoration: none;
  color: var(--ink);
}
.ep-comment-pagination a:hover { background: var(--pur-lt); border-color: var(--pur); color: var(--pur); }

/* Comment form section — hero-style dark background */
.ep-comment-form-section {
  background:
    radial-gradient(ellipse 55% 70% at 100% 5%,  rgba(124,58,237,.22), transparent 65%),
    radial-gradient(ellipse 35% 50% at 5%  95%,  rgba(157,92,246,.12), transparent 55%),
    radial-gradient(rgba(255,255,255,.065) 1px, transparent 1px),
    var(--dark);
  background-size: auto, auto, 32px 32px, auto;
  border-radius: var(--r-xl);
  padding: var(--sp-xl) var(--sp-lg);
  margin-top: var(--sp-xl);
  overflow: hidden;
  position: relative;
}

/* Subtle diagonal stripe à la hero */
.ep-comment-form-section::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, rgba(124,58,237,.3) 50%, transparent 100%);
  height: 1px;
  top: 40%;
  transform: rotate(-4deg) scaleX(1.3);
}

.ep-comment-form-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-xl);
  align-items: center;
}

.ep-comment-form-col { min-width: 0; }

/* Text colour on dark background */
.ep-comment-form-section p { color: rgba(255,255,255,.75); }

/* Form title with puzzle icon */
.ep-comment-form-title {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 var(--sp-lg);
  display: flex;
  align-items: center;
  gap: .6rem;
}

.ep-comment-form-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--pur);
  border-radius: var(--r);
  flex-shrink: 0;
}

.ep-comment-form-icon::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-color: var(--white);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
}

/* Grid form layout */
.ep-comment-grid-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ep-comment-grid-form .comment-form-comment,
.ep-comment-grid-form .form-submit,
.ep-comment-grid-form .comment-form-cookies-consent,
.ep-comment-grid-form .logged-in-as {
  grid-column: 1 / -1;
}

/* Fields row (wrapping author + email) */
.ep-comment-fields-row {
  display: contents;
}

/* Labels */
.ep-comment-grid-form label {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.5);
  display: block;
  margin-bottom: .4rem;
}

.ep-comment-grid-form .required { color: var(--pur-mid); }

/* Inputs on dark bg */
.ep-comment-grid-form input[type="text"],
.ep-comment-grid-form input[type="email"],
.ep-comment-grid-form input[type="url"],
.ep-comment-grid-form textarea {
  width: 100%;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  box-sizing: border-box;
}

.ep-comment-grid-form input::placeholder,
.ep-comment-grid-form textarea::placeholder { color: rgba(255,255,255,.25); }

.ep-comment-grid-form input:focus,
.ep-comment-grid-form textarea:focus {
  outline: none;
  border-color: var(--pur-mid);
  background: rgba(255,255,255,.08);
}

.ep-comment-grid-form textarea { min-height: 130px; resize: vertical; }

/* Submit button */
.ep-comment-grid-form .form-submit { margin: 0; }

.ep-comment-grid-form .btn--primary {
  cursor: pointer;
  font-family: var(--font-sans);
}

/* Decorative image */
.ep-comment-deco {
  width: clamp(160px, 20vw, 300px);
  flex-shrink: 0;
  align-self: flex-end;
}

.ep-comment-deco img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,.4));
}

.comments-closed {
  color: var(--muted);
  font-style: italic;
  padding: var(--sp-md) 0;
}

/* Responsive comments */
@media (max-width: 800px) {
  .ep-comment-form-inner {
    grid-template-columns: 1fr;
  }
  .ep-comment-deco { display: none; }
  .ep-comment-grid-form {
    grid-template-columns: 1fr;
  }
  .ep-comment-grid-form .comment-form-comment,
  .ep-comment-grid-form .form-submit { grid-column: 1; }
}

/* ----------------------------------------------------------
   16. Pages (404, page, search)
   ---------------------------------------------------------- */

.not-found-page {
  max-width: 520px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--sp-2xl);
}

.not-found-code {
  font-family: var(--font-serif);
  font-size: 6rem;
  font-weight: 700;
  color: var(--pur-lt);
  line-height: 1;
  margin-bottom: .5rem;
}

.not-found-title { font-size: 2rem; margin-bottom: .75rem; }
.not-found-text { color: var(--muted); margin-bottom: 1.5rem; }

.search-form-inline {
  display: flex;
  gap: .75rem;
  margin-bottom: var(--sp-lg);
  max-width: 500px;
}

.search-form-input {
  flex: 1;
  padding: .65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--ink);
}

.search-form-input:focus { outline: none; border-color: var(--pur); }

/* Page template */
.single-page-inner { padding-block: var(--sp-xl) var(--sp-2xl); max-width: 800px; }
.single-page-header { margin-bottom: var(--sp-lg); }
.single-page-title { font-family: var(--font-serif); font-size: clamp(1.8rem, 4vw, 2.5rem); color: var(--ink); }

/* ----------------------------------------------------------
   17. Footer
   ---------------------------------------------------------- */

.site-footer {
  background: var(--dark2);
  color: rgba(255,255,255,.75);
  padding-block: var(--sp-xl);
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
}

.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo-link { display: inline-flex; }
.footer-logo-link img { height: 38px; width: auto; }

.footer-tagline {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  max-width: 260px;
}

.footer-social { display: flex; gap: .65rem; flex-wrap: wrap; }

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  color: rgba(255,255,255,.6);
  transition: background var(--transition), color var(--transition);
}

.social-link:hover { background: var(--pur); color: var(--white); }

.footer-nav-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.4);
  margin-bottom: .85rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.footer-nav-list a {
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer-nav-list a:hover { color: var(--white); }

.footer-brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: .5rem .75rem;
}

.footer-brand-item a {
  display: flex;
  align-items: center;
}

.footer-brand-item img {
  max-height: 24px;
  width: auto;
  opacity: 1;
  transition: opacity var(--transition);
}

.footer-brand-item a:hover img { opacity: .6; }
.footer-brand-name { font-size: .85rem; color: rgba(255,255,255,.6); transition: color var(--transition); }
.footer-brand-item a:hover .footer-brand-name { color: var(--white); }

.footer-affiliate-disclaimer {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  line-height: 1.6;
  max-width: 220px;
}

.footer-bottom {
  background: var(--dark);
  border-top: 1px solid var(--border-dark);
  padding: .85rem 0;
}

.footer-bottom-inner {
  max-width: var(--fw);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  margin: 0;
}

.footer-copy a { color: rgba(255,255,255,.6); }
.footer-copy a:hover { color: var(--white); }

.footer-legal-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; }
.footer-legal-nav a { font-size: .78rem; color: rgba(255,255,255,.4); transition: color var(--transition); }
.footer-legal-nav a:hover { color: var(--white); }

/* ----------------------------------------------------------
   18. WP Alignment helpers
   ---------------------------------------------------------- */

.alignwide  { margin-inline: -2rem; }
.alignfull  { margin-inline: calc(50% - 50vw); width: 100vw; }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { text-align: center; margin-inline: auto; }

.wp-block-image figcaption { font-size: .8rem; color: var(--muted); text-align: center; }

/* ----------------------------------------------------------
   19. Wide screens — more generous section spacing at 1200px+
   ---------------------------------------------------------- */

@media (min-width: 1200px) {
  :root {
    --sp-xl:  5rem;
    --sp-2xl: 7rem;
  }
}

/* ----------------------------------------------------------
   19b. Wide desktop — 1560px
   ---------------------------------------------------------- */

@media (min-width: 1560px) {
  :root {
    --sp-xl:  5.5rem;
    --sp-2xl: 7.5rem;
  }
}

/* ----------------------------------------------------------
   19c. Compact nav — 992px to 1200px
   ---------------------------------------------------------- */

@media (min-width: 992px) and (max-width: 1200px) {
  /* Tighter nav items so they fit without wrapping */
  .nav-menu li a {
    padding: .45rem .55rem;
    font-size: .82rem;
  }
  /* Hide home link to free up nav space */
  .nav-menu .menu-item-home { display: none; }
  /* Compact shop button — icon only, no text label */
  .header-shop-btn {
    padding: .45rem .55rem;
    font-size: 0;          /* hide text */
    gap: 0;
  }
  .header-shop-btn::before {
    width: 18px;
    height: 18px;
  }
}

/* EB grid breakpoints */
@media (max-width: 1200px) {
  .eb-grid { grid-template-columns: repeat(3, 1fr); }
  .prod-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 800px) {
  .eb-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .eb-grid { grid-template-columns: 1fr; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1200px) {
  :root { --fw: 1200px; }

  .post-grid { grid-template-columns: repeat(3, 1fr); }
  .post-grid--products { grid-template-columns: repeat(3, 1fr); }
  .post-grid--related  { grid-template-columns: repeat(3, 1fr); }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-meta  { grid-column: 1; }

  .hero-right { width: clamp(280px, 28vw, 400px); }
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 160px 1fr auto; gap: var(--sp-lg); }
}

/* ----------------------------------------------------------
   20. Responsive — 992px
   ---------------------------------------------------------- */

@media (max-width: 992px) {
  /* Show burger, hide desktop nav */
  .primary-nav { display: none; }
  .burger-btn  { display: flex; }

  /* Single layout: single column */
  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar-col { position: static; max-height: none; }

  /* Editorial grid: 1 col stacked */
  .editorial-grid { grid-template-columns: 1fr; }
  .editorial-main { grid-column: 1; grid-row: 1; }

  /* Posts */
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid--products { grid-template-columns: repeat(2, 1fr); }
  .post-grid--related  { grid-template-columns: repeat(2, 1fr); }

  /* Hero: stack + center below 992px */
  .hero-content { flex-direction: column; align-items: center; gap: var(--sp-lg); }
  .hero-col     { align-items: center; width: 100%; max-width: 640px; }
  .hero-title, .hero-body, .hero-eyebrow { text-align: center; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-kpi     { justify-content: center; }
  .hero-right   { width: 100%; max-width: 560px; align-self: center; }

  /* About: 2-col (avatar + body), btn below */
  .about-inner { grid-template-columns: 160px 1fr; }
  .btn-about   { grid-column: 1 / -1; justify-self: start; }

  /* Tips band */
  .tips-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .tips-cards { grid-template-columns: repeat(2, 1fr); }

  /* CTA split: 2-col on tablet */
  .cta-split { grid-template-columns: repeat(2, 1fr); }
  .cta-half--timeline { grid-column: 1 / -1; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }

  /* Archive hero */
  .archive-hero { padding-top: calc(var(--nav-h) + var(--topbar-h) + 1.5rem); }
}

/* ----------------------------------------------------------
   21. Responsive — 800px
   ---------------------------------------------------------- */

@media (max-width: 800px) {
  :root { --pad: 1.1rem; }

  /* Topbar hidden */
  .site-topbar { display: none; }
  .site-header { top: 0; }
  .hero { margin-top: var(--nav-h); padding-top: var(--nav-h); }

  .site-main { padding-top: calc(var(--nav-h) + 1.5rem); }
  .archive-hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .single-text-hero { padding-top: calc(var(--nav-h) + 1.5rem); }
  .single-sidebar-col { position: static; }

  /* Hero right hidden on mobile */
  .hero-right { display: none; }

  /* Post grid 2 col */
  .post-grid, .post-grid--products, .post-grid--related { grid-template-columns: repeat(2, 1fr); }

  /* Trust strip: 2 col */
  .trust-strip-inner { grid-template-columns: repeat(2, 1fr); gap: var(--sp-md); }

  /* About: stacked */
  .about-inner { grid-template-columns: 1fr; text-align: center; gap: var(--sp-lg); }
  .about-avatar { margin-inline: auto; }
  .btn-about { align-self: center; }

  /* Tips cards: 2 col */
  .tips-cards { grid-template-columns: repeat(2, 1fr); }

  /* CTA split: 1-col */
  .cta-split { grid-template-columns: 1fr; }
  .cta-half--timeline { grid-column: 1; }

  /* Footer 1 col */
  .footer-inner { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .footer-meta  { grid-column: 1; }

  /* Section head split stacks */
  .section-head--split { flex-direction: column; align-items: flex-start; gap: .75rem; }
}

/* ----------------------------------------------------------
   22. Responsive — 480px
   ---------------------------------------------------------- */

@media (max-width: 480px) {
  :root { --pad: .9rem; }

  .post-grid, .post-grid--products, .post-grid--related { grid-template-columns: 1fr; }
  .editorial-grid { grid-template-columns: 1fr; }

  .hero-title { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-kpi { gap: .85rem; }
  .hstat-num { font-size: 1.25rem; }

  .trust-strip-inner { grid-template-columns: 1fr; gap: var(--sp-md); }

  .section-header { flex-direction: column; align-items: flex-start; }

  .about-avatar { width: 120px; height: 120px; }

  .tips-cards { grid-template-columns: 1fr; }
  .tips-inner { grid-template-columns: 1fr; }

  .cta-half { padding: var(--sp-lg); }

  .search-form-inline { flex-direction: column; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal-nav ul { justify-content: center; flex-wrap: wrap; }

  .single-title { font-size: 1.5rem; }
  .single-meta  { flex-wrap: wrap; gap: .5rem; }
}

/* ----------------------------------------------------------
   23. Themen entdecken – Category Cards
   ---------------------------------------------------------- */

.ep-cat-section { background: var(--surface, #F9F8FE); }

.ep-cat-head { margin-bottom: var(--sp-lg); }

.ep-cat-heading { color: var(--ink); }

/* Navigation arrows */
.ep-cat-arrows { display: flex; gap: .5rem; align-items: center; }

.ep-cat-prev,
.ep-cat-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--pur);
  background: var(--white);
  color: var(--pur);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition);
}
.ep-cat-prev:hover,
.ep-cat-next:hover { background: var(--pur); color: var(--white); }
.ep-cat-prev.swiper-button-disabled,
.ep-cat-next.swiper-button-disabled { opacity: .3; cursor: default; pointer-events: none; }

/* Pagination — below swiper, not inside */
.ep-cat-footer {
  margin-top: 1.25rem;
  display: flex;
  justify-content: center;
}

.ep-cat-pagination {
  display: flex;
  align-items: center;
  gap: .4rem;
  justify-content: center;
}

.ep-cat-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: var(--border);
  border-radius: 50%;
  opacity: 1;
  cursor: pointer;
  transition: background var(--transition), width var(--transition);
}
.ep-cat-pagination .swiper-pagination-bullet-active {
  background: var(--pur);
  width: 20px;
  border-radius: 4px;
}

/* Swiper container — constrained to section-inner width */
.ep-cat-swiper { width: 100%; overflow: hidden; }

/* Card — fills the swiper-slide */
.ep-cat-card {
  display: flex;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--r-lg);
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.ep-cat-card:hover {
  border-color: var(--c);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* Background image (dimmed) */
.ep-cat-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
  transition: opacity var(--transition);
  pointer-events: none;
}
.ep-cat-card:hover .ep-cat-bg-img { opacity: .4; }

/* Icon – always visible, coloured background via pseudo-element */
.ep-cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  color: var(--c);
  margin-bottom: .6rem;
  position: relative;
}

/* tinted bg without needing rgb-split of --c */
.ep-cat-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c);
  opacity: .18;
  border-radius: inherit;
  transition: opacity var(--transition);
}
.ep-cat-card:hover .ep-cat-icon::before { opacity: .28; }

.ep-cat-icon svg { width: 20px; height: 20px; position: relative; }

/* Text */
.ep-cat-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.ep-cat-count {
  font-size: .8rem;
  color: var(--muted);
}

/* Arrow – top-right corner, muted by default, coloured on hover */
.ep-cat-arrow {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  color: var(--muted);
  opacity: .5;
  transition: color var(--transition), opacity var(--transition), transform var(--transition);
}
.ep-cat-card:hover .ep-cat-arrow {
  color: var(--c);
  opacity: 1;
  transform: translateX(2px);
}

/* Slide counts are handled by Swiper breakpoints in cat-slider.js */

/* .site-main padding-top already adds nav offset — reset it here */
.site-main.timeline-page { padding-top: 0; }

.timeline-page { background: var(--cream); }

.timeline-page-header {
  /* Nav offset + equal visible spacing top and bottom */
  padding-block: calc(var(--nav-h) + var(--topbar-h) + var(--sp-lg)) var(--sp-lg);
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.timeline-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--pur);
  margin-bottom: .6rem;
}

.timeline-eyebrow i { width: 14px; height: 14px; }

.timeline-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: .5rem;
}

.timeline-sub {
  font-size: 1rem;
  color: var(--muted);
}

/* Track + vertical line */
.timeline-wrap {
  position: relative;
  padding-bottom: var(--sp-2xl);
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, var(--pur) 0%, var(--pur-lt) 100%);
  transform: translateX(-50%);
  pointer-events: none;
}

.timeline-track {
  position: relative;
  z-index: 1;
  /* 18rem compensates for the last item's margin-bottom: -18rem collapse */
  padding-block: var(--sp-xl) 18rem;
}

/* Timeline item — negative-margin stagger */
.timeline-item {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: -18rem;
  opacity: 0;
  transform: translateY(44px);
  transition: opacity .8s ease, transform .8s ease;
  pointer-events: none;
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:hover { z-index: 2; }

.timeline-item--left  { padding-right: calc(50% + 2.2rem); }
.timeline-item--right { padding-left:  calc(50% + 2.2rem); }

/* Node — simple coloured dot */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 2.9rem;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--node-color, var(--pur));
  border: 3px solid var(--white);
  box-shadow: 0 0 0 3px var(--node-color, var(--pur));
  pointer-events: none;
  z-index: 2;
}

/* Card must re-enable clicks */
.timeline-card { pointer-events: auto; width: 100%; }

/* Card */
.timeline-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--node-color, var(--pur));
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}

.timeline-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  color: inherit;
}

/* Date header */
.timeline-card-date-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.1rem;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.tl-date-day {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--node-color, var(--pur));
  line-height: 1;
}

.tl-date-meta {
  display: flex;
  flex-direction: column;
  gap: .05rem;
}

.tl-date-month {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink);
}

.tl-date-year {
  font-size: .68rem;
  color: var(--muted);
  font-weight: 500;
}

.timeline-card-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}

.timeline-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  margin: 0;
}

.timeline-card:hover .timeline-card-thumb img { transform: scale(1.04); }

.timeline-card-body {
  padding: 1.2rem 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.timeline-card-meta {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-wrap: wrap;
}

.timeline-card-tag {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .55rem;
  border-radius: 20px;
}

.timeline-card-date {
  font-size: .72rem;
  color: var(--muted);
  font-weight: 500;
}

.timeline-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  transition: color var(--transition);
}

.timeline-card:hover .timeline-card-title { color: var(--pur); }

.timeline-card-excerpt {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.timeline-card-cta {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: auto;
  padding: .45rem .9rem;
  align-self: flex-start;
  font-size: .82rem;
  font-weight: 700;
  color: var(--white);
  background: var(--node-color, var(--pur));
  border-radius: var(--r);
  transition: filter var(--transition), gap var(--transition);
}

.timeline-card-cta i { width: 13px; height: 13px; }
.timeline-card:hover .timeline-card-cta { filter: brightness(1.1); gap: .5rem; }

/* Infinite scroll sentinel */
.timeline-sentinel { height: 1px; }

/* ----------------------------------------------------------
   WPForms — match everpuzzle button style
   button.wpforms-submit.btn beats WPForms' .wpforms-form button[type=submit]
   ---------------------------------------------------------- */
.wpforms-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .6rem 1.4rem;
  border-radius: var(--r);
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              filter var(--transition);
}
/* Override WPForms color tokens (set on :root — our sheet loads last so cascade wins) */
:root {
  --wpforms-button-background-color: var(--pur);
  --wpforms-button-border-color: var(--pur);
}

/* ── Timeline responsive ── */

@media (max-width: 992px) {
  .timeline-track { padding-bottom: 2rem; }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right { margin-bottom: 2rem; }

  .timeline-line { left: 9px; transform: none; }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    padding-left:  calc(18px + var(--sp-md));
    padding-right: 0;
    margin-bottom: 1.5rem;
    pointer-events: auto;
  }

  .timeline-node {
    left: 0;
    top: 2.9rem;
    transform: none;
  }
}

@media (max-width: 640px) {
  .timeline-line { left: 9px; }

  .timeline-item,
  .timeline-item--left,
  .timeline-item--right {
    padding-left: calc(18px + var(--sp-sm));
  }

  .timeline-card-thumb { aspect-ratio: 4/3; }
}
