/* ErdenMensch mit Herz · Version 2.8
   Kategorien: bei 1920px sind links und rechts 260px frei (1400px Mitte).
   Die Themenseiten haben eine gemeinsame, kompakte Gestaltung.
   Beitragsfenster: ca. 400px breit, scrollbarer Volltext. */

/* Grundsatz: Nur die HOME-Waldfotografie darf bildschirmbreit bleiben. */
body.site-width-v27:not(.home-layout-v26) {
  width:100%; max-width:1400px; margin:0 auto; background:#fff;
}
body.topic-archive {min-height:100vh; min-height:100dvh; display:flex; flex-direction:column;}
.topic-archive .topline {flex:none;}
.topic-archive .site-header {flex:none; padding:0;}
.topic-archive .header-inner,
.site-width-v27:not(.home-layout-v26) .header-inner {width:100%; max-width:1400px; padding:13px 0; min-height:78px;}
.topic-archive .menu-toggle {display:none;}
.topic-archive .category-nav {flex:none; background:#f4f3ec; border-bottom:1px solid #dee4d9;}
.topic-archive .category-nav-inner {width:100%; max-width:1400px; padding:0; margin:auto; display:flex; flex-wrap:nowrap;}
.topic-archive .category-nav a {width:25%; display:block; text-align:center; padding:12px 6px 10px; font-size:15px; border-bottom:3px solid transparent;}
.topic-archive .category-nav a[aria-current='page'] {color:#294b3d; font-weight:700; border-bottom-color:#b17a59;}
.topic-archive main {display:flex; flex-direction:column; flex:1; min-width:0; width:100%;}
/* Einheitliche Bild- und Textanordnung für ALLE vier Themenwelten. */
.topic-archive .archive-hero {display:grid; grid-template-columns:minmax(0,1fr) 36%; align-items:stretch;
  min-height:218px; height:218px; flex:none; background:#edf1e9; overflow:hidden;}
.topic-archive .archive-hero-copy {padding:18px 35px 18px 0; display:flex; flex-direction:column; justify-content:center; align-items:flex-start;}
.topic-archive .archive-hero h1 {font-size:47px; margin:0 0 7px; line-height:1.12;}
.topic-archive .archive-hero-copy p {font-size:15px; line-height:1.5; margin:0 0 8px; max-width:700px;}
.topic-archive .archive-hero .eyebrow {font-size:11px; line-height:1.4; margin-bottom:6px;}
.topic-archive .archive-hero-img {display:block; width:100%; height:218px; min-height:0; object-fit:cover; object-position:center; border-radius:0;}
.topic-archive .archive-section {flex:1; width:100%; max-width:none; min-height:0;
  padding:25px 0 20px; margin:0;}
.topic-archive .archive-section-round .archive-heading {margin:0 0 22px;}
.topic-archive .archive-section-round .archive-heading h2 {font-size:32px; margin:0;}
.topic-archive .archive-circles {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:25px;}
.topic-archive .round-post-picture {max-width:150px; width:88%; margin:0 auto 13px; border-width:4px;}
.topic-archive .round-post-title {font-size:17px; line-height:1.35;}
.topic-archive .round-post-date {font-size:11px; margin-top:6px;}
.topic-archive .archive-pagination {margin-top:16px;}
.topic-archive .archive-page-info {font-size:12px; margin:0;}
/* Themenseiten-Fusszeile: schmal, ohne Pfeil, Links in EINER Zeile. */
.topic-archive .subpage-footer {flex:none; padding:12px 0 11px; min-height:0; background:#294b3d;}
.topic-archive .subpage-footer .footer-inner {display:flex; align-items:center; justify-content:space-between;
  gap:16px; max-width:1400px; width:100%;}
.topic-archive .subpage-footer .footer-brand strong {font-size:19px; margin:0;}
.topic-archive .subpage-footer .footer-brand span {display:none;}
.topic-archive .subpage-footer .footer-links {display:flex; align-items:center; gap:24px; padding:0; flex-wrap:wrap;}
.topic-archive .subpage-footer .footer-links a {display:inline-block; white-space:nowrap; margin:0; font-size:12px;}
.topic-archive .subpage-footer .footer-disclosure {max-width:1400px; width:100%;
  padding:5px 0 0; margin:5px auto 0 !important; border-top:1px solid rgba(255,255,255,.13);
  color:#d8e4da; font-size:10px; line-height:1.35;}
/* HOME-Fusszeile: ebenfalls Links nebeneinander, Pfeil des Homes bleibt bestehen. */
.home-layout-v26 .site-footer .footer-links {display:flex; align-items:center; flex-wrap:wrap; gap:17px; padding-right:35px;}
.home-layout-v26 .site-footer .footer-links a {display:inline-block; margin:0;}
/* Direkt geöffnete Artikel/Infoseiten ebenfalls auf der 1400px-Bühne. */
body.site-width-v27:not(.home-layout-v26):not(.topic-archive) {min-height:100vh;}
/* Hintergrund sichtbar beim Lesefenster. */
.emh-modal {position:fixed; inset:0; z-index:3000; display:none; align-items:center;
 justify-content:center; padding:20px; background:rgba(15,38,27,.34);}
.emh-modal.is-visible {display:flex;}
.emh-modal-card {position:relative; width:400px; max-width:calc(100vw - 32px);
 height:84vh; max-height:900px; min-height:230px; background:#fff;
 border-radius:13px; box-shadow:0 20px 65px rgba(11,31,21,.33); border:1px solid #e0e6df;
 overflow:hidden; display:flex; flex-direction:column;}
.emh-modal-head {height:54px; flex:none; background:#f7f6f0; border-bottom:1px solid #e1e6db;
 display:flex; justify-content:space-between; align-items:center; padding:0 12px 0 20px;}
.emh-modal-label {font:13px/1.4 Arial,sans-serif; color:#456653; font-weight:bold; letter-spacing:.04em;}
.emh-modal-close {display:flex; justify-content:center; align-items:center; width:39px; height:39px;
 border:0; border-radius:7px; color:#294b3d; background:transparent; font:normal 29px Arial,sans-serif;
 cursor:pointer;}
.emh-modal-close:hover {background:#e6eae3;}
.emh-modal-frame {flex:1; border:0; width:100%; height:100%; background:white; display:block;}
body.emh-modal-open {overflow:hidden;}
/* Schmale Lesefassung der vorhandenen, VOLLSTÄNDIGEN Artikel im iframe. */
html.emh-in-modal, html.emh-in-modal body {overflow-x:hidden; height:auto; margin:0; padding:0; width:100%; max-width:none; background:#fff;}
html.emh-in-modal .topline, html.emh-in-modal .site-header,
html.emh-in-modal .category-nav, html.emh-in-modal .subpage-footer,
html.emh-in-modal .article-back, html.emh-in-modal .article-bottom,
html.emh-in-modal .related-posts, html.emh-in-modal .skip-link {display:none !important;}
html.emh-in-modal .article-page {margin:0; padding:0; background:#fff;}
html.emh-in-modal .article-full {margin:0; padding:0; width:100%; max-width:none;
 border:0; border-radius:0; box-shadow:none;}
html.emh-in-modal .article-header {padding:24px 24px 17px;}
html.emh-in-modal .article-header h1 {font-size:27px; line-height:1.2; margin-bottom:9px;}
html.emh-in-modal .article-deck {font-size:13px; line-height:1.5;}
html.emh-in-modal .article-cover {height:170px; object-fit:cover;}
html.emh-in-modal .article-content {padding:24px; font-size:14px; line-height:1.65;}
html.emh-in-modal .article-content h2 {font-size:20px; line-height:1.25; margin-top:26px;}
html.emh-in-modal .article-content p {margin-bottom:15px;}
html.emh-in-modal .article-endnote {margin:0 24px 30px; padding:12px; font-size:12px;}
@media screen and (min-width:1100px) and (max-height:780px) {
 .topic-archive .archive-hero {height:175px; min-height:175px;}
 .topic-archive .archive-hero-img {height:175px;}
 .topic-archive .archive-hero h1 {font-size:39px;}
 .topic-archive .archive-section {padding-top:15px;}
 .topic-archive .archive-section-round .archive-heading {margin-bottom:12px;}
 .topic-archive .round-post-picture {max-width:116px;}
 .topic-archive .round-post-title {font-size:15px;}
 .topic-archive .archive-section-round .archive-heading h2 {font-size:29px;}
 .topic-archive .archive-section {padding-bottom:9px;}
}
@media screen and (max-width:1470px) {
 .topic-archive .header-inner,
 .topic-archive .category-nav-inner,
 .topic-archive .archive-hero-copy,
 .topic-archive .archive-section,
 .topic-archive .subpage-footer .footer-inner,
 .topic-archive .subpage-footer .footer-disclosure {padding-left:24px; padding-right:24px;}
 .topic-archive .archive-hero-copy {padding-right:20px;}
 .topic-archive .archive-hero-img {border-radius:0;}
}
@media screen and (max-width:1100px) {
 .topic-archive .archive-circles {grid-template-columns:repeat(4,minmax(0,1fr));}
 .topic-archive .archive-hero {grid-template-columns:minmax(0,1fr) 38%;}
}
@media screen and (max-width:750px) {
 .topic-archive .archive-hero {grid-template-columns:1fr; height:auto; min-height:0;}
 .topic-archive .archive-hero-copy {padding:25px 20px 20px;}
 .topic-archive .archive-hero-img {height:160px;}
 .topic-archive .archive-hero h1 {font-size:38px;}
 .topic-archive .category-nav-inner {display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:0 8px;}
 .topic-archive .category-nav a {width:100%; font-size:13px; padding:8px 4px;}
 .topic-archive .archive-section {padding:25px 16px 40px;}
 .topic-archive .archive-circles {grid-template-columns:repeat(2,minmax(0,1fr)); gap:26px 15px;}
 .topic-archive .round-post-picture {max-width:180px;}
 .topic-archive .round-post-title {font-size:16px;}
 .topic-archive .subpage-footer {padding:16px;}
 .topic-archive .subpage-footer .footer-inner {padding:0; display:block;}
 .topic-archive .subpage-footer .footer-brand {margin-bottom:9px;}
 .topic-archive .subpage-footer .footer-links {gap:13px;}
 .topic-archive .subpage-footer .footer-disclosure {padding:7px 0 0; font-size:10px;}
 .emh-modal {padding:8px;}
 .emh-modal-card {max-width:calc(100vw - 16px); height:90vh;}
 html.emh-in-modal .article-header {padding:22px 20px 14px;}
 html.emh-in-modal .article-content {padding:20px;}
}
@media screen and (max-width:370px) {
 .topic-archive .round-post-title {font-size:14px;}
 .topic-archive .archive-section-round .archive-heading h2 {font-size:27px;}
 .topic-archive .category-nav a {font-size:12px;}
}
