/*
Theme Name: Dorve Blog
Theme URI: https://dorve.id/blog
Author: Dorve House
Author URI: https://dorve.id
Description: Luxury editorial blog theme for Dorve.id — Premium Streetwear Fashion Indonesia
Version: 2.0.0
License: Private
Text Domain: dorve-blog
Tags: luxury, fashion, dark, editorial, minimal
*/

/* ═══════════════════════════════════════════════════════
   ROOT DESIGN SYSTEM — Synced with dorve.id
═══════════════════════════════════════════════════════ */
:root {
  /* Light/cream — synced with dorve.id */
  --bg:          #FAF7F4;
  --bg-2:        #F0ECE6;
  --bg-card:     #FFFFFF;
  --gold:        #B8966E;
  --gold-light:  #D4A96A;
  --gold-dark:   #9A7A58;
  --text:        #1A1A1A;
  --text-2:      #5C5650;
  --text-muted:  #9C9088;
  --border:      #E8E0D8;
  --border-2:    #D8D0C8;
  --white:       #FFFFFF;
  --charcoal:    #1A1A1A;

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'DM Sans', -apple-system, system-ui, sans-serif;

  --radius:      4px;
  --radius-lg:   8px;
  --radius-xl:   16px;
  --shadow:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 16px 40px rgba(0,0,0,.14);

  --max-content: 780px;
  --max-site:    1280px;
  --header-h:    68px;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── SITE LAYOUT SPACING ── */
.site-body {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}
@media(max-width:1023px) { .site-body { grid-template-columns: 1fr; gap: 32px; } }
@media(max-width:599px)  { .site-body { padding: 24px 16px; } }
.site-main { min-width: 0; }

img { max-width: 100%; height: auto; display: block; }
/* Mobile logo — override global img height:auto */
.mobile-logo-img { height: 36px !important; width: auto !important; max-height: 36px !important; max-width: 120px !important; }
.header-mobile .mobile-logo-link img { height: 36px !important; width: auto !important; max-height: 36px !important; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; }

/* Reading progress bar */
#reading-progress {
  position: fixed;
  top: 0; left: 0; z-index: 9999;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transition: width .1s linear;
}

/* ═══════════════════════════════════════════════════════
   HEADER — Synced with dorve.id main site
═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0; z-index: 500;
  height: var(--header-h);
  background: rgba(10,10,10,.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .3s, box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,.6); }

.header-inner {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo a {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.header-logo .logo-sub {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
}
.header-logo img { height: 36px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 6px; }
.header-nav a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-2);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
  white-space: nowrap;
}
.header-nav a:hover, .header-nav a.current-menu-item { color: var(--text); }
.header-nav a.active-blog {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}
.header-nav a[href*="dorve.id"]:not([href*="blog"]) {
  display: inline-flex; align-items: center; gap: 4px;
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn-search {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.btn-search:hover { border-color: var(--gold); color: var(--gold); }
.btn-search svg { width: 16px; height: 16px; }

.btn-mode-toggle {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.btn-mode-toggle:hover { border-color: var(--gold); color: var(--gold); }

.btn-shop {
  padding: 8px 18px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .15s;
  border: none;
  display: inline-block;
  white-space: nowrap;
}
.btn-shop:hover { background: var(--gold-light); }

/* Mobile hamburger */
.btn-hamburger {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all .15s;
}
.btn-hamburger span {
  display: block;
  width: 18px; height: 1.5px;
  background: var(--text-2);
  transition: all .3s;
}
.btn-hamburger:hover { border-color: var(--gold); }
.btn-hamburger:hover span { background: var(--gold); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(10,10,10,.98);
  z-index: 490;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  font-size: 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--text-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: color .15s;
}
.mobile-nav a:hover, .mobile-nav a.active-blog { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   SEARCH OVERLAY
═══════════════════════════════════════════════════════ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,.97);
  z-index: 600;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.search-overlay.open { opacity: 1; pointer-events: auto; }
