/*
 * Neues Layout (Stufe 1) – wird nur geladen, wenn das neue Layout aktiv ist (siehe inc/neues-layout.php).
 * Alle Regeln hängen an body.stb-neu, damit nichts in das bisherige Layout durchschlägt.
 * Stand: 28.11.2026 (News-Seite st-birgid-news.de: body.stb-news, Startseiten-Raster nur mit body.stb-start)
 */

@font-face { font-family: "Hind"; src: url("../fonts/Hind-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("../fonts/Hind-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("../fonts/Hind-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Hind"; src: url("../fonts/Hind-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ColorMag rechnet mit html = 10px; im neuen Layout 10 % größer */
html:has(body.stb-neu) { font-size: 11px; }

body.stb-neu {
	--stb-magenta: #b01d57;      /* Kreuz im Briefkopf */
	--stb-magenta-hell: #f8e9ef;
	--stb-grau-logo: #6e6e6e;
	--stb-linie-logo: #8a8a8a;
	--stb-blau: #466f8f;           /* Taubenblau, warm gedeckt: Menü, Titel */
	--stb-blau-hell: #6189a8;
	--stb-blau-text: #3a5f7c;
	--stb-knopf: #b01d57;          /* Logo-Rot für Knöpfe */
	--stb-knopf-text: #ffffff;
	--stb-knopf-hover: #92164a;
	--stb-flaeche: #f8f8f8;
	--stb-linie: #e1e5e8;
	--stb-text: #222b31;
	--stb-text-2: #5a6870;
	--stb-fuss: #34536b;
	--stb-nav-hover: #5a82a1;      /* Menü: Hover und Untermenü */
	--stb-nav-aktiv: #3a5d78;      /* Menü: aktive Seite */
	--stb-nav-linie: #b01d57;      /* Menü: Markierung der aktiven Seite in Logo-Rot */
	--stb-schrift-menue: 16px;     /* Hauptmenü und Reiter-Überschriften (Nächste Termine, Aktionen …) */
	--stb-schatten: 0 1px 3px rgba(0, 0, 0, .1);
	--stb-schrift: Frutiger, "Frutiger LT", "Hind", "Segoe UI", Calibri, Arial, sans-serif;

	background: #fff;
	color: var(--stb-text);
	font-size: 19px;
	line-height: 1.55;
}

/* Schrift: die alte Regel in style.css setzt Open Sans auf fast alle Elemente */
body.stb-neu,
body.stb-neu :is(button, input, select, textarea, p, h1, h2, h3, h4, h5, h6, a, ul, li, ol, span, div, b, small) {
	font-family: var(--stb-schrift);
}
body.stb-neu :is(h1, h2, h3, h4) { font-weight: 600; }
body.stb-neu #page { background: #fff; box-shadow: none; }

/* ------------------------------------------------------------------ */
/* Kopf nach dem Briefkopf                                             */
/* ------------------------------------------------------------------ */

body.stb-neu #cm-header-1 { display: none; }

.stb-neu .stb-kopf { background: #fff; }
.stb-neu .stb-kopf__innen {
	max-width: 1140px; margin: 0 auto; padding: 18px 0;
	display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(150px, auto) auto;
	align-items: center; column-gap: 16px;
}
.stb-neu .stb-kopf a { text-decoration: none; }
.stb-neu .stb-kopf__links { text-align: right; position: relative; min-width: 0; }
.stb-neu .stb-kopf__links::before,
.stb-neu .stb-kopf__rechts::after {
	content: ""; position: absolute; top: 1.05em; height: 1px; background: var(--stb-linie-logo);
}
.stb-neu .stb-kopf__links::before { left: 0; right: 0; }
.stb-neu .stb-kopf__rechts { position: relative; display: block; }
.stb-neu .stb-kopf__rechts::after { left: 0; right: -24px; }
.stb-neu .stb-kopf__pfarrei,
.stb-neu .stb-kopf__sankt {
	position: relative; z-index: 1; background: #fff;
	font-weight: 700; font-size: 29px; line-height: 1.3; color: var(--stb-grau-logo);
}
.stb-neu .stb-kopf__pfarrei { padding-left: 10px; }
.stb-neu .stb-kopf__sankt { padding-right: 10px; display: inline-block; }
.stb-neu .stb-kopf__orte {
	display: block; margin-top: 6px; font-size: 16px; white-space: nowrap; overflow: hidden; color: var(--stb-magenta);
}
.stb-neu .stb-kopf__orte a { color: var(--stb-magenta); }
.stb-neu .stb-kopf__orte a:hover { text-decoration: underline; }
.stb-neu .stb-kopf__orte i { font-style: normal; margin-inline: 4px; }
.stb-neu .stb-kopf__wiesbaden { display: block; margin-top: 6px; font-size: 18px; letter-spacing: .32em; color: var(--stb-magenta); }
.stb-neu .stb-kopf__kreuz img { display: block; width: 80px; height: auto; }
.stb-neu .stb-kopf__kontakt {
	margin-left: 24px; padding-left: 16px; border-left: 1px solid var(--stb-linie-logo);
	font-size: 16px; line-height: 1.5; color: var(--stb-magenta);
}
.stb-neu .stb-kopf__kontakt b { display: block; color: var(--stb-grau-logo); font-weight: 700; }
.stb-neu .stb-kopf__kontakt a { color: var(--stb-magenta); }

/* ------------------------------------------------------------------ */
/* Menüleiste: linksbündig, ohne Haus-Symbol                            */
/* ------------------------------------------------------------------ */

/* Menüband nur so breit wie der Inhalt (1140px), nicht über die ganze Seite */
body.stb-neu #cm-primary-nav { background: transparent; border: 0; }
body.stb-neu #cm-primary-nav .cm-container { max-width: 1140px; margin: 0 auto; padding: 0; background: var(--stb-blau); }
body.stb-neu #cm-primary-nav .cm-home-icon { display: none; }
/* Menüpunkte: Text bündig mit dem Seitenrand, Hover-Fläche trotzdem mit Innenabstand */
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul { margin-left: 0; }
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li { padding: 0 11px 0 0; background: none; transition: background-color .15s; }
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li > a {
	font-weight: 600; font-size: var(--stb-schrift-menue); letter-spacing: 0; text-transform: uppercase; padding-left: 11px; padding-right: 0; color: #fff; /* rechts: Pfeil (22px) + 11px am li */
	padding-top: 15px; padding-bottom: 15px; line-height: 28px;
}

/* Hover, Fokus, aktive Seite – eine Farbe für alle Zustände (helleres Blau);
   die aktive Seite trägt zusätzlich die rote Markierung (oben: Linie unten, Untermenü: Strich links) */
body.stb-neu #cm-primary-nav ul li:hover,
body.stb-neu #cm-primary-nav ul li.focus,
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor, .current-menu-parent) {
	background-color: var(--stb-nav-hover);
}
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor, .current-menu-parent) {
	box-shadow: inset 0 -3px 0 var(--stb-nav-linie);
}
body.stb-neu #cm-primary-nav a:hover { color: #fff; }
/* Link und Pfeil ohne eigenen Hintergrund: die Farbe kommt nur vom ganzen Menüpunkt (li).
   ColorMag färbt sonst den Link beim Hover/aktiv in einem etwas anderen Blau. */
body.stb-neu #cm-primary-nav li > a,
body.stb-neu #cm-primary-nav li:hover > a,
body.stb-neu #cm-primary-nav li > a:is(:hover, :focus, :active),
body.stb-neu #cm-primary-nav li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor, .current-menu-parent) > a,
body.stb-neu #cm-primary-nav .cm-submenu-toggle { background: transparent !important; }

/* Untermenüs: dunkleres Blau, Hover und aktive Seite wie oben im helleren Blau */
body.stb-neu .cm-primary-nav .sub-menu { background: var(--stb-nav-aktiv); }
body.stb-neu #cm-primary-nav .sub-menu li { background: none; }
body.stb-neu #cm-primary-nav .sub-menu li a { color: #fff; }
body.stb-neu #cm-primary-nav .sub-menu li:hover,
body.stb-neu #cm-primary-nav .sub-menu li.focus,
body.stb-neu #cm-primary-nav .sub-menu li:is(.current-menu-item, .current_page_item, .current-menu-ancestor) { background-color: var(--stb-nav-hover); }
body.stb-neu #cm-primary-nav .sub-menu li:is(.current-menu-item, .current_page_item) { box-shadow: inset 3px 0 0 var(--stb-nav-linie); }

/* Spendenknopf: jeder Menüpunkt der obersten Ebene, der auf /spenden zeigt – rechts, in Logo-Rot */
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]) {
	margin-left: auto; padding-right: 0; float: none; background: var(--stb-knopf); border-bottom: 0; box-shadow: none;
}
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]):hover { background: var(--stb-knopf-hover); }
body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]) > a { padding-left: 16px; padding-right: 16px; background: none; color: var(--stb-knopf-text); }

