/*
Theme Name: Markyana
Theme URI: https://markyana.com
Author: Yana
Description: Warm Rose Garden — a personal universe. Faith, food, learning, travel, and everything in between.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: markyana
*/

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:        #FEF7F4;
  --bg2:       #FAF0EB;
  --white:     #FFFFFF;
  --peach:     #F2A882;
  --rose:      #C85C6E;
  --rose-lt:   #E08898;
  --rose-pale: #FBDFE4;
  --dusty:     #D4A0A8;
  --gold:      #D4A050;
  --mauve:     #9A6878;
  --cream:     #F5E8E2;
  --sand:      #EDD8CE;
  --ink:       #2E1A20;
  --ink-soft:  #7A5060;
  --mint:      #90C4B0;
  --mint-lt:   #D0EDE5;
  --radius:    22px;
  --radius-sm: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4, h5 {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ── NAV ───────────────────────────────────────────────── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: var(--white);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 2px 20px rgba(200,92,110,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  letter-spacing: 0.02em;
}

.nav-logo span { color: var(--rose); font-style: italic; }

.nav-menu {
  display: flex;
  gap: 28px;
  list-style: none;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
}

.nav-menu li a:hover { color: var(--rose); }

.nav-cta {
  background: var(--rose);
  color: white;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--rose-lt); color: white; }

/* Hamburger — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: 0 -10px 0 0;
  color: var(--ink);
  z-index: 2;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.site-nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* CTA lives inside the menu only at mobile — hide the list-item version on desktop */
.nav-menu-cta { display: none; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(680px, 82vh);
  padding: 0 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  right: -5%;
  top: -10%;
  width: 55%;
  height: 110%;
  background: var(--rose-pale);
  border-radius: 60% 0 0 50%;
  z-index: 0;
  animation: blob-hero 12s ease-in-out infinite;
}

@keyframes blob-hero {
  0%, 100% { border-radius: 60% 0 0 50%; }
  50% { border-radius: 50% 0 0 60%; }
}

.hero-left {
  position: relative;
  z-index: 2;
  padding: 40px 60px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3.5rem, 6vw, 5.8rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero-title .yana {
  display: block;
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 380px;
  line-height: 1.8;
  margin-bottom: 28px;
}

.faith-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border-radius: 18px;
  padding: 16px 20px;
  max-width: 400px;
  box-shadow: 0 4px 20px rgba(200,92,110,0.1);
  margin-bottom: 32px;
}

.faith-cross {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--rose);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.faith-text .faith-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--mauve);
  margin-bottom: 3px;
}

.faith-text .faith-quote {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.45;
}

.faith-text .faith-ref {
  font-size: 0.82rem;
  color: var(--mauve);
  margin-top: 3px;
}

.hero-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-tag {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 50px;
  border: 1.5px solid var(--rose-pale);
  color: var(--ink-soft);
  background: white;
  transition: all 0.2s;
  cursor: pointer;
}

.hero-tag:hover, .hero-tag.active {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
}

/* Hero Right */
.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

.hero-photo-outer { position: relative; }

.hero-photo {
  width: 300px;
  height: 420px;
  border-radius: 200px 200px 0 0;
  background: var(--sand);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

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

.hero-photo-placeholder {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--mauve);
  font-size: 0.85rem;
}

.photo-chip {
  position: absolute;
  background: white;
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.09);
}

.photo-chip.c1 { top: 40px; right: -65px; }
.photo-chip.c2 { top: 170px; left: -75px; }
.photo-chip.c3 { bottom: 80px; right: -60px; }

.chip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--mauve);
  margin-bottom: 2px;
}

.chip-value {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--ink);
}

