/*
Theme Name: Triết Lý Sống
Theme URI: https://trietlysong.com
Author: Triết Lý Sống Team
Author URI: https://trietlysong.com
Description: Theme WordPress tinh tế, đậm chất Á Đông dành cho blog triết học và nghệ thuật sống. Thiết kế tối ưu cho trải nghiệm đọc, nội dung dài và quảng cáo hợp lý.
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: trietlysong
Tags: blog, philosophy, vietnamese, zen, adsense-ready, responsive, light
*/

/* ============================================================
   DESIGN TOKENS & CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors – Warm Zen Palette */
  --color-bg:          #faf8f3;
  --color-bg-alt:      #f3efe6;
  --color-surface:     #ffffff;
  --color-surface-2:   #fdf9f4;

  --color-ink:         #231f1a;
  --color-ink-2:       #4a3f35;
  --color-ink-3:       #7a6b5d;
  --color-ink-4:       #a89485;

  --color-gold:        #9a7b2e;
  --color-gold-light:  #c4a24a;
  --color-gold-pale:   #f5edcc;
  --color-sage:        #4d6650;
  --color-sage-light:  #7a9b7d;
  --color-sage-pale:   #e8f0e8;
  --color-rust:        #8c4a2f;
  --color-rust-pale:   #f5e8e3;

  --color-border:      #e4ddd1;
  --color-border-2:    #d1c8bb;
  --color-divider:     #ede6da;

  --color-link:        #9a7b2e;
  --color-link-hover:  #7a5f1e;

  /* Typography */
  --font-display:      'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-serif:        'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-sans:         'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:         'Courier New', monospace;

  /* Type Scale */
  --text-xs:    0.75rem;    /* 12px */
  --text-sm:    0.875rem;   /* 14px */
  --text-base:  1.0625rem;  /* 17px */
  --text-lg:    1.1875rem;  /* 19px */
  --text-xl:    1.375rem;   /* 22px */
  --text-2xl:   1.75rem;    /* 28px */
  --text-3xl:   2.25rem;    /* 36px */
  --text-4xl:   3rem;       /* 48px */
  --text-5xl:   3.75rem;    /* 60px */

  /* Line Heights */
  --leading-tight:   1.25;
  --leading-snug:    1.4;
  --leading-normal:  1.6;
  --leading-relaxed: 1.8;
  --leading-loose:   2.0;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(35,31,26,0.08), 0 1px 2px rgba(35,31,26,0.04);
  --shadow-md:   0 4px 12px rgba(35,31,26,0.10), 0 2px 4px rgba(35,31,26,0.06);
  --shadow-lg:   0 10px 30px rgba(35,31,26,0.12), 0 4px 8px rgba(35,31,26,0.06);
  --shadow-xl:   0 20px 50px rgba(35,31,26,0.14), 0 8px 16px rgba(35,31,26,0.08);

  /* Border Radius */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   400ms ease;
  --transition-spring: 300ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container-max:    1200px;
  --content-max:      760px;
  --sidebar-width:    320px;
  --header-height:    72px;
}

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

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

body {
  font-family: var(--font-serif);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-ink);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.42) 0%, rgba(255,255,255,0) 420px),
    var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.tls-modal-open {
  overflow: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

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

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-link-hover);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(154,123,46,0.28);
  outline-offset: 3px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-ink);
  letter-spacing: 0;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-4);
  line-height: var(--leading-relaxed);
}

strong, b {
  font-weight: 700;
  color: var(--color-ink);
}

em, i {
  font-style: italic;
}

blockquote {
  border-left: 3px solid var(--color-gold);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--color-gold-pale);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-ink-2);
  position: relative;
}

blockquote::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 16px;
  font-size: 4rem;
  font-family: var(--font-display);
  color: var(--color-gold);
  line-height: 1;
  opacity: 0.4;
}

blockquote p:last-child {
  margin-bottom: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-bg-alt);
  padding: 0.1em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--color-rust);
}

pre {
  background: var(--color-ink);
  color: var(--color-bg);
  padding: var(--space-6);
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: var(--space-6) 0;
}

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

hr {
  border: none;
  height: 1px;
  background: var(--color-divider);
  margin: var(--space-12) 0;
  position: relative;
}

hr::after {
  content: '☯';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-bg);
  padding: 0 var(--space-4);
  color: var(--color-gold);
  font-size: var(--text-base);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.content-container {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-width);
  gap: var(--space-12);
  align-items: start;
}

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

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-8);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

.site-logo__name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-ink);
  letter-spacing: 0;
}

.site-logo__tagline {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Primary Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-ink-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  letter-spacing: 0.01em;
  position: relative;
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--color-gold);
  background: var(--color-gold-pale);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 70%;
  height: 2px;
  background: var(--color-gold);
  border-radius: 2px;
  transition: transform var(--transition-base);
}

.primary-nav a:hover::after,
.primary-nav a.current-menu-item::after {
  transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.header-search-btn,
.mobile-menu-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  color: var(--color-ink-2);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-btn:hover,
.mobile-menu-btn:hover {
  background: var(--color-gold-pale);
  color: var(--color-gold);
}

.mobile-menu-btn {
  display: none;
}

/* Search Overlay */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(35,31,26,0.85);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.search-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.search-overlay-inner {
  width: 100%;
  max-width: 640px;
  padding: 0 var(--space-6);
  transform: translateY(-20px);
  transition: transform var(--transition-slow);
}

.search-overlay.active .search-overlay-inner {
  transform: translateY(0);
}

.search-overlay-form {
  display: flex;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.search-overlay-input {
  flex: 1;
  border: none;
  outline: none;
  padding: var(--space-5) var(--space-6);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--color-ink);
  background: transparent;
}

.search-overlay-input::placeholder {
  color: var(--color-ink-4);
  font-style: italic;
}

.search-overlay-submit {
  background: var(--color-gold);
  border: none;
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  color: white;
  transition: background var(--transition-base);
}

.search-overlay-submit:hover {
  background: var(--color-link-hover);
}

.search-overlay-close {
  position: absolute;
  top: var(--space-8);
  right: var(--space-8);
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: var(--text-2xl);
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.search-overlay-close:hover {
  opacity: 1;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background:
    linear-gradient(135deg, rgba(250,248,243,0.96) 0%, rgba(243,239,230,0.92) 50%, rgba(232,240,232,0.95) 100%),
    repeating-linear-gradient(90deg, rgba(154,123,46,0.06) 0 1px, transparent 1px 88px);
  padding: var(--space-24) 0 var(--space-20);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold-pale) 0%, transparent 70%);
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-sage-pale) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding: var(--space-2) var(--space-4);
  background: var(--color-gold-pale);
  border-radius: var(--radius-full);
  border: 1px solid rgba(154,123,46,0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.15;
  margin-bottom: var(--space-6);
  letter-spacing: 0;
}

.hero-title .highlight {
  color: var(--color-gold);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  border-radius: 2px;
  opacity: 0.4;
}

.hero-quote {
  font-size: var(--text-xl);
  color: var(--color-ink-2);
  font-style: italic;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-quote-author {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-3);
  letter-spacing: 0.05em;
}

.hero-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: var(--space-8) auto;
}

.hero-desc {
  font-size: var(--text-lg);
  color: var(--color-ink-2);
  max-width: 560px;
  margin: 0 auto var(--space-10);
  line-height: var(--leading-relaxed);
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
  box-shadow: 0 4px 14px rgba(154,123,46,0.3);
}

.btn-primary:hover {
  background: var(--color-link-hover);
  border-color: var(--color-link-hover);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(154,123,46,0.4);
}

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

.btn-outline:hover {
  background: var(--color-gold-pale);
  transform: translateY(-2px);
}

.btn-sage {
  background: var(--color-sage);
  color: white;
  border-color: var(--color-sage);
  box-shadow: 0 4px 14px rgba(77,102,80,0.3);
}

.btn-sage:hover {
  background: var(--color-sage-light);
  border-color: var(--color-sage-light);
  color: white;
  transform: translateY(-2px);
}

/* ============================================================
   CATEGORY STRIPS
   ============================================================ */
.categories-strip {
  padding: var(--space-10) 0;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.categories-strip-title {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-ink-3);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-6);
}

.categories-grid {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  flex-wrap: wrap;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  color: var(--color-ink-2);
  background: var(--color-bg);
  transition: all var(--transition-base);
  text-decoration: none;
}

.category-chip:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: var(--color-gold-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-chip .emoji {
  font-size: 1em;
}

/* ============================================================
   POST CARDS
   ============================================================ */
.section {
  padding: var(--space-16) 0;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  gap: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-ink);
  position: relative;
  padding-left: var(--space-5);
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 70%;
  background: linear-gradient(180deg, var(--color-gold), var(--color-sage));
  border-radius: var(--radius-full);
}

.section-link {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-base);
}

.section-link:hover {
  gap: var(--space-2);
}

/* Featured Post (Large) */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.posts-grid.featured {
  grid-template-columns: 1.8fr 1fr;
  grid-auto-rows: 1fr;
}

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

.post-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition-slow);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.post-card__image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  aspect-ratio: 16 / 9;
}

.post-card.large .post-card__image {
  aspect-ratio: 4 / 3;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-gold);
  color: white;
}

.post-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background:
    radial-gradient(circle at 30% 28%, rgba(255,255,255,0.72), transparent 28%),
    linear-gradient(135deg, var(--color-gold-pale), var(--color-sage-pale));
}

.post-card__body {
  padding: var(--space-5) var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card__meta {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.post-card__date,
.post-card__read-time {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-3);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.post-card__sep {
  color: var(--color-ink-4);
  font-size: 0.6rem;
}

.post-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-3);
  transition: color var(--transition-base);
}

.post-card__title a {
  color: inherit;
}

.post-card.large .post-card__title {
  font-size: var(--text-2xl);
}

.post-card__title:hover {
  color: var(--color-gold);
}

.post-card__excerpt {
  font-size: var(--text-sm);
  color: var(--color-ink-3);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
  margin-top: auto;
  gap: var(--space-3);
}

.post-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-3);
  font-weight: 500;
  min-width: 0;
  overflow: hidden;
}

.post-card__author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-card__author-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-sage));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xs);
  font-weight: 700;
}

.post-card__read-link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-1);
  transition: gap var(--transition-base);
}

