/* ErdenMensch mit Herz – v3.3, 24.10.2026
   Aenderungen 1–6 nach ausdruecklicher Freigabe "los".
   Home (3 Bildschirmseiten) und vier Themenwelten erhalten gemeinsame Balken.
   Diese CSS-Datei wird absichtlich als LETZTE geladen. */

/* Identische obere drei Balken (PC: 35 / 90 / 42 Pixel). */
body.emh-v33 .topline {
  display:flex!important; align-items:center;justify-content:center;
  height:35px!important;min-height:35px!important;padding:0 12px!important;
  flex-shrink:0;background:#294b3d;color:#fff;
}
body.emh-v33 .topline p {font-size:12px;line-height:1.2;margin:0!important;}
body.emh-v33 .site-header {
  display:block!important;flex:none!important;height:90px!important;min-height:90px!important;
  padding:0!important; margin:0!important;background:#fff;
}
body.emh-v33 .site-header .header-inner {
  height:90px!important;min-height:90px!important;max-width:1400px!important;
  width:calc(100% - 48px)!important;margin:0 auto!important;
  padding:0!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;flex-wrap:nowrap!important;
}
body.emh-v33 .brand-tagline {text-transform:uppercase;}
body.emh-v33 .category-nav.category-nav-green {
  height:42px!important; min-height:42px!important;flex:0 0 42px!important;
  width:100%!important; margin:0!important; padding:0!important;
  background:#294b3d!important;
}
body.emh-v33 .category-nav-green .category-nav-inner {
  height:42px!important;align-items:stretch!important;
  max-width:1400px!important;width:calc(100% - 48px)!important;
}
/* Home: jeder der drei Bildschirme hat die gleiche obere Leiste und Fusszeile. */
body.home-layout-v26.emh-v33 .home-panel,
body.home-layout-v26.emh-v33 .topic-area,
body.home-layout-v26.emh-v33 .combined-panel {
  box-sizing:border-box; display:flex!important;flex-direction:column!important;
  min-height:100vh!important;min-height:100dvh!important;
  padding:0!important;margin:0!important;overflow:visible;
}
body.home-layout-v26.emh-v33 .home-panel .hero {
  flex:1 1 auto!important;min-height:0!important;
}
body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content {
  position:relative; flex:1 1 auto;min-height:0;
  display:flex;flex-direction:column;
  justify-content:space-evenly;
  padding:17px 24px 28px;
  background:#fbf8f1;
}
body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content .intro {flex:none;margin-top:0;padding-bottom:2px;}
body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content .topic-grid {
  flex:1 1 auto;max-width:1400px;width:100%;margin:0 auto;
  align-content:space-around;min-height:0;
}
body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content > .section-up {
  top:auto!important;bottom:8px!important;right:max(24px,calc((100vw - 1400px)/2))!important;
}
body.home-layout-v26.emh-v33 .combined-panel .stance-area,
body.home-layout-v26.emh-v33 .combined-panel .ideas-area {flex-shrink:1;}
body.home-layout-v26.emh-v33 .combined-panel > .section-up {
  top:auto!important;bottom:91px!important;right:max(24px,calc((100vw - 1400px)/2))!important;
}
/* Gemeinsame dunkle Fusszeile: kein heller Streifen danach, gleiche Hoehe. */
body.emh-v33 .emh-shared-footer {
  width:100%!important;max-width:none!important;box-sizing:border-box;
  min-height:78px!important;height:78px!important;
  flex:0 0 78px!important;
  padding:10px 24px 8px!important;margin:0!important;
  display:flex!important;flex-direction:column;justify-content:center;
  background:#294b3d!important;color:#fff;
  position:relative;z-index:1;
}
body.emh-v33 .emh-shared-footer .footer-inner,
body.emh-v33 .emh-shared-footer .footer-disclosure {
  width:calc(100% - 48px)!important;max-width:1400px!important;
  margin-left:auto!important;margin-right:auto!important;
  padding-left:0!important;padding-right:0!important;
}
body.emh-v33 .emh-shared-footer .footer-inner {
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  flex-wrap:nowrap!important;gap:20px;
}
body.emh-v33 .emh-shared-footer .footer-brand {
  display:flex!important;align-items:baseline;gap:20px;
  flex-wrap:wrap;color:white;
}
body.emh-v33 .emh-shared-footer .footer-brand a {text-decoration:none;color:inherit;}
body.emh-v33 .emh-shared-footer .footer-brand strong {
  display:inline!important;margin:0!important;font:normal 19px/1.2 Georgia,'Times New Roman',serif!important;
}
body.emh-v33 .emh-shared-footer .footer-brand span {
  display:inline!important;margin:0!important;font:normal 16px/1.3 Arial,Helvetica,sans-serif!important;
  color:#f4f4eb;
}
body.emh-v33 .emh-shared-footer .footer-links {
  display:flex!important;align-items:center;flex-wrap:nowrap!important;
  gap:24px!important;margin:0!important;padding:0!important;
}
body.emh-v33 .emh-shared-footer .footer-links a {
  display:inline-block!important;white-space:nowrap;margin:0!important;
  font:normal 12px/1.3 Arial,Helvetica,sans-serif;color:#fff;
}
body.emh-v33 .emh-shared-footer .footer-disclosure {
  color:#dbe7de;font-size:10px!important;line-height:1.35!important;
  border-top:1px solid rgba(255,255,255,.16);padding-top:5px!important;
  margin-top:6px!important;margin-bottom:0!important;
}
/* Themenseiten: der Fussbalken liegt am absoluten Seitenende. */
body.topic-archive.emh-v33 {width:100%;max-width:none;min-height:100vh!important;
  min-height:100dvh!important;display:flex!important;flex-direction:column!important;}
