/*
Theme Name: The Home State
Theme URI: https://thehomestate.com
Author: The Home State Editorial
Author URI: https://thehomestate.com
Description: A world-class luxury editorial publication theme for architecture, interior design, gardening, DIY craft, and thoughtful everyday living.
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-home-state
Tags: blog, editorial, magazine, one-column, custom-menu, featured-images, theme-options, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  /* Brand Palette (Editorial Harmony) */
  --background: #FAF8F4;
  --background-secondary: #F0EDE6;
  --background-tertiary: #E8E3DA;
  --surface-white: #FFFFFF;
  --surface-dark: #242923;
  --surface-dark-deep: #1A1F19;

  /* Typography Colors */
  --foreground: #242923;
  --foreground-muted: #5C635B;
  --foreground-subtle: #849488;
  --foreground-inverse: #FAF8F4;
  --foreground-inverse-muted: #C9B9A5;

  /* Core Accent Colors */
  --primary: #344C40;              /* Brand Forest Green */
  --primary-hover: #23352C;
  --primary-foreground: #FAF8F4;
  --sage: #849488;                 /* Muted Sage */
  --sage-light: #EBF0EC;
  --sage-soft: #F2F5F3;
  --taupe: #C9B9A5;                /* Warm Taupe */
  --taupe-light: #F4EFEA;
  --terracotta: #B8795B;           /* Elegant Terracotta Accent */
  --terracotta-hover: #9E6347;
  --terracotta-soft: #F9F3EF;

  /* Borders & Dividers */
  --border: #E5E1D9;
  --border-light: #EFECE6;
  --border-strong: #D5CEC2;
  --border-inverse: rgba(250, 248, 244, 0.14);

  /* Shadows */
  --shadow-sm: 0 2px 6px rgba(36, 41, 35, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(36, 41, 35, 0.08);
  --shadow-lg: 0 20px 48px -10px rgba(36, 41, 35, 0.12), 0 0 0 1px rgba(36, 41, 35, 0.03);
  --shadow-dropdown: 0 24px 52px -12px rgba(36, 41, 35, 0.16), 0 0 0 1px rgba(36, 41, 35, 0.05);

  /* Layout Spacing */
  --container-max: 1440px;
  --reading-max: 760px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE RESET & EDITORIAL TYPOGRAPHY
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--background);
  color: var(--foreground);
  font-family: 'DM Sans', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Headings: Cormorant Garamond luxury editorial serif */
h1, h2, h3, h4, h5, h6,
.editorial-serif {
  font-family: 'Cormorant Garamond', 'DM Serif Display', Garamond, Georgia, serif;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin-top: 0;
}

h1 { font-size: clamp(2.5rem, 4.5vw, 4rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; }
h4 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; font-family: 'DM Sans', sans-serif; letter-spacing: -0.01em; }

p {
  margin: 0 0 1.25rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
}

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

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Screen reader accessible only */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   3. LAYOUT & CONTAINERS
   ========================================================================== */

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 3.5rem);
  padding-right: clamp(1.25rem, 4vw, 3.5rem);
}

.site-main {
  min-height: 70vh;
}

.section {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.section-tight {
  padding-top: clamp(2.5rem, 4vw, 3.75rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.75rem);
}

.border-t {
  border-top: 1px solid var(--border);
}

.border-b {
  border-bottom: 1px solid var(--border);
}

/* Reading Progress Bar */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--terracotta);
  z-index: 999;
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   4. LUXURY EDITORIAL HEADER & BRAND MASTHEAD
   ========================================================================== */

.site-header {
  position: relative;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.site-header.is-sticky {
  position: sticky;
  top: 0;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 14px rgba(36, 41, 35, 0.05);
}

.site-header.is-sticky .utility-bar {
  display: none;
}

.site-header.is-sticky .masthead {
  padding: 6px 0 4px;
}

.site-header.is-sticky .brand-crest-wrap,
.site-header.is-sticky .brand-tagline {
  display: none;
}

.site-header.is-sticky .wordmark {
  font-size: 1.25rem;
}

.site-header.is-sticky .main-nav {
  padding: 2px 0 4px;
}

.site-header.is-sticky .nav-link {
  font-size: 10px;
  padding: 3px 5px;
}

/* Top Editorial Utility Bar — Slim & Elegant */
.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edition-pill {
  display: inline-flex;
  align-items: center;
  padding: 1px 7px;
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 8.5px;
  letter-spacing: 0.07em;
  color: var(--primary);
}

.utility-sep {
  opacity: 0.35;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-links a {
  position: relative;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.utility-links a:hover {
  color: var(--terracotta);
}

.utility-journal-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--primary);
  font-weight: 600;
}

/* Main Brand Masthead — Decent & Compact */
.masthead {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 6px 0 4px;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--foreground);
  margin-left: -6px;
}

