/* =========================================================
   SOVEREIGN-TERMINAL — Pawsitive Buddies pet blog
   Soft & homely: cream paper, warm oranges, pastel tiles,
   organic shapes and a friendly serif voice.
   ========================================================= */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Surfaces & text */
  --bg:            #F8F4EC;
  --bg-deep:       #F1EADD;
  --surface:       #FFFFFF;
  --surface-warm:  #FDFBF6;
  --text:          #3B2C22;
  --text-soft:     #5E4D41;
  --text-muted:    #86766A;
  --border:        #E8DFD0;
  --on-color:      #FFFFFF;

  /* Orange — primary brand colour (buttons, accents, bands).
     Variable names kept as "sage" so markup/classes stay unchanged. */
  --sage:          #D2763A;
  --sage-strong:   #B35A22;
  --sage-deep:     #8F4516;
  --sage-mist:     #F6DFCB;
  --sage-soft:     #FBEEE2;

  /* Berry — secondary accent (hearts, doodles, hover text) */
  --clay:          #C2566B;
  --clay-strong:   #9A3F52;

  /* Pastel tints for tiles & cards */
  --tint-peach:    #F8E6D5;
  --tint-sage:     #FCE0C2;
  --tint-rose:     #F5E1DD;
  --tint-lilac:    #E9E3EF;
  --tint-butter:   #F8EDCF;
  --tint-sky:      #E2E9EE;

  /* Radius scale */
  --radius-xs:   8px;
  --radius-sm:   14px;
  --radius-md:   20px;
  --radius-lg:   28px;
  --radius-xl:   40px;
  --radius-pill: 999px;

  /* Soft, warm shadows */
  --shadow-xs: 0 1px 2px rgba(59,44,34,.05);
  --shadow-sm: 0 6px 18px rgba(59,44,34,.06);
  --shadow-md: 0 14px 36px rgba(59,44,34,.09);
  --shadow-lg: 0 26px 60px rgba(59,44,34,.12);

  /* Typography */
  --font-headline: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:     "DM Sans", system-ui, -apple-system, sans-serif;
  --font-script:   "Caveat", cursive;

  /* Layout */
  --container-w: 1200px;
  --section-py:  88px;
  --header-h:    80px;
}

html { scroll-behavior: smooth; height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-x: clip; /* clip (not hidden) keeps position: sticky working */
}
.site-main { flex: 1; }
/* Mobile browsers ignore body overflow when sizing the layout viewport, so
   sections with decorations bleeding past the edge clip themselves too. */
.hero,
.page-band,
.newsletter-section { overflow-x: clip; }
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

img { display: block; max-width: 100%; height: auto; }
a { color: var(--sage-strong); text-decoration: none; }
a:hover { color: var(--clay-strong); }
.icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  white-space: nowrap;
}

/* ── UTILITY ──────────────────────────────────────────── */
.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 24px;
}
.container--narrow {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--sage,
.btn--primary { background: var(--sage-strong); color: var(--on-color); box-shadow: 0 6px 16px rgba(179,90,34,.22); }
.btn--sage:hover,
.btn--primary:hover { background: var(--sage-deep); color: var(--on-color); }
.btn--ghost { background: transparent; border-color: var(--text-soft); color: var(--text); }
.btn--ghost:hover { background: var(--text); border-color: var(--text); color: var(--on-color); }
.btn--white { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.btn--white:hover { background: var(--text); color: var(--on-color); }
.btn--sm { padding: 11px 20px; font-size: .86rem; }

/* Section heading — serif title, optional sage underline or split link */
.sec-head { margin-bottom: 40px; }
.sec-head--center { text-align: center; }
.sec-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sec-head__title {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -.01em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sec-head--center .sec-head__title { justify-content: center; }
.sec-head__rule {
  display: block;
  width: 72px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--sage);
}
.sec-head__sub { margin-top: 14px; color: var(--text-muted); font-size: 1.05rem; }
.sec-head__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--sage-strong);
  padding-bottom: 6px;
}
.sec-head__link .icon { transition: transform .2s; }
.sec-head__link:hover { color: var(--clay-strong); }
.sec-head__link:hover .icon { transform: translateX(4px); }

.doodle-heart { color: var(--clay); flex-shrink: 0; transform: rotate(-8deg); }

.script-note {
  display: block;
  font-family: var(--font-script);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--clay);
  margin-bottom: 8px;
}

/* Tint helpers */
.tint--peach  { --tint: var(--tint-peach); }
.tint--sage   { --tint: var(--tint-sage); }
.tint--rose   { --tint: var(--tint-rose); }
.tint--lilac  { --tint: var(--tint-lilac); }
.tint--butter { --tint: var(--tint-butter); }
.tint--sky    { --tint: var(--tint-sky); }

