/*
Theme Name: It's a Moe Thing
Theme URI: https://itsamoething.com
Author: Monika Loyd
Author URI: https://itsamoething.com
Description: A custom WordPress theme for It's a Moe Thing — literary, dramatic, unapologetic.
Version: 1.3.6
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: itsamoething
Tags: blog, custom-logo, featured-images, threaded-comments
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --forest:      #252820;
  --fern:        #6B7D50;
  --sage:        #B8C4A0;
  --sage-white:  #F4F5F0;
  --gold:        #C9952A;
  --terracotta:  #C4673A;
  --dusty-rose:  #D4A5A5;

  /* Template A — Fern/Gold */
  --ta-start:    #4a5e35;
  --ta-end:      #8fa872;

  /* Template B — Terracotta */
  --tb-start:    #F4F5F0;
  --tb-end:      #e8b090;

  /* Template C — Dusty Rose */
  --tc-start:    #b07080;
  --tc-end:      #d4a5a5;

  /* Template D — Blush to Cream */
  --td-start:    #e8d0d0;
  --td-end:      #F4F5F0;

  /* Template E — Forest Floor */
  --te-start:    #4a5e35;
  --te-end:      #B8C4A0;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Quicksand', system-ui, sans-serif;

  /* Spacing */
  --container:   1180px;
  --gap:         2rem;
  --radius:      3px;
}

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

html { font-size: 100%; scroll-behavior: smooth; }

body {
  background: var(--sage-white);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--fern); }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  line-height: 1.2;
  color: var(--forest);
}

h1 { font-size: clamp(26px, 4vw, 42px); }
h2 { font-size: clamp(22px, 3vw, 34px); }
h3 { font-size: clamp(18px, 2.5vw, 26px); }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

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

blockquote {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, var(--sage-white) 0%, var(--sage) 100%);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
}

blockquote p { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1.2rem; }
li { margin-bottom: 0.4rem; }

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
  margin: 2rem 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ============================================================
   LABEL / PILL UTILITY
   ============================================================ */
.cat-label {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--gold);
  padding: 3px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.cat-label:hover { opacity: 0.85; color: var(--forest); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  background: var(--sage-white);
  border-bottom: 1px solid var(--sage);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.site-logo img {
  height: 90px;
  width: auto;
}

.site-logo .text-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 28px;
  color: var(--forest);
  text-decoration: none;
}
.site-logo .text-logo:hover { color: var(--fern); }

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Search form in header */
.header-search {
  position: relative;
}

.header-search input[type="search"] {
  background: var(--sage-white);
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 13px;
  padding: 6px 32px 6px 10px;
  width: 180px;
  transition: border-color 0.2s, width 0.3s;
}

.header-search input[type="search"]:focus {
  outline: none;
  border-color: var(--fern);
  width: 220px;
}

.header-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--fern);
  padding: 0;
  line-height: 1;
}

.header-search button svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Primary Navigation */
.primary-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.primary-nav a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  padding: 6px 10px;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav .current-menu-item a { color: var(--fern); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  padding: 6px 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fern);
}

/* ============================================================
   HOMEPAGE — MAGAZINE LAYOUT
   ============================================================ */

/* Hero section: big post left, 3 smaller right */
.magazine-hero {
  padding: 2.5rem 0 0;
}

/* Dusty rose accent strip under the hero */
.magazine-hero::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--tc-start), var(--dusty-rose), var(--gold));
  margin-top: 1.5px;
}

.magazine-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
  background: transparent;
}

/* Featured main post */
.hero-main {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-main .hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-main .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,40,32,0.95) 0%, rgba(37,40,32,0.2) 60%, transparent 100%);
}

.hero-main-content {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem 2rem;
}

.hero-main-content .cat-label { margin-bottom: 14px; }

.hero-main-content h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 3.5vw, 38px);
  color: var(--sage-white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.hero-main-content h2 a { color: inherit; text-decoration: none; }
.hero-main-content h2 a:hover { color: var(--sage); }

.hero-main-content .excerpt {
  font-size: 15px;
  color: rgba(244,245,240,0.75);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-main-content .post-meta-line {
  font-size: 11px;
  color: rgba(244,245,240,0.80);
  letter-spacing: 0.05em;
}

/* Right column — 3 stacked secondary posts */
.hero-secondary {
  display: flex;
  flex-direction: column;
}

.hero-secondary-item {
  flex: 1;
  background: var(--sage-white);
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid var(--sage);
  border-left: 3px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.hero-secondary-item:last-child { border-bottom: none; }
.hero-secondary-item:hover {
  background: #eceee7;
  border-left-color: var(--dusty-rose);
}

.hero-secondary-item .cat-label { margin-bottom: 8px; }

.hero-secondary-item h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 17px;
  color: var(--forest);
  line-height: 1.3;
  margin-bottom: 6px;
}

.hero-secondary-item h3 a { color: inherit; text-decoration: none; }
.hero-secondary-item h3 a:hover { color: var(--gold); }

.hero-secondary-item .post-meta-line {
  font-size: 11px;
  color: var(--fern);
  letter-spacing: 0.04em;
}

/* Blog card grid below hero */
.blog-grid-section {
  padding: 3rem 0;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--dusty-rose), transparent);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: transparent;
}

/* Post Cards */
.post-card {
  background: var(--sage-white);
  display: flex;
  flex-direction: column;
  border-left: 3px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.post-card:hover {
  background: #eceee7;
  border-left-color: var(--dusty-rose);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--ta-start), var(--ta-end));
}

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

.post-card:hover .post-card-image img { transform: scale(1.03); }

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

.post-card-body .cat-label { margin-bottom: 10px; }

.post-card-body h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 19px;
  color: var(--forest);
  line-height: 1.3;
  margin-bottom: 8px;
}