.post-card__read-link:hover {
  gap: var(--space-2);
}

/* ============================================================
   ADZONE (AdSense Placeholders)
   ============================================================ */
.adzone {
  display: block;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(154,123,46,0.035) 0 10px, rgba(77,102,80,0.035) 10px 20px),
    var(--color-bg-alt);
  border: 1px dashed var(--color-border-2);
  border-radius: var(--radius-md);
  color: var(--color-ink-4);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  padding: var(--space-2);
  overflow: hidden;
}

.adzone-banner {
  min-height: 90px;
  margin: var(--space-4) 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adzone-rectangle {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.adzone-in-article {
  min-height: 280px;
  margin: var(--space-8) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.adzone.is-empty {
  display: none;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-8));
}

.sidebar-widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.sidebar-widget__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--color-gold-pale);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* Search Widget */
.sidebar-search {
  display: flex;
  gap: var(--space-2);
}

.sidebar-search input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-ink);
  background: var(--color-bg);
  transition: border-color var(--transition-base);
  outline: none;
}

.sidebar-search input:focus {
  border-color: var(--color-gold);
}

.sidebar-search button {
  background: var(--color-gold);
  border: none;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  color: white;
  cursor: pointer;
  transition: background var(--transition-base);
}

.sidebar-search button:hover {
  background: var(--color-link-hover);
}

/* Categories Widget */
.sidebar-categories li {
  border-bottom: 1px solid var(--color-divider);
}

.sidebar-categories li:last-child {
  border-bottom: none;
}

.sidebar-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  transition: color var(--transition-base);
}

.sidebar-categories a:hover {
  color: var(--color-gold);
}

.sidebar-categories .count {
  font-size: var(--text-xs);
  background: var(--color-bg-alt);
  color: var(--color-ink-3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

/* Recent Posts Widget */
.sidebar-recent-post {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
}

.sidebar-recent-post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-recent-post__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.sidebar-recent-post__content {
  flex: 1;
  min-width: 0;
}

.sidebar-recent-post__title {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-1);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color var(--transition-base);
}

.sidebar-recent-post__title:hover {
  color: var(--color-gold);
}

.sidebar-recent-post__date {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-4);
}

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-header {
  padding: var(--space-16) 0 var(--space-10);
  background: linear-gradient(180deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
  border-bottom: 1px solid var(--color-border);
}

.single-header-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-3);
}

.breadcrumb a {
  color: var(--color-ink-3);
  transition: color var(--transition-base);
}

.breadcrumb a:hover {
  color: var(--color-gold);
}

.breadcrumb__sep {
  color: var(--color-ink-4);
}

.post-category-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  background: var(--color-gold-pale);
  border: 1px solid rgba(154,123,46,0.2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.post-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.2;
  letter-spacing: 0;
  margin-bottom: var(--space-6);
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.post-meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-3);
}

.post-featured-image {
  width: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin: var(--space-10) 0;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 7;
  background: var(--color-bg-alt);
}

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

/* Article Content */
.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-10) var(--space-6);
}

.article-content p {
  font-size: var(--text-lg);
  line-height: var(--leading-loose);
  color: var(--color-ink);
  margin-bottom: var(--space-6);
}

.article-content h2 {
  font-size: var(--text-2xl);
  margin-top: var(--space-12);
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.article-content h3 {
  font-size: var(--text-xl);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}

.article-content ul,
.article-content ol {
  margin: var(--space-6) 0;
  padding-left: var(--space-6);
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  font-size: var(--text-lg);
  color: var(--color-ink);
  margin-bottom: var(--space-3);
  line-height: var(--leading-relaxed);
}

.article-content a {
  color: var(--color-gold);
  text-decoration: underline;
  text-decoration-color: rgba(154,123,46,0.3);
  text-underline-offset: 3px;
  transition: all var(--transition-base);
}

.article-content a:hover {
  text-decoration-color: var(--color-gold);
}

/* Table of Contents */
.toc-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin: var(--space-8) 0;
  position: relative;
}

.toc-box::before {
  content: '📖';
  position: absolute;
  top: -12px;
  left: var(--space-6);
  background: var(--color-surface);
  padding: 0 var(--space-2);
  font-size: var(--text-base);
}

.toc-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-ink);
  margin-bottom: var(--space-4);
}

.toc-list {
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  margin-bottom: var(--space-2);
}

.toc-list a {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* Tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.post-tag {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-ink-2);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  text-decoration: none;
}

.post-tag:hover {
  background: var(--color-gold-pale);
  border-color: var(--color-gold);
  color: var(--color-gold);
}

/* Share */
.post-share {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-8) 0;
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.post-share__label {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-2);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.share-fb { background: #1877f2; color: white; }
.share-tw { background: #000; color: white; }
.share-zl { background: #0068ff; color: white; }

.share-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  color: white;
}

/* Author Box */
.author-box {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  margin: var(--space-10) 0;
}

.author-box__avatar {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold), var(--color-sage));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  font-family: var(--font-display);
}

.author-box__content h4 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-1);
}

.author-box__role {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: var(--space-3);
  display: block;
}

.author-box__bio {
  font-size: var(--text-sm);
  color: var(--color-ink-2);
  line-height: var(--leading-relaxed);
  margin-bottom: 0;
}

/* Related Posts */
.related-posts {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-divider);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section {
  padding: var(--space-10) 0;
}

.comments-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-8);
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-bottom: var(--space-8);
}

.comment-list .comment-body {
  border-bottom: 1px solid var(--color-divider);
  padding-bottom: var(--space-5);
}

.comment-list .avatar {
  border-radius: 50%;
  float: left;
  margin-right: var(--space-4);
}

.comment-author,
.comment-metadata,
.comment-content,
.reply {
  font-family: var(--font-sans);
}

.comment-author {
  color: var(--color-ink);
  font-weight: 700;
}

.comment-metadata {
  font-size: var(--text-xs);
  margin: var(--space-1) 0 var(--space-3);
}

.comment-content {
  color: var(--color-ink-2);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.reply a,
.comment-reply-link {
  color: var(--color-gold);
  font-size: var(--text-xs);
  font-weight: 700;
}

.comment-form {
  display: grid;
  gap: var(--space-4);
}

.comment-form label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  color: var(--color-ink);
  outline: none;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(154,123,46,0.1);
}

.comment-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-2);
  margin-bottom: var(--space-2);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-bg);
  transition: border-color var(--transition-base);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(154,123,46,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-sage-pale) 0%, var(--color-gold-pale) 100%);
  padding: var(--space-20) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
}

.newsletter-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-4);
  color: var(--color-ink);
}

.newsletter-desc {
  font-size: var(--text-base);
  color: var(--color-ink-2);
  margin-bottom: var(--space-8);
  line-height: var(--leading-relaxed);
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  font-family: var(--font-serif);
  font-size: var(--text-base);
  outline: none;
  background: white;
  transition: border-color var(--transition-base);
}

.newsletter-input:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(154,123,46,0.1);
}

.newsletter-message {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  margin: var(--space-4) auto 0;
  max-width: 440px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
}

.newsletter-message.is-success {
  background: rgba(77,102,80,0.1);
  color: var(--color-sage);
}

.newsletter-message.is-error {
  background: var(--color-rust-pale);
  color: var(--color-rust);
}

/* ============================================================
   SITE FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-ink);
  color: var(--color-bg-alt);
  padding: var(--space-16) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-10);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .site-logo__name {
  color: var(--color-bg);
}

.footer-brand .site-logo__tagline {
  color: var(--color-ink-4);
}

.footer-brand__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-relaxed);
  margin-top: var(--space-4);
  margin-bottom: var(--space-6);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-base);
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: white;
}

.footer-col-title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: white;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-base);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-links a:hover {
  color: var(--color-gold-light);
}

.footer-bottom {
  padding: var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-links a {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--color-gold-light);
}

/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  max-width: 560px;
  background: var(--color-ink);
  color: white;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  display: none;
  gap: var(--space-6);
  align-items: center;
}

.cookie-banner.show {
  display: flex;
  animation: slideUpIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUpIn {
  from { transform: translateY(100px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.cookie-text {
  flex: 1;
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  line-height: var(--leading-relaxed);
}

.cookie-text a {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-3);
  flex-shrink: 0;
}

.cookie-accept {
  background: var(--color-gold);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition-base);
}

.cookie-accept:hover {
  background: var(--color-gold-light);
}

.cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-5);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-base);
}

.cookie-decline:hover {
  border-color: rgba(255,255,255,0.4);
  color: white;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-12) 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  border: 1.5px solid var(--color-border);
  color: var(--color-ink-2);
  transition: all var(--transition-base);
}

.pagination a:hover,
.pagination .current {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: white;
}

/* ============================================================
   PAGE: ABOUT, CONTACT, etc.
   ============================================================ */
.page-hero {
  padding: var(--space-16) 0;
  background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.page-hero-icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  display: block;
}

.page-hero-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.page-hero-desc {
  font-size: var(--text-lg);
  color: var(--color-ink-2);
  max-width: 500px;
  margin: 0 auto;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-16) var(--space-6);
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-item {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-ink-3);
  margin-bottom: var(--space-1);
  display: block;
}

.contact-info-value {
  font-size: var(--text-base);
  color: var(--color-ink-2);
  margin: 0;
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-20) var(--space-6);
}

.error-number {
  font-size: 10rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-gold-pale);
  line-height: 1;
  margin-bottom: var(--space-4);
}

.error-title {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-4);
}

.error-desc {
  color: var(--color-ink-2);
  max-width: 400px;
  margin: 0 auto var(--space-8);
}

/* ============================================================
   ARCHIVE / SEARCH
   ============================================================ */
.archive-header {
  background: var(--color-bg-alt);
  padding: var(--space-12) 0;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-10);
}

.archive-label {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-2);
  display: block;
}

.archive-title {
  font-size: var(--text-3xl);
}

.archive-count {
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--color-ink-3);
  margin-top: var(--space-3);
  display: block;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  width: 44px;
  height: 44px;
  background: var(--color-gold);
  color: white;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all var(--transition-base);
  z-index: 90;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--color-link-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

/* ============================================================
   READING PROGRESS BAR
   ============================================================ */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-sage));
  z-index: 200;
  transition: width 0.1s linear;
  width: 0%;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