.meta-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  font-size: .74rem;
  font-weight: 500;
  color: var(--text-soft);
  white-space: nowrap;
}

/* Category chip */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background .2s, color .2s;
}
.chip:hover { background: var(--sage-strong); color: var(--on-color); }

/* ── TOP BAR ──────────────────────────────────────────── */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--sage-deep);
  color: rgba(255,255,255,.92);
  padding: 8px 16px;
  font-size: .8rem;
  font-weight: 500;
  text-align: center;
}
.top-bar .icon { opacity: .8; }

/* ── HEADER ───────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,244,236,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .25s, background .25s;
}
.site-header--scrolled { background: rgba(253,251,246,.97); box-shadow: 0 6px 24px rgba(59,44,34,.08); }
.header-inner {
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0 24px;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.header-logo { display: flex; align-items: center; }
.header-logo .custom-logo-link { display: flex; align-items: center; }
.header-logo img { height: 58px; width: auto; object-fit: contain; }
.site-title-text {
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.header-nav { justify-self: center; }
.header-nav .nav-list { display: flex; list-style: none; gap: 1px; }
.header-nav .nav-list > li { position: relative; }
.header-nav .nav-list a {
  display: inline-flex;
  align-items: center;
  color: var(--text);
  font-size: .93rem;
  font-weight: 500;
  padding: 6px 10px;
  white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: color .2s, background .2s;
}
.header-nav .nav-list a:hover,
.header-nav .nav-list .current-menu-item > a { color: var(--sage-deep); background: var(--sage-mist); }

/* Desktop dropdown */
.header-nav .nav-list li.menu-item-has-children > a::after {
  content: '';
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.header-nav .nav-list li.menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(-135deg); }
.header-nav .nav-list .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 220px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
  z-index: 200;
}
/* Invisible bridge so the menu doesn't close while crossing the 6px gap */
.header-nav .nav-list .sub-menu::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: -10px;
  height: 10px;
}
.header-nav .nav-list li.menu-item-has-children:hover .sub-menu,
.header-nav .nav-list li.menu-item-has-children:focus-within .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.header-nav .nav-list .sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: .9rem;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.header-subscribe-btn { padding: 10px 18px; font-size: .84rem; gap: 7px; }
.header-search-btn,
.burger-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1.5px solid var(--text-soft);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  transition: color .2s, background .2s, border-color .2s;
}
.header-search-btn:hover,
.burger-btn:hover,
.header-search-btn[aria-expanded="true"] { background: var(--text); border-color: var(--text); color: var(--on-color); }
.burger-btn { display: none; }

/* Search Bar */
.header-search-bar { padding: 0 24px 18px; }
.header-search-bar[hidden] { display: none; }
.header-search-bar .search-form {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
}
.header-search-bar .search-form > .icon { color: var(--text-muted); }
.header-search-bar input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--text);
  padding: 10px 4px;
}
.header-search-bar input[type="search"]::placeholder { color: var(--text-muted); }
.header-search-bar .search-submit {
  background: var(--sage-strong);
  color: var(--on-color);
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s;
}
.header-search-bar .search-submit:hover { background: var(--sage-deep); }

/* Mobile nav backdrop */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(59,44,34,.4);
  z-index: 299;
}
.nav-backdrop.is-open { display: block; }

/* Mobile nav drawer — slides from the right */
.nav-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 86vw);
  background: var(--bg);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transform: translateX(110%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}