/* Brand Wordmark & Crest */
.brand-block {
  grid-column: 2;
  text-align: center;
}

.wordmark-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.brand-crest-wrap {
  margin-bottom: 2px;
}

.brand-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.2px solid var(--primary);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--primary);
  background: var(--background-secondary);
  transition: all var(--transition-smooth);
}

.wordmark-link:hover .brand-crest {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
  transform: rotate(6deg);
}

.wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.05;
  color: var(--foreground);
  text-transform: uppercase;
}

.brand-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-top: 2px;
  font-weight: 600;
}

/* Header Right Tools */
.header-tools {
  grid-column: 3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.newsletter-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 500;
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.newsletter-badge:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  transform: translateY(-1px);
}

.search-trigger {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--foreground);
  transition: all var(--transition-fast);
}

.search-trigger:hover {
  background: var(--surface-white);
  border-color: var(--primary);
  color: var(--primary);
}

/* Primary Navigation Bar — Slim, Clean & Understated */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.2vw, 30px);
  padding: 2px 0 5px;
  border-top: 1px solid var(--border-light);
  position: relative;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: transparent;
  border: none;
  padding: 4px 5px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--foreground);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active,
.nav-group.is-open .nav-link {
  color: var(--terracotta);
}

.nav-link.active::after,
.nav-group.is-open .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 4px;
  right: 4px;
  height: 1.5px;
  background: var(--terracotta);
}

/* ==========================================================================
   5. SIMPLE EDITORIAL DROPDOWN MENU
   ========================================================================== */

.nav-item-dropdown,
.nav-group {
  position: relative;
  display: inline-block;
}

.simple-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  list-style: none;
  padding: 6px 0;
  margin: 4px 0 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s;
  z-index: 150;
  text-align: left;
}

.nav-item-dropdown:hover > .simple-dropdown,
.nav-item-dropdown:focus-within > .simple-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Align last dropdown to the right edge to avoid edge overflow */
.nav-item-dropdown:last-child .simple-dropdown {
  left: auto;
  right: 0;
}

.dropdown-item {
  display: block;
  padding: 8px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  text-decoration: none;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #FAF8F4;
  color: var(--terracotta);
  padding-left: 22px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-light);
  margin: 5px 0;
  padding: 0;
  list-style: none;
}

.dropdown-view-all {
  font-weight: 600;
  font-size: 12px;
  color: var(--forest);
  letter-spacing: 0.02em;
}

.dropdown-view-all:hover {
  color: var(--terracotta);
}

/* ==========================================================================
   6. SEARCH MODAL & OVERLAY
   ========================================================================== */

.search-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(36, 41, 35, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.search-overlay.active {
  display: flex;
  animation: thsFadeIn 0.2s ease-out;
}

@keyframes thsFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.search-modal {
  position: relative;
  background: var(--background);
  width: 100%;
  max-width: 640px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-dropdown);
}

.search-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground-muted);
  padding: 6px;
}

.search-close:hover {
  color: var(--foreground);
}

.search-title {
  font-size: clamp(24px, 3.5vw, 36px);
  margin: 6px 0 20px;
}

.search-form-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.field {
  width: 100%;
  padding: 12px 16px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--foreground);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 76, 64, 0.12);
}

/* ==========================================================================
   7. BUTTONS, PILLS & EDITORIAL MICRO-COMPONENTS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid var(--primary);
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: var(--primary-foreground);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.btn-terracotta {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
}

.btn-terracotta:hover {
  background: var(--terracotta-hover);
  border-color: var(--terracotta-hover);
  color: #FFFFFF;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--surface-white);
  border-color: var(--primary);
  color: var(--primary);
}

.eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

.text-link:hover {
  color: var(--terracotta);
  border-color: var(--terracotta);
  gap: 10px;
}

.card-category-pill {
  display: inline-block;
  padding: 3px 10px;
  background: var(--background-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  transition: all var(--transition-fast);
  width: fit-content;
}

.card-category-pill:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--foreground-muted);
  margin-top: 8px;
}

.meta-sep {
  opacity: 0.4;
}

.reading-time {
  display: inline-flex;
  align-items: center;
}

/* Section Header Component */
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.section-heading-inner h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 3.2vw, 40px);
}

