/*
Theme Name:   Start With Ideas
Theme URI:    https://startwithideas.com
Author:       Start With Ideas Editorial
Author URI:   https://startwithideas.com
Description:  A warm, editorial lifestyle blog theme covering Fashion, Lifestyle, Travel and Beauty stories. Converted from the "start with ideas" React design with editable content, meta boxes, theme strings and a newsletter widget.
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.6
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  startwithideas
Tags:         blog, editorial, lifestyle, one-column, two-columns, custom-menu, custom-colors, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* =========================================================
   1. FONTS — the source design uses no web-font import at all; it renders
   with the browser/OS's native font stack (Tailwind's default font-serif /
   font-sans stacks). No external requests, no FOUT/FOIT, matches exactly.
   ========================================================= */

/* =========================================================
   2. DESIGN TOKENS — CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  /* Brand palette (Dynamic Editorial Cute Palette) */
  --color-cream: #FCF8F5;
  --color-cream-soft: #FAF5F2;
  --color-cream-alt: #F1E9E4;
  --color-forest: #2A3E34;
  --color-forest-light: #415C4E;
  --color-forest-deep: #1E2D25;
  --color-matcha: #8FB986;
  --color-oatmeal: #D8CDCE;
  --color-blush: #DF9898;
  --color-blush-dark: #C37A7A;
  --color-blush-tint: #FAF2F2;
  --color-blush-tint-soft: #FDF6F6;
  --color-badge-dark: #13251E;
  --color-white: #FFFFFF;

  /* Category accent tints */
  --color-badge-fashion-bg: #FAF2F2;
  --color-badge-fashion-text: #DF9898;
  --color-badge-fashion-border: rgba(223, 152, 152, 0.4);
  --color-badge-lifestyle-bg: #EFF5EE;
  --color-badge-lifestyle-text: #5C8754;
  --color-badge-lifestyle-border: rgba(143, 185, 134, 0.4);
  --color-badge-travel-bg: #F4EFF6;
  --color-badge-travel-text: #8C6A9E;
  --color-badge-travel-border: rgba(211, 195, 217, 0.4);
  --color-badge-beauty-bg: #FAF8F0;
  --color-badge-beauty-text: #A0823F;
  --color-badge-beauty-border: rgba(234, 211, 162, 0.4);

  /* Neutral / stone scale (warm grays, never cold) */
  --color-stone-50: #FAF5F2;
  --color-stone-100: #F5F3EF;
  --color-stone-200: #EDE6E1;
  --color-stone-300: #D8CDCE;
  --color-stone-400: #A8A29E;
  --color-stone-500: #78716C;
  --color-stone-600: #4A6356;
  --color-stone-700: #4A6356; /* source overrides .text-stone-700/.text-gray-600/.text-gray-700 to this Soft Forest Sage, not real Tailwind stone-700 */
  --color-stone-800: #292524;
  --color-stone-900: #1C1917;

  /* Text */
  --color-text: #2A3E34;
  --color-text-muted: #4A6356;
  --color-text-soft: #78716C;
  --color-text-on-dark: #F5F3EF;

  /* Typography */
  --font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  /* Radii */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(42, 62, 52, 0.04);
  --shadow-sm: 0 2px 8px rgba(42, 62, 52, 0.06);
  --shadow-md: 0 8px 24px rgba(42, 62, 52, 0.10);
  --shadow-lg: 0 20px 50px rgba(42, 62, 52, 0.12);
  --shadow-xl: 0 25px 60px rgba(42, 62, 52, 0.16);

  /* Layout */
  --container-max: 1280px;
  --container-narrow: 900px;
  --container-prose: 768px;
  --header-height: 80px;
}

/* =========================================================
   3. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--color-cream) !important;
  color: var(--color-text) !important;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  antialiased: true;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.site-wrapper { overflow-x: hidden; display: flex; flex-direction: column; flex: 1 1 auto; }
#page-content { overflow-x: hidden; flex: 1 0 auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select, button { font-family: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-forest);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.2;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}
.container--narrow { max-width: var(--container-narrow); }
.container--prose { max-width: var(--container-prose); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 0;
  background: var(--color-forest);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 10000;
  border-radius: 0 0 var(--radius-md) 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

/* =========================================================
   4. BUTTONS & PILLS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--color-blush); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-blush-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-dark { background: var(--color-forest); color: #fff; }
.btn-dark:hover { background: var(--color-forest-light); }
.btn-outline { background: transparent; border: 1px solid var(--color-forest); color: var(--color-forest); }
.btn-outline:hover { background: var(--color-forest); color: #fff; }

.page-eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-blush);
  background: var(--color-blush-tint);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-lifestyle,.badge-fashion,.badge-travel,.badge-beauty {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: capitalize;
  border: 1px solid transparent;
}
.badge-lifestyle { background: var(--color-badge-lifestyle-bg); color: var(--color-badge-lifestyle-text); border-color: var(--color-badge-lifestyle-border); }
.badge-fashion   { background: var(--color-badge-fashion-bg);   color: var(--color-badge-fashion-text);   border-color: var(--color-badge-fashion-border); }
.badge-travel    { background: var(--color-badge-travel-bg);    color: var(--color-badge-travel-text);    border-color: var(--color-badge-travel-border); }
.badge-beauty    { background: var(--color-badge-beauty-bg);    color: var(--color-badge-beauty-text);    border-color: var(--color-badge-beauty-border); }

/* =========================================================
   5. SITE HEADER
   ========================================================= */