.post-card-body h3 a { color: inherit; text-decoration: none; }
.post-card-body h3 a:hover { color: var(--gold); }

.post-card-body .excerpt {
  font-size: 14px;
  color: var(--fern);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.post-card-body .post-meta-line {
  font-size: 11px;
  color: var(--fern);
  letter-spacing: 0.04em;
  margin-top: auto;
}

/* Pagination */
.pagination {
  padding: 2rem 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 13px;
  border: 1px solid var(--sage);
  color: var(--fern);
  text-decoration: none;
  transition: all 0.2s;
}

.pagination a:hover,
.pagination span.current {
  background: var(--fern);
  border-color: var(--fern);
  color: var(--sage-white);
}

/* ============================================================
   SINGLE POST — SHARED STRUCTURE
   ============================================================ */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 0 1.5rem 4rem; }

/* Full-width featured image hero */
.featured-hero {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  position: relative;
}

.featured-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Post header — shared across all templates */
.post-header-ta {
  background: var(--sage-white);
  border-top: 3px solid var(--gold);
  border-bottom: 1px solid var(--sage);
  padding: 2.25rem 2.5rem 1.75rem;
}

.post-header-tb {
  background: linear-gradient(135deg, var(--tb-start) 0%, var(--tb-end) 100%);
  padding: 2.25rem 2.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.post-header-tc {
  background: linear-gradient(135deg, var(--tc-start) 0%, var(--tc-end) 100%);
  padding: 2.25rem 2.5rem 1.75rem;
}

.post-header-td {
  background: linear-gradient(135deg, var(--td-start) 0%, var(--td-end) 100%);
  border-top: 3px solid var(--dusty-rose);
  padding: 2.25rem 2.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.post-header-te {
  background: linear-gradient(135deg, var(--te-start) 0%, var(--te-end) 100%);
  padding: 2.25rem 2.5rem 1.75rem;
  position: relative;
  overflow: hidden;
}

.post-header-rule {
  height: 1px;
  background: rgba(244,245,240,0.3);
  margin-bottom: 16px;
}

.post-header-rule-rose {
  height: 1px;
  background: rgba(244,245,240,0.35);
  margin-bottom: 16px;
}

.ghost-q {
  position: absolute;
  top: -16px; right: 24px;
  font-family: var(--font-display);
  font-size: 130px;
  font-weight: 600;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.post-header-ta .entry-title { color: var(--forest); }
.post-header-tb .entry-title { color: var(--forest); }
.post-header-td .entry-title { color: var(--forest); }
.post-header-te .entry-title { color: var(--sage-white); }

.post-header-tc .entry-title { color: var(--forest); }

.entry-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(24px, 4vw, 40px);
  line-height: 1.2;
  margin: 0 0 12px;
}

.post-header-tb .hook-line { color: rgba(37,40,32,0.7); }
.post-header-te .hook-line { color: rgba(244,245,240,0.72); }

.hook-line {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(15px, 2vw, 19px);
  color: rgba(244,245,240,0.78);
  line-height: 1.5;
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.post-meta-header {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.post-header-ta .post-meta-header { color: var(--fern); }
.post-header-tb .post-meta-header { color: rgba(37,40,32,0.65); }
.post-header-tc .post-meta-header { color: rgba(37,40,32,0.7); }
.post-header-td .post-meta-header { color: rgba(37,40,32,0.55); }
.post-header-te .post-meta-header { color: rgba(244,245,240,0.65); }

.cat-pill-frost {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-white);
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 3px 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

.cat-pill-light {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(244,245,240,0.85);
  padding: 3px 10px;
  margin-bottom: 14px;
  text-decoration: none;
}

/* Post body */
.post-body {
  padding: 1.75rem 2.5rem 0;
  max-width: 780px;
}

.post-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--forest);
  margin-bottom: 1.2rem;
}

/* ── PULL QUOTE ─────────────────────────────────── */
.moe-pull-quote {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, var(--sage-white) 0%, var(--sage) 100%);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}
.moe-pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--forest);
  line-height: 1.55;
  margin: 0;
}

/* ── DARK PULL QUOTE (statement/bold) ───────────── */
.moe-pull-quote-dark {
  background: var(--forest);
  border-left: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.moe-pull-quote-dark p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--sage-white);
  line-height: 1.55;
  margin: 0;
}

/* ── ROSE PULL QUOTE (soft/personal) ────────────── */
.moe-pull-quote-rose {
  border-left: 3px solid var(--dusty-rose);
  background: linear-gradient(180deg, var(--sage-white) 0%, #eddcdc 100%);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}
.moe-pull-quote-rose p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--forest);
  line-height: 1.55;
  margin: 0;
}

/* ── GOLD PULL QUOTE (warm/Template D) ─────────────── */
.moe-pull-quote-gold {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, #fdf8f0 0%, #f5e8cc 100%);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
}
.moe-pull-quote-gold p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 21px;
  color: var(--forest);
  line-height: 1.55;
  margin: 0;
}

/* ── SCENE BREAK ─────────────────────────────────── */
.moe-scene-break {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2.25rem 0;
  color: var(--fern);
  font-size: 13px;
  letter-spacing: 0.3em;
}
.moe-scene-break::before,
.moe-scene-break::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--sage), transparent);
}

/* ── CALLOUT BOX ─────────────────────────────────── */
.moe-callout {
  background: linear-gradient(135deg, #f9f7f2 0%, #eef0e8 100%);
  border: 1px solid var(--sage);
  border-top: 3px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
}
.moe-callout p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--forest);
  margin: 0;
}
.moe-callout-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ── STYLED LIST (gold markers) ──────────────────── */
.moe-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.moe-list li {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--forest);
  padding: 0.6rem 0 0.6rem 1.5rem;
  border-bottom: 1px solid rgba(184,196,160,0.4);
  position: relative;
}
.moe-list li:last-child { border-bottom: none; }
.moe-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── TWO-COLUMN LIST (rose markers) ─────────────── */
.moe-list-2col {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
.moe-list-2col li {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--forest);
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(184,196,160,0.35);
  position: relative;
}
.moe-list-2col li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dusty-rose);
}