/* ── MARQUEE ───────────────────────────────────────────── */
.marquee-strip {
  background: var(--rose);
  padding: 13px 0;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 28px;
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

.marquee-item::after { content: '✦'; color: rgba(255,255,255,0.35); }

/* ── SECTIONS ──────────────────────────────────────────── */
.section {
  padding: 72px 56px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: 2.5rem;
  font-weight: 400;
}

.section-title em { font-style: italic; color: var(--rose); }

.section-subtitle {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-left: 10px;
}

.see-all {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ── BENTO GRID ────────────────────────────────────────── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

/* When cards are wrapped in <a> links, inherit the grid span */
.bento > a:has(.card-blog)   { grid-column: span 4; }
.bento > a:has(.card-recipe) { grid-column: span 3; }
.bento > a:has(.card-travel) { grid-column: span 5; }

/* ── CARDS ─────────────────────────────────────────────── */
.card {
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(200,92,110,0.12);
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.card-live-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  animation: live-pulse 2s infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  line-height: 1.22;
  margin-bottom: 8px;
}

.card-sub {
  font-size: 0.9rem;
  line-height: 1.65;
}

.card-emoji {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}

.card-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.card:hover .card-arrow { opacity: 1; }

/* CARD THEMES */
.card-faith {
  grid-column: span 4;
  min-height: 290px;
  background: var(--ink);
  color: white;
}
.card-faith .card-tag  { background: rgba(212,160,80,0.16); color: var(--gold); }
.card-faith .card-title { color: white; font-style: italic; font-size: 1.65rem; }
.card-faith .card-sub  { color: rgba(255,255,255,0.5); }
.card-faith .faith-verse { font-family: 'Instrument Serif', serif; font-style: italic; font-size: 1.1rem; color: var(--dusty); line-height: 1.5; margin-top: 14px; }
.card-faith .faith-ref  { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.2); margin-top: 4px; }
.card-faith .card-arrow { background: var(--rose); color: white; }

.card-current {
  grid-column: span 5;
  min-height: 290px;
  background: var(--peach);
  color: white;
}
.card-current .card-tag  { background: rgba(255,255,255,0.25); color: white; }
.card-current .card-title { color: white; font-style: italic; font-size: 1.75rem; }
.card-current .card-sub  { color: rgba(255,255,255,0.8); }
.card-current .card-arrow { background: white; color: var(--peach); }

.card-learning {
  grid-column: span 3;
  min-height: 290px;
  background: var(--cream);
}
.card-learning .card-tag { background: var(--rose-pale); color: var(--mauve); }
.card-learning .card-title { font-style: italic; }
.prog-bar-wrap { background: var(--rose-pale); border-radius: 4px; height: 5px; margin-top: 14px; }
.prog-bar-fill { height: 100%; border-radius: 4px; background: var(--rose); }
.prog-bar-label { font-size: 0.74rem; color: var(--mauve); margin-top: 5px; }

.card-blog {
  grid-column: span 4;
  min-height: 200px;
  background: var(--rose);
  color: white;
}
.card-blog .card-tag   { background: rgba(255,255,255,0.2); color: white; }
.card-blog .card-title  { color: white; font-style: italic; font-size: 1.55rem; }
.card-blog .card-sub   { color: rgba(255,255,255,0.8); }
.card-blog .card-arrow  { background: white; color: var(--rose); }
.card-blog .post-date   { font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }

.card-recipe {
  grid-column: span 3;
  min-height: 200px;
  background: var(--sand);
}
.card-recipe .card-tag  { background: var(--bg2); color: var(--mauve); }
.card-recipe .card-title { font-style: italic; font-size: 1.25rem; }
.card-recipe .card-arrow { background: var(--rose); color: white; }

.card-travel {
  grid-column: span 5;
  min-height: 200px;
  background: var(--mint);
  color: white;
}
.card-travel .card-tag  { background: rgba(255,255,255,0.25); color: white; }
.card-travel .card-title { color: white; font-style: italic; }
.card-travel .card-sub  { color: rgba(255,255,255,0.8); }
.card-travel .card-arrow { background: white; color: var(--mint); }
.card-travel .travel-flag { font-size: 2rem; margin-bottom: 8px; }

/* ── TOPIC HEADER (reusable across all topic pages) ────── */
.topic-header {
  position: relative;
  padding: 72px 56px 56px;
  overflow: hidden;
  background: var(--bg2);
}

.topic-header-bg {
  position: absolute;
  top: -20%;
  right: -8%;
  width: 55%;
  height: 140%;
  background: var(--rose-pale);
  border-radius: 60% 0 0 50%;
  z-index: 0;
  animation: blob-hero 14s ease-in-out infinite;
}

.topic-header-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.topic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  font-weight: 500;
  margin-bottom: 18px;
}

.topic-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.topic-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 5.2vw, 4.8rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 800px;
}

.topic-title em {
  font-style: italic;
  color: var(--rose);
}

.topic-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 40px;
}

.topic-intro p:last-child { margin-bottom: 0; }

.topic-blocks {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, 1fr);
}

/* responsive block sizing: each block spans a fair slice of 12 cols
   based on total count */
