/*
Theme Name: PawJournal
Theme URI: https://example.com/pawjournal
Author: PawJournal Theme
Author URI: https://example.com
Description: A beautiful, light & clean WordPress theme designed for pet bloggers. Share your furry friends' adventures in style.
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: pawjournal
Tags: blog, pets, light, clean, one-column, two-columns, custom-colors, custom-menu, featured-images, post-formats, rtl-language-support, sticky-post, threaded-comments
*/

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --cream:       #FAF8F5;
  --warm-white:  #FFFFFF;
  --sand:        #F2EDE6;
  --sage:        #8BAF8B;
  --sage-dark:   #5C7E5C;
  --sage-light:  #D4E6D4;
  --peach:       #E8957A;
  --peach-light: #F5D5CB;
  --text-dark:   #2C2C2C;
  --text-mid:    #5A5A5A;
  --text-light:  #9A9A9A;
  --border:      #E8E2DA;
  --shadow:      rgba(44, 44, 44, 0.08);
  --shadow-md:   rgba(44, 44, 44, 0.14);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', 'Helvetica Neue', sans-serif;
  --font-accent:  'DM Serif Display', Georgia, serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1.25rem; color: var(--text-mid); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; color: var(--text-dark); }
em { font-style: italic; }

blockquote {
  border-left: 4px solid var(--sage);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--sage-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-dark);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-branding {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.site-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.site-title span { color: var(--sage-dark); }

.site-tagline {
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-top: 1px;
}

/* Navigation */
.main-navigation ul {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-navigation a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 8px 16px;
  border-radius: 100px;
  transition: all var(--transition);
  letter-spacing: 0.02em;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
  color: var(--sage-dark);
  background: var(--sage-light);
}

.nav-cta a {
  background: var(--sage) !important;
  color: white !important;
  font-weight: 600 !important;
}
.nav-cta a:hover { background: var(--sage-dark) !important; }

/* Mobile menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border: none;
  background: transparent;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

/* =============================================
   HERO — HOMEPAGE
   ============================================= */
.hero {
  background: linear-gradient(135deg, var(--sand) 0%, var(--cream) 60%, var(--sage-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--peach-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--sage);
  border-radius: 50%;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-title em {
  font-style: italic;
  color: var(--sage-dark);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px var(--shadow-md);
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--sage-light), var(--peach-light));
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  box-shadow: 0 24px 64px var(--shadow-md);
}

.hero-image-placeholder p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 12px;
}

.hero-stat-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  box-shadow: 0 8px 32px var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-icon { font-size: 28px; }
.hero-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; line-height: 1; }
.hero-stat-lbl { font-size: 0.75rem; color: var(--text-light); margin: 0; }

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--sage);
  color: white;
}
.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(91, 126, 92, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-light);
}

.btn-ghost {
  background: transparent;
  color: var(--sage-dark);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--peach); }

/* =============================================
   SECTION LABELS & HEADINGS
   ============================================= */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--sage);
  border-radius: 2px;
}

.section-heading {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-mid);
  font-size: 1.05rem;
  max-width: 560px;
}

/* =============================================
   POST CARDS
   ============================================= */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.post-card {
  background: var(--warm-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px var(--shadow-md);
  border-color: transparent;
}

.post-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sage-light), var(--peach-light));
  position: relative;
}

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

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

.post-card-image-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.post-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 10px;
  display: block;
}

.post-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
  color: var(--text-dark);
  transition: color var(--transition);
}
.post-card:hover .post-card-title { color: var(--sage-dark); }

.post-card-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.post-card-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.post-card-author { font-size: 0.8rem; font-weight: 500; }
.post-card-date { font-size: 0.75rem; color: var(--text-light); }
.post-card-read { font-size: 0.75rem; color: var(--text-light); margin-left: auto; }

/* Featured card */
.post-card--featured .post-card-image { aspect-ratio: 3/2; }
.post-card--featured .post-card-title { font-size: 1.4rem; }

/* =============================================
   CATEGORIES STRIP
   ============================================= */
.categories-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.categories-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  white-space: nowrap;
  transition: all var(--transition);
  cursor: pointer;
}

.cat-pill:hover, .cat-pill.active {
  background: var(--sage);
  color: white;
  border-color: var(--sage);
}
.cat-pill-icon { font-size: 16px; }

/* =============================================
   NEWSLETTER SECTION
   ============================================= */
.newsletter {
  background: linear-gradient(135deg, var(--sage-dark) 0%, var(--sage) 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1160px;
}

.newsletter::before {
  content: '🐾';
  position: absolute;
  font-size: 200px;
  opacity: 0.07;
  top: -30px;
  right: -20px;
  line-height: 1;
}

.newsletter h2 { color: white; margin-bottom: 12px; }
.newsletter p  { color: rgba(255,255,255,0.8); margin-bottom: 32px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.95);
  outline: none;
}
.newsletter-input::placeholder { color: var(--text-light); }

.newsletter-btn {
  padding: 14px 28px;
  background: var(--peach);
  color: white;
  border: none;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: #d4745b;
  transform: translateY(-2px);
}

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero {
  background: linear-gradient(135deg, var(--sand), var(--cream));
  padding: 80px 0;
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 64px var(--shadow-md);
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--sage-light), var(--peach-light));
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  box-shadow: 0 24px 64px var(--shadow-md);
}

.about-decal {
  position: absolute;
  bottom: -16px;
  right: -16px;
  background: var(--peach);
  color: white;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(232, 149, 122, 0.4);
  text-align: center;
}
.about-decal span { display: block; font-size: 0.75rem; font-family: var(--font-body); font-weight: 400; opacity: 0.9; }