.nav-menu.is-open { transform: translateX(0); }
.nav-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.nav-menu__brand { display: flex; align-items: center; }
.nav-menu__brand img { height: 44px; width: auto; object-fit: contain; }
.nav-menu__brand .custom-logo-link { display: flex; align-items: center; }
.nav-close {
  width: 42px; height: 42px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-close:hover { background: var(--text); color: var(--on-color); }
.nav-menu__body { padding: 12px; flex: 1; }
.nav-menu .menu { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.nav-menu .menu li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s;
}
.nav-menu .menu li a:hover { background: var(--sage-mist); color: var(--sage-deep); }
.nav-menu .menu li.menu-item-has-children > a::after {
  content: '';
  width: 7px; height: 7px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .25s;
}
.nav-menu .menu li.menu-item-has-children.is-open > a::after { transform: translateY(2px) rotate(-135deg); }
.nav-menu .menu .sub-menu {
  display: none;
  list-style: none;
  margin: 2px 0 6px 12px;
  padding-left: 10px;
  border-left: 2px solid var(--sage-mist);
}
.nav-menu .menu li.menu-item-has-children.is-open > .sub-menu { display: block; }
.nav-menu .menu .sub-menu a { font-size: .95rem; padding: 10px 14px; }
.nav-menu__subscribe {
  margin: 12px;
  padding: 20px;
  background: var(--sage-mist);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.nav-menu__note { font-size: .9rem; color: var(--text-soft); margin-bottom: 14px; }
.nav-menu__subscribe .btn { width: 100%; }

/* ══════════════════════════════════════════════════════
   HOMEPAGE
   ══════════════════════════════════════════════════════ */

/* ── 1. HERO ──────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 48px 0 0;
}
/* Organic sage-cream backdrop with a rounded, lopsided bottom edge */
.hero__backdrop {
  position: absolute;
  inset: 0 0 110px 0;
  background:
    radial-gradient(circle at 88% 30%, rgba(210,118,58,.28) 0 22%, transparent 22.2%),
    var(--sage-mist);
  border-radius: 0 0 46% 54% / 0 0 110px 150px;
  z-index: 0;
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 56px;
}
.hero__copy { position: relative; }
.hero__spark { position: absolute; color: var(--text); }
.hero__spark--left { top: 36px; left: -40px; }
.hero__spark--right { top: -18px; right: 8%; z-index: 3; color: var(--sage-strong); }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.65);
  color: var(--sage-deep);
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 22px;
}
.hero__title-accent {
  position: relative;
  display: inline-block;
  color: var(--sage-strong);
}
.hero__title-heart {
  position: absolute;
  top: 0;
  right: -.62em;
  width: .55em;
  height: .52em;
}
.hero__lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 50ch;
  margin-bottom: 30px;
}
.hero__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-bottom: 34px;
}
.hero__perks li { display: flex; align-items: center; gap: 12px; }
.hero__perks strong {
  display: block;
  font-size: .92rem;
  color: var(--text);
}
.hero__perks li > span:last-child { font-size: .8rem; color: var(--text-muted); line-height: 1.35; }
.hero__perk-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--text-soft);
  color: var(--text);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Featured story — photo in a soft blob frame + floating card */
.hero-feature { position: relative; padding: 16px 0 40px 24px; }
.hero-feature__blob {
  position: absolute;
  inset: 0 -30px 10px 40px;
  background: var(--sage);
  opacity: .35;
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
  z-index: 0;
}
.hero-feature__media {
  position: relative;
  z-index: 1;
  display: block;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 56% 44% 48% 52% / 52% 46% 54% 48%;
  box-shadow: var(--shadow-lg);
  border: 8px solid var(--surface-warm);
}
.hero-feature__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero-feature__img--empty { display: block; background: var(--tint-peach); }
.hero-feature:hover .hero-feature__img { transform: scale(1.04); }
.hero-feature__card {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 0;
  max-width: 330px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
}
.hero-feature__label {
  display: block;
  font-family: var(--font-script);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--clay);
  margin-bottom: 6px;
}
.hero-feature__title {
  font-family: var(--font-headline);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 12px;
}
.hero-feature__title a { color: var(--text); }
.hero-feature__title a:hover { color: var(--sage-strong); }
.hero-feature__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* "Just in" strip — overlaps the backdrop's bottom edge */
.hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto repeat(3, 1fr);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 18px;
  gap: 8px;
}
.hero-strip__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 18px 0 10px;
  color: var(--sage-strong);
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.hero-strip__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border-left: 1px solid var(--border);
  min-width: 0;
}
.hero-strip__thumb {
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--tint-sage);
}
.hero-strip__thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-strip__body { min-width: 0; }
.hero-strip__cat {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--clay-strong);
  margin-bottom: 3px;
}
.hero-strip__title {
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-strip__title a { color: var(--text); }
.hero-strip__title a:hover { color: var(--sage-strong); }

/* ── 2. TOPICS ────────────────────────────────────────── */
.topics-section { padding: var(--section-py) 0 40px; }
.topic-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.topic-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 26px 14px 22px;
  border-radius: var(--radius-md);
  background: var(--tint, var(--tint-sage));
  box-shadow: inset 0 0 0 1px rgba(59,44,34,.04);
  transition: transform .25s, box-shadow .25s;
}
.topic-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.topic-tile__portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--surface);
  box-shadow: var(--shadow-sm);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-strong);
  margin-bottom: 16px;
}
.topic-tile__portrait img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.topic-tile:hover .topic-tile__portrait img { transform: scale(1.08); }
.topic-tile__name {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.25;
  color: var(--text);
}
.topic-tile__count { margin-top: 4px; font-size: .78rem; color: var(--text-muted); }