/* ── CHAPTER MARKER ──────────────────────────────── */
.moe-chapter {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 2.5rem 0 1.25rem;
}
.moe-chapter-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 36px;
  color: var(--dusty-rose);
  line-height: 1;
  flex-shrink: 0;
}
.moe-chapter-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fern);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  flex: 1;
}

/* ── EMPHASIS WORD ───────────────────────────────── */
.moe-emphasis-word {
  text-align: center;
  margin: 2rem 0;
}
.moe-emphasis-word span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--gold);
  letter-spacing: 0.05em;
}

/* ── EMPHASIS BLOCK ──────────────────────────────── */
.moe-emphasis-block {
  text-align: center;
  margin: 2.5rem auto;
  max-width: 600px;
  padding: 1rem 0;
}
.moe-emphasis-block p {
  font-family: var(--font-body);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--forest);
  margin: 0.25rem 0;
}

/* ── SIDEBAR NOTE (aside) ────────────────────────── */
.moe-aside {
  float: right;
  width: 220px;
  margin: 0 0 1.5rem 2rem;
  background: var(--forest);
  padding: 1rem 1.25rem;
}
.moe-aside p {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: var(--sage);
  margin: 0;
  font-style: italic;
}
.moe-aside-label {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

@media (max-width: 640px) {
  .moe-list-2col { grid-template-columns: 1fr; }
  .moe-aside { float: none; width: 100%; margin: 1.5rem 0; }
}

/* Section headings (Template A) */
.section-head {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--fern);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 5px;
  margin: 2rem 0 1rem;
}

/* Quote block — used in all templates */
.quote-block-a {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, var(--sage-white) 0%, var(--sage) 100%);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.quote-block-b {
  border-left: 4px solid transparent;
  border-image: linear-gradient(135deg, #F4F5F0, #D9A088) 1;
  background: linear-gradient(135deg, #F4F5F0 0%, #D9A088 100%);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.quote-block-c {
  border-left: 3px solid var(--dusty-rose);
  background: linear-gradient(180deg, var(--sage-white) 0%, #eddcdc 100%);
  padding: 1.25rem 1.5rem;
  margin: 0.5rem 0 1.5rem;
}

.quote-block-d {
  border-left: 3px solid var(--gold);
  background: linear-gradient(180deg, #fdf8f0 0%, #f5e8cc 100%);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.quote-block-e {
  border-left: 3px solid var(--dusty-rose);
  background: linear-gradient(180deg, var(--sage-white) 0%, #eef0e8 100%);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.quote-block-a p,
.quote-block-b p,
.quote-block-c p,
.quote-block-d p,
.quote-block-e p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  color: var(--forest);
  line-height: 1.55;
  margin: 0;
}

/* Scene break (Template B) */
.scene-break {
  text-align: center;
  color: var(--terracotta);
  font-size: 13px;
  letter-spacing: 0.3em;
  margin: 1.75rem 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.scene-break::before, .scene-break::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta), transparent);
}

/* Listicle items (Template C) */
.list-rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dusty-rose), transparent);
  margin: 1.25rem 0;
}

.list-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.25rem;
}

.list-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 50px;
  line-height: 1;
  color: var(--tc-start);
  flex-shrink: 0;
  width: 40px;
  text-align: right;
}

.list-content h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 21px;
  color: var(--forest);
  margin: 10px 0 6px;
  line-height: 1.3;
}

.list-content p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--forest);
  margin: 0;
}

/* Post footer — shared across all templates */
.post-footer-ta {
  background: var(--forest);
  padding: 1.4rem 2.5rem;
  margin-top: 0;
  border-top: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.post-footer-tb {
  background: linear-gradient(135deg, var(--tb-start) 0%, var(--tb-end) 100%);
  padding: 1.4rem 2.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.post-footer-tc {
  background: linear-gradient(135deg, var(--tc-start) 0%, var(--tc-end) 100%);
  padding: 1.4rem 2.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.post-footer-td {
  background: linear-gradient(135deg, var(--td-start) 0%, var(--td-end) 100%);
  border-top: 1px solid rgba(212,165,165,0.4);
  padding: 1.4rem 2.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.post-footer-te {
  background: linear-gradient(135deg, var(--te-start) 0%, var(--te-end) 100%);
  padding: 1.4rem 2.5rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.post-footer-ta .footer-cta { color: var(--sage); }
.post-header-tb .cat-pill-frost {
  color: var(--forest);
  background: rgba(37,40,32,0.1);
  border-color: rgba(37,40,32,0.25);
}

.post-header-te .cat-pill-frost {
  color: var(--sage-white);
  background: rgba(212,165,165,0.2);
  border-color: rgba(212,165,165,0.4);
}

.post-footer-tb .footer-cta { color: rgba(37,40,32,0.85); }
.post-footer-tc .footer-cta { color: rgba(37,40,32,0.8); }
.post-footer-td .footer-cta { color: rgba(37,40,32,0.7); }
.post-footer-te .footer-cta { color: rgba(244,245,240,0.8); }

.footer-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
}

.post-footer-ta .footer-sig { color: var(--gold); }
.post-footer-tb .footer-sig { color: var(--forest); }
.post-footer-tc .footer-sig { color: var(--forest); }
.post-footer-td .footer-sig { color: var(--forest); }
.post-footer-te .footer-sig { color: var(--sage-white); }

.footer-sig {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
}

/* Post nav (prev/next) */
.post-navigation {
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--sage);
  max-width: 780px;
}

.post-navigation a {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1c17;
}

.post-navigation a:hover { color: var(--gold); }
.post-navigation .nav-next { text-align: right; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.related-posts {
  padding: 2.5rem 0;
  border-top: 1px solid var(--sage);
  margin-top: 2rem;
}

.related-posts .section-eyebrow { margin-bottom: 1.5rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: transparent;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-area {
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2.5rem 0;
  border-top: 1px solid var(--sage);
}

.comments-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--forest);
  margin-bottom: 1.5rem;
}

.comment-list { list-style: none; padding: 0; margin: 0 0 2rem; }

.comment {
  border-bottom: 1px solid var(--sage);
  padding: 1.5rem 0;
}

.comment:last-child { border-bottom: none; }

.comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.comment-author-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--forest);
}

.comment-date {
  font-size: 11px;
  color: var(--fern);
  letter-spacing: 0.04em;
}

.comment-content p {
  font-size: 16px;
  line-height: 1.8;
}

.comment-reply-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fern);
}