.section-heading-inner p {
  margin: 8px 0 0;
  font-size: 14.5px;
  color: var(--foreground-muted);
  max-width: 600px;
}

/* Edition Line Ticker — Sleek & Refined */
.edition-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: clamp(14px, 2vw, 22px);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground-muted);
}

/* ==========================================================================
   8. HOMEPAGE: SECTION 1 — PREMIUM EDITORIAL HERO
   ========================================================================== */

.hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
  margin-top: clamp(12px, 1.8vw, 18px);
}

.main-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: clamp(480px, 60vh, 640px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.main-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.main-feature:hover img {
  transform: scale(1.035);
}

.cover-story-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 12px;
  background: rgba(36, 41, 35, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(250, 248, 244, 0.2);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FAF8F4;
}

.feature-copy {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 5vw, 44px);
  background: linear-gradient(180deg, transparent 0%, rgba(26, 31, 25, 0.5) 30%, rgba(26, 31, 25, 0.95) 100%);
  color: #FFFFFF;
}

.feature-copy h2 {
  color: #FFFFFF;
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.15;
  margin: 10px 0 12px;
}

.feature-copy p {
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 18px;
  max-width: 640px;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 3px;
  transition: all var(--transition-fast);
}

.main-feature:hover .read-link {
  border-color: #FFFFFF;
  gap: 12px;
}

/* Side Complementary Stories */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vw, 24px);
}

.hero-side article {
  flex: 1;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(14px, 1.8vw, 18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.hero-side article:hover {
  border-color: var(--taupe);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-side .image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.hero-side .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.hero-side article:hover .image-wrap img {
  transform: scale(1.04);
}

.side-card-num {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 2px 8px;
  background: rgba(36, 41, 35, 0.75);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  font-size: 9.5px;
  font-weight: 700;
  color: #FAF8F4;
  letter-spacing: 0.05em;
}

.hero-side h3 {
  font-size: clamp(18px, 1.8vw, 22px);
  margin: 8px 0 6px;
  line-height: 1.25;
}

/* ==========================================================================
   9. HOMEPAGE: SECTION 2 — EXPLORE BY DEPARTMENT
   ========================================================================= */

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}

.category-tile {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-decoration: none;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.category-tile:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-tile .image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 12px;
}

.category-tile .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.category-tile:hover .image-wrap img {
  transform: scale(1.05);
}

.cat-count-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 8px;
  background: rgba(36, 41, 35, 0.82);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-pill);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #FAF8F4;
  text-transform: uppercase;
}

.category-tile h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 4px;
  line-height: 1.2;
}

.category-tile p {
  font-size: 11.5px;
  color: var(--foreground-muted);
  line-height: 1.4;
  margin: 0;
}

/* ==========================================================================
   10. HOMEPAGE: SECTION 3 — LATEST STORIES (ARTICLE GRID)
   ========================================================================== */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3.5vw, 36px);
}

.post-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(16px, 2.2vw, 22px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.post-card:hover {
  border-color: var(--taupe);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card .image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--background-secondary);
}

.post-card .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.post-card h3 {
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.25;
  margin: 10px 0 8px;
}

.post-card h3 a:hover {
  color: var(--terracotta);
}

.post-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--foreground-muted);
  margin-bottom: auto;
}

/* ==========================================================================
   11. HOMEPAGE: SECTION 4 — CURATOR'S SELECTION (SAGE SECTION)
   ========================================================================== */

.sage-section {
  background-color: var(--sage-light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.curator-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--surface-white);
  border: 1px solid var(--sage);
  border-radius: var(--radius-pill);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.editors-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(24px, 3.5vw, 40px);
  align-items: stretch;
}

.editor-main {
  background: var(--surface-white);
}

.editor-side-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: space-between;
}

.compact-story {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.compact-story:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.compact-story .image-wrap {
  width: 105px;
  min-width: 105px;
  height: 85px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--background-secondary);
}

.compact-story .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-fast);
}

.compact-story:hover .image-wrap img {
  transform: scale(1.05);
}

.compact-story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.compact-story h3 {
  font-size: 16px;
  line-height: 1.3;
  margin: 6px 0 4px;
  font-weight: 600;
}

/* ==========================================================================
   12. HOMEPAGE: SECTION 7 — GARDEN & OUTDOOR LIVING
   ========================================================================== */