.site-header {
  background: var(--color-forest);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(183, 183, 164, 0.2);
  box-shadow: var(--shadow-md);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: none;
  border: none;
  padding: 0;
}
.site-branding__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-blush-tint-soft);
  border: 1px solid rgba(223, 152, 152, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.site-branding:hover .site-branding__icon { transform: scale(1.1); }
.site-branding__icon svg { width: 20px; height: 20px; color: var(--color-blush); }
.site-branding__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
@media (min-width: 640px) {
  .site-branding__title { font-size: 1.5rem; }
}
.site-branding__title .part-1, .footer-brand__title .part-1 { color: #fff; }
.site-branding__title .part-2, .footer-brand__title .part-2 { color: var(--color-matcha); font-style: normal; margin: 0 1px; }
.site-branding__title .part-3, .footer-brand__title .part-3 { color: var(--color-blush); font-weight: 700; }

.primary-navigation { display: flex; align-items: center; gap: 2rem; }
.primary-navigation a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(221, 237, 234, 0.8);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.primary-navigation a:hover,
.primary-navigation a.current-menu-item,
.primary-navigation a.active { color: #fff; border-bottom-color: var(--color-blush); }

.header-actions { display: flex; align-items: center; gap: 1rem; }

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-blush);
  transition: background 0.2s ease;
}
.subscribe-btn:hover { background: var(--color-blush-dark); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  padding: 0.5rem;
  border-radius: 50%;
}
.mobile-menu-toggle:hover { background: rgba(255,255,255,0.1); }

.mobile-menu {
  display: none;
  background: var(--color-forest);
  border-bottom: 1px solid rgba(183,183,164,0.2);
  padding: 1.5rem 1.25rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  color: rgba(255,255,255,0.9);
}
.mobile-menu a:hover { color: var(--color-blush); }

/* Hidden by default (the header's own Subscribe pill already covers
   640px+); only shown below 640px where that pill is hidden — see the
   matching @media (max-width: 639px) rule further down. !important guards
   against the ".btn { display: inline-flex }" utility class (applied on
   the same link) fighting this over source order/specificity. */
.mobile-menu__subscribe { display: none !important; width: 100%; margin-top: 1rem; }

/* Logo + Subscribe pill + hamburger (no full nav) persists through tablet
   widths up to 900px; the full primary nav only takes over above that. */
@media (max-width: 900px) {
  .primary-navigation { display: none; }
  .mobile-menu-toggle { display: inline-flex; }
}
@media (max-width: 639px) {
  .header-actions .subscribe-btn { display: none; }
  .mobile-menu__subscribe { display: inline-flex !important; }
}

/* --- Language switcher (Polylang) — desktop dropdown ------------------ */
.lang-switcher { position: relative; }
.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lang-switcher__toggle:hover,
.lang-switcher__toggle[aria-expanded="true"] {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.32);
}
.lang-switcher__toggle svg { flex-shrink: 0; transition: transform 0.2s ease; }
.lang-switcher__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 170px;
  max-height: 320px;
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.4rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
.lang-switcher.is-open .lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switcher__menu li + li { margin-top: 2px; }
.lang-switcher__menu .lang-switcher__item {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.lang-switcher__menu .lang-switcher__code {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-forest);
}
.lang-switcher__menu .lang-switcher__name {
  font-size: 0.8rem;
  color: var(--color-stone-500);
}
.lang-switcher__menu .lang-switcher__item:hover { background: var(--color-cream-alt); }
.lang-switcher__menu .lang-switcher__item.is-current { background: var(--color-forest); }
.lang-switcher__menu .lang-switcher__item.is-current .lang-switcher__code,
.lang-switcher__menu .lang-switcher__item.is-current .lang-switcher__name { color: #fff; }

/* --- Language switcher — inline pills inside the open mobile panel ---- */
.lang-switcher--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.lang-switcher--inline .lang-switcher__item {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
}
.lang-switcher--inline .lang-switcher__item.is-current {
  background: var(--color-blush);
  border-color: var(--color-blush);
  color: #fff;
}

/* The header dropdown switcher hides under the 900px breakpoint where the
   hamburger takes over — .lang-switcher--inline (inside .mobile-menu)
   covers that case instead, so there's never a duplicate. */
@media (max-width: 900px) {
  .header-actions > .lang-switcher { display: none; }
}

/* =========================================================
   6. HOMEPAGE HERO
   ========================================================= */
.home-hero { padding: 3rem 0; }
@media (min-width: 768px) { .home-hero { padding: 4rem 0; } }
.home-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .home-hero__grid { grid-template-columns: 5fr 7fr; }
}

.home-hero__left { display: flex; flex-direction: column; justify-content: center; gap: 1.5rem; }
.home-hero__eyebrow-row { margin-bottom: 1rem; }
.home-hero__eyebrow-row .page-eyebrow { font-size: 0.625rem; letter-spacing: 0.1em; padding: 0.375rem 0.75rem; margin-bottom: 0; }
.home-hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.25rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .home-hero__title { font-size: 3rem; } }
.home-hero__title .highlight {
  text-decoration: underline;
  text-decoration-color: var(--color-blush);
  text-decoration-style: solid;
  text-underline-offset: 4px;
}
.home-hero__subtitle {
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
}
.home-hero__cta { display: flex; gap: 0.75rem; padding-top: 0.5rem; }
.home-hero__cta .btn { flex: 1; text-align: center; padding: 1rem 1.5rem; }

.home-hero__cats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .home-hero__cats { grid-template-columns: 1fr 1fr; } }
.home-cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #fff;
  border-radius: 0;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}
@media (min-width: 640px) { .home-cat-card { aspect-ratio: 1 / 1; } }
@media (min-width: 768px) { .home-cat-card { aspect-ratio: 16 / 11; } }
@media (min-width: 1024px) { .home-cat-card { aspect-ratio: 4 / 3; } }
.home-cat-card:hover { box-shadow: var(--shadow-md); }
/* Faint inset border, invisible by default, only appearing on hover — matches
   the source's separate "border-white/0 group-hover:border-white/10" div. */
.home-cat-card::after {
  content: '';
  position: absolute;
  inset: 1rem;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.2s ease;
  z-index: 2;
}
.home-cat-card:hover::after { border-color: rgba(255,255,255,0.1); }
.home-cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.home-cat-card:hover img { transform: scale(1.05); }
.home-cat-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42,62,52,0.8), rgba(42,62,52,0.2) 60%, transparent);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}
.home-cat-card:hover .home-cat-card__overlay { opacity: 1; }
.home-cat-card__label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  z-index: 1;
}
.home-cat-card__label h3 { color: #fff; font-size: 1.25rem; font-weight: 700; margin: 0; transition: color 0.2s ease; }
.home-cat-card:hover .home-cat-card__label h3 { color: #FFEDD5; }
.home-cat-card__arrow {
  width: 24px; height: 24px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.home-cat-card:hover .home-cat-card__arrow { border-color: var(--color-blush); background: rgba(223,152,152,0.2); }

/* =========================================================
   7. CATEGORY SECTIONS (homepage + archive post grids)
   ========================================================= */
.category-section {
  padding: 2.5rem 0;
}
@media (min-width: 768px) { .category-section { padding: 4rem 0; } }
.category-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) { .category-section__head { margin-bottom: 2rem; } }
.category-section__head h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}
@media (min-width: 640px) {
  .category-section__head h2 { font-size: 1.875rem; }
}
.category-section__head .kicker {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-blush);
  margin-top: 0.25rem;
}
.category-section__more {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-forest-light);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}
.category-section__more svg { width: 16px; height: 16px; flex-shrink: 0; }
.category-section__more:hover { color: var(--color-blush); }