.comment-reply-link:hover { color: var(--gold); }

/* Comment form */
.comment-respond {
  margin-top: 2rem;
}

.comment-reply-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 24px;
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.comment-form label {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 5px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--sage);
  border-radius: var(--radius);
  background: #fff;
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 10px 12px;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--fern);
}

.comment-form textarea { min-height: 140px; resize: vertical; }

.comment-form .form-submit input[type="submit"] {
  background: linear-gradient(135deg, var(--ta-start), var(--ta-end));
  border: none;
  color: var(--sage-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 11px 24px;
  cursor: pointer;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.comment-form .form-submit input[type="submit"]:hover { opacity: 0.88; }

/* ============================================================
   ARCHIVE / CATEGORY PAGE
   ============================================================ */
.archive-header {
  background: linear-gradient(135deg, var(--ta-start) 0%, var(--ta-end) 100%);
  padding: 3rem 0 2.5rem;
  margin-bottom: 3rem;
}

.archive-header .eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(244,245,240,0.6);
  margin-bottom: 8px;
}

.archive-header h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--sage-white);
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--sage);
  margin-bottom: 2.5rem;
}

.search-header h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 3vw, 34px);
  color: var(--fern);
  margin-bottom: 1rem;
}

.search-form-full {
  display: flex;
  gap: 0;
  max-width: 500px;
}

.search-form-full input[type="search"] {
  flex: 1;
  border: 1px solid var(--sage);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--forest);
}

.search-form-full button {
  background: var(--fern);
  border: none;
  color: var(--sage-white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 0 var(--radius) var(--radius) 0;
  cursor: pointer;
  transition: background 0.2s;
}

.search-form-full button:hover { background: var(--ta-start); }

/* ============================================================
   404 PAGE
   ============================================================ */
.page-404 {
  text-align: center;
  padding: 6rem 1.5rem;
}

.page-404 .num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 120px;
  font-weight: 600;
  color: var(--sage);
  line-height: 1;
  margin-bottom: 0;
}

.page-404 h1 {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--fern);
  margin-bottom: 1rem;
}

.page-404 p {
  font-size: 16px;
  color: var(--fern);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--ta-start), var(--ta-end));
  color: var(--sage-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 12px 26px;
  text-decoration: none;
  border-radius: var(--radius);
  transition: opacity 0.2s;
}

.btn:hover { opacity: 0.88; color: var(--sage-white); }

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--forest);
  color: var(--sage);
  padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--dusty-rose);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 26px;
  color: var(--sage-white);
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand .tagline {
  font-size: 12px;
  color: rgba(184,196,160,0.7);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184,196,160,0.3);
  border-radius: var(--radius);
  color: var(--sage);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s;
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-cats h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  margin-bottom: 1rem;
}

