/*
Theme Name: CurvyStyleMuse
Theme URI: https://curvystylemuse.com
Author: Ducker Creative
Author URI: https://duckercreative.com
Description: Luxury editorial plus-size fashion blog. Body-positive, globally inclusive, and beautifully designed for curvy women everywhere.
Version: 1.0.1
License: Private
Text Domain: curvystylemuse
Tags: blog, fashion, custom-menu, custom-logo, featured-images, post-thumbnails
*/

/* ══════════════════════════════════════════════
   1. DESIGN TOKENS
══════════════════════════════════════════════ */
:root {
  --burgundy:       #7A2837;
  --burgundy-dark:  #561A26;
  --gold:           #C6A174;
  --gold-light:     #E8D5B5;
  --cream:          #FAF6F0;
  --cream-deep:     #F2EADF;
  --blush:          #EDD4CC;
  --blush-soft:     #F7ECEA;
  --charcoal:       #2B2B2B;
  --muted:          #5F5A56;
  --line:           #E2D8CC;
  --white:          #FFFFFF;
  --footer-bg:      #1e1218;
  --footer-link:    #9a8f88;
}

/* ══════════════════════════════════════════════
   2. RESET & BASE
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--charcoal);
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
a { color: var(--burgundy); text-decoration: none; }
a:hover { color: var(--burgundy-dark); }

/* ══════════════════════════════════════════════
   3. TYPOGRAPHY
══════════════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--charcoal);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 { font-size: clamp(28px, 4vw, 44px); }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 18px; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

.script { font-family: 'Great Vibes', cursive; color: var(--gold); font-weight: 400; }

/* ══════════════════════════════════════════════
   4. LAYOUT
══════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ══════════════════════════════════════════════
   5. SKIP LINK & ACCESSIBILITY
══════════════════════════════════════════════ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
}
.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  border-radius: 2px;
  z-index: 9999;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ══════════════════════════════════════════════
   6. HEADER — single row: logo left, nav right
══════════════════════════════════════════════ */
.site-header {
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  border-bottom: 1px solid var(--line);
  transition: transform 0.3s ease;
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
body {
  padding-top: 72px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  height: 72px;
  gap: 24px;
}

/* Brand / logo */
.header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.header-logo-img {
  height: 52px;
  width: auto;
  display: block;
}
.header-wordmark {
  font-family: 'Great Vibes', cursive;
  font-size: 38px;
  color: var(--burgundy);
  line-height: 1;
  white-space: nowrap;
}

/* Mobile hamburger */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  display: none;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  margin-bottom: 5px;
  border-radius: 1px;
}
.hamburger-btn span:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════
   7. NAVIGATION
══════════════════════════════════════════════ */
.header-nav { flex: 1; display: flex; justify-content: flex-end; }
.header-nav > ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.header-nav > ul > li { position: relative; }
.header-nav > ul > li > a {
  display: block;
  padding: 26px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.header-nav > ul > li > a:hover,
.header-nav .current-menu-item > a,
.header-nav .current-cat > a { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.header-nav li.menu-accent { margin-left: 12px; border-left: 1px solid var(--line); padding-left: 12px; }
.header-nav li.menu-accent > a { color: var(--gold); }
.header-nav li.menu-accent > a:hover { color: var(--burgundy); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 0;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a.accent-link { color: var(--gold); }

/* Dropdown menus (desktop) */
.has-dropdown { position: relative; }
.cat-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 210px;
  background: #fff;
  border-top: 2px solid var(--burgundy);
  box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  z-index: 200;
  padding: 6px 0 10px;
}
.has-dropdown:hover .cat-dropdown { display: block; }
.cat-dropdown-all {
  display: block;
  padding: 10px 18px 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  white-space: nowrap;
}
.cat-dropdown-all:hover { color: var(--charcoal); border-bottom-color: var(--line); }
.cat-dropdown > ul { margin: 0; padding: 0; list-style: none; }
.cat-dropdown > ul > li > a {
  display: block;
  padding: 7px 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--charcoal);
  border-bottom: none;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.cat-dropdown > ul > li > a:hover { color: var(--burgundy); background: var(--blush); }

/* Mobile submenu */
.mob-item { border-bottom: 1px solid var(--line); }
.mob-item-row { display: flex; align-items: center; justify-content: space-between; }
.mob-parent-link {
  display: block;
  flex: 1;
  padding: 12px 24px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.mob-item--active .mob-parent-link { color: var(--burgundy); }
.sub-toggle {
  background: none;
  border: none;
  padding: 12px 20px 12px 0;
  font-size: 20px;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
  transition: transform 0.2s;
}
.mob-item.sub-open .sub-toggle { transform: rotate(45deg); }
.mob-submenu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0 0 8px 24px;
  background: var(--cream);
}
.mob-item.sub-open .mob-submenu { display: block; }
.mob-submenu li a {
  display: block;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--charcoal);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  text-transform: none;
  letter-spacing: 0;
}
.mob-submenu li:last-child a { border-bottom: none; }
.mob-submenu li a:hover { color: var(--burgundy); }

/* ══════════════════════════════════════════════
   8. CATEGORY LABEL CHIP
══════════════════════════════════════════════ */
.cat-label {
  display: inline-block;
  background: var(--blush);
  color: var(--burgundy);
  border: 1px solid var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  transition: background 0.2s;
}
.cat-label:hover { background: var(--blush-soft); color: var(--burgundy); }

/* ══════════════════════════════════════════════
   9. BUTTONS
══════════════════════════════════════════════ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--burgundy); color: #fff; }
.btn-primary:hover { background: var(--burgundy-dark); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--burgundy); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
}
.btn-outline:hover { background: var(--burgundy); color: #fff; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); color: #fff; }

/* ══════════════════════════════════════════════
   10. POST CARD
══════════════════════════════════════════════ */
.post-card { display: flex; flex-direction: column; }
.post-card-img {
  display: block;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
  background: var(--cream-deep);
}
.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-img img { transform: scale(1.03); }
.post-card-body { padding: 14px 0 0; }
.post-card-title {
  font-size: 16px;
  font-weight: 700;
  margin: 8px 0 6px;
  line-height: 1.35;
  color: var(--charcoal);
}
.post-card-title a { color: var(--charcoal); }
.post-card-title a:hover { color: var(--burgundy); }
.post-card-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 8px;
}
.post-meta {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0;
}