/* ── 3. FRESH READS — framed profile cards ────────────── */
.fresh-section { padding: 48px 0 var(--section-py); }
.fresh-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.friend-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px;
  transition: transform .25s, box-shadow .25s;
}
.friend-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.friend-card__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--tint-sage);
}
.friend-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.friend-card:hover .friend-card__img { transform: scale(1.05); }
.friend-card__badge {
  position: absolute;
  top: 10px; right: 10px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--clay);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.friend-card:hover .friend-card__badge { background: var(--clay); color: var(--on-color); }
.friend-card__body { padding: 16px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.friend-card__title {
  font-family: var(--font-headline);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
}
.friend-card__title a { color: var(--text); }
.friend-card__title a:hover { color: var(--sage-strong); }
.friend-card__pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.friend-card__cat {
  margin-top: auto;
  font-size: .82rem;
  color: var(--text-muted);
}
.friend-card__cat:hover { color: var(--sage-strong); }

/* ── 4. PET TIPS — rounded cream band + pastel tiles ──── */
.tips-section { padding: 0 0 var(--section-py); }
.tips-band {
  position: relative;
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 44px;
  align-items: center;
  background: var(--bg-deep);
  border-radius: var(--radius-xl) 120px var(--radius-xl) 120px;
  padding: 56px 56px 56px 64px;
  overflow: hidden;
}
.tips-band__leaf {
  position: absolute;
  left: -12px;
  bottom: -14px;
  color: var(--sage);
  opacity: .55;
  pointer-events: none;
}
.tips-band__intro { position: relative; }
.tips-band__intro .sec-head__title { margin-bottom: 16px; }
.tips-band__lead { color: var(--text-soft); margin-bottom: 22px; }
.tips-band__disclaimer {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 12px 14px;
  background: rgba(255,255,255,.6);
  border-radius: var(--radius-sm);
}
.tips-band__disclaimer .icon { color: var(--clay); margin-top: 1px; }
.tip-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.tip-tile {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--tint, var(--tint-sage));
  transition: transform .25s;
}
.tip-tile:hover { transform: translateY(-3px); }
.tip-tile__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 16px;
  background: rgba(255,255,255,.72);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tip-tile__title {
  font-family: var(--font-body);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 5px;
}
.tip-tile__text { font-size: .86rem; color: var(--text-soft); line-height: 1.55; }

/* ── 5. EDITORS' PICKS — colour-block duo + compact row ─ */
.picks-section { padding: 0 0 var(--section-py); }
.picks-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.pick-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: stretch;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pick-panel--sage  { background: var(--sage); color: var(--on-color); }
.pick-panel--peach { background: var(--tint-peach); color: var(--text); }
.pick-panel__body {
  position: relative;
  z-index: 1;
  padding: 34px 20px 34px 34px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.pick-panel__cat {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: inherit;
  opacity: .82;
}
.pick-panel__cat:hover { color: inherit; opacity: 1; text-decoration: underline; }
.pick-panel__title {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 12px;
}
.pick-panel__title a { color: inherit; }
.pick-panel__title a:hover { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.pick-panel__excerpt {
  font-size: .9rem;
  line-height: 1.6;
  opacity: .88;
  margin-bottom: 22px;
}
.pick-panel__body .btn { margin-top: auto; }
.pick-panel__media {
  position: relative;
  display: block;
  margin: 18px 18px 18px 0;
  border-radius: 46% 54% 40% 60% / 56% 44% 56% 44%;
  overflow: hidden;
  background: rgba(255,255,255,.3);
}
.pick-panel__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.pick-panel:hover .pick-panel__img { transform: scale(1.05); }

.picks-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  transition: transform .25s, box-shadow .25s;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.mini-card__media {
  flex-shrink: 0;
  width: 110px; height: 96px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--tint-sage);
}
.mini-card__img { width: 100%; height: 100%; object-fit: cover; }
.mini-card__body { min-width: 0; }
.mini-card__cat {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--clay-strong);
  margin-bottom: 4px;
}
.mini-card__title {
  font-family: var(--font-headline);
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mini-card__title a { color: var(--text); }
.mini-card__title a:hover { color: var(--sage-strong); }

/* ── 6. NEWSLETTER — sage wave band ───────────────────── */
.newsletter-section { padding: 40px 0 var(--section-py); }
.newsletter-band {
  position: relative;
  background: var(--sage);
  color: var(--on-color);
  border-radius: 140px 56px 140px 56px / 110px 48px 110px 48px;
  margin-inline: 16px;
}
.newsletter-band__inner {
  display: grid;
  grid-template-columns: 220px 1fr minmax(320px, 440px);
  gap: 40px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px;
}
.newsletter-band__photo {
  position: relative;
  width: 220px;
  height: 220px;
  margin-top: -84px;
  margin-bottom: -20px;
}
.newsletter-band__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 46% 54% / 55% 50% 50% 45%;
  border: 7px solid var(--bg);
  box-shadow: var(--shadow-md);
}
.newsletter-band__heart {
  position: absolute;
  left: -30px;
  top: 30px;
  width: 38px;
  height: 36px;
  color: var(--on-color);
  transform: rotate(-16deg);
}
.newsletter-band__title {
  font-family: var(--font-headline);
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 10px;
}
.newsletter-band__sub { color: rgba(255,255,255,.86); font-size: .98rem; max-width: 46ch; }