.search-overlay-inner { width: 100%; max-width: 640px; padding: 0 24px; }
.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 0;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 12px;
}
.search-overlay-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--text);
  caret-color: var(--gold);
}
.search-overlay-form input::placeholder { color: var(--text-muted); }
.search-overlay-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  padding: 4px;
  transition: color .15s;
}
.search-overlay-close:hover { color: var(--text); }
.search-overlay-hint {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   HERO BANNER — Fixed visibility + stronger presence
═══════════════════════════════════════════════════════ */
.blog-hero {
  padding: 72px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #FAF7F4;
}
/* Subtle gold warm glow from top */
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(184,150,110,.18) 0%, transparent 65%);
  pointer-events: none;
}
/* Decorative corner lines */
.blog-hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
  opacity: .5;
}
.blog-hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.blog-hero-eyebrow::before,
.blog-hero-eyebrow::after {
  content: '';
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: .55;
}
/* H1 — stronger, more visible */
.blog-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 300;
  line-height: .92;
  letter-spacing: -.025em;
  color: #111111;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 2px rgba(0,0,0,.06);
}
.blog-hero h1 em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.blog-hero-sub {
  font-size: 11px;
  letter-spacing: .22em;
  color: #7A7068;
  text-transform: uppercase;
  margin-bottom: 44px;
  position: relative;
  z-index: 1;
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════
   CATEGORY NAV BAR — Fully styled, prominent
═══════════════════════════════════════════════════════ */
.blog-hero-cats {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-top: 0;
  background: #1C1C1C;
  border-top: 1px solid rgba(184,150,110,.25);
  position: relative;
  z-index: 2;
  /* Fade edges on mobile scroll */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 3%, black 97%, transparent 100%);
}
.blog-hero-cats::-webkit-scrollbar { display: none; }

.blog-hero-cats .cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  border-top: 2px solid transparent;
  text-decoration: none;
  flex-shrink: 0;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
  background: none;
  cursor: pointer;
  position: relative;
}
.blog-hero-cats .cat-tab:hover {
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.04);
}
.blog-hero-cats .cat-tab.active {
  color: #fff;
  border-bottom-color: var(--gold);
  background: rgba(184,150,110,.08);
}
/* Gold dot indicator on active */
.blog-hero-cats .cat-tab.active::before {
  content: '✦';
  font-size: 6px;
  color: var(--gold);
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  opacity: .7;
}
/* Divider between tabs */
.blog-hero-cats .cat-tab + .cat-tab {
  border-left: 1px solid rgba(255,255,255,.06);
}

/* ═══════════════════════════════════════════════════════
   CATEGORY FILTER BAR
═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   SITE LAYOUT
═══════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   FEATURED POST
═══════════════════════════════════════════════════════ */
.featured-post {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 48px;
  transition: box-shadow .3s, border-color .3s;
}
.featured-post:hover { box-shadow: var(--shadow-lg); border-color: var(--gold-dark); }
@media(max-width:767px) { .featured-post { grid-template-columns: 1fr; } }

.featured-post-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.featured-post-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.featured-post:hover .featured-post-img img { transform: scale(1.04); }

.featured-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.featured-post-body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.featured-post-category {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
}
.featured-post-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.featured-post-title a:hover { color: var(--gold); }
.featured-post-excerpt {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-muted);
}
.featured-post-meta .author-img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-2);
}
.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(184,150,110,.3);
  padding-bottom: 2px;
  transition: gap .2s, border-color .2s;
  align-self: flex-start;
}
.btn-read-more:hover { gap: 14px; border-color: var(--gold); }
.btn-read-more svg { width: 14px; height: 14px; transition: transform .2s; }
.btn-read-more:hover svg { transform: translateX(2px); }

/* ═══════════════════════════════════════════════════════
   POST GRID
═══════════════════════════════════════════════════════ */
.posts-section-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.posts-section-label::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
@media(max-width:1023px) { .posts-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:599px) { .posts-grid { grid-template-columns: 1fr; } }

/* Post card */
.post-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.post-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-2);
}
.post-card:hover::before { transform: scaleX(1); }