/* ══════════════════════════════════════════════
   11. SECTION HEADER (script + title + see-all)
══════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.section-header-left .script {
  font-size: 28px;
  display: block;
  line-height: 1;
}
.section-header-left h2 { font-size: 24px; font-weight: 800; margin: 0; }
.section-see-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  border: 1px solid var(--burgundy);
  padding: 8px 18px;
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.section-see-all:hover { background: var(--burgundy); color: #fff; }

/* Post grid */
.post-grid { display: grid; gap: 24px; }
.post-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ══════════════════════════════════════════════
   12. HOMEPAGE
══════════════════════════════════════════════ */
/* Hero */
.home-hero {
  background: var(--burgundy);
  padding: 0;
}
.home-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 540px;
  align-items: center;
  gap: 56px;
}
.home-hero-content { padding: 72px 0; }
.home-hero-eyebrow {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.home-hero-h1 {
  color: #fff;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 18px;
}
.home-hero-h1 em { color: var(--gold-light); font-style: normal; }
.home-hero-desc {
  color: rgba(255,255,255,0.80);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 420px;
}
.home-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.home-hero-image {
  align-self: center;
  border-radius: 20px;
  overflow: hidden;
  height: 460px;
  margin: 40px 0;
}
.home-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Category cards */
.cat-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}
.cat-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.10); transform: translateY(-3px); }
.cat-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
  display: block;
  flex-shrink: 0;
}
.cat-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.cat-card:hover .cat-card-img img { transform: scale(1.04); }
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(122,40,55,0.10);
  transition: background 0.3s;
}
.cat-card:hover .cat-card-overlay { background: rgba(122,40,55,0.22); }
.cat-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.cat-card h3 { font-size: 20px; font-weight: 700; color: var(--burgundy); margin-bottom: 8px; font-family: 'Playfair Display', Georgia, serif; }
.cat-card p { font-size: 14px; color: var(--muted); margin-bottom: 18px; line-height: 1.65; flex: 1; }
.cat-card-link {
  display: inline-block;
  align-self: flex-start;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
  border-radius: 999px;
  padding: 7px 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-card-link:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }

/* Newsletter strip */
.newsletter-strip {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.newsletter-strip-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.newsletter-strip-text { text-align: center; }
.newsletter-strip-text .eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 4px;
  display: block;
}
.newsletter-strip-text p { font-size: 13px; color: var(--muted); margin: 0; }

/* ══ SINGLE POST PAGE ══ */
.single-page-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 72px;
  align-items: start;
}
.single-card {
  background: #EDE8F5;
  border-radius: 16px;
  padding: 48px;
  overflow: hidden;
}
.single-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.single-eyebrow-dot { color: var(--burgundy); font-size: 8px; }
.single-eyebrow-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.single-h1 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  text-align: center;
  line-height: 1.25;
  margin-bottom: 16px;
  color: var(--charcoal);
}
.single-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.single-byline-sep { color: var(--line); }
.single-hero-img { margin: 0 -48px 36px; }
.single-hero-img img {
  width: calc(100% + 96px);
  max-width: calc(100% + 96px);
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
.single-content {
  font-size: 17px;
  line-height: 1.85;
  color: var(--charcoal);
}
.single-closing {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(122,40,55,0.12);
  font-size: 15px;
  color: var(--muted);
}
.single-share {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(122,40,55,0.15);
}
.single-share-heading {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.single-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.single-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border: 1.5px solid rgba(122,40,55,0.25);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  background: #fff;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.single-share-btn:hover {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: #fff;
}

/* Sidebar */
.single-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}
.sidebar-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid rgba(122,40,55,0.1);
}
.sidebar-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--burgundy);
}
.sidebar-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.sidebar-author-tagline {
  font-size: 13px;
  margin-bottom: 8px;
}
.sidebar-author-bio {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.sidebar-popular-list { display: flex; flex-direction: column; }
.sidebar-popular-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.sidebar-popular-list li:last-child { border-bottom: none; }
.sidebar-popular-list a {
  font-size: 13px;
  font-weight: 600;
  color: var(--burgundy);
  line-height: 1.45;
  display: block;
}
.sidebar-popular-list a:hover { color: var(--burgundy-dark); text-decoration: underline; }

@media (max-width: 900px) {
  .single-page-wrap { grid-template-columns: 1fr; }
  .single-sidebar { position: static; }
  .single-card { padding: 28px 20px; }
  .single-hero-img { margin: 0 -20px 24px; }
  .single-hero-img img { width: calc(100% + 40px); max-width: calc(100% + 40px); }
}

/* ── Mission Section ── */
.mission-section { background: #EDE8F5; padding: 80px 0; }
.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.mission-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
}
.mission-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 10px;
}
.mission-h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 20px;
  line-height: 1.2;
}
.mission-content p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.78;
  margin-bottom: 14px;
}
.mission-quote {
  border-left: 4px solid var(--burgundy);
  padding: 10px 18px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  font-style: normal;
  color: var(--charcoal);
  margin: 22px 0 28px;
  line-height: 1.5;
}
.mission-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(90,40,55,0.15);
  padding-top: 24px;
}
.mission-pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 0 8px;
}
.mission-pillar + .mission-pillar { border-left: 1px solid rgba(90,40,55,0.15); }
.mission-pillar svg {
  width: 30px;
  height: 30px;
  color: var(--burgundy);
  flex-shrink: 0;
}
.mission-pillar span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .mission-inner { grid-template-columns: 1fr; gap: 36px; }
  .mission-image img { aspect-ratio: 16/9; }
  .mission-pillars { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .mission-pillar + .mission-pillar { border-left: none; padding-left: 0; }
  .mission-pillar:nth-child(2n+1) { border-right: 1px solid rgba(90,40,55,0.15); padding-right: 16px; }
}