.footer-cat-links {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.footer-cat-links li { margin-bottom: 0.4rem; break-inside: avoid; }

.footer-cat-links a {
  font-size: 13px;
  color: rgba(184,196,160,0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-cat-links a:hover { color: var(--sage-white); }

.footer-bottom {
  border-top: 1px solid rgba(184,196,160,0.15);
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(184,196,160,0.7);
  letter-spacing: 0.05em;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .magazine-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-secondary {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hero-secondary-item {
    flex: 1 1 calc(33.333% - 1px);
    border-bottom: none;
    border-right: 1px solid var(--sage);
  }

  .hero-secondary-item:last-child { border-right: none; }

  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .hero-secondary { flex-direction: column; }
  .hero-secondary-item { border-right: none; border-bottom: 1px solid var(--sage); }

  .post-body { padding: 1.25rem 1.25rem 0; }
  .post-header-ta, .post-header-tb, .post-header-tc, .post-header-td, .post-header-te { padding: 1.5rem 1.25rem; }
  .post-footer-ta, .post-footer-tb, .post-footer-tc, .post-footer-td, .post-footer-te { padding: 1.25rem; flex-direction: column; gap: 6px; }

  /* ── MOBILE HEADER ── */

  /* Container: two visual rows via flex-wrap */
  .site-header .container {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 0.5rem;
    padding-bottom: 0;
    align-items: center;
    position: relative; /* for absolute-positioned menu toggle */
  }

  /* Row 1: Logo takes full width, menu toggle floats top-right absolutely */
  .site-logo {
    flex: 0 0 100%;
    max-width: calc(100% - 70px); /* leave room so toggle doesn't overlap */
  }
  .site-logo img { height: 56px !important; width: auto; }

  /* header-right: hidden on mobile — we surface its children manually */
  .header-right {
    display: contents; /* children participate in container's flex directly */
  }

  /* Menu toggle: absolute so it never displaces the logo */
  .menu-toggle {
    display: block !important;
    position: absolute;
    top: 0.6rem;
    right: 1.5rem; /* match container padding */
  }

  /* Hide search on mobile */
  .header-search { display: none; }

  /* Primary nav: full-width row 3 when open */
  .primary-nav { display: none; }
  .primary-nav.is-open {
    display: block;
    width: 100%;
    order: 3;
    border-top: 1px solid var(--sage);
    padding: 0 0 0.5rem;
  }
  .primary-nav.is-open ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .primary-nav.is-open a { padding: 8px 0; display: block; }

  /* Action buttons: row 2, right-aligned */
  .nav-action-buttons {
    width: 100%;
    order: 2;
    justify-content: flex-end;
    gap: 0.4rem;
    padding: 0.5rem 0 0.6rem;
    border-top: 1px solid var(--sage);
    margin-top: 0.5rem;
  }

  /* Slightly smaller buttons for mobile */
  .nav-btn { font-size: 10px; padding: 5px 10px; letter-spacing: 0.08em; }

  .post-navigation { padding: 1.5rem 1.25rem; }
  .comments-area { padding: 2rem 1.25rem 0; }
  .list-item { padding: 0 1.25rem 1rem; }
  .quote-block-a, .quote-block-b, .quote-block-c, .quote-block-d, .quote-block-e { margin: 1.25rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── HOOK BANNER (Template B opener) ────────────── */
.moe-hook-banner {
  background: linear-gradient(135deg, var(--dusty-rose) 0%, #c9a0a0 100%);
  padding: 1.5rem 1.75rem;
  margin: 0 0 1.75rem;
  text-align: center;
}
.moe-hook-banner p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.45;
  margin: 0;
}

/* ── HOOK BANNER Template D (blush/cream) ───────────── */
.moe-hook-banner-d {
  background: linear-gradient(135deg, #e8d0d0 0%, #f5e8cc 100%);
  border-top: 2px solid rgba(212,165,165,0.5);
  padding: 1.5rem 1.75rem;
  margin: 0 0 1.75rem;
  text-align: center;
}
.moe-hook-banner-d p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--forest);
  line-height: 1.45;
  margin: 0;
}

/* ── HOOK BANNER Template E (forest floor) ──────────── */
.moe-hook-banner-e {
  background: linear-gradient(135deg, #4a5e35 0%, #B8C4A0 100%);
  padding: 1.5rem 1.75rem;
  margin: 0 0 1.75rem;
  text-align: center;
}
.moe-hook-banner-e p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 600;
  color: var(--sage-white);
  line-height: 1.45;
  margin: 0;
}

/* ── MIC DROP ────────────────────────────────────── */
.moe-mic-drop {
  border-left: 4px solid var(--gold);
  background: var(--forest);
  padding: 1.75rem 2rem;
  margin: 1.75rem 0;
}
.moe-mic-drop .mic-drop-text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(22px, 3.5vw, 30px);
  color: var(--sage-white);
  line-height: 1.45;
  margin: 0 0 14px;
}
.moe-mic-drop .mic-drop-text .never {
  color: var(--gold);
}
.moe-mic-drop .mic-drop-sub {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0;
}

/* ── SERIES FOOTER ───────────────────────────────── */
.moe-series-footer {
  background: linear-gradient(135deg, var(--dusty-rose) 0%, #c9a0a0 100%);
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0 0;
  text-align: center;
}
.moe-series-footer .sf-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  opacity: 0.7;
  margin: 0 0 8px;
}
.moe-series-footer .sf-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--forest);
  margin: 0;
}

/* ── GLOBAL SPACING TIGHTEN ──────────────────────── */
.post-body .moe-pull-quote,
.post-body .moe-pull-quote-dark,
.post-body .moe-pull-quote-rose { margin: 1.25rem 0; }
.post-body .moe-scene-break { margin: 1.5rem 0; }
.post-body .moe-callout,
.post-body .moe-chapter { margin: 1.25rem 0; }
.post-body .moe-emphasis-word { margin: 1.5rem 0; }
.post-body .moe-emphasis-block { margin: 2rem auto; }
.post-body p { margin-bottom: 1.1em; }

/* ── HERO LAYOUT OVERRIDES (pinned two-column) ───── */
.magazine-hero-grid {
  display: grid;
  grid-template-columns: 62% 38%;
  gap: 10px;
  background: #F4F5F0;
  border-radius: 12px;
  overflow: hidden;
}

.hero-main {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.hero-main .hero-image { display: none; }

.hero-secondary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-mini {
  position: relative;
  overflow: hidden;
  background: var(--forest);
  flex: 1;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
}

.hero-mini .hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,40,32,0.92) 0%, rgba(37,40,32,0.3) 60%, transparent 100%);
}

.hero-card-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.5rem;
}

.hero-card-content .cat-label { margin-bottom: 10px; }

.hero-main .hero-card-content { padding: 2rem; }

.hero-card-content h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 36px);
  color: var(--sage-white);
  line-height: 1.2;
  margin-bottom: 0.6rem;
}
.hero-card-content h2 a { color: inherit; text-decoration: none; }
.hero-card-content h2 a:hover { color: var(--sage); }

.hero-mini .hero-card-content h2 {
  font-size: clamp(16px, 1.8vw, 20px);
}

.hero-hook {
  font-size: 14px;
  color: rgba(244,245,240,0.75);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.hero-meta {
  font-size: 11px;
  color: rgba(244,245,240,0.80);
  letter-spacing: 0.05em;
}

/* ── LOGO SIZE ───────────────────────────────────── */
.site-logo img {
  height: 140px;
  width: auto;
}

/* ── RESPONSIVE: mobile stacks hero cards ─────────── */
@media (max-width: 700px) {
  .magazine-hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-secondary {
    gap: 10px;
  }
  .hero-mini { min-height: 200px; }
}

/* ============================================================
   NAV ACTION BUTTONS (Subscribe + Contact)
   ============================================================ */

.nav-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: background-color 0.2s, color 0.2s;
  white-space: nowrap;
  line-height: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  height: 32px;
}