/* Untermenü per Antippen geöffnet (js/neu.js, Touch-Geräte mit Desktop-Menü) */
body.stb-neu #cm-primary-nav:not(.cm-mobile-nav) ul li.stb-offen > ul { display: block; left: 0; }
body.stb-neu #cm-primary-nav:not(.cm-mobile-nav) ul ul li.stb-offen > ul { left: 100%; }

/* Mobiles Menü (ColorMag setzt #cm-primary-nav.cm-mobile-nav): der ausgeklappte Bereich liegt absolut über dem
   Inhalt. Die Menüpunkte haben oben keinen eigenen Hintergrund, daher hier Fläche und Ebene, sonst scheint der
   Aufmacher durch und sein Text liegt über dem Menü. */
body.stb-neu #cm-primary-nav.cm-mobile-nav { position: relative; z-index: 1000; }
body.stb-neu #cm-primary-nav.cm-mobile-nav .cm-menu-primary-container {
	background: var(--stb-blau); z-index: 1000; box-shadow: 0 6px 16px rgba(0, 0, 0, .25);
}

/* ------------------------------------------------------------------ */
/* Abschnittstitel: Reiter mit abgerundeten Ecken                       */
/* ------------------------------------------------------------------ */

body.stb-neu .cm-widget-title,
body.stb-neu .widget-title { border-bottom: 2px solid var(--stb-blau); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; }
body.stb-neu .cm-widget-title span,
body.stb-neu .widget-title span {
	background: var(--stb-blau); color: #fff; font-size: var(--stb-schrift-menue); font-weight: 600; line-height: 1.6;
	padding: 6px 16px 3px; border-radius: 3px 3px 0 0;
}
body.stb-neu .cm-widget-title a,
body.stb-neu .widget-title a,
body.stb-neu section.widget h3.widget-title a.more { color: var(--stb-blau-text); font-size: 16px; font-weight: 600; padding: 0 0 4px; text-decoration: none; }

/* ------------------------------------------------------------------ */
/* Startseite: Reihenfolge der vorhandenen Widgets per Grid             */
/* Hauptspalte und Seitenleiste werden aufgelöst (display: contents),   */
/* die Widgets ordnen sich über "order" neu. Widget-IDs aus dem Admin.  */
/* ------------------------------------------------------------------ */

body.stb-neu.stb-start #cm-content { padding-top: 24px; }
body.stb-neu.stb-start #cm-content > .cm-container > .cm-row {
	/* zwei gleich breite Spalten, Abstand wie bei den Kacheln (12px), damit die Kanten fluchten */
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-flow: row dense; column-gap: 12px; row-gap: 0; margin: 0;
}
body.stb-neu.stb-start #cm-primary,
body.stb-neu.stb-start #cm-secondary { display: contents; }
body.stb-neu.stb-start :where(#cm-primary, #cm-secondary) > .widget { grid-column: 1 / -1; order: 100; margin: 0 0 32px; min-width: 0; }

/* Oben: Aufmacher links, Anmeldungen rechts */
body.stb-neu.stb-start #colormag_featured_posts_slider_widget-14 { grid-column: 1 / -1; order: 10; }
/* Podcast (Ultimate Posts #sticky-posts-36): direkt unter dem Aufmacher, ganze Breite.
   Erscheint nur, solange ein neuer Podcast da ist (inc/podcast-widget.php). */
body.stb-neu.stb-start #sticky-posts-36 { grid-column: 1 / -1; order: 15; }
body.stb-neu.stb-start #text-25 { grid-column: 2; order: 21; } /* rechts neben den Terminen */
/* Termine, Schnellzugriff */
body.stb-neu.stb-start .widget:has(.stb-termine) { order: 20; grid-column: 1; align-self: start; }

/* Startseite: Termine links als Liste, Anmeldungen rechts untereinander */
body.stb-neu.stb-start .stb-termine__leiste { grid-template-columns: 1fr !important; }
body.stb-neu.stb-start .stb-termin {
	display: grid; grid-template-columns: 150px minmax(0, 1fr); column-gap: 16px; align-items: baseline;
	padding: 11px 16px; border-left: 0 !important; border-top: 1px solid var(--stb-linie) !important;
}
body.stb-neu.stb-start .stb-termin:first-child { border-top: 0 !important; }
body.stb-neu.stb-start .stb-termin__datum { grid-row: 1 / 3; }
body.stb-neu.stb-start #text-25 .textwidget { grid-template-columns: 1fr; }
/* Kurzmitteilungen: ganze Breite unter Terminen und Anmeldungen */
body.stb-neu.stb-start .widget:has(.stb-kurz) { order: 23; grid-column: 1 / -1; }
body.stb-neu.stb-start .widget:has(.stb-kurz--leer) { display: none; } /* Startseite: ohne Mitteilung ausblenden */
body.stb-neu.stb-start .widget:has(.stb-kacheln) { order: 25; }
/* Aktuelle Beiträge */
body.stb-neu.stb-start #text-43 { order: 30; margin-bottom: 0; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 { order: 31; }
/* Aktionen, Spendenaktion */
body.stb-neu.stb-start #text-39 { order: 40; }
body.stb-neu.stb-start .widget:has(.stb-spenden) { order: 45; }
body.stb-neu.stb-start #custom_html-9 { order: 45; grid-column: 2; }
/* Mitteilungen, Jetzt mitmachen */
body.stb-neu.stb-start #text-29 { order: 50; margin-bottom: 0; }
body.stb-neu.stb-start #category-posts-4 { order: 51; }
/* Kirchorte */
body.stb-neu.stb-start .widget:has(.stb-kirchorte) { order: 60; }
/* St. Birgid hilft / Jetzt mitmachen: drei Kacheln unter den Kirchorten */
body.stb-neu.stb-start #text-30 { order: 65; margin-bottom: 0; }
body.stb-neu.stb-start #sticky-posts-17 { order: 66; }

/* Entfällt bzw. wird durch die neuen Bausteine ersetzt */
/* Gemeindebrief, Kurzmitteilungen, KiTas, Newsletter, Suche, Schlagwörter:
   gehören laut Entwurf in die Fußzeile bzw. entfallen auf der Startseite */
body.stb-neu.stb-start :is(#text-23, #text-3, #mailpoet_form-2, #text-46, #tag_cloud-3, #block-2) { display: none; }
body.stb-neu.stb-start:has(.stb-termine) #custom_html-7 { display: none; }
body.stb-neu.stb-start:has(.stb-spenden) #custom_html-9 { display: none; }
/* Solange der Kalender noch als iframe kommt: unten rechts neben den Beiträgen */
body.stb-neu.stb-start #custom_html-7 { order: 46; grid-column: 1; }

/* Widgets, die nur einen Shortcode enthalten, brauchen keinen eigenen Rahmen */
body.stb-neu .widget:has(:is(.stb-termine, .stb-kacheln, .stb-spenden, .stb-kirchorte, .stb-kurz:not(.stb-kurz--leer))) > .cm-widget-title { display: none; }

/* Aufmacher (Slider) */
body.stb-neu .cm-featured-category-slider { margin-bottom: 0; border-radius: 4px; overflow: hidden; }
body.stb-neu .cm-featured-category-slider .cm-slide-content { padding: 28px; }
body.stb-neu .cm-featured-category-slider .cm-slide-content .cm-entry-title { font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.25; }

/* Eigener Aufmacher (ersetzt den ColorMag-Slider, siehe stb_aufmacher_html) */
body.stb-neu .stb-aufmacher { position: relative; overflow: hidden; border-radius: 3px; background: var(--stb-fuss); aspect-ratio: 16 / 7; max-height: 520px; width: 100%; }
body.stb-neu .stb-aufmacher__spur { display: flex; height: 100%; transition: transform .6s ease; }
body.stb-neu .stb-aufmacher__folie { position: relative; flex: 0 0 100%; height: 100%; }
body.stb-neu .stb-aufmacher__bild,
body.stb-neu .stb-aufmacher__bild img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; }
body.stb-neu .stb-aufmacher__text {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 110px 28px 46px;
	/* dunkler, halbtransparenter Decker hinter Titel und Anriss, nach oben in transparent auslaufend */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, .45) 35%, rgba(0, 0, 0, .72) 65%, rgba(0, 0, 0, .8) 100%);
	color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