.animate-fade-up {
  animation: fadeInUp 0.7s ease forwards;
}

.animate-fade-up.delay-1 { animation-delay: 0.1s; }
.animate-fade-up.delay-2 { animation-delay: 0.2s; }
.animate-fade-up.delay-3 { animation-delay: 0.3s; }

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--color-bg);
  z-index: 150;
  flex-direction: column;
  padding: var(--space-8);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav.open {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-10);
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-2xl);
  color: var(--color-ink);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-ink);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
  transition: color var(--transition-base);
}

.mobile-nav-links a:hover {
  color: var(--color-gold);
}

/* ============================================================
   RESPONSIVE – TABLET
   ============================================================ */
@media (max-width: 1024px) {
  .content-container {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .posts-grid.featured .post-card:first-child {
    grid-row: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .header-inner {
    gap: var(--space-4);
  }

  .primary-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }
}

/* ============================================================
   RESPONSIVE – MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  h1 { font-size: var(--text-3xl); }
  h2 { font-size: var(--text-2xl); }
  h3 { font-size: var(--text-xl); }

  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }

  .hero-section {
    padding: var(--space-16) 0 var(--space-12);
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

  .section-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .post-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-3);
  }

  .search-overlay {
    padding-top: 90px;
  }

  .search-overlay-form {
    border-radius: var(--radius-md);
  }

  .search-overlay-input {
    min-width: 0;
    font-size: var(--text-base);
    padding: var(--space-4);
  }

  .search-overlay-submit {
    padding: var(--space-4);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner {
    flex-direction: column;
    bottom: var(--space-4);
    left: var(--space-4);
    right: var(--space-4);
  }

  .newsletter-form {
    flex-direction: column;
  }

  .post-share {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .post-title {
    font-size: var(--text-2xl);
  }

  .scroll-top {
    bottom: var(--space-6);
    right: var(--space-4);
  }

  .error-number {
    font-size: 6rem;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  .site-header,
  .sidebar,
  .newsletter-section,
  .site-footer,
  .cookie-banner,
  .scroll-top,
  .adzone {
    display: none !important;
  }

  .content-container {
    display: block;
  }

  body {
    color: #000;
    background: white;
  }
}

/* ============================================================
   WORDPRESS CORE CLASSES
   ============================================================ */
.alignleft { float: left; margin: 0 var(--space-6) var(--space-4) 0; }
.alignright { float: right; margin: 0 0 var(--space-4) var(--space-6); }
.aligncenter { display: block; margin: var(--space-6) auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  color: var(--color-ink-3);
  text-align: center;
  padding: var(--space-2) 0;
  font-style: italic;
}
.sticky { border-left: 4px solid var(--color-gold); padding-left: var(--space-4); }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%); height: 1px; margin: -1px;
  overflow: hidden; padding: 0; position: absolute; width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus,
.skip-link:focus-visible {
  clip: auto;
  clip-path: none;
  width: auto;
  height: auto;
  left: var(--space-4);
  top: var(--space-4);
  z-index: 1000;
  margin: 0;
  padding: var(--space-2) var(--space-4);
  background: var(--color-ink);
  color: white;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
}

/* ============================================================
   REDESIGN 2026: EDITORIAL MINIMAL
   ============================================================ */
:root {
  --color-bg: #f7f7f2;
  --color-bg-alt: #eeefe6;
  --color-surface: #ffffff;
  --color-surface-2: #f3f4ee;
  --color-ink: #171b18;
  --color-ink-2: #353c37;
  --color-ink-3: #687169;
  --color-ink-4: #98a096;
  --color-gold: #b07a38;
  --color-gold-light: #d2a25f;
  --color-gold-pale: #f4eadc;
  --color-sage: #24554f;
  --color-sage-light: #477a73;
  --color-sage-pale: #e4eeeb;
  --color-rust: #b75b3d;
  --color-rust-pale: #f7e7e1;
  --color-border: #dfe2da;
  --color-border-2: #cdd4ca;
  --color-divider: #e8eae2;
  --color-link: #24554f;
  --color-link-hover: #b75b3d;
  --shadow-sm: 0 1px 2px rgba(23,27,24,0.04);
  --shadow-md: 0 10px 30px rgba(23,27,24,0.08);
  --shadow-lg: 0 24px 70px rgba(23,27,24,0.12);
  --shadow-xl: 0 36px 100px rgba(23,27,24,0.16);
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --container-max: 1180px;
  --content-max: 740px;
}

body {
  background:
    linear-gradient(180deg, #fbfbf7 0%, #f7f7f2 36rem),
    var(--color-bg);
  color: var(--color-ink);
}

body::before {
  display: none;
}

.container {
  max-width: var(--container-max);
}

.site-header {
  height: 76px;
  background: rgba(247,247,242,0.82);
  border-bottom: 1px solid rgba(36,85,79,0.11);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header.scrolled {
  box-shadow: 0 12px 40px rgba(23,27,24,0.08);
}

.header-inner {
  gap: var(--space-6);
}

.site-logo__icon {
  width: 42px;
  height: 42px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(36,85,79,0.13);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.site-logo__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
}

.site-logo__tagline {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.primary-nav {
  gap: 2px;
  padding: 5px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(36,85,79,0.1);
  border-radius: 999px;
}

.primary-nav a {
  border-radius: 999px;
  color: var(--color-ink-2);
  padding: 0.45rem 0.85rem;
}

.primary-nav a::after {
  display: none;
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: #fff;
  background: var(--color-sage);
}

.header-search-btn,
.mobile-menu-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(36,85,79,0.11);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero-section {
  padding: clamp(3rem, 7vw, 6.5rem) 0 clamp(2.5rem, 5vw, 4.5rem);
  background: transparent;
}

.hero-section::before,
.hero-section::after,
.hero-divider {
  display: none;
}

.hero-inner {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.75rem);
  text-align: left;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  margin-bottom: var(--space-5);
  padding: 0.55rem 0.8rem;
  background: rgba(36,85,79,0.09);
  border: 1px solid rgba(36,85,79,0.12);
  color: var(--color-sage);
  border-radius: 999px;
  letter-spacing: 0.08em;
}

.hero-title {
  max-width: 680px;
  margin-bottom: var(--space-5);
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 7vw, 5.9rem);
  line-height: 0.98;
  color: var(--color-ink);
}

.hero-desc {
  max-width: 560px;
  margin: 0 0 var(--space-8);
  color: var(--color-ink-2);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.75;
}

.hero-actions {
  justify-content: flex-start;
  margin-bottom: var(--space-8);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-family: var(--font-sans);
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(36,85,79,0.11);
  border-radius: 999px;
  color: var(--color-ink-3);
  font-size: 0.84rem;
}

.hero-stats strong {
  color: var(--color-ink);
  font-size: 0.95rem;
}

.hero-media {
  position: relative;
  min-height: 520px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--color-sage-pale);
  isolation: isolate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,247,242,0.82), rgba(247,247,242,0.12) 44%, transparent 72%),
    linear-gradient(180deg, transparent 62%, rgba(23,27,24,0.18));
  z-index: 1;
}

.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
}

.hero-media picture {
  display: block;
}

.hero-media img {
  object-fit: cover;
}

.hero-quote-card {
  position: absolute;
  right: var(--space-6);
  bottom: var(--space-6);
  z-index: 2;
  width: min(320px, calc(100% - 3rem));
  padding: var(--space-5);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 22px;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-quote-card p {
  margin-bottom: var(--space-2);
  color: var(--color-ink);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.55;
}

.hero-quote-card span {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn {
  min-height: 46px;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  letter-spacing: 0;
}

.btn-primary {
  background: var(--color-sage);
  border-color: var(--color-sage);
  box-shadow: 0 14px 30px rgba(36,85,79,0.22);
}

.btn-primary:hover {
  background: #173b37;
  border-color: #173b37;
  box-shadow: 0 18px 42px rgba(36,85,79,0.28);
}

.btn-outline {
  color: var(--color-sage);
  border-color: rgba(36,85,79,0.24);
  background: rgba(255,255,255,0.64);
}

.btn-outline:hover {
  color: var(--color-sage);
  background: #fff;
  border-color: rgba(36,85,79,0.34);
}

.categories-strip {
  margin: 0 auto;
  padding: var(--space-10) 0 var(--space-8);
  background: transparent;
  border: 0;
}

.categories-strip-title {
  color: var(--color-ink);
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  line-height: 1.18;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.categories-grid {
  justify-content: flex-start;
  margin-top: var(--space-6);
}

.category-chip {
  background: #fff;
  border: 1px solid rgba(36,85,79,0.12);
  color: var(--color-ink-2);
  box-shadow: var(--shadow-sm);
}

.category-chip:hover {
  background: var(--color-sage);
  border-color: var(--color-sage);
  color: #fff;
}

.category-chip .emoji {
  display: none;
}

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

.section-header {
  margin-bottom: var(--space-8);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid rgba(36,85,79,0.1);
  align-items: flex-end;
}

.section-copy {
  max-width: 680px;
}

.section-copy--center {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-2);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-sage);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-title {
  padding-left: 0;
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: var(--space-3);
}

.section-title::before {
  display: none;
}

.section-link {
  color: var(--color-sage);
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 0.18rem;
}

.section-desc {
  max-width: 58ch;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.2vw, 1.05rem);
  line-height: 1.7;
  color: var(--color-ink-3);
}

.posts-grid {
  gap: var(--space-5);
}

.posts-grid.featured {
  grid-template-columns: minmax(0, 1.28fr) minmax(300px, 0.72fr);
}

.post-card {
  border: 1px solid rgba(36,85,79,0.11);
  border-radius: 22px;
  background: rgba(255,255,255,0.86);
  box-shadow: 0 12px 38px rgba(23,27,24,0.06);
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36,85,79,0.22);
  box-shadow: 0 24px 70px rgba(23,27,24,0.12);
}

.post-card.large {
  display: grid;
  grid-template-rows: minmax(320px, 1.1fr) auto;
}

.post-card__image {
  background: var(--color-sage-pale);
  border-bottom: 1px solid rgba(36,85,79,0.08);
}

.post-card__image-placeholder {
  font-size: 3.35rem;
  color: transparent;
  background:
    linear-gradient(135deg, rgba(36,85,79,0.16), rgba(183,91,61,0.12)),
    #f6f8f2;
}