.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .post-grid { gap: 2rem; } }
.post-grid--2 { grid-template-columns: 1fr; }
.post-grid--3 { grid-template-columns: 1fr; }
.post-grid--4 { grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) {
  .post-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .post-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .post-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .post-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Post card — flush image, no author/date */
.post-card {
  background: #fff;
  border: 1px solid rgba(216,205,206,0.35);
  overflow: hidden;
  padding: 0;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card:hover { box-shadow: var(--shadow-md); border-color: rgba(216,205,206,0.6); transform: translateY(-2px); }
.post-card__image-wrap {
  position: relative;
  border-radius: 0;
  margin: 0;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--color-cream-soft);
}
.post-card__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .post-card__image-wrap img { transform: scale(1.06); }
.post-card__badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-badge-dark);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
}
.post-card__body { padding: 1rem 1rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.post-card__title { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.5rem; }
.post-card__title a:hover { color: var(--color-blush); }
.post-card__excerpt { color: var(--color-text-muted); font-size: 0.85rem; line-height: 1.6; margin-bottom: 0; }

/* Featured (large) card variant — vertical layout, used at top of archive listings */
.post-card--featured {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
}
@media (min-width: 640px) {
  .post-card--featured { padding: 1.5rem; }
}
.post-card--featured .post-card__image-wrap { border-radius: var(--radius-lg); aspect-ratio: 16/9; margin-bottom: 1.25rem; }
.post-card--featured .post-card__body { padding: 0; }
.post-card--featured .post-card__title { font-size: 1.5rem; }
@media (min-width: 640px) {
  .post-card--featured .post-card__title { font-size: 1.85rem; }
}
.post-card--featured .post-card__excerpt { font-size: 0.95rem; }

.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* =========================================================
   7b. HOMEPAGE CATEGORY LAYOUTS A & D — big feature + side stack
   ========================================================= */
.cat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) { .cat-layout { gap: 2rem; } }
@media (min-width: 1024px) {
  .cat-layout--a { grid-template-columns: 1fr 1fr; }
  .cat-layout--d { grid-template-columns: 1fr 1fr 1fr; }
}
.cat-layout__stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 640px) { .cat-layout__stack { gap: 1.5rem; } }

/* Big vertical feature card (image top, plain-text label, title, excerpt, read-more).
   The source uses rounded-none on every homepage card and its "Featured Cover"
   ribbon — flat, square corners throughout, no rounding. */
.post-card-feature {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(216,205,206,0.35);
  border-radius: 0;
  padding: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
  height: 100%;
}
.post-card-feature:hover { box-shadow: var(--shadow-md); }
.post-card-feature__image-wrap { position: relative; aspect-ratio: 16/9; border-radius: 0; overflow: hidden; margin-bottom: 1.25rem; background: var(--color-cream-soft); }
.post-card-feature--md .post-card-feature__image-wrap { aspect-ratio: 4/3; }
.post-card-feature--sm .post-card-feature__image-wrap { aspect-ratio: 1/1; margin-bottom: 1rem; }
.post-card-feature--xs { padding: 1rem; }
.post-card-feature--xs .post-card-feature__image-wrap { aspect-ratio: 16/9; margin-bottom: 1rem; }
.post-card-feature__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card-feature:hover .post-card-feature__image-wrap img { transform: scale(1.05); }
.post-card-feature__ribbon {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--color-blush);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 0;
}
.post-card-feature__body { flex: 1; }
.post-card-feature__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blush);
  margin-bottom: 0.6rem;
}
.post-card-feature--xs .post-card-feature__label { font-size: 0.65rem; margin-bottom: 0.35rem; }
.post-card-feature__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}
.post-card-feature--lg .post-card-feature__title { font-size: 1.6rem; }
@media (min-width: 640px) {
  .post-card-feature--lg .post-card-feature__title { font-size: 1.85rem; }
}
.post-card-feature--sm .post-card-feature__title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.post-card-feature--xs .post-card-feature__title {
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-feature:hover .post-card-feature__title { color: var(--color-blush-dark); }
.post-card-feature__excerpt { display: block; color: var(--color-text-muted); font-size: 0.9rem; line-height: 1.65; }
.post-card-feature--xs .post-card-feature__excerpt {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-feature__more {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-forest-light);
  border-top: 1px solid rgba(216,205,206,0.4);
  padding-top: 0.85rem;
  margin-top: 1rem;
  transition: color 0.2s ease;
}
.post-card-feature--xs .post-card-feature__more { font-size: 0.68rem; padding-top: 0.6rem; margin-top: 0.75rem; }
.post-card-feature:hover .post-card-feature__more { color: var(--color-blush); }

/* Compact horizontal card (image left, text right) used in the side stacks.
   Flat / square corners, matching rounded-none in the source. */
.post-card-h {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(216,205,206,0.35);
  border-radius: 0;
  padding: 1rem;
  flex: 1;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease;
}
.post-card-h:hover { box-shadow: var(--shadow-md); }
.post-card-h__image-wrap {
  flex-shrink: 0;
  width: 6.5rem;
  border-radius: 0;
  overflow: hidden;
  align-self: stretch;
  background: var(--color-cream-soft);
}
@media (min-width: 768px) {
  .post-card-h__image-wrap { width: 7.5rem; }
}
.post-card-h__image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; min-height: 6.5rem; }
.post-card-h:hover .post-card-h__image-wrap img { transform: scale(1.05); }
.post-card-h__body { display: flex; flex-direction: column; justify-content: space-between; flex: 1; min-width: 0; }
.post-card-h__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blush);
  margin-bottom: 0.25rem;
}
.post-card-h__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  transition: color 0.2s ease;
}
.post-card-h:hover .post-card-h__title { color: var(--color-blush-dark); }
.post-card-h__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--color-text-muted);
  font-size: 0.8rem;
  line-height: 1.55;
}
.post-card-h__more {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-forest-light);
  border-top: 1px solid rgba(216,205,206,0.4);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  transition: color 0.2s ease;
}
.post-card-h:hover .post-card-h__more { color: var(--color-blush); }

/* =========================================================
   8. BRAND MARQUEE — pure CSS infinite scroll, no JS
   ========================================================= */
.brand-marquee {
  background: rgba(252, 248, 245, 0.6); /* violet-100/60 */
  padding: 1.5rem 0;
  margin: 1.25rem 0;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .brand-marquee { padding: 2.5rem 0; margin: 2rem 0; } }
.brand-marquee__label {
  text-align: center;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blush);
  margin-bottom: 1.25rem;
}
.brand-marquee__fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 6rem;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee__fade--left { left: 0; background: linear-gradient(to right, var(--color-cream), transparent); }
.brand-marquee__fade--right { right: 0; background: linear-gradient(to left, var(--color-cream), transparent); }
.brand-marquee__viewport { overflow: hidden; width: 100%; position: relative; }
.brand-marquee__track {
  display: flex;
  width: max-content;
  gap: 4rem;
  animation: iv-marquee 30s linear infinite;
}
@keyframes iv-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.brand-marquee__item {
  font-family: var(--font-serif);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
  color: var(--color-stone-900);
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}
@media (min-width: 640px) {
  .brand-marquee__item { font-size: 1rem; }
}
.brand-marquee__item:hover { color: var(--color-blush); transform: scale(1.05); }
@media (prefers-reduced-motion: reduce) {
  .brand-marquee__track { animation: none; }
  .brand-marquee__viewport { overflow-x: auto; }
}
/* =========================================================
   9. NEWSLETTER SECTION + FORMS
   ========================================================= */