body.stb-neu .stb-aufmacher__text h2 { margin: 0 0 8px; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; font-weight: 600; }
body.stb-neu .stb-aufmacher__text h2 a { color: #fff; text-decoration: none; }
body.stb-neu .stb-aufmacher__text h2 a:hover { text-decoration: underline; }
body.stb-neu .stb-aufmacher__text p {
	margin: 0; max-width: 80%; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92);
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; /* Sicherheit bei sehr langem Anriss */
}
body.stb-neu .stb-aufmacher__pfeil {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer; opacity: .85; transition: background-color .15s, opacity .15s;
}
body.stb-neu .stb-aufmacher__pfeil::before {
	content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 11px;
	border-top: 2.5px solid #fff; border-right: 2.5px solid #fff;
}
body.stb-neu .stb-aufmacher__pfeil--zurueck { left: 14px; }
body.stb-neu .stb-aufmacher__pfeil--zurueck::before { transform: translate(-30%, -50%) rotate(-135deg); }
body.stb-neu .stb-aufmacher__pfeil--weiter { right: 14px; }
body.stb-neu .stb-aufmacher__pfeil--weiter::before { transform: translate(-70%, -50%) rotate(45deg); }
body.stb-neu .stb-aufmacher__pfeil:hover,
body.stb-neu .stb-aufmacher__pfeil:focus-visible { background: var(--stb-knopf); opacity: 1; }
body.stb-neu .stb-aufmacher__punkte { position: absolute; left: 28px; bottom: 18px; display: flex; gap: 8px; }
body.stb-neu .stb-aufmacher__punkte button {
	width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .5); cursor: pointer;
}
body.stb-neu .stb-aufmacher__punkte button[aria-current="true"] { background: #fff; width: 26px; border-radius: 5px; }
body.stb-neu .stb-aufmacher button:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Anmeldungen: Karten mit Bild (Beitragsbild der verlinkten Seite, siehe stb_anmeldungen_bilder), Titel und Knopf.
   Oben ausgerichtet, damit unter weiteren Anmeldungen Platz bleibt. */
body.stb-neu.stb-start #text-25 { align-self: start; }
body.stb-neu #text-25 .textwidget { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; }
body.stb-neu #text-25 hr { display: none; }
body.stb-neu #text-25 p { margin: 0; }
body.stb-neu #text-25 a.registration {
	display: grid; grid-template-columns: 116px minmax(0, 1fr); grid-template-rows: 1fr auto; column-gap: 14px; row-gap: 6px;
	min-height: 88px; padding: 10px 12px 10px 0; overflow: hidden; align-items: start;
	background: #fff; border: 1px solid var(--stb-linie); border-radius: 3px; box-shadow: var(--stb-schatten);
	font-size: 19px; font-weight: 600; line-height: 1.3; color: var(--stb-text); text-decoration: none;
	transition: box-shadow .15s, border-color .15s;
}
body.stb-neu #text-25 a.registration img { display: none; }
body.stb-neu #text-25 a.registration img.stb-anm-bild {
	display: block; grid-row: 1 / 3; align-self: stretch; width: 116px; height: calc(100% + 20px); min-height: 88px; margin: -10px 0 !important; object-fit: cover;
	filter: none !important; -webkit-filter: none !important; border-radius: 0;
}
body.stb-neu #text-25 a.registration img.stb-anm-symbol { object-fit: contain; padding: 18px; background: var(--stb-blau); }
body.stb-neu #text-25 a.registration::after {
	content: "Anmelden"; justify-self: start; align-self: end;
	border: 1px solid var(--stb-knopf); color: var(--stb-knopf);
	font-size: 16px; font-weight: 600; padding: 3px 10px 1px; border-radius: 3px;
}
body.stb-neu #text-25 a.registration:hover { border-color: var(--stb-knopf); box-shadow: 0 3px 10px rgba(0, 0, 0, .12); }
body.stb-neu #text-25 a.registration:hover::after { background: var(--stb-knopf); color: var(--stb-knopf-text); }

/* Aktionen: farbige Kacheln */
body.stb-neu #text-39 .textwidget { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; } /* gleiche Spalten wie der Schnellzugriff (.stb-kacheln) */
body.stb-neu #text-39 hr { display: none; }
body.stb-neu #text-39 p { margin: 0; display: flex; }
body.stb-neu #text-39 a {
	flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 120px;
	padding: 18px 16px; border-radius: 4px; background: var(--stb-blau); color: #fff;
	font-size: 19px !important; font-weight: 600; line-height: 1.3; text-decoration: none;
}
body.stb-neu #text-39 p:nth-of-type(2) a { background: var(--stb-blau-hell); }
body.stb-neu #text-39 a[href*="blaue-wand"] { background: #2b5cb8; } /* kräftiger, damit es sich vom Taubenblau abhebt */
body.stb-neu #text-39 a[href*="bring-dich-ein"] { background: #d9822b; color: #fff; }
/* Symbole einfarbig weiß (eigene SVG-Zeichnungen statt der farbigen Bilder aus der Mediathek) */
body.stb-neu #text-39 a img.button { display: none !important; }
body.stb-neu #text-39 a::before {
	content: ""; display: block; width: 40px; height: 40px;
	background: no-repeat center / contain;
}
body.stb-neu #text-39 a[href*="shirts"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 3 4 5.5 2.5 9.5l3 1.5L7 9.5V21h10V9.5l1.5 1.5 3-1.5L20 5.5 16 3c-.8 1.6-2.3 2.5-4 2.5S8.8 4.6 8 3z'/%3E%3C/svg%3E"); } /* T-Shirt */
body.stb-neu #text-39 a[href*="podcasts"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15v-3a8 8 0 0 1 16 0v3'/%3E%3Crect x='2.5' y='14' width='4.5' height='6.5' rx='1.5'/%3E%3Crect x='17' y='14' width='4.5' height='6.5' rx='1.5'/%3E%3C/svg%3E"); } /* Kopfhörer */
body.stb-neu #text-39 a[href*="karl"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 16.5V7h10v9.5'/%3E%3Cpath d='M12.5 10h4.2l3.3 3.8v2.7h-1'/%3E%3Cpath d='M12.5 16.5h3'/%3E%3Cpath d='M2.5 16.5h1.5'/%3E%3Ccircle cx='6.5' cy='17' r='2'/%3E%3Ccircle cx='17.5' cy='17' r='2'/%3E%3Cpath d='M14 10v3h5'/%3E%3C/svg%3E"); } /* Dreirad-Fahrzeug */
body.stb-neu #text-39 a[href*="blaue-wand"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 9.7h18M3 14.3h18M9 5v4.7M15 5v4.7M6 9.7v4.6M12 9.7v4.6M18 9.7v4.6M9 14.3V19M15 14.3V19'/%3E%3C/svg%3E"); } /* Mauer */
body.stb-neu #text-39 a[href*="bring-dich-ein"]::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 9.7h18M3 14.3h18M9 5v4.7M15 5v4.7M6 9.7v4.6M12 9.7v4.6M18 9.7v4.6M9 14.3V19M15 14.3V19'/%3E%3C/svg%3E"); } /* Mauer */
body.stb-neu #text-39 a { transition: transform .15s, box-shadow .15s, filter .15s; }
body.stb-neu #text-39 a:hover,
body.stb-neu #text-39 a:focus-visible { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0, 0, 0, .18); filter: brightness(1.08); color: #fff; }
body.stb-neu #text-39 a:hover::before { transform: scale(1.08); }
body.stb-neu #text-39 a::before { transition: transform .15s; }