.post-card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  flex-shrink: 0;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card:hover .post-card-thumb img { transform: scale(1.06); }

.post-card-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 2px;
}

.post-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-card-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  transition: color .15s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.post-card-title a:hover { color: var(--gold); }
.post-card-excerpt {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: auto;
}
.post-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--text-muted);
}
.post-card-author img {
  width: 22px; height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-2);
}
.post-card-reading {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════════════════════════════════════════════════════
   PAGINATION
═══════════════════════════════════════════════════════ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  color: var(--text-2);
  transition: all .15s;
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--gold); color: #0a0a0a; border-color: var(--gold); }
.pagination .prev, .pagination .next { width: auto; padding: 0 16px; gap: 6px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }

/* ═══════════════════════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════════════════════ */
.site-sidebar { position: sticky; top: calc(var(--header-h) + 56px); }

/* Sidebar about */
.sidebar-about { padding: 20px; }
.sidebar-about h3 {
  font-family: var(--font-serif);
  font-size: 20px; font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.sidebar-about p { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 16px; }
.sidebar-shop-btn {
  display: block; text-align: center;
  padding: 11px 16px;
  background: var(--charcoal); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  border-radius: 6px; transition: background .15s;
}
.sidebar-shop-btn:hover { background: #333; }

/* Popular post thumb placeholder */
.popular-post-thumb--empty {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 4px; background: var(--bg-2);
}

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-widget-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-about { padding: 20px; text-align: center; }
.sidebar-about img {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 12px;
  border: 2px solid var(--border-2);
}
.sidebar-about h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text);
  margin-bottom: 8px;
}
.sidebar-about p { font-size: 13px; color: var(--text-2); line-height: 1.6; margin-bottom: 16px; }
.sidebar-about .btn-shop { display: block; text-align: center; }

.sidebar-popular-posts { padding: 4px 0; }
.popular-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  transition: background .15s;
}
.popular-post-item:last-child { border-bottom: none; }
.popular-post-item:hover { background: rgba(255,255,255,.02); }
.popular-post-thumb {
  width: 56px; height: 56px;
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.popular-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--charcoal);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.popular-post-item:hover .popular-post-title { color: var(--gold-dark); }
.popular-post-date { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.sidebar-cats { padding: 4px 0; }
.sidebar-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s, background .15s;
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { color: var(--charcoal); background: var(--bg-2); }
.sidebar-cat-item.active { color: var(--charcoal); font-weight: 700; }
.sidebar-cat-count {
  font-size: 11px;
  background: #F0ECE6;
  color: var(--gold-dark);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
}

.sidebar-newsletter { padding: 20px; }
.sidebar-newsletter h3 { font-family: var(--font-serif); font-size: 20px; color: var(--charcoal); margin-bottom: 8px; }
.sidebar-newsletter p { font-size: 13px; color: var(--text-2); margin-bottom: 16px; }
.sidebar-newsletter-form { display: flex; gap: 0; }
.sidebar-newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: #F0ECE6;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  color: var(--charcoal);
  font-size: 13px;
  outline: none;
}
.sidebar-newsletter-form input::placeholder { color: var(--text-muted); }
.sidebar-newsletter-form button {
  padding: 10px 14px;
  background: var(--charcoal);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .15s;
}
.sidebar-newsletter-form button:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   SINGLE ARTICLE — Fixed 3-column layout
═══════════════════════════════════════════════════════ */

/* Hero */
.article-hero {
  position: relative;
  aspect-ratio: 21/9;
  overflow: hidden;
  max-height: 520px;
}
@media(max-width:767px) { .article-hero { aspect-ratio: 16/9; max-height: none; } }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.article-hero-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 52px 56px;
  z-index: 1;
}
@media(max-width:767px) { .article-hero-content { padding: 24px 20px; } }

/* No featured image fallback */
.article-hero-fallback {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 56px 24px 40px;
  border-bottom: 1px solid var(--border);
}
.article-title-fallback {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  color: var(--text);
  line-height: 1.1;
  max-width: 760px;
  margin-bottom: 20px;
}

