/*
Theme Name: The Whole You Wellness
Theme URI: https://yoursite.com
Author: Your Name
Author URI: https://yoursite.com
Description: A clean, organic wellness blog theme built for SEO and content authority. Features five content pillars, editorial typography, and a warm natural palette.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: whole-you-wellness
Tags: blog, health, wellness, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   DESIGN TOKENS
============================================ */
:root {
  --sage: #7a9e7e;
  --sage-light: #b5cdb8;
  --sage-pale: #f0f5f0;
  --cream: #f9f5ef;
  --warm: #e8ddd0;
  --bark: #5c4a3a;
  --charcoal: #2d2d2d;
  --terracotta: #c07a5a;
  --gold: #c9a84c;
  --white: #ffffff;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);

  --max-width: 1100px;
  --content-width: 740px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover { color: var(--bark); }

ul, ol { padding-left: 1.5em; }

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--bark);
  line-height: 1.25;
  font-weight: 700;
}

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

p { margin-bottom: 1.4em; }
p:last-child { margin-bottom: 0; }

blockquote {
  border-left: 4px solid var(--sage);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--sage-pale);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15em;
  color: var(--bark);
}

blockquote cite {
  display: block;
  font-style: normal;
  font-size: 0.8em;
  margin-top: 10px;
  opacity: 0.6;
  font-family: var(--font-body);
}

code {
  background: var(--warm);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.9em;
}

pre {
  background: var(--bark);
  color: var(--cream);
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 24px 0;
}

pre code { background: none; padding: 0; color: inherit; }

hr {
  border: none;
  border-top: 1px solid var(--warm);
  margin: 40px 0;
}

/* ============================================
   LAYOUT
============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.container--narrow {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 32px;
}

.site-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px;
}

.site-layout--full {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 32px;
}

/* ============================================
   HEADER & NAVIGATION
============================================ */
.site-header {
  background: var(--bark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: 72px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo__icon {
  width: 38px;
  height: 38px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.site-logo__text { display: flex; flex-direction: column; }

.site-logo__name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--cream);
  line-height: 1;
  font-weight: 700;
}

.site-logo__tagline {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 4px; }

.primary-nav a {
  color: rgba(249,245,239,0.75);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
  text-decoration: none;
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
  color: var(--cream);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--sage) !important;
  color: var(--cream) !important;
  border-radius: var(--radius-sm) !important;
  padding: 8px 18px !important;
  margin-left: 8px;
}
.nav-cta:hover { background: var(--sage-light) !important; }

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--cream);
  font-size: 22px;
}

/* ============================================
   HERO BANNER (Front Page)
============================================ */
.site-hero {
  background: var(--bark);
  padding: 80px 32px 90px;
  position: relative;
  overflow: hidden;
}

.site-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.site-hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: 35%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(201,168,76,0.1);
}

.site-hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.site-hero__eyebrow {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  font-weight: 500;
  display: block;
}

.site-hero__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 58px);
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 20px;
}

.site-hero__title em {
  font-style: italic;
  color: var(--sage-light);
}

.site-hero__subtitle {
  font-size: 17px;
  color: rgba(249,245,239,0.7);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.site-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--sage);
  color: var(--cream);
}
.btn--primary:hover {
  background: var(--sage-light);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(249,245,239,0.35);
}
.btn--outline:hover {
  border-color: var(--cream);
  color: var(--cream);
}

.btn--terracotta {
  background: var(--terracotta);
  color: var(--cream);
}
.btn--terracotta:hover {
  background: #a8694a;
  color: var(--cream);
  transform: translateY(-1px);
}

.site-hero__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

/* ============================================
   PILLARS STRIP
============================================ */
.pillars-strip {
  background: var(--warm);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 0;
}

.pillars-strip__inner {
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.pillars-strip__inner::-webkit-scrollbar { display: none; }

.pillar-tab {
  flex: 1;
  min-width: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 20px 16px;
  border-right: 1px solid rgba(0,0,0,0.07);
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}
.pillar-tab:last-child { border-right: none; }
.pillar-tab:hover, .pillar-tab.active {
  background: white;
  border-bottom-color: var(--sage);
}

.pillar-tab__icon { font-size: 24px; }

.pillar-tab__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--bark);
  text-align: center;
}

