/* =============================================================
   Wattbalkon — Editorial Landingpage CSS
   Styles all ed-* classes used in front-page.php, header.php, footer.php
   Light/Editorial design: Cream bg, Terracotta accent, Source Serif 4
   v1.0.0 — 2026-07-31
   ============================================================= */

/* === ROOT VARS (editorial) === */
body.editorial-body {
  --bg: #f8f6f1;
  --card: #ffffff;
  --border: #e6e0d6;
  --accent: #d4673a;
  --accent-soft: rgba(212,103,58,.06);
  --accent-mid: rgba(212,103,58,.12);
  --text: #1a1816;
  --text-2: #6a6660;
  --text-3: #9a9690;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 1120px;
  --content-w: 680px;
  --radius: 4px;
  /* Override Solar Pulse dark vars → editorial */
  --sp-amber: var(--accent);
  --sp-amber-light: var(--accent);
  --sp-amber-dark: var(--accent);
  --sp-amber-glow: var(--accent-soft);
  --sp-dark: var(--bg);
  --sp-dark-2: var(--card);
  --sp-dark-3: var(--card);
  --sp-surface: var(--card);
  --sp-text: var(--text);
  --sp-text-muted: var(--text-2);
  --sp-text-dim: var(--text-3);
  --sp-border: var(--border);
  --sp-radius: var(--radius);
  /* Override style.css dark vars (solar-dark-style) */
  --bg: var(--bg);
  --el: var(--card);
  --bd: var(--border);
  --bdh: var(--accent);
  --tx: var(--text);
  --t2: var(--text-2);
  --t3: var(--text-3);
  --ac: var(--accent);
  --acd: var(--accent-soft);
  --fb: var(--sans);
  --fh: var(--serif);
}

body.editorial-body {
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: 15px !important;
  line-height: 1.7 !important;
  margin: 0 !important;
  padding: 0 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

body.editorial-body h1,
body.editorial-body h2,
body.editorial-body h3,
body.editorial-body h4 {
  font-family: var(--serif) !important;
  color: var(--text) !important;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

body.editorial-body p {
  color: var(--text-2);
  margin: 0;
}

body.editorial-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s;
}
body.editorial-body a:hover {
  color: var(--text);
}

/* =====================================================
   NAVIGATION (ed-nav)
   ===================================================== */
body.editorial-body .ed-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,246,241,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

body.editorial-body .ed-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

body.editorial-body .ed-logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--text) !important;
  letter-spacing: -.02em;
}

body.editorial-body .ed-nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

body.editorial-body .ed-nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-2) !important;
  letter-spacing: .01em;
  transition: color .2s;
}

body.editorial-body .ed-nav-links a:hover {
  color: var(--accent) !important;
}

body.editorial-body .ed-hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

body.editorial-body .ed-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s;
}

body.editorial-body .ed-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
body.editorial-body .ed-hamburger.active span:nth-child(2) {
  opacity: 0;
}
body.editorial-body .ed-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
body.editorial-body .ed-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.3);
  z-index: 200;
  opacity: 0;
  transition: opacity .3s;
}
body.editorial-body .ed-mobile-overlay.active {
  display: block;
  opacity: 1;
}

body.editorial-body .ed-mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg);
  z-index: 201;
  padding: 24px;
  transition: right .3s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

body.editorial-body .ed-mobile-menu.active {
  right: 0;
}

body.editorial-body .ed-mobile-menu .mm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

body.editorial-body .ed-mobile-menu .mm-logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

body.editorial-body .ed-mobile-menu .mm-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-2);
  cursor: pointer;
  padding: 4px 12px;
}

body.editorial-body .ed-mobile-menu a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text) !important;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

/* =====================================================
   HERO SECTION (ed-hero)
   ===================================================== */
body.editorial-body .ed-hero {
  text-align: center;
  padding: 100px 24px 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}

body.editorial-body .ed-hero-content {
  max-width: 680px;
  margin: 0 auto;
}

body.editorial-body .ed-hero .kicker {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

body.editorial-body .ed-hero h1 {
  font-family: var(--serif) !important;
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 400 !important;
  line-height: 1.1 !important;
  color: var(--text) !important;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

body.editorial-body .ed-hero h1 em {
  font-style: italic;
  color: var(--accent);
}

body.editorial-body .ed-hero .sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-2);
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 32px;
}

body.editorial-body .ed-hero-cta {
  margin-top: 28px;
}

body.editorial-body .ed-hero-cta a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  transition: all .25s cubic-bezier(.4,0,.2,1);
}

body.editorial-body .ed-hero-cta a:hover {
  background: transparent;
  color: var(--accent) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,103,58,.12);
}