/* Contact Form 7: email + button inline, consent checkbox below */
.newsletter-band__form .wpcf7-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-band__form .form-fields p {
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border-radius: var(--radius-pill);
  padding: 6px;
  box-shadow: 0 10px 30px rgba(59,44,34,.14);
  margin: 0;
}
.newsletter-band__form .form-fields p br { display: none; }
.newsletter-band__form .wpcf7-form-control-wrap { flex: 1; min-width: 0; display: flex; }
.newsletter-band__form input[type="email"],
.newsletter-band__form input[type="text"] {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--text);
  border-radius: var(--radius-pill);
}
.newsletter-band__form input[type="email"]::placeholder { color: var(--text-muted); }
.newsletter-band__form input[type="submit"] {
  flex-shrink: 0;
  background: var(--text);
  color: var(--on-color);
  border: none;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-band__form input[type="submit"]:hover { background: var(--sage-deep); }
.newsletter-band__form .form-privacy p { margin: 0; }
.newsletter-band__form .wpcf7-list-item { margin: 0; }
.newsletter-band__form .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .78rem;
  line-height: 1.5;
  color: rgba(255,255,255,.88);
  cursor: pointer;
}
.newsletter-band__form .wpcf7-list-item input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--text);
}
.newsletter-band__form .wpcf7-list-item-label a { color: var(--on-color); text-decoration: underline; }
.newsletter-band__form .wpcf7-not-valid-tip { display: none !important; }
.newsletter-band__form .form-fields p:has(.wpcf7-not-valid) { box-shadow: 0 0 0 2px #E7B3A3, 0 10px 30px rgba(59,44,34,.14); }
.newsletter-band__form .wpcf7-acceptance.wpcf7-not-valid .wpcf7-list-item-label {
  text-decoration: underline;
  text-decoration-color: #F3C9BB;
  text-underline-offset: 3px;
}
.newsletter-band__form .wpcf7 form .wpcf7-response-output {
  margin: 4px 0 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: rgba(255,255,255,.16);
  font-size: .84rem;
  color: var(--on-color);
}
.newsletter-band__form .wpcf7 form.init .wpcf7-response-output { display: none; }
.wpcf7-spinner { display: none; }

/* ── 7. KEEP READING — 2-col reading list ─────────────── */
.more-section { padding: 0 0 var(--section-py); }
.read-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 14px 36px;
}
.read-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px dashed var(--border);
}
/* Drop the divider under the last row of each column */
.read-row:nth-last-child(-n+2) { border-bottom: none; }
.read-row__thumb {
  flex-shrink: 0;
  width: 72px; height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tint-sage);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--border);
}
.read-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.read-row__body { flex: 1; min-width: 0; }
.read-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: .78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.read-row__meta a { color: var(--clay-strong); font-weight: 700; }
.read-row__meta a:hover { color: var(--sage-strong); }
.read-row__title {
  font-family: var(--font-headline);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.32;
}
.read-row__title a { color: var(--text); }
.read-row__title a:hover { color: var(--sage-strong); }
.read-row__go {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.read-row:hover .read-row__go { background: var(--sage-strong); border-color: var(--sage-strong); color: var(--on-color); transform: translateX(3px); }

/* ── FOOTER ───────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--bg-deep);
  padding-top: 64px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}
.site-footer__leaf {
  position: absolute;
  right: 24px;
  bottom: 0;
  color: var(--sage);
  opacity: .5;
  pointer-events: none;
}
.footer-top {
  position: relative;
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 0 24px 44px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-brand-logo { display: inline-block; margin-bottom: 16px; }
.footer-brand-logo img { height: 64px; width: auto; }
.footer-brand__desc {
  color: var(--text-soft);
  font-size: .93rem;
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: 18px;
}
.footer-brand__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--sage-strong);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
}
.footer-brand__cta:hover { background: var(--sage-strong); border-color: var(--sage-strong); color: var(--on-color); }
.footer-col__heading {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col__list { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col__list a { color: var(--text-soft); font-size: .93rem; }
.footer-col__list a:hover { color: var(--sage-strong); }
.footer-bottom {
  position: relative;
  max-width: var(--container-w);
  margin-inline: auto;
  padding: 20px 24px 26px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy,
.footer-note { font-size: .84rem; color: var(--text-muted); }
.footer-note { display: inline-flex; align-items: center; gap: 6px; }
.footer-note .icon { color: var(--clay); }

/* ══════════════════════════════════════════════════════
   INNER PAGES
   Every inner template reuses the homepage components:
   .friend-card (template-parts/card-post.php),
   .read-row (template-parts/read-row.php) and the hero-style
   .page-band (template-parts/page-band.php).
   ══════════════════════════════════════════════════════ */
.archive-main,
.page-main,
.error-main { padding: 0 0 var(--section-py); }

/* ── PAGE BAND — hero-style header for archives, search, pages, 404 ── */
.page-band {
  position: relative;
  padding: 44px 0 0;
  margin-bottom: 56px;
}
.page-band__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 92% 18%, rgba(210,118,58,.2) 0 16%, transparent 16.2%),
    var(--sage-mist);
  border-radius: 0 0 46% 54% / 0 0 90px 130px;
  z-index: 0;
}
/* With the topic pills bar, the backdrop stops short so the bar overlaps its edge */
.page-band--topics .page-band__backdrop { bottom: 34px; }
.page-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: center;
  padding-bottom: 64px;
}
.page-band__copy { min-width: 0; }
.page-band__title {
  font-family: var(--font-headline);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.page-band__accent { color: var(--sage-strong); }
.page-band__heart {
  width: .5em;
  height: .47em;
  vertical-align: top;
  margin-left: .08em;
}
.page-band__desc {
  color: var(--text-soft);
  font-size: 1.08rem;
  max-width: 58ch;
}
.page-band__desc p + p { margin-top: .8em; }
.page-band__count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.7);
  color: var(--sage-deep);
  font-size: .86rem;
  font-weight: 700;
}
.band-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 540px;
  margin-top: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
}
.band-search > .icon { color: var(--text-muted); }
.band-search input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: .98rem;
  color: var(--text);
  padding: 10px 4px;
}
.band-search button {
  background: var(--sage-strong);
  color: var(--on-color);
  border: none;
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .88rem;
  cursor: pointer;
  transition: background .2s;
}
.band-search button:hover { background: var(--sage-deep); }