.post-card__image-placeholder::before {
  content: '';
  width: 72px;
  height: 72px;
  border: 1px solid rgba(36,85,79,0.28);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.66), rgba(255,255,255,0.1)),
    rgba(36,85,79,0.12);
}

.post-card__category {
  top: var(--space-4);
  left: var(--space-4);
  background: rgba(23,27,24,0.78);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.post-card__body {
  padding: clamp(1.15rem, 2vw, 1.55rem);
}

.post-card__meta,
.post-card__date,
.post-card__read-time {
  color: var(--color-ink-4);
}

.post-card__title {
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  line-height: 1.22;
  margin-bottom: var(--space-3);
}

.post-card.large .post-card__title {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.1;
}

.post-card__excerpt {
  color: var(--color-ink-3);
  font-size: 0.96rem;
  line-height: 1.72;
}

.post-card__footer {
  border-top-color: rgba(36,85,79,0.09);
}

.post-card__author-avatar {
  background: var(--color-sage);
}

.post-card__read-link {
  color: var(--color-sage);
  font-weight: 800;
}

.content-container {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(2rem, 4vw, 3.5rem);
}

.sidebar-widget {
  border: 1px solid rgba(36,85,79,0.1);
  border-radius: 22px;
  background: rgba(255,255,255,0.72);
  box-shadow: none;
}

.sidebar-widget__title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-bottom-color: rgba(36,85,79,0.1);
  line-height: 1.35;
}

.sidebar-categories a,
.sidebar-recent-post {
  border-radius: 14px;
}

.single-header,
.archive-header,
.page-hero {
  background: transparent;
  border-bottom: 1px solid rgba(36,85,79,0.1);
}

.single-header-inner {
  max-width: 880px;
}

.post-title,
.archive-title,
.page-hero-title {
  color: var(--color-ink);
  line-height: 1.05;
}

.article-content,
.comment-form-wrapper,
.author-box {
  border: 1px solid rgba(36,85,79,0.1);
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 16px 44px rgba(23,27,24,0.06);
}

.article-content {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.article-content p {
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.88;
}

.article-content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  line-height: 1.18;
}

.article-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
  line-height: 1.25;
}

.newsletter-section {
  background: #eef3ef;
  border-color: rgba(36,85,79,0.1);
}

.newsletter-inner {
  max-width: 680px;
}

.newsletter-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.08;
}