/* About strip */
.about-strip { background: var(--blush-soft); padding: 88px 0; }
.about-strip-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 72px;
  align-items: center;
}

/* Polaroid collage */
.polaroid-wrap {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 2.5px solid var(--burgundy);
  padding: 24px 24px 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}
.polaroid-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.polaroid {
  background: #fff;
  padding: 8px 8px 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  border-radius: 2px;
  overflow: visible;
}
.polaroid:nth-child(1) { transform: rotate(-2.5deg); z-index: 2; position: relative; }
.polaroid:nth-child(2) { transform: rotate(2deg);    z-index: 2; position: relative; }
.polaroid:nth-child(3) { transform: rotate(1.5deg);  z-index: 2; position: relative; }
.polaroid:nth-child(4) { transform: rotate(-2deg);   z-index: 2; position: relative; }
.polaroid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; display: block; }
.polaroid-script {
  text-align: right;
  font-family: 'Great Vibes', cursive;
  font-size: 30px;
  color: var(--muted);
  margin-top: 12px;
  padding-right: 4px;
}

/* About text */
.about-strip-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  display: block;
  margin-bottom: 12px;
}
.about-strip-h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--charcoal);
}
.about-strip-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 14px;
}
.about-strip-body:last-of-type { margin-bottom: 32px; }

/* ══════════════════════════════════════════════
   13. CATEGORY PAGE
══════════════════════════════════════════════ */
.cat-hero { position: relative; overflow: hidden; }
.cat-hero-img { aspect-ratio: 21/6; max-height: 320px; overflow: hidden; }
.cat-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(90,26,38,0.88) 40%, rgba(90,26,38,0.3));
  display: flex;
  align-items: center;
  padding: 0 10%;
}
.cat-hero-content .script { font-size: 30px; display: block; margin-bottom: 8px; }
.cat-hero-content h1 {
  color: #fff;
  font-size: clamp(22px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 560px;
}
.cat-hero-content p { color: rgba(255,255,255,0.82); font-size: 15px; max-width: 460px; line-height: 1.7; margin: 0; }

.cat-intro {
  background: #fff;
  padding: 52px 0;
}
.cat-intro-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.cat-intro-tips {
  background: var(--cream-deep);
  padding: 28px 32px;
  border-radius: 2px;
  border: 1px solid var(--line);
}
.cat-intro-tips h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 16px;
}
.cat-intro-tips li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 12px;
}
.cat-intro-tips li:last-child { margin-bottom: 0; }
.cat-intro-tips .tip-icon { color: var(--gold); flex-shrink: 0; }

.cat-posts-section {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 52px 0 72px;
}

.cat-related { background: #fff; padding: 48px 0; border-top: 1px solid var(--line); }
.cat-related h2 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cat-related-links { display: flex; gap: 12px; flex-wrap: wrap; }
.cat-related-link {
  padding: 10px 20px;
  border-radius: 2px;
  border: 1px solid var(--line);
  background: var(--cream-deep);
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  transition: border-color 0.2s, color 0.2s;
}
.cat-related-link:hover { border-color: var(--burgundy); color: var(--burgundy); }

/* ══════════════════════════════════════════════
   14. SINGLE POST
══════════════════════════════════════════════ */

/* Breadcrumbs */
.breadcrumbs {
  background: var(--cream-deep);
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--muted);
}
.breadcrumb-inner a { color: var(--burgundy); }
.breadcrumb-sep { color: var(--muted); }

/* Two-column post layout */
.post-layout-wrap {
  padding: 40px 24px 80px;
}
.post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