.about-text .section-label { margin-bottom: 16px; }
.about-text h1 { margin-bottom: 20px; }
.about-text p  { margin-bottom: 16px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--sage);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow);
}

.value-icon { font-size: 36px; margin-bottom: 12px; }
.value-title { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.value-text  { font-size: 0.85rem; color: var(--text-light); margin: 0; }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p  { margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--warm-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.contact-item-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sage-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.contact-item-text  { font-size: 0.85rem; color: var(--text-light); margin: 0; }

.contact-form-wrap {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}

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

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color var(--transition);
}
.form-control:focus { border-color: var(--sage); background: white; }
.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
}

/* =============================================
   BLOG PAGE
   ============================================= */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-posts-list { display: flex; flex-direction: column; gap: 32px; }

.blog-post-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-post-row:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 32px var(--shadow-md);
  border-color: transparent;
}

.blog-post-row-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: linear-gradient(135deg, var(--sage-light), var(--peach-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  height: 100%;
}

.blog-post-row-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.blog-post-row-body { padding: 24px 24px 24px 0; }

.blog-post-row-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 8px;
  display: block;
}

.blog-post-row-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  transition: color var(--transition);
}
.blog-post-row:hover .blog-post-row-title { color: var(--sage-dark); }

.blog-post-row-excerpt {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}

.blog-post-row-meta {
  font-size: 0.78rem;
  color: var(--text-light);
  display: flex;
  gap: 16px;
}

/* Sidebar */
.sidebar { position: sticky; top: 96px; }

.widget {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--sage-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.widget-tag {
  padding: 6px 14px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--text-mid);
  transition: all var(--transition);
  cursor: pointer;
}
.widget-tag:hover { background: var(--sage); color: white; border-color: var(--sage); }

/* Search widget */
.widget-search {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
}
.widget-search input {
  flex: 1;
  padding: 10px 16px;
  border: none;
  font-family: var(--font-body);
  font-size: 0.875rem;
  outline: none;
  background: transparent;
}
.widget-search button {
  padding: 10px 16px;
  background: var(--sage);
  border: none;
  cursor: pointer;
  color: white;
  font-size: 14px;
}

/* =============================================
   SINGLE POST
   ============================================= */
.post-header { padding: 60px 0 40px; background: var(--sand); }

.post-header-inner { max-width: 800px; margin: 0 auto; padding: 0 24px; }

.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }

.post-cat-badge {
  padding: 4px 14px;
  background: var(--sage-light);
  color: var(--sage-dark);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.post-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.post-author-row { display: flex; align-items: center; gap: 10px; }
.post-author-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.post-author-name { font-weight: 600; font-size: 0.9rem; }
.post-meta-sep   { color: var(--border); font-size: 1.2rem; }
.post-meta-item  { font-size: 0.85rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; }

.post-featured-image {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 48px;
  background: linear-gradient(135deg, var(--sage-light), var(--peach-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.post-featured-image img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

.post-content { padding: 48px 0 80px; }
.post-content-inner { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.post-body h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.post-body h3 { font-size: 1.35rem; margin: 2rem 0 0.75rem; }
.post-body p  { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.post-body ul, .post-body ol { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.post-body li { margin-bottom: 0.5rem; line-height: 1.7; color: var(--text-mid); }
.post-body ul li { list-style: disc; }
.post-body ol li { list-style: decimal; }
.post-body a  { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }

/* Post tags */
.post-tags { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.post-tags-label { font-size: 0.85rem; font-weight: 600; color: var(--text-mid); }

/* =============================================
   PAGE HEADER (generic)
   ============================================= */
.page-header {
  background: linear-gradient(135deg, var(--sand), var(--cream));
  padding: 64px 0 48px;
  text-align: center;
}

.page-header h1 { margin-bottom: 12px; }
.page-header p  { font-size: 1.1rem; color: var(--text-mid); margin: 0; }

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

.page-numbers {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: all var(--transition);
}

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

/* =============================================
   COMMENTS
   ============================================= */
.comments-area {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.comments-title { font-size: 1.5rem; margin-bottom: 32px; }

.comment-list { margin-bottom: 48px; }

.comment {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.comment-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  overflow: hidden;
}

.comment-author { font-weight: 600; font-size: 0.9rem; margin-bottom: 2px; }
.comment-date   { font-size: 0.78rem; color: var(--text-light); margin-bottom: 10px; }
.comment-body p { font-size: 0.9rem; margin-bottom: 0; }
.comment-reply  { font-size: 0.8rem; color: var(--sage-dark); font-weight: 600; margin-top: 8px; cursor: pointer; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 72px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .site-title { color: white; }
.footer-brand .site-tagline { color: rgba(255,255,255,0.4); }
.footer-desc {
  font-size: 0.875rem;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
  cursor: pointer;
}
.social-btn:hover { background: var(--sage); }

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: white;
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--sage-light); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer-bottom a { color: var(--sage-light); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .posts-grid--featured { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .blog-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero { padding: 64px 0 48px; }

  .about-hero-inner { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }

  .posts-grid { grid-template-columns: 1fr; }
  .newsletter { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .main-navigation { display: none; }
  .menu-toggle { display: flex; }

  .main-navigation.open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    box-shadow: 0 8px 24px var(--shadow);
    z-index: 99;
  }
  .main-navigation.open ul { flex-direction: column; gap: 4px; }

  .blog-post-row { grid-template-columns: 1fr; }
  .blog-post-row-image { aspect-ratio: 16/9; height: 200px; }
  .blog-post-row-body { padding: 20px; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .values-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .contact-form-wrap { padding: 24px; }
}