.newsletter-section { padding: 2.5rem 0; }
@media (min-width: 768px) { .newsletter-section { padding: 4rem 0; } }
.newsletter-box {
  background: var(--color-blush-tint-soft);
  border: 2px solid rgba(223,152,152,0.2);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.newsletter-box__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 1024px) {
  .newsletter-box__grid { grid-template-columns: 7fr 5fr; align-items: center; }
}
.newsletter-box .page-eyebrow { font-size: 0.625rem; letter-spacing: 0.1em; padding: 0.375rem 0.75rem; margin-bottom: 0; }
.newsletter-box h2 { font-family: var(--font-serif); font-weight: 900; font-size: 1.875rem; line-height: 1.25; margin: 0.75rem 0 1rem; }
@media (min-width: 640px) { .newsletter-box h2 { font-size: 2.25rem; } }
.newsletter-box h2 .highlight { text-decoration: underline; text-decoration-color: var(--color-blush); text-decoration-style: solid; text-underline-offset: 4px; }
.newsletter-box p.description { color: var(--color-text); font-size: 0.875rem; line-height: 1.6; max-width: 36rem; }
.newsletter-perks { display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .newsletter-perks { grid-template-columns: 1fr 1fr; } }
.newsletter-perks div { display: flex; align-items: flex-start; gap: 0.625rem; font-size: 0.75rem; font-weight: 600; color: var(--color-stone-700); }
.newsletter-perks span.dot { color: var(--color-blush); font-weight: 700; font-size: 0.875rem; line-height: 1.3; }

.newsletter-form-card { background: #fff; border: 1px solid rgba(223,152,152,0.15); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
@media (min-width: 640px) { .newsletter-form-card { padding: 2rem; } }
.newsletter-form__label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-stone-500); margin: 0 0 0.6rem; }
.newsletter-form button[type="submit"] { padding-top: 1rem; padding-bottom: 1rem; }

.newsletter-success { background: var(--color-blush-tint); border: 1px solid rgba(223,152,152,0.3); border-radius: var(--radius-lg); padding: 1.5rem; text-align: center; }
.newsletter-success__emoji { display: inline-block; font-size: 1.5rem; margin-bottom: 0.5rem; }
.newsletter-success__title { font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: var(--color-blush); margin: 0; }
.newsletter-success__desc { font-size: 0.75rem; color: var(--color-stone-600); margin: 0.5rem 0 0; line-height: 1.6; }
.form-field { margin-bottom: 0.85rem; }
.form-field label { display: block; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-stone-500); margin-bottom: 0.4rem; }
.form-field input[type="email"],
.form-field input[type="text"],
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-stone-200);
  background: var(--color-stone-50);
  font-size: 0.875rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.newsletter-form input[type="email"] { border-radius: var(--radius-full); padding: 0.875rem 1.25rem; }
.form-field input:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--color-blush);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(223,152,152,0.12);
}
.form-field.has-error input,
.form-field.has-error textarea { border-color: #C0392B; background: #FDF2F1; }
.field-error {
  display: block;
  color: #C0392B;
  font-size: 0.72rem;
  font-weight: 600;
  margin-top: 0.35rem;
}
.newsletter-form button[type="submit"] {
  width: 100%;
}
.newsletter-notice {
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
}
.newsletter-notice.is-success {
  background: var(--color-blush-tint);
  border: 1px solid rgba(223,152,152,0.3);
  color: var(--color-forest);
}
.newsletter-notice.is-error {
  background: #FDF2F1;
  border: 1px solid rgba(192,57,43,0.3);
  color: #922B21;
}
.newsletter-disclaimer { font-size: 0.68rem; color: var(--color-stone-400); text-align: center; margin-top: 0.85rem; }
.newsletter-disclaimer a { text-decoration: underline; }
.newsletter-disclaimer a:hover { color: var(--color-blush); }

/* =========================================================
   10. CATEGORY ARCHIVE PAGE — header band, Featured Story, story grid.
   Matches the source's category collection view exactly (no hero/bg-image
   band — a plain header with a back-link, title, subtitle and pill badge).
   ========================================================= */
.cat-archive-header {
  /* padding-top/bottom only — this element also carries the shared
     .container class for its horizontal padding + max-width; using the
     "padding" shorthand here would reset padding-left/right back to 0
     and override .container's side padding. */
  padding-top: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(216,205,206,0.4);
  margin-bottom: 3rem;
}
.cat-archive-header__row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .cat-archive-header__row { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.cat-archive-header__text { display: flex; flex-direction: column; gap: 0.5rem; text-align: left; align-self: flex-start; }
@media (min-width: 768px) { .cat-archive-header__text { align-self: flex-end; } }
.cat-archive-back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  width: fit-content;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #A8A29E;
  transition: color 0.2s ease;
}
.cat-archive-back:hover { color: var(--color-blush); }
.cat-archive-title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 2.25rem;
  color: var(--color-text);
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: capitalize;
  padding-top: 0.25rem;
  margin: 0;
}
@media (min-width: 640px) { .cat-archive-title { font-size: 3rem; } }
.cat-archive-subtitle { font-size: 0.875rem; color: var(--color-stone-500); line-height: 1.625; max-width: 42rem; margin: 0; }
@media (min-width: 640px) { .cat-archive-subtitle { font-size: 1rem; } }
.cat-archive-subtitle p { margin: 0; }
.cat-archive-subtitle p + p { margin-top: 0.5em; }
.cat-archive-header__badge { flex-shrink: 0; align-self: flex-start; }
@media (min-width: 768px) { .cat-archive-header__badge { align-self: flex-end; margin-bottom: 0.25rem; } }

/* padding-top/bottom only — also carries .container for horizontal padding + max-width. */
.archive-intro { text-align: center; padding-top: 2.5rem; padding-bottom: 1rem; }
.archive-intro p { color: var(--color-text-muted); max-width: 60ch; margin: 0.5rem auto 0; }

.cat-archive-main { padding-bottom: 6rem; }
.cat-archive-stories { display: flex; flex-direction: column; gap: 4rem; }
.cat-archive-pagination { margin-top: 3rem; }

/* -- Pagination (the_posts_pagination) --
   Styles WordPress's default .navigation/.pagination + .page-numbers markup
   as rounded pill buttons matching the site's button / badge language, used
   on category archives, the blog index and search results. */
.pagination,
.navigation.pagination { margin: 3rem 0; }
.pagination .nav-links,
.navigation.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.5rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid var(--color-stone-200);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
a.page-numbers:hover {
  border-color: var(--color-blush);
  color: var(--color-blush-dark);
  background: var(--color-blush-tint);
  transform: translateY(-1px);
}
.page-numbers.current {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #fff;
}
.page-numbers.dots {
  border-color: transparent;
  background: transparent;
  color: var(--color-stone-400);
}
.page-numbers.prev,
.page-numbers.next {
  min-width: auto;
  height: 2.5rem;
  padding: 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #fff;
}
a.page-numbers.prev:hover,
a.page-numbers.next:hover {
  background: var(--color-forest-light);
  border-color: var(--color-forest-light);
  color: #fff;
  transform: translateY(-1px);
}
.cat-archive-footer-back { text-align: center; margin-top: 4rem; }
.cat-archive-footer-back a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-badge-dark);
  transition: color 0.2s ease;
}
.cat-archive-footer-back a:hover { color: var(--color-blush); }

.cat-archive-empty { text-align: center; padding: 5rem 1rem; background: #fff; border-radius: var(--radius-2xl); border: 1px solid rgba(223,152,152,0.2); }
.cat-archive-empty p { font-family: var(--font-serif); font-style: italic; color: #6B7280; }
.cat-archive-empty__btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--color-badge-dark);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  transition: background 0.2s ease;
}
.cat-archive-empty__btn:hover { background: #203E32; }

/* Dark pill badge overlaid on the top-left of a story card image */
.story-img-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--color-badge-dark);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
}