/* St. Birgid hilft (Widget „Ultimate Posts“ #sticky-posts-17): drei Kacheln mit Bild, Titel, kurzem Text.
   Die ganze Kachel verlinkt auf den Beitrag; weitere Absätze und Links im Text sind ausgeblendet. */
body.stb-neu #sticky-posts-17 .upw-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.stb-neu #sticky-posts-17 article.post {
	position: relative; display: flex; flex-direction: column; margin: 0 !important; padding: 0 0 16px;
	background: var(--stb-flaeche); box-shadow: var(--stb-schatten); border-radius: 3px; overflow: hidden;
	transition: box-shadow .15s;
}
body.stb-neu #sticky-posts-17 article.post:hover { box-shadow: 0 2px 10px rgba(0, 0, 0, .15); }
body.stb-neu #sticky-posts-17 .entry-image { float: none; width: auto; margin: 0; }
body.stb-neu #sticky-posts-17 .entry-image a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
body.stb-neu #sticky-posts-17 .entry-image img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; }
body.stb-neu #sticky-posts-17 .entry-content { background: none; padding: 12px 16px 0; margin: 0; display: flex; flex-direction: column; flex: 1; }
body.stb-neu #sticky-posts-17 .entry-content h3 { font-size: 22px; font-weight: 600; margin: 0 0 6px; }
body.stb-neu #sticky-posts-17 .entry-content p { display: none; }
body.stb-neu #sticky-posts-17 .entry-content p:first-of-type {
	display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden;
	margin: 0; font-size: 16px; line-height: 1.5; color: var(--stb-text-2);
}
body.stb-neu #sticky-posts-17 .entry-content p:first-of-type :is(a, strong, b) { color: inherit; font-weight: inherit; }
body.stb-neu #sticky-posts-17 .entry-content p:first-of-type br { display: none; }
body.stb-neu #sticky-posts-17 .entry-content::after {
	content: "Mehr erfahren →"; margin-top: auto; padding-top: 10px; font-size: 16px; font-weight: 600; color: var(--stb-magenta);
}
body.stb-neu #sticky-posts-17 footer { display: none; }

/* Podcast (Ultimate Posts #sticky-posts-36): ein Beitrag mit Podlove-Player auf hellblauer Fläche */
body.stb-neu #sticky-posts-36 article.post {
	margin: 0 !important; padding: 16px 20px; background: #e9f1f5 !important; border-radius: 3px; box-shadow: var(--stb-schatten);
}
body.stb-neu #sticky-posts-36 :is(.entry-image, footer) { display: none; }
body.stb-neu #sticky-posts-36 .entry-content { background: none; padding: 0; margin: 0; }
body.stb-neu #sticky-posts-36 .entry-content h3 { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
body.stb-neu #sticky-posts-36 .entry-content h3 a { color: var(--stb-text); text-decoration: none; }
body.stb-neu #sticky-posts-36 .entry-content p { margin: 0; }