.pillar-tab__count {
  font-size: 10px;
  color: var(--sage);
  letter-spacing: 0.5px;
}

/* ============================================
   BLOG CARDS
============================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.posts-grid--featured {
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card--featured { grid-row: span 2; }

.post-card__thumbnail {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--warm);
  position: relative;
}

.post-card--featured .post-card__thumbnail { aspect-ratio: 4/3; }

.post-card__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__thumbnail img { transform: scale(1.04); }

.post-card__thumbnail-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: var(--warm);
}

.post-card__pillar-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--bark);
  color: var(--cream);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.post-card__body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.post-card__date {
  font-size: 11px;
  color: var(--sage);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.post-card__read-time {
  font-size: 11px;
  color: rgba(45,45,45,0.45);
}

.post-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.35;
  color: var(--charcoal);
  margin-bottom: 10px;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}
.post-card--featured .post-card__title { font-size: 22px; }
.post-card__title:hover { color: var(--terracotta); }

.post-card__excerpt {
  font-size: 14px;
  color: rgba(45,45,45,0.65);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--warm);
}

.post-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-card__author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-light);
}

.post-card__author-name {
  font-size: 12px;
  color: var(--bark);
  font-weight: 500;
}

.post-card__read-more {
  font-size: 12px;
  color: var(--terracotta);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.post-card__read-more:hover { gap: 8px; color: var(--terracotta); }

/* ============================================
   SINGLE POST
============================================ */
.post-hero {
  background: var(--bark);
  padding: 60px 32px;
  position: relative;
  overflow: hidden;
}

.post-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,74,58,0.95) 0%, rgba(92,74,58,0.7) 100%);
  z-index: 1;
}

.post-hero__bg {
  position: absolute; inset: 0;
  object-fit: cover;
  width: 100%; height: 100%;
  opacity: 0.25;
}

.post-hero__inner {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.post-hero__pillar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-weight: 500;
  text-decoration: none;
}

.post-hero__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 44px);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 20px;
}

.post-hero__subtitle {
  font-size: 17px;
  color: rgba(249,245,239,0.7);
  line-height: 1.6;
  margin-bottom: 28px;
}

.post-hero__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.post-hero__author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-hero__author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--sage-light);
}

.post-hero__author-info { display: flex; flex-direction: column; }
.post-hero__author-name { font-size: 13px; color: var(--cream); font-weight: 500; }
.post-hero__date { font-size: 11px; color: rgba(249,245,239,0.55); }

.post-hero__stats {
  display: flex;
  gap: 16px;
  margin-left: auto;
}