.outdoor-feature {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

.outdoor-feature .image-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.outdoor-feature .image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.outdoor-feature:hover .image-wrap img {
  transform: scale(1.03);
}

.outdoor-icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   13. HOMEPAGE: SECTION 9 — READER'S CORNER (RANKED POPULAR POSTS)
   ========================================================================== */

.popular-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

.popular-item {
  position: relative;
  display: flex;
  gap: 18px;
  padding: 24px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.popular-item:hover {
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.popular-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--taupe);
  line-height: 1;
}

.popular-item:hover .popular-number {
  color: var(--terracotta);
}

.popular-item-content h3 {
  font-size: 18px;
  line-height: 1.3;
  margin: 6px 0 6px;
}

/* ==========================================================================
   14. HOMEPAGE: SECTION 10 — VISUAL EDIT / GALLERY STRIP
   ========================================================================== */

.gallery-strip-section {
  padding: clamp(3.5rem, 5vw, 5rem) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background-secondary);
}

.gallery-strip-header {
  text-align: center;
  margin-bottom: 32px;
}

.gallery-strip-header h3 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 6px 0 0;
}

.gallery-strip-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.gallery-strip-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-overlay-icon {
  position: absolute;
  inset: 0;
  background: rgba(36, 41, 35, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.gallery-strip-item:hover img {
  transform: scale(1.06);
}

.gallery-strip-item:hover .gallery-overlay-icon {
  opacity: 1;
}

/* ==========================================================================
   15. HOMEPAGE: SECTION 11 — THE HOME LETTER NEWSLETTER
   ========================================================================== */

.newsletter-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
}

.newsletter-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  box-shadow: var(--shadow-md);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.newsletter-inner h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  margin: 12px 0 12px;
}

.newsletter-inner p {
  font-size: 15px;
  color: var(--foreground-muted);
  max-width: 540px;
  margin: 0 auto 28px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  margin: 0 auto;
}

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

.newsletter-form-row .field {
  flex: 1;
}

.newsletter-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--foreground-muted);
}

.newsletter-msg {
  font-size: 13px;
  font-weight: 500;
  margin-top: 10px;
}

/* ==========================================================================
   16. SINGLE POST / ARTICLE TEMPLATE (single.php)
   Luxury Editorial Reading Experience
   ========================================================================== */

.single-post-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Article Masthead */
.article-header {
  text-align: center;
  max-width: 880px;
  margin: clamp(2rem, 3.8vw, 3.2rem) auto 2rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--foreground-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--foreground-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--terracotta);
}

.breadcrumbs .crumb-sep {
  opacity: 0.4;
  font-size: 10px;
}

.breadcrumbs .active-crumb {
  color: var(--terracotta);
  font-weight: 600;
}

.article-eyebrow-wrap {
  margin-bottom: 14px;
}

.article-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(52, 76, 64, 0.07);
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid rgba(52, 76, 64, 0.12);
  transition: all var(--transition-fast);
}

.article-eyebrow:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.article-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 4.8vw, 56px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.018em;
  color: var(--foreground);
  margin: 0 0 18px;
}

.article-standfirst {
  max-width: 740px;
  margin: 0 auto 24px;
}

.article-standfirst p {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(20px, 2.2vw, 25px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: #4A524A;
  margin: 0;
}

/* Integrated Editorial Byline Bar */
.article-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px 24px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 999px;
  max-width: 820px;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.byline-author-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline-avatar-link {
  display: flex;
  flex-shrink: 0;
}

.byline-avatar {
  border-radius: 50%;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1.5px solid var(--terracotta);
}

.byline-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.byline-author-line {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.3;
}

.byline-prefix {
  font-weight: 400;
  color: var(--foreground-muted);
  margin-right: 3px;
}

.byline-author-name {
  color: var(--foreground);
  text-decoration: none;
}

.byline-author-name:hover {
  color: var(--terracotta);
}

.byline-details-line {
  font-size: 11.5px;
  color: var(--foreground-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1.3;
  margin-top: 2px;
}

.byline-reading-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--terracotta);
  font-weight: 600;
}

/* Share Dock */
.article-share-dock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.share-dock-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.demo-editorial-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(184, 121, 91, 0.08);
  border: 1px solid rgba(184, 121, 91, 0.22);
  border-radius: 6px;
  font-size: 12px;
  color: var(--foreground-muted);
  max-width: 820px;
  margin: 18px auto 0;
  text-align: center;
}

/* Hero Feature Figure */
.article-hero-figure {
  max-width: 1240px;
  margin: clamp(2rem, 3.5vw, 3.2rem) auto clamp(2.5rem, 4.5vw, 4rem);
}