.topic-blocks--1 .topic-block { grid-column: span 12; }
.topic-blocks--2 .topic-block { grid-column: span 6; }
.topic-blocks--3 .topic-block { grid-column: span 4; }
.topic-blocks--4 .topic-block { grid-column: span 3; }
.topic-blocks--5 .topic-block { grid-column: span 3; }
.topic-blocks--5 .topic-block:first-child { grid-column: span 12; }
.topic-blocks--6 .topic-block { grid-column: span 4; }

.topic-block {
  position: relative;
  display: block;
  border-radius: var(--radius);
  padding: 26px 26px 28px;
  min-height: 180px;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  text-decoration: none;
  color: inherit;
}

a.topic-block { cursor: pointer; }
a.topic-block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(200,92,110,0.14);
}

.topic-block-emoji {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 10px;
  line-height: 1;
}

.topic-block-label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  background: rgba(255,255,255,0.35);
}

.topic-block-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.45rem;
  line-height: 1.22;
  font-style: italic;
  margin-bottom: 6px;
}

.topic-block-sub {
  font-size: 0.9rem;
  line-height: 1.65;
  opacity: 0.82;
  margin-bottom: 0;
}

.topic-block-prog {
  background: rgba(255,255,255,0.4);
  border-radius: 4px;
  height: 5px;
  margin-top: 14px;
  overflow: hidden;
}
.topic-block-prog-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--rose);
}

.topic-block-arrow {
  position: absolute;
  bottom: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  background: rgba(255,255,255,0.9);
  color: var(--rose);
  opacity: 0;
  transition: opacity 0.2s;
}
a.topic-block:hover .topic-block-arrow { opacity: 1; }

/* THEME VARIANTS */
.topic-block--peach { background: var(--peach); color: white; }
.topic-block--peach .topic-block-label { background: rgba(255,255,255,0.25); color: white; }
.topic-block--peach .topic-block-prog-fill { background: white; }
.topic-block--peach .topic-block-arrow { color: var(--peach); }

.topic-block--rose { background: var(--rose); color: white; }
.topic-block--rose .topic-block-label { background: rgba(255,255,255,0.22); color: white; }
.topic-block--rose .topic-block-prog-fill { background: white; }
.topic-block--rose .topic-block-arrow { color: var(--rose); }

.topic-block--mint { background: var(--mint); color: white; }
.topic-block--mint .topic-block-label { background: rgba(255,255,255,0.25); color: white; }
.topic-block--mint .topic-block-prog-fill { background: white; }
.topic-block--mint .topic-block-arrow { color: var(--mint); }

.topic-block--ink { background: var(--ink); color: white; }
.topic-block--ink .topic-block-label { background: rgba(212,160,80,0.18); color: var(--gold); }
.topic-block--ink .topic-block-title { color: white; }
.topic-block--ink .topic-block-arrow { background: var(--rose); color: white; }

.topic-block--cream { background: var(--cream); color: var(--ink); }
.topic-block--cream .topic-block-label { background: var(--rose-pale); color: var(--mauve); }

.topic-block--sand { background: var(--sand); color: var(--ink); }
.topic-block--sand .topic-block-label { background: var(--bg2); color: var(--mauve); }

/* grid below the topic header */
.section--topic-grid { padding-top: 56px; }

.post-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: var(--rose-pale);
}

.post-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 8px 0;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--ink-soft);
}
.empty-state-emoji { font-size: 3rem; margin-bottom: 14px; }
.empty-state-text { font-size: 1.05rem; font-style: italic; }

/* ── INNER PAGES ───────────────────────────────────────── */
.page-hero {
  background: var(--ink);
  color: white;
  padding: 80px 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  right: 10%;
  top: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,92,110,0.2) 0%, transparent 70%);
}

.page-hero-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dusty);
  margin-bottom: 16px;
}

.page-hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-style: italic;
  color: white;
  margin-bottom: 16px;
}

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 500px;
  line-height: 1.75;
}

.page-content {
  padding: 64px 56px;
  max-width: 860px;
}

.page-content h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  margin-top: 40px;
  color: var(--rose);
  font-style: italic;
}

.page-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  margin-bottom: 20px;
}

/* ── BLOG / ARCHIVE ────────────────────────────────────── */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 0 56px 72px;
}

.post-card {
  background: white;
  border: 1px solid var(--rose-pale);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(200,92,110,0.1);
}

.post-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--cream);
}

.post-card-body {
  padding: 22px;
}