.article-cat-badge {
  display: inline-block;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 16px;
  transition: background .15s;
}
.article-cat-badge:hover { background: var(--gold-light); }
.article-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  color: #fff;
  max-width: 820px;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
  flex-wrap: wrap;
}
.article-meta-author { display: flex; align-items: center; gap: 8px; }
.article-meta-author img {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
}
.article-meta span { display: flex; align-items: center; gap: 4px; }
.meta-sep { color: rgba(255,255,255,.2); }

/* ═══════════════════════════════════════════════════════
   SINGLE PAGE — Reading progress bar
═══════════════════════════════════════════════════════ */
#sp-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transition: width .1s linear;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════
   SINGLE PAGE — Hero
═══════════════════════════════════════════════════════ */
.sp-hero {
  position: relative;
  width: 100%;
  max-height: 540px;
  overflow: hidden;
  background: #1a1a1a;
}
.sp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 540px;
}
.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,.88) 0%,
    rgba(0,0,0,.45) 45%,
    rgba(0,0,0,.1)  100%);
}
.sp-hero--text {
  background: var(--bg);
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--border);
}
.sp-hero__inner {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 52px 56px;
  z-index: 2;
}
.sp-hero--text .sp-hero__inner {
  position: static;
  padding: 0;
  max-width: 800px;
  margin: 0 auto;
}
.sp-cat-pill {
  display: inline-block;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
  text-decoration: none;
  transition: background .15s;
}
.sp-cat-pill:hover { background: var(--gold-light); }
.sp-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.8vw, 50px);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  max-width: 820px;
  margin-bottom: 20px;
  letter-spacing: -.01em;
}
.sp-hero--text .sp-hero__title { color: var(--text); }
.sp-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.6);
  flex-wrap: wrap;
}
.sp-hero--text .sp-hero__meta { color: var(--text-muted); }
.sp-hero__meta img {
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255,255,255,.3) !important;
  display: block !important;
}
.sp-meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  display: inline-block;
  flex-shrink: 0;
}
.sp-hero--text .sp-meta-dot { background: var(--border-2); }

/* ═══════════════════════════════════════════════════════
   SINGLE PAGE — 2-Column Body Layout
   article (flex:1) | sidebar (240px fixed)
═══════════════════════════════════════════════════════ */
.sp-body {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 48px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 52px 24px 80px;
}

/* MAIN — article content */
.sp-main {
  flex: 1 1 auto;
  min-width: 0;
  max-width: 740px;
}

/* SIDEBAR */
.sp-sidebar {
  flex: 0 0 240px;
  width: 240px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ── Breadcrumb ── */
.archive-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.archive-breadcrumb a { color: var(--text-muted); transition: color .15s; text-decoration: none; }
.archive-breadcrumb a:hover { color: var(--gold); }
.archive-breadcrumb span { color: var(--border-2); }

/* ── Article typography ── */
.sp-article {
  font-size: 17px;
  line-height: 1.85;
  color: #4A4540;
}
.sp-article > p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  color: var(--gold);
  float: left;
  line-height: .76;
  margin: 4px 12px 0 0;
}
.sp-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  color: var(--text);
  margin: 48px 0 20px;
  line-height: 1.2;
}
.sp-article h2 {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin: 48px 0 18px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
  line-height: 1.25;
}
.sp-article h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 32px 0 12px;
}
.sp-article h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
  margin: 24px 0 10px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.sp-article p { margin-bottom: 20px; }