/* Featured Story — large horizontal card for the first post in a category */
.story-featured {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  background: #fff;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(216,205,206,0.4);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  padding: 1.5rem;
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
@media (min-width: 1024px) {
  .story-featured { grid-template-columns: 7fr 5fr; padding: 2rem; }
}
.story-featured:hover { box-shadow: var(--shadow-md); border-color: rgba(214,211,209,0.6); }
.story-featured__media {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
}
@media (min-width: 640px) { .story-featured__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .story-featured__media { aspect-ratio: auto; height: 400px; } }
.story-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.story-featured:hover .story-featured__media img { transform: scale(1.05); }
.story-featured__body { display: flex; flex-direction: column; justify-content: space-between; padding: 1rem 0; }
.story-featured__top { display: flex; flex-direction: column; gap: 1rem; }
.story-featured__eyebrow {
  display: inline-block;
  width: fit-content;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blush);
  background: var(--color-blush-tint-soft);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-full);
}
.story-featured__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-text);
  line-height: 1.25;
  transition: color 0.2s ease;
}
@media (min-width: 640px) { .story-featured__title { font-size: 1.875rem; } }
.story-featured:hover .story-featured__title { color: var(--color-blush); }
.story-featured__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  color: var(--color-stone-500);
  line-height: 1.625;
  padding-top: 0.25rem;
}
@media (min-width: 640px) { .story-featured__excerpt { font-size: 0.875rem; } }
.story-featured__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-stone-100);
}
.story-featured__author { display: flex; flex-direction: column; }
.story-featured__author-label { font-size: 0.5625rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #A8A29E; }
.story-featured__author-name { font-size: 0.75rem; font-weight: 600; color: var(--color-text-muted); }
.story-featured__more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.story-featured:hover .story-featured__more { color: var(--color-blush); }

/* Other Stories — two-column grid of remaining posts */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1fr; } }
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(216,205,206,0.4);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow 0.5s ease, border-color 0.5s ease;
}
.story-card:hover { box-shadow: var(--shadow-md); border-color: rgba(214,211,209,0.5); }
.story-card__top { display: block; }
.story-card__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; box-shadow: var(--shadow-sm); }
.story-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.story-card:hover .story-card__media img { transform: scale(1.05); }
.story-card__body { display: flex; flex-direction: column; gap: 0.75rem; padding: 2rem; text-align: left; }
.story-card__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blush);
}
.story-card__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.375;
  transition: color 0.2s ease;
}
@media (min-width: 640px) { .story-card__title { font-size: 1.5rem; } }
.story-card:hover .story-card__title { color: var(--color-blush); }
.story-card__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.75rem;
  color: var(--color-stone-500);
  line-height: 1.625;
}
@media (min-width: 640px) { .story-card__excerpt { font-size: 0.875rem; } }
.story-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem 2rem;
  border-top: 1px solid var(--color-stone-100);
}
.story-card__author { font-size: 0.75rem; font-weight: 600; color: #A8A29E; }
.story-card__more {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text);
  transition: color 0.2s ease;
}
.story-card:hover .story-card__more { color: var(--color-blush); }

/* =========================================================
   11. SINGLE POST
   ========================================================= */
/* Title header — category badge, title, author byline, hero image.
   max-w-4xl (56rem), wider than the single-column content below it. */
.single-post-header { max-width: 56rem; margin: 0 auto; padding: 3rem 1.25rem 2rem; text-align: center; }
@media (min-width: 640px) { .single-post-header { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .single-post-header { padding-left: 2rem; padding-right: 2rem; } }
.single-post-badge {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-blush);
  background: #F6E5E5;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}
.single-post-header h1 { font-family: var(--font-serif); font-weight: 700; color: var(--color-text); line-height: 1.2; font-size: 1.875rem; margin: 0 0 1.5rem; }
@media (min-width: 640px) { .single-post-header h1 { font-size: 2.25rem; } }
@media (min-width: 768px) { .single-post-header h1 { font-size: 3rem; } }
.single-post-author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-bottom: 2rem; }
.single-post-author img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid #F1E9E4; }
.single-post-author .name { font-size: 0.875rem; font-weight: 600; color: var(--color-text); }
.single-post-thumb { border-radius: 1.5rem; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/9; margin-top: 0; }
.single-post-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Single-column content — the source has NO sidebar on single posts. */
.single-post-main { max-width: 48rem; margin: 0 auto; padding: 0 1.25rem 5rem; }
@media (min-width: 640px) { .single-post-main { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .single-post-main { padding-left: 2rem; padding-right: 2rem; } }

.entry-content { max-width: 720px; }
.entry-content p { color: var(--color-stone-700); font-size: 1.05rem; line-height: 1.85; margin-bottom: 1.25rem; }
.entry-content h2, .entry-content h3 { margin-top: 2rem; }
.entry-content blockquote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  background: var(--color-blush-tint);
  border-left: 4px solid var(--color-blush);
  border-radius: 0 1.5rem 1.5rem 0;
  text-align: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-forest);
}
.entry-content img { border-radius: 1rem; margin: 1.5rem 0; }
.entry-content a { color: var(--color-forest); text-decoration: underline; text-decoration-color: var(--color-blush); }

/* Paragraph styling scoped to single posts only (About/Contact/Legal/Page
   content keeps its own distinct treatment) — matches the source exactly:
   font-sans body copy, with a font-serif, semibold, drop-cap first paragraph. */
.single-post-content { max-width: none; }
.single-post-content > p {
  font-family: var(--font-sans);
  color: var(--color-stone-800);
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}
@media (min-width: 640px) { .single-post-content > p { font-size: 1.125rem; } }
.single-post-content > p:first-of-type {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-stone-900);
  font-size: 1.125rem;
}
@media (min-width: 640px) { .single-post-content > p:first-of-type { font-size: 1.25rem; } }
.single-post-content > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 3.75rem;
  font-weight: 900;
  color: var(--color-text);
  float: left;
  line-height: 1;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
}

.author-card {
  margin-top: 4rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(252,248,245,0.5);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 640px) { .author-card { flex-direction: row; padding: 2rem; } }
.author-card img { width: 96px; height: 96px; border-radius: 1rem; object-fit: cover; box-shadow: var(--shadow-xs); border: 1px solid var(--color-cream); flex-shrink: 0; align-self: flex-start; margin: 0; vertical-align: top; }
@media (min-width: 640px) { .author-card img { width: 112px; height: 112px; } }
.author-card > div { align-self: flex-start; }
.author-card .kicker { display: block; font-family: var(--font-mono); font-size: 0.625rem; line-height: 1.4; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-blush); margin-bottom: 0.375rem; }
.author-card h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.25rem; line-height: 1.3; color: var(--color-text); margin: 0 0 0.625rem; }
@media (min-width: 640px) { .author-card h3 { font-size: 1.5rem; } }
.author-card p { color: var(--color-text-muted); font-size: 0.75rem; line-height: 1.625; margin: 0; }
@media (min-width: 640px) { .author-card p { font-size: 0.875rem; } }