/* Aktuelle Beiträge: Kacheln in drei Spalten */
body.stb-neu.stb-start #colormag_featured_posts_widget-14 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-posts { display: contents; }
/* Eigene Kacheln (stb_beitraege_html): Bild, Titel, Anriss, „Weiterlesen“ unten bündig */
body.stb-neu .stb-beitrag {
	display: flex; flex-direction: column; margin: 0; background: var(--stb-flaeche); box-shadow: var(--stb-schatten);
	border-radius: 3px; overflow: hidden; transition: box-shadow .15s;
}
body.stb-neu .stb-beitrag:hover { box-shadow: 0 3px 12px rgba(0, 0, 0, .14); }
body.stb-neu .stb-beitrag__bild img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; margin: 0; }
body.stb-neu .stb-beitrag__text { display: flex; flex-direction: column; flex: 1; padding: 12px 16px 16px; }
body.stb-neu .stb-beitrag h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; font-weight: 600; text-align: left; }
body.stb-neu .stb-beitrag h3 a { color: var(--stb-text); text-decoration: none; }
body.stb-neu .stb-beitrag h3 a:hover { color: var(--stb-blau-text); }
body.stb-neu .stb-beitrag p { margin: 0 0 12px; font-size: 16px; line-height: 1.5; color: var(--stb-text-2); }
body.stb-neu .stb-beitrag__mehr { margin-top: auto; align-self: flex-start; font-size: 16px; font-weight: 600; color: var(--stb-magenta); text-decoration: none; }
body.stb-neu .stb-beitrag__mehr::after { content: " →"; }
body.stb-neu .stb-beitrag__mehr:hover { text-decoration: underline; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-posts .cm-post:nth-child(n+6) { display: none; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post {
	display: flex; flex-direction: column; margin: 0; padding: 0 0 14px; width: auto; float: none;
	background: var(--stb-flaeche); box-shadow: var(--stb-schatten);
}
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-first-post { width: auto; float: none; margin: 0; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0; display: block; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post-content { padding: 10px 14px 0; margin: 0; width: auto; float: none; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-entry-title { font-size: 21px; line-height: 1.3; font-weight: 600; margin: 0; text-align: left; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 :is(.cm-post, .cm-post-content, .cm-entry-summary) { text-align: left; }
/* ColorMag zentriert die Kachelinhalte (align-items: center): kurze Titel stünden sonst mittig */
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post { align-items: stretch; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post-content { align-self: stretch; width: auto; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-entry-title a { color: var(--stb-text); }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-entry-summary { font-size: 18px; color: var(--stb-text-2); margin-top: 6px; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-entry-summary p { margin: 0; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 :is(.cm-entry-header-meta, .cm-post-categories) { display: none; }
body.stb-neu.stb-start #colormag_featured_posts_widget-14 .cm-post-categories a {
	background: none !important; color: var(--stb-magenta) !important; padding: 0; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}


/* ------------------------------------------------------------------ */
/* Bausteine aus den Shortcodes                                         */
/* ------------------------------------------------------------------ */

body.stb-neu .stb-eyebrow { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stb-magenta); }
body.stb-neu .stb-knopf { display: inline-block; background: var(--stb-knopf); color: var(--stb-knopf-text); font-weight: 600; font-size: 18px; padding: 9px 16px 7px; border-radius: 4px; text-decoration: none; }
body.stb-neu .stb-knopf:hover { background: var(--stb-knopf-hover); color: var(--stb-knopf-text); }

/* Nächste Termine */
body.stb-neu .stb-termine .cm-widget-title { margin-bottom: 0; }
body.stb-neu .stb-termine__leiste {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch;
	background: var(--stb-flaeche); border-bottom: 1px solid var(--stb-linie);
}
body.stb-neu .stb-termin { padding: 10px 14px; border-left: 1px solid var(--stb-linie); min-width: 0; line-height: 1.35; }
body.stb-neu .stb-termin:first-child { border-left: 0; }
body.stb-neu .stb-termin__datum { display: block; font-size: 16px; font-weight: 600; color: var(--stb-magenta); font-variant-numeric: tabular-nums; }
body.stb-neu .stb-termin__titel { display: block; font-weight: 600; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.stb-neu .stb-termin__ort { display: block; font-size: 16px; color: var(--stb-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Schnellzugriff */
body.stb-neu .stb-kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
body.stb-neu .stb-kachel {
	display: flex; flex-direction: column; gap: 8px; padding: 16px 14px; text-decoration: none;
	background: var(--stb-flaeche); border: 1px solid var(--stb-linie); border-radius: 4px; box-shadow: var(--stb-schatten);
	color: var(--stb-text); transition: border-color .15s, transform .15s;
}
body.stb-neu .stb-kachel:hover { border-color: var(--stb-blau); transform: translateY(-2px); color: var(--stb-text); }
body.stb-neu .stb-kachel svg { width: 28px; height: 28px; stroke: var(--stb-blau-text); fill: none; stroke-width: 1.7; }
body.stb-neu .stb-kachel b { font-size: 18px; line-height: 1.3; font-weight: 600; }
body.stb-neu .stb-kachel small { font-size: 16px; line-height: 1.35; color: var(--stb-text-2); }

/* Spendenstand */
body.stb-neu .stb-spenden {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center;
	background: var(--stb-magenta-hell); padding: 32px; border-radius: 4px;
}
body.stb-neu .stb-spenden h2 { color: var(--stb-magenta); font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; margin: 4px 0 0; } /* wie die Slider-Überschrift */
body.stb-neu .stb-spenden p { margin: 10px 0 0; font-size: 17px; line-height: 1.5; } /* wie der Anriss im Slider */
body.stb-neu .stb-spenden p a { color: var(--stb-magenta); }
body.stb-neu .stb-spenden__stand { background: #fff; border: 1px solid var(--stb-linie); border-radius: 4px; padding: 20px; }
body.stb-neu .stb-spenden__zahlen { display: flex; justify-content: space-between; gap: 12px; font-size: 18px; color: var(--stb-text-2); font-variant-numeric: tabular-nums; }
body.stb-neu .stb-spenden__zahlen b { font-size: 25px; color: var(--stb-text); }
body.stb-neu .stb-spenden__balken { height: 14px; margin: 10px 0; border-radius: 7px; overflow: hidden; background: var(--stb-flaeche); border: 1px solid var(--stb-linie); }
body.stb-neu .stb-spenden__balken div { height: 100%; background: var(--stb-magenta); }
body.stb-neu .stb-spenden .stb-knopf { margin-top: 12px; }

/* Kurzmitteilungen (Sprechblasen) */
body.stb-neu .stb-kurz .cm-widget-title { margin-bottom: 14px; }
body.stb-neu .stb-kurz__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 14px 24px; padding-left: 12px; }
body.stb-neu .stb-kurz__blase {
	position: relative; background: var(--stb-blau); color: #fff; border-radius: 0 10px 10px 10px;
	padding: 12px 16px 10px; line-height: 1.45; align-self: start;
}
body.stb-neu .stb-kurz__blase::before { /* Spitze oben links */
	content: ""; position: absolute; left: -12px; top: 0; border-style: solid; border-width: 0 12px 12px 0;
	border-color: transparent var(--stb-blau) transparent transparent;
}
body.stb-neu .stb-kurz__blase p { margin: 0; font-size: 18px; overflow-wrap: anywhere; color: #fff; }
body.stb-neu .stb-kurz__blase time { display: block; margin-top: 6px; text-align: right; font-size: 14px; opacity: .85; font-variant-numeric: tabular-nums; }
/* Keine aktuelle Kurzmitteilung: Platz bleibt, ruhiger Hinweis */
body.stb-neu .stb-kurz--leer::after {
	content: "Im Moment gibt es keine aktuelle Kurzmitteilung."; display: block; padding: 12px 16px;
	background: var(--stb-flaeche); border-left: 3px solid var(--stb-blau-hell); color: var(--stb-text-2); font-size: 16px;
}
body.stb-neu .stb-kurz--leer .stb-kurz__keine { display: none; }

/* Kirchorte */
body.stb-neu .stb-kirchorte__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; }
body.stb-neu .stb-ort { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--stb-linie); text-decoration: none; color: var(--stb-text); }
body.stb-neu .stb-ort b { font-weight: 600; font-size: 20px; }
body.stb-neu .stb-ort span { color: var(--stb-magenta); font-size: 16px; white-space: nowrap; }
body.stb-neu .stb-ort:hover b { color: var(--stb-blau-text); }

/* ------------------------------------------------------------------ */
/* Unterseiten (Seiten und Beiträge)                                    */
/* ------------------------------------------------------------------ */

/* Zwei Spalten: Inhalt und schmale Seitenleiste */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #cm-content { padding-top: 28px; padding-bottom: 48px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #cm-content > .cm-container > .cm-row {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; margin: 0;
}
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(#cm-primary, #cm-secondary) { width: auto; max-width: none; float: none; padding: 0; margin: 0; }

/* Brotkrumen */
body.stb-neu .stb-brotkrumen { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 14px; font-size: 16px; color: var(--stb-text-2); }
body.stb-neu .stb-brotkrumen a { color: var(--stb-blau-text); text-decoration: none; }
body.stb-neu .stb-brotkrumen a:hover { text-decoration: underline; }
body.stb-neu .stb-brotkrumen i { font-style: normal; color: var(--stb-linie-logo); }
body.stb-neu .stb-brotkrumen span { color: var(--stb-text-2); }

/* Seitentitel und Beitrag */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) .cm-posts article { padding: 0; margin: 0; border: 0; box-shadow: none; background: none; }
/* Inhalt bündig mit dem Hauptmenü: ColorMag setzt bei Beiträgen 20px Innenabstand um .cm-post-content */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-posts, .cm-post-content, .cm-featured-image, .cm-entry-header, .cm-entry-summary, .cm-entry-content) { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) .cm-post-content { padding-top: 0; padding-bottom: 0; background: none; box-shadow: none; border: 0; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) .cm-entry-header { padding: 0; margin: 0 0 22px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) .cm-entry-header .cm-entry-title,
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) h1.cm-entry-title {
	margin: 0; padding: 0 0 14px; border-bottom: 3px solid var(--stb-blau);
	font-size: clamp(30px, 3vw, 40px); line-height: 1.15; font-weight: 600; color: var(--stb-text);
}
body.stb-neu.single .cm-featured-image img,
body.stb-neu.single .cm-posts article > img { width: 100%; height: auto; border-radius: 3px; margin: 0 0 22px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-header-meta, .cm-below-entry-meta) { display: none; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) .cm-entry-footer:empty { display: none; }

/* Lesetext */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .cm-entry-content, .entry-content) {
	max-width: none; padding: 0; font-size: 19px; line-height: 1.65; color: var(--stb-text);
}
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) p { margin: 0 0 .75em; font-size: inherit; line-height: inherit; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) :is(h2, h3, h4) {
	margin: 1.4em 0 .5em; line-height: 1.25; font-weight: 600; color: var(--stb-blau-text);
}
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) h2 { font-size: 28px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) h3 { font-size: 23px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) h4 { font-size: 20px; color: var(--stb-text); }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) > :first-child { margin-top: 0; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) a:not(.stb-knopf) { color: var(--stb-magenta); text-decoration: underline; text-underline-offset: 2px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) :is(ul, ol) { margin: 0 0 1em; padding-left: 1.3em; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) li { font-size: inherit; line-height: inherit; margin: 0 0 .35em; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) img { height: auto; border-radius: 3px; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) figcaption { font-size: 16px; color: var(--stb-text-2); }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) blockquote {
	margin: 1em 0; padding: 12px 18px; background: var(--stb-flaeche); border-left: 4px solid var(--stb-blau); color: var(--stb-text); font-style: normal;
}
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) table { width: 100%; border-collapse: collapse; margin: 0 0 1em; }
/* Eine Schriftgröße für Fließtext, Links, Aufzählungen und Tabellen – auch gegen feste Größen im Seiteninhalt
   (z. B. <ul style="font-size:14px">) und die alten Regeln aus style.css (.entry-content li, a.pdf).
   Überschriften und Bildunterschriften behalten ihre eigene Größe. */