/* =====================================================
   WRAP (ed-wrap)
   ===================================================== */
body.editorial-body .ed-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* =====================================================
   FEATURED ARTICLE (ed-featured)
   ===================================================== */
body.editorial-body .ed-featured {
  text-align: center;
  padding: 48px 0;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

body.editorial-body .ed-featured .cat-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 20px;
}

body.editorial-body .ed-featured .drop-cap {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--accent);
  display: block;
  margin-bottom: 8px;
  line-height: 1;
}

body.editorial-body .ed-featured h2 {
  font-family: var(--serif) !important;
  font-size: clamp(1.4rem, 3vw, 2rem) !important;
  font-weight: 400 !important;
  margin-bottom: 12px;
}

body.editorial-body .ed-featured h2 a {
  color: var(--text) !important;
}

body.editorial-body .ed-featured h2 a:hover {
  color: var(--accent) !important;
}

body.editorial-body .ed-featured > p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 16px;
  line-height: 1.6;
}

body.editorial-body .ed-featured .meta {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* =====================================================
   SECTION HEAD (ed-section-head)
   ===================================================== */
body.editorial-body .ed-section-head {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text);
  margin: 48px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  scroll-margin-top: 80px;
}

/* =====================================================
   ARTICLE LIST (ed-article-list, ed-article-item)
   ===================================================== */
body.editorial-body .ed-article-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

body.editorial-body .ed-article-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s;
}

body.editorial-body .ed-article-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
}

body.editorial-body .ed-article-item .article-initial {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

body.editorical-body .ed-article-item h3 {
  font-family: var(--serif) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin-bottom: 8px;
}

body.editorial-body .ed-article-item h3 a {
  color: var(--text) !important;
}

body.editorial-body .ed-article-item h3 a:hover {
  color: var(--accent) !important;
}

body.editorial-body .ed-article-item .excerpt {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 12px;
}

body.editorial-body .ed-article-item .meta {
  font-size: 11px;
  color: var(--text-3);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* =====================================================
   PRODUCTS SECTION (ed-products, ed-product)
   ===================================================== */
body.editorial-body .ed-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin: 24px 0 48px;
}

body.editorial-body .ed-product {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  transition: border-color .2s;
}

body.editorial-body .ed-product:hover {
  border-color: var(--accent);
}

body.editorial-body .ed-product img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-bottom: 12px;
}

body.editorial-body .ed-product h4 {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  margin-bottom: 4px;
}

body.editorial-body .ed-product .price {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--accent);
  margin-bottom: 8px;
}

body.editorial-body .ed-product .product-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent) !important;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
}

/* =====================================================
   CTA SECTION (ed-cta)
   ===================================================== */
body.editorial-body .ed-cta {
  text-align: center;
  padding: 60px 24px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}

body.editorial-body .ed-cta h2 {
  font-family: var(--serif) !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  font-weight: 400 !important;
  margin-bottom: 16px;
}

body.editorial-body .ed-cta p {
  font-size: 15px;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 24px;
}

body.editorial-body .ed-cta a {
  display: inline-block;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: var(--radius);
  transition: all .25s;
}

body.editorial-body .ed-cta a:hover {
  background: transparent;
  color: var(--accent) !important;
}

/* =====================================================
   FOOTER (ed-footer) — THE MAIN FIX
   ===================================================== */
body.editorial-body .ed-footer {
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: 60px 24px 24px;
  margin-top: 0;
}

body.editorial-body .ed-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

body.editorial-body .ed-footer .brand {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

body.editorial-body .ed-footer .desc {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.6;
  max-width: 300px;
}

body.editorial-body .ed-footer h4 {
  font-family: var(--sans) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  color: var(--text-3) !important;
  margin-bottom: 16px;
}

body.editorial-body .ed-footer a {
  display: block;
  font-size: 13px;
  color: var(--text-2) !important;
  padding: 4px 0;
  transition: color .2s;
}

body.editorial-body .ed-footer a:hover {
  color: var(--accent) !important;
}

body.editorial-body .ed-footer-bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

/* =====================================================
   PRODUCT ITEMS (inside ed-products)
   ===================================================== */
body.editorial-body .ed-product .product-icon {
  font-size: 32px;
  margin-bottom: 8px;
  line-height: 1;
}

body.editorial-body .ed-product .product-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--accent);
  margin: 4px 0;
}

body.editorial-body .ed-product .product-rating {
  font-size: 14px;
  color: #d4a83a;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

body.editorial-body .ed-product .product-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 12px;
  border-radius: var(--radius);
}

/* =====================================================
   NEWSLETTER FORM
   ===================================================== */
body.editorial-body .newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 24px auto 0;
}

body.editorial-body .newsletter-form input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}

