/*
Theme Name: Woetter — Strategic Marketing
Theme URI: https://woetter.com
Author: Eduardo Wöetter
Author URI: https://woetter.com
Description: Premium editorial theme for Strategic Marketing by Eduardo Wöetter. Dark header, gold accents, magazine-style layout.
Version: 2.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: woetter
Domain Path: /languages
Requires at least: 6.0
Requires PHP: 8.0
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Mono:wght@400;500&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --gold:           #C9A84C;
  --gold-light:     #E2C47A;
  --gold-dark:      #9A7B34;
  --ink:            #0D0D0F;
  --ink-soft:       #1A1A1E;
  --ink-medium:     #2C2C32;
  --smoke:          #F5F4F0;
  --smoke-dark:     #ECEAE4;
  --parchment:      #FAF9F5;
  --white:          #FFFFFF;

  /* Text */
  --text-primary:   #0D0D0F;
  --text-secondary: #4A4A55;
  --text-muted:     #8A8A96;
  --text-inverse:   #FFFFFF;

  /* Surfaces */
  --surface-bg:     #FAF9F5;
  --surface-card:   #FFFFFF;
  --surface-header: #0D0D0F;
  --surface-footer: #0D0D0F;

  /* Typography */
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;
  --font-mono:      'DM Mono', monospace;

  /* Spacing */
  --container:      1240px;
  --gap:            clamp(1rem, 3vw, 2rem);

  /* Transitions */
  --ease:           cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --dur-fast:       180ms;
  --dur-med:        320ms;
  --dur-slow:       560ms;

  /* Borders */
  --radius-sm:      4px;
  --radius-md:      8px;
  --radius-lg:      16px;
  --border:         1px solid rgba(0,0,0,0.1);
  --border-gold:    1px solid var(--gold);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface-bg);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.9rem; font-family: var(--font-body); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

p { margin-bottom: 1em; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface-header);
  border-bottom: 1px solid rgba(201, 168, 76, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 2rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
}

.site-logo a,
.site-logo span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.logo-mark {
  width: 34px;
  height: 34px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.01em;
}

.logo-tagline {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}

/* Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 0.4rem 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}

.primary-nav a:hover,
.primary-nav a.current-menu-item {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-search-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}

.header-search-btn:hover {
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}

.header-search-btn svg { width: 16px; height: 16px; }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-fast) var(--ease);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-section {
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  height: clamp(480px, 70vh, 720px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease);
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s var(--ease);
}

.hero-slide.active .hero-slide-image {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 13, 15, 0.92) 0%,
    rgba(13, 13, 15, 0.5) 45%,
    rgba(13, 13, 15, 0.1) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
}

.hero-slide-content {
  max-width: 680px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur-slow) var(--ease);
  transition-delay: 120ms;
}

.hero-slide.active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-category-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.hero-slide-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.hero-slide-title a {
  color: inherit;
  transition: color var(--dur-fast) var(--ease);
}

.hero-slide-title a:hover { color: var(--gold-light); }

.hero-slide-excerpt {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-slide-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-author-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  object-fit: cover;
}

.hero-author-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.hero-meta-sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

.hero-date,
.hero-reading-time {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 400;
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  right: clamp(2rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 10;
}

.hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.hero-dot.active {
  background: var(--gold);
  transform: scale(1.4);
}

.hero-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin-left: 0.75rem;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  backdrop-filter: blur(8px);
}

.hero-arrow:hover {
  background: rgba(201,168,76,0.25);
  border-color: var(--gold);
}

.hero-arrow svg { width: 14px; height: 14px; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.blog-section-header {
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  border-radius: 1px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-primary);
}

/* ============================================================
   CATEGORY FILTERS
   ============================================================ */
.filters-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: var(--border);
  flex-wrap: wrap;
}

.filter-pills {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 0.38rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--smoke-dark);
  background: transparent;
  transition: all var(--dur-fast) var(--ease);
  white-space: nowrap;
}

.filter-pill:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.filter-pill.active {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-control label {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.sort-select {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  border: 1px solid var(--smoke-dark);
  border-radius: 4px;
  padding: 0.35rem 2rem 0.35rem 0.65rem;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%234A4A55' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
  appearance: none;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}

.sort-select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

/* ============================================================
   BLOG GRID
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

/* ============================================================
   BLOG CARD
   ============================================================ */
.blog-card {
  background: var(--surface-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
}

.card-image-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--smoke);
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

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

.card-category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.22rem 0.6rem;
  border-radius: 2px;
}

.card-body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  flex: 1;
}