.post-card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--rose);
  margin-bottom: 8px;
}

.post-card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-card-date {
  font-size: 0.78rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
}

/* ── SINGLE POST ───────────────────────────────────────── */
.single-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 56px;
}

.single-content h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-style: italic;
  margin-bottom: 20px;
}

.single-content .entry-content {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--ink-soft);
}

.single-content .entry-content p { margin-bottom: 1.5rem; }
.single-content .entry-content h2 { color: var(--rose); font-style: italic; margin: 2rem 0 1rem; }
.single-content .entry-content img { border-radius: var(--radius-sm); margin: 2rem 0; }
.single-content .entry-content blockquote {
  border-left: 3px solid var(--rose);
  padding: 16px 24px;
  background: var(--rose-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  margin: 2rem 0;
}

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  padding: 36px 56px;
  border-top: 1px solid var(--rose-pale);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.2rem;
  font-style: italic;
}

.footer-logo span { color: var(--rose); }

.footer-text {
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.footer-top {
  font-size: 0.82rem;
  color: var(--rose);
  cursor: pointer;
}

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 900px) {
  .site-nav { padding: 14px 20px; }
  .nav-toggle { display: block; }
  /* Hide the standalone desktop CTA — it moves into the menu on mobile */
  .nav-cta { display: none; }
  /* Collapsed by default on mobile */
  .nav-menu { display: none; }
  /* Opened via the hamburger — drops down under the nav as a panel */
  .site-nav.is-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    background: white;
    padding: 12px 20px 18px;
    gap: 0;
    border-radius: 0 0 18px 18px;
    border: 1px solid var(--rose-pale);
    border-top: none;
    box-shadow: 0 14px 32px rgba(200,92,110,0.12);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    z-index: 20;
  }
  .site-nav.is-open .nav-menu li { display: block; }
  .site-nav.is-open .nav-menu li a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--rose-pale);
    color: var(--ink);
  }
  .site-nav.is-open .nav-menu li:last-child a { border-bottom: none; }
  .nav-menu-cta { display: block !important; margin-top: 8px; }
  .site-nav.is-open .nav-menu-cta a {
    background: var(--rose);
    color: white !important;
    text-align: center;
    border-radius: 50px;
    padding: 12px 20px !important;
    border-bottom: none !important;
  }

  .hero { grid-template-columns: 1fr; padding: 32px 24px; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 40px 0; }
  .section { padding: 48px 24px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card-faith, .card-current, .card-learning,
  .card-blog, .card-recipe, .card-travel,
  .bento > a:has(.card-blog),
  .bento > a:has(.card-recipe),
  .bento > a:has(.card-travel) { grid-column: span 2; }
  .posts-grid { grid-template-columns: 1fr; padding: 0 24px 48px; }
  .single-content { padding: 40px 24px; }
  .page-hero { padding: 56px 24px; }
  .site-footer { flex-direction: column; gap: 12px; text-align: center; padding: 24px; }
  .topic-header { padding: 48px 24px 40px; }
  .topic-blocks { grid-template-columns: 1fr 1fr; }
  .topic-blocks--1 .topic-block,
  .topic-blocks--2 .topic-block,
  .topic-blocks--3 .topic-block,
  .topic-blocks--4 .topic-block,
  .topic-blocks--5 .topic-block,
  .topic-blocks--5 .topic-block:first-child,
  .topic-blocks--6 .topic-block { grid-column: span 2; }
}

@media (max-width: 480px) {
  .bento { grid-template-columns: 1fr; }
  .card-faith, .card-current, .card-learning,
  .card-blog, .card-recipe, .card-travel,
  .bento > a:has(.card-blog),
  .bento > a:has(.card-recipe),
  .bento > a:has(.card-travel) { grid-column: span 1; }
  .topic-blocks { grid-template-columns: 1fr; }
  .topic-blocks--1 .topic-block,
  .topic-blocks--2 .topic-block,
  .topic-blocks--3 .topic-block,
  .topic-blocks--4 .topic-block,
  .topic-blocks--5 .topic-block,
  .topic-blocks--5 .topic-block:first-child,
  .topic-blocks--6 .topic-block { grid-column: span 1; }
}

/* ── WORDPRESS CORE ────────────────────────────────────── */
.wp-block-image img { border-radius: var(--radius-sm); }
.aligncenter { text-align: center; margin: 0 auto; }
.wp-caption-text { font-size: 0.78rem; color: var(--ink-soft); text-align: center; margin-top: 6px; }