.post-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--color-cream); }
.post-nav a { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text); }
.post-nav a:first-child { color: var(--color-badge-dark); }
.post-nav a:hover { color: var(--color-blush); }
.sidebar-widget { background: #fff; border: 1px solid rgba(216,205,206,0.4); border-radius: var(--radius-xl); padding: 1.5rem; box-shadow: var(--shadow-xs); }
.sidebar-widget-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-forest); border-bottom: 1px solid rgba(216,205,206,0.4); padding-bottom: 0.75rem; margin-bottom: 1rem; }
.newsletter-widget .kicker { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-blush); }
.newsletter-widget h4 { margin: 0.35rem 0 0.6rem; font-size: 1.1rem; }
.newsletter-widget p.desc { color: var(--color-text-muted); font-size: 0.82rem; margin-bottom: 1rem; }
.widget_recent_entries ul, .widget_categories ul, .widget_archive ul { display: flex; flex-direction: column; gap: 0.5rem; }
.widget_recent_entries a, .widget_categories a, .widget_archive a { font-size: 0.85rem; color: var(--color-stone-700); }
.widget_recent_entries a:hover, .widget_categories a:hover, .widget_archive a:hover { color: var(--color-blush); }

/* =========================================================
   12. ABOUT PAGE
   Matches the source's interleaved header / copy / image / blockquote /
   heading / closing-note sequence (NOT a generic content dump).
   ========================================================= */
.about-page { max-width: 56rem; margin: 0 auto; padding: 3rem 1rem 6rem; display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 640px) { .about-page { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .about-page { padding-left: 2rem; padding-right: 2rem; } }

/* -- Header -- */
.about-header { text-align: center; display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.about-header .page-eyebrow { margin-bottom: 0; }
.about-header h1 { font-family: var(--font-serif); font-weight: 700; font-size: 1.875rem; line-height: 1.25; color: var(--color-text); margin: 0; }
@media (min-width: 640px) { .about-header h1 { font-size: 2.25rem; } }
@media (min-width: 768px) { .about-header h1 { font-size: 3rem; } }
.about-header__subtitle { font-family: var(--font-serif); font-style: italic; font-size: 1.125rem; color: rgba(42,62,52,0.9); max-width: 42rem; margin: 0 auto; line-height: 1.625; }
@media (min-width: 640px) { .about-header__subtitle { font-size: 1.25rem; } }
.about-emblem-wrap { display: flex; justify-content: center; padding-top: 0.5rem; }
.about-emblem { width: 5rem; height: 5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--color-blush-tint-soft); border: 4px solid #fff; box-shadow: var(--shadow-md), 0 0 0 1px rgba(252,248,245,0.5); transition: transform 0.3s ease; }
.about-emblem:hover { transform: scale(1.05); }
@media (min-width: 640px) { .about-emblem { width: 6rem; height: 6rem; } }
.about-emblem svg { width: 2.5rem; height: 2.5rem; color: var(--color-blush); }
@media (min-width: 640px) { .about-emblem svg { width: 3rem; height: 3rem; } }

/* -- Copy blocks -- */
.about-copy { color: var(--color-text-muted); display: flex; flex-direction: column; gap: 1.5rem; }
/* Direct-child selector only: the quote's own <p> tags (.about-quote__text,
   .about-quote__sig) live deeper inside .about-quote and must be styled
   purely by their own classes, not by this generic flowing-paragraph rule. */
.about-copy > p { font-size: 1rem; line-height: 1.625; text-align: justify; margin: 0; }
@media (min-width: 640px) { .about-copy > p { font-size: 1.125rem; } }
.about-dropcap::first-letter { font-family: var(--font-serif); font-weight: 700; font-size: 3.75rem; color: var(--color-blush); float: left; line-height: 1; margin-right: 0.75rem; margin-top: 0.5rem; }

/* -- Image cards (with decorative "washi tape") -- */
.about-image-card { position: relative; border-radius: 1rem; padding: 0.75rem; transition: box-shadow 0.5s ease, transform 0.5s ease; }
.about-image-card--a { background: #fff; border: 1px solid rgba(237,230,225,0.6); box-shadow: var(--shadow-md); }
.about-image-card--a:hover { box-shadow: var(--shadow-lg); }
.about-image-card--b { background: #FAF6F0; border: 1px solid rgba(237,230,225,0.8); box-shadow: var(--shadow-lg); }
.about-image-card--b:hover { box-shadow: var(--shadow-xl); transform: scale(1.01); }
.about-image-card__tape { position: absolute; top: -0.75rem; width: 6rem; height: 1.25rem; border-left: 1px dashed; border-right: 1px dashed; pointer-events: none; }
.about-image-card--a .about-image-card__tape { left: 50%; transform: translateX(-50%) rotate(1deg); background: rgba(246,229,229,0.4); border-color: rgba(237,198,198,0.3); }
.about-image-card--b .about-image-card__tape { left: 33.333%; width: 5rem; transform: rotate(-2deg); background: rgba(252,248,245,0.5); border-color: rgba(216,205,206,0.4); }
.about-image-card__frame { aspect-ratio: 16/8; border-radius: 0.75rem; overflow: hidden; position: relative; background: var(--color-stone-100); }
@media (min-width: 640px) { .about-image-card__frame { aspect-ratio: 16/7; } }
.about-image-card__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.about-image-card:hover .about-image-card__frame img { transform: scale(1.05); }

/* -- Blockquote -- */
.about-quote { position: relative; background: rgba(250,242,242,0.5); border: 1px solid rgba(246,229,229,0.7); padding: 2rem; border-radius: 1.5rem; box-shadow: var(--shadow-xs); overflow: hidden; }
.about-quote__mark { position: absolute; top: -1rem; left: -0.5rem; font-family: var(--font-serif); font-size: 6rem; line-height: 1; color: rgba(237,198,198,0.5); pointer-events: none; }
.about-quote__text { position: relative; z-index: 1; font-family: var(--font-serif); font-style: italic; font-size: 1rem; color: var(--color-text); line-height: 1.625; text-align: center; margin: 0; }
@media (min-width: 640px) { .about-quote__text { font-size: 1.125rem; } }
.about-quote__foot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(246,229,229,0.5); margin-top: 1rem; padding-top: 0.75rem; }
.about-quote__sig { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #A15D5D; margin: 0; }
.about-quote__dots { display: flex; gap: 0.25rem; }
.about-quote__dots span { width: 0.375rem; height: 0.375rem; border-radius: 50%; background: var(--color-blush); }
.about-quote__dots span:nth-child(2) { background: #E5A5A5; }
.about-quote__dots span:nth-child(3) { background: #EDC6C6; }

/* -- Philosophy heading -- */
.about-philosophy-heading { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--color-text); text-align: center; margin: 0; }

/* -- Closing thank-you note -- */
.about-closing-wrap { padding-top: 0.5rem; }
.about-closing {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(252,248,245,0.9);
  padding: 1.5rem;
  border-radius: 1rem;
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}
@media (min-width: 640px) { .about-closing { font-size: 1.125rem; padding: 2rem; } }

/* =========================================================
   13. CONTACT PAGE
   Matches the source exactly: a full-height, vertically-centered 12-col
   grid card (an oatmeal outer shell containing an editorial image panel +
   a white form panel), with a rich "Message Received" success state that
   fully replaces the form instead of a small inline notice.
   ========================================================= */
.contact-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 5rem 1rem; }
@media (min-width: 640px) { .contact-page { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .contact-page { padding-top: 7rem; padding-bottom: 7rem; padding-left: 2rem; padding-right: 2rem; } }

.contact-shell { max-width: 72rem; width: 100%; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
  background: #F6F3EC;
  border-radius: 40px;
  border: 1px solid rgba(216,205,206,0.4);
  box-shadow: 0 20px 60px -15px rgba(19,37,30,0.05);
  padding: 1.5rem;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 3rem; padding: 2.5rem; } }

/* -- Left: editorial image panel -- */
.contact-visual { position: relative; overflow: hidden; border-radius: 1.5rem; border: 1px solid rgba(216,205,206,0.4); box-shadow: var(--shadow-lg); min-height: 380px; }
@media (min-width: 1024px) { .contact-visual { min-height: 100%; } }
.contact-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.contact-visual:hover img { transform: scale(1.02); }
.contact-visual__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(12,10,9,0.7), rgba(28,25,23,0.2) 55%, transparent); }
.contact-visual__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem; color: #fff; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; }
.contact-visual__eyebrow { font-size: 0.625rem; font-family: var(--font-sans); font-weight: 800; text-transform: uppercase; letter-spacing: 0.25em; color: var(--color-blush); display: inline-block; margin-bottom: 0.5rem; }
.contact-visual__text h2 { font-family: var(--font-serif); font-weight: 700; font-size: 1.875rem; line-height: 1.25; color: #fff; margin: 0 0 0.5rem; }
.contact-visual__text p { font-size: 0.75rem; font-family: var(--font-sans); color: rgba(231,229,228,0.9); line-height: 1.625; max-width: 24rem; margin: 0; }

/* -- Right: white form card -- */
.contact-panel { position: relative; display: flex; align-items: stretch; width: 100%; }
.contact-panel__card {
  position: relative;
  width: 100%;
  z-index: 1;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.02);
  border: 1px solid rgba(216,205,206,0.4);
  color: var(--color-stone-800);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 500px;
}
@media (min-width: 640px) { .contact-panel__card { padding: 3rem; } }

/* -- Success state -- */
.contact-success { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; min-height: 380px; position: relative; overflow: hidden; animation: contactScaleUp 0.4s ease; }
/* `display: flex` above has the same specificity as the browser's built-in
   `[hidden] { display: none; }` rule and loads later, so it silently wins
   and the success panel shows even while [hidden] is set — this restores
   the expected behavior so JS can reliably toggle the `hidden` attribute. */
.contact-success[hidden] { display: none; }
.contact-success__icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: var(--color-blush);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-serif); font-weight: 900; font-size: 1.5rem;
  box-shadow: var(--shadow-md);
  animation: contactBounce 1s ease infinite;
}
.contact-success__body { display: flex; flex-direction: column; gap: 0.75rem; max-width: 28rem; }
.contact-success__body h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--color-badge-dark); margin: 0; }
.contact-success__body p { font-size: 0.875rem; color: var(--color-stone-500); line-height: 1.625; font-family: var(--font-sans); margin: 0; }
.contact-success__reset {
  margin-top: 1.5rem;
  background: none; border: none; border-bottom: 1px solid var(--color-stone-800);
  color: var(--color-stone-800);
  font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0 0 0.25rem;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.contact-success__reset:hover { color: var(--color-blush); border-color: var(--color-blush); }

/* -- Form state -- */
.contact-form { display: flex; flex-direction: column; gap: 1.5rem; text-align: left; width: 100%; font-family: var(--font-sans); }
/* Same [hidden]-vs-"display: flex" specificity conflict as .contact-success
   above: without this, JS setting form.hidden = true has no visible effect. */
.contact-form[hidden] { display: none; }
.contact-form__head { border-bottom: 1px solid var(--color-stone-100); padding-bottom: 1rem; margin-bottom: 0.5rem; }
.contact-form__head h3 { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--color-badge-dark); margin: 0; }
.contact-form__head p { font-size: 0.75rem; color: var(--color-stone-500); margin: 0.25rem 0 0; }