/* Photo (category image) or icon in the same blob frame as the homepage hero */
.page-band__media {
  position: relative;
  width: 320px;
  height: 320px;
  justify-self: end;
}
.page-band__blob {
  position: absolute;
  inset: -14px -26px -12px 12px;
  background: var(--sage);
  opacity: .35;
  border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%;
}
.page-band__spark { top: -26px; right: 4%; z-index: 2; color: var(--sage-strong); }
.page-band__img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 56% 44% 48% 52% / 52% 46% 54% 48%;
  border: 8px solid var(--surface-warm);
  box-shadow: var(--shadow-lg);
}
.page-band__img--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--tint-peach);
  color: var(--sage-strong);
}

/* Compact variant for static pages */
.page-band--narrow { margin-bottom: 48px; }
.page-band--narrow .page-band__grid {
  grid-template-columns: 1fr;
  max-width: 820px;
  text-align: center;
  padding-bottom: 56px;
}
.page-band--narrow .page-band__title { margin-bottom: 0; }

/* Topic pills bar — overlaps the band's bottom edge like the hero "Just In" strip */
.topic-pills {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 14px;
}
.topic-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s;
}
.topic-pill:hover { background: var(--sage-mist); border-color: var(--sage-mist); color: var(--sage-deep); }
.topic-pill.is-active { background: var(--sage-strong); border-color: var(--sage-strong); color: var(--on-color); }

/* ── POST CARD GRID (archive, index, search, related) ─── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* ── PAGINATION ──────────────────────────────────────── */
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; align-items: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: .92rem; font-weight: 700;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background .2s, color .2s, border-color .2s;
}
.pagination .page-numbers:hover { background: var(--sage-mist); border-color: var(--sage-mist); color: var(--sage-deep); }
.pagination .page-numbers.current { background: var(--sage-strong); color: var(--on-color); border-color: var(--sage-strong); }
.pagination .page-numbers.dots { border: none; background: none; min-width: auto; padding: 0 4px; }