body.stb-neu:not(.stb-news):is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) :is(p, ul, ol, li, dl, dt, dd, table, tbody, tr, td, th, a, span, strong, b, em, i, u, font, div, blockquote) {
	font-size: inherit !important; line-height: inherit;
}
/* Kalender-Termine ([stb_kalender]): Größen gegen die einheitliche Textgröße im Inhalt */
body.stb-neu:is(.page, .single):not(.home) .stb-kal__monatstitel { font-size: 26px !important; }
body.stb-neu:is(.page, .single):not(.home) .stb-kal__datum span { font-size: 13px !important; }
body.stb-neu:is(.page, .single):not(.home) .stb-kal__datum b { font-size: 24px !important; }
body.stb-neu:is(.page, .single):not(.home) .stb-kal__ort { font-size: 16px !important; }
body.stb-neu:is(.page, .single):not(.home) :is(.stb-kal__quelle, .stb-kal__quelle a) { font-size: 16px !important; }

/* Pastoralteam-Karten: eigene, kleinere Größen statt der einheitlichen Textgröße */
body.stb-neu:is(.page, .single):not(.home) .stb-team-text strong { font-size: 18px !important; color: var(--stb-text); }
body.stb-neu:is(.page, .single):not(.home) .stb-team-text a { font-size: 15px !important; color: var(--stb-magenta) !important; text-decoration: none !important; }
body.stb-neu:is(.page, .single):not(.home) .stb-team-text a:hover { text-decoration: underline !important; }
body.stb-neu .stb-team-person { background: var(--stb-flaeche); box-shadow: var(--stb-schatten); }
body.stb-neu:is(.page, .single):not(.home) .stb-team-text .stb-team-rolle { font-size: 13px !important; color: var(--stb-blau-text); }
body.stb-neu:is(.page, .single):not(.home) .stb-team-text .stb-team-info { font-size: 15px !important; color: var(--stb-text-2); }
body.stb-neu .stb-team-hinweis { border-left-color: var(--stb-blau); }
/* Pfarrbrief-Archiv (Plugin stb-pfarrbriefe): ganze Karte ist ein Link – ohne Unterstreichung,
   „PDF öffnen (… MB)“ kleiner als der Fließtext */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) a.stb-pb-card { text-decoration: none !important; color: var(--stb-text) !important; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) a.stb-pb-card .stb-pb-meta span { font-size: 15px !important; color: var(--stb-text-2); }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) a.stb-pb-card:hover .stb-pb-meta span { color: var(--stb-magenta); }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) :is(td, th) { padding: 8px 10px; border: 0; border-bottom: 1px solid var(--stb-linie); text-align: left; vertical-align: top; }