.nav-cta-dropdown {
  display: inline-flex;
  align-items: center;
}

.nav-cta-dropdown__toggle::after {
  line-height: 1;
}

.nav-btn--shop {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--gold);
  text-decoration: none;
}
.nav-btn--shop:hover {
  background: var(--gold);
  color: var(--forest);
}

.nav-btn--subscribe {
  background: transparent;
  color: var(--forest);
  border: 1.5px solid var(--sage);
}
.nav-btn--subscribe:hover {
  border-color: var(--fern);
  color: var(--fern);
}

.nav-btn--contact {
  background: transparent;
  color: var(--forest);
  border: 1px solid var(--sage);
}
.nav-btn--contact:hover {
  border-color: var(--fern);
  color: var(--fern);
}

/* ── Swag Shop — stable class hook so it keeps the gold CTA
   look now that it's a plain link with no dropdown children.
   Add this class to the menu item in Appearance > Menus
   (Screen Options > CSS Classes field). ──────────────────── */
#primary-menu > li.menu-swag-shop > a {
  color: var(--forest) !important;
  background: var(--gold) !important;
  border: 1.5px solid var(--gold) !important;
  border-radius: 6px !important;
  padding: 5px 12px !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  font-weight: 700 !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}
#primary-menu > li.menu-swag-shop > a:hover {
  background: var(--fern) !important;
  border-color: var(--fern) !important;
  color: var(--sage-white) !important;
}

/* ── Bling Store — gold CTA dropdown, same treatment the
   Retail Therapy button used to have, now living in the
   nav-action-buttons row next to Contact ───────────────────── */
.nav-cta-dropdown {
  position: relative;
}

.nav-cta-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--forest) !important;
  background: transparent !important;
  border: 1px solid var(--sage) !important;
  border-radius: var(--radius) !important;
  padding: 6px 14px !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  font-weight: 600 !important;
  transition: border-color 0.2s ease, color 0.2s ease !important;
}
.nav-cta-dropdown__toggle::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.8;
  vertical-align: middle;
}
.nav-cta-dropdown__toggle:hover {
  background: transparent !important;
  border-color: var(--fern) !important;
  color: var(--fern) !important;
}

.nav-cta-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 160px;
  background: var(--sage-white);
  border: 1px solid var(--sage);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(37,40,32,0.12);
  padding: 8px 0;
  list-style: none;
  margin: 0;
  z-index: 9999;
}

.nav-cta-dropdown__menu::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.nav-cta-dropdown:hover > .nav-cta-dropdown__menu,
.nav-cta-dropdown:focus-within > .nav-cta-dropdown__menu,
.nav-cta-dropdown.is-tapped > .nav-cta-dropdown__menu {
  display: block;
}

.nav-cta-dropdown__menu li {
  display: block;
  margin: 0;
  padding: 0;
}

.nav-cta-dropdown__menu li a {
  display: block;
  padding: 10px 20px;
  font-family: 'Quicksand', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-cta-dropdown__menu li a:hover {
  color: var(--gold);
  background: rgba(201,149,42,0.06);
}

@media (max-width: 768px) {
  .nav-cta-dropdown__menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    border-left: 2px solid var(--sage) !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 4px 0 4px 16px !important;
    display: block !important;
    right: auto !important;
    top: auto !important;
  }
  .nav-cta-dropdown__menu::before {
    display: none !important;
  }
  .nav-cta-dropdown__menu li a {
    padding: 6px 0 !important;
    font-size: 0.75rem !important;
  }
  .nav-cta-dropdown__toggle::after {
    display: none;
  }
}

/* ============================================================
   MODAL — SHARED STRUCTURE
   ============================================================ */

.moe-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(37, 40, 32, 0.82);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.moe-modal-overlay.is-open {
  display: flex;
}

/* Prevent body scroll when modal open */
body.modal-open {
  overflow: hidden;
}

.moe-modal-box {
  background: var(--forest);
  border: 1px solid var(--fern);
  border-radius: var(--radius);
  padding: 2.75rem 2.5rem 2.25rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.moe-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--sage);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.moe-modal-close:hover { color: var(--gold); }

.moe-modal-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.moe-modal-heading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--sage-white);
  margin: 0 0 0.6rem;
  line-height: 1.3;
}

.moe-modal-sub {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sage);
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.moe-modal-fallback {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sage);
}

/* ============================================================
   MAILERLITE FORM — inside modal
   ============================================================ */

.moe-modal-box--subscribe .mailerlite-form {
  background: transparent !important;
  padding: 0 !important;
}

.moe-modal-box--subscribe .mailerlite-form-title { display: none; }

.moe-modal-box--subscribe .mailerlite-form-description {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sage);
  margin-bottom: 1rem;
}

.moe-modal-box--subscribe .mailerlite-form-field label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
  display: block;
  margin-bottom: 4px;
}

.moe-modal-box--subscribe .mailerlite-form-field input[type="text"],
.moe-modal-box--subscribe .mailerlite-form-field input[type="email"] {
  background: var(--sage-white);
  border: 1px solid var(--sage);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: var(--radius);
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 0.75rem;
}

.moe-modal-box--subscribe .mailerlite-form-field input:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.moe-modal-box--subscribe .mailerlite-subscribe-button-container button,
.moe-modal-box--subscribe .mailerlite-subscribe-button-container input[type="submit"] {
  background: var(--gold);
  color: var(--forest);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  transition: background-color 0.2s, color 0.2s;
  margin-top: 0.25rem;
}