.sp-article a {
  color: var(--gold-dark);
  border-bottom: 1px solid rgba(154,122,88,.3);
  transition: color .15s, border-color .15s;
  text-decoration: none;
}
.sp-article a:hover { color: var(--gold); border-color: var(--gold); }
.sp-article strong { color: var(--text); font-weight: 700; }
.sp-article em { font-style: italic; }
.sp-article blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(184,150,110,.05);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.sp-article blockquote p {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: 0;
}
.sp-article ul, .sp-article ol {
  margin: 16px 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sp-article ul { list-style: none; padding: 0; }
.sp-article ul li { padding-left: 20px; position: relative; }
.sp-article ul li::before {
  content: '✦'; position: absolute; left: 0;
  color: var(--gold); font-size: 8px; top: 8px;
}
.sp-article ol { list-style: none; padding: 0; counter-reset: sp-ol; }
.sp-article ol li { padding-left: 28px; position: relative; counter-increment: sp-ol; }
.sp-article ol li::before {
  content: counter(sp-ol, decimal-leading-zero);
  position: absolute; left: 0;
  color: var(--gold); font-family: var(--font-serif); font-size: 13px; font-weight: 700;
}
.sp-article figure { margin: 32px 0; }
.sp-article figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  height: auto !important;
}
.sp-article figcaption {
  margin-top: 8px; font-size: 12px;
  color: var(--text-muted); text-align: center; font-style: italic;
}
.sp-article img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  margin: 20px 0;
  height: auto !important;
}
.sp-article hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.sp-article table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; }
.sp-article table th { background: var(--charcoal); color: #fff; padding: 10px 14px; text-align: left; font-size: 11px; letter-spacing: .06em; }
.sp-article table td { padding: 10px 14px; border-bottom: 1px solid var(--border); }
.sp-article table tr:last-child td { border-bottom: none; }

/* ── Tags ── */
.sp-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 40px; padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sp-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--border); padding: 5px 14px;
  border-radius: 20px; text-decoration: none;
  transition: all .15s;
}
.sp-tag:hover { color: var(--gold); border-color: var(--gold-dark); }

/* ── Author box ── */
.sp-author {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 28px; margin-top: 40px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
}
.sp-author__avatar img {
  width: 64px !important; height: 64px !important;
  border-radius: 50% !important; display: block !important;
}
.sp-author__label { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.sp-author__name { font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.sp-author__bio { font-size: 13px; color: var(--text-2); line-height: 1.65; }

/* ── Related articles ── */
.sp-related { margin-top: 52px; }
.sp-section-label {
  font-size: 10px; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 24px; padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ── SIDEBAR WIDGETS ── */
.sp-widget {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
}
.sp-widget__label {
  font-size: 9px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}

/* Share widget */
.sp-share__buttons {
  display: flex; flex-direction: column; gap: 6px;
}
.sp-share__btn {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px;
  background: none; border: 0.5px solid var(--border);
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); font-size: 12px;
  color: var(--text-2); text-decoration: none;
  transition: all .15s; width: 100%;
}
.sp-share__btn:hover { border-color: var(--gold); color: var(--gold); background: rgba(184,150,110,.06); }
.sp-share__btn svg { flex-shrink: 0; color: var(--text-muted); }
.sp-share__btn:hover svg { color: var(--gold); }

/* Info widget */
.sp-info__cat {
  display: inline-block;
  background: rgba(184,150,110,.1);
  color: var(--gold-dark); font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 12px; border-radius: 20px;
  border: 1px solid rgba(184,150,110,.2);
  text-decoration: none; margin-bottom: 12px;
  transition: background .15s; display: inline-block;
}
.sp-info__cat:hover { background: rgba(184,150,110,.2); }
.sp-info__row {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-2);
  padding: 6px 0; border-bottom: 0.5px solid var(--border);
}
.sp-info__row:last-child { border-bottom: none; padding-bottom: 0; }
.sp-info__row svg { color: var(--gold); flex-shrink: 0; }

/* TOC widget */
.sp-toc-widget .toc-widget {
  background: none; border: none; padding: 0; margin: 0;
}
.sp-toc-widget .toc-title {
  font-size: 9px; font-weight: 800;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
}
.sp-toc-widget .toc-list {
  display: flex; flex-direction: column; gap: 2px;
  max-height: 300px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.sp-toc-widget .toc-list a {
  display: block; font-size: 12px; color: var(--text-2);
  padding: 5px 8px 5px 10px;
  border-left: 2px solid transparent;
  text-decoration: none; line-height: 1.45;
  transition: all .15s; border-radius: 0;
}
.sp-toc-widget .toc-list a:hover,
.sp-toc-widget .toc-list a.active {
  color: var(--gold); border-left-color: var(--gold);
  background: rgba(184,150,110,.05);
}
.sp-toc-widget .toc-list .toc-h3 { padding-left: 20px; font-size: 11px; color: var(--text-muted); }

/* Back to top */
.sp-back-top {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px 14px;
  background: none; border: 0.5px solid var(--border-2);
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-sans); font-size: 11px;
  font-weight: 600; letter-spacing: .06em;
  color: var(--text-muted); transition: all .15s;
}
.sp-back-top:hover { color: var(--gold); border-color: var(--gold); background: rgba(184,150,110,.05); }

/* Mobile share bar */
.sp-mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  align-items: center; justify-content: space-between;
}
.sp-mobile-bar__label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}
.sp-mobile-bar__icons { display: flex; gap: 8px; }
.sp-mobile-bar .sp-share__btn {
  width: 38px; height: 38px; padding: 0;
  justify-content: center; border-radius: var(--radius);
}