/* Article */
.post-header { margin-bottom: 28px; }
.post-cat-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 2px solid var(--burgundy);
  padding-bottom: 2px;
  margin-bottom: 16px;
}
.post-h1 {
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.18;
  color: var(--charcoal);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.post-subtitle {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.post-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.post-byline-author { font-weight: 600; color: var(--charcoal); }
.post-byline-sep { color: var(--muted); }

.post-hero { margin-bottom: 20px; border-radius: 3px; overflow: hidden; }
.post-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }

/* Social share */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.social-share-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  transition: opacity 0.2s;
}
.share-btn:hover { color: #fff; opacity: 0.88; }
.share-btn-pinterest { background: #E60023; }
.share-btn-facebook  { background: #1877F2; }
.share-btn-x         { background: #000; }

/* Article body */
.post-content { font-size: 17px; line-height: 1.9; color: var(--charcoal); }
.post-content h2 { font-size: 26px; font-weight: 800; margin: 40px 0 16px; line-height: 1.25; color: var(--charcoal); }
.post-content h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: var(--charcoal); }
.post-content p { margin-bottom: 18px; }
.post-content ul, .post-content ol { padding-left: 24px; margin-bottom: 24px; }
.post-content li { margin-bottom: 12px; line-height: 1.8; }
.post-content a { color: var(--burgundy); text-decoration: underline; }
.post-content a:hover { color: var(--burgundy-dark); }
.post-content img { border-radius: 3px; width: 100%; }
.post-content figcaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  padding: 8px 0;
  font-style: italic;
}
.post-content figure { margin: 28px 0; }

/* Styling tip callout */
.styling-tip {
  background: var(--blush-soft);
  border-left: 4px solid var(--gold);
  padding: 18px 22px;
  border-radius: 0 2px 2px 0;
  margin: 32px 0;
}
.styling-tip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}
.styling-tip p { font-size: 15.5px; line-height: 1.8; color: var(--charcoal); margin: 0; }

/* In-content images */
.post-img-wrap { margin: 28px 0; border-radius: 3px; overflow: hidden; }
.post-img-wrap img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.post-img-caption { font-size: 12px; color: var(--muted); text-align: center; padding: 8px 0; font-style: italic; }

/* FAQ section */
.faq-item { margin-bottom: 28px; }
.faq-item:last-child { margin-bottom: 0; }
.faq-item h3 { font-size: 18px; font-weight: 700; color: var(--burgundy); margin-bottom: 10px; line-height: 1.4; }
.faq-item p { font-size: 16px; color: var(--charcoal); line-height: 1.85; margin: 0; }

/* Post closing */
.post-closing { border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 48px; }
.post-closing-sig { color: var(--muted); font-size: 15px; font-style: italic; margin-top: 8px; }

/* Author bio box */
.author-bio {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 28px 24px;
  margin-bottom: 16px;
}
.author-bio-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-bio-avatar .script { font-size: 30px; }
.author-bio-written {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
  display: block;
}
.author-bio h4 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.author-bio p { font-size: 14px; color: var(--muted); line-height: 1.75; margin: 0; }

/* ══════════════════════════════════════════════
   15. SIDEBAR
══════════════════════════════════════════════ */
.post-sidebar { position: static; }

.sidebar-card {
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 28px;
}
.sidebar-card-header {
  background: var(--cream-deep);
  padding: 14px 16px;
  border-bottom: 2px solid var(--burgundy);
}
.sidebar-card-header h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin: 0;
}

/* Sidebar author card */
.sidebar-author-head {
  background: var(--burgundy);
  padding: 28px 20px 20px;
  text-align: center;
}
.sidebar-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: 2px solid var(--gold);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-author-avatar .script { font-size: 34px; }
.sidebar-author-head h3 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.sidebar-author-role { color: var(--gold-light); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; display: block; }
.sidebar-author-body { padding: 20px; }
.sidebar-author-body p { font-size: 13.5px; color: var(--muted); line-height: 1.8; margin-bottom: 16px; }
.sidebar-about-btn {
  display: block;
  text-align: center;
  padding: 10px;
  border: 1px solid var(--burgundy);
  color: var(--burgundy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}
.sidebar-about-btn:hover { background: var(--burgundy); color: #fff; }

/* Sidebar post list */
.sidebar-posts-list { padding: 8px 0; }
.sidebar-post-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-thumb {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 2px;
  overflow: hidden;
}
.sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-post-cat {
  font-size: 10px;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.sidebar-post-title { font-size: 13px; font-weight: 600; color: var(--charcoal); line-height: 1.4; }
.sidebar-post-item:hover .sidebar-post-title { color: var(--burgundy); }

/* ── Sidebar: Free Style Guides 2-column grid ── */
.sidebar-card-guides .sidebar-card-header { border-bottom: 2px solid var(--burgundy); }
.sb-guides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}
.sb-guide-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.09);
  transition: box-shadow 0.15s, transform 0.15s;
}
.sb-guide-card:hover {
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}
.sb-guide-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-deep);
}
.sb-guide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sb-guide-img-ph { width: 100%; height: 100%; background: var(--line); }
.sb-guide-title {
  padding: 7px 8px 9px;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--charcoal);
  text-align: center;
}
.sb-guide-card:hover .sb-guide-title { color: var(--burgundy); }

