/* ErdenMensch mit Herz — Version 3.4 (24.10.2026)
   Gesammelte Änderungen 7–14, freigegeben mit "Los".
   Diese Datei ist nach v3.3 eingebunden und überschreibt gezielt die vorherigen Regeln. */

/* Home 1: grosses Waldbild ohne unteren Balken.
   Home 2: ausschliesslich Themenkarten, weder Kopf- noch Fussbalken.
   Home 3: Kopf mit drei Balken und schmaler gemeinsamer Fussbalken. */
body.home-layout-v26.emh-v34 .home-panel,
body.home-layout-v26.emh-v34 .topic-area,
body.home-layout-v26.emh-v34 .combined-panel {
  min-height:100vh!important;
  min-height:100dvh!important;
}
body.home-layout-v26.emh-v34 .topic-area .emh-panel2-content {
  flex:1 1 auto;
  justify-content:space-evenly;
  padding-top:24px;
  padding-bottom:36px;
}
body.home-layout-v26.emh-v34 .topic-area .topic-grid { align-content:space-around; }

/* Gleicher dunkler Ton wie im obersten Streifen; weniger Leerraum oben/unten. */
body.emh-v34 .emh-shared-footer {
  background:#294b3d!important;
  height:60px!important;
  min-height:60px!important;
  flex:0 0 60px!important;
  padding:4px 24px!important;
  justify-content:center!important;
}
body.emh-v34 .emh-shared-footer .footer-inner {gap:10px!important;}
body.emh-v34 .emh-shared-footer .footer-brand {gap:40px!important;align-items:baseline;}
body.emh-v34 .emh-shared-footer .footer-brand span {font-size:14px!important;line-height:1.15!important;}
body.emh-v34 .emh-shared-footer .footer-brand strong {font-size:19px!important;}
body.emh-v34 .emh-shared-footer .footer-disclosure {
  text-align:right!important;
  font-size:9px!important;
  line-height:1.16!important;
  border-top:1px solid rgba(255,255,255,.16);
  margin-top:4px!important;
  padding-top:3px!important;
}
body.home-layout-v26.emh-v34 .combined-panel > .section-up {bottom:68px!important;}

/* Unsere Haltung auf Home 3: Beschreibung als Blocksatz, gleiche Spaltenbreite
   wie die Überschrift; die drei Werte gleichmässig verteilen. */
body.home-layout-v26.emh-v34 .combined-panel .stance-content {min-width:0;}
body.home-layout-v26.emh-v34 .combined-panel .stance-content > p:not(.eyebrow) {
  text-align:justify!important;
  text-align-last:left;
  width:100%!important;
  max-width:100%!important;
  hyphens:auto;
}
body.home-layout-v26.emh-v34 .combined-panel .stance-values {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
  margin-left:0!important;margin-right:0!important;
}
body.home-layout-v26.emh-v34 .combined-panel .stance-values span {
  min-width:0;display:flex!important;align-items:center;justify-content:center;
  text-align:center;white-space:normal;line-height:1.3;
}

/* Lesefenster: 10 Pixel vom Bildschirmrand, ohne Website-Header innen.
   Beiger Balken mit Text und X bleibt bestehen. */
body.emh-v34 .emh-modal {
  inset:0!important;
  padding:var(--emh-reader-top,22px) 10px var(--emh-reader-bottom,40px)!important;
  align-items:stretch!important;
}
body.emh-v34 .emh-modal-card {
  width:calc(100vw - 20px)!important;
  max-width:calc(100vw - 20px)!important;
  min-height:0!important;height:100%!important;max-height:none!important;
}
/* Artikel selbst hat keine grüne Kopfzeile, Menü, Zusatzlinks oder Slogan. */
html.emh-in-modal .topline,html.emh-in-modal .site-header,
html.emh-in-modal .category-nav,html.emh-in-modal .site-footer,
html.emh-in-modal .article-back,html.emh-in-modal .article-bottom,
html.emh-in-modal .skip-link {display:none!important;}
html.emh-in-modal .article-page {padding:0!important;margin:0!important;}
/* Affiliate-Klammer in normaler Textgrösse, nicht in Überschriftengrösse. */
html.emh-in-modal .article-content .affiliate-parenthetical {
  font:normal 16px/1.55 Arial,Helvetica,sans-serif!important;
  display:inline;
  color:#47584d;
}
.article-content .affiliate-parenthetical {font:normal 16px/1.5 Arial,Helvetica,sans-serif;}

@media(max-width:1099px){
  body.home-layout-v26.emh-v34 .topic-area {min-height:0!important;}
  body.home-layout-v26.emh-v34 .topic-area .emh-panel2-content {padding:40px 24px 50px;}
}
@media(max-width:760px){
  body.emh-v34 .emh-shared-footer {
    height:auto!important;min-height:0!important;flex-basis:auto!important;
    padding:10px 16px!important;
  }
  body.emh-v34 .emh-shared-footer .footer-brand {gap:14px!important;}
  body.emh-v34 .emh-shared-footer .footer-brand span {font-size:12px!important;}
  body.emh-v34 .emh-shared-footer .footer-disclosure {text-align:right!important;}
  body.home-layout-v26.emh-v34 .combined-panel .stance-values {gap:5px!important;}
  body.home-layout-v26.emh-v34 .combined-panel .stance-values span {padding:6px 3px!important;font-size:10px!important;}
  body.emh-v34 .emh-modal {padding:12px 10px 16px!important;}
  body.emh-v34 .emh-modal-card {width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;}
  html.emh-in-modal .article-content .affiliate-parenthetical {font-size:14px!important;}
}
@media(max-height:520px){
  body.emh-v34 .emh-modal {padding-top:8px!important;padding-bottom:8px!important;}
}

/* Gewünschter Zeilenumbruch in der Haltung-Überschrift. */
body.home-layout-v26.emh-v34 .emh-heading-break {display:block;}