body.editorial-body .newsletter-form input:focus {
  border-color: var(--accent);
}

body.editorial-body .newsletter-form input::placeholder {
  color: var(--text-3);
}

body.editorial-body .newsletter-form button {
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all .25s;
  white-space: nowrap;
}

body.editorial-body .newsletter-form button:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

/* =====================================================
   ERTRAGSRECHNER (Solar Yield Calculator)
   ===================================================== */
body.editorial-body .ed-calculator {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin: 24px 0;
}

body.editorial-body .calc-input-group {
  margin-bottom: 20px;
}

body.editorial-body .calc-input-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-bottom: 8px;
}

body.editorial-body .calc-input-group select,
body.editorial-body .calc-input-group input {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .2s;
}

body.editorial-body .calc-input-group select:focus,
body.editorial-body .calc-input-group input:focus {
  border-color: var(--accent);
}

body.editorial-body .calc-result {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

body.editorial-body .calc-stat {
  text-align: center;
}

body.editorial-body .calc-stat-val {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
  display: block;
}

body.editorial-body .calc-stat-lbl {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-3);
  margin-top: 4px;
}

body.editorial-body .calc-info {
  font-size: 12px;
  color: var(--text-3);
  text-align: center;
  margin-top: 16px;
  font-style: italic;
}

/* =====================================================
   RESPONSIVE / MOBILE
   ===================================================== */
@media (max-width: 768px) {
  body.editorial-body .ed-nav-links {
    display: none;
  }

  body.editorial-body .ed-hamburger {
    display: flex;
  }

  body.editorial-body .ed-hero {
    padding: 60px 20px 40px;
  }

  body.editorial-body .ed-wrap {
    padding: 0 20px 60px;
  }

  body.editorial-body .ed-article-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  body.editorial-body .ed-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  body.editorial-body .ed-footer {
    padding: 40px 20px 20px;
  }

  body.editorial-body .ed-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: left;
  }

  body.editorial-body .ed-featured {
    padding: 32px 0;
  }

  body.editorial-body .ed-featured .drop-cap {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  body.editorial-body .ed-hero h1 {
    font-size: 1.6rem !important;
  }

  body.editorial-body .ed-hero .sub {
    font-size: .95rem;
  }

  body.editorial-body .ed-products {
    grid-template-columns: 1fr;
  }

  body.editorial-body .ed-hero-cta a,
  body.editorial-body .ed-cta a {
    display: block;
    width: 100%;
    text-align: center;
  }

  body.editorial-body .ed-footer {
    padding: 32px 16px 16px;
  }
}

/* =====================================================
   ANIMATIONS (reveal)
   ===================================================== */
body.editorial-body .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}

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

body.editorial-body .reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}

body.editorial-body .reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

body.editorial-body .reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
body.editorial-body .reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
body.editorial-body .reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
body.editorial-body .reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }

/* =====================================================
   REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
  body.editorial-body * {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  body.editorial-body .reveal,
  body.editorial-body .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ===== MOBILE FIX: Reveal Fallback ===== */
.reveal, .reveal-stagger {
  opacity: 1 !important;
  transform: none !important;
}
.reveal.visible, .reveal-stagger.visible {
  opacity: 1 !important;
  transform: none !important;
}

