/* ==========================================================================
   natur-seile.de - Main CSS Design System
   Complete styles for the WordPress theme
   ========================================================================== */

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --bg: #fafaf9;
  --bg-alt: #f0efeb;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-muted: #9a9a94;
  --accent: #2d6a4f;
  --accent-light: #d8f3dc;
  --accent-hover: #1b4332;
  --accent-subtle: #e8f5e9;
  --border: #e5e5e0;
  --card: #ffffff;
  --radius: 1.25rem;
  --radius-sm: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 50px -15px rgba(0,0,0,0.08);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Lora', serif;
  --font-ui: 'Outfit', sans-serif;
  --max-width: 1400px;
  --article-width: 720px;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   2. BASE / RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Force theme fonts over WordPress global-styles / classic-theme-styles */
body,
body p,
body li,
body td,
body th,
body dd,
body blockquote,
body figcaption {
  font-family: var(--font-body);
}

body h1, body h2, body h3, body h4, body h5, body h6,
body .nav-links a,
body .nav-logo span,
body .hero-title,
body .hero-badge,
body .hero-btn-primary,
body .hero-btn-secondary,
body .nav-cta,
body button,
body input,
body select,
body textarea,
body .category-pill,
body .cookie-btn,
body .mobile-menu a {
  font-family: var(--font-heading);
}

/* ==========================================================================
   3. ANIMATIONS (@keyframes)
   ========================================================================== */

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

@keyframes highlightDraw {
  from { background-size: 0% 40%; }
  to { background-size: 100% 40%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

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

/* ==========================================================================
   4. SCROLL ANIMATION CLASSES
   ========================================================================== */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.highlight-word {
  background: linear-gradient(120deg, var(--accent-light) 0%, var(--accent-light) 100%);
  background-repeat: no-repeat;
  background-size: 0% 40%;
  background-position: 0 90%;
  padding: 0 4px;
}

.highlight-word.animate {
  animation: highlightDraw 0.8s ease forwards;
}

.stagger-1 { transition-delay: 0.05s; }
.stagger-2 { transition-delay: 0.1s; }
.stagger-3 { transition-delay: 0.15s; }
.stagger-4 { transition-delay: 0.2s; }
.stagger-5 { transition-delay: 0.25s; }
.stagger-6 { transition-delay: 0.3s; }
.stagger-7 { transition-delay: 0.35s; }
.stagger-8 { transition-delay: 0.4s; }

/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  color: white;
}

.nav-logo span {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

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

.nav-links a.active {
  color: var(--accent);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-search {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.nav-search:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

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

.nav-cta {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border: none;
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0) scale(0.98);
}

/* Mobile Toggle */
.nav-mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-mobile-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  padding: 2rem;
  z-index: 99;
  animation: slideUp 0.3s ease;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.mobile-menu a:hover {
  color: var(--accent);
}

.mobile-menu-cta {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  padding: 0.875rem 2rem;
  border-radius: 100px;
  text-decoration: none;
}

/* ==========================================================================
   6. HERO SECTION (Split Screen)
   ========================================================================== */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: center;
  min-height: min(75vh, 620px);
  overflow: hidden;
}

.hero-text {
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease both;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-btn-primary {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  color: white;
  background: var(--accent);
  border: none;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45,106,79,0.2);
}

.hero-btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.hero-btn-primary svg {
  width: 16px;
  height: 16px;
}

.hero-btn-secondary {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.hero-btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Hero Image */
.hero-image-wrap {
  position: relative;
  animation: fadeInUp 0.6s ease 0.15s both;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 2rem;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Cards */
.hero-image-float-card {
  position: absolute;
  bottom: -1rem;
  left: 0;
  background: var(--card);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
}

.hero-float-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.hero-float-icon svg {
  width: 18px;
  height: 18px;
}

.hero-float-text {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.hero-float-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
}

.hero-image-float-card-2 {
  position: absolute;
  top: 1rem;
  right: 0;
  background: var(--card);
  border-radius: 100px;
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  animation: float 4s ease-in-out 1s infinite;
}

.hero-float-2-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse-dot 2s ease infinite;
}

.hero-float-2-text {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

/* ==========================================================================
   7. MARQUEE SECTION
   ========================================================================== */

.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 1rem 0;
  background: var(--card);
  margin-top: 3rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0 2rem;
  white-space: nowrap;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.marquee-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.marquee-separator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
}

/* ==========================================================================
   8. TRUST BAR
   ========================================================================== */

.trust-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  transition: all var(--transition);
}

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

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-label {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.trust-label strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
}

/* ==========================================================================
   9. BLOG SECTION
   ========================================================================== */

.blog-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

/* Blog Header */
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}

.blog-header-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.blog-header-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 45ch;
  margin-top: 0.375rem;
}

