/* ErdenMensch mit Herz · Dreamweaver 3.0 (23.10.2026)
   Die vier Themenseiten haben dieselbe Gestaltung.
   1920px Monitor: maximal 1400px Inhalt, 260px Rand je Seite.
   Lesefenster für ganze Beiträge: 600px breit.
   Änderungen in dieser Datei können in Dreamweaver visuell nachverfolgt werden. */

/* Zwischen der weissen Kopfzeile und den Themenlinks ein zweiter,
   über die GANZE Bildschirmbreite verlaufender dunkelgrüner Streifen. */
.topic-archive .archive-green-divider {
  display:block; flex:none; width:100%; height:35px; background:#294b3d;
}
/* Der Abstand vom grünen Streifen bis zum Beginn der Themenlink-Leiste
   ist ebenfalls 35px. */
.topic-archive .category-nav {
  width:100%; background:#fff; padding:35px 0 0; border-bottom:0; flex:none;
}
.topic-archive .category-nav-inner {
  width:100%; max-width:1400px; margin:0 auto;
  display:flex; flex-wrap:nowrap; background:#f4f1e8;
  border-bottom:1px solid #dce3da;
}
.topic-archive .category-nav a {
  display:block; width:25%; padding:16px 6px 14px;
  border-bottom:3px solid transparent; font-size:15px; text-decoration:none;
}
.topic-archive .category-nav a[aria-current='page'] {border-bottom-color:#b17a59;}

/* Ausgewogener Aufbau der Themenseite statt riesiger weisser Leerfläche. */
body.topic-archive {width:100%; max-width:none; margin:0; min-height:100vh; display:flex; flex-direction:column;}
.topic-archive main {display:flex; flex:1 1 auto; flex-direction:column; min-height:0; width:100%; max-width:1400px; margin:0 auto; background:#fbf8f2;}
.topic-archive .archive-hero {
  width:100%; max-width:1400px; margin:0 auto;
  display:grid; grid-template-columns:minmax(0,1fr) 38%;
  height:340px; min-height:340px; flex:none; overflow:hidden;
  background:#e9f0e7;
}
.topic-archive .archive-hero-copy {
  min-width:0; display:flex; flex-direction:column; justify-content:center;
  align-items:flex-start; padding:27px 38px 27px 0;
}
.topic-archive .archive-hero h1 {font-size:60px; line-height:1.12; margin:0 0 14px;}
.topic-archive .archive-hero-copy p {font-size:17px; line-height:1.55; margin:0 0 12px;}
.topic-archive .archive-hero-img {width:100%; height:340px; min-height:0; object-fit:cover; object-position:center; display:block;}
.topic-archive .archive-section {
  display:flex; flex:1 1 auto; flex-direction:column; justify-content:flex-start;
  width:100%; max-width:1400px; min-height:0; margin:0 auto;
  padding:31px 0 22px; background:#fbf8f2;
}
.topic-archive .archive-section-round .archive-heading {margin:0 0 26px;}
.topic-archive .archive-section-round .archive-heading h2 {font-size:37px;}
.topic-archive .archive-circles {display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:27px; align-items:start;}
.topic-archive .round-post-picture {width:100%; max-width:177px; margin:0 auto 14px; border-width:4px;}
.topic-archive .round-post-title {font-size:17px; line-height:1.28;}
.topic-archive .round-post-date {font-size:11px; margin-top:7px;}
.topic-archive .archive-pagination {margin-top:20px;}
/* Die Fusszeile bleibt schmal, vollbreit und ohne Zurück-/Oben-Pfeil. */
.topic-archive .subpage-footer {width:100%; flex:none; background:#294b3d; padding:12px 24px 11px; margin:0; min-height:0;}
.topic-archive .subpage-footer .footer-inner, .topic-archive .subpage-footer .footer-disclosure {max-width:1400px; width:100%; margin-left:auto!important; margin-right:auto!important;}
.topic-archive .subpage-footer .footer-links {display:flex; flex-wrap:wrap; flex-direction:row; gap:24px; align-items:center;}
.topic-archive .subpage-footer .footer-links a {display:inline-block; white-space:nowrap; margin:0;}

/* 600-Pixel-Lesefenster: Ansicht des zugrunde liegenden Artikels bleibt sichtbar. */
.emh-modal-card {width:600px; max-width:calc(100vw - 32px); height:86vh; max-height:980px;}
html.emh-in-modal .article-header {padding:31px 34px 21px;}
html.emh-in-modal .article-header h1 {font-size:33px; line-height:1.20;}
html.emh-in-modal .article-deck {font-size:15px;}
html.emh-in-modal .article-cover {height:235px;}
html.emh-in-modal .article-content {padding:30px 34px; font-size:16px; line-height:1.69;}
html.emh-in-modal .article-content h2 {font-size:23px;}
html.emh-in-modal .article-endnote {margin:0 34px 30px;}

/* Für kleinere PC-Bildschirmhöhen verkleinern sich die Themenbilder,
   damit das Layout bei typischen Laptops weiterhin ausgewogen bleibt. */
@media screen and (min-width:751px) and (max-height:940px) {
 .topic-archive .archive-hero {height:275px; min-height:275px;}
 .topic-archive .archive-hero-img {height:275px;}
 .topic-archive .archive-hero h1 {font-size:50px;}
 .topic-archive .archive-section {padding-top:24px;}
 .topic-archive .round-post-picture {max-width:150px;}
 .topic-archive .archive-section-round .archive-heading {margin-bottom:18px;}
}
@media screen and (min-width:751px) and (max-height:760px) {
 .topic-archive .archive-green-divider {height:25px;}
 .topic-archive .category-nav {padding-top:25px;}
 .topic-archive .archive-hero {height:220px; min-height:220px;}
 .topic-archive .archive-hero-img {height:220px;}
 .topic-archive .archive-hero h1 {font-size:43px;}
 .topic-archive .round-post-picture {max-width:110px;}
 .topic-archive .archive-section {padding-top:15px;}
 .topic-archive .archive-section-round .archive-heading {margin-bottom:10px;}
}
@media screen and (min-width:751px) and (max-width:1470px) {
 .topic-archive main, .topic-archive .archive-hero, .topic-archive .archive-section,
 .topic-archive .category-nav-inner {max-width:calc(100% - 48px);}
 .topic-archive .archive-hero-copy {padding-left:0;}
 .topic-archive .archive-section {padding-left:0; padding-right:0;}
}
@media screen and (max-width:1100px) and (min-width:751px) {
 .topic-archive .archive-hero {grid-template-columns:minmax(0,1fr) 37%;}
 .topic-archive .archive-hero h1 {font-size:45px;}
 .topic-archive .archive-circles {grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media screen and (max-width:750px) {
 .topic-archive .archive-green-divider {height:23px;}
 .topic-archive .category-nav {padding-top:23px;}
 .topic-archive .category-nav-inner {max-width:none; width:100%; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); padding:0;}
 .topic-archive .category-nav a {width:100%; padding:11px 5px; font-size:13px;}
 .topic-archive main {max-width:none; display:block; min-height:0;}
 .topic-archive .archive-hero {display:grid; grid-template-columns:1fr; width:100%; max-width:none; height:auto; min-height:0;}
 .topic-archive .archive-hero-copy {padding:35px 22px 28px;}
 .topic-archive .archive-hero h1 {font-size:42px;}
 .topic-archive .archive-hero-copy p {font-size:16px;}
 .topic-archive .archive-hero-img {height:205px;}
 .topic-archive .archive-section {padding:35px 21px 45px; min-height:0;}
 .topic-archive .archive-section-round .archive-heading h2 {font-size:31px;}
 .topic-archive .archive-circles {grid-template-columns:repeat(2,minmax(0,1fr)); gap:27px 17px;}
 .topic-archive .round-post-picture {max-width:165px;}
 .topic-archive .round-post-title {font-size:15px;}
 .topic-archive .subpage-footer {padding:15px 20px;}
 .topic-archive .subpage-footer .footer-links {gap:18px;}
 .emh-modal-card {width:600px; max-width:calc(100vw - 20px); height:92vh;}
 html.emh-in-modal .article-header {padding:22px 20px 18px;}
 html.emh-in-modal .article-header h1 {font-size:27px;}
 html.emh-in-modal .article-cover {height:175px;}
 html.emh-in-modal .article-content {padding:20px; font-size:15px;}
 html.emh-in-modal .article-endnote {margin:0 20px 25px;}
}