.newsletter-form {
  max-width: 540px;
  padding: 6px;
  background: #fff;
  border: 1px solid rgba(36,85,79,0.11);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.newsletter-input {
  border: 0;
  background: transparent;
}

.newsletter-input:focus {
  box-shadow: none;
}

.site-footer {
  background: #111512;
}

.footer-grid {
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-col-title {
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-media picture,
  .hero-media img {
    min-height: 420px;
  }

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

  .content-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    height: 64px;
  }

  .site-logo__tagline {
    display: none;
  }

  .hero-section {
    padding-top: var(--space-10);
  }

  .hero-title {
    font-size: clamp(2.45rem, 13vw, 3.1rem);
    line-height: 1.02;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-media {
    min-height: 320px;
    border-radius: 24px;
  }

  .hero-media picture,
  .hero-media img {
    min-height: 320px;
  }

  .hero-quote-card {
    left: var(--space-4);
    right: var(--space-4);
    bottom: var(--space-4);
    width: auto;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: 1fr;
  }

  .categories-grid,
  .hero-actions {
    justify-content: stretch;
  }

  .category-chip,
  .hero-actions .btn {
    justify-content: center;
  }

  .newsletter-form {
    border-radius: 24px;
  }

  .newsletter-form .btn {
    width: 100%;
    justify-content: center;
  }

  .section-header {
    align-items: flex-start;
  }

  .section-title,
  .categories-strip-title {
    font-size: clamp(1.45rem, 8vw, 1.85rem);
  }

  .section-desc {
    font-size: 0.95rem;
  }

  .post-card.large .post-card__title,
  .post-card__title {
    font-size: 1.18rem;
    line-height: 1.22;
  }
}

/* ============================================================
   SECTION LAYOUT REFINEMENT
   ============================================================ */
.hero-section {
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-topics {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.topics-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(1.5rem, 3.5vw, 3.25rem);
  padding: clamp(1.45rem, 3.2vw, 2.35rem);
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(36,85,79,0.1);
  border-radius: 30px;
  box-shadow: 0 18px 55px rgba(23,27,24,0.07);
}

.topics-panel .section-copy {
  max-width: 390px;
}

.topics-panel .categories-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  justify-content: stretch;
  margin-top: 0;
}

.topics-panel .category-chip {
  width: 100%;
  min-height: 64px;
  justify-content: flex-start;
  gap: var(--space-3);
  padding: 0.82rem 0.95rem;
  border-radius: 18px;
  box-shadow: none;
  font-size: 0.92rem;
  line-height: 1.25;
  white-space: normal;
}

.category-chip__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 12px;
  background: rgba(36,85,79,0.08);
  color: var(--color-sage);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
}

.category-chip:hover .category-chip__mark {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.section-featured {
  padding-top: clamp(3.5rem, 6vw, 5rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,255,255,0.28));
  border-top: 1px solid rgba(36,85,79,0.08);
  border-bottom: 1px solid rgba(36,85,79,0.08);
}

.section-latest {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.section-latest .posts-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-latest .section-header,
.section-featured .section-header {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.section-latest .main-content {
  min-width: 0;
}

.section-latest .sidebar {
  align-self: start;
}

.section-latest .post-card__image {
  aspect-ratio: 1.45 / 1;
}

.section-latest .post-card__title {
  font-size: clamp(1.05rem, 1.4vw, 1.24rem);
}

@media (max-width: 1024px) {
  .topics-panel {
    grid-template-columns: 1fr;
  }

  .topics-panel .section-copy {
    max-width: 640px;
  }

  .topics-panel .categories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .section-topics {
    padding-bottom: var(--space-8);
  }

  .topics-panel {
    padding: var(--space-5);
    border-radius: 22px;
  }

  .topics-panel .categories-grid {
    grid-template-columns: 1fr;
  }

  .section-latest .posts-grid {
    grid-template-columns: 1fr;
  }

  .section-featured,
  .section-latest {
    padding-top: var(--space-10);
    padding-bottom: var(--space-10);
  }
}

/* ============================================================
   COLOR REFINEMENT
   ============================================================ */
:root {
  --color-bg: #f6f2ea;
  --color-bg-alt: #ebe5d8;
  --color-surface: #fffdf8;
  --color-surface-2: #f2eee4;
  --color-ink: #18231f;
  --color-ink-2: #34423c;
  --color-ink-3: #66756e;
  --color-ink-4: #9aa59c;
  --color-gold: #c0842f;
  --color-gold-light: #e2b867;
  --color-gold-pale: #f8edcf;
  --color-sage: #174f48;
  --color-sage-light: #2f746a;
  --color-sage-pale: #dfeee8;
  --color-rust: #c76547;
  --color-rust-pale: #f7e2d8;
  --color-border: #ded8ca;
  --color-border-2: #c8beaa;
  --color-divider: #e9e1d2;
  --color-link: #174f48;
  --color-link-hover: #c76547;
}

body {
  background:
    radial-gradient(circle at 14% 8%, rgba(226,184,103,0.18), transparent 34rem),
    radial-gradient(circle at 92% 18%, rgba(23,79,72,0.12), transparent 32rem),
    linear-gradient(180deg, #fbf7ef 0%, #f6f2ea 42rem, #f3eee4 100%);
}

.site-header {
  background: rgba(251,247,239,0.84);
  border-bottom-color: rgba(23,79,72,0.12);
}

.site-logo__icon {
  background: linear-gradient(135deg, #fffdf8, #f7eddb);
  border-color: rgba(192,132,47,0.22);
}

.primary-nav {
  background: rgba(255,253,248,0.78);
  border-color: rgba(23,79,72,0.12);
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  background: linear-gradient(135deg, var(--color-sage), #103b36);
}

.header-search-btn,
.mobile-menu-btn {
  background: #fffdf8;
  border-color: rgba(192,132,47,0.18);
}

.header-search-btn:hover,
.mobile-menu-btn:hover {
  background: var(--color-gold-pale);
  color: var(--color-rust);
}

.hero-inner {
  background: #121a17;
  box-shadow: 0 42px 110px rgba(23,79,72,0.24);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(14,29,25,0.94) 0%, rgba(23,79,72,0.76) 36%, rgba(23,79,72,0.18) 70%, rgba(23,79,72,0.04) 100%),
    linear-gradient(180deg, rgba(18,26,23,0.18), rgba(18,26,23,0.78));
}

.hero-eyebrow {
  background: rgba(226,184,103,0.16);
  border-color: rgba(226,184,103,0.26);
  color: #f6d996;
}

.hero-copy::before {
  background: linear-gradient(90deg, #f2c46d, rgba(247,253,248,0));
}

.hero-desc {
  color: rgba(255,253,248,0.8);
}

.hero-stats {
  border-top-color: rgba(226,184,103,0.22);
  border-bottom-color: rgba(226,184,103,0.22);
}

.hero-stats span {
  border-right-color: rgba(226,184,103,0.18);
}

.hero-stats strong {
  color: #f2c46d;
}

.hero-quote-card {
  background: rgba(255,253,248,0.88);
  border-color: rgba(226,184,103,0.32);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold), #b86f32);
  border-color: transparent;
  box-shadow: 0 16px 36px rgba(192,132,47,0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d3943d, var(--color-rust));
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(199,101,71,0.3);
}

.topics-panel {
  background:
    linear-gradient(135deg, rgba(255,253,248,0.96), rgba(248,237,207,0.72));
  border-color: rgba(192,132,47,0.18);
  box-shadow: 0 26px 80px rgba(23,79,72,0.1);
}

.category-chip {
  background: rgba(255,253,248,0.92);
  border-color: rgba(23,79,72,0.12);
}

.category-chip:hover {
  background: linear-gradient(135deg, var(--color-sage), var(--color-sage-light));
  border-color: transparent;
}

.category-chip__mark {
  background: rgba(192,132,47,0.13);
  color: #9d6424;
}

.category-chip:hover .category-chip__mark {
  background: rgba(226,184,103,0.24);
  color: #ffe2a1;
}

.section-featured {
  background:
    linear-gradient(180deg, rgba(255,253,248,0.72), rgba(248,237,207,0.3));
  border-top-color: rgba(192,132,47,0.13);
  border-bottom-color: rgba(23,79,72,0.1);
}

.section-kicker,
.section-link,
.post-card__read-link {
  color: var(--color-sage);
}

.section-title,
.categories-strip-title {
  color: #15231f;
}

.post-card {
  background:
    linear-gradient(180deg, rgba(255,253,248,0.96), rgba(255,251,244,0.88));
  border-color: rgba(23,79,72,0.11);
}

.post-card:hover {
  border-color: rgba(192,132,47,0.25);
}

.post-card__image-placeholder {
  background:
    linear-gradient(135deg, rgba(23,79,72,0.18), rgba(192,132,47,0.18)),
    #f8edcf;
}

.post-card__category {
  background: linear-gradient(135deg, rgba(23,79,72,0.9), rgba(199,101,71,0.84));
}

.post-card__author-avatar {
  background: linear-gradient(135deg, var(--color-sage), var(--color-gold));
}

.sidebar-widget {
  background: rgba(255,253,248,0.76);
  border-color: rgba(192,132,47,0.14);
}

.newsletter-section {
  background:
    radial-gradient(circle at 16% 20%, rgba(226,184,103,0.22), transparent 28rem),
    linear-gradient(135deg, #e6f0ea, #f8edcf);
}

.site-footer {
  background:
    radial-gradient(circle at 20% 0%, rgba(192,132,47,0.12), transparent 30rem),
    #101815;
}

/* ============================================================
   HERO REDESIGN: IMMERSIVE EDITORIAL
   ============================================================ */
.hero-section {
  padding: var(--space-5) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(320px, 0.26fr);
  min-height: clamp(620px, 76vh, 780px);
  overflow: hidden;
  border-radius: 36px;
  background: #151a16;
  box-shadow: var(--shadow-xl);
}

.hero-media {
  position: absolute;
  inset: 0;
  min-height: 0;
  border-radius: 0;
  box-shadow: none;
  background: #151a16;
}

.hero-media picture,
.hero-media img {
  min-height: 100%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.9) contrast(1.04);
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(16,20,17,0.92) 0%, rgba(16,20,17,0.74) 36%, rgba(16,20,17,0.18) 70%, rgba(16,20,17,0.06) 100%),
    linear-gradient(180deg, rgba(16,20,17,0.25), rgba(16,20,17,0.76));
}

.hero-copy {
  position: relative;
  z-index: 3;
  align-self: end;
  max-width: 760px;
  padding: clamp(2rem, 5vw, 4.75rem);
  color: #fff;
}

.hero-copy::before {
  content: '';
  display: block;
  width: 74px;
  height: 2px;
  margin-bottom: var(--space-8);
  background: linear-gradient(90deg, var(--color-gold-light), rgba(255,255,255,0));
}

.hero-eyebrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.18);
  color: #f2e4c9;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  max-width: 760px;
  color: #fff;
  font-size: clamp(4rem, 9vw, 7.6rem);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-desc {
  max-width: 620px;
  color: rgba(255,255,255,0.78);
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.hero-actions .btn-outline {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.28);
}

.hero-actions .btn-outline:hover {
  color: #fff;
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.38);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.hero-stats span {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-5);
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  color: rgba(255,255,255,0.68);
  font-size: 0.82rem;
}

.hero-stats span:last-child {
  border-right: 0;
}

.hero-stats strong {
  color: var(--color-gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
}

.hero-quote-card {
  right: clamp(1.25rem, 3vw, 2.5rem);
  bottom: clamp(1.25rem, 3vw, 2.5rem);
  z-index: 3;
  width: min(360px, 30vw);
  background: rgba(247,247,242,0.86);
}

.section-topics {
  margin-top: calc(clamp(1.5rem, 4vw, 3rem) * -1);
  position: relative;
  z-index: 4;
}

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 680px;
  }

  .hero-title {
    font-size: clamp(3.4rem, 11vw, 6rem);
  }

  .hero-quote-card {
    width: min(340px, 42vw);
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding-top: var(--space-3);
  }

  .hero-inner {
    min-height: 640px;
    border-radius: 24px;
  }

  .hero-copy {
    padding: var(--space-6);
  }

  .hero-copy::before {
    margin-bottom: var(--space-6);
  }

  .hero-title {
    font-size: clamp(3.05rem, 16vw, 4.35rem);
    line-height: 0.94;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-actions {
    margin-bottom: var(--space-6);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stats span {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,0.14);
    padding: var(--space-3) 0;
  }

  .hero-stats span:last-child {
    border-bottom: 0;
  }

  .hero-quote-card {
    display: none;
  }
}

/* ============================================================
   STATIC PAGES: PROFESSIONAL CONTENT SYSTEM
   ============================================================ */
.static-hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 12% 12%, rgba(192,132,47,0.16), transparent 24rem),
    linear-gradient(135deg, #f7f4ec 0%, #eef3ed 52%, #f9f1df 100%);
  border-bottom: 1px solid rgba(23,79,72,0.1);
}

.static-hero--about {
  background:
    linear-gradient(90deg, rgba(18,30,25,0.86), rgba(18,30,25,0.58)),
    url("assets/images/hero-editorial.webp") center/cover no-repeat;
  color: #fff;
}

.static-hero--contact {
  background:
    radial-gradient(circle at 80% 10%, rgba(199,101,71,0.16), transparent 26rem),
    linear-gradient(135deg, #f8f4ea, #e9f1ec);
}

.static-hero--policy {
  background:
    radial-gradient(circle at 15% 0%, rgba(23,79,72,0.14), transparent 24rem),
    linear-gradient(135deg, #f7f4ed, #fdfbf6);
}

.static-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.static-kicker,
.static-panel__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
  color: var(--color-sage);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.static-hero--about .static-kicker,
.static-hero--about .static-panel__label {
  color: var(--color-gold-light);
}

.static-hero__title {
  max-width: 920px;
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(2.65rem, 6vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.static-hero--about .static-hero__title {
  color: #fff;
}

.static-hero__lead {
  max-width: 760px;
  margin: var(--space-5) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.45vw, 1.22rem);
  line-height: 1.8;
}

.static-hero--about .static-hero__lead {
  color: rgba(255,255,255,0.82);
}

.static-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.static-hero--about .btn-outline {
  color: #fff;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.static-hero__panel {
  padding: clamp(1.35rem, 2vw, 2rem);
  background: rgba(255,253,248,0.86);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(21,35,31,0.12);
}

.static-hero--about .static-hero__panel {
  background: rgba(247,244,236,0.13);
  border-color: rgba(255,255,255,0.22);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.static-hero__panel p {
  margin: 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.75;
}

.static-hero__panel a {
  color: var(--color-sage);
  font-weight: 800;
}

.static-hero--about .static-hero__panel p,
.static-hero--about .static-hero__panel a {
  color: rgba(255,255,255,0.84);
}

.static-page {
  background: #fbfaf6;
}

.static-section {
  padding: clamp(3rem, 6vw, 6rem) 0;
}

.static-section--tinted {
  background:
    linear-gradient(180deg, rgba(237,242,235,0.72), rgba(250,247,239,0.88));
  border-top: 1px solid rgba(23,79,72,0.08);
  border-bottom: 1px solid rgba(23,79,72,0.08);
}

.static-split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.static-split h2,
.static-heading h2,
.static-cta h2,
.contact-aside h2,
.contact-form-card h2 {
  margin: 0;
  color: #14231f;
  font-size: clamp(2rem, 3.6vw, 3.5rem);
  line-height: 1.08;
  text-wrap: balance;
}

.static-prose p {
  margin: 0 0 var(--space-5);
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 1.06rem;
  line-height: 1.85;
}

.static-prose p:last-child {
  margin-bottom: 0;
}

.static-heading {
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.25rem);
  text-align: center;
}

.static-heading--wide {
  max-width: 860px;
}

.static-heading p {
  margin: var(--space-4) auto 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.75;
}

.static-card-grid {
  display: grid;
  gap: var(--space-5);
}

.static-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.static-card {
  min-height: 220px;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  background: rgba(255,253,248,0.92);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(21,35,31,0.07);
}

.static-card__index {
  display: inline-flex;
  margin-bottom: var(--space-6);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.static-card h3 {
  margin: 0 0 var(--space-3);
  color: #14231f;
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.25;
}

.static-card p {
  margin: 0;
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.75;
}

.static-topic-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-4);
}

.static-topic-list a {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: var(--space-4) var(--space-5);
  color: #14231f;
  font-family: var(--font-sans);
  font-weight: 800;
  background: rgba(255,253,248,0.9);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(21,35,31,0.06);
}

.static-topic-list a:hover {
  color: var(--color-sage);
  border-color: rgba(23,79,72,0.28);
  transform: translateY(-2px);
}

.static-cta {
  padding: 0 0 clamp(3rem, 6vw, 6rem);
}

.static-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding: clamp(1.5rem, 3vw, 2.75rem);
  background:
    linear-gradient(135deg, rgba(23,79,72,0.96), rgba(31,91,81,0.9));
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(21,35,31,0.16);
}

.static-cta__inner .static-kicker,
.static-cta__inner h2 {
  color: #fff;
}

.static-cta__inner .static-kicker {
  color: var(--color-gold-light);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 110px;
}

.contact-aside p,
.contact-form-card p {
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  line-height: 1.8;
}

.contact-methods {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.contact-method {
  padding: var(--space-5);
  background: rgba(255,253,248,0.88);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 18px;
}

.contact-method span {
  display: block;
  margin-bottom: var(--space-2);
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-method a,
.contact-method strong {
  color: #14231f;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

.contact-form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.13);
  border-radius: 26px;
  box-shadow: 0 24px 80px rgba(21,35,31,0.1);
}

.contact-form-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.contact-form-modern {
  margin-top: var(--space-7);
}

.contact-form-modern label span {
  color: var(--color-rust);
}

.contact-submit {
  width: 100%;
  justify-content: center;
}

.form-notice {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  border-radius: 14px;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.6;
}

.form-notice--success {
  color: #174f48;
  background: rgba(219,233,223,0.8);
  border: 1px solid rgba(23,79,72,0.22);
}

.form-notice--error {
  color: var(--color-rust);
  background: rgba(248,226,216,0.8);
  border: 1px solid rgba(199,101,71,0.25);
}

.form-privacy {
  margin: var(--space-4) 0 0;
  color: var(--color-ink-4);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  text-align: center;
}

.form-privacy a {
  color: var(--color-sage);
  font-weight: 800;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 110px;
  padding: var(--space-6);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(21,35,31,0.08);
}

.policy-summary ul {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.policy-summary li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 0.94rem;
  line-height: 1.65;
}

.policy-summary li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.64rem;
  width: 0.44rem;
  height: 0.44rem;
  background: var(--color-gold);
  border-radius: 50%;
}

.policy-content {
  padding: clamp(1.5rem, 3vw, 3rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(21,35,31,0.08);
}

.policy-content section {
  padding-bottom: var(--space-7);
  margin-bottom: var(--space-7);
  border-bottom: 1px solid rgba(23,79,72,0.1);
}

.policy-content section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.policy-content h2 {
  margin: 0 0 var(--space-4);
  color: #14231f;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.policy-content p {
  margin: 0 0 var(--space-4);
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
}

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

.policy-content a {
  color: var(--color-sage);
  font-weight: 800;
}

.policy-table {
  display: grid;
  gap: var(--space-3);
}

.policy-table > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 0.72fr);
  gap: var(--space-4);
  padding: var(--space-4);
  background: rgba(237,242,235,0.62);
  border: 1px solid rgba(23,79,72,0.1);
  border-radius: 16px;
}

.policy-table strong,
.policy-table span {
  font-family: var(--font-sans);
  line-height: 1.65;
}

.policy-table strong {
  color: #14231f;
}

.policy-table span {
  color: var(--color-ink-2);
}

@media (max-width: 1024px) {
  .static-hero__grid,
  .static-split,
  .contact-layout,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .contact-aside,
  .policy-summary {
    position: static;
  }

  .static-card-grid--three,
  .static-topic-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .static-hero {
    padding: var(--space-8) 0 var(--space-7);
  }

  .static-hero__title {
    font-size: clamp(2.25rem, 13vw, 3.4rem);
  }

  .static-hero__actions,
  .static-cta__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .static-card-grid--three,
  .static-topic-list {
    grid-template-columns: 1fr;
  }

  .static-card {
    min-height: 0;
  }

  .static-topic-list a {
    min-height: 64px;
  }

  .contact-form-card,
  .policy-content,
  .policy-summary {
    border-radius: 18px;
  }

  .policy-table > div {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}

/* ============================================================
   SINGLE POST: EDITORIAL REFINEMENT
   ============================================================ */
.single-hero {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(2.5rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(192,132,47,0.16), transparent 28rem),
    linear-gradient(135deg, #f8f4ea 0%, #eef3ee 58%, #fbf6e7 100%);
  border-bottom: 1px solid rgba(23,79,72,0.1);
}

.single-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.62fr);
  gap: clamp(2rem, 4.5vw, 5rem);
  align-items: center;
}

.single-hero__copy .breadcrumb {
  margin-bottom: var(--space-5);
}

.single-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: var(--space-5);
  padding: 0.58rem 0.85rem;
  color: #174f48;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(23,79,72,0.09);
  border: 1px solid rgba(23,79,72,0.14);
  border-radius: 999px;
}