/* Category Filter */
.category-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.category-pill {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.125rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.category-pill.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.category-pill:active {
  transform: scale(0.97);
}

/* Sort Select */
.sort-select {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
}

/* ==========================================================================
   10. FEATURED POST CARD
   ========================================================================== */

.featured-post {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--card);
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 2.5rem;
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
}

.featured-post::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 1.75rem;
  padding: 1px;
  background: linear-gradient(135deg, transparent 40%, var(--accent-light) 50%, transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-post:hover::before {
  opacity: 1;
}

.featured-post:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.featured-post:active {
  transform: translateY(-1px) scale(0.998);
}

.featured-post-img {
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.featured-post-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.featured-post-body {
  padding: 2.5rem 2.5rem 2.5rem 0;
}

.featured-label {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.featured-label-line {
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.featured-post-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.featured-post-excerpt {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 48ch;
  margin-bottom: 1.5rem;
}

.featured-post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

.featured-post-author-name {
  font-weight: 600;
  color: var(--text);
}

/* Team Avatar (shared) */
.team-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.team-avatar svg {
  width: 16px;
  height: 16px;
  color: white;
}

.team-avatar--sm {
  width: 28px;
  height: 28px;
}

.team-avatar--sm svg {
  width: 14px;
  height: 14px;
}

/* Meta Dot (shared) */
.meta-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--text-muted);
}

/* ==========================================================================
   11. POST CARD GRID (Uniform 2-col with Spotlight Border)
   ========================================================================== */

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Spotlight border effect */
.post-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(45,106,79,0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.post-card:hover::before {
  opacity: 1;
}

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

.post-card:active {
  transform: translateY(-1px) scale(0.995);
}

/* Post Card Image */
.post-card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.post-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.post-card-category {
  position: absolute;
  top: 0.875rem;
  left: 0.875rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  background: rgba(45,106,79,0.9);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
}

.post-card-reading-time {
  position: absolute;
  top: 0.875rem;
  right: 0.875rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  background: rgba(26,26,26,0.6);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.625rem;
  border-radius: 100px;
}

/* Shimmer effect on image */
.post-card-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: none;
  pointer-events: none;
}

.post-card:hover .post-card-img-wrap::after {
  animation: shine 0.8s ease forwards;
}

/* Post Card Body */
.post-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 0.625rem;
  transition: color var(--transition);
}

.post-card:hover .post-card-title {
  color: var(--accent);
}

.post-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  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: 1rem;
  border-top: 1px solid var(--border);
}

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

.post-card-author-name {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
}

.post-card-date {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Load More */
.load-more-wrap {
  text-align: center;
  margin-top: 3rem;
}

.load-more-btn {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  border: 2px solid var(--accent);
  padding: 0.875rem 2.5rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}

.load-more-btn:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

.load-more-btn:active {
  transform: translateY(0) scale(0.98);
}

/* ==========================================================================
   12. TOPIC CARDS (Horizontal Scroll)
   ========================================================================== */

.topics-section {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}

.topics-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.topics-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.topics-header p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.375rem;
}

.topics-scroll {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 2rem 1.5rem;
  scrollbar-width: none;
}

.topics-scroll::-webkit-scrollbar {
  display: none;
}

.topic-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition);
  position: relative;
}

.topic-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.topic-card-img {
  height: 160px;
  overflow: hidden;
}

.topic-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.topic-card:hover .topic-card-img img {
  transform: scale(1.06);
}

.topic-card-body {
  padding: 1.25rem;
}