/* ── AUTHOR BOX (bottom of single posts) ──────────────── */
.author-box {
  margin: 56px 0 16px;
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--bg2) 0%, #FCE9E0 100%);
  border: 1px solid var(--rose-pale);
  border-radius: 22px;
}
.author-box__inner {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.author-box__photo {
  flex: 0 0 auto;
}
.author-box__img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid white;
  box-shadow: 0 4px 16px rgba(200,92,110,0.12);
}
.author-box__text {
  flex: 1 1 auto;
  min-width: 0;
}
.author-box__eyebrow {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rose);
  margin: 0 0 4px;
  font-weight: 600;
}
.author-box__name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 400;
  font-style: italic;
}
.author-box__bio {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.author-box__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.author-box__link {
  display: inline-block;
  padding: 6px 14px;
  background: white;
  color: var(--rose);
  border: 1px solid var(--rose-pale);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
}
.author-box__link:hover {
  background: var(--rose);
  color: white;
  border-color: var(--rose);
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .author-box { padding: 24px; }
  .author-box__inner { flex-direction: column; gap: 16px; }
  .author-box__img { width: 72px; height: 72px; }
  .author-box__name { font-size: 1.6rem; }
}

/* ── TOPIC PICKER ─────────────────────────────────────── */

.topic-picker {
  position: relative;
  min-height: 80vh;
  padding: 72px 56px;
  overflow: hidden;
  background: var(--bg2);
}
.topic-picker-bg {
  position: absolute;
  top: -20%; right: -8%;
  width: 55%; height: 140%;
  background: var(--rose-pale);
  border-radius: 60% 0 0 50%;
  z-index: 0;
  animation: blob-hero 14s ease-in-out infinite;
}
.topic-picker-inner {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
}
.topic-picker-header { margin-bottom: 48px; }
.topic-picker-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 16px;
}
.topic-picker-title em { font-style: italic; color: var(--rose); }
.topic-picker-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 560px;
}

/* cards grid */
.topic-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.topic-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rose-pale);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.3s;
}
.topic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,92,110,0.1);
}
.topic-card--published { border-color: var(--mint); }
.topic-card--skipped   { opacity: 0.45; pointer-events: none; }

.topic-card-header {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topic-card-header--peach { background: var(--peach); color: white; }
.topic-card-header--rose  { background: var(--rose);  color: white; }
.topic-card-header--mint  { background: var(--mint);  color: white; }
.topic-card-header--ink   { background: var(--ink);   color: white; }
.topic-card-header--cream { background: var(--cream); color: var(--ink); }
.topic-card-header--sand  { background: var(--sand);  color: var(--ink); }
.topic-card-number {
  font-family: 'Instrument Serif', serif;
  font-size: 1.1rem;
  font-style: italic;
  opacity: 0.7;
}
.topic-card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  opacity: 0.85;
}

.topic-card-body { padding: 20px; }
.topic-card-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--ink);
}
.topic-card-excerpt {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.topic-card-keyword { font-size: 0.82rem; color: var(--mauve); }
.topic-card-keyword-label { text-transform: uppercase; letter-spacing: 0.1em; }
.topic-card-keyword-value { font-weight: 600; color: var(--rose); }

.topic-card-actions {
  padding: 14px 20px;
  border-top: 1px solid var(--rose-pale);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* buttons */
.topic-picker-btn {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.topic-picker-btn--primary { background: var(--rose); color: white; }
.topic-picker-btn--primary:hover { background: var(--rose-lt); }
.topic-picker-btn--ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--rose-pale);
}
.topic-picker-btn--ghost:hover { border-color: var(--rose); color: var(--rose); }
.topic-picker-btn--success { background: var(--mint); color: white; }
.topic-picker-btn--muted { background: var(--cream); color: var(--ink-soft); cursor: default; }
.topic-picker-btn:disabled { opacity: 0.6; cursor: wait; }

/* loading */
.topic-picker-loading { text-align: center; padding: 80px 0; color: var(--ink-soft); }
.topic-picker-spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--rose-pale);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* summary */
.topic-picker-summary {
  margin-top: 40px;
  text-align: center;
  padding: 48px 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--rose-pale);
}
.topic-picker-summary-title {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 8px;
}
.topic-picker-summary-text {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

@media (max-width: 900px) {
  .topic-picker { padding: 48px 24px; }
  .topic-cards  { grid-template-columns: 1fr; }
}