/* Übersichten (Kategorie, Schlagwort, Archiv, Suche): Brotkrumen über dem Seitentitel, Titel wie bei Seiten,
   Beiträge als Kacheln in zwei Spalten */
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-page-header { padding: 0; margin: 0 0 24px; border: 0; background: none; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-page-header .cm-page-title {
	margin: 0; padding: 0 0 14px; border: 0; border-bottom: 3px solid var(--stb-blau);
	font-size: clamp(30px, 3vw, 40px); line-height: 1.15; font-weight: 600; color: var(--stb-text);
}
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-page-header .cm-page-title span {
	display: inline; padding: 0; background: none; border: 0; color: inherit; font-size: inherit; font-weight: inherit;
}
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-posts {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0;
}
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-posts article {
	grid-column: auto; width: auto; float: none; margin: 0; padding: 0 0 16px; background: var(--stb-flaeche); box-shadow: var(--stb-schatten); border-radius: 3px; overflow: hidden;
}
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-featured-image { margin: 0 0 12px; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-featured-image img { display: block; width: 100%; aspect-ratio: 16 / 10; height: auto; object-fit: cover; margin: 0; border-radius: 0; }
body.stb-neu:is(.archive, .search, .blog):not(.home) :is(.cm-entry-header, .cm-entry-summary) { padding: 0 16px !important; max-width: none; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-entry-header { margin: 0 0 6px; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-posts .cm-entry-title { margin: 0; padding: 0; border: 0; font-size: 21px; line-height: 1.3; font-weight: 600; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-entry-title a { color: var(--stb-text); text-decoration: none; }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-entry-title a:hover { color: var(--stb-blau-text); }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-entry-summary { font-size: 17px !important; color: var(--stb-text-2); }
body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-entry-summary p { margin: 0 0 8px; }
body.stb-neu:is(.archive, .search, .blog):not(.home) a.cm-entry-button,
body.stb-neu:is(.archive, .search, .blog):not(.home) a.cm-entry-button span {
	display: inline-block; padding: 0; margin: 0; background: none !important; border: 0; border-radius: 0; box-shadow: none;
	color: var(--stb-magenta) !important; text-decoration: none !important; font-weight: 600; font-size: 17px;
}
body.stb-neu:is(.archive, .search, .blog):not(.home) a.cm-entry-button span::after { content: " →"; }
/* Seitennummern unter der Liste */
body.stb-neu:is(.archive, .search, .blog):not(.home) :is(.pagination, .nav-links, .default-wp-page) { margin-top: 24px; font-size: 17px; }
body.stb-neu:is(.archive, .search, .blog):not(.home) :is(.pagination, .nav-links) a { color: var(--stb-blau-text); }

/* Seitenleiste auf Unterseiten: Spendenaktion, Kurzmitteilungen, Anmeldungen, Aktionen, Pfarrbrief, Termine.
   Eigene Kästen (.stb-seitenleiste) und drei vorhandene Widgets werden per order gemischt; übrige Widgets ausgeblendet. */
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #cm-secondary { display: flex; flex-direction: column; gap: 28px; }
body.stb-neu:not(.stb-news):is(.page, .single, .archive, .search, .blog):not(.home) #cm-secondary > .widget { display: none; margin: 0; }
body.stb-neu:not(.stb-news):is(.page, .single, .archive, .search, .blog):not(.home) #cm-secondary > :is(#text-25, #text-39, #text-23) { display: block; }
body.stb-neu .stb-seitenleiste { display: contents; }
body.stb-neu .stb-box--spenden { order: 1; }
body.stb-neu .stb-box--kurz { order: 2; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #text-25 { order: 3; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #text-39 { order: 4; }
body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #text-23 { order: 5; }
body.stb-neu .stb-box--termine { order: 6; }
body.stb-neu .stb-box .cm-widget-title { margin-bottom: 12px; }

/* Spendenaktion schmal: Text und Stand untereinander */
body.stb-neu .stb-seitenleiste .stb-spenden { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
body.stb-neu .stb-seitenleiste .stb-spenden h2 { font-size: 22px; }
body.stb-neu .stb-seitenleiste .stb-spenden p { font-size: 16px; }
body.stb-neu .stb-seitenleiste .stb-spenden .stb-eyebrow { display: none; }
body.stb-neu .stb-seitenleiste .stb-spenden__stand { padding: 14px; }
body.stb-neu .stb-seitenleiste .stb-spenden__zahlen { font-size: 14px; flex-wrap: wrap; }
body.stb-neu .stb-seitenleiste .stb-spenden__zahlen b { font-size: 20px; }
body.stb-neu .stb-seitenleiste .stb-spenden__zahlen span { white-space: nowrap; }
/* Aktionen schmal: zwei Spalten, niedrigere Kacheln */
body.stb-neu:not(.home) #cm-secondary #text-39 .textwidget { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
body.stb-neu:not(.home) #cm-secondary #text-39 a { min-height: 84px; padding: 12px; font-size: 16px !important; gap: 8px; }
body.stb-neu:not(.home) #cm-secondary #text-39 a::before { width: 30px; height: 30px; }
/* Kurzmitteilungen schmal: eine Spalte */
body.stb-neu .stb-seitenleiste .stb-kurz__liste { grid-template-columns: 1fr; gap: 12px; }
body.stb-neu .stb-seitenleiste .stb-kurz__blase p { font-size: 16px; }
/* Pfarrbrief: Titelbild unverändert (alte Regel macht es grau und blass), Link darunter */
body.stb-neu:not(.home) #cm-secondary #text-23 br { display: none; } /* Umbruch zwischen Titelbild und Archiv-Link */
body.stb-neu:not(.home) #cm-secondary #text-23 img.button { display: block; width: 100%; max-width: 100%; height: auto; margin: 0 0 6px; filter: none !important; -webkit-filter: none !important; border-radius: 3px; box-shadow: var(--stb-schatten); }
body.stb-neu:not(.home) #cm-secondary #text-23 p { margin: 0; font-size: 16px; }
body.stb-neu:not(.home) #cm-secondary #text-23 a { color: var(--stb-magenta); text-decoration: none; }

/* Termine in der Seitenleiste: Datum über dem Titel */
body.stb-neu .stb-seitenleiste .stb-termine__leiste { grid-template-columns: 1fr !important; }
body.stb-neu .stb-seitenleiste .stb-termin { padding: 10px 12px; border-left: 0 !important; border-top: 1px solid var(--stb-linie) !important; }
body.stb-neu .stb-seitenleiste .stb-termin:first-child { border-top: 0 !important; }
body.stb-neu .stb-seitenleiste .stb-termin__titel { white-space: normal; }

/* ------------------------------------------------------------------ */
/* News-Seite (st-birgid-news.de, body.stb-news)                        */
/* Startseite zweispaltig wie die Unterseiten: Inhalt links, die eigenen */
/* Widgets der Seitenleiste (Informationen, Abonnieren) rechts.          */
/* ------------------------------------------------------------------ */

body.stb-neu.stb-news.home #cm-content { padding-top: 28px; padding-bottom: 48px; }
body.stb-neu.stb-news.home #cm-content > .cm-container > .cm-row {
	display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 32px; margin: 0;
}
body.stb-neu.stb-news.home :is(#cm-primary, #cm-secondary) { width: auto; max-width: none; float: none; padding: 0; margin: 0; }
/* Slider und Highlighted posts sind auf der News-Seite leer: Bereich nur zeigen, wenn Beiträge darin stehen */
body.stb-neu.stb-news.home .cm-front-page-top-section:not(:has(.cm-post, .cm-slide-content, img)) { display: none; }
body.stb-neu.stb-news #cm-primary > .widget { margin: 0 0 32px; }
body.stb-neu.stb-news #cm-secondary { display: flex; flex-direction: column; gap: 28px; }
body.stb-neu.stb-news #cm-secondary > .widget { margin: 0; }
body.stb-neu.stb-news #cm-secondary .widget :is(p, li, a) { font-size: 17px; line-height: 1.5; }
body.stb-neu.stb-news #cm-secondary .widget :is(h3, h4, strong) { font-size: 18px; }
/* Podcast-Listen (Podlove-Vorlagen): Staffeln mit Linie, Folgen als Links in Blau */
body.stb-neu.stb-news #cm-primary .widget :is(h2, h3, h4):not(.cm-widget-title) { color: var(--stb-text); font-weight: 600; }
body.stb-neu.stb-news #cm-primary .widget a:not(.cm-widget-title a) { color: var(--stb-blau-text); }
body.stb-neu.stb-news #cm-primary .widget a:not(.cm-widget-title a):hover { color: var(--stb-magenta); }
body.stb-neu.stb-news #cm-primary .widget hr { border: 0; border-top: 1px solid var(--stb-linie); margin: 20px 0; }
/* Unterseiten wie die Startseite: Seitentitel wie die Staffel-Überschriften dort (ohne Linie und Kasten), Links blau
   ohne Unterstreichung, Schriftgrößen aus den Podlove-Vorlagen (inline in em) bleiben wirksam, weil die Regel
   „font-size: inherit !important“ hier nicht gilt */
body.stb-neu.stb-news:is(.page, .single):not(.home) .cm-entry-header { margin: 0 0 4px; border: 0; }
body.stb-neu.stb-news:is(.page, .single):not(.home) .cm-entry-header h1.cm-entry-title {
	margin: 0; padding: 0; border: 0; background: none; color: var(--stb-text);
	font-size: 23px; font-weight: 600; line-height: 1.3;
}
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) { font-size: 19px; line-height: 1.8; }
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) a:not(.stb-knopf) { color: var(--stb-blau-text); text-decoration: none; }
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) a:not(.stb-knopf):hover { color: var(--stb-magenta); }
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) :is(h2, h3, h4) { color: var(--stb-text); }
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) li p { margin: 0; }
body.stb-neu.stb-news:not(.home) :is(.cm-entry-summary, .entry-content) hr { border: 0; border-top: 1px solid var(--stb-linie); margin: 20px 0; }

/* Kopfbild aus dem Customizer (Logo) steht außerhalb von #cm-header-1; der neue Kopf ersetzt es */
body.stb-neu.stb-news #cm-masthead .wp-custom-header { display: none; }
/* Seitenleiste „Abonnieren“: Dienste als Liste mit kleinen Symbolen (grau, farbig beim Überfahren wie bisher) */
body.stb-neu.stb-news #cm-secondary .textwidget p { margin: 0; padding: 0; }
body.stb-neu.stb-news #cm-secondary .textwidget hr { border: 0; border-top: 1px solid var(--stb-linie); margin: 8px 0; }
body.stb-neu.stb-news #cm-secondary .textwidget a { display: flex; align-items: center; gap: 12px; color: var(--stb-blau-text); text-decoration: none; }
body.stb-neu.stb-news #cm-secondary .textwidget a:hover { color: var(--stb-magenta); }
body.stb-neu.stb-news #cm-secondary .textwidget a img.button { width: 28px; height: 28px; margin: 0; flex: none; filter: grayscale(100%) opacity(.55); transition: filter .15s; }
body.stb-neu.stb-news #cm-secondary .textwidget a:hover img.button { filter: none; }

/* ------------------------------------------------------------------ */
/* Fußzeile                                                            */
/* ------------------------------------------------------------------ */

body.stb-neu #cm-footer { display: none; }

.stb-neu .stb-fuss { background: var(--stb-fuss); color: #fff; font-size: 18px; line-height: 1.6; }
.stb-neu .stb-fuss__innen {
	max-width: 1140px; margin: 0 auto; padding: 40px 0 24px;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.stb-neu .stb-fuss h2 {
	margin: 0 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--stb-blau-hell);
	font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff;
}
.stb-neu .stb-fuss p { margin: 0; color: rgba(255, 255, 255, .9); }
.stb-neu .stb-fuss ul { list-style: none; margin: 0; padding: 0; }
.stb-neu .stb-fuss li { margin: 0 0 4px; padding: 0; border: 0; float: none; }
.stb-neu .stb-fuss a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.stb-neu .stb-fuss a:hover { color: #fff; text-decoration: underline; }
.stb-neu .stb-fuss__unten {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center;
	padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 16px; color: rgba(255, 255, 255, .8);
}
.stb-neu .stb-fuss__newsletter > p { margin: 0 0 8px; white-space: nowrap; }
/* MailPoet-Formular einzeilig: E-Mail-Feld und Knopf nebeneinander, Meldungen darunter */
.stb-neu .stb-fuss__newsletter form { display: flex; flex-wrap: wrap; align-items: stretch; gap: 8px; margin: 0 !important; padding: 0 !important; }
.stb-neu .stb-fuss__newsletter .mailpoet_paragraph { margin: 0 !important; padding: 0 !important; width: auto !important; float: none !important; display: block; }
.stb-neu .stb-fuss__newsletter .mailpoet_paragraph { flex: 1 1 140px; min-width: 0; }
.stb-neu .stb-fuss__newsletter .mailpoet_paragraph:has(.mailpoet_submit) { flex: 0 0 auto; }
.stb-neu .stb-fuss__newsletter :is(.mailpoet_hp_email_label, .mailpoet_form_loading) { display: none !important; }
.stb-neu .stb-fuss__newsletter :is(.mailpoet_message, .mailpoet_validate_success, .mailpoet_validate_error, .parsley-errors-list) { flex-basis: 100%; margin: 0; }
.stb-neu .stb-fuss__newsletter :is(input[type="email"], input[type="text"]) {
	width: 100% !important; height: 40px; padding: 8px 10px !important; border: 0 !important; border-radius: 3px; font-size: 15px;
	background: rgba(255, 255, 255, .95); color: var(--stb-text);
}
.stb-neu .stb-fuss__newsletter input[type="submit"] {
	width: auto !important; height: 40px !important; padding: 0 16px !important; border: 0; border-radius: 3px;
	background: var(--stb-knopf) !important; color: #fff; font-weight: 600; font-size: 15px; cursor: pointer;
}
.stb-neu .stb-fuss__newsletter input[type="submit"]:hover { background: var(--stb-knopf-hover) !important; }
/* Social-Media-Links mit Symbolen unter dem Newsletter */
.stb-neu .stb-fuss__social { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.stb-neu .stb-fuss__social li { margin: 0; padding: 0; border: 0; float: none; }
.stb-neu .stb-fuss__social a { display: inline-flex; align-items: center; gap: 10px; }
.stb-neu .stb-fuss__social svg { flex: none; }

/* ------------------------------------------------------------------ */
/* Schmalere Bildschirme                                               */
/* ------------------------------------------------------------------ */

@media (max-width: 1180px) {
	.stb-neu .stb-fuss__innen { padding-inline: 16px; }
	.stb-neu .stb-kopf__innen { padding-inline: 16px; }
	body.stb-neu #cm-primary-nav .cm-container { margin-inline: 16px; width: auto; }
}
@media (max-width: 1020px) {
	.stb-neu .stb-kopf__innen { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
	.stb-neu .stb-kopf__kontakt { display: none; }
	body.stb-neu .stb-termine__leiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.stb-neu .stb-termin { border-left: 0; border-top: 1px solid var(--stb-linie); }
	body.stb-neu .stb-termin:nth-child(-n+2) { border-top: 0; }
	body.stb-neu .stb-termin:nth-child(even) { border-left: 1px solid var(--stb-linie); }
}
@media (max-width: 960px) {
	body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) #cm-content > .cm-container > .cm-row { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	body.stb-neu.stb-news.home #cm-content > .cm-container > .cm-row { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
	body.stb-neu .stb-aufmacher { aspect-ratio: 16 / 9; }
	.stb-neu .stb-fuss__innen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.stb-neu.stb-start #cm-content > .cm-container > .cm-row { grid-template-columns: minmax(0, 1fr); }
	body.stb-neu.stb-start :where(#cm-primary, #cm-secondary) > .widget { grid-column: 1 / -1 !important; }
	body.stb-neu .stb-kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.stb-neu #text-39 .textwidget { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	body.stb-neu .stb-spenden { grid-template-columns: 1fr; }
	body.stb-neu .stb-kirchorte__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
	body.stb-neu:is(.archive, .search, .blog):not(.home) .cm-posts { grid-template-columns: 1fr; }
	body.stb-neu #sticky-posts-17 .upw-posts { grid-template-columns: 1fr; }
	.stb-neu .stb-kopf__orte { display: none; }
	.stb-neu .stb-kopf__pfarrei, .stb-neu .stb-kopf__sankt { font-size: 22px; }
	.stb-neu .stb-kopf__kreuz img { width: 62px; }
	body.stb-neu.stb-start #colormag_featured_posts_widget-14 { grid-template-columns: 1fr; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul { margin-left: 0; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li > a { padding-left: 15px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]) { margin-left: 0; }
}
@media (max-width: 520px) {
	body.stb-neu:is(.page, .single):not(.home) .stb-team-text strong { font-size: 16px !important; }
	body.stb-neu:is(.page, .single):not(.home) .stb-team-text a { font-size: 14px !important; }
	body.stb-neu:is(.page, .single, .archive, .search, .blog):not(.home) :is(.cm-entry-summary, .entry-content) { font-size: 18px; }
	body.stb-neu .stb-aufmacher__text p { max-width: none; }
	body.stb-neu.stb-start .stb-termin { grid-template-columns: 1fr; }
	body.stb-neu.stb-start .stb-termin__datum { grid-row: auto; }
	body.stb-neu .stb-aufmacher { aspect-ratio: 4 / 3.4; }
	body.stb-neu .stb-aufmacher__text { padding: 70px 16px 38px; }
	body.stb-neu .stb-aufmacher__text p { -webkit-line-clamp: 3; font-size: 16px; }
	body.stb-neu .stb-aufmacher__pfeil { top: 38%; width: 38px; height: 38px; }
	body.stb-neu .stb-aufmacher__punkte { left: 16px; bottom: 14px; }
	.stb-neu .stb-fuss__innen { grid-template-columns: 1fr; }
	.stb-neu .stb-kopf__innen { grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; }
	.stb-neu .stb-kopf__links { display: none; }
	.stb-neu .stb-kopf__rechts::after { display: none; }
	.stb-neu .stb-kopf__sankt::before { content: "Katholische Pfarrei"; display: block; font-size: 16px; font-weight: 600; }
	.stb-neu .stb-kopf__wiesbaden { letter-spacing: .2em; }
	body.stb-neu .stb-kacheln,
	body.stb-neu #text-39 .textwidget { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	body.stb-neu .stb-termine__leiste { grid-template-columns: 1fr; }
	body.stb-neu .stb-termin, body.stb-neu .stb-termin:nth-child(even) { border-left: 0; }
	body.stb-neu .stb-termin:nth-child(2) { border-top: 1px solid var(--stb-linie); }
	body.stb-neu .stb-kirchorte__liste { grid-template-columns: 1fr; }
	body.stb-neu .stb-spenden { padding: 20px; }
}
/* Mittlere Breiten (Tablets, Android-Handys im Querformat): ColorMag zeigt erst unter 769px das Burger-Menü.
   Kirchorte im Kopf in zwei Zeilen (je drei) statt abgeschnitten; das Menü wird schmaler, damit
   „Jetzt spenden“ in derselben Zeile bleibt. */
@media (max-width: 1100px) {
	.stb-neu .stb-kopf__orte { white-space: normal; line-height: 1.45; }
	.stb-neu .stb-kopf__orte a { white-space: nowrap; }
	/* fester Umbruch nach „Herz Jesu“ (3 + 3 Kirchorte), ohne Strich am Zeilenende */
	.stb-neu .stb-kopf__orte i:nth-of-type(3) { display: none; }
	.stb-neu .stb-kopf__orte a:nth-of-type(3)::after { content: "\A"; white-space: pre; }
}
@media (min-width: 769px) and (max-width: 1020px) {
	body.stb-neu #cm-primary-nav { --stb-schrift-menue: 14px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li { padding-right: 6px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li > a { padding-left: 8px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]) > a { padding-left: 12px; padding-right: 12px; }
}
@media (min-width: 769px) and (max-width: 900px) {
	body.stb-neu #cm-primary-nav { --stb-schrift-menue: 13px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li { padding-right: 4px; }
	body.stb-neu #cm-primary-nav .cm-menu-primary-container > ul > li:has(> a[href*="/spenden"]) > a { padding-left: 10px; padding-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	body.stb-neu .stb-aufmacher__spur { transition: none; }
	body.stb-neu #text-39 a, body.stb-neu #text-39 a::before { transition: none; }
	body.stb-neu #text-39 a:hover { transform: none; }
	body.stb-neu .stb-kachel { transition: none; }
	body.stb-neu .stb-kachel:hover { transform: none; }
}