.moe-modal-box--subscribe .mailerlite-subscribe-button-container button:hover,
.moe-modal-box--subscribe .mailerlite-subscribe-button-container input[type="submit"]:hover {
  background: var(--fern);
  color: var(--sage-white);
}

.moe-modal-box--subscribe .mailerlite-form-response {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--sage);
  margin-top: 0.75rem;
}

/* ============================================================
   CONTACT FORM — inside modal
   ============================================================ */

.moe-contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.moe-form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.moe-form-row label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sage);
}

.moe-form-row input,
.moe-form-row textarea {
  background: var(--sage-white);
  border: 1px solid var(--sage);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 9px 12px;
  border-radius: var(--radius);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  resize: vertical;
}

.moe-form-row input:focus,
.moe-form-row textarea:focus {
  outline: 2px solid var(--gold);
  border-color: var(--gold);
}

.moe-form-submit {
  background: var(--terracotta);
  color: var(--sage-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  padding: 11px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s;
  align-self: flex-start;
}
.moe-form-submit:hover   { background: var(--fern); }
.moe-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.moe-form-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--sage);
  margin: 0;
}

.moe-form-success {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  color: var(--gold);
  margin: 0;
  padding: 1rem 0;
}

/* ============================================================
   MODAL — MOBILE
   ============================================================ */

@media (max-width: 640px) {
  .nav-btn--contact {
    display: none;
  }

  .nav-btn--subscribe {
    font-size: 10px;
    padding: 5px 10px;
  }

  .moe-modal-box {
    padding: 2rem 1.25rem 1.75rem;
  }
}


/* ============================================================
   WOOCOMMERCE — SHOP & STORE LAYOUT
   Version added: 1.2.8
   ============================================================ */

.woo-main {
    padding: 40px 0;
}

.woo-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ── Product Grid ─────────────────────────────────────────── */
/* Fully override WooCommerce float/columns-N layout system    */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    clear: none !important;
    width: 100% !important;
}

/* Kill WooCommerce clearfix pseudo-elements */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after {
    display: none !important;
    content: none !important;
}

/* ── Product Card ─────────────────────────────────────────── */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: #fff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(37,40,32,0.07) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    clear: none !important;
    display: flex !important;
    flex-direction: column !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(37,40,32,0.13);
}

/* ── Product Image ────────────────────────────────────────── */
.woocommerce ul.products li.product img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    display: block;
}

/* ── Product Title ────────────────────────────────────────── */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--forest);
    padding: 16px 16px 4px;
    margin: 0;
}

/* ── Product Price ────────────────────────────────────────── */
.woocommerce ul.products li.product .price {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    color: var(--gold);
    font-weight: 600;
    padding: 0 16px 8px;
    display: block;
}

/* ── Add to Cart Button ───────────────────────────────────── */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--forest) !important;
    color: var(--sage-white) !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 20px !important;
    margin: 0 16px 16px !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
    display: inline-block !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce button.button.alt {
    background: var(--gold) !important;
}

/* ── Shop Page Title & Meta ───────────────────────────────── */
.woocommerce-page h1.page-title,
.woocommerce .woocommerce-products-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    font-style: italic;
    color: var(--forest);
    margin-bottom: 8px;
}

.woocommerce .woocommerce-result-count {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    color: var(--fern);
    margin-bottom: 0;
}

.woocommerce .woocommerce-ordering select {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    border: 1px solid var(--sage);
    border-radius: 6px;
    padding: 6px 12px;
    color: var(--forest);
}

/* ── Breadcrumb ───────────────────────────────────────────── */
.woocommerce .woocommerce-breadcrumb {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.8rem;
    color: var(--fern);
    margin-bottom: 24px;
}

.woocommerce .woocommerce-breadcrumb a {
    color: var(--gold);
    text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
    text-decoration: underline;
}

/* ── Single Product Page ──────────────────────────────────── */
.woocommerce div.product .product_title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--forest);
    margin-bottom: 8px;
}

.woocommerce div.product .price {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 16px;
}

.woocommerce div.product .woocommerce-product-details__short-description {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--forest);
    margin-bottom: 24px;
}

/* ── Cart Page ────────────────────────────────────────────── */
.woocommerce-cart .woo-container,
.woocommerce-checkout .woo-container {
    max-width: 900px;
}

.woocommerce table.shop_table {
    font-family: 'Quicksand', sans-serif;
    border-collapse: collapse;
    width: 100%;
    border: none;
}

.woocommerce table.shop_table th {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--fern);
    padding: 12px 16px;
    border-bottom: 2px solid var(--sage);
    font-weight: 600;
}

.woocommerce table.shop_table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0ee;
    vertical-align: middle;
    font-size: 0.9rem;
}

.woocommerce table.shop_table .product-name a {
    color: var(--forest);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.05rem;
    text-decoration: none;
}

.woocommerce table.shop_table .product-name a:hover {
    color: var(--gold);
}

/* ── Checkout Page ────────────────────────────────────────── */
.woocommerce .woocommerce-billing-fields h3,
.woocommerce .woocommerce-shipping-fields h3,
.woocommerce h3#order_review_heading,
.woocommerce h3 {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--forest);
    font-size: 1.5rem;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--sage);
    padding-bottom: 8px;
}

.woocommerce form .form-row label {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--fern);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    border: 1px solid var(--sage);
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
    box-sizing: border-box;
    color: var(--forest);
    background: #fff;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    outline: none;
    border-color: var(--gold);
}

/* ── Place Order Button ───────────────────────────────────── */
#place_order {
    background: var(--gold) !important;
    color: var(--sage-white) !important;
    font-family: 'Quicksand', sans-serif !important;
    font-size: 0.9rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 16px 32px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    width: 100% !important;
    transition: background 0.2s ease !important;
}