.article-hero-image {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.12);
  display: block;
}

.article-hero-caption {
  font-size: 12px;
  font-style: italic;
  color: var(--foreground-muted);
  text-align: center;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 3-Column / Responsive Editorial Layout */
.article-editorial-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 260px;
  gap: clamp(28px, 3.6vw, 52px);
  max-width: 1320px;
  margin: 0 auto clamp(3rem, 5vw, 5rem);
  align-items: start;
}

/* Left Sidebar: Sticky TOC Dock */
.article-sidebar-left {
  position: relative;
}

.sticky-reading-dock {
  position: sticky;
  top: 85px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.toc-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.toc-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-item {
  margin: 0;
}

.toc-level-3 {
  padding-left: 12px;
}

.toc-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--foreground-muted);
  text-decoration: none;
  padding: 5px 8px;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: all var(--transition-fast);
}

.toc-num {
  font-family: monospace;
  font-size: 10.5px;
  color: var(--terracotta);
  font-weight: 600;
  flex-shrink: 0;
  margin-top: 2px;
}

.toc-link:hover,
.toc-link.is-active {
  color: var(--primary);
  font-weight: 600;
  background: rgba(52, 76, 64, 0.05);
  border-left-color: var(--terracotta);
  padding-left: 10px;
}

.sidebar-reading-note {
  background: var(--background-secondary);
  border-left: 3px solid var(--sage);
  padding: 14px 16px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--foreground-muted);
}

.sidebar-reading-note .note-eyebrow {
  display: block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}

.sidebar-reading-note p {
  margin: 0;
}

/* Center Column: Article Main Column */
.article-main-column {
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

/* Mobile TOC Accordion */
.toc-mobile-accordion {
  display: none;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px;
  margin-bottom: 28px;
}

.toc-mobile-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  cursor: pointer;
}

.toc-mobile-list {
  list-style: none;
  padding: 12px 0 0;
  margin: 10px 0 0;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-mobile-list a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 13.5px;
  color: var(--foreground);
  text-decoration: none;
}

.toc-mobile-list a:hover {
  color: var(--terracotta);
}

/* Article Body / Document Body */
.article-body,
.document-body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.85;
  color: #242923;
  letter-spacing: -0.005em;
}

/* Drop Cap on Lead Paragraph */
.article-body > p:first-of-type::first-letter,
.document-body > p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', Georgia, serif;
  float: left;
  font-size: 4.8rem;
  line-height: 0.76;
  padding: 6px 12px 4px 0;
  color: var(--primary);
  font-weight: 600;
}

.article-body h2,
.document-body h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--primary);
  margin: 2.6em 0 0.8em;
  padding-top: 1.2em;
  border-top: 1px solid var(--border-light);
  scroll-margin-top: 95px;
}

.article-body h3,
.document-body h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--foreground);
  margin: 2em 0 0.6em;
  scroll-margin-top: 95px;
}

.article-body p,
.document-body p {
  margin-bottom: 1.6em;
}

.article-body strong,
.document-body strong {
  font-weight: 600;
  color: var(--foreground);
}

.article-body a,
.document-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--terracotta);
  transition: color var(--transition-fast);
}

.article-body a:hover,
.document-body a:hover {
  color: var(--terracotta);
}

/* Editorial Blockquote / Pull Quote */
.article-body blockquote,
.document-body blockquote {
  position: relative;
  margin: 2.6em 0;
  padding: 24px 32px 24px 34px;
  background: #F6F3EC;
  border-left: 4px solid var(--terracotta);
  border-radius: 4px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(22px, 2.4vw, 27px);
  font-style: italic;
  line-height: 1.5;
  color: #242923;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.article-body blockquote p,
.document-body blockquote p {
  margin-bottom: 0.5em;
}

.article-body blockquote p:last-child,
.document-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol,
.document-body ul,
.document-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.6em;
}

.article-body li,
.document-body li {
  margin-bottom: 0.6em;
  line-height: 1.75;
}

/* Article Images & Figures */
.article-body figure,
.document-body figure {
  margin: 2.5em 0;
}

.article-body img,
.document-body img {
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  width: 100%;
  height: auto;
  display: block;
}

.article-body figcaption,
.document-body figcaption {
  font-size: 12.5px;
  font-style: italic;
  color: var(--foreground-muted);
  text-align: center;
  margin-top: 10px;
  line-height: 1.5;
}

/* Sources & Further Reading */
.article-sources-box {
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 2.5em 0;
}