/* ── NO RESULTS ──────────────────────────────────────── */
.no-results {
  text-align: center;
  padding: 64px 24px;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}
.no-results p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 24px; }

/* ── SINGLE POST ─────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  height: 4px;
  width: 0%;
  background: var(--sage);
  border-radius: 0 4px 4px 0;
  z-index: 9999;
  transition: width .1s linear;
}
.single-main { padding: 40px 0 var(--section-py); }
.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.article-header { margin-bottom: 28px; }
.article-header__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.article-header__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -.02em;
}
.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.article-header__meta .pill { font-size: .8rem; padding: 5px 12px; background: var(--surface); }
.article-hero {
  margin-bottom: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 8px solid var(--surface);
  box-shadow: var(--shadow-sm);
}
.article-hero__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.article-hero__caption {
  font-size: .82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 10px 0 4px;
  background: var(--surface);
}

/* Prose */
.entry-content { color: var(--text); font-size: 1.07rem; line-height: 1.8; }
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content table { margin-bottom: 1.2em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  color: var(--text);
  margin: 1.9em 0 .6em;
  line-height: 1.25;
}
.entry-content h2 { font-size: 1.7rem; }
.entry-content h3 { font-size: 1.35rem; }
.entry-content h4 { font-size: 1.12rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.4em; }
.entry-content li + li { margin-top: .4em; }
.entry-content li::marker { color: var(--sage); }
.entry-content a { color: var(--sage-strong); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--clay-strong); }
.entry-content img { border-radius: var(--radius-md); }
.entry-content figure { margin-block: 1.8em; }
.entry-content figcaption { font-size: .85rem; color: var(--text-muted); text-align: center; margin-top: 8px; }
.entry-content blockquote {
  margin-block: 2em;
  padding: 24px 28px;
  background: var(--tint-peach);
  border-radius: var(--radius-md);
  font-family: var(--font-headline);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--text);
}
.entry-content blockquote p { margin: 0; }
.entry-content code {
  background: var(--sage-soft);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .88em;
}
.entry-content hr { border: none; border-top: 1px dashed var(--border); margin-block: 2.5em; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry-content th,
.entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.entry-content th { background: var(--sage-soft); }

/* Related posts */
.related-posts { margin-top: 72px; }

/* Sticky sidebar */
.single-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 22px 10px;
}
.sidebar-panel__heading {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.side-list { list-style: none; }
.side-list .read-row { gap: 14px; padding: 14px 0; }
.side-list .read-row:nth-last-child(2) { border-bottom: 1px dashed var(--border); }
.side-list .read-row:last-child { border-bottom: none; }
.side-list .read-row__thumb { width: 58px; height: 58px; }
.side-list .read-row__title { font-size: .94rem; }
/* Narrow column: show just the category, the date would wrap onto its own line */
.side-list .read-row__meta > span,
.side-list .read-row__meta > time { display: none; }
.sidebar-cta {
  position: relative;
  background: var(--sage);
  color: var(--on-color);
  border-radius: var(--radius-lg) 60px var(--radius-lg) var(--radius-lg);
  padding: 26px 24px;
  overflow: hidden;
}
.sidebar-cta__heart {
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--on-color);
  opacity: .7;
}
.sidebar-cta__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 6px;
  padding-right: 36px;
}
.sidebar-cta__text { font-size: .9rem; color: rgba(255,255,255,.88); margin-bottom: 16px; }

/* ── STATIC PAGE ─────────────────────────────────────── */
.static-page .entry-content > *:first-child { margin-top: 0; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  /* Header switches to the burger/drawer version here */
  :root { --header-h: 70px; }
  .header-inner { display: flex; justify-content: space-between; padding: 0 16px; }
  .header-logo img { height: 50px; }
  .header-nav { display: none; }
  .burger-btn { display: inline-flex; }

  .hero-strip { grid-template-columns: repeat(3, 1fr); }
  .hero-strip__label { display: none; }
  .hero-strip__item:first-of-type { border-left: none; }

  .topic-grid { grid-template-columns: repeat(3, 1fr); }
  .fresh-grid { grid-template-columns: repeat(2, 1fr); }

  .tips-band { grid-template-columns: 1fr; gap: 32px; padding: 48px 40px; }
  .tips-band__intro { max-width: 620px; }

  .pick-panel { grid-template-columns: 1fr; }
  .pick-panel__media { order: -1; margin: 16px 16px 0; aspect-ratio: 16 / 9; border-radius: var(--radius-md); }
  .pick-panel__body { padding: 24px 28px 30px; }

  .newsletter-band__inner { grid-template-columns: 180px 1fr; }
  .newsletter-band__photo { width: 180px; height: 180px; }
  .newsletter-band__form { grid-column: 1 / -1; }

  .page-band__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
  .page-band__media { width: 250px; height: 250px; }
}