#place_order:hover {
    background: var(--forest) !important;
}

/* ── My Account Page ──────────────────────────────────────── */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 22%;
    float: left;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 74%;
    float: right;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--fern);
    text-decoration: none;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--sage);
    transition: color 0.2s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: var(--gold);
}

/* ── Notices & Messages ───────────────────────────────────── */
.woocommerce-message,
.woocommerce-info {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    border-top-color: var(--gold) !important;
    background: #fffdf7;
}

.woocommerce-error {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.9rem;
    border-top-color: var(--terracotta) !important;
}

/* ── Mobile Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 600px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .woo-container {
        padding: 0 16px;
    }

    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
        float: none;
    }
}


/* ============================================================
   NAVIGATION — DROPDOWN & NESTED DROPDOWN MENUS
   ============================================================ */

/* All items with children need relative positioning */
#primary-menu li.menu-item-has-children {
    position: relative;
}

/* ── Level 1 Dropdown (Retail Therapy → stores) ──────────── */
#primary-menu li.menu-item-has-children > ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 180px;
    background: var(--sage-white);
    border: 1px solid var(--sage);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(37,40,32,0.12);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 9999;
}

/* Invisible hover bridge — spans the 12px gap between the parent
   button and the dropdown so hover is never lost in transit.
   Only exists while the dropdown is displayed. */
#primary-menu li.menu-item-has-children > ul.sub-menu::after {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
    background: transparent;
}

/* Arrow pointer above level 1 dropdown */
#primary-menu li.menu-item-has-children > ul.sub-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    background: var(--sage-white);
    border-left: 1px solid var(--sage);
    border-top: 1px solid var(--sage);
    transform: translateX(-50%) rotate(45deg);
}

/* Show level 1 on hover/focus */
#primary-menu li.menu-item-has-children:hover > ul.sub-menu,
#primary-menu li.menu-item-has-children:focus-within > ul.sub-menu,
#primary-menu li.menu-item-has-children.is-tapped > ul.sub-menu {
    display: block;
}

/* Level 1 dropdown items */
#primary-menu li.menu-item-has-children > ul.sub-menu > li {
    display: block;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Level 1 links */
#primary-menu li.menu-item-has-children > ul.sub-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

#primary-menu li.menu-item-has-children > ul.sub-menu > li > a:hover {
    color: var(--gold);
    background: rgba(201,149,42,0.06);
}

/* ── Level 2 Dropdown (Jewelry Store → Shop/Cart/Account) ── */
#primary-menu ul.sub-menu li.menu-item-has-children > ul.sub-menu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 160px;
    background: var(--sage-white);
    border: 1px solid var(--sage);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(37,40,32,0.12);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    z-index: 10000;
}

/* Show level 2 on hover */
#primary-menu ul.sub-menu li.menu-item-has-children:hover > ul.sub-menu,
#primary-menu ul.sub-menu li.menu-item-has-children:focus-within > ul.sub-menu,
#primary-menu ul.sub-menu li.menu-item-has-children.is-tapped > ul.sub-menu {
    display: block;
}

/* Level 2 links */
#primary-menu ul.sub-menu li.menu-item-has-children > ul.sub-menu li a {
    display: block;
    padding: 10px 20px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease, background 0.15s ease;
}

#primary-menu ul.sub-menu li.menu-item-has-children > ul.sub-menu li a:hover {
    color: var(--gold);
    background: rgba(201,149,42,0.06);
}

/* ── Arrow indicators ─────────────────────────────────────── */

/* Down arrow on top-level parent (Retail Therapy) */
#primary-menu > li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.65rem;
    opacity: 0.6;
    vertical-align: middle;
}

/* Right arrow on nested parent (Jewelry Store) */
#primary-menu ul.sub-menu li.menu-item-has-children > a::after {
    content: ' ›';
    font-size: 0.9rem;
    opacity: 0.5;
    margin-left: 4px;
}

/* ── Retail Therapy — primary CTA (filled gold) ──────────── */
#primary-menu > li.menu-item-has-children > a {
    color: var(--forest) !important;
    background: var(--gold) !important;
    border: 1.5px solid var(--gold) !important;
    border-radius: 6px !important;
    padding: 5px 12px !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
    font-weight: 700 !important;
    transition: background 0.2s ease, color 0.2s ease !important;
}

#primary-menu > li.menu-item-has-children > a:hover {
    background: var(--fern) !important;
    border-color: var(--fern) !important;
    color: var(--sage-white) !important;
}

/* Down arrow inside filled button */
#primary-menu > li.menu-item-has-children > a::after {
    content: ' ▾';
    font-size: 0.65rem;
    opacity: 0.8;
    vertical-align: middle;
}

/* ── Mobile — flatten both levels ────────────────────────── */
@media (max-width: 768px) {
    #primary-menu li.menu-item-has-children > ul.sub-menu,
    #primary-menu ul.sub-menu li.menu-item-has-children > ul.sub-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid var(--sage) !important;
        border-radius: 0 !important;
        background: transparent !important;
        padding: 4px 0 4px 16px !important;
        display: block !important;
        left: auto !important;
        top: auto !important;
    }

    #primary-menu li.menu-item-has-children > ul.sub-menu::before,
    #primary-menu li.menu-item-has-children > ul.sub-menu::after {
        display: none !important;
    }

    #primary-menu li.menu-item-has-children > ul.sub-menu > li > a,
    #primary-menu ul.sub-menu li.menu-item-has-children > ul.sub-menu li a {
        padding: 6px 0 !important;
        font-size: 0.75rem !important;
    }

    #primary-menu > li.menu-item-has-children > a::after,
    #primary-menu ul.sub-menu li.menu-item-has-children > a::after {
        display: none;
    }
}