/* ===== MOBILE MENU v2 ===== */
.mm-content {
  padding: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mm-search {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mm-search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.mm-search-input {
  flex: 1;
  border: 1.5px solid rgba(0,0,0,0.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 16px;
  font-family: "Inter", sans-serif;
  background: var(--bg, #f8f6f1);
  color: var(--text, #1a1a2e);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.mm-search-input:focus {
  border-color: var(--accent, #d4673a);
}
.mm-search-btn {
  background: var(--accent, #d4673a);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 44px;
  height: 44px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.mm-section {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mm-section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(0,0,0,0.4);
  padding: 8px 20px 4px;
}
.mm-link {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 20px !important;
  font-size: 16px;
  font-weight: 500;
  color: var(--text, #1a1a2e) !important;
  text-decoration: none !important;
  transition: background 0.15s;
  border-bottom: none !important;
}
.mm-link:active {
  background: rgba(0,0,0,0.04);
}
.mm-link-icon {
  font-size: 20px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}
.mm-link-text {
  flex: 1;
}
.mm-link-arrow {
  color: rgba(0,0,0,0.25);
  font-size: 18px;
  font-weight: 300;
}
.mm-section-legal .mm-link {
  padding: 10px 20px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(0,0,0,0.5) !important;
}
.mm-link-legal {
  padding: 10px 20px !important;
}
.mm-footer {
  padding: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(0,0,0,0.35);
}
.mm-footer span {
  display: block;
}
.mm-tagline {
  margin-top: 4px;
  font-style: italic;
}

/* Featured title: CSS drop-cap */
.ed-featured-title {
  margin: 12px 0 8px;
  line-height: 1.25;
}
.ed-featured-title::first-letter {
  font-size: 3em;
  float: left;
  line-height: 0.8;
  padding-right: 8px;
  padding-top: 4px;
  font-family: "Source Serif 4", Georgia, serif;
  color: var(--accent, #d4673a);
  font-weight: 700;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
  .ed-mobile-menu {
    width: 88% !important;
    max-width: 360px;
  }
  .mm-search-input {
    font-size: 16px !important;
  }
}



/* ===== NEWSLETTER SECTION ===== */
.ed-newsletter{margin:60px 0;padding:0 20px}
.ed-newsletter-inner{max-width:700px;margin:0 auto;background:#f8f6f1;border:1px solid rgba(212,103,58,0.15);border-radius:16px;padding:40px;box-sizing:border-box}
.ed-newsletter-headline{display:flex;gap:16px;align-items:flex-start;margin-bottom:28px}
.ed-newsletter-icon{font-size:28px;line-height:1;flex-shrink:0;width:52px;height:52px;display:flex;align-items:center;justify-content:center;background:rgba(212,103,58,0.1);border-radius:12px;color:#d4673a}
.ed-newsletter-headline h3{margin:0 0 4px;font-size:22px;font-weight:700;color:#1a1a2e}
.ed-newsletter-headline p{margin:0;font-size:15px;line-height:1.5;color:#6b6b7e}
.ed-newsletter-input-row{display:flex;gap:0;margin-bottom:14px}
.ed-newsletter-input-row input[type=email]{flex:1;padding:14px 18px;border:2px solid #e0ddd5;border-right:none;border-radius:10px 0 0 10px;font-size:15px;font-family:inherit;outline:none;transition:border-color .2s;min-width:0;box-sizing:border-box}
.ed-newsletter-input-row input[type=email]:focus{border-color:#d4673a}
.ed-newsletter-input-row button{padding:14px 24px;background:#d4673a;color:#fff;border:none;border-radius:0 10px 10px 0;font-size:15px;font-weight:600;font-family:inherit;cursor:pointer;transition:opacity .2s;white-space:nowrap}
.ed-newsletter-input-row button:hover{opacity:.9}
.ed-newsletter-input-row button:disabled{opacity:.6;cursor:not-allowed}
.ed-newsletter-consent{display:flex;align-items:flex-start;gap:8px;font-size:13px;line-height:1.5;color:#6b6b7e;cursor:pointer}
.ed-newsletter-consent input[type=checkbox]{margin-top:2px;flex-shrink:0;width:16px;height:16px;accent-color:#d4673a}
.ed-newsletter-consent span{flex:1}
.ed-newsletter-msg{margin-top:14px;font-size:14px;line-height:1.5}
.ed-newsletter-msg:empty{display:none}
.ed-newsletter-msg.success{color:#2d7a3e;font-weight:500}
.ed-newsletter-msg.error{color:#c0392b;font-weight:500}
.ed-newsletter-banner{position:fixed;top:16px;left:50%;transform:translateX(-50%);z-index:99999;padding:16px 28px;border-radius:12px;font-size:15px;font-weight:600;box-shadow:0 4px 20px rgba(0,0,0,.12);animation:nlSlideDown .4s ease}
.ed-newsletter-banner.success{background:#e8f5e9;color:#2d7a3e;border:1px solid #c8e6c9}
@keyframes nlSlideDown{from{opacity:0;transform:translateX(-50%) translateY(-20px)}to{opacity:1;transform:translateX(-50%) translateY(0)}}

/* ===== RESPONSIVE Newsletter ===== */
@media(max-width:640px){
  .ed-newsletter{margin:40px 0;padding:0 16px}
  .ed-newsletter-inner{padding:24px 20px;border-radius:12px}
  .ed-newsletter-headline{flex-direction:column;gap:12px;margin-bottom:20px;text-align:center;align-items:center}
  .ed-newsletter-icon{width:44px;height:44px;font-size:24px}
  .ed-newsletter-headline h3{font-size:19px}
  .ed-newsletter-headline p{font-size:14px}
  .ed-newsletter-input-row{flex-direction:column;gap:10px}
  .ed-newsletter-input-row input[type=email]{border:2px solid #e0ddd5;border-radius:10px;width:100%;padding:13px 16px}
  .ed-newsletter-input-row button{border-radius:10px;width:100%;padding:13px}
  .ed-newsletter-consent{font-size:12px}
}
@media(min-width:641px) and (max-width:1024px){.ed-newsletter-inner{padding:32px 28px}}