/* ═══════════════════════════════════════════════════════
   SINGLE PAGE — Responsive
═══════════════════════════════════════════════════════ */
@media(max-width:1060px) {
  .sp-body { gap: 32px; }
  .sp-sidebar { flex: 0 0 210px; width: 210px; }
}
@media(max-width:900px) {
  .sp-body { flex-direction: column; gap: 0; padding: 36px 20px 80px; }
  .sp-sidebar { position: static; width: 100%; flex: none; }
  .sp-sidebar { flex-direction: row; flex-wrap: wrap; }
  .sp-widget { flex: 1 1 calc(50% - 8px); min-width: 220px; }
  .sp-back-top { width: auto; flex: 0 0 auto; }
  .sp-related-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-mobile-bar { display: flex; }
  .sp-hero__inner { padding: 28px 24px; }
  .sp-hero__title { font-size: clamp(22px, 5.5vw, 36px); }
}
@media(max-width:599px) {
  .sp-body { padding: 28px 16px 80px; }
  .sp-sidebar { flex-direction: column; }
  .sp-widget { flex: none; width: 100%; }
  .sp-related-grid { grid-template-columns: 1fr; }
  .sp-article { font-size: 16px; }
  .sp-article > p:first-of-type::first-letter { font-size: 58px; }
  .sp-author { flex-direction: column; }
}