.single-title {
  max-width: 920px;
  margin: 0;
  color: #13231f;
  font-size: clamp(2.7rem, 6.2vw, 6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.single-excerpt {
  max-width: 760px;
  margin: var(--space-5) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.78;
}

.single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-7);
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-size: 0.92rem;
}

.single-meta span,
.single-meta time,
.single-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.48rem 0.78rem;
  background: rgba(255,253,248,0.74);
  border: 1px solid rgba(23,79,72,0.1);
  border-radius: 999px;
}

.single-hero__image {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: #e9e1d1;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(21,35,31,0.18);
}

.single-hero__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-hero__quote {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 420px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background:
    linear-gradient(135deg, rgba(23,79,72,0.94), rgba(20,35,31,0.92));
  border-radius: 28px;
  box-shadow: 0 28px 90px rgba(21,35,31,0.18);
}

.single-hero__quote p {
  margin: var(--space-4) 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.7vw, 2.65rem);
  line-height: 1.2;
}

.single-page {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  background: #fbfaf6;
}

.single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.single-article {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 3rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(21,35,31,0.09);
}

.single-article__top {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: clamp(1.8rem, 3vw, 3rem);
  padding-bottom: var(--space-4);
  color: var(--color-ink-4);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(23,79,72,0.12);
}

.single-article .article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.single-article .article-content p {
  color: #2f3733;
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 1.25vw, 1.18rem);
  line-height: 1.95;
}

.single-article .article-content p:first-of-type {
  font-size: clamp(1.18rem, 1.55vw, 1.36rem);
  line-height: 1.86;
  color: #1b2b27;
}

.single-article .article-content h2 {
  margin-top: clamp(2.4rem, 4vw, 4rem);
  color: #14231f;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.16;
}

.single-article .article-content h3 {
  margin-top: var(--space-9);
  color: #14231f;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

.single-article .article-content blockquote {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.4rem, 2.5vw, 2rem);
  color: #17352f;
  background: linear-gradient(135deg, rgba(237,242,235,0.9), rgba(250,241,220,0.74));
  border-left: 4px solid var(--color-gold);
  border-radius: 0 18px 18px 0;
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  max-width: 760px;
  margin: clamp(2rem, 4vw, 3rem) auto 0;
}

.single-tags a {
  display: inline-flex;
  padding: 0.5rem 0.78rem;
  color: var(--color-sage);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 800;
  background: rgba(23,79,72,0.08);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 999px;
}

.single-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  max-width: 760px;
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(23,79,72,0.12);
}

.single-share span {
  margin-right: auto;
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-weight: 900;
}

.single-share a,
.single-share button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  background: #174f48;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.single-share button {
  background: #6a5842;
}

.single-author {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: var(--space-5);
  max-width: 760px;
  margin: var(--space-8) auto 0;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: rgba(237,242,235,0.66);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 20px;
}

.single-author__avatar,
.single-author__avatar img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
}

.single-author__avatar {
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-sage), var(--color-gold));
}

.single-author span {
  display: block;
  color: var(--color-gold);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.single-author h2 {
  margin: 0.2rem 0 var(--space-2);
  color: #14231f;
  font-size: 1.35rem;
}

.single-author p {
  margin: 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.75;
}

.single-related {
  padding-top: clamp(3rem, 6vw, 5rem);
}

.sidebar-modern {
  position: sticky;
  top: 104px;
}

.sidebar-modern .adzone {
  display: none;
}

.sidebar-modern .sidebar-widget {
  padding: var(--space-5);
  background: rgba(255,253,248,0.9);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 20px;
  box-shadow: 0 18px 55px rgba(21,35,31,0.07);
}

.sidebar-modern .sidebar-widget__title {
  color: #14231f;
  font-family: var(--font-sans);
  letter-spacing: 0.08em;
}

.sidebar-modern .sidebar-recent-post__thumb {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(23,79,72,0.18), rgba(192,132,47,0.16)),
    #ede5d4;
  color: transparent;
}

.sidebar-modern .sidebar-recent-post__thumb span {
  display: block;
  width: 100%;
  height: 100%;
}

.sidebar-modern .sidebar-recent-post__title {
  color: #172923;
}

.sidebar-modern .sidebar-recent-post__date {
  font-family: var(--font-sans);
}

@media (max-width: 1100px) {
  .single-hero__inner,
  .single-layout {
    grid-template-columns: 1fr;
  }

  .single-hero__image {
    aspect-ratio: 16 / 9;
  }

  .sidebar-modern {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--space-5);
  }

  .sidebar-modern #sidebar-recent-posts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .single-title {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .single-meta,
  .single-share {
    align-items: stretch;
    flex-direction: column;
  }

  .single-meta span,
  .single-meta time,
  .single-share a,
  .single-share button {
    width: 100%;
  }

  .single-article {
    padding: var(--space-5);
    border-radius: 20px;
  }

  .single-article__top {
    flex-direction: column;
    gap: var(--space-2);
  }

  .single-author {
    grid-template-columns: 1fr;
  }

  .sidebar-modern {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   SIMPLE COMMENT FORM
   ============================================================ */
.simple-comments {
  padding: clamp(2rem, 5vw, 4rem) 0 0;
}

.simple-comments__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.35rem, 3vw, 2.5rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(21,35,31,0.08);
}

.simple-comments .comments-title {
  margin: 0 0 var(--space-7);
  color: #14231f;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.15;
}

.simple-comment-form {
  display: grid;
  gap: var(--space-5);
  margin: 0;
}

.simple-comment-form p {
  margin: 0;
}

.simple-comment-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-5);
}

.simple-comment-form label {
  display: block;
  margin-bottom: var(--space-2);
  color: #172923;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 850;
}

.simple-comment-form label span {
  color: var(--color-rust);
}

.simple-comment-form input,
.simple-comment-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  color: #14231f;
  font-family: var(--font-sans);
  font-size: 1rem;
  background: #fbf8f0;
  border: 1px solid rgba(23,79,72,0.16);
  border-radius: 14px;
  outline: 0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.simple-comment-form textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.7;
}

.simple-comment-form input:focus,
.simple-comment-form textarea:focus {
  background: #fff;
  border-color: rgba(23,79,72,0.42);
  box-shadow: 0 0 0 4px rgba(23,79,72,0.08);
}

.simple-comment-form .form-submit {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--space-2);
}

.simple-comment-form .form-submit .btn {
  min-width: 170px;
  justify-content: center;
}

@media (max-width: 640px) {
  .simple-comment-form__grid {
    grid-template-columns: 1fr;
  }

  .simple-comment-form .form-submit,
  .simple-comment-form .form-submit .btn {
    width: 100%;
  }
}

/* ============================================================
   ARCHIVE / CATEGORY PAGES
   ============================================================ */