.post-hero__stat {
  font-size: 12px;
  color: rgba(249,245,239,0.55);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Post Content Area */
.post-content-wrap {
  padding: 60px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 60px;
  align-items: start;
}

.post-content {
  min-width: 0;
}

.post-content h2 { margin: 40px 0 16px; }
.post-content h3 { margin: 32px 0 12px; }
.post-content h4 { margin: 24px 0 10px; }

.post-content ul, .post-content ol {
  margin: 16px 0 20px;
}
.post-content li { margin-bottom: 6px; }

.post-content img {
  border-radius: var(--radius-md);
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
}

/* Table of Contents */
.toc {
  background: var(--sage-pale);
  border: 1px solid var(--sage-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

.toc__title {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--bark);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc ol { padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--bark); font-size: 14px; }
.toc a:hover { color: var(--terracotta); }

/* Key Takeaways Box */
.takeaways-box {
  background: var(--bark);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: 28px;
  margin: 36px 0;
}

.takeaways-box h4 {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.takeaways-box ul { padding-left: 1.2em; }
.takeaways-box li {
  margin-bottom: 8px;
  font-size: 15px;
  color: rgba(249,245,239,0.85);
  line-height: 1.6;
}

/* Highlight Box */
.highlight-box {
  background: var(--warm);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-size: 15px;
  color: var(--bark);
  line-height: 1.7;
}

/* Post Share */
.post-share {
  margin: 48px 0;
  padding: 28px;
  background: var(--cream);
  border: 1px solid var(--warm);
  border-radius: var(--radius-md);
  text-align: center;
}

.post-share h4 {
  font-family: var(--font-display);
  font-size: 18px;
  margin-bottom: 16px;
  color: var(--bark);
}

.share-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.share-btn--twitter { background: #1da1f2; color: white; }
.share-btn--pinterest { background: #bd081c; color: white; }
.share-btn--facebook { background: #1877f2; color: white; }
.share-btn:hover { opacity: 0.88; transform: translateY(-1px); color: white; }

/* ============================================
   SIDEBAR
============================================ */
.sidebar { display: flex; flex-direction: column; gap: 28px; }

.widget {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.widget__header {
  background: var(--bark);
  color: var(--cream);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget__header .widget__icon { font-size: 16px; }

.widget__body { padding: 20px; }

/* Newsletter Widget */
.widget--newsletter .widget__body {
  background: var(--sage-pale);
}

.widget--newsletter p {
  font-size: 13px;
  color: rgba(45,45,45,0.7);
  margin-bottom: 14px;
  line-height: 1.6;
}

.newsletter-form { display: flex; flex-direction: column; gap: 10px; }

.newsletter-form input[type="email"] {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--sage-light);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  background: white;
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--sage);
}

.newsletter-form button {
  width: 100%;
  padding: 11px;
  background: var(--sage);
  color: var(--cream);
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--bark); }

/* Popular Posts Widget */
.popular-post {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--warm);
  align-items: flex-start;
  text-decoration: none;
}
.popular-post:last-child { border-bottom: none; padding-bottom: 0; }
.popular-post:first-child { padding-top: 0; }

.popular-post__num {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--sage-light);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}

.popular-post__title {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.45;
  font-weight: 500;
  transition: color 0.2s;
}
.popular-post:hover .popular-post__title { color: var(--terracotta); }

.popular-post__meta {
  font-size: 11px;
  color: var(--sage);
  margin-top: 4px;
}

/* Pillar Widget */
.pillar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--warm);
  text-decoration: none;
  transition: all 0.2s;
}
.pillar-link:last-child { border-bottom: none; }
.pillar-link:hover { padding-left: 4px; }

.pillar-link__icon { font-size: 20px; }

.pillar-link__name {
  font-size: 14px;
  color: var(--bark);
  font-weight: 500;
  flex: 1;
}

.pillar-link__count {
  font-size: 11px;
  background: var(--warm);
  color: var(--bark);
  padding: 2px 8px;
  border-radius: 20px;
}

/* About Widget */
.about-widget__photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 14px;
  object-fit: cover;
  border: 3px solid var(--sage-light);
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.about-widget__name {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--bark);
  text-align: center;
  margin-bottom: 8px;
}

.about-widget__bio {
  font-size: 13px;
  color: rgba(45,45,45,0.65);
  text-align: center;
  line-height: 1.6;
  margin-bottom: 16px;
}

.about-widget__link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--terracotta);
  font-weight: 500;
}

/* ============================================
   RELATED POSTS
============================================ */
.related-posts {
  padding: 60px 32px;
  background: var(--warm);
}

.related-posts__inner { max-width: var(--max-width); margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
}

.section-header__eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
}

.section-header__title {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--bark);
}

/* ============================================
   COMMENTS
============================================ */
.comments-area {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--warm);
}

.comments-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--bark);
  margin-bottom: 32px;
}