.sources-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 12px;
}

.sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sources-list a {
  font-size: 13.5px;
  color: var(--foreground);
  text-decoration: none;
}

.sources-list a:hover {
  color: var(--terracotta);
}

/* Tags Section */
.article-tags-section {
  margin: 36px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.tags-eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 12px;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag-pill {
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  background: var(--surface-white);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.article-tag-pill:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

/* Luxury Editorial Author Card */
.author-editorial-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px;
  background: var(--background-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin: 40px 0;
}

.author-editorial-avatar {
  flex-shrink: 0;
}

.author-editorial-avatar .author-img {
  border-radius: 50%;
  width: 76px;
  height: 76px;
  object-fit: cover;
  border: 2px solid var(--surface-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  display: block;
}

.author-editorial-details {
  flex: 1;
}

.author-desk-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 4px;
}

.author-desk-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--foreground);
}

.author-desk-bio {
  font-size: 14px;
  line-height: 1.65;
  color: var(--foreground-muted);
  margin: 0 0 14px;
}

.author-desk-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  border-bottom: 1px solid var(--terracotta);
  padding-bottom: 2px;
  transition: all var(--transition-fast);
}

.author-desk-link:hover {
  color: var(--terracotta);
  gap: 10px;
}

/* Magazine Visual Previous / Next Split Navigator */
.post-split-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split-nav-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  text-decoration: none;
  color: var(--foreground);
  transition: all var(--transition-normal);
}

.split-nav-card:hover {
  border-color: var(--terracotta);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.split-nav-thumb img {
  width: 68px;
  height: 68px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.split-nav-content {
  flex: 1;
  min-width: 0;
}

.split-direction {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}

.split-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  color: var(--foreground);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.split-next {
  text-align: right;
  justify-content: flex-end;
}

.split-next .split-direction {
  justify-content: flex-end;
}

/* Right Sidebar: Sticky Curated Aside */
.article-sidebar-right {
  position: relative;
}

.sticky-curated-dock {
  position: sticky;
  top: 85px;
}

.curated-widget {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.widget-header {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.widget-eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 3px;
}

.widget-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  margin: 0;
  color: var(--primary);
}

.widget-stories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.story-index-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.index-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.index-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}

.index-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.story-meta-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-item dt {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--foreground-muted);
}

.meta-item dd {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.meta-item dd a {
  color: var(--foreground);
  text-decoration: none;
}

.meta-item dd a:hover {
  color: var(--terracotta);
}

.index-share-row {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.aside-compact-card {
  margin: 0 !important;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
}

.aside-compact-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.aside-compact-card .image-wrap {
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  margin-bottom: 10px;
  overflow: hidden;
}

.aside-compact-card .card-category-pill {
  font-size: 9.5px;
  padding: 3px 9px;
  margin-bottom: 6px;
  display: inline-block;
}

.aside-compact-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 6px;
}

.aside-compact-card p {
  display: none;
}

.aside-compact-card .post-meta {
  font-size: 11px;
}

/* "Stay A Little Longer" Section */
.stay-longer-section {
  padding: clamp(3rem, 5vw, 5rem) 0 2rem;
  border-top: 1px solid var(--border);
}

.section-heading-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(2rem, 3.5vw, 3rem);
}

.section-heading-centered .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: block;
  margin-bottom: 8px;
}

.section-heading-centered .section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 10px;
  color: var(--foreground);
}

.section-heading-centered .section-sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--foreground-muted);
  margin: 0;
}

/* Comments Section Enhancement */
.comments-area {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  max-width: 100%;
}

.comments-title,
.comment-reply-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comment-list .comment {
  margin: 0;
}

.comment-list .comment-body {
  padding: 22px;
  background: var(--surface-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

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

.comment-author img {
  border-radius: 50%;
  width: 42px;
  height: 42px;
}

.comment-author .fn {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--foreground);
}

.comment-metadata {
  font-size: 12px;
  color: var(--foreground-muted);
  margin-bottom: 12px;
}

.comment-content p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
  margin-bottom: 12px;
}

.comment-reply-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Luxury Editorial Comments & Thoughts Box */
.luxury-comment-box {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  max-width: 760px;
  margin: 3rem auto 2rem;
}

.luxury-comment-box .comment-reply-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.2vw, 36px);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.luxury-comment-box .logged-in-as {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--foreground-muted);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.luxury-comment-box .logged-in-as a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.luxury-comment-box .logged-in-as a:hover {
  color: var(--primary);
}