body.topic-archive.emh-v33 main {flex:1 1 auto!important;display:flex!important;flex-direction:column;}
body.topic-archive.emh-v33 .archive-section {flex:1 1 auto!important;background:#fbf8f2;}
body.topic-archive.emh-v33 .archive-hero {flex:none;}
/* Lesefenster: 2px in das obere Gruen, 2px in den unteren Gruenbalken. */
body.emh-v33 .emh-modal {
  padding:33px 24px var(--emh-modal-bottom,76px)!important;
  align-items:stretch!important;
}
body.emh-v33 .emh-modal-card {
  height:100%!important;max-height:none!important;min-height:0!important;
  width:1200px!important;max-width:calc(100vw - 48px)!important;
}
/* Fliesstext und Zeilenabstand jeweils eine Stufe kleiner; Ueberschriften
   gleiches Schriftbild wie Haupttitel, kleiner und normal statt fett. */
html.emh-in-modal .article-content {
  font-size:16px!important;line-height:1.55!important;
}
html.emh-in-modal .article-content p {margin-bottom:16px!important;}
html.emh-in-modal .article-content h2,
html.emh-in-modal .article-content h3 {
  font-family:Georgia,'Times New Roman',serif!important;
  font-size:30px!important;line-height:1.25!important;
  font-weight:400!important;color:#294b3d!important;
  margin:24px 0 11px!important;
}
html.emh-in-modal .article-content h2 strong,
html.emh-in-modal .article-content h3 strong {font-weight:400!important;}
/* Bei geringem Platz darf der Abschnitt wachsen – nichts abschneiden. */
@media (max-height:810px) and (min-width:1100px) {
  body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content {padding-top:6px;padding-bottom:22px;}
  body.home-layout-v26.emh-v33 .combined-panel .stance-area {padding-top:5px!important;padding-bottom:4px!important;}
  body.home-layout-v26.emh-v33 .combined-panel .ideas-area {padding-top:6px!important;padding-bottom:6px!important;}
  body.home-layout-v26.emh-v33 .combined-panel .stance-photo {height:150px!important;}
  body.home-layout-v26.emh-v33 .combined-panel .stance-content > p:not(.eyebrow) {font-size:12px!important;line-height:1.4!important;margin-bottom:5px!important;}
  body.home-layout-v26.emh-v33 .combined-panel .ideas-intro {margin-bottom:7px!important;}
  body.home-layout-v26.emh-v33 .combined-panel .idea-card {padding:8px 12px!important;}
}
@media (max-width:1099px) {
  body.home-layout-v26.emh-v33 .home-panel,
  body.home-layout-v26.emh-v33 .topic-area,
  body.home-layout-v26.emh-v33 .combined-panel {min-height:0!important;}
  body.home-layout-v26.emh-v33 .home-panel .hero {flex:auto!important;min-height:650px!important;}
  body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content {padding:40px 24px 58px;}
  body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content .topic-grid {flex:auto;}
}
@media (max-width:760px) {
  body.emh-v33 .topline {height:33px!important;min-height:33px!important;}
  body.emh-v33 .site-header {height:74px!important;min-height:74px!important;}
  body.emh-v33 .site-header .header-inner {height:74px!important;min-height:74px!important;padding:0!important;width:calc(100% - 32px)!important;}
  body.emh-v33 .category-nav.category-nav-green {height:76px!important;min-height:76px!important;flex-basis:76px!important;}
  body.emh-v33 .category-nav-green .category-nav-inner {height:76px!important;width:100%!important;}
  body.emh-v33 .emh-shared-footer {min-height:100px!important;height:auto!important;flex-basis:auto!important;padding:12px 16px!important;}
  body.emh-v33 .emh-shared-footer .footer-inner,
  body.emh-v33 .emh-shared-footer .footer-disclosure {width:100%!important;}
  body.emh-v33 .emh-shared-footer .footer-inner {align-items:flex-start!important;flex-direction:column;gap:8px;}
  body.emh-v33 .emh-shared-footer .footer-brand {gap:10px;}
  body.emh-v33 .emh-shared-footer .footer-brand strong {font-size:17px!important;}
  body.emh-v33 .emh-shared-footer .footer-brand span {font-size:13px!important;}
  body.emh-v33 .emh-shared-footer .footer-links {gap:13px!important;flex-wrap:wrap!important;}
  body.home-layout-v26.emh-v33 .home-panel .hero {min-height:0!important;}
  body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content {padding:35px 18px 56px;}
  body.home-layout-v26.emh-v33 .combined-panel > .section-up {bottom:118px!important;}
  body.emh-v33 .emh-modal {padding:31px 8px 12px!important;}
  body.emh-v33 .emh-modal-card {max-width:calc(100vw - 16px)!important;}
  html.emh-in-modal .article-content {font-size:14px!important;line-height:1.5!important;}
  html.emh-in-modal .article-content h2,html.emh-in-modal .article-content h3 {font-size:21px!important;}
}
/* Kompaktere Startseite auf Laptop-Bildschirmen: der untere Fussbalken
   bleibt bereits im ersten Bildschirm sichtbar. */
@media (min-width:1100px) and (max-height:980px) {
  body.home-layout-v26.emh-v33 .hero-inner.hero-columns {padding-top:15px!important;padding-bottom:15px!important;}
  body.home-layout-v26.emh-v33 .hero-inner .hero-latest {padding:11px 17px 9px!important;}
  body.home-layout-v26.emh-v33 .hero-post a {padding:6px 0!important;}
  body.home-layout-v26.emh-v33 .hero-post img {
    width:88px!important;height:88px!important;flex-basis:88px!important;max-width:88px!important;
  }
  body.home-layout-v26.emh-v33 .hero-post-status {padding-top:4px!important;margin-top:0!important;}
  body.home-layout-v26.emh-v33 .hero-latest h2 {font-size:22px!important;margin-bottom:4px!important;}
}
@media (min-width:1100px) and (max-height:820px) {
  body.home-layout-v26.emh-v33 .hero-inner.hero-columns {padding-top:8px!important;padding-bottom:8px!important;}
  body.home-layout-v26.emh-v33 .hero-post img {
    width:66px!important;height:66px!important;flex-basis:66px!important;max-width:66px!important;
  }
  body.home-layout-v26.emh-v33 .hero-post a {padding:4px 0!important;}
  body.home-layout-v26.emh-v33 .hero-inner .hero-main h1 {font-size:47px!important;}
  body.home-layout-v26.emh-v33 .topic-area .emh-panel2-content .topic-grid .topic-photo {height:108px!important;}
  body.home-layout-v26.emh-v33 .topic-area .topic-copy {padding:7px 12px!important;}
  body.home-layout-v26.emh-v33 .topic-area .topic-copy h3 {font-size:19px!important;}
  body.home-layout-v26.emh-v33 .topic-area .intro {padding-top:0!important;}
  body.home-layout-v26.emh-v33 .topic-area .intro .section-title {font-size:32px!important;}
}
@media (min-width:1100px) and (max-height:820px) {
  body.home-layout-v26.emh-v33 .topic-area .topic-card {margin:4px 0!important;}
}