/* ── Sidebar: Browse by Category ── */
.sidebar-cat-list { padding: 4px 0; }
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--charcoal);
  font-size: 13.5px;
  font-weight: 500;
  transition: background 0.12s, color 0.12s;
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { background: var(--blush-soft); color: var(--burgundy); }
.sidebar-cat-count {
  background: var(--cream-deep);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 20px;
  flex-shrink: 0;
}
.sidebar-cat-item:hover .sidebar-cat-count { background: var(--blush); color: var(--burgundy); }

/* ── Sidebar: Newsletter CTA ── */
.sidebar-newsletter {
  background: var(--burgundy);
  color: #fff;
  border-radius: 3px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
}
.sb-nl-icon { font-size: 28px; margin-bottom: 10px; display: block; opacity: 0.9; }
.sidebar-newsletter h4 { color: #fff; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.sidebar-newsletter p { font-size: 13px; color: var(--gold-light); line-height: 1.6; margin-bottom: 16px; }
.sb-nl-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--charcoal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 2px;
  text-decoration: none;
}
.sb-nl-btn:hover { background: var(--gold-light); color: var(--charcoal); }

/* ── In-content related posts block ── */
.inline-related-block {
  border: 1px solid #C8E6C9;
  border-radius: 8px;
  overflow: hidden;
  margin: 36px 0;
}
.irb-header {
  background: #D8F0DA;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #2E6B32;
  letter-spacing: 0.01em;
}
.irb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: var(--white);
}
.irb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #EAF5EA;
  text-decoration: none;
  color: var(--charcoal);
  transition: background 0.12s;
}
.irb-list li:last-child .irb-item { border-bottom: none; }
.irb-item:hover { background: #F5FCF5; }
.irb-thumb {
  width: 72px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-deep);
}
.irb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.irb-thumb-ph { width: 100%; height: 100%; background: var(--line); }
.irb-title {
  flex: 1;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--charcoal);
}
.irb-item:hover .irb-title { color: var(--burgundy); }
.irb-arrow {
  color: #E07050;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

/* Sidebar Pinterest CTA */
.sidebar-pinterest {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #E60023;
  color: #fff;
  padding: 24px 20px;
  border-radius: 3px;
  text-align: center;
  text-decoration: none;
}
.sidebar-pinterest:hover { background: #c1001e; color: #fff; }
.sidebar-pinterest .p-cta-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
  display: block;
}
.sidebar-pinterest .p-cta-sub { font-size: 12px; opacity: 0.85; }

/* ══════════════════════════════════════════════
   16. RELATED POSTS SECTION
══════════════════════════════════════════════ */
.related-posts-section {
  background: var(--cream-deep);
  border-top: 1px solid var(--line);
  padding: 64px 0;
}
.related-posts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--line);
}
.related-posts-header .script { font-size: 28px; display: block; line-height: 1; }
.related-posts-header h2 { font-size: 22px; font-weight: 800; margin: 4px 0 0; }
.related-posts-all {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--burgundy);
  border-bottom: 1px solid var(--burgundy);
  padding-bottom: 2px;
}
.related-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ══════════════════════════════════════════════
   17. FOOTER
══════════════════════════════════════════════ */
.footer-newsletter {
  background: var(--burgundy);
  padding: 56px 0;
  text-align: center;
}
.footer-nl-inner { max-width: 520px; margin: 0 auto; padding: 0 24px; }
.footer-nl-inner .script { font-size: 40px; line-height: 1; margin-bottom: 8px; display: block; }
.footer-nl-inner h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}
.footer-nl-inner p { font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 28px; line-height: 1.6; }
.footer-nl-form { display: flex; max-width: 420px; margin: 0 auto; }
.footer-nl-input {
  flex: 1;
  padding: 13px 18px;
  font-size: 14px;
  border: none;
  outline: none;
  border-radius: 2px 0 0 2px;
  color: var(--charcoal);
  background: #fff;
}
.footer-nl-btn {
  padding: 13px 22px;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 2px 2px 0;
  white-space: nowrap;
  transition: background 0.2s;
}
.footer-nl-btn:hover { background: var(--gold-light); }