.luxury-comment-form {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  box-shadow: none;
  max-width: 100%;
}

.luxury-comment-form label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 8px;
}

.luxury-comment-form .field {
  width: 100%;
  background: #FAF8F4;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  color: var(--foreground);
  transition: all 0.2s ease;
  outline: none;
}

.luxury-comment-form .field:focus {
  background: #FFFFFF;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(52, 76, 64, 0.12);
}

.luxury-comment-form .field-textarea {
  min-height: 120px;
  line-height: 1.6;
  resize: vertical;
}

.luxury-comment-form .form-submit {
  margin-top: 20px;
  margin-bottom: 0;
}

.submit-thought-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: var(--forest);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(52, 76, 64, 0.2);
  transition: all 0.2s ease;
}

.submit-thought-btn:hover {
  background: #25372E;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(52, 76, 64, 0.3);
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
  margin-bottom: 16px;
}

/* Responsive Editorial Layout Overrides */
@media (max-width: 1200px) {
  .article-editorial-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .article-sidebar-right {
    display: none;
  }
}

@media (max-width: 1020px) {
  .article-editorial-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar-left {
    display: none;
  }
  .toc-mobile-accordion {
    display: block;
  }
  .article-byline-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 16px;
    padding: 16px 20px;
  }
  .byline-text {
    text-align: center;
  }
  .byline-details-line {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .post-split-nav {
    grid-template-columns: 1fr;
  }
  .split-next {
    text-align: left;
    justify-content: flex-start;
  }
  .split-next .split-direction {
    justify-content: flex-start;
  }
  .author-editorial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ==========================================================================
   17. BLOG / JOURNAL ARCHIVE (home.php) & CATEGORY PAGES
   ========================================================================== */

.page-heading {
  text-align: center;
  max-width: 820px;
  margin: clamp(2rem, 4vw, 3.5rem) auto clamp(2rem, 3.5vw, 3rem);
}

.page-heading h1 {
  font-size: clamp(34px, 4.8vw, 56px);
  margin: 8px 0 12px;
}

.page-heading p {
  font-size: 16px;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Filters & Search Toolbar — Unified Editorial Pill Bar */
.filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 2rem;
  max-width: 860px;
  padding: 5px 8px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}

.filters-search-wrap {
  position: relative;
  flex: 1 1 240px;
  min-width: 180px;
  display: flex;
  align-items: center;
}

.filters-search-wrap svg {
  position: absolute;
  left: 14px;
  color: var(--foreground-muted);
  pointer-events: none;
}

.filters .field {
  width: auto;
  border: none;
  background: transparent;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--foreground);
  box-shadow: none;
  border-radius: 0;
}

.filters input[type="search"] {
  width: 100%;
  padding-left: 38px;
}

.filters select.field {
  flex: 0 1 auto;
  min-width: 135px;
  cursor: pointer;
  border-left: 1px solid var(--border-light);
  padding: 8px 24px 8px 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%235C635B' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 500;
  font-size: 13px;
  color: var(--foreground);
}

.filters select.field:hover {
  color: var(--primary);
}

.filters .btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-tabs a,
.filter-tab-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.filter-tabs a:hover,
.filter-tab-pill:hover,
.filter-tabs a.selected,
.filter-tab-pill.selected {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

@media (max-width: 720px) {
  .filters {
    border-radius: var(--radius-md);
    padding: 10px;
    gap: 8px;
    align-items: stretch;
  }
  .filters-search-wrap {
    flex: 1 1 100%;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
  }
  .filters select.field {
    border-left: none;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }
  .filters .btn {
    width: 100%;
    margin-top: 4px;
  }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: clamp(3rem, 5vw, 4.5rem);
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

/* ==========================================================================
   18. CONTACT, ABOUT & INFORMATIONAL PAGES
   ========================================================================== */

.inquiry-form {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin: 2rem auto;
}

.inquiry-form label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--foreground);
  margin-bottom: 6px;
}

.inquiry-form .form-group {
  margin-bottom: 18px;
}

/* Department Cards Grid (Contact Page) */
.department-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin: 28px 0 36px;
}

.department-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.department-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dept-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  background: rgba(163, 78, 54, 0.08);
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 12px;
}

.department-card h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--foreground);
  line-height: 1.3;
}

.department-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--foreground-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.dept-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.dept-link:hover {
  color: var(--terracotta);
}

/* Policy & Advisory Notice Box */
.policy-notice-box {
  background: #F8F5EE;
  border: 1px solid var(--border);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 28px 0;
}