.topic-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.topic-card-count {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   13. NEWSLETTER SECTION
   ========================================================================== */

.newsletter-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.newsletter-card {
  background: var(--accent);
  border-radius: 2rem;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -25%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.newsletter-card::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -15%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.newsletter-text {
  position: relative;
  z-index: 1;
}

.newsletter-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.newsletter-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  max-width: 40ch;
}

.newsletter-form {
  position: relative;
  z-index: 1;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  padding: 1rem 1.25rem;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  outline: none;
  transition: all var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter-input:focus {
  border-color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
}

.newsletter-btn {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 1rem 1.75rem;
  border-radius: 100px;
  border: none;
  background: white;
  color: var(--accent);
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.newsletter-btn:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.newsletter-btn:active {
  transform: translateY(0) scale(0.98);
}

.newsletter-disclaimer {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.75rem;
  padding-left: 0.5rem;
}

/* Newsletter: Honeypot (visually + SR hidden) */
.ns-hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* Newsletter: DSGVO Consent Checkbox */
.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  line-height: 1.4;
}

.newsletter-consent input[type="checkbox"] {
  flex-shrink: 0;
  margin-top: 0.15rem;
  width: 16px;
  height: 16px;
  accent-color: white;
  cursor: pointer;
}

.newsletter-consent a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
}

.newsletter-consent a:hover {
  color: white;
}

/* Newsletter: Success / Error Messages */
.newsletter-message {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.newsletter-message--success {
  background: rgba(255,255,255,0.15);
  color: #d4edda;
  border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-message--error {
  background: rgba(192,57,43,0.2);
  color: #f8d7da;
  border: 1px solid rgba(192,57,43,0.3);
}

/* Newsletter: Button loading state */
.newsletter-btn:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.footer {
  background: var(--card);
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-top: 1rem;
  max-width: 32ch;
  line-height: 1.6;
}

.footer-trust-badges {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.footer-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg);
  padding: 0.375rem 0.625rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.footer-badge svg {
  width: 12px;
  height: 12px;
  color: var(--accent);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ==========================================================================
   15. COOKIE BANNER — styles in assets/css/cookie-banner.css
   ========================================================================== */

/* ==========================================================================
   16. BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   17. ARTICLE / SINGLE POST STYLES
   ========================================================================== */

/* Reading Progress Bar */
.reading-progress {
  position: fixed;
  top: 72px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 99;
  transition: width 0.1s linear;
}

/* Breadcrumb */
.breadcrumb {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Article Header */
.article-header {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.article-header-inner {
  max-width: 900px;
}

.article-category {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-subtle);
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease both;
}

.article-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.article-excerpt {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 60ch;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease 0.15s both;
}

/* Article Meta */
.article-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  animation: fadeInUp 0.6s ease 0.2s both;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Article-specific team avatar (40px) */
.article-author .team-avatar {
  width: 40px;
  height: 40px;
}

.article-author .team-avatar svg {
  width: 18px;
  height: 18px;
}

.article-author-info {
  display: flex;
  flex-direction: column;
}

.article-author-name {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.article-author-role {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 500;
}

.article-meta-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Share Bar */
.article-share-bar {
  margin-left: auto;
  display: flex;
  gap: 0.5rem;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.share-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.share-btn svg {
  width: 14px;
  height: 14px;
}

/* Article Hero Image */
.article-hero-img {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 0.75rem;
}

.article-hero-img img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  animation: fadeInUp 0.6s ease 0.25s both;
}

.article-hero-caption {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

/* ==========================================================================
   18. ARTICLE LAYOUT (Grid with Sidebar)
   ========================================================================== */

.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

/* Article Body Typography */
.article-body {
  max-width: var(--article-width);
}

.article-body h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  line-height: 1.25;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.article-body p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1.5rem;
  max-width: 65ch;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.5rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent-light);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--transition);
}

.article-body a:hover {
  text-decoration-color: var(--accent);
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--accent-hover);
}

.article-body blockquote p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* Info Box */
.info-box {
  background: var(--card);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.info-box-icon svg {
  width: 18px;
  height: 18px;
}

.info-box-label {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.375rem;
}

.info-box p {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}

/* Disclaimer */
.article-disclaimer {
  max-width: var(--article-width);
  margin: 0 0 2rem;
  padding: 1rem 1.25rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Sources */
.article-sources {
  max-width: var(--article-width);
  margin: 0 0 3rem;
  padding: 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.article-sources h3 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.article-sources ol {
  margin-left: 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   19. SIDEBAR STYLES
   ========================================================================== */

.article-sidebar {
  position: sticky;
  top: 100px;
}

/* About Card */
.sidebar-about {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-about-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.sidebar-about h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-about p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.sidebar-about-link {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  transition: gap var(--transition);
}

.sidebar-about-link:hover {
  gap: 0.625rem;
}

.sidebar-about-link svg {
  width: 14px;
  height: 14px;
}

/* Table of Contents */
.sidebar-toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sidebar-toc h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.sidebar-toc ul {
  list-style: none;
}

.sidebar-toc li {
  margin-bottom: 0.5rem;
  padding-left: 0.875rem;
  position: relative;
}

.sidebar-toc li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

.sidebar-toc a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.sidebar-toc a:hover {
  color: var(--accent);
}

/* Trust Sidebar */
.sidebar-trust {
  background: var(--accent-subtle);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.sidebar-trust h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-hover);
  margin-bottom: 0.75rem;
}

.sidebar-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: var(--accent-hover);
  margin-bottom: 0.5rem;
}

.sidebar-trust-item:last-child {
  margin-bottom: 0;
}

.sidebar-trust-item svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ==========================================================================
   20. RELATED POSTS GRID
   ========================================================================== */

.related-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  border-top: 1px solid var(--border);
  padding-top: 4rem;
}

.related-header {
  margin-bottom: 2rem;
}

.related-header h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.related-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.375rem;
}

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

.related-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
}

.related-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  padding: 1px;
  background: radial-gradient(400px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(45,106,79,0.25), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.related-card:hover::before {
  opacity: 1;
}

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

.related-card:active {
  transform: translateY(-1px) scale(0.995);
}

.related-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

.related-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.related-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  pointer-events: none;
}

.related-card:hover .related-card-img::after {
  animation: shine 0.8s ease forwards;
}

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

.related-card-category {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.related-card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.related-card:hover .related-card-title {
  color: var(--accent);
}

.related-card-meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: auto;
}

/* ==========================================================================
   22. BREADCRUMB (standalone section)
   ========================================================================== */

/* Already defined in article section above */

/* ==========================================================================
   23. 404 PAGE STYLES
   ========================================================================== */

.error-404 {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem;
  text-align: center;
}

.error-404-code {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--border);
  margin-bottom: 1.5rem;
}

.error-404 h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 45ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.error-404-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.error-404-actions .hero-btn-primary,
.error-404-actions .hero-btn-secondary {
  display: inline-flex;
}

/* ==========================================================================
   24. SEARCH OVERLAY
   ========================================================================== */

/* ==========================================================================
   SEARCH OVERLAY — MINIMAL WHITE DESIGN
   ========================================================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  display: none;
  flex-direction: column;
  align-items: center;
  padding-top: 10vh;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

@keyframes searchFadeIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.search-overlay-inner {
  width: 100%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
}

.search-overlay-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border-bottom: 2px solid #1a1a1a;
  padding: 0.25rem 0 0.75rem;
  position: relative;
  box-shadow: none;
  border-radius: 0;
}

.search-overlay-form::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E") no-repeat center / contain;
}

.search-overlay-input {
  flex: 1;
  min-width: 0;
  font-family: var(--font-heading, 'Lora', serif);
  font-size: 1.5rem;
  line-height: 1.3;
  border: none;
  background: transparent;
  color: #1a1a1a;
  outline: none;
  padding: 0.5rem 0;
  -webkit-appearance: none;
  appearance: none;
  font-weight: 500;
}

.search-overlay-input::-webkit-search-decoration,
.search-overlay-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.search-overlay-input::placeholder {
  color: #b0b0b0;
  font-weight: 400;
  font-style: italic;
}

.search-overlay-close {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  background: transparent;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-ui, 'Outfit', sans-serif);
}

.search-overlay-close:hover,
.search-overlay-close:focus-visible {
  background: #1a1a1a;
  border-color: #1a1a1a;
  outline: none;
}

.search-overlay-close:hover kbd,
.search-overlay-close:focus-visible kbd {
  color: #ffffff;
}

.search-overlay-close kbd {
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 0.7rem;
  font-weight: 600;
  color: #6b6b6b;
  background: transparent;
  border: none;
  padding: 0;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

/* Results container — clean, no box-shadow, no card */
.search-results {
  margin-top: 1.25rem;
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  max-height: min(60vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.search-result-count {
  padding: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #2d5016;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: transparent;
  border-bottom: none;
}

.search-result-item {
  transition: transform 0.15s ease;
}

.search-result-item + .search-result-item {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.search-result-item--active,
.search-result-item:hover {
  background: transparent;
  transform: translateX(4px);
}

.search-result-item--active .search-result-title,
.search-result-item:hover .search-result-title {
  color: #2d5016;
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 0;
  text-decoration: none;
  color: inherit;
}

.search-result-thumb,
.search-result-thumb--empty {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f0f5eb;
}

.search-result-thumb--empty {
  background: linear-gradient(135deg, #e5f3d9 0%, #c4e6a1 100%);
  position: relative;
}

.search-result-thumb--empty::after {
  content: '';
  position: absolute;
  inset: 50% 50% auto auto;
  transform: translate(50%, -50%);
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d5016' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 8C8 10 5.9 16.17 3.82 21.34l1.89.66.95-2.3c.48.17.98.3 1.34.3C19 20 22 3 22 3c-1 2-8 2.25-13 3.25S2 11.5 2 13.5s1.75 3.75 1.75 3.75'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.5;
}

.search-result-text {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-family: var(--font-heading, 'Lora', serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.35;
  color: #1a1a1a;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.search-result-excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin-top: 0.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Loading + no-results states */
.search-loading,
.search-no-results {
  padding: 1.75rem 1.25rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
  font-weight: 500;
}

.search-loading {
  position: relative;
}

.search-loading::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-left: 0.5rem;
  vertical-align: middle;
  border: 2px solid #d1d5db;
  border-top-color: #2d5016;
  border-radius: 50%;
  animation: searchSpin 0.7s linear infinite;
}

@keyframes searchSpin {
  to { transform: rotate(360deg); }
}

/* Fallback: popular categories + recent posts */
.search-fallback-section {
  padding: 1rem 1.25rem;
  border-top: 1px solid #f3f4f6;
}

.search-fallback-section:first-of-type {
  border-top: none;
}

.search-fallback-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #2d5016;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}

.search-fallback-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.search-fallback-pill {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: #f0f5eb;
  color: #2d5016;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.search-fallback-pill:hover,
.search-fallback-pill:focus-visible {
  background: #2d5016;
  color: #ffffff;
  outline: none;
}

@media (max-width: 640px) {
  .search-overlay {
    padding-top: 5vh;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .search-overlay-input {
    font-size: 1rem;
  }

  .search-result-thumb,
  .search-result-thumb--empty {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .search-overlay.active { animation: none; }
  .search-loading::after { animation: none; }
}

/* ==========================================================================
   25. PAGINATION STYLES
   ========================================================================== */

.pagination-wrap {
  text-align: center;
  margin-top: 3rem;
}

.pagination-wrap .nav-links {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.pagination-wrap .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--transition);
}

.pagination-wrap .page-numbers:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination-wrap .page-numbers.current {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.pagination-wrap .page-numbers.dots {
  border: none;
  background: transparent;
  pointer-events: none;
}

.pagination-wrap .page-numbers.prev,
.pagination-wrap .page-numbers.next {
  width: auto;
  padding: 0 1rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.82rem;
}

.pagination-wrap .page-numbers.prev:hover,
.pagination-wrap .page-numbers.next:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ==========================================================================
   26. WORDPRESS-SPECIFIC OVERRIDES
   ========================================================================== */

/* No Posts Empty State */
.no-posts {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
}

.no-posts h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.no-posts p {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 45ch;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

/* Page Layout (Single column, no sidebar) */
.article-layout--page {
  grid-template-columns: 1fr;
  max-width: 900px;
}

.article-layout--page .article-body {
  max-width: 100%;
}

/* WordPress Image Alignment */
.alignleft {
  float: left;
  margin: 0.5rem 1.5rem 1rem 0;
  max-width: 50%;
}

.alignright {
  float: right;
  margin: 0.5rem 0 1rem 1.5rem;
  max-width: 50%;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

.alignwide {
  max-width: calc(var(--max-width) - 4rem);
  width: calc(100% + 4rem);
  margin-left: -2rem;
  margin-right: -2rem;
}

.alignfull {
  max-width: 100%;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* WordPress Caption */
.wp-caption {
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.wp-caption img {
  display: block;
  width: 100%;
  border-radius: var(--radius-sm);
}

.wp-caption-text {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  padding: 0 0.5rem;
}

/* WordPress Gallery */
.wp-block-gallery,
.gallery {
  display: grid;
  gap: 0.75rem;
  margin: 2rem 0;
}

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

.wp-block-gallery.columns-3,
.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.wp-block-gallery.columns-4,
.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.wp-block-gallery .wp-block-image,
.gallery-item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.wp-block-gallery .wp-block-image img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}

.gallery-caption {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem;
}

/* WordPress Block Editor Styles */
.wp-block-image {
  margin: 2rem 0;
}

.wp-block-image img {
  border-radius: var(--radius-sm);
}

.wp-block-image figcaption {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.wp-block-quote {
  border-left: 3px solid var(--accent);
  background: var(--accent-subtle);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--accent-hover);
}

.wp-block-quote p {
  margin-bottom: 0;
  font-size: 1rem;
}

.wp-block-quote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.wp-block-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.wp-block-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.wp-block-table th,
.wp-block-table td {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  text-align: left;
}

.wp-block-table th {
  background: var(--bg-alt);
  font-weight: 600;
  color: var(--text);
}

.wp-block-table td {
  color: var(--text-secondary);
}

.wp-block-code {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.wp-block-code code {
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
}

.wp-block-preformatted {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: 'SF Mono', 'Fira Code', monospace;
  font-size: 0.88rem;
  overflow-x: auto;
}

.wp-block-pullquote {
  border-top: 3px solid var(--accent);
  border-bottom: 3px solid var(--accent);
  margin: 2.5rem 0;
  padding: 2rem 1.5rem;
  text-align: center;
}

.wp-block-pullquote p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
}

.wp-block-pullquote cite {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-style: normal;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0;
}

.wp-block-button .wp-block-button__link {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: 100px;
  text-decoration: none;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--accent);
  color: white;
  border: none;
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--accent);
  color: white;
}

.wp-block-embed {
  margin: 2rem 0;
}

.wp-block-embed .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.wp-block-embed .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* WordPress List Styles */
.wp-block-list {
  margin: 0 0 1.5rem 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: #333;
}

.wp-block-list li {
  margin-bottom: 0.5rem;
}

/* Screen reader text for accessibility */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: var(--card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  clip: auto !important;
  color: var(--accent);
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 1rem 1.5rem;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* ==========================================================================
   27. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* ---- Tablet / Small Desktop (max-width: 1024px) ---- */
@media (max-width: 1024px) {
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 2rem 2rem 0;
    gap: 2rem;
  }
  .hero-text {
    max-width: none;
  }
  .hero-image-float-card {
    left: 1rem;
    bottom: -0.5rem;
  }
  .hero-image-float-card-2 {
    right: 1rem;
  }

  /* Trust Bar */
  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Featured Post */
  .featured-post {
    grid-template-columns: 1fr;
  }
  .featured-post-img {
    min-height: 280px;
  }
  .featured-post-body {
    padding: 2rem;
  }

  /* Article Layout */
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

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

  /* Newsletter */
  .newsletter-card {
    grid-template-columns: 1fr;
    padding: 3rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---- Mobile (max-width: 768px) ---- */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex;
  }
  .nav-inner {
    padding: 0 1rem;
  }

  /* Hero */
  .hero {
    padding: 1.5rem 1rem 0;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hero-image-float-card {
    display: none;
  }
  .hero-image-float-card-2 {
    display: none;
  }

  /* Trust Bar */
  .trust-bar {
    padding: 2rem 1rem;
  }
  .trust-bar-inner {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .trust-item {
    padding: 1rem;
  }

  /* Blog Section */
  .blog-section {
    padding: 2rem 1rem 3rem;
  }
  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .category-filter {
    gap: 0.375rem;
  }
  .category-pill {
    font-size: 0.75rem;
    padding: 0.4rem 0.875rem;
  }
  .post-grid {
    grid-template-columns: 1fr;
  }

  /* Topics */
  .topics-section {
    padding: 2.5rem 0;
  }
  .topics-header {
    padding: 0 1rem 1.5rem;
  }
  .topics-scroll {
    padding: 0.5rem 1rem 1rem;
    gap: 1rem;
  }
  .topic-card {
    flex: 0 0 240px;
  }

  /* Breadcrumb */
  .breadcrumb {
    padding: 1rem;
  }

  /* Article */
  .article-header {
    padding: 0 1rem 1.5rem;
  }
  .article-title {
    font-size: 1.75rem;
  }
  .article-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .article-share-bar {
    margin-left: 0;
  }
  .article-hero-img {
    padding: 0 1rem 0.75rem;
  }
  .article-hero-caption {
    padding: 0 1rem;
  }
  .article-layout {
    padding: 0 1rem 3rem;
  }
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  /* Related */
  .related-section {
    padding: 2.5rem 1rem 3rem;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }

  /* Newsletter */
  .newsletter-section {
    padding: 0 1rem 3rem;
  }
  .newsletter-card {
    padding: 2rem;
    border-radius: 1.25rem;
  }
  .newsletter-input-group {
    flex-direction: column;
  }
  .newsletter-btn {
    width: 100%;
  }

  /* Footer */
  .footer-inner {
    padding: 2.5rem 1rem 1.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Cookie Banner */
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem 1rem;
    text-align: center;
  }

  /* Back to Top */
  .back-to-top {
    bottom: 5rem;
    right: 1rem;
  }

  /* 404 */
  .error-404 {
    padding: 4rem 1rem;
  }
  .error-404-actions {
    flex-direction: column;
  }

  /* Search Overlay */
  .search-overlay {
    padding-top: 5vh;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .search-overlay-form {
    max-width: 100%;
  }

  /* Pagination */
  .pagination-wrap .page-numbers {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }
}

/* ---- Small Mobile (max-width: 480px) ---- */
@media (max-width: 480px) {
  .trust-bar-inner {
    grid-template-columns: 1fr;
  }

  .featured-post-title {
    font-size: 1.35rem;
  }

  .post-card-body {
    padding: 1rem 1.25rem 1.25rem;
  }

  .newsletter-card {
    padding: 1.5rem;
  }

  .error-404-code {
    font-size: 5rem;
  }

  .cookie-actions {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  /* Gallery responsive */
  .wp-block-gallery.columns-3,
  .gallery-columns-3,
  .wp-block-gallery.columns-4,
  .gallery-columns-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================================================
   ACCESSIBILITY: Skip to Content
   ================================================================ */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* ================================================================
   AUDIT 06-01 (2026-04-10): outline:none / outline:0 Fundstellen
   ----------------------------------------------------------------
   grep -En "outline:\s*(none|0)" assets/css/main.css assets/css/admin.css
   -> main.css:1337   .newsletter-input      (FIXED below: focus-visible)
   -> main.css:2370   .search-overlay-input  (FIXED below: focus-visible)
   -> admin.css:51    .natur-seile-seo-field (FIXED in admin.css)
   -> admin.css:174   .natur-seile-seo-image-field input (FIXED in admin.css)
   Kontrast: --accent #2d6a4f auf weiss = 6.8:1 (>> 3:1 WCAG AA).
   Newsletter-Input sitzt auf dunklem Gradient -> heller Outline rgba(255,255,255,0.85).
   ================================================================ */
/* ================================================================
   ACCESSIBILITY: Focus Styles
   ================================================================ */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.nav-search:focus-visible,
.share-btn:focus-visible,
.back-to-top:focus-visible,
.cookie-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.15);
}

.post-card:focus-visible,
.related-card:focus-visible,
.featured-post:focus-visible,
.topic-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  box-shadow: var(--shadow-lg);
}

.category-pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Gap 06-01: .newsletter-input hat outline:none auf dunklem Gradient-Hintergrund */
.newsletter-input:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
}

/* Gap 06-01: .search-overlay-input hat outline:none auf weissem Overlay */
.search-overlay-input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(45, 106, 79, 0.15);
}

/* ================================================================
   AUDIT 06-01 (2026-04-10): Animation Coverage
   ----------------------------------------------------------------
   @keyframes: fadeInUp, highlightDraw, float, marquee, pulse-dot, shine, slideUp

   Looping / continuous (muessen explizit unterdrueckt werden):
     float                -> .hero-image-float-card, .hero-image-float-card-2  [ABGEDECKT]
     marquee              -> .marquee-track                                     [ABGEDECKT]
     pulse-dot            -> .hero-badge-dot (+ defensiv Wildcard)              [ERGAENZT]
     shine                -> .post-card::before, .featured-post::before (hover) [NEU]
     highlightDraw        -> .highlight-word (one-shot, global 0.01ms reicht)   [ABGEDECKT]

   One-shot entrance (global animation-duration: 0.01ms !important reicht):
     fadeInUp, slideUp, highlightDraw, shine-on-hover

   scroll-behavior Kaskade: main.css:46 (smooth) -> main.css:3229 (auto !important)
   Reihenfolge korrekt, !important im RM-Block gewinnt.

   Neue explizite Overrides unten im Block eingefuegt (shine, pulse wildcard).
   ================================================================ */
/* ================================================================
   ACCESSIBILITY: Reduced Motion
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  .highlight-word {
    background-size: 100% 40%;
  }

  .marquee-track {
    animation: none;
  }

  .hero-image-float-card,
  .hero-image-float-card-2 {
    animation: none;
  }

  .hero-badge-dot {
    animation: none;
  }

  .post-card:hover .post-card-img-wrap img,
  .featured-post:hover .featured-post-img img,
  .related-card:hover .related-card-img img,
  .topic-card:hover .topic-card-img img {
    transform: none;
  }

  .reading-progress {
    transition: none;
  }

  /* Gap 06-01: shine hover effect auf Cards -- explizit deaktivieren */
  .post-card::before,
  .featured-post::before,
  .post-card:hover::before,
  .featured-post:hover::before {
    animation: none !important;
    opacity: 0 !important;
  }

  /* Gap 06-01: defensiver Wildcard-Fallback fuer residuale pulse-Selektoren */
  [class*="pulse"],
  [class*="-dot"] {
    animation: none !important;
  }
}

/* ================================================================
   AUDIT 06-01 (2026-04-10): Template Chrome Class Coverage
   ----------------------------------------------------------------
   Bestehende hide-list (Block unten): nav, mobile-menu, search-overlay,
     reading-progress, hero-image-float-card(-2), marquee-section, trust-bar,
     category-filter, blog-controls, topics-section, newsletter-section,
     cookie-banner, back-to-top, article-share-bar, sidebar-trust,
     load-more-wrap, skip-to-content, hero-actions, nav-cta

   Neu identifizierte chrome / dekorative Klassen (per Template-Scan):
     footer-trust-badges     (footer.php)   -- dekorative SSL/DSGVO Badges
     footer-cookie-settings  (footer.php)   -- Cookie-Settings Button
     cookie-modal-overlay    (footer.php)   -- Cookie-Modal Wrapper
     cookie-modal            (footer.php)   -- Modal-Container
     error-404-actions       (404.php)      -- 404 "Zur Startseite" Button
     related-section         (single.php)   -- verwandte Artikel (chrome)

   EXPLIZIT BEHALTEN (content-relevant, NICHT hiden):
     affiliate-disclosure   -- UWG-Werbehinweis muss auch im Print erkennbar bleiben
     article-updated-badge  -- SEO-04 "Zuletzt aktualisiert" bleibt als Kontext
     article-disclaimer     -- inhaltlicher Disclaimer, Teil des Artikels
     breadcrumb             -- nuetzliche Navigation fuer Print-Leser

   Verifikation: alle Klassen oberhalb existieren im HTML-Output
   (grep bestaetigt: footer.php, 404.php, single.php).
   ================================================================ */
/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
  .nav,
  .mobile-menu,
  .search-overlay,
  .reading-progress,
  .hero-image-float-card,
  .hero-image-float-card-2,
  .marquee-section,
  .trust-bar,
  .category-filter,
  .blog-controls,
  .topics-section,
  .newsletter-section,
  .cookie-banner,
  .back-to-top,
  .article-share-bar,
  .sidebar-trust,
  .load-more-wrap,
  .skip-to-content,
  .hero-actions,
  .nav-cta {
    display: none !important;
  }

  /* Gap 06-01: zusaetzliche dekorative Chrome-Klassen */
  .footer-trust-badges,
  .footer-cookie-settings,
  .cookie-modal-overlay,
  .cookie-modal,
  .error-404-actions,
  .related-section {
    display: none !important;
  }

  body {
    background: white;
    color: #1a1a1a;
    font-size: 12pt;
    line-height: 1.6;
  }

  .article-body {
    max-width: 100%;
  }

  .article-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-sidebar {
    position: static;
    border-top: 1px solid #ccc;
    padding-top: 1rem;
    margin-top: 2rem;
  }

  a {
    color: #1a1a1a;
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #666;
  }

  nav a[href]::after,
  .footer a[href]::after {
    content: none;
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  .post-card,
  .related-card,
  .featured-post {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }

  /* Explicit KEEP (content-relevant, NICHT hiden):
     .affiliate-disclosure   -- UWG Werbehinweis bleibt Pflicht
     .article-updated-badge  -- SEO-04 "Zuletzt aktualisiert"
     .article-disclaimer     -- inhaltlicher Disclaimer
     .breadcrumb             -- Seitenhierarchie fuer Print-Leser
     .article-hero-img / .article-hero-caption -- Artikelbild + Bildunterschrift */
}

/* ================================================================
   SEO-04: Zuletzt aktualisiert Indikator
   ================================================================ */
.article-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  padding: 0.35rem 0.75rem;
  background: var(--bg-alt, #f0efeb);
  border: 1px solid var(--border, #e5e5e0);
  border-radius: 999px;
  font-family: var(--font-ui, 'Outfit', sans-serif);
  font-size: 0.8rem;
  color: var(--text-muted, #9a9a94);
  line-height: 1.2;
  width: max-content;
  max-width: 100%;
}

.article-updated-badge svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--accent, #2d6a4f);
}

.article-updated-label {
  font-weight: 500;
}

.article-updated-date {
  color: var(--text, #1a1a1a);
  font-weight: 600;
}

@media (max-width: 640px) {
  .article-updated-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
}


/* ── Core Web Vitals: content-visibility (Phase 05-02) ── */
/* ==========================================================================
   PERF-04: content-visibility (Below-Fold Render-Skip)
   --------------------------------------------------------------------------
   Wendet CSS Containment L2 auf below-the-fold Sektionen an. Browser ueberspringt
   Layout/Paint/Style-Recalc fuer Container ausserhalb des Viewports. Feste
   contain-intrinsic-size Werte verhindern CLS — niemals 'auto' verwenden.
   Werte sind konservative Schaetzungen und koennen nach Lighthouse-Validierung
   nachjustiert werden.
   ========================================================================== */

.related-section {
  content-visibility: auto;
  contain-intrinsic-block-size: 800px;
}

.article-sidebar {
  content-visibility: auto;
  contain-intrinsic-block-size: 600px;
}

.footer {
  content-visibility: auto;
  contain-intrinsic-block-size: 300px;
}

/* ==========================================================================
   ARTICLE TABLE OF CONTENTS (SEO-02)
   ========================================================================== */

.article-toc {
  background: var(--accent-light, #f0f5eb);
  border-left: 4px solid var(--accent, #2d5016);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-ui, 'Outfit', sans-serif);
}

.article-toc-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.article-toc-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent, #2d5016);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.article-toc-list {
  list-style: decimal;
  margin: 0;
  padding-left: 1.5rem;
  color: var(--text, #1a1a1a);
}

.article-toc-list li {
  margin: 0.35rem 0;
  line-height: 1.4;
}

.article-toc-sub {
  list-style: lower-alpha;
  margin-left: 1rem;
  font-size: 0.9em;
  color: var(--text-muted, #555);
}

.article-toc-list a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition, 0.25s ease);
}

.article-toc-list a:hover,
.article-toc-list a:focus-visible {
  color: var(--accent, #2d5016);
  text-decoration: underline;
}

/* Smooth scroll for TOC anchors */
html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Scroll margin so anchored headings aren't hidden under sticky nav */
.article-body h2[id],
.article-body h3[id] {
  scroll-margin-top: 90px;
}