.site-footer { background: var(--footer-bg); padding: 64px 0 0; }
.footer-wordmark { font-family: 'Great Vibes', cursive; font-size: 36px; color: var(--gold); margin-bottom: 20px; line-height: 1.2; }
.footer-col-heading-ghost { visibility: hidden; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand-logo img {
  height: 46px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 20px;
}
.footer-brand-text { font-size: 14px; color: var(--footer-link); line-height: 1.8; margin-bottom: 24px; }
.site-footer .custom-logo { filter: brightness(0) invert(1); opacity: 0.9; height: 46px; width: auto; margin-bottom: 20px; display: block; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #3a2e34;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-link);
  font-size: 10px;
  font-weight: 700;
  transition: border-color 0.2s, color 0.2s;
}
.footer-social-icon:hover { border-color: var(--gold); color: var(--gold); }
.footer-social-icon svg { width: 16px; height: 16px; }
.footer-col-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: block;
}
.footer-link-list li { margin-bottom: 12px; }
.footer-link-list a { font-size: 14px; color: var(--footer-link); transition: color 0.2s; display: block; }
.footer-link-list a:hover { color: #fff; }

.footer-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-tag {
  font-size: 11px;
  color: #7a6f6a;
  border: 1px solid #3a2e34;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin-bottom: 28px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 32px;
}
.footer-bottom p, .footer-bottom a { font-size: 13px; color: #5a4f4a; }
.footer-bottom a:hover { color: var(--footer-link); }
.footer-bottom-links a { margin: 0 8px; }
.footer-bottom-links a:first-child { margin-left: 0; }

/* ══════════════════════════════════════════════
   18. FORMS
══════════════════════════════════════════════ */
.nl-form-inline { display: flex; gap: 0; }
.nl-form-inline input[type="text"],
.nl-form-inline input[type="email"] {
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--line);
  border-right: none;
  outline: none;
  background: #fff;
  color: var(--charcoal);
}
.nl-form-inline input[type="text"] { flex: 0 0 100px; border-radius: 2px 0 0 2px; }
.nl-form-inline input[type="email"] { flex: 1; }
.nl-form-inline button {
  padding: 11px 20px;
  background: var(--burgundy);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0 2px 2px 0;
  white-space: nowrap;
  transition: background 0.2s;
}
.nl-form-inline button:hover { background: var(--burgundy-dark); }

/* ══════════════════════════════════════════════
   19. STATIC PAGES
══════════════════════════════════════════════ */
.page-hero {
  background: var(--burgundy);
  padding: 64px 0;
  text-align: center;
}
.page-hero .script { font-size: 38px; display: block; margin-bottom: 6px; }
.page-hero h1 { color: #fff; font-size: clamp(26px, 4vw, 40px); font-weight: 800; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 17px; line-height: 1.7; max-width: 540px; margin: 0 auto; }

.page-content-section { padding: 80px 0; background: #fff; }
.page-content-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 40px;
}
.page-content-inner h2 { font-size: 24px; font-weight: 800; margin: 40px 0 16px; }
.page-content-inner h3 { font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.page-content-inner p { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 16px; }
.page-content-inner a { color: var(--burgundy); text-decoration: underline; }
.page-content-inner ul, .page-content-inner ol { padding-left: 24px; margin-bottom: 20px; }
.page-content-inner li { margin-bottom: 10px; font-size: 16px; color: var(--muted); line-height: 1.8; }

/* ══════════════════════════════════════════════
   20. SEARCH PAGE
══════════════════════════════════════════════ */
.search-hero { background: var(--burgundy); padding: 56px 0; text-align: center; }
.search-hero h1 { color: #fff; font-size: 32px; margin-bottom: 24px; }
.search-hero-form { display: flex; max-width: 500px; margin: 0 auto; }
.search-hero-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 16px;
  border: none;
  outline: none;
  border-radius: 2px 0 0 2px;
}
.search-hero-form button {
  padding: 14px 24px;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  border-radius: 0 2px 2px 0;
}

.search-results { padding: 64px 0; background: #fff; }
.search-no-results { text-align: center; padding: 64px 0; color: var(--muted); }

/* ══════════════════════════════════════════════
   21. 404 PAGE
══════════════════════════════════════════════ */
.error-404 { padding: 100px 0; text-align: center; background: var(--cream); }
.error-404 .script { font-size: 80px; display: block; margin-bottom: 0; line-height: 1; }
.error-404 h1 { font-size: 28px; margin-bottom: 16px; }
.error-404 p { font-size: 17px; color: var(--muted); margin-bottom: 32px; }

/* ══════════════════════════════════════════════
   22. PAGINATION
══════════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 8px; padding: 40px 0 0; }
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  transition: all 0.2s;
}
.pagination .page-numbers.current {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}
.pagination .page-numbers:hover:not(.current) {
  border-color: var(--burgundy);
  color: var(--burgundy);
}
.pagination .prev, .pagination .next { width: auto; padding: 0 16px; }

/* ══════════════════════════════════════════════
   23. BLOG ARCHIVE / HOME
══════════════════════════════════════════════ */
.blog-hero { background: var(--burgundy); padding: 48px 0; text-align: center; }
.blog-hero .script { font-size: 38px; display: block; margin-bottom: 4px; }
.blog-hero h1 { color: #fff; font-size: 32px; margin-bottom: 0; }

/* ══════════════════════════════════════════════
   23b. LAYOUT CLASSES (replaces inline styles for responsiveness)
══════════════════════════════════════════════ */
.single-article-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 72px;
  align-items: start;
}
.post-header-pad { padding: 40px 40px 28px; }

.mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mission-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(122,40,55,0.2);
  padding-top: 24px;
  gap: 0;
}

/* ══════════════════════════════════════════════
   24. RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .container-narrow { padding: 0 24px; }
  .header-inner { padding: 0 24px; }
  .header-nav > ul > li > a { padding: 26px 10px; font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .home-hero-inner { grid-template-columns: 1fr; min-height: auto; }
  .home-hero-image { display: none; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 48px; }
  .polaroid-wrap { max-width: 420px; }
  .cat-intro-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr !important; }
  .post-sidebar { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .post-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .header-wordmark { font-size: 30px; }
  .single-article-grid,
  body.single .container[style*="300px"] { grid-template-columns: 1fr !important; gap: 20px; }
  .mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .mission-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 0; }
}

@media (max-width: 768px) {
  .hamburger-btn { display: block; }
  .header-nav { display: none; }
  .header-inner { padding: 0 20px; }
  .post-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col-heading-ghost { display: none; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .container-narrow { padding: 0 16px; }
  .post-grid-3 { grid-template-columns: 1fr; }
  .post-grid-4 { grid-template-columns: 1fr; }
  .cat-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .cat-cards-grid > .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .related-grid { grid-template-columns: 1fr !important; }
  .single-article-grid { padding-top: 20px; padding-bottom: 40px; }
  .post-header-pad { padding: 24px 20px 18px; }
  .home-hero-content { padding: 40px 0; }
  .home-hero-btns { flex-direction: column; }
  .nl-form-inline { flex-direction: column; gap: 8px; }
  .nl-form-inline input[type="text"],
  .nl-form-inline input[type="email"] {
    flex: auto; width: 100%; border-right: 1px solid var(--line); border-radius: 2px;
  }
  .nl-form-inline button { border-radius: 2px; width: 100%; }
  .footer-nl-form { flex-direction: column; }
  .footer-nl-input { border-radius: 2px 2px 0 0; }
  .footer-nl-btn { border-radius: 0 0 2px 2px; width: 100%; text-align: center; }
  .social-share { gap: 8px; }
  .share-btn span { display: none; }
}

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

/* ══════════════════════════════════════════════
   24b. CREAM HERO (Contact, Legal, Write-for-Us)
══════════════════════════════════════════════ */
.page-hero-light {
  background: var(--cream-deep);
  border-bottom: 1px solid var(--line);
  padding: 64px 24px 56px;
  text-align: center;
}
.page-hero-light .script {
  font-size: 44px;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.page-hero-light h1 {
  font-family: var(--font-heading), system-ui;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.page-hero-light p {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}
.page-hero-gold-bar {
  width: 48px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ══════════════════════════════════════════════
   25. ABOUT PAGE
══════════════════════════════════════════════ */
.about-who { padding: 80px 0; background: #fff; }
.about-who-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-who-text h2 { font-size: 28px; font-weight: 800; margin-bottom: 24px; line-height: 1.2; }
.about-who-text p { font-size: 17px; line-height: 1.9; color: var(--muted); margin-bottom: 20px; }
.about-who-image { aspect-ratio: 4/5; overflow: hidden; border-radius: 2px; }
.about-who-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.about-values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-value-card { padding: 36px 32px; border-radius: 2px; border: 1px solid var(--line); border-left: 4px solid var(--burgundy); }
.about-value-card:nth-child(odd) { background: var(--cream-deep); }
.about-value-card:nth-child(even) { background: #fff; }
.about-value-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; color: var(--burgundy); }
.about-value-card p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }

.about-cats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.about-cat-card { display: flex; gap: 20px; align-items: flex-start; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 2px; transition: border-color 0.2s; text-decoration: none; }
.about-cat-card:hover { border-color: var(--burgundy); }
.about-cat-bar { width: 4px; background: var(--gold); border-radius: 2px; flex-shrink: 0; align-self: stretch; }
.about-cat-card .cat-name { font-size: 15px; font-weight: 700; color: var(--burgundy); margin-bottom: 6px; }
.about-cat-card .cat-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

.about-team-card { background: var(--cream-deep); padding: 40px 48px; border-radius: 2px; border: 1px solid var(--line); max-width: 560px; margin: 0 auto; text-align: center; }
.about-team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--burgundy); margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; }
.about-team-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.about-team-role { font-size: 12px; color: var(--gold); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.about-team-card > p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }

.about-faq-list { display: flex; flex-direction: column; gap: 20px; }
.about-faq-item { background: #fff; border: 1px solid var(--line); border-radius: 2px; padding: 28px 32px; }
.about-faq-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 12px; color: var(--burgundy); }
.about-faq-item p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }

.btn-outline-white { display: inline-block; padding: 14px 32px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-gold-solid { display: inline-block; padding: 14px 32px; background: var(--gold); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; }
.btn-gold-solid:hover { background: #b8926a; color: #fff; }

/* ══════════════════════════════════════════════
   26. CONTACT PAGE
══════════════════════════════════════════════ */
.contact-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.contact-items-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; }
.contact-item-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 16px; }
.contact-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--charcoal); }
.contact-item p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }
.contact-response-box { padding: 24px 20px; background: var(--cream-deep); border-radius: 2px; border: 1px solid var(--line); }
.contact-response-box .label { font-size: 13px; font-weight: 700; color: var(--burgundy); margin-bottom: 8px; letter-spacing: 0.06em; text-transform: uppercase; display: block; }
.contact-response-box p { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 0; }

