/* Strong Monkey: Themenseiten (neues Layout) */
@font-face { font-family: "SM Archivo"; src: url("../fonts/archivo-wdth.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "SM Atkinson"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "SM Atkinson"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

body.sm-themen-neu {
	--sm-ink: #192c26;
	--sm-paper: #fbfaf4;
	--sm-sage: #eaf0e5;
	--sm-link: #21593f;
	--sm-line: #c9d6c4;
	--sm-lime: #b8e354;
	--sm-hero-bg: #e7edcf;
	--sm-hero-ink: #153d32;
	--sm-hero-soft: #2e4a3f;
	--sm-head-font: "SM Archivo", "Arial Narrow", Arial, sans-serif;
	--sm-text-font: "SM Atkinson", Verdana, Arial, sans-serif;
	background: var(--sm-paper);
	color: var(--sm-ink);
	font: 400 17px/1.6 var(--sm-text-font);
}
.sm-themen-neu .sm-themen .site-main { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 34px) 2rem; }
.sm-themen-neu .sm-themen a { color: var(--sm-link); }
.sm-themen-neu .sm-themen :is(h1, h2, h3, h3 a) { font-family: var(--sm-head-font) !important; color: var(--sm-ink); letter-spacing: -.01em; }
.sm-themen-neu .sm-themen :is(a, button, input):focus-visible { outline: 3px solid var(--sm-link); outline-offset: 3px; }

/* Kopfbereich */
.sm-themen-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: stretch; margin: 0 0 1.2rem; background: var(--sm-hero-bg); border-top: 4px solid var(--sm-lime); border-radius: 0 0 12px 12px; overflow: hidden; }
.sm-themen-hero-text { padding: clamp(24px, 4vw, 52px); }
.sm-themen-hero .sm-crumbs { margin: 0 0 1rem; font-size: .9rem; color: var(--sm-hero-soft); }
.sm-themen-hero .sm-crumbs a { color: var(--sm-hero-ink); text-decoration: underline; text-underline-offset: .2em; }
.sm-themen-hero h1 { margin: 0 0 .8rem; color: var(--sm-hero-ink) !important; font: 800 clamp(2.3rem, 4.6vw, 3.8rem)/1.02 var(--sm-head-font); }
.sm-themen-intro { max-width: 52ch; margin: 0 0 .6rem; font-size: 1.08rem; color: var(--sm-hero-soft); }
.sm-themen-count { margin: 0 0 1.2rem; font: 700 .95rem/1.3 var(--sm-head-font); color: var(--sm-hero-ink); }
.sm-themen-search { display: flex; max-width: 460px; margin: 0 0 1rem; border: 2px solid var(--sm-hero-ink); border-radius: 8px; overflow: hidden; background: #fff; }
.sm-themen-search input[type=search] { flex: 1; min-width: 0; min-height: 48px; padding: .6rem .9rem; border: 0; background: #fff; color: var(--sm-ink); font: 400 1rem var(--sm-text-font); }
.sm-themen-search input[type=search]::placeholder { color: #5d6e66; }
.sm-themen-search button { min-height: 48px; padding: 0 1.2rem; border: 0; border-radius: 0; background: var(--sm-hero-ink); color: #fff; font: 700 1rem var(--sm-head-font); cursor: pointer; }
.sm-themen-search button:hover { background: var(--sm-link); }
.sm-themen-jump { margin: 0; }
.sm-themen-jump a { color: var(--sm-hero-ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: .22em; }
.sm-themen-hero-img { position: relative; min-height: 260px; background: #f3f1e4; }
.sm-themen-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Verwandte Themen */
.sm-themen-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 2rem; }
.sm-themen-chips span { white-space: nowrap; margin-right: .3rem; font: 700 .9rem var(--sm-head-font); color: var(--sm-hero-soft); }
.sm-themen-chips a { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem .9rem; border: 1.5px solid var(--sm-line); border-radius: 999px; background: #fff; color: var(--sm-ink) !important; font-size: .92rem; text-decoration: none; }
.sm-themen-chips a:hover { border-color: var(--sm-link); }
.sm-themen-chips a[aria-current] { background: var(--sm-hero-ink); border-color: var(--sm-hero-ink); color: #fff !important; font-weight: 700; }

/* Karten */
.sm-themen-neu .sm-themen h2.sm-themen-h2 { margin: 0 0 1rem; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; }
.sm-themen-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; margin: 0 0 2rem; }
.sm-themen-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--sm-line); border-radius: 10px; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.sm-themen-card:hover { border-color: var(--sm-link); box-shadow: 0 6px 18px rgba(21, 61, 50, .1); }
.sm-themen-card-img { aspect-ratio: 16 / 9; background: var(--sm-sage); }
.sm-themen-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sm-themen-card-text { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.1rem 1.1rem; }
.sm-themen-neu .sm-themen-card h3 { margin: 0 0 .5rem; font-size: 1.22rem; font-weight: 750; line-height: 1.22; hyphens: manual; }
.sm-themen-neu .sm-themen-card h3 a { font-weight: 750; font-size: inherit; line-height: inherit; color: var(--sm-ink) !important; text-decoration: none; }
.sm-themen-card h3 a::after { content: ""; position: absolute; inset: 0; }
.sm-themen-card:hover h3 a { text-decoration: underline; text-underline-offset: .18em; }
.sm-themen-card-text p { margin: 0 0 .8rem; font-size: .95rem; line-height: 1.5; color: #3a4a43; }
.sm-themen-card-text .sm-themen-date { margin: auto 0 0; padding-top: .6rem; border-top: 1px solid var(--sm-sage); font-size: .82rem; color: #5d6e66; }

/* Seitennummern */
.sm-themen :is(.pagination, .sm-themen-pagination) .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 2.5rem; }
.sm-themen :is(.pagination, .sm-themen-pagination) .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1.5px solid var(--sm-line); border-radius: 8px; background: #fff; color: var(--sm-ink) !important; font-weight: 700; text-decoration: none; }
.sm-themen :is(.pagination, .sm-themen-pagination) .page-numbers.current { background: var(--sm-hero-ink); border-color: var(--sm-hero-ink); color: #fff !important; }
.sm-themen :is(.pagination, .sm-themen-pagination) a.page-numbers:hover { border-color: var(--sm-link); }

/* Ratgeber-Text */
.sm-themen-editorial { margin: 0 0 3rem; background: #fff; border: 1px solid var(--sm-line); border-top: 4px solid var(--sm-lime); border-radius: 12px; overflow: hidden; overflow-wrap: break-word; }
.sm-themen-toc { padding: clamp(22px, 4vw, 44px) clamp(20px, 6vw, 88px) clamp(18px, 3vw, 30px); background: var(--sm-hero-bg); }
.sm-themen-toc-title { margin: 0 0 .7rem; font: 800 1.35rem/1.2 var(--sm-head-font); color: var(--sm-hero-ink); }
.sm-themen-toc ol { columns: 2 280px; column-gap: 2.5rem; margin: 0; padding: 0 0 0 1.3rem; }
.sm-themen-toc li { break-inside: avoid; margin: 0 0 .45rem; padding-left: .2rem; font-size: .98rem; line-height: 1.4; }
.sm-themen-toc li::marker { color: var(--sm-link); font-weight: 700; }
.sm-themen-toc a { color: var(--sm-hero-ink) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sm-themen-chapters > .sm-chapter, .sm-themen-chapters { padding: clamp(26px, 4.5vw, 56px) clamp(20px, 6vw, 88px); }
.sm-themen-chapters:has(> .sm-chapter) { padding: 0; }
.sm-themen-chapters > .sm-chapter:nth-child(even) { background: var(--sm-sage); }
.sm-themen-chapters > .sm-chapter-intro p { font-size: 1.12rem; }
.sm-themen-chapters :is(p, ul, ol, blockquote, h2, h3, h4) { max-width: 70ch; }
.sm-themen-neu .sm-themen-chapters h2 { margin: 0 0 .8em; font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; line-height: 1.1; scroll-margin-top: 1.5rem; }
.sm-themen-neu .sm-themen-chapters h3 { margin: 1.8em 0 .5em; font-size: 1.32rem; font-weight: 750; line-height: 1.22; }
.sm-themen-neu .sm-themen-chapters h4 { margin: 1.4em 0 .4em; font-size: 1.12rem; font-weight: 700; font-family: var(--sm-head-font) !important; }
.sm-themen-chapters p, .sm-themen-chapters li { font-size: 1.02rem; line-height: 1.7; }
.sm-themen-chapters p { margin: 0 0 1.05em; }
.sm-themen-chapters a { color: var(--sm-link) !important; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.sm-themen-chapters blockquote { margin: 1.5em 0; padding: .2em 0 .2em 1.2em; border-left: 4px solid var(--sm-link); font-style: normal; }
.sm-themen-chapters :is(img, video) { display: block; width: auto; max-width: min(100%, 560px); height: auto; margin: 1.5rem 0; border-radius: 10px; }
.sm-themen-chapters figure { margin: 1.5rem 0; }
.sm-themen-chapters details { max-width: 70ch; padding-block: .8rem; border-bottom: 1px solid var(--sm-line); }
.sm-themen-chapters summary { cursor: pointer; font: 700 1.05rem var(--sm-head-font); }
.sm-themen-chapters .aawp { max-width: 100%; }

/* Alle Themen: siehe assets/themenliste.css */

@media (max-width: 760px) {
	.sm-themen-hero { grid-template-columns: 1fr; border-radius: 0; margin-inline: calc(-1 * clamp(16px, 3vw, 34px)); }
	.sm-themen-hero-img { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
	.sm-themen-hero-text { padding: 22px 20px 26px; }
	.sm-themen-editorial { border-radius: 0; margin-inline: calc(-1 * clamp(16px, 3vw, 34px)); border-inline: 0; }
	.sm-themen-chapters > .sm-chapter, .sm-themen-toc { padding: 24px 20px; }
	.sm-themen-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .3rem; }
	.sm-themen-chips a { flex: none; }
}

/* Batch 27: Bausteine aus den Beiträgen auch in Kategorietexten */
.sm-themen-editorial .sm-yt-wrap { max-width: 68ch; margin: 1.5em 0; }
.sm-themen-editorial a.sm-yt {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.1rem;
	background: #fff;
	border: 1px solid var(--sm-line);
	border-radius: 10px;
	color: var(--sm-ink);
	text-decoration: none;
}
.sm-themen-editorial a.sm-yt:hover { border-color: var(--sm-link); }
.sm-themen-editorial .sm-yt-play { position: relative; flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--sm-head-bg); }
.sm-themen-editorial .sm-yt-play::after { content: ""; position: absolute; left: 21px; top: 16px; border-left: 15px solid var(--sm-lime); border-block: 10px solid transparent; }
.sm-themen-editorial .sm-yt-text { display: flex; flex-direction: column; min-width: 0; }
.sm-themen-editorial .sm-yt-label { font: 700 1rem/1.3 var(--sm-head-font); color: var(--sm-link); text-decoration: underline; text-underline-offset: .18em; }
.sm-themen-editorial .sm-yt-title { margin-top: .15rem; line-height: 1.4; overflow-wrap: anywhere; }
.sm-themen-editorial .sm-yt-note { margin-top: .25rem; font-size: .85rem; line-height: 1.4; color: #4a5b52; }
.sm-themen-editorial .sm-table-scroll{max-height:none;overflow-x:auto;overflow-y:hidden}
.sm-themen-editorial .sm-table-scroll :is(thead,.aawp-tb__row:first-child){position:static}
.sm-themen-editorial .sm-hinweis{position:relative;margin:1.6em 0;padding:16px 20px 16px 60px;background:var(--sm-sage,#eaf0e5);border-left:4px solid var(--sm-link,#21593f);border-radius:0 6px 6px 0;color:var(--sm-ink,#192c26)}
.sm-themen-editorial .sm-hinweis::before{content:"i";position:absolute;left:18px;top:16px;width:26px;height:26px;border-radius:50%;background:var(--sm-link,#21593f);color:#fff;font:700 15px/26px Georgia,serif;text-align:center}
.sm-themen-editorial .sm-hinweis>p{margin:0}
.sm-themen-editorial .sm-hinweis>p+p{margin-top:.5em}
.sm-themen-editorial .sm-hinweis .sm-hinweis-title{font-weight:700;font-size:.82em;letter-spacing:.06em;text-transform:uppercase;margin-bottom:.25em}
.sm-themen-editorial .sm-hinweis--tipp{background:#f2f7e4;border-left-color:#5e8a1e}
.sm-themen-editorial .sm-hinweis--tipp::before{content:"✓";background:#5e8a1e;font:700 15px/26px system-ui,sans-serif}
.sm-themen-editorial .sm-hinweis--achtung{background:#fdf3e4;border-left-color:#b35c00}
.sm-themen-editorial .sm-hinweis--achtung::before{content:"!";background:#b35c00;font:800 16px/26px system-ui,sans-serif}
.sm-themen-editorial .sm-hinweis>:is(h2,h3,h4){margin-top:0}
.sm-themen-editorial .sm-hinweis>*{max-width:none}
.sm-themen-editorial .sm-hinweis .sm-hinweis-title{margin:0 0 .15em!important}
/* Listen mit Symbol */
.sm-themen-editorial :is(.sm-list-check,.sm-list-cross,.sm-list-steps,.sm-list-dot,.sm-list-plain){list-style:none;padding-left:0}
.sm-themen-editorial :is(.sm-list-check,.sm-list-cross,.sm-list-steps,.sm-list-dot)>li{position:relative;padding-left:28px}
.sm-themen-editorial :is(.sm-list-check,.sm-list-cross,.sm-list-steps,.sm-list-dot)>li::before{position:absolute;left:2px;top:0;font-weight:700}
.sm-themen-editorial .sm-list-check>li::before{content:"✓";color:#2c7044}
.sm-themen-editorial .sm-list-cross>li::before{content:"✕";color:#a8321f}
.sm-themen-editorial .sm-list-steps>li::before{content:"→";color:var(--sm-link,#21593f)}
.sm-themen-editorial .sm-list-dot>li::before{content:"•";color:var(--sm-link,#21593f)}
/* Karten-Spalten (aus Elementor-Spalten) */
.sm-themen-editorial .sm-cards{gap:20px;margin:1.6em 0;align-items:stretch}
.sm-themen-editorial .sm-cards>.wp-block-column{background:#fff;border:1px solid var(--sm-line,#c9d6c4);border-radius:10px;padding:18px 20px}
.sm-themen-editorial .sm-cards>.wp-block-column>*{max-width:none}
.sm-themen-editorial .sm-cards>.wp-block-column>:first-child{margin-top:0}
.sm-themen-editorial .sm-cards>.wp-block-column>:last-child{margin-bottom:0}
.sm-themen-editorial .sm-cards>.wp-block-column{display:flex;flex-direction:column}
.sm-themen-editorial .sm-cards>.wp-block-column>p{margin:0 0 .45em}
.sm-themen-editorial .sm-cards>.wp-block-column>:is(h2,h3,h4){margin:0 0 .6em}
.sm-themen-editorial .sm-cards>.wp-block-column>.aawp{margin-top:auto;padding-top:14px}
.sm-themen-editorial .sm-cards .aawp .aawp-product--widget-vertical{margin:0;border:0;border-top:1px solid var(--sm-line,#c9d6c4);border-radius:0;padding:14px 0 0;background:transparent;display:flex;flex-direction:column;align-items:center}
.sm-themen-editorial .sm-cards .aawp .aawp-product--widget-vertical .aawp-product__image{height:130px;max-height:130px}
.sm-themen-editorial .sm-cards .aawp .aawp-product--widget-vertical .aawp-product__title{min-height:2.7em;font-size:.95rem}
.sm-themen-editorial .sm-cards .aawp .aawp-product--widget-vertical .aawp-product__footer{margin-top:auto;padding-top:8px}
.sm-themen-editorial .sm-hinweis--merkmal{background:#fff;border:1px solid var(--sm-line,#c9d6c4);border-left:4px solid var(--sm-link,#21593f);border-radius:0 8px 8px 0}
.sm-themen-editorial .sm-hinweis--merkmal::before{content:"✓";background:var(--sm-sage,#eaf0e5);color:var(--sm-link,#21593f);font:700 15px/26px system-ui,sans-serif}
.sm-themen-editorial .sm-hinweis figure{margin:1em 0}
.sm-themen-editorial .sm-hinweis .wp-block-table{overflow-x:auto}
@media (max-width:600px){.sm-themen-editorial .sm-hinweis{padding:14px 14px 14px 48px}.sm-themen-editorial .sm-hinweis::before{left:12px}}
.sm-themen-editorial .sm-hinweis>:is(h2,h3,h4):first-child,.sm-themen-editorial .sm-hinweis>.sm-hinweis-title:first-child{margin-top:0!important}
.sm-themen-editorial .sm-hinweis>.wp-block-group__inner-container>:first-child{margin-top:0!important}.sm-themen-editorial .sm-hinweis>.wp-block-group__inner-container>:last-child{margin-bottom:0!important}.sm-themen-editorial .sm-hinweis>.wp-block-group__inner-container>*{max-width:none}
.sm-themen-editorial .sm-table-scroll{max-width:100%}
.sm-themen-chapters .sm-cards .aawp-product__image{margin:0 auto 10px}
.sm-themen-chapters :is(.sm-hinweis,.sm-cards,.sm-table-scroll,.sm-yt-wrap){max-width:none}
.sm-themen-chapters .sm-hinweis :is(p,h3){max-width:none}
.sm-themen-collapse > summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;cursor:pointer;list-style:none;margin:0}
.sm-themen-collapse > summary::-webkit-details-marker{display:none}
.sm-themen-collapse > summary::after{content:"";flex:none;width:.6rem;height:.6rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .15s}
.sm-themen-collapse[open] > summary::after{transform:rotate(-135deg) translateY(-2px)}
.sm-themen-collapse[open] > summary{margin-bottom:.7rem}
.sm-themen-toc .sm-themen-toc-title{margin:0}
.sm-themen-editorial .wp-block-group__inner-container{padding:0;max-width:none}
.sm-themen-editorial :is(.sm-list-check,.sm-list-cross,.sm-list-steps,.sm-list-dot,.sm-list-plain){margin-left:0}
/* B28: Vorteile/Nachteile-Box + Bilderraster auf Kategorieseiten */
.sm-themen-editorial .sm-proscons{margin:1.6rem 0;max-width:none}
.sm-themen-editorial .sm-pc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}
.sm-themen-editorial .sm-pc{background:#fff;border:1px solid var(--sm-line,#c9d6c4);border-top:4px solid #2c7044;border-radius:12px;padding:1rem 1.2rem}
.sm-themen-editorial .sm-pc-con{border-top-color:#a8321f}
.sm-themen-neu .sm-themen-editorial .sm-pc h4.sm-pc-title{margin:0 0 .5rem!important;font:700 1.1rem/1.3 var(--sm-head-font)!important;color:#2c7044!important}
.sm-themen-neu .sm-themen-editorial .sm-pc-con h4.sm-pc-title{color:#a8321f!important}
.sm-themen-editorial .sm-pc ul{list-style:none;margin:0;padding:0;max-width:none}
.sm-themen-editorial .sm-pc li{position:relative;padding-left:1.6rem;margin:.4rem 0}
.sm-themen-editorial .sm-pc li::before{position:absolute;left:0;top:0;font-weight:700}
.sm-themen-editorial .sm-pc-pro li::before{content:"✓";color:#2c7044}
.sm-themen-editorial .sm-pc-con li::before{content:"✕";color:#a8321f}
.sm-themen-editorial .sm-img-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:1.5rem 0;max-width:none}
.sm-themen-editorial .sm-img-grid>.wp-block-column{margin:0}
.sm-themen-editorial .sm-img-grid figure{margin:0}
.sm-themen-editorial .sm-img-grid img{width:100%;max-width:100%;height:auto;margin:0}
.sm-themen-chapters details.wp-block-details>p:first-of-type{margin-top:.6rem}