.comment {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.comment-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.comment-body {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
}

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

.comment-author {
  font-weight: 600;
  font-size: 14px;
  color: var(--bark);
}

.comment-date {
  font-size: 12px;
  color: rgba(45,45,45,0.4);
}

.comment-text {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(45,45,45,0.8);
  margin-bottom: 10px;
}

.comment-reply-link {
  font-size: 12px;
  color: var(--terracotta);
  font-weight: 500;
}

/* Comment Form */
.comment-respond {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}

.comment-respond h3 {
  font-family: var(--font-display);
  color: var(--bark);
  margin-bottom: 24px;
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.comment-form .form-full { grid-column: 1 / -1; }

.comment-form label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 6px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--warm);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.2s;
  resize: vertical;
}

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

.comment-form textarea { min-height: 120px; }

.comment-form .submit-btn {
  grid-column: 1 / -1;
}

/* ============================================
   PAGINATION
============================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 0;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  color: var(--bark);
  background: var(--white);
  border: 1.5px solid var(--warm);
}

.page-numbers:hover {
  border-color: var(--sage);
  color: var(--sage);
}

.page-numbers.current {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--cream);
}

.page-numbers.prev, .page-numbers.next {
  width: auto;
  padding: 0 16px;
}

/* ============================================
   CATEGORY / ARCHIVE PAGE
============================================ */
.archive-header {
  background: var(--warm);
  padding: 48px 32px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.archive-header__inner { max-width: var(--max-width); margin: 0 auto; }

.archive-header__eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 500;
  margin-bottom: 8px;
}

.archive-header__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  color: var(--bark);
  margin-bottom: 10px;
}

.archive-header__description {
  font-size: 16px;
  color: rgba(45,45,45,0.6);
  max-width: 580px;
}

/* ============================================
   SEARCH
============================================ */
.search-form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.search-form input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--warm);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--white);
  color: var(--charcoal);
}
.search-form input:focus { outline: none; border-color: var(--sage); }

.search-form button {
  padding: 11px 20px;
  background: var(--sage);
  color: var(--cream);
  border: none;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--bark); }

/* ============================================
   404 PAGE
============================================ */
.error-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 32px;
}

.error-404__num {
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--sage-light);
  line-height: 1;
  margin-bottom: 20px;
}

.error-404__title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--bark);
  margin-bottom: 14px;
}

.error-404__text {
  font-size: 16px;
  color: rgba(45,45,45,0.6);
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: var(--charcoal);
  color: rgba(249,245,239,0.7);
  padding: 64px 32px 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer-brand__logo-icon {
  width: 34px;
  height: 34px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.footer-brand__name {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cream);
  font-weight: 700;
}

.footer-brand__description {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--sage); }

.footer-col__title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }

.footer-col a {
  font-size: 13px;
  color: rgba(249,245,239,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }

.site-footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copyright {
  font-size: 12px;
  opacity: 0.45;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(249,245,239,0.4);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--cream); }

/* ============================================
   UTILITIES
============================================ */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-sage { color: var(--sage); }
.text-terracotta { color: var(--terracotta); }
.text-bark { color: var(--bark); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 900px) {
  .site-layout {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .site-hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .site-hero__image { display: none; }
  .post-content-wrap {
    grid-template-columns: 1fr;
    padding: 40px 20px;
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .posts-grid--featured {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container, .container--narrow { padding: 0 20px; }
  .site-header__inner { padding: 0 20px; }
  .primary-nav { display: none; }
  .primary-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 72px 0 0;
    background: var(--bark);
    padding: 32px 24px;
    gap: 4px;
    z-index: 99;
    overflow-y: auto;
  }
  .nav-toggle { display: block; }
  .site-hero { padding: 48px 20px 60px; }
  .post-hero { padding: 40px 20px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding: 48px 20px 24px; }
  .posts-grid { grid-template-columns: 1fr; }
  .comment-form { grid-template-columns: 1fr; }
  .site-layout--full { padding: 40px 20px; }
  .related-posts { padding: 40px 20px; }
}

/* ============================================
   WORDPRESS CORE CLASSES
============================================ */
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: rgba(45,45,45,0.55); margin-top: 8px; text-align: center; font-style: italic; }
.sticky { position: relative; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery img { border-radius: var(--radius-sm); }
.screen-reader-text { @extend .visually-hidden; }