.contact-form-box { background: var(--cream-deep); padding: 48px; border-radius: 2px; border: 1px solid var(--line); }
.contact-form-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 28px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.csm-form-group { margin-bottom: 20px; }
.csm-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 8px; }
.csm-input { width: 100%; padding: 13px 16px; font-size: 15px; font-family: 'Poppins', system-ui; border: 1px solid var(--line); border-radius: 2px; background: #fff; color: var(--charcoal); outline: none; transition: border-color 0.2s; box-sizing: border-box; -webkit-appearance: none; }
.csm-input:focus { border-color: var(--burgundy); }
.contact-submit { width: 100%; padding: 15px; background: var(--burgundy); color: #fff; border: none; border-radius: 2px; cursor: pointer; font-family: 'Poppins', system-ui; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s; margin-top: 8px; }
.contact-submit:hover { background: var(--burgundy-dark); }
.contact-form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.7; }
.contact-form-note a { color: var(--burgundy); }

/* ══════════════════════════════════════════════
   27. LEGAL / SIMPLE CONTENT PAGES
══════════════════════════════════════════════ */
.legal-intro-box { background: var(--blush-soft); border: 1px solid var(--gold-light); border-radius: 2px; padding: 24px 28px; margin-bottom: 48px; }
.legal-intro-box p { font-size: 15px; color: var(--charcoal); line-height: 1.8; margin: 0; }
.legal-intro-box a { color: var(--burgundy); font-weight: 600; text-decoration: none; }
.legal-intro-box a:hover { text-decoration: underline; }
.legal-block { margin-bottom: 40px; }
.legal-block h2 { font-size: 20px; font-weight: 700; margin-bottom: 14px; color: var(--burgundy); padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.legal-block p { font-size: 16px; line-height: 1.9; color: var(--muted); margin-bottom: 14px; }
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a { color: var(--burgundy); font-weight: 600; text-decoration: none; }
.legal-block a:hover { text-decoration: underline; }
.legal-list { list-style: none; display: flex; flex-direction: column; gap: 14px; padding: 0; margin: 0; }
.legal-list li { display: flex; gap: 12px; }
.legal-list-bullet { color: var(--gold); flex-shrink: 0; margin-top: 2px; font-size: 14px; }
.legal-list-body strong { font-size: 15px; font-weight: 700; display: block; margin-bottom: 4px; color: var(--charcoal); }
.legal-list-body span { font-size: 15px; color: var(--muted); line-height: 1.8; }
.legal-footer-box { margin-top: 48px; padding: 28px 32px; background: var(--cream-deep); border-radius: 2px; border: 1px solid var(--line); }
.legal-footer-box p { font-size: 15px; color: var(--muted); line-height: 1.8; margin: 0; }
.legal-footer-box a { color: var(--burgundy); font-weight: 600; text-decoration: none; }
.legal-footer-box a:hover { text-decoration: underline; }

/* Colour contrast swatches (Accessibility page) */
.contrast-swatches { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.contrast-swatch { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.contrast-swatch-sample { padding: 16px; display: flex; align-items: center; justify-content: center; }
.contrast-swatch-sample span { font-size: 16px; font-weight: 700; }
.contrast-swatch-label { padding: 12px 14px; background: #fff; }
.contrast-swatch-label p:first-child { font-size: 12px; font-weight: 600; margin-bottom: 2px; color: var(--charcoal); }
.contrast-swatch-label p:last-child { font-size: 11px; color: var(--muted); margin: 0; }

/* ══════════════════════════════════════════════
   RESPONSIVE — PAGES
══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-who-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-cats-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .contact-form-box { padding: 28px 20px; }
  .about-team-card { padding: 28px 20px; }
  .legal-intro-box { padding: 20px; }
  .legal-footer-box { padding: 20px; }
}

/* ══════════════════════════════════════════════
   IMAGE FIT — show the whole picture, never crop (Nov 2026)
   Most post images are 3:2 or 16:9; portraits get soft side panels.
══════════════════════════════════════════════ */
:root { --img-bg: #F3EEF7; }

/* Post cards (home, category, blog, search) */
.csm-card-img {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--img-bg);
}
.csm-card-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block;
  transition: transform .3s ease;
}
.csm-card:hover .csm-card-img img { transform: scale(1.03); }

/* Older post-card markup */
.post-card-img { aspect-ratio: 3 / 2; background: var(--img-bg); }
.post-card-img img { object-fit: contain; }

/* Category cards */
.cat-card-img { aspect-ratio: 3 / 2; background: var(--img-bg); }
.cat-card-img img { object-fit: contain; }

/* Home hero */
.home-hero-image { background: var(--img-bg); }
.home-hero-image img { object-fit: contain !important; }

/* Mission image */
.csm-mission-img {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  overflow: hidden;
  background: var(--img-bg);
}
.csm-mission-img img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (max-width: 860px) { .csm-mission-img { aspect-ratio: 3 / 2; } }

/* Polaroid collage */
.polaroid img { aspect-ratio: 1 / 1; object-fit: contain; background: var(--img-bg); }

/* About page */
.about-who-image { background: var(--img-bg); }
.about-who-image img { object-fit: contain; }

/* Single post: hero + in-content images keep their natural shape */
.post-hero img,
.single-hero-img img,
.post-img-wrap img {
  aspect-ratio: auto !important;
  height: auto !important;
  max-height: 80vh;
  object-fit: contain !important;
  background: var(--img-bg);
}

/* Sidebar / related thumbnails */
.sidebar-post-thumb, .sb-guide-img, .irb-thumb { background: var(--img-bg); }
.sidebar-post-thumb img, .sb-guide-img img, .irb-thumb img { object-fit: contain; }

/* Category banner stays full-bleed behind its title, but centred */
.cat-hero-img img { object-position: center 30%; }

.sb-guide-img { aspect-ratio: 3 / 2; }

/* All card images horizontal (3:2) and filled — portraits anchored near the top so faces stay in frame */
.csm-card-img img,
.post-card-img img,
.cat-card-img img,
.sb-guide-img img,
.irb-thumb img,
.sidebar-post-thumb img {
  object-fit: cover !important;
  object-position: center top !important;
}