/* Comments */
.comments-section {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.comments-section h2 { margin-bottom: 32px; }
.comment {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.comment:last-child { border-bottom: none; }
.comment-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--border-2);
  overflow: hidden;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--text-2);
}
.comment-body { flex: 1; }
.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}
.comment-author { font-weight: 700; font-size: 14px; color: var(--text); }
.comment-date { font-size: 12px; color: var(--text-muted); }
.comment-text { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.comment-reply {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .15s;
  background: none; border: none; padding: 0;
}
.comment-reply:hover { color: var(--gold); }
.comment-reply svg { width: 12px; height: 12px; }

/* Comment form */
.comment-form { margin-top: 32px; }
.comment-form h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--text);
  margin-bottom: 20px;
}
.comment-form-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media(max-width:599px) { .comment-form-fields { grid-template-columns: 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input, .form-group textarea {
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  transition: border-color .15s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group textarea { resize: vertical; min-height: 120px; }
.comment-form .btn-submit {
  padding: 13px 32px;
  background: var(--gold);
  color: #0a0a0a;
  border: none;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .15s;
}
.comment-form .btn-submit:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   ARCHIVE PAGE
═══════════════════════════════════════════════════════ */
.archive-header {
  padding: 60px 24px 48px;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-site);
  margin: 0 auto;
}
.archive-breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.archive-breadcrumb a:hover { color: var(--gold); }
.archive-breadcrumb span { color: var(--border-2); }
.archive-category-name {
  font-family: var(--font-serif);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 600;
  color: var(--text);
  line-height: 1;
  margin-bottom: 12px;
}
.archive-description {
  font-size: 15px;
  color: var(--text-2);
  max-width: 600px;
  line-height: 1.65;
}
.archive-count {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.archive-count strong { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════════════ */
.page-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.page-404-number {
  font-family: var(--font-serif);
  font-size: clamp(96px, 18vw, 200px);
  font-weight: 700;
  color: var(--border-2);
  line-height: .9;
  margin-bottom: 24px;
  position: relative;
}
.page-404-number::after {
  content: 'Not Found';
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(14px, 2vw, 20px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
}
.page-404 h1 {
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 36px);
  color: var(--text);
  margin-bottom: 12px;
}
.page-404 p { font-size: 15px; color: var(--text-2); max-width: 400px; margin-bottom: 32px; }
.page-404 .btn-home {
  display: inline-block;
  padding: 14px 32px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: background .15s;
}
.page-404 .btn-home:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════ */
.search-header {
  padding: 48px 24px;
  border-bottom: 1px solid var(--border);
  max-width: var(--max-site);
  margin: 0 auto;
}
.search-header h1 { font-family: var(--font-serif); font-size: 32px; color: var(--text); margin-bottom: 8px; }
.search-header p { font-size: 14px; color: var(--text-2); }
.search-header .search-term { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  margin-top: 80px;
}
.footer-main {
  max-width: var(--max-site);
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}
@media(max-width:767px) { .footer-main { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media(max-width:479px) { .footer-main { grid-template-columns: 1fr; } }

.footer-brand .brand-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}
.footer-brand .brand-tagline {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 34px; height: 34px;
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all .15s;
  font-size: 14px;
}
.footer-social:hover { border-color: var(--gold); color: var(--gold); }

.footer-col h4 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px;
  color: var(--text-2);
  transition: color .15s;
}
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  max-width: var(--max-site);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12px; color: var(--text-muted); }
.footer-bottom a { color: var(--gold); }

/* ═══════════════════════════════════════════════════════
   MOBILE SHARE BAR (bottom fixed)
═══════════════════════════════════════════════════════ */
.mobile-share-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 12px 24px;
  z-index: 200;
  gap: 16px;
  align-items: center;
}
.mobile-share-bar .share-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.mobile-share-bar .share-icons { display: flex; gap: 10px; margin-left: auto; }
.mobile-share-bar .share-btn { width: 38px; height: 38px; }

/* ═══════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════ */
.container { max-width: var(--max-site); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* Fade in animation */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .5s ease both; }
.fade-up-delay-1 { animation-delay: .1s; }
.fade-up-delay-2 { animation-delay: .2s; }
.fade-up-delay-3 { animation-delay: .3s; }

/* Shimmer */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--border) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius);
}

/* Responsive media */
@media(max-width:767px) {
  :root { --header-h: 60px; }
  .btn-hamburger { display: flex; }
  .header-nav { display: none; }
  .btn-shop { display: none; }
  .mobile-nav { display: flex; }
  .share-sidebar { display: none !important; }
  .mobile-share-bar { display: flex; }
  .archive-breadcrumb { margin-bottom: 20px; font-size: 10px; }
  .site-body { padding: 32px 16px; }
  /* Hero mobile */
  .blog-hero { padding: 48px 20px 0; }
  .blog-hero h1 { font-size: clamp(52px, 16vw, 80px); line-height: .93; }
  .blog-hero-eyebrow { font-size: 9px; letter-spacing: .2em; margin-bottom: 16px; }
  .blog-hero-sub { font-size: 9px; letter-spacing: .16em; margin-bottom: 32px; }
  /* Category bar mobile — left-aligned scroll */
  .blog-hero-cats { justify-content: flex-start; }
  .blog-hero-cats .cat-tab { padding: 13px 16px; font-size: 9px; letter-spacing: .12em; min-height: 44px; }
  .blog-hero-cats .cat-tab.active::before { display: none; }
  /* Post cards 1-col */
  .posts-grid { grid-template-columns: 1fr; gap: 20px; }
  .featured-post-body { padding: 24px 20px; }
  .featured-post-title { font-size: clamp(22px, 6vw, 32px); }
  .toc-widget { display: none; }
}