.archive-hero {
  padding: clamp(2.75rem, 5vw, 5.5rem) 0 clamp(2.25rem, 4vw, 4.25rem);
  background:
    radial-gradient(circle at 14% 0%, rgba(192,132,47,0.17), transparent 26rem),
    radial-gradient(circle at 92% 28%, rgba(23,79,72,0.13), transparent 24rem),
    linear-gradient(135deg, #f8f4ea 0%, #eef3ee 54%, #fbf7eb 100%);
  border-bottom: 1px solid rgba(23,79,72,0.1);
}

.archive-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 260px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.archive-hero .breadcrumb {
  margin-bottom: var(--space-6);
}

.archive-hero__title {
  max-width: 920px;
  margin: 0;
  color: #13231f;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.archive-hero__desc {
  max-width: 720px;
  margin: var(--space-5) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.8;
}

.archive-hero__panel {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: var(--space-6);
  text-align: center;
  background: rgba(255,253,248,0.78);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 28px;
  box-shadow: 0 24px 80px rgba(21,35,31,0.1);
}

.archive-hero__count {
  display: block;
  color: #174f48;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 800;
  line-height: 0.95;
}

.archive-hero__panel span:last-child {
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.archive-page {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  background: #fbfaf6;
}

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 330px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.archive-main {
  min-width: 0;
}

.archive-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  padding: clamp(1.25rem, 2vw, 1.75rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(21,35,31,0.07);
}

.archive-toolbar h2 {
  margin: 0;
  color: #14231f;
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  line-height: 1.15;
}

.archive-search {
  display: grid;
  grid-template-columns: minmax(180px, 280px) 48px;
  gap: var(--space-2);
}

.archive-search input {
  width: 100%;
  min-height: 48px;
  padding: 0.78rem 1rem;
  color: #14231f;
  font-family: var(--font-sans);
  background: #fbf8f0;
  border: 1px solid rgba(23,79,72,0.16);
  border-radius: 999px;
  outline: 0;
}

.archive-search input:focus {
  background: #fff;
  border-color: rgba(23,79,72,0.38);
  box-shadow: 0 0 0 4px rgba(23,79,72,0.08);
}

.archive-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--color-gold);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.archive-post-list {
  display: grid;
  gap: var(--space-5);
}

.archive-post-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 0.62fr);
  min-height: 260px;
  overflow: hidden;
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 26px;
  box-shadow: 0 20px 65px rgba(21,35,31,0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-fast);
}

.archive-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(192,132,47,0.24);
  box-shadow: 0 28px 85px rgba(21,35,31,0.12);
}

.archive-post-card__media {
  display: block;
  min-height: 100%;
  background:
    linear-gradient(135deg, rgba(23,79,72,0.18), rgba(192,132,47,0.18)),
    #e9e1d1;
}

.archive-post-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-post-card__media span {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
}

.archive-post-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 2.2vw, 2rem);
}

.archive-post-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: var(--space-4);
  color: var(--color-ink-4);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 850;
}

.archive-post-card__meta a {
  color: #174f48;
  padding: 0.38rem 0.6rem;
  background: rgba(23,79,72,0.08);
  border-radius: 999px;
}

.archive-post-card h3 {
  margin: 0;
  color: #14231f;
  font-size: clamp(1.45rem, 2.3vw, 2.15rem);
  line-height: 1.16;
  text-wrap: balance;
}

.archive-post-card h3 a {
  color: inherit;
}

.archive-post-card p {
  margin: var(--space-4) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  line-height: 1.75;
}

.archive-post-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: auto;
  padding-top: var(--space-6);
  color: var(--color-ink-4);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 800;
}

.archive-post-card__footer a {
  color: var(--color-gold);
  font-weight: 900;
}

.archive-pagination {
  margin-top: var(--space-8);
}

.archive-empty {
  padding: clamp(2rem, 4vw, 3rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 26px;
  box-shadow: 0 20px 65px rgba(21,35,31,0.08);
}

.archive-empty h2 {
  margin: 0;
  color: #14231f;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.archive-empty p {
  max-width: 520px;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  line-height: 1.75;
}

@media (max-width: 1100px) {
  .archive-layout,
  .archive-hero__inner {
    grid-template-columns: 1fr;
  }

  .archive-hero__panel {
    place-items: start;
    min-height: 0;
    text-align: left;
  }
}

@media (max-width: 820px) {
  .archive-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .archive-search {
    grid-template-columns: 1fr 48px;
  }

  .archive-post-card {
    grid-template-columns: 1fr;
  }

  .archive-post-card__media,
  .archive-post-card__media span {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .archive-hero__title {
    font-size: clamp(2.5rem, 16vw, 4rem);
  }

  .archive-post-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ============================================================
   HEADER / FOOTER CLEANUPS
   ============================================================ */
.search-overlay-hint {
  margin: 16px 0 0;
  color: rgba(255,255,255,0.48);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  text-align: center;
}

.search-overlay-hint kbd {
  padding: 0.16rem 0.5rem;
  color: rgba(255,255,255,0.72);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 6px;
}

.mobile-nav-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  gap: var(--space-2);
  margin-top: auto;
  padding-top: var(--space-8);
}

.mobile-nav-search input {
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  color: #14231f;
  font-family: var(--font-sans);
  background: #fbf8f0;
  border: 1px solid rgba(23,79,72,0.16);
  border-radius: 12px;
  outline: 0;
}

.mobile-nav-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--color-gold);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
}

.newsletter-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto var(--space-4);
  background:
    linear-gradient(135deg, rgba(23,79,72,0.96), rgba(192,132,47,0.82));
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(21,35,31,0.14);
}

.newsletter-note {
  margin: var(--space-3) 0 0;
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* ============================================================
   AUTHOR PROFILE PAGE
   ============================================================ */
.author-hero {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(2.5rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(192,132,47,0.18), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(23,79,72,0.14), transparent 26rem),
    linear-gradient(135deg, #f8f4ea 0%, #edf3ee 58%, #fbf6e7 100%);
  border-bottom: 1px solid rgba(23,79,72,0.1);
}

.author-hero__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) minmax(210px, 280px);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: end;
}

.author-hero__avatar {
  width: 180px;
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(23,79,72,0.2), rgba(192,132,47,0.18));
  border: 8px solid rgba(255,253,248,0.8);
  border-radius: 50%;
  box-shadow: 0 24px 70px rgba(21,35,31,0.14);
}

.author-hero__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-hero__content .breadcrumb {
  margin-bottom: var(--space-5);
}

.author-hero__title {
  margin: 0;
  color: #13231f;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-wrap: balance;
}

.author-hero__desc {
  max-width: 780px;
  margin: var(--space-5) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.82;
}

.author-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-7);
}

.author-hero__stats {
  display: grid;
  gap: var(--space-4);
}

.author-hero__stats div {
  padding: var(--space-5);
  text-align: center;
  background: rgba(255,253,248,0.82);
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 22px;
  box-shadow: 0 18px 55px rgba(21,35,31,0.08);
}

.author-hero__stats strong {
  display: block;
  color: #174f48;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1;
}

.author-hero__stats span {
  color: var(--color-ink-3);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.author-page {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 6rem);
  background: #fbfaf6;
}

.author-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: var(--space-5);
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.author-profile-card {
  min-height: 260px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fffdf8;
  border: 1px solid rgba(23,79,72,0.12);
  border-radius: 26px;
  box-shadow: 0 22px 70px rgba(21,35,31,0.08);
}

.author-profile-card h2 {
  max-width: 760px;
  margin: 0;
  color: #14231f;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.08;
  text-wrap: balance;
}

.author-profile-card p {
  margin: var(--space-5) 0 0;
  color: var(--color-ink-2);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.82;
}

.author-profile-card--dark {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, #174f48, #14231f);
}

.author-profile-card--dark .static-kicker {
  color: var(--color-gold-light);
}

.author-profile-card--dark p {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.8vw, 2.65rem);
  line-height: 1.2;
}

.author-topics {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.author-posts {
  scroll-margin-top: 110px;
}

.archive-post-card__author,
.single-meta a,
.single-author__link {
  color: var(--color-sage);
  font-family: var(--font-sans);
  font-weight: 900;
}

.single-author__link {
  display: inline-flex;
  margin-top: var(--space-4);
}

@media (max-width: 1100px) {
  .author-hero__inner,
  .author-profile-grid {
    grid-template-columns: 1fr;
  }

  .author-hero__avatar {
    width: 140px;
    height: 140px;
  }

  .author-hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .author-hero__title {
    font-size: clamp(2.5rem, 15vw, 4rem);
  }

  .author-hero__stats {
    grid-template-columns: 1fr;
  }
}

/* Author page visual upgrade */
.author-hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0;
}

.author-hero__inner {
  grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
  grid-template-areas:
    "portrait content"
    "portrait stats";
  align-items: center;
}

.author-hero__portrait {
  grid-area: portrait;
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  justify-self: center;
  background: #e9e1d1;
  border: 10px solid rgba(255,253,248,0.86);
  border-radius: 34px;
  box-shadow: 0 34px 100px rgba(21,35,31,0.18);
}

.author-hero__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 58%, rgba(15,28,24,0.18));
}

.author-hero__portrait picture,
.author-hero__portrait img {
  display: block;
  width: 100%;
  height: 100%;
}

.author-hero__portrait img {
  object-fit: cover;
  object-position: center;
}

.author-hero__content {
  grid-area: content;
  max-width: 780px;
}

.author-hero__title {
  font-size: clamp(3rem, 5.6vw, 5.8rem);
}

.author-hero__stats {
  grid-area: stats;
  grid-template-columns: repeat(2, minmax(0, 180px));
  margin-top: var(--space-7);
}

.author-hero__stats div {
  padding: var(--space-4) var(--space-5);
  text-align: left;
}

.author-hero__stats strong {
  font-size: clamp(2.3rem, 3.8vw, 3.8rem);
}

.author-profile-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.65fr);
}

.author-profile-card {
  min-height: 220px;
}

.author-profile-card--dark p {
  font-size: clamp(1.35rem, 2.25vw, 2.15rem);
}

@media (max-width: 980px) {
  .author-hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "portrait"
      "content"
      "stats";
  }

  .author-hero__portrait {
    width: min(320px, 86vw);
    border-radius: 28px;
  }

  .author-hero__content {
    text-align: center;
  }

  .author-hero__content .breadcrumb,
  .author-hero__actions {
    justify-content: center;
  }

  .author-hero__stats {
    justify-content: center;
  }
}