.policy-notice-box h3 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
  font-size: 20px;
  color: var(--foreground);
}

.policy-notice-box p:last-child {
  margin-bottom: 0;
}

/* Search Topic Quick Pills */
.search-topic-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 16px 0 28px;
}

.search-topic-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground-muted);
  font-weight: 600;
}

.search-pill {
  font-size: 12.5px;
  padding: 4px 12px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--foreground);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.search-pill:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* 404 Category Quick Cards */
.notfound-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 32px 0 28px;
  text-align: left;
}

.notfound-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  text-decoration: none;
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.notfound-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.notfound-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 18px;
  margin: 0 0 4px;
  color: var(--foreground);
}

.notfound-card p {
  font-size: 12.5px;
  color: var(--foreground-muted);
  margin: 0;
  line-height: 1.4;
}

/* ==========================================================================
   18B. HOMEPAGE EDITORIAL ABOUT SECTION
   ========================================================================== */

.home-about-section {
  background: var(--background-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.home-about-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--foreground);
}

.home-about-lead {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.75;
  color: var(--foreground-muted);
}

.home-about-card {
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}

.home-about-card p {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--foreground);
  margin-bottom: 16px;
}

.home-about-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1.3;
}

.pillar-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 3px;
  color: var(--foreground);
}

.pillar-item p {
  font-size: 13px !important;
  line-height: 1.5;
  color: var(--foreground-muted);
  margin: 0 !important;
}

@media (max-width: 900px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ==========================================================================
   19. GLOBAL LUXURY FOOTER (HIGH CONTRAST & ACCESSIBLE VISIBILITY)
   ========================================================================== */

.site-footer {
  background-color: #1A1F1A;
  color: #FFFFFF;
  padding-top: clamp(3.5rem, 5vw, 5rem);
  padding-bottom: 2.5rem;
  margin-top: clamp(3.5rem, 5vw, 5rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.home .site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.footer-brand-col {
  padding-right: clamp(0px, 3vw, 36px);
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.brand-crest-light {
  background: rgba(255, 255, 255, 0.12);
  border: 1.2px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
}

.footer-brand-col p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin: 14px 0 16px;
}

.footer-motto {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #D4A373;
  margin-bottom: 18px;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.site-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 8px;
  display: block;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li {
  margin-bottom: 10px;
}

.site-footer li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  transition: all var(--transition-fast);
  display: inline-block;
}

.site-footer li a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   20. MOBILE DRAWER NAVIGATION
   ========================================================================== */

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(36, 41, 35, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
}

.mobile-nav-overlay.active {
  display: block;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--background);
  z-index: 999;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-dropdown);
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  padding: 4px;
}

.mobile-nav-links {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-link {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--foreground);
  padding: 6px 0;
}

.mobile-nav-details {
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
}

.mobile-nav-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  text-transform: uppercase;
}

.mobile-nav-summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 0 6px 14px;
}

.mobile-nav-sublink {
  font-size: 13.5px;
  color: var(--foreground-muted);
}

.mobile-search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: var(--surface-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--foreground-muted);
  cursor: pointer;
  margin-bottom: 10px;
}

/* ==========================================================================
   21. RESPONSIVE BREAKPOINTS & ACCESSIBILITY
   ========================================================================== */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    display: none;
  }
}

@media (max-width: 860px) {
  .utility-bar {
    display: none;
  }
  .masthead {
    grid-template-columns: auto 1fr auto;
    padding: 8px 0;
  }
  .mobile-toggle {
    display: block;
    grid-column: 1;
    padding: 4px;
    margin-left: -4px;
  }
  .brand-block {
    grid-column: 2;
  }
  .wordmark {
    font-size: 1.25rem;
  }
  .brand-crest {
    width: 20px;
    height: 20px;
    font-size: 8px;
    margin-bottom: 1px;
  }
  .brand-tagline {
    font-size: 7px;
    letter-spacing: 0.12em;
    margin-top: 1px;
  }
  .main-nav {
    display: none;
  }
  .header-tools .newsletter-badge {
    display: none;
  }
  .editors-layout {
    grid-template-columns: 1fr;
  }
  .outdoor-feature {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr 1fr;
  }
  .popular-list {
    grid-template-columns: 1fr;
  }
  .gallery-strip-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .article-grid {
    grid-template-columns: 1fr;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .hero-side {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .gallery-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-form-row {
    flex-direction: column;
  }
  .post-navigation {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .nav-next {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