/* ── Sidebar Newsletter Widget (Dorve embed) ───────────── */
.sidebar-newsletter-widget {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 12px !important;
    border: none !important;
}
.sidebar-newsletter-widget .dorve-nw {
    border-radius: 0;
    width: 100%;
    box-sizing: border-box;
    padding: 32px 24px;
}
.sidebar-newsletter-inner {
    padding: 20px;
}
.sidebar-newsletter-form {
    display: flex;
    gap: 0;
}
.sidebar-newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 12px;
    font-size: 13px;
    color: #fff;
    outline: none;
}
.sidebar-newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.sidebar-newsletter-form button {
    background: var(--gold);
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 10px 16px;
    color: var(--bg-dark);
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}
.sidebar-newsletter-form button:hover { background: #d4b896; }

/* ── Sidebar CTA widget ────────────────────────────────── */
.sidebar-cta-widget {
    background: var(--bg-dark) !important;
    border: 1px solid rgba(184,150,110,.25) !important;
    padding: 0 !important;
}
.sidebar-cta-link {
    display: block;
    padding: 20px;
    text-decoration: none;
    transition: background .2s;
}
.sidebar-cta-link:hover { background: rgba(184,150,110,.05); }
.sidebar-cta-eyebrow {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(184,150,110,.6);
    margin-bottom: 6px;
}
.sidebar-cta-text {
    display: block;
    font-family: var(--font-serif);
    font-size: 18px;
    color: #fff;
    font-style: italic;
}

/* ── Sidebar popular posts ─────────────────────────────── */
.popular-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: gap .2s;
}
.popular-item:last-child { border-bottom: none; }
.popular-item:hover { gap: 16px; }
.popular-num {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: rgba(184,150,110,.3);
    line-height: 1;
    flex-shrink: 0;
    min-width: 20px;
}
.popular-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-1);
    line-height: 1.5;
    margin-bottom: 3px;
}
.popular-meta { font-size: 11px; color: var(--text-3); }

/* ── Sidebar categories ────────────────────────────────── */
.sidebar-cats { display: flex; flex-direction: column; gap: 0; }
.sidebar-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    font-size: 13px;
    color: var(--text-2);
    transition: color .18s;
}
.sidebar-cat-item:last-child { border-bottom: none; }
.sidebar-cat-item:hover { color: var(--gold); }
.sidebar-cat-count {
    font-size: 11px;
    font-weight: 700;
    background: var(--bg-card);
    padding: 2px 7px;
    border-radius: 10px;
    color: var(--text-3);
}

/* ── Article inline newsletter inject ─────────────────── */
.article-newsletter {
    background: var(--bg-dark);
    border: 1px solid rgba(184,150,110,.25);
    border-radius: 12px;
    padding: 32px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}
.article-newsletter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.article-newsletter .eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(184,150,110,.6);
    margin-bottom: 10px;
}
.article-newsletter h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: #fff;
    margin: 0 0 8px;
    font-style: italic;
}
.article-newsletter p {
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin: 0 0 20px;
    line-height: 1.7;
}
.article-newsletter .newsletter-form .dorve-nw {
    padding: 0;
    background: transparent;
    border-radius: 0;
}
.article-newsletter .newsletter-form .dorve-nw::before,
.article-newsletter .newsletter-form .dorve-nw::after { display: none; }
.article-newsletter .newsletter-form .dorve-nw-eyebrow,
.article-newsletter .newsletter-form .dorve-nw-title,
.article-newsletter .newsletter-form .dorve-nw-sub,
.article-newsletter .newsletter-form .dorve-nw-divider,
.article-newsletter .newsletter-form .dorve-nw-perks { display: none; }
.article-newsletter .newsletter-form .dorve-nw-note { margin-bottom: 0; }