.contact-form-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .contact-form-grid { grid-template-columns: 1fr 1fr; } }

.contact-field label {
  display: block; font-family: var(--font-sans); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-stone-500); margin-bottom: 0.5rem;
}
.contact-field .required-mark { color: var(--color-blush); font-weight: 700; }
.contact-field input[type="text"],
.contact-field input[type="email"],
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(216,205,206,0.4);
  background: rgba(250,245,242,0.4);
  color: var(--color-stone-800);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--color-stone-400); }
.contact-field input:focus,
.contact-field textarea:focus {
  background: #fff;
  border-color: var(--color-blush);
  box-shadow: 0 0 0 4px rgba(223,152,152,0.1);
}
.contact-field textarea { resize: none; line-height: 1.625; }
.contact-field.has-error input,
.contact-field.has-error textarea { border-color: #C0392B; background: #FDF2F1; }

.contact-form__actions { padding-top: 0.5rem; display: flex; align-items: center; justify-content: flex-end; }
.contact-form__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--color-badge-dark);
  color: #fff;
  font-family: var(--font-sans); font-weight: 800; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.15s ease;
}
.contact-form__submit:hover { background: #203E32; }
.contact-form__submit:active { transform: scale(0.98); }
.contact-form__submit svg { width: 14px; height: 14px; }

@keyframes contactScaleUp { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@keyframes contactBounce { 0%, 100% { transform: translateY(0); animation-timing-function: cubic-bezier(0.8,0,1,1); } 50% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0,0,0.2,1); } }

/* =========================================================
   14. LEGAL PAGES
   Matches the source's Privacy / Terms / Cookie layout exactly: a 64rem
   (max-w-5xl) column, a white rounded-3xl card, a serif title + italic
   blush subtitle, then a hairline-separated body where every sub-point is
   a diamond-bullet row (not a native bulleted list).
   ========================================================= */
.legal-wrap { max-width: 64rem; margin: 0 auto; padding: 4rem 1rem; }
@media (min-width: 640px) { .legal-wrap { padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 1024px) { .legal-wrap { padding-left: 2rem; padding-right: 2rem; } }

.legal-back { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-forest); margin-bottom: 2rem; transition: color 0.2s ease; }
.legal-back:hover { color: var(--color-blush); }