@media (max-width: 1024px) {

  .hero__backdrop,
  .page-band__backdrop { background: var(--sage-mist); }
  .hero__grid { grid-template-columns: 1fr; gap: 24px; }
  .hero__spark--left { display: none; }
  .hero-feature { max-width: 560px; margin-inline: auto; width: 100%; }

  .single-layout { grid-template-columns: 1fr; }
  .single-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
  .picks-row { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .header-subscribe-btn { display: none; }
  .top-bar { font-size: .74rem; }

  .hero { padding-top: 32px; }
  .hero__backdrop { bottom: 180px; border-radius: 0 0 40% 60% / 0 0 60px 80px; }
  .hero__perks { gap: 14px 22px; }
  .hero-feature { padding-left: 0; padding-bottom: 90px; }
  .hero-feature__blob { inset: 0 -6px 70px 18px; }
  .hero__spark--right { right: 4%; }
  /* Keep the doodle heart inside the viewport when "Happy Tail" ends a line */
  .hero__title-heart { position: static; vertical-align: top; width: .42em; height: .4em; margin-left: .04em; }
  .hero-feature__card { left: 12px; right: 12px; max-width: none; }

  .hero-strip { grid-template-columns: 1fr; padding: 8px 14px; }
  .hero-strip__item { border-left: none; border-top: 1px solid var(--border); padding: 12px 0; }
  .hero-strip__item:first-of-type { border-top: none; }

  .picks-duo { grid-template-columns: 1fr; }

  .tips-band { padding: 40px 22px; border-radius: var(--radius-lg) 70px var(--radius-lg) 70px; }
  .tip-grid { grid-template-columns: 1fr; }
  .tips-band__leaf { display: none; }

  .newsletter-band { border-radius: var(--radius-xl); margin-inline: 12px; }
  .newsletter-band__inner { grid-template-columns: 1fr; text-align: center; gap: 22px; padding-top: 0; padding-bottom: 36px; }
  .newsletter-band__photo { margin: -56px auto 0; width: 160px; height: 160px; }
  .newsletter-band__heart { left: -26px; }
  .newsletter-band__sub { margin-inline: auto; }
  .newsletter-band__form .wpcf7-list-item label { text-align: left; }

  .read-list { grid-template-columns: 1fr; padding: 6px 20px; }
  .read-row:nth-last-child(2) { border-bottom: 1px dashed var(--border); }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { justify-content: center; text-align: center; }
  .site-footer__leaf { display: none; }

  /* Page band: stack, photo becomes a small round badge above the title */
  .page-band { padding-top: 32px; margin-bottom: 40px; }
  .page-band__backdrop { border-radius: 0 0 40% 60% / 0 0 50px 70px; }
  .page-band__grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 48px; }
  .page-band__media { order: -1; width: 120px; height: 120px; justify-self: start; margin-bottom: 24px; }
  .page-band__blob { inset: -8px -8px -6px 6px; }
  .page-band__spark { display: none; }
  .page-band__img { border-width: 5px; }
  .page-band__img--icon .icon { width: 40px; height: 40px; }

  /* Topic pills scroll sideways instead of wrapping into a tall block */
  .topic-pills {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 10px;
  }
  .topic-pills::-webkit-scrollbar { display: none; }

  .single-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .sec-head { margin-bottom: 28px; }
  .sec-head__title .doodle-heart { width: 24px; height: 22px; }

  .hero__title { font-size: clamp(2.3rem, 11vw, 2.9rem); }
  .hero__actions .btn { flex: 1; }

  .topic-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .topic-tile__portrait { width: 80px; height: 80px; }

  .fresh-grid,
  .card-grid { grid-template-columns: 1fr; }
  .friend-card__media { aspect-ratio: 16 / 10; }

  .mini-card__media { width: 92px; height: 84px; }

  .newsletter-band__form .form-fields p { flex-direction: column; border-radius: var(--radius-md); gap: 6px; }
  .newsletter-band__form input[type="submit"] { width: 100%; }

  .read-row { gap: 14px; }
  .read-row__thumb { width: 60px; height: 60px; }
  .read-row__go { display: none; }

  .band-search { padding-left: 16px; }
  .band-search button { padding: 12px 16px; }

  .footer-top { grid-template-columns: 1fr; }
}