.card-title a {
  color: inherit;
  transition: color var(--dur-fast) var(--ease);
}

.card-title a:hover { color: var(--gold-dark); }

.card-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-top: 0.9rem;
  border-top: var(--border);
}

.card-author-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.card-author-name {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-date,
.card-reading-time {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.card-meta-dot {
  width: 2px; height: 2px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}

/* No image card variant */
.blog-card.no-image .card-body {
  padding-top: 1.5rem;
}

/* ============================================================
   FEATURED CARD (first card - larger)
   ============================================================ */
.blog-card.featured-card {
  grid-column: 1 / 3;
  flex-direction: row;
}

.blog-card.featured-card .card-image-wrapper {
  aspect-ratio: auto;
  width: 55%;
  flex-shrink: 0;
}

.blog-card.featured-card .card-body {
  padding: 2rem;
}

.blog-card.featured-card .card-title {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.blog-card.featured-card .card-excerpt {
  -webkit-line-clamp: 3;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: var(--border);
  background: var(--white);
  transition: all var(--dur-fast) var(--ease);
}

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

/* ============================================================
   SINGLE POST
   ============================================================ */
.single-post-hero {
  height: clamp(320px, 45vh, 520px);
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.single-post-hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.single-post-hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 5vw, 4rem);
  background: linear-gradient(to top, rgba(13,13,15,0.85) 0%, transparent 60%);
}

.single-post-hero-content .post-category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.single-post-hero-content h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  max-width: 780px;
}

.post-article {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1rem, 5vw, 2rem);
}

.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--smoke-dark);
  flex-wrap: wrap;
}

.post-author-block {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.post-author-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

.post-author-name {
  font-weight: 600;
  font-size: 0.88rem;
}

.post-meta-item {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #1C1C22;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  margin-top: 2em;
  margin-bottom: 0.6em;
}

.post-content p { margin-bottom: 1.5em; }
.post-content a { color: var(--gold-dark); text-decoration: underline; }
.post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--smoke);
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--surface-footer);
  color: rgba(255,255,255,0.55);
  margin-top: clamp(3rem, 6vw, 5rem);
}

.footer-top {
  padding: clamp(3rem, 6vw, 5rem) 0 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-tagline { color: var(--gold); }

.footer-about {
  font-size: 0.84rem;
  line-height: 1.65;
  margin-top: 1rem;
  color: rgba(255,255,255,0.45);
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--dur-fast) var(--ease);
}

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

.footer-bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copyright {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.3);
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-legal-links a {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  transition: color var(--dur-fast) var(--ease);
}

.footer-legal-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,13,15,0.96);
  z-index: 999;
  display: flex;
  align-items: flex-start;
  padding-top: 10vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-inner {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.search-form-wrap {
  position: relative;
  border-bottom: 2px solid var(--gold);
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--white);
  padding: 0.75rem 3rem 0.75rem 0;
  caret-color: var(--gold);
}

.search-input::placeholder { color: rgba(255,255,255,0.25); }

.search-close {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 1.5rem;
  line-height: 1;
  transition: color var(--dur-fast) var(--ease);
}

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

.search-hint {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1rem;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transform: translateX(-100%);
  transition: transform var(--dur-med) var(--ease);
}

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

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2.5rem;
}

.mobile-nav-close {
  color: rgba(255,255,255,0.6);
  font-size: 1.6rem;
  line-height: 1;
}

.mobile-nav-links {
  flex: 1;
}

.mobile-nav-links a {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--dur-fast) var(--ease);
}

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

/* ============================================================
   NO POSTS
   ============================================================ */
.no-posts {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
}

.no-posts-icon {
  width: 64px; height: 64px;
  margin-inline: auto;
  color: var(--smoke-dark);
  margin-bottom: 1rem;
}

.no-posts h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.no-posts p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================================
   ADMIN BAR ADJUSTMENT
   ============================================================ */
.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-card.featured-card {
    grid-column: 1 / -1;
    flex-direction: column;
  }

  .blog-card.featured-card .card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .primary-nav { display: none; }
  .menu-toggle { display: flex; }

  .hero-slider { height: clamp(380px, 60vh, 520px); }

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

  .blog-card.featured-card {
    grid-column: 1;
    flex-direction: column;
  }

  .filters-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-slide-overlay {
    padding: 1.25rem;
  }

  .hero-controls {
    right: 1.25rem;
    bottom: 1.25rem;
  }
}