.legal-card { background: #fff; border-radius: 1.5rem; border: 1px solid var(--color-cream); padding: 2rem; box-shadow: var(--shadow-xs); }
@media (min-width: 640px) { .legal-card { padding: 3rem; } }

.legal-card h1 { font-family: var(--font-serif); font-weight: 700; font-size: 1.875rem; line-height: 1.25; color: var(--color-text); margin: 0 0 0.5rem; }
@media (min-width: 640px) { .legal-card h1 { font-size: 2.25rem; } }
.legal-card .legal-updated { font-size: 0.875rem; font-style: italic; font-family: var(--font-serif); color: var(--color-blush); margin: 0 0 2rem; }

.legal-card .entry-content {
  max-width: none;
  border-top: 1px solid var(--color-cream);
  padding-top: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  line-height: 1.625;
}
@media (min-width: 640px) { .legal-card .entry-content { font-size: 1rem; } }
/* space-y-6 equivalent: every block gets bottom spacing instead of relying on
   sibling-combinator margins, so specificity never has to fight the more
   targeted heading/list margin rules below. */
.legal-card .entry-content p { color: inherit; font-size: inherit; line-height: inherit; margin: 0 0 1.5rem; }
.legal-card .entry-content strong { font-weight: 600; color: var(--color-text); }
.legal-card .entry-content h2, .legal-card .entry-content h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  margin: 2rem 0 1rem;
}
.legal-card .entry-content ul,
.legal-card .entry-content ol {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding-left: 0.25rem;
}
.legal-card .entry-content ul li,
.legal-card .entry-content ol li {
  /* Block (not flex) so the <strong> label and the description text that
     follows it flow together as ONE wrapping paragraph, exactly like the
     source's <div><strong>Label:</strong> text...</div> — flex would split
     the <strong> and the text into two separate columns instead. */
  position: relative;
  display: block;
  padding-left: 1.375rem;
  color: var(--color-text-muted);
  font-size: inherit;
  line-height: inherit;
  margin: 0;
}
.legal-card .entry-content ul li::before {
  content: "\25C6";
  position: absolute;
  left: 0;
  top: 0.15em;
  font-weight: 700;
  color: var(--color-blush);
  user-select: none;
}
.legal-card .entry-content ol { counter-reset: legal-list; }
.legal-card .entry-content ol li { counter-increment: legal-list; }
.legal-card .entry-content ol li::before {
  content: counter(legal-list) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--color-blush);
  user-select: none;
}

/* =========================================================
   15. SEARCH & 404
   ========================================================= */
/* padding-top/bottom only — both also carry .container for horizontal padding + max-width. */
.search-results-head, .not-found-wrap { text-align: center; padding-top: 3.5rem; padding-bottom: 2rem; }
.not-found-wrap { padding-bottom: 5rem; }
.not-found-wrap .btn { margin-top: 1.5rem; }
.no-results { text-align: center; padding: 4rem 1rem; background: #fff; border-radius: var(--radius-xl); border: 1px solid rgba(216,205,206,0.4); }
.no-results p { font-family: var(--font-serif); font-style: italic; color: var(--color-text-muted); }
.search-form-block { max-width: 480px; margin: 1.5rem auto 0; display: flex; gap: 0.5rem; }
.search-form-block input[type="search"] { flex: 1; padding: 0.85rem 1.25rem; border-radius: var(--radius-full); border: 1px solid var(--color-stone-200); }
.search-form-block button { border-radius: var(--radius-full); padding: 0.85rem 1.5rem; }

/* =========================================================
   16. SITE FOOTER
   ========================================================= */
.site-footer { background: var(--color-forest); color: rgba(245,243,239,0.9); padding: 4rem 0; border-top: 1px solid rgba(216,205,206,0.4); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 1rem; }
.footer-brand__icon { width: 36px; height: 36px; border-radius: 50%; background: var(--color-blush-tint-soft); border: 1px solid rgba(223,152,152,0.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-brand__icon svg { width: 20px; height: 20px; color: var(--color-blush); }
.footer-brand__title { font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; letter-spacing: 0.01em; white-space: nowrap; }
@media (min-width: 640px) { .footer-brand__title { font-size: 1.5rem; } }
.footer-desc { font-size: 0.75rem; color: rgba(214,211,209,0.8); line-height: 1.625; max-width: 24rem; margin-bottom: 1rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(216,205,206,0.4); display: flex; align-items: center; justify-content: center; color: rgba(245,243,239,0.8); transition: all 0.2s ease; }
.footer-social a:hover { color: var(--color-blush); border-color: var(--color-blush); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h4 { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #fff; margin-bottom: 1rem; padding-bottom: 0.6rem; border-bottom: 1px solid rgba(216,205,206,0.4); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-menu a, .footer-col a { font-size: 0.75rem; color: rgba(214,211,209,0.8); }
.footer-menu a:hover, .footer-col a:hover { color: var(--color-blush); }
.footer-menu { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-trust { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-trust__brand { font-family: var(--font-serif); font-weight: 900; font-size: 1.1rem; letter-spacing: 0.02em; color: #fff; }
.footer-trust__label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-stone-400); line-height: 1; margin: 0; }
.footer-trust .stars { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin: 0; }
.footer-trust .stars .star { width: 20px; height: 20px; background: #00b67a; border-radius: 2px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.footer-trust .stars .star svg { width: 12px; height: 12px; fill: #fff; }
.footer-trust__score { font-size: 0.75rem; font-weight: 600; color: #fff; white-space: nowrap; margin-left: 0.15rem; }

.footer-apps { display: flex; flex-direction: column; align-items: stretch; width: fit-content; max-width: 100%; }
@media (min-width: 768px) { .footer-apps { width: 100%; } }
.footer-app-badge { display: inline-flex; align-items: center; gap: 0.75rem; max-width: 100%; background: var(--color-forest-deep); border: 1px solid rgba(216,205,206,0.4); padding: 0.625rem 1rem; border-radius: var(--radius-md); margin-bottom: 0.75rem; user-select: none; }
.footer-app-badge:last-child { margin-bottom: 0; }
.footer-app-badge--disabled { cursor: default; }
a.footer-app-badge:hover { border-color: rgba(216,205,206,0.6); }
.footer-app-badge svg { width: 20px; height: 20px; fill: #fff; flex-shrink: 0; }
.footer-app-badge small { display: block; font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-stone-400); line-height: 1.4; }
.footer-app-badge strong { font-size: 0.85rem; color: #fff; }

.footer-bottom { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(216,205,206,0.4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom p { margin: 0; font-size: 0.75rem; color: rgba(214,211,209,0.8); }
.back-to-top { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.65rem 1.25rem; background: var(--color-blush); border: none; color: #fff; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 700; box-shadow: var(--shadow-md); transition: all 0.2s ease; cursor: pointer; }
.back-to-top:hover { background: var(--color-blush-dark); }
.back-to-top:hover { transform: scale(1.05); }
.back-to-top:active { transform: scale(0.95); }

/* =========================================================
   17. COOKIE POPUP
   ========================================================= */
.cookie-popup {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 420px;
  background: #fff;
  border: 1px solid rgba(216,205,206,0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  z-index: 1000;
  display: none;
}
.cookie-popup.is-visible { display: block; animation: fadeUp 0.4s ease; }
.cookie-popup h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.cookie-popup p { font-size: 0.82rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.cookie-popup__actions { display: flex; gap: 0.75rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   18. UTILITIES / ANIMATIONS
   ========================================================= */
.animate-fade-in { animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

@media (max-width: 640px) {
  .single-post-header { padding-top: 2rem; }
}