/* ============================================================
   FOOTER CONTACT + DIRECTORY UPGRADE
   ============================================================ */
.footer-upgraded.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(214,151,46,0.14), transparent 26rem),
    radial-gradient(circle at 88% 8%, rgba(64,141,126,0.16), transparent 28rem),
    linear-gradient(180deg, #101a15 0%, #0b1410 100%);
}

.footer-upgraded .footer-col-title {
  color: #fff8e9;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.footer-upgraded .footer-col-title::after {
  background: linear-gradient(90deg, #d8952f, rgba(216,149,47,0));
  opacity: 1;
}

.footer-upgraded .footer-links a,
.footer-upgraded .footer-brand__desc,
.footer-upgraded .footer-copy,
.footer-upgraded .footer-bottom-links a {
  color: rgba(246,239,224,0.72);
}

.footer-upgraded .footer-links a:hover,
.footer-upgraded .footer-bottom-links a:hover {
  color: #f4bd68;
}

.footer-contact-card {
  padding: var(--space-5);
  background:
    linear-gradient(135deg, rgba(255,253,248,0.08), rgba(216,149,47,0.08));
  border: 1px solid rgba(244,189,104,0.2);
  border-radius: 18px;
  box-shadow: 0 22px 70px rgba(0,0,0,0.16);
}

.footer-contact-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-contact-list li {
  display: grid;
  gap: 0.25rem;
}

.footer-contact-list span {
  color: #f4bd68;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.footer-contact-list a,
.footer-contact-list strong {
  color: #fff8e9;
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 750;
  line-height: 1.55;
}

.footer-contact-list a:hover {
  color: #f4bd68;
}

.footer-directory {
  margin-top: clamp(2rem, 4vw, 3.25rem);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  background: rgba(255,253,248,0.055);
  border: 1px solid rgba(244,189,104,0.16);
  border-radius: 20px;
}

.footer-directory__label {
  display: block;
  margin-bottom: var(--space-4);
  color: #f4bd68;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-directory__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.footer-directory__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.58rem 0.9rem;
  color: #fff8e9;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 800;
  background: rgba(255,253,248,0.08);
  border: 1px solid rgba(244,189,104,0.16);
  border-radius: 999px;
}

.footer-directory__links a:hover {
  color: #101a15;
  background: #f4bd68;
  border-color: #f4bd68;
  transform: translateY(-1px);
}

.footer-upgraded .footer-bottom {
  border-top-color: rgba(244,189,104,0.16);
}

@media (max-width: 920px) {
  .footer-contact-card {
    padding: var(--space-5);
  }

  .footer-directory__links {
    gap: var(--space-2);
  }

  .footer-directory__links a {
    flex: 1 1 calc(50% - var(--space-2));
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .footer-directory__links a {
    flex-basis: 100%;
  }
}

/* Footer requested simplification */
.footer-upgraded .footer-contact-column {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-upgraded .footer-contact-list {
  gap: var(--space-4);
}

.footer-upgraded .footer-contact-list a,
.footer-upgraded .footer-contact-list strong {
  color: rgba(255,248,233,0.88);
  font-size: 0.95rem;
  font-weight: 800;
}

.footer-upgraded .footer-directory {
  display: none;
}

.footer-upgraded .footer-bottom {
  align-items: center;
  gap: var(--space-5);
  margin-top: clamp(2.25rem, 4vw, 3.5rem);
  padding-top: var(--space-7);
}

.footer-upgraded .footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem 1.15rem;
}

.footer-upgraded .footer-bottom-links a {
  color: rgba(255,248,233,0.78);
  font-size: 0.88rem;
  font-weight: 750;
  white-space: nowrap;
}

.footer-upgraded .footer-bottom-links a:hover {
  color: #f4bd68;
}

@media (max-width: 820px) {
  .footer-upgraded .footer-bottom {
    align-items: flex-start;
  }

  .footer-upgraded .footer-bottom-links {
    justify-content: flex-start;
  }
}

/* Footer single-line bottom and compact contact */
.footer-upgraded .footer-brand .site-logo__name,
.footer-upgraded .footer-copy strong {
  color: #fff8e9;
  opacity: 1;
}

.footer-upgraded .footer-brand .site-logo__tagline {
  color: #f4bd68;
  opacity: 0.92;
}

.footer-upgraded .footer-copy {
  color: rgba(255,248,233,0.82);
}

.footer-upgraded .footer-copy strong {
  font-weight: 900;
}

.footer-upgraded .footer-contact-list {
  gap: 0.85rem;
}

.footer-upgraded .footer-contact-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  border: 0;
}

.footer-upgraded .footer-contact-list .footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #f4bd68;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.footer-upgraded .footer-contact-list .footer-contact-icon svg {
  display: block;
  width: 17px;
  height: 17px;
}

.footer-upgraded .footer-contact-list a,
.footer-upgraded .footer-contact-list strong {
  min-width: 0;
  max-width: none;
  overflow: visible;
  color: rgba(255,248,233,0.86);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: left;
  text-overflow: clip;
  white-space: normal;
  overflow-wrap: anywhere;
}

.footer-upgraded .footer-contact-list a:hover {
  color: #f4bd68;
}

/* Footer contact final: simple text menu */
.footer-upgraded .footer-contact-list {
  display: grid;
  gap: 1rem;
}

.footer-upgraded .footer-contact-list li {
  display: block;
  padding: 0;
  border: 0;
}

.footer-upgraded .footer-contact-list a {
  display: inline;
  color: rgba(255,248,233,0.78);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  white-space: normal;
}

.footer-upgraded .footer-contact-list a span {
  margin-right: 0.45rem;
  color: #f4bd68;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-upgraded .footer-contact-list a:hover {
  color: #fff8e9;
}

/* Logo without tagline */
.site-logo__text {
  gap: 0;
}

.site-logo__tagline {
  display: none !important;
}

.site-logo__name {
  line-height: 1.08;
  letter-spacing: 0;
}

.site-header .site-logo__name {
  font-size: 1.02rem;
  font-weight: 900;
}

.footer-brand .site-logo__name {
  font-size: 1.05rem;
  color: #fff8e9;
}

/* Footer wordmark */
.footer-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: #fff8e9;
}

.footer-wordmark__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: #111a15;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #f8e5bd, #d8952f);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(216,149,47,0.18);
}

.footer-wordmark__text {
  display: grid;
  gap: 0.1rem;
}

.footer-wordmark__text span {
  color: #fff8e9;
  font-family: var(--font-sans);
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0;
}

.footer-wordmark:hover .footer-wordmark__text span {
  color: #f4bd68;
}

/* Unified brand mark: header + footer */
.site-header .site-logo,
.footer-upgraded .footer-logo {
  gap: 0.72rem;
}

.site-header .site-logo__icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
}

.site-header .site-logo__name,
.footer-upgraded .footer-logo .site-logo__name {
  font-family: var(--font-display);
  font-size: clamp(1.24rem, 1.45vw, 1.55rem);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: 0;
  color: #14231f;
  text-wrap: nowrap;
}

.site-header .site-logo__text {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.footer-upgraded .footer-logo .site-logo__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
}

.footer-upgraded .footer-logo .site-logo__name {
  color: #fff8e9;
  font-size: clamp(1.28rem, 1.55vw, 1.68rem);
}

.footer-upgraded .footer-logo:hover .site-logo__name {
  color: #f4bd68;
}

@media (max-width: 640px) {
  .site-header .site-logo__name {
    font-size: 1.08rem;
  }

  .site-header .site-logo__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }
}

/* Header optical alignment fix */
.site-header {
  --header-brand-icon: 36px;
}

.site-header .header-inner {
  align-items: center;
}

.site-header .site-logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  gap: 0.68rem;
}

.site-header .site-logo__icon {
  width: var(--header-brand-icon);
  height: var(--header-brand-icon);
  flex: 0 0 var(--header-brand-icon);
}

.site-header .site-logo__text {
  display: flex;
  align-items: center;
  height: var(--header-brand-icon);
  min-height: 0;
}

.site-header .site-logo__name {
  display: block;
  color: #14231f;
  font-family: var(--font-display);
  font-size: clamp(1.36rem, 1.55vw, 1.72rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(2px);
  white-space: nowrap;
}

.site-header .primary-nav {
  align-items: center;
}

.site-header .primary-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  line-height: 1;
}

.site-header .header-actions {
  align-items: center;
}

@media (max-width: 640px) {
  .site-header {
    --header-brand-icon: 32px;
  }

  .site-header .site-logo {
    height: 40px;
  }

  .site-header .site-logo__name {
    font-size: 1.16rem;
    transform: translateY(1px);
  }
}

/* Header vertical centering: fix inner container not filling header height */
.site-header > .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .header-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.site-header .site-logo,
.site-header .primary-nav,
.site-header .header-actions {
  align-self: center;
}

.site-header .primary-nav {
  height: 44px;
}

.site-header .header-search-btn,
.site-header .mobile-menu-btn {
  align-items: center;
  justify-content: center;
}

/* Footer logo synced with header logo */
.footer-upgraded .footer-logo {
  display: inline-flex;
  align-items: center;
  height: 44px;
  gap: 0.68rem;
}

.footer-upgraded .footer-logo .site-logo__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  background: #fbf8f0;
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.18);
}

.footer-upgraded .footer-logo .site-logo__text {
  display: flex;
  align-items: center;
  height: 36px;
  min-height: 0;
}

.footer-upgraded .footer-logo .site-logo__name {
  display: block;
  color: #fff8e9;
  font-family: var(--font-display);
  font-size: clamp(1.36rem, 1.55vw, 1.72rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
  transform: translateY(2px);
  white-space: nowrap;
}

.footer-upgraded .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.footer-upgraded .footer-copy {
  flex: 0 1 auto;
  margin: 0;
  white-space: nowrap;
}

.footer-upgraded .footer-bottom-links {
  flex: 1 1 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.3vw, 1.35rem);
  min-width: 0;
}

.footer-upgraded .footer-bottom-links a {
  flex: 0 0 auto;
  font-size: clamp(0.76rem, 0.82vw, 0.88rem);
}

@media (max-width: 1180px) {
  .footer-upgraded .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-upgraded .footer-copy {
    white-space: normal;
  }

  .footer-upgraded .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
