/* ErdenMensch mit Herz · Dreamweaver v3.2 (24.10.2026)
   Last stylesheet. Edit here for new menu bar, news previews and popup layout.
   Layout width remains max 1400px (1920px screen = 260px each side). */

/* Green topic menu immediately under the white logo header. */
body.home-layout-v26 .category-nav.category-nav-green,
body.topic-archive .category-nav.category-nav-green {
  display:block; width:100%; height:42px; min-height:42px;
  padding:0!important; margin:0; background:#294b3d!important;
  border:0!important; box-shadow:none;
  flex:none; position:relative; z-index:21;
}
body.home-layout-v26 .category-nav-green .category-nav-inner,
body.topic-archive .category-nav-green .category-nav-inner {
  width:calc(100% - 48px);max-width:1400px;height:100%;
  margin:0 auto; padding:0!important; display:flex!important;
  flex-wrap:nowrap!important; justify-content:space-between!important;
  align-items:stretch; background:transparent!important;border:0;
}
body.home-layout-v26 .category-nav-green a,
body.topic-archive .category-nav-green a {
  width:25%; padding:0 10px!important; margin:0;display:flex;
  justify-content:center;align-items:center; text-align:center; color:#f7f4e8!important;
  font:normal 14px/1.25 Arial,Helvetica,sans-serif;
  border:0; border-bottom:3px solid transparent!important;
  background:transparent!important;text-decoration:none;white-space:nowrap;
}
body.home-layout-v26 .category-nav-green a:hover,
body.topic-archive .category-nav-green a:hover,
body.topic-archive .category-nav-green a[aria-current='page'] {
  background:rgba(255,255,255,.08)!important; border-bottom-color:#d5b48d!important;
}
/* Matching archive overview, no huge empty min-height below one article. */
body.topic-archive.emh-v32 {min-height:0!important;display:block!important;background:#fbf8f2;}
body.topic-archive.emh-v32 main {flex:none!important;display:block!important;min-height:0!important;}
body.topic-archive.emh-v32 .archive-hero {height:auto!important;min-height:0!important;}
body.topic-archive.emh-v32 .archive-hero-inner {height:265px!important;min-height:0!important;}
body.topic-archive.emh-v32 .archive-hero-img {height:265px!important;min-height:0!important;}
body.topic-archive.emh-v32 .archive-section {
  display:block!important; height:auto!important;min-height:0!important;
  flex:none!important;padding:0!important;margin:0!important;
}
body.topic-archive.emh-v32 .archive-section-inner {
  width:100%;max-width:1400px;min-height:0!important;height:auto!important;
  padding:30px 0 58px!important;margin:0 auto;
  display:block!important;
}
body.topic-archive.emh-v32.topic-single-post .archive-section-inner {justify-content:flex-start!important;}
body.topic-archive.emh-v32 .archive-section-round .archive-heading {margin:0 0 26px!important;}
body.topic-archive.emh-v32 .round-post-picture {max-width:132px!important;}
body.topic-archive.emh-v32 .round-post-title {font-size:17px!important;}
body.topic-archive.emh-v32 .subpage-footer {width:100%;padding:13px 24px 12px;}

/* Home news: same round photograph styling as topics, title to its right. */
body.home-layout-v26.emh-v32 .hero-inner .hero-latest {
  width:450px!important;flex:0 0 450px!important; max-width:100%;
  background:rgba(15,38,29,.86); padding:18px 21px 14px;
}
body.home-layout-v26.emh-v32 .hero-inner .hero-main {min-width:0;padding-right:34px;}
body.home-layout-v26.emh-v32 .hero-latest h2 {font-size:24px;margin-bottom:7px;}
body.home-layout-v26.emh-v32 .hero-post a {display:flex;align-items:center;min-height:0;padding:12px 0;gap:14px;}
body.home-layout-v26.emh-v32 .hero-post img {
  display:block; width:120px;height:120px;max-width:120px;
  flex:0 0 120px; border:4px solid rgba(255,255,255,.88);
  border-radius:50%; object-fit:cover; background:#d5dfd3;
  box-shadow:0 4px 16px rgba(0,0,0,.17);
}
body.home-layout-v26.emh-v32 .hero-post-text {padding:0; flex:1;min-width:0;}
body.home-layout-v26.emh-v32 .hero-post-text strong {
  display:block; color:#fff; font:normal 17px/1.33 Georgia,'Times New Roman',serif;
}
body.home-layout-v26.emh-v32 .hero-post-text small {font-size:12px;line-height:1.5;margin-top:7px;color:#e1e6d9;}
body.home-layout-v26.emh-v32 .hero-post-arrow {display:none!important;}
body.home-layout-v26.emh-v32 .hero-post-status {margin-top:0;padding-top:7px;}

/* Reading panel fills the vertical space between the upper green strip
   and the footer area. It never covers the whole topic page. */
.emh-modal {align-items:stretch!important; padding:35px 24px var(--emh-modal-bottom,72px)!important;}
.emh-modal-card {
  width:1200px!important;max-width:calc(100vw - 48px)!important;
  height:100%!important;min-height:0!important;max-height:none!important;
  margin:0 auto; border-radius:12px;
}
.emh-modal-head {height:53px!important;min-height:53px!important;}

/* In the article iframe show a round photograph beside the title.
   No duplicate preview paragraph: full article starts directly below. */
html.emh-in-modal .article-full {
  width:100%!important;max-width:1060px!important;margin:0 auto!important;
  display:grid!important;
  grid-template-columns:150px minmax(0,1fr);
  grid-template-areas:'cover heading' 'content content' 'note note';
  gap:0 28px;
  padding:30px 35px 12px!important;
  border:0!important;border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;
}
html.emh-in-modal .article-header {
  grid-area:heading;min-width:0;max-width:none!important;
  width:auto!important; padding:0!important;
  margin:0!important;align-self:center;
}
html.emh-in-modal .article-header h1 {
  font:normal 36px/1.18 Georgia,'Times New Roman',serif!important;
  margin:0!important;
}
html.emh-in-modal .article-header .post-category {margin:0 0 11px;}
html.emh-in-modal .article-deck {display:none!important;}
html.emh-in-modal img.article-cover {
  grid-area:cover; width:150px!important;height:150px!important;
  border:5px solid #fff; border-radius:50%!important;
  object-fit:cover;box-shadow:0 5px 22px rgba(35,68,54,.13);
}
html.emh-in-modal .article-content {
  grid-area:content;max-width:none!important;width:auto!important;
  margin:0!important;padding:28px 0 30px!important;
  font-size:18px!important;line-height:1.73!important;
}
html.emh-in-modal .article-endnote {
  grid-area:note;max-width:none!important;width:auto!important;
  margin:0 0 22px!important;padding:16px 23px!important;
}

/* Desktop/laptop downscaling, preserving card readability. */
@media (min-width:761px) and (max-height:860px) {
  body.topic-archive.emh-v32 .archive-hero-inner,
  body.topic-archive.emh-v32 .archive-hero-img {height:205px!important;}
  body.topic-archive.emh-v32 .archive-section-inner {padding:22px 0 35px!important;}
  body.topic-archive.emh-v32 .round-post-picture {max-width:110px!important;}
  body.home-layout-v26.emh-v32 .hero-post img {width:90px;height:90px;flex-basis:90px;max-width:90px;}
  body.home-layout-v26.emh-v32 .hero-post a {padding:7px 0;}
  body.home-layout-v26.emh-v32 .hero-post-text strong {font-size:15px;}
  body.home-layout-v26.emh-v32 .hero-inner .hero-latest {flex-basis:390px!important;width:390px!important;}
  body.home-layout-v26.emh-v32 .hero-inner .hero-main h1 {font-size:54px;}
}
@media (min-width:761px) and (max-width:1330px) {
  body.home-layout-v26.emh-v32 .hero-inner .hero-latest {flex-basis:355px!important;width:355px!important;}
  body.home-layout-v26.emh-v32 .hero-post img {width:85px;height:85px;flex-basis:85px;max-width:85px;}
  body.home-layout-v26.emh-v32 .hero-post-text strong {font-size:14px;}
  body.home-layout-v26.emh-v32 .hero-inner .hero-main h1 {font-size:49px;}
}
@media (max-width:760px) {
  body.home-layout-v26 .category-nav.category-nav-green,
  body.topic-archive .category-nav.category-nav-green {height:auto;min-height:72px;}
  body.home-layout-v26 .category-nav-green .category-nav-inner,
  body.topic-archive .category-nav-green .category-nav-inner {
    width:100%;max-width:none;display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));height:auto;padding:0 10px!important;
  }
  body.home-layout-v26 .category-nav-green a,
  body.topic-archive .category-nav-green a {
    width:100%;padding:9px 4px!important;min-height:36px;
    font-size:12px;white-space:normal;
  }
  body.topic-archive.emh-v32 .archive-hero-inner {height:auto!important;}
  body.topic-archive.emh-v32 .archive-hero-img {height:175px!important;}
  body.topic-archive.emh-v32 .archive-section-inner {padding:27px 20px 45px!important;}
  body.topic-archive.emh-v32 .round-post-picture {max-width:135px!important;}
  body.home-layout-v26.emh-v32 .hero-inner .hero-latest {
    flex:none!important;width:100%!important;max-width:100%!important;margin-top:24px;
  }
  body.home-layout-v26.emh-v32 .hero-post img {width:72px;height:72px;max-width:72px;flex-basis:72px;}
  body.home-layout-v26.emh-v32 .hero-post-text strong {font-size:15px;}
  body.home-layout-v26.emh-v32 .hero-post a {padding:9px 0;}
  .emh-modal {padding:10px 8px!important;}
  .emh-modal-card {width:100%!important;max-width:calc(100vw - 16px)!important;}
  html.emh-in-modal .article-full {
    grid-template-columns:86px minmax(0,1fr);gap:0 13px;
    padding:18px 15px!important;
  }
  html.emh-in-modal img.article-cover {width:86px!important;height:86px!important;border-width:3px;}
  html.emh-in-modal .article-header h1 {font-size:23px!important;}
  html.emh-in-modal .article-content {padding:22px 0 28px!important;font-size:15px!important;}
}
