/* EVLKS Modern – Entwurf (nur try). Schicht ueber wpevlks 1.4, ersetzt in P2 durch das eigentliche modern.css. */

/* =====================================================================
   1. Tokens
   ===================================================================== */
:root {
	--m-bg: #ffffff;
	--m-page: #f7f3ed;
	--m-surface: #ffffff;
	--m-surface-2: #f7f3ed;
	--m-tint: color-mix(in srgb, var(--m-accent) 8%, #fffdf9);
	--m-text: #2e2a26;
	--m-muted: #6b625a;
	--m-border: #e7e0d6;
	--m-border-strong: #cfc4b5;
	--m-ink: var(--m-ink-light);
	--m-on-accent: #2b2118;
	--m-focus: #1a4d8f;

	--m-btn-bg: var(--m-ink);
	--m-btn-fg: #ffffff;
	--m-btn-bg-hover: color-mix(in srgb, var(--m-ink) 85%, #000);

	--m-radius: 3px;
	--m-radius-sm: 2px;
	--m-shadow: 0 1px 2px rgb(60 40 20 / .05), 0 8px 24px -12px rgb(60 40 20 / .18);
	--m-shadow-hover: 0 2px 4px rgb(60 40 20 / .07), 0 18px 36px -14px rgb(60 40 20 / .28);
	--m-ease: cubic-bezier(.2, .7, .2, 1);

	/* Abstaende */
	--m-1: 4px; --m-2: 8px; --m-3: 12px; --m-4: 16px; --m-5: 24px; --m-6: 32px; --m-7: 48px; --m-8: 64px;
	--m-gutter: clamp(16px, 4.5vw, 32px);
	--m-section: clamp(40px, 6vw, 80px);
	--m-measure: 736px;

	--m-head: "FagoWebPro-Cond W04 Regular", "Arial Narrow", sans-serif;
	--m-head-bold: "FagoWebPro-CondBold W041465298", "Arial Narrow", sans-serif;
	--m-body: "TundraWeb W03 Regular", Georgia, serif;
	color-scheme: light;
}

html[data-scheme="dark"] {
	--m-bg: #1c1814;
	--m-page: #16120f;
	--m-surface: #25201a;
	--m-surface-2: #2d261f;
	--m-tint: color-mix(in srgb, var(--m-accent) 9%, #25201a);
	--m-text: #f1e9dd;
	--m-muted: #bfb3a3;
	--m-border: #3d342b;
	--m-border-strong: #5c4f42;
	--m-ink: var(--m-ink-dark);
	--m-accent: #f5b733;
	--m-focus: #ffd27a;

	--m-btn-bg: #f1e9dd;
	--m-btn-fg: #1c1814;
	--m-btn-bg-hover: #ffffff;

	--m-shadow: 0 1px 2px rgb(0 0 0 / .35), 0 10px 28px -14px rgb(0 0 0 / .7);
	--m-shadow-hover: 0 2px 4px rgb(0 0 0 / .45), 0 18px 40px -14px rgb(0 0 0 / .8);
	color-scheme: dark;
}

/* =====================================================================
   2. Grundlagen: Flaechen, Schrift, Umbrueche
   ===================================================================== */
html body, html .wrapper { background: var(--m-page); color: var(--m-text); }
html body main, html body main > .container-fluid > .row, html body .evlks-bg-white { background: var(--m-bg); }
html body main { color: var(--m-text); font-size: 17px; }
html body .container { max-width: 100%; padding-left: var(--m-gutter); padding-right: var(--m-gutter); }
html body .row { margin-left: 0; margin-right: 0; }

html body main :where(h1, h2, h3, h4, h5, h6, p, li, td, th, figcaption, blockquote, .teaser-body, .address-box),
html body footer :where(h3, p, a, li, div) {
	overflow-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	hyphenate-limit-chars: 8 4 3;
}
html body main a, html body footer a { overflow-wrap: anywhere; }
html body main :where(h1, h2, h3, h4) { text-wrap: balance; color: var(--m-text); }
html body main p { text-wrap: pretty; }

html body main h1, html body main h1.title {
	font-family: var(--m-head); font-weight: 400;
	font-size: clamp(32px, 18.4px + 3.2vw, 52px); line-height: 1.08;
	margin: 0 0 var(--m-5);
}
html body main h2 {
	font-family: var(--m-head); font-weight: 400;
	font-size: clamp(26px, 18.4px + 1.8vw, 38px); line-height: 1.12;
	margin: var(--m-7) 0 var(--m-3);
}
html body main h3 {
	font-family: var(--m-head-bold); font-weight: 400;
	font-size: clamp(20px, 17.6px + .55vw, 24px); line-height: 1.2;
	margin: var(--m-6) 0 var(--m-2);
}
html body main h4 { font-size: 17px; line-height: 1.3; margin: var(--m-5) 0 var(--m-2); }
html body main :where(p, ul, ol) { line-height: 1.65; margin: 0 0 var(--m-4); }
html body main :where(h1, h2, h3, h4):first-child { margin-top: 0; }

html body main a, html a { color: var(--m-ink); text-decoration-thickness: .07em; text-underline-offset: .2em; }
html body main p a, html body main li a, html body main td a { text-decoration: underline; }
html a:hover, html body main a:hover { color: var(--m-ink); text-decoration-color: var(--m-accent); }
::selection { background: color-mix(in srgb, var(--m-ci) 30%, transparent); }
html :focus-visible { outline: 3px solid var(--m-focus); outline-offset: 3px; border-radius: 4px; }

/* externe-Link-Pfeil (FontAwesome) dezenter */
html body main a[href^="http"]::after { font-size: .8em !important; opacity: .7; }

@media (prefers-reduced-motion: reduce) {
	html *, html *::before, html *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* =====================================================================
   3. Abschnitte und Lesespalte
   ===================================================================== */
html body main section.evlks-bg-white > .container { padding-top: var(--m-section); padding-bottom: var(--m-section); }

html body main article.post > h1.title,
html body main .the-content > * {
	max-width: var(--m-measure);
	margin-left: auto; margin-right: auto;
}
html body main article.post > h1.title { text-align: left; }
html body main .the-content > :where(.alignwide, .news, .wp-block-columns, .wp-block-gallery, .wp-block-table, .tx-xm-evlks-kontakte, .evlks-ad-wrapper, .wp-block-media-text, [class*="calendar"], [class*="evlks-events"]) {
	max-width: 1140px;
}
html body main .the-content > .alignfull { max-width: none; }
html body main .wp-block-spacer { max-height: var(--m-6); }

/* Abschnitts-Ueberschrift (z. B. "Aktuelles") */
html body main h2.section-headline { text-align: center; margin: 0 0 var(--m-6); }

/* Brotkrumen: ruhige Zeile statt grauer Kasten */
html body main ol.breadcrumb {
	background: transparent; padding: var(--m-4) 0 0; margin: 0 auto; max-width: var(--m-measure);
	font-size: 15px; color: var(--m-muted);
}
html body main ol.breadcrumb a { color: var(--m-muted) !important; text-decoration: none !important; }
html body main ol.breadcrumb a:hover { color: var(--m-ink) !important; text-decoration: underline !important; }
html body main > .container:has(> ol.breadcrumb) + section.evlks-bg-white > .container { padding-top: var(--m-6); }

/* Tabellen: scrollen statt sprengen */
html body main .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: var(--m-5) auto; }
html body main .wp-block-table table { min-width: 100%; border-collapse: collapse; }
html body main .wp-block-table :where(td, th) { padding: var(--m-3) var(--m-4); border: 1px solid var(--m-border); vertical-align: top; }
html body main .wp-block-table thead { border-bottom: 2px solid var(--m-border-strong); }
html body main .wp-block-table th { text-align: left; font-family: var(--m-head-bold); font-weight: 400; }
@media (max-width: 599px) {
	html body main .wp-block-table :where(td, th) { min-width: 144px; }
}

/* =====================================================================
   4. Buttons (gefuellt / Umriss)
   ===================================================================== */
html .btn-evlks, html .btn-primary, html .btn-secondary, html .btn-default, html .btn-orange,
html .wp-block-button__link, html .wp-block-file__button, html body main .teaser-archive-tools > a {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 44px; padding: 10px 22px !important;
	border-radius: var(--m-radius) !important;
	font-family: var(--m-head); font-size: 17px; line-height: 1.25; letter-spacing: .01em;
	text-align: center; white-space: normal; text-decoration: none !important;
	transition: background .2s, border-color .2s, color .2s, transform .2s var(--m-ease), box-shadow .2s !important;
}
/* gefuellt */
html .btn-primary, html .wp-block-button:not(.is-style-outline) > .wp-block-button__link, html .wp-block-file__button {
	background: var(--m-btn-bg) !important; color: var(--m-btn-fg) !important; border: 1px solid transparent !important;
}
html .btn-primary:hover, html .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover, html .wp-block-file__button:hover {
	background: var(--m-btn-bg-hover) !important; transform: translateY(-1px); box-shadow: var(--m-shadow);
}
/* Umriss */
html .btn-orange, html .btn-secondary, html .btn-default, html .wp-block-button.is-style-outline > .wp-block-button__link, html body main .teaser-archive-tools > a {
	background: transparent !important; color: var(--m-text) !important;
	border: 1.5px solid var(--m-border-strong) !important;
}
html .btn-orange:hover, html .btn-secondary:hover, html .btn-default:hover, html .wp-block-button.is-style-outline > .wp-block-button__link:hover, html body main .teaser-archive-tools > a:hover {
	border-color: var(--m-text) !important; background: var(--m-surface-2) !important;
}
html body a:has(> button.btn) { text-decoration: none !important; display: inline-block; }
html body a:has(> button.btn)::after { content: none !important; }

/* =====================================================================
   5. Header + Hauptmenue
   ===================================================================== */
html body header {
	background: color-mix(in srgb, var(--m-bg) 97%, transparent);
	backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--m-border);
	z-index: 1030 !important;
	transition: box-shadow .25s var(--m-ease);
}
html body header.sticky { box-shadow: var(--m-shadow); }
html body header .evlks-bg-white { background: transparent; }
html body header .evlks-border-top { border-top: 1px solid var(--m-border); }
html[data-scheme="dark"] img.evlks-logo { background: #f6f1e8; padding: 8px 12px; border-radius: var(--m-radius-sm); box-sizing: content-box; }

.m-tools { display: inline-flex; gap: var(--m-2); align-items: center; justify-content: flex-end; }
html body header .evlks-search.btn, .m-scheme-toggle {
	display: inline-flex; align-items: center; gap: 7.2px; height: 40px; min-height: 40px; padding: 0 16px !important;
	border-radius: var(--m-radius) !important; border: 1px solid var(--m-border) !important;
	background: var(--m-surface) !important; color: var(--m-text) !important;
	font-family: var(--m-head); font-size: 16px; cursor: pointer;
}
html body header .evlks-search.btn::after { display: none !important; }
html body header .evlks-search.btn svg { width: 17px; height: 17px; }
.m-scheme-toggle { width: 40px; padding: 0 !important; justify-content: center; }
.m-scheme-toggle svg { width: 20px; height: 20px; }
.m-scheme-toggle .m-sun { display: none; }
html[data-scheme="dark"] .m-scheme-toggle .m-sun { display: block; }
html[data-scheme="dark"] .m-scheme-toggle .m-moon { display: none; }
.m-tools--mobile .m-scheme-toggle { border: 0 !important; background: transparent !important; }

@media (min-width: 992px) {
	html body .evlks-header-main .navbar { min-height: 0; margin: 0; border: 0; background: transparent; }
	html body .evlks-header-main .menu-hauptmenue-container, html body .evlks-header-main .navbar-collapse { width: 100%; }
	html body .evlks-header-main .navbar-nav { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 2px; float: none; margin: 0; width: auto !important; }
	html body .evlks-header-main .navbar-nav::before, html body .evlks-header-main .navbar-nav::after { display: none; }
	html body .evlks-header-main .navbar-nav > li { float: none; position: relative; flex: 0 0 auto; }
	html body .navbar-nav > li[hidden] { display: none !important; }
	html body .evlks-header-main .navbar-nav > li > a {
		position: relative; padding: 26px 14px 24px; line-height: 25px;
		color: var(--m-text) !important; background: transparent !important;
		letter-spacing: .02em; font-size: clamp(17px, 1.35vw, 20px); white-space: nowrap;
	}
	html body .evlks-header-main .navbar-nav > li > a > span { border-bottom: 0 !important; }
	html body header.sticky .evlks-header-main .navbar-nav > li > a { padding-top: 18px; padding-bottom: 16px; }
	html body .evlks-header-main .navbar-nav > li > a::after {
		content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 3px; border-radius: 3px; background: var(--m-ci);
		transform: scaleX(0); transform-origin: left; transition: transform .25s var(--m-ease);
	}
	html body header.sticky .evlks-header-main .navbar-nav > li > a::after { bottom: 8px; }
	html body .evlks-header-main .navbar-nav > li:hover > a::after,
	html body .evlks-header-main .navbar-nav > li > a:focus-visible::after,
	html body .evlks-header-main .navbar-nav > li > a[aria-expanded="true"]::after,
	html body .evlks-header-main .navbar-nav > li:is(.current-menu-item, .current-menu-ancestor, .current-menu-parent) > a::after { transform: scaleX(1); }
	html body .evlks-header-main .navbar-nav > li:is(.current-menu-item, .current-menu-ancestor) > a { color: var(--m-ink) !important; }

	html body .evlks-header-main .navbar-nav > li > ul, .m-more-panel {
		position: absolute; top: calc(100% - 6px); left: 0; z-index: 1100;
		min-width: 260px; padding: var(--m-3);
		background: var(--m-surface); color: var(--m-text);
		border: 1px solid var(--m-border) !important; border-radius: var(--m-radius);
		box-shadow: var(--m-shadow-hover); list-style: none;
	}
	html body .evlks-header-main .navbar-nav > li > ul > li > a, .m-more-panel a {
		display: block; padding: 9px 12px; border-radius: var(--m-radius-sm);
		color: var(--m-text) !important; font-family: var(--m-head); font-size: 17px; line-height: 1.3; text-decoration: none !important;
	}
	html body .evlks-header-main .navbar-nav > li > ul > li > a:hover, .m-more-panel a:hover { background: var(--m-surface-2); color: var(--m-ink) !important; }
	.m-more { display: flex; align-items: stretch; }
	.m-more > button {
		display: flex; align-items: center; gap: 6px; padding: 26px 14px 24px; line-height: 25px; border: 0; background: transparent; color: var(--m-text);
		font-family: var(--m-head); font-size: clamp(17px, 1.35vw, 20px); letter-spacing: .02em; cursor: pointer;
	}
	html body header.sticky .m-more > button { padding-top: 18px; padding-bottom: 16px; }
	.m-more > button svg { width: 12px; height: 12px; transition: transform .2s var(--m-ease); }
	.m-more > button[aria-expanded="true"] svg { transform: rotate(180deg); }
	.m-more-panel { left: auto; right: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 18px; width: max-content; max-width: min(680px, 80vw); padding: var(--m-4); }
	.m-more-panel:has(> :nth-child(3)) { width: min(680px, 80vw); }
	.m-more-panel[hidden] { display: none; }
	.m-more-group strong { display: block; padding: 6px 12px 2px; font-family: var(--m-head-bold); font-weight: 400; color: var(--m-muted); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
}
@media (max-width: 991px) {
	html body .evlks-header-main .navbar-collapse { background: var(--m-bg); border-top: 1px solid var(--m-border); }
	html body .evlks-header-main .navbar-nav { margin: 0; padding: var(--m-2) 0; }
	html body .evlks-header-main .navbar-nav > li > a { color: var(--m-text) !important; padding: 12px var(--m-gutter) !important; font-size: 19px; }
	html body .evlks-header-main .navbar-nav > li > ul a { color: var(--m-muted) !important; padding: 8px var(--m-gutter) 8px calc(var(--m-gutter) + 14px) !important; }
	html[data-scheme="dark"] .navbar-toggle { background: transparent !important; }
	html[data-scheme="dark"] .navbar-toggle .evlks-header-navbar-indicator { filter: invert(.93) sepia(.15); }
	html[data-scheme="dark"] .icon-search::before { color: var(--m-text); }
}

/* =====================================================================
   6. Slider
   ===================================================================== */
html body .slick-slide .teaser {
	background: var(--m-accent) !important; border: 0 !important; border-radius: var(--m-radius);
	box-shadow: var(--m-shadow-hover); padding: clamp(20px, 3vw, 40px) !important;
}
html body .slick-slide .teaser :where(h2, h1, p) { color: var(--m-on-accent) !important; }
html body .slick-slide .teaser h2 { margin: 0 0 var(--m-3); font-size: clamp(28px, 19.2px + 2vw, 44px); }
html body .slick-slide .teaser p { margin-bottom: var(--m-5); }
html body .slick-slide .teaser .btn-primary { background: #2b2118 !important; color: #fff !important; }
html body .slick-dots li button::before { background: color-mix(in srgb, #fff 80%, transparent) !important; }
html body .slick-dots li.slick-active button::before { background: var(--m-accent) !important; }
@media (max-width: 767px) {
	html body .slick-slide .container { padding: 0 var(--m-gutter); }
	html body .slick-slide .teaser { position: relative; margin: -40px 0 var(--m-7); width: auto; }
	html body .slick-dots { bottom: var(--m-4) !important; }
}

/* =====================================================================
   7. Kacheln: News, Termine
   ===================================================================== */
html body main .news > .row, html body main .news .row-equal-height, html body main #collapsibleNews > .row {
	display: grid !important; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: var(--m-5); margin: 0;
}
html body main .news .row::before, html body main .news .row::after { display: none; }
html body main .news [class*="col-"] { width: auto; float: none; padding: 0; min-height: 0; display: flex; }
html body .teaser {
	display: flex; flex-direction: column; width: 100%; height: auto !important; margin: 0 !important;
	background: var(--m-surface); border: 1px solid var(--m-border) !important; border-radius: var(--m-radius);
	overflow: hidden; box-shadow: var(--m-shadow);
	transition: transform .3s var(--m-ease), box-shadow .3s var(--m-ease);
}
html body .news .teaser:is(:hover, :focus-within) { transform: translateY(-3px); box-shadow: var(--m-shadow-hover); }
html body .teaser .teaser-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--m-surface-2); }
html body .teaser .teaser-image img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .6s var(--m-ease); }
html body .teaser:hover .teaser-image img { transform: scale(1.04); }
html body .teaser .teaser-hover { display: none; }
html body .teaser .teaser-body {
	display: flex; flex-direction: column; flex: 1; gap: var(--m-2);
	padding: var(--m-5) !important; height: auto !important; background: transparent; color: var(--m-text);
}
html body .teaser .teaser-body > * { margin: 0; }
html body .teaser .teaser-date, html body .teaser .dtstamp p { color: var(--m-muted); font-size: 15px; font-family: var(--m-head); letter-spacing: .02em; margin: 0; }
html body .teaser .teaser-body h3 { font-size: clamp(20px, 17.6px + .4vw, 22.4px); line-height: 1.2; margin: 0; }
html body .teaser .teaser-body h3 a { color: var(--m-text) !important; text-decoration: none !important; }
html body .teaser:hover .teaser-body h3 a { color: var(--m-ink) !important; }
html body .teaser .teaser-body p { font-size: 16px; line-height: 1.6; }
html body .teaser .teaser-body :is(.bildnachweis, small, .copyright), html body .teaser .teaser-body p:has(> strong:first-child) { font-size: 13.5px; color: var(--m-muted); line-height: 1.45; }
html body .teaser .teaser-body > a:last-child, html body .teaser .teaser-body > a:has(> button) { margin-top: auto; padding-top: var(--m-3); align-self: flex-start; }
html[data-scheme="dark"] .teaser-image img[src$=".svg"] { filter: invert(.88) sepia(.3) hue-rotate(-10deg); }
html body main .teaser-archive-tools { display: flex; flex-wrap: wrap; gap: var(--m-3); justify-content: center; padding: var(--m-6) 0 0 !important; }

/* =====================================================================
   8. Kontakte
   ===================================================================== */
html body .tx-xm-evlks-kontakte { padding: 0 !important; margin: var(--m-6) auto; }
html body .tx-xm-evlks-kontakte .panel-group { display: grid; gap: var(--m-3); margin: 0; }
html body .tx-xm-evlks-kontakte .panel { background: transparent; border: 0; box-shadow: none; margin: 0 !important; }
html body .tx-xm-evlks-kontakte .address-box, html body .evlks-ad-wrapper {
	background: var(--m-surface); border: 1px solid var(--m-border) !important; border-radius: var(--m-radius);
	box-shadow: var(--m-shadow); overflow: hidden;
}
html body .tx-xm-evlks-kontakte :is(.panel-heading, .address-head, .vcard) { background: transparent !important; border: 0 !important; }
html body .tx-xm-evlks-kontakte .panel-heading { position: relative; padding: var(--m-4) var(--m-5) !important; }
html body .tx-xm-evlks-kontakte .panel-heading::before {
	content: attr(data-initials); position: absolute; left: var(--m-5); top: 50%; translate: 0 -50%;
	width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
	background: color-mix(in srgb, var(--m-ci) 16%, var(--m-surface)); color: var(--m-ink);
	font-family: var(--m-head-bold); font-size: 16px; letter-spacing: .03em;
}
html body .tx-xm-evlks-kontakte .panel-heading[data-initials] .address-head { padding-left: 60px; }
html body .tx-xm-evlks-kontakte .address-head { color: var(--m-muted); font-size: 16px; line-height: 1.45; }
html body .tx-xm-evlks-kontakte .address-head .row > [class*="col-"] { padding-top: 2px; padding-bottom: 2px; }
html body .tx-xm-evlks-kontakte .address-head .fn { font-family: var(--m-head-bold); font-size: 19px; color: var(--m-text); }
html body .tx-xm-evlks-kontakte .panel-title a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--m-surface-2); }
html body .tx-xm-evlks-kontakte .address-body { border: 0 !important; border-top: 1px solid var(--m-border) !important; padding: var(--m-5); background: var(--m-surface-2); color: var(--m-text); }
html body .tx-xm-evlks-kontakte .xm-responsive-images img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; max-width: 140px; }
html body .tx-xm-evlks-kontakte a, html body .evlks-ad-wrapper a { color: var(--m-ink) !important; }

/* Einzelkontakt (Karte) */
html body .evlks-ad-wrapper { padding: var(--m-5) !important; margin: var(--m-6) auto !important; }
html body .evlks-ad-wrapper .address-box { border: 0 !important; box-shadow: none; background: transparent; }
html body .evlks-ad-wrapper :is(h3, .fn, strong:first-child) { font-family: var(--m-head-bold); font-size: 21px; line-height: 1.2; color: var(--m-text); margin: 0 0 var(--m-1); }
html body .evlks-ad-wrapper :is(h4, h5, .position, .evlks-ad-info) { font-family: var(--m-body); font-weight: 400; font-size: 16px; line-height: 1.45; color: var(--m-muted); margin: 0 0 var(--m-4); }
html body .evlks-ad-wrapper .evlks-ad-body { margin: var(--m-3) 0 0; }
html body .evlks-ad-wrapper p { font-size: 16px; line-height: 1.6; margin: 0 0 var(--m-3); }

/* =====================================================================
   9. Infobox (Yellowbar) auf der Startseite
   ===================================================================== */
html body .parallax-content { display: none !important; }
html body .evlksyellowbar_Widget { margin: 0 !important; padding: 0 !important; }
html body .evlks-footer-info-service {
	display: grid; grid-template-columns: 1fr; gap: var(--m-4);
	max-width: 1140px; margin: var(--m-section) auto; padding: clamp(24px, 4vw, 40px) !important;
	background: var(--m-tint); border: 1px solid color-mix(in srgb, var(--m-accent) 22%, var(--m-border));
	border-radius: var(--m-radius); text-align: left;
}
@media (min-width: 900px) { html body .evlks-footer-info-service { grid-template-columns: 1.3fr 1fr; align-items: center; gap: var(--m-6); } }
html body .evlks-footer-info-service > [class*="col-"] { width: auto; float: none; padding: 0; text-align: left !important; color: var(--m-text); font-size: 17px; line-height: 1.55; }
html body .evlks-footer-info-service .capital {
	text-transform: none !important; letter-spacing: 0 !important;
	font-family: var(--m-head); font-size: clamp(24px, 17.6px + 1.4vw, 34px); line-height: 1.12; color: var(--m-text); margin-bottom: var(--m-2);
}
html body .evlks-footer-info-service > [class*="col-"]:last-child { display: flex; flex-direction: column; gap: var(--m-2); align-items: flex-start; }
html body .evlks-footer-info-service :is(.info-service-phone, .info-service-mail) {
	display: inline-flex; align-items: center; gap: var(--m-2); max-width: 100%;
	padding: 10px 16px; border-radius: var(--m-radius-sm); background: var(--m-surface); border: 1px solid var(--m-border);
	color: var(--m-text) !important; text-decoration: none !important; font-size: 16px; line-height: 1.35; overflow-wrap: anywhere;
}
html body .evlks-footer-info-service :is(.info-service-phone, .info-service-mail)::before { color: var(--m-ink); }
html body .evlks-footer-info-service :is(.info-service-phone, .info-service-mail):hover { border-color: var(--m-border-strong); }

/* =====================================================================
   10. Footer und Losung
   ===================================================================== */
html body footer { background: var(--m-surface-2); color: var(--m-text); border-top: 1px solid var(--m-border); }
html body footer > .container { padding-top: var(--m-7); padding-bottom: var(--m-5); }
html body footer .evlks-footer-navigation { padding: 0 0 var(--m-6) !important; border: 0 !important; }
html body footer .evlks-footer-navigation [class*="col-"] { padding: 0; }
html body footer #footer-widget { margin: 0 !important; padding: 0 !important; border: 0 !important; }
html body footer #footer-widget > .container {
	width: auto; max-width: none; padding: 0 !important; margin: 0;
	display: grid; grid-template-columns: 1fr; gap: var(--m-6);
}
@media (min-width: 900px) { html body footer #footer-widget > .container { grid-template-columns: 1.15fr 1fr; gap: var(--m-7); align-items: start; } }
html body footer #footer-widget > .container::before, html body footer #footer-widget > .container::after { display: none; }
html body footer #footer-widget > .container > [class*="col-"] { width: auto; float: none; margin: 0 !important; padding: 0 !important; }
html body footer .widget { margin: 0 !important; padding: 0 !important; }
html body footer h3 { font-family: var(--m-head-bold); font-weight: 400; font-size: 18px; color: var(--m-text); margin: 0 0 var(--m-3); }
html body footer a { color: var(--m-text); }

html body footer .widget_losung {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(24px, 4vw, 36px) !important;
	background: var(--m-surface); border: 1px solid var(--m-border); border-radius: var(--m-radius);
	box-shadow: var(--m-shadow);
}
html body footer .widget_losung::before {
	content: "\201C"; position: absolute; z-index: -1; right: 14px; top: -18px;
	font-family: Georgia, serif; font-size: 150px; line-height: 1; color: color-mix(in srgb, var(--m-accent) 30%, transparent);
	pointer-events: none;
}
html body footer .widget_losung h3 {
	display: inline-flex; align-items: center; gap: var(--m-2);
	font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--m-muted); margin-bottom: var(--m-4);
}
html body footer .widget_losung h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--m-accent); }
html body footer .widget_losung .losung-text { font-family: var(--m-head); font-size: clamp(20px, 17.6px + .5vw, 23.2px); line-height: 1.35; margin: 0 0 var(--m-1); color: var(--m-text); }
html body footer .widget_losung .losung-versangabe { font-family: var(--m-head); font-size: 16px; color: var(--m-ink); margin: 0 0 var(--m-4); }
html body footer .widget_losung .losung-copy { margin: var(--m-4) 0 0; padding-top: var(--m-3); border-top: 1px solid var(--m-border); }
html body footer .widget_losung .losung-copy, html body footer .widget_losung .losung-copy a { font-size: 14px; line-height: 1.5; color: var(--m-muted); }

html body footer .evlks-footer-social p { display: flex; flex-wrap: wrap; gap: var(--m-2); margin: 0; }
html body footer .evlks-footer-social a {
	display: inline-grid; place-items: center; width: 44px; height: 44px; margin: 0;
	border-radius: 50%; background: var(--m-surface); border: 1px solid var(--m-border); color: var(--m-text);
	transition: transform .2s var(--m-ease), border-color .2s;
}
html body footer .evlks-footer-social a:hover { transform: translateY(-2px); border-color: var(--m-border-strong); color: var(--m-ink); }
html body footer .evlks-footer-social > h3:empty { display: none; }

html body footer .evlks-footer-service-navigation {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--m-3) var(--m-5);
	margin: var(--m-7) 0 0 !important; padding: var(--m-5) 0 0; border-top: 1px solid var(--m-border);
}
html body footer .evlks-footer-service-navigation::before, html body footer .evlks-footer-service-navigation::after { display: none; }
html body footer .evlks-footer-service-navigation > [class*="col-"] { width: auto; float: none; margin: 0 !important; padding: 0 !important; }
html body footer #menu-footer-menue { display: flex; flex-wrap: wrap; gap: var(--m-2) var(--m-5); margin: 0; }
html body footer #menu-footer-menue > li { float: none; }
html body footer #menu-footer-menue > li > a { padding: 0; color: var(--m-text); font-size: 16px; background: none; }
html body footer .evlks-footer-service-copyright { color: var(--m-muted); font-size: 15px; }

/* =====================================================================
   11. Darkmode: Reste aus Bootstrap/Theme
   ===================================================================== */
html[data-scheme="dark"] :is(.modal-content, .panel, .panel-body, .well) { background-color: var(--m-surface); color: var(--m-text); border-color: var(--m-border); }
html[data-scheme="dark"] .wp-block-table.is-style-stripes tbody tr:nth-child(odd),
html[data-scheme="dark"] .table-striped > tbody > tr:nth-of-type(odd) { background: var(--m-surface-2) !important; }
html[data-scheme="dark"] :is(.wp-block-table td, .wp-block-table th) { color: var(--m-text) !important; }
html[data-scheme="dark"] :is(input, textarea, select) { background: var(--m-surface-2); color: var(--m-text); border-color: var(--m-border); }
html[data-scheme="dark"] img:not(.evlks-logo):not([src$=".svg"]) { filter: brightness(.94); }
html[data-scheme="dark"] :is(.pb-accordion-item, .c-accordion__item) { background: var(--m-surface); border-color: var(--m-border); }
html[data-scheme="dark"] .shariff .theme-round a { filter: saturate(.85) brightness(.95); }

/* =====================================================================
   12. Feinschliff (Runde 2)
   ===================================================================== */
/* Theme-JS "Same height" setzt feste Hoehen – das Raster gleicht selbst aus */
html body main .news .teaser { min-height: 0 !important; }
html body main .news .teaser .shortnews { height: auto !important; display: flex; flex-direction: column; gap: var(--m-2); }
html body main .news .teaser .shortnews > * { margin: 0; }
html body .teaser .teaser-body h3 { margin-bottom: 2px; }

/* Mobiler Kopf: Werkzeuge in einer Zeile */
@media (max-width: 991px) {
	html body .evlks-service-navigation .mobile-only { display: flex !important; align-items: center; justify-content: flex-end; gap: 2px; }
	html body .evlks-service-navigation .mobile-only > * { float: none !important; margin: 0 !important; }
	html body .evlks-service-navigation .mobile-only > div:empty { display: none; }
	html body .evlks-service-navigation .mobile-only :is(.navbar-toggle, .evlks-search-mobile button, .m-scheme-toggle) { width: 44px; height: 44px; margin: 0 !important; display: inline-grid; place-items: center; }
	html body .evlks-service-navigation .mobile-only .navbar-header { margin: 0 !important; }
}

/* Slider mobil: Punkte unter der Box */
@media (max-width: 767px) {
	html body .slick-slide .teaser { margin-bottom: 56px; }
	html body .slick-dots { bottom: 12px !important; }
	html body .slick-dots li button::before { background: var(--m-border-strong) !important; }
	html body .slick-dots li.slick-active button::before { background: var(--m-text) !important; }
}

/* Footer-Menue: Bootstrap-Pseudoelemente raus, Eintraege nebeneinander */
html body footer #menu-footer-menue::before, html body footer #menu-footer-menue::after { display: none !important; }
html body footer #evlks-footer-navbar { flex: 1 1 auto; }
html body footer #menu-footer-menue > li { display: block; }
@media (max-width: 767px) {
	html body .slick-slide .teaser { margin-bottom: var(--m-3); }
	html body .slick-dots { position: static !important; margin: 0 0 var(--m-2) !important; }
}
html body footer .evlks-footer-service-copyright { white-space: nowrap; }

/* Runde 3 */
html body .navbar-toggle { background: transparent !important; border: 0 !important; }
html body main .the-content :is(h1, h2, h3, h4):not([class*="has-text-align"]) { text-align: left; }
html body main ol.breadcrumb > .active, html body main ol.breadcrumb > .active span { color: var(--m-text) !important; }
html body footer #footer-widget [class*="col-"], html body footer #footer-widget .widget { border: 0 !important; }
html body footer .evlks-footer-el-mobile { border: 0 !important; }

/* Einzelkontakt: Name, Funktion, Adresse */
html body .evlks-ad-wrapper .vcard > [class*="col-"] { width: auto; float: none; padding: 0; font-size: 16px; line-height: 1.6; color: var(--m-text); }
html body .evlks-ad-wrapper .org { font-family: var(--m-head-bold); font-size: 22px; line-height: 1.2; color: var(--m-text); margin-bottom: var(--m-4); }
html body .evlks-ad-wrapper .org small { display: block; margin-top: var(--m-2); font-family: var(--m-body); font-weight: 400; font-size: 16px; line-height: 1.45; color: var(--m-muted); }
html body .evlks-ad-wrapper .org br { display: none; }
html body .evlks-ad-wrapper .adr { margin-bottom: var(--m-3); color: var(--m-text); }
html body .evlks-ad-wrapper .adr > br:first-child { display: none; }

/* Kopf: am Desktop im Fluss (Theme fixiert erst beim Scrollen), mobil bleibt die Theme-Fixierung */
@media (min-width: 992px) {
	html body header:not(.sticky) { position: relative; }
	html body header.sticky { position: fixed; }
}

/* =====================================================================
   13. Mobilmenue (neu aufgebaut)
   ===================================================================== */
@media (max-width: 991px) {
	html body .evlks-header-main, html body .evlks-header-main > .row, html body .evlks-header-main [class*="col-"] { margin: 0 !important; padding: 0 !important; width: auto; float: none; }
	html body .evlks-header-main .navbar { margin: 0; border: 0; min-height: 0; background: transparent; }
	html body #evlks-header-navbar-collapse { margin: 0 !important; padding: 0 !important; max-height: calc(100dvh - 80px); overflow-y: auto; background: var(--m-bg); border-top: 1px solid var(--m-border); box-shadow: var(--m-shadow); }
	html body #evlks-header-navbar-collapse .evlks-switcher:not(:has(a)) { display: none !important; }
	html body #evlks-header-navbar-collapse .evlks-switcher { display: flex; flex-wrap: wrap; gap: var(--m-2); margin: 0; padding: var(--m-3) var(--m-gutter); background: var(--m-surface-2); }
	html body #menu-hauptmenue { margin: 0 !important; padding: var(--m-2) 0 var(--m-4) !important; width: auto !important; float: none; }
	html body #menu-hauptmenue::before, html body #menu-hauptmenue::after { display: none; }
	html body #menu-hauptmenue > li { float: none; width: auto !important; margin: 0 !important; background: transparent !important; border-bottom: 1px solid var(--m-border); }
	html body #menu-hauptmenue > li > a {
		display: flex !important; align-items: center; justify-content: space-between; gap: var(--m-3);
		min-height: 52px; padding: 12px var(--m-gutter) !important; margin: 0;
		font-family: var(--m-head); font-size: 20px !important; letter-spacing: 0 !important; line-height: 1.25;
		color: var(--m-text) !important; background: transparent !important; text-decoration: none !important;
	}
	html body #menu-hauptmenue > li > a > span { border: 0 !important; }
	html body #menu-hauptmenue > li.menu-item-has-children > a::after {
		content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 4px;
		border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px);
		transition: transform .2s var(--m-ease);
	}
	html body #menu-hauptmenue > li.menu-item-has-children > a[aria-expanded="true"] { color: var(--m-ink) !important; }
	html body #menu-hauptmenue > li.menu-item-has-children > a[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
	html body #menu-hauptmenue > li:is(.current-menu-item, .current-menu-ancestor) > a { color: var(--m-ink) !important; }
	html body #menu-hauptmenue > li > ul {
		position: static !important; float: none; width: auto !important; margin: 0 !important; padding: 0 0 var(--m-2) !important;
		background: var(--m-surface-2) !important; border: 0 !important; box-shadow: none !important; list-style: none;
	}
	html body #menu-hauptmenue > li > ul > li { margin: 0 !important; width: auto !important; border: 0 !important; background: transparent !important; }
	html body #menu-hauptmenue > li > ul > li > a {
		display: block; margin: 0 !important; padding: 11px var(--m-gutter) 11px calc(var(--m-gutter) + 16px) !important;
		font-family: var(--m-head) !important; font-size: 18px !important; line-height: 1.3; letter-spacing: 0 !important;
		color: var(--m-text) !important; background: transparent !important; text-decoration: none !important;
	}
	html body #menu-hauptmenue > li > ul > li:is(.current-menu-item) > a { color: var(--m-ink) !important; }
	html body #menu-hauptmenue > li > ul > li > a:hover { color: var(--m-ink) !important; }
	html body #menu-hauptmenue ul ul a { padding-left: calc(var(--m-gutter) + 32px) !important; font-size: 17px !important; }
	html body #menu-hauptmenue a:focus-visible { outline-offset: -3px; }
}

/* Mobil: Inhalt beginnt exakt unter dem fixierten Kopf (Hoehe per JS gemessen) */
@media (max-width: 991px) {
	html body main { margin-top: var(--m-header-h, 81px) !important; }
}
html[data-scheme="dark"] img.evlks-logo { box-sizing: border-box; max-width: 100%; height: auto; padding: 6px 10px; }

/* Fokusrahmen nur bei Tastatur, nicht nach Antippen */
html body :is(#menu-hauptmenue, .navbar-header, .evlks-search-mobile) :is(a, button):focus:not(:focus-visible) { outline: none !important; box-shadow: none !important; }
@media (max-width: 991px) {
	html body .navbar-toggle { padding: 0 !important; position: relative; }
	html body .navbar-toggle .evlks-header-navbar-indicator { position: absolute !important; inset: 0 !important; margin: auto !important; top: 0 !important; transform: none !important; background-position: center !important; }
}
@media (max-width: 991px) {
	html body .navbar-toggle .evlks-header-navbar-indicator { inset: auto !important; left: 50% !important; top: 50% !important; width: 0 !important; height: 0 !important; margin: 0 !important; }
	html body .navbar-toggle .evlks-header-navbar-indicator::before { top: 50% !important; left: 50% !important; transform: translate(-50%, -50%) !important; display: grid !important; place-items: center; }
}

/* =====================================================================
   14. Klassischer, eckiger: Slider und Suche
   ===================================================================== */
/* Slider */
html body .slick-slide .teaser { border-radius: var(--m-radius); box-shadow: 0 12px 32px -16px rgb(40 25 10 / .45); }
html body .slick-slide .teaser h2 { font-family: var(--m-head); font-weight: 400; letter-spacing: .005em; }
html body .slick-slide .teaser p { font-size: 18px; line-height: 1.55; max-width: 34em; }
@media (max-width: 767px) {
	html body .evlks-jumbotron-slider .slick-slide .image { aspect-ratio: 16 / 10; overflow: hidden; height: auto !important; }
	html body .evlks-jumbotron-slider .slick-slide .image img { width: 100%; height: 100% !important; object-fit: cover; }
	html body .slick-slide .container { padding: 0 !important; }
	html body .slick-slide .teaser { margin: 0 !important; border-radius: 0 !important; box-shadow: none !important; padding: 24px var(--m-gutter) 28px !important; }
	html body .slick-slide .teaser h2 { font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
	html body .slick-slide .teaser p { font-size: 17px; margin-bottom: 20px; }
	html body .evlks-jumbotron-slider .slick-dots { position: static !important; display: flex !important; justify-content: center; gap: 4px; margin: 0 !important; padding: 14px 0 6px !important; background: var(--m-bg); }
	html body .evlks-jumbotron-slider .slick-dots li { margin: 0 !important; }
}
html body .evlks-jumbotron-slider .slick-dots li button::before { border-radius: 1px !important; width: 22px !important; height: 4px !important; }
html body .evlks-jumbotron-slider .slick-dots li { width: 26px !important; }

/* Suche: ruhige Vollbild-Suche statt schwebendem Feld */
html body #evlks-search-modal { background: color-mix(in srgb, var(--m-bg) 97%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 0 !important; }
html body .modal-backdrop.in { opacity: .25; }
html body #evlks-search-modal .modal-dialog { width: auto; max-width: 820px; margin: 0 auto; padding: clamp(20px, 6vh, 72px) var(--m-gutter) var(--m-6); transform: none !important; }
html body #evlks-search-modal .modal-content { background: transparent; border: 0; box-shadow: none; border-radius: 0; }
html body #evlks-search-modal .modal-header { display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: var(--m-4); border: 0; padding: 0 0 var(--m-4); }
html body #evlks-search-modal .modal-header::before, html body #evlks-search-modal .modal-header::after { display: none; }
html body #evlks-search-modal .modal-title { font-family: var(--m-head); font-size: clamp(26px, 22px + 1.4vw, 38px); line-height: 1.1; color: var(--m-text); margin: 0; }
html body #evlks-search-modal .close {
	float: none; opacity: 1; flex: 0 0 auto; width: 44px; height: 44px; display: grid; place-items: center; margin: 0;
	border: 1px solid var(--m-border-strong); border-radius: var(--m-radius); background: var(--m-surface); color: var(--m-text); text-shadow: none; font-size: 18px;
}
html body #evlks-search-modal .close:hover { border-color: var(--m-text); }
html body #evlks-search-modal .modal-body { padding: 0; }
html body #evlks-search-modal form { display: flex; align-items: stretch; margin: 0; background: var(--m-surface); border: 2px solid var(--m-text); border-radius: var(--m-radius); overflow: hidden; }
html body #evlks-search-modal form:focus-within { outline: 3px solid var(--m-focus); outline-offset: 2px; }
html body #evlks-search-modal input#evlks-search {
	flex: 1; min-width: 0; height: 58px; padding: 0 18px; margin: 0; border: 0 !important; outline: 0 !important; box-shadow: none !important;
	background: transparent; color: var(--m-text); font-family: var(--m-body); font-size: 19px;
}
html body #evlks-search-modal input#evlks-search::placeholder { color: var(--m-muted); opacity: 1; }
html body #evlks-search-modal form button[type="submit"] {
	position: static !important; flex: 0 0 58px; width: 58px; height: 58px; margin: 0; border: 0; border-radius: 0;
	display: grid; place-items: center; background: var(--m-btn-bg) !important; color: var(--m-btn-fg) !important; font-size: 22px;
}
html body #evlks-search-modal form button[type="submit"]::before { color: inherit !important; }
.m-search-quick { margin-top: var(--m-6); }
.m-search-quick h2 { font-family: var(--m-head-bold) !important; font-size: 14px !important; letter-spacing: .08em; text-transform: uppercase; color: var(--m-muted) !important; margin: 0 0 var(--m-3) !important; }
.m-search-quick ul { display: flex; flex-wrap: wrap; gap: var(--m-2); margin: 0; padding: 0; list-style: none; }
.m-search-quick a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
	border: 1px solid var(--m-border-strong); border-radius: var(--m-radius-sm); background: var(--m-surface);
	color: var(--m-text) !important; text-decoration: none !important; font-family: var(--m-head); font-size: 17px; line-height: 1.2;
}
.m-search-quick a:hover { border-color: var(--m-text); color: var(--m-ink) !important; }

/* Kopf ohne backdrop-filter: sonst wird er Bezugsrahmen der (darin liegenden) Vollbild-Suche */
html body header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--m-bg) !important; }
html body #evlks-search-modal { position: fixed !important; inset: 0 !important; height: 100dvh !important; overflow-y: auto; z-index: 2000 !important; }
html body #evlks-search-modal .modal-dialog { position: relative !important; top: auto !important; left: auto !important; right: auto !important; }
html body #evlks-search-modal .modal-content { z-index: auto; }
/* Slider-Punkte: slick setzt opacity .25 */
html body .evlks-jumbotron-slider .slick-dots li button::before { opacity: 1 !important; background: var(--m-border-strong) !important; }
html body .evlks-jumbotron-slider .slick-dots li.slick-active button::before { background: var(--m-text) !important; }
@media (min-width: 768px) {
	html body .evlks-jumbotron-slider .slick-dots li button::before { background: rgb(255 255 255 / .7) !important; }
	html body .evlks-jumbotron-slider .slick-dots li.slick-active button::before { background: #fff !important; }
}
html body #evlks-search-modal { background: var(--m-bg) !important; }
html body #evlks-search-modal .modal-title { color: var(--m-text) !important; }
html body #evlks-search-modal .close, html body #evlks-search-modal .close :is(span, i), html body #evlks-search-modal .close i::before { color: var(--m-text) !important; opacity: 1 !important; }
html body.modal-open .modal-backdrop { display: none; }

/* Suche: Schliessen als ruhiger Symbol-Knopf, auf Hoehe der Ueberschrift */
html body #evlks-search-modal .modal-header { align-items: center; padding-bottom: var(--m-5); }
html body #evlks-search-modal .close {
	width: 48px; height: 48px; margin: 0 -10px 0 0;
	border: 0 !important; background: transparent !important; border-radius: var(--m-radius);
	font-size: 22px; line-height: 1; transition: background .15s;
}
html body #evlks-search-modal .close:hover { background: var(--m-surface-2) !important; }
html body #evlks-search-modal .close:focus-visible { outline: 3px solid var(--m-focus); outline-offset: 0; }
html body #evlks-search-modal .close i { font-size: 22px; }
html body #evlks-search-modal .modal-header { padding: 0 0 var(--m-5) !important; }
html body #evlks-search-modal .modal-title { margin: 0 !important; }

/* =====================================================================
   15. Barrierefreiheit (axe-Befunde)
   ===================================================================== */
html body :is(.et_caption, .et_caption strong, figcaption, .bildnachweis, .copyright) { color: var(--m-muted) !important; }
html body footer :is(.evlks-footer-service-copyright, .col-md-offset-3) { color: var(--m-muted) !important; }
html body main .wp-block-table[tabindex]:focus-visible { outline: 3px solid var(--m-focus); outline-offset: 2px; }

/* =====================================================================
   16. Listen (Kalender-/Events-Uebersicht) und Filter
   ===================================================================== */
html body main .evlks-teaser-list { margin: 0; }
html body main .evlks-teaser-list-el { margin: 0 !important; padding: var(--m-5) 0 !important; border: 0 !important; border-bottom: 1px solid var(--m-border) !important; background: transparent !important; }
html body main .evlks-teaser-list-el:first-of-type { border-top: 1px solid var(--m-border) !important; }
html body main .evlks-teaser-list-el:hover { background: transparent !important; }
html body main .evlks-teaser-list-el > .csc-default { display: grid; grid-template-columns: 1fr; gap: var(--m-2) var(--m-5); }
@media (min-width: 768px) { html body main .evlks-teaser-list-el > .csc-default { grid-template-columns: 150px minmax(0, 1fr); } }
html body main .evlks-teaser-list-el > .csc-default > [class*="col-"] { width: auto; float: none; padding: 0 !important; border: 0 !important; min-height: 0; }
html body main .evlks-teaser-list-el .dtstamp { font-family: var(--m-head-bold); font-size: 19px; line-height: 1.2; color: var(--m-text); border: 0 !important; padding: 0 !important; margin: 0; }
html body main .evlks-teaser-list-el :is(.dtstart, .dtend) { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-family: var(--m-head); font-size: 16px; color: var(--m-muted); border: 0 !important; padding: 0 !important; }
html body main .evlks-teaser-list-el :is(.dtstart, .dtend)::before, html body main .evlks-teaser-list-el .location::before { color: var(--m-ink) !important; }
html body main .evlks-teaser-list-el h2 { font-family: var(--m-head-bold); font-size: clamp(20px, 18px + .5vw, 23px); line-height: 1.2; margin: 0 0 var(--m-2) !important; padding: 0 !important; border: 0 !important; color: var(--m-text); }
html body main .evlks-teaser-list-el h2 a { color: var(--m-text) !important; text-decoration: none !important; }
html body main .evlks-teaser-list-el h2 a:hover { color: var(--m-ink) !important; }
html body main .evlks-teaser-list-el .event_intro { padding: 0 !important; }
html body main .evlks-teaser-list-el .location { font-size: 16px; line-height: 1.45; color: var(--m-text); }
html body main .evlks-teaser-list-el .location small { display: block; font-size: 15px; color: var(--m-muted); }
html body main .evlks-teaser-list-el .event_intro > .row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--m-3); margin: var(--m-4) 0 0 !important; }
html body main .evlks-teaser-list-el .event_intro > .row::before, html body main .evlks-teaser-list-el .event_intro > .row::after { display: none; }
html body main .evlks-teaser-list-el .event_intro > .row > [class*="col-"] { width: auto; float: none; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
html body main .evlks-teaser-list-el .event_intro > .row strong { font-weight: 400; font-family: var(--m-head); font-size: 15px; color: var(--m-muted); }
html body main .evlks-teaser-list-el .event-tooltip a { color: var(--m-ink) !important; cursor: pointer; }
html body main .evlks-teaser-list-el .to_event { float: none !important; margin-left: auto; }
html body main .evlks-teaser-list-el .to_event .btn { background: transparent !important; color: var(--m-text) !important; border: 1.5px solid var(--m-border-strong) !important; min-height: 40px; padding: 8px 18px !important; font-size: 16px; }
html body main .evlks-teaser-list-el .to_event .btn:hover { border-color: var(--m-text) !important; background: var(--m-surface-2) !important; }
html body main span.to_event ::before { color: var(--m-muted) !important; }
html body main .evlks-teaser-list-el img { border-radius: var(--m-radius); }

/* Filter */
html body main .evlks-filter { background: var(--m-surface-2) !important; border: 1px solid var(--m-border); border-radius: var(--m-radius); color: var(--m-text); }
html body main .evlks-filter .evlks-filter-options { padding: var(--m-5) !important; }
html body main .evlks-filter :is(.icon-bg-primary, .icon-filter) { background: none !important; color: var(--m-ink) !important; width: auto; height: auto; padding: 0; }
html body main .evlks-filter-heading { display: flex; align-items: center; gap: var(--m-2); margin: 0 0 var(--m-4) !important; font-family: var(--m-head-bold); font-size: 20px; color: var(--m-text) !important; }
html body main .evlks-filter-collapse { display: flex !important; align-items: center; gap: var(--m-2); width: 100%; min-height: 48px; padding: 0 !important; background: transparent !important; color: var(--m-text) !important; font-family: var(--m-head-bold); font-size: 18px; }
html body main .evlks-filter :is(legend, label:not(.sr-only):not(.radio label)) { display: block; margin: 0 0 6px; padding: 0; border: 0; font-family: var(--m-head-bold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--m-muted) !important; }
html body main .evlks-filter .radio label { font-family: var(--m-body); font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--m-text) !important; display: inline-flex; align-items: center; gap: 8px; padding-left: 0; }
html body main .evlks-filter .radio input { position: static; margin: 0; accent-color: var(--m-ink); width: 18px; height: 18px; }
html body main .evlks-filter .form-group { margin: 0 0 var(--m-4); padding: 0 0 var(--m-4); border-bottom: 1px solid var(--m-border); }
html body main .evlks-filter .form-group:last-of-type { border-bottom: 0; }
html body main .evlks-filter :is(input[type="text"], input[type="search"], select, .form-control, .btn.dropdown-toggle) {
	height: 44px; min-height: 44px; border: 1px solid var(--m-border-strong) !important; border-radius: var(--m-radius-sm) !important;
	background: var(--m-surface) !important; color: var(--m-text) !important; box-shadow: none !important; font-size: 16px;
}
html body main .evlks-filter .input-group { display: flex; width: 100%; }
html body main .evlks-filter .input-group .form-control { flex: 1; min-width: 0; border-radius: var(--m-radius-sm) 0 0 var(--m-radius-sm) !important; }
html body main .evlks-filter .input-group-addon { display: grid; place-items: center; width: 44px; border: 1px solid var(--m-border-strong); border-left: 0; border-radius: 0 var(--m-radius-sm) var(--m-radius-sm) 0; background: var(--m-surface); color: var(--m-muted); }
html body main .evlks-filter .input-daterange label { margin-top: var(--m-3); }
html body main .evlks-filter :is(button[type="submit"], input[type="submit"], .btn-primary) { width: 100%; justify-content: center; }
html body main .evlks-filter :focus-visible { outline: 3px solid var(--m-focus); outline-offset: 1px; }
html body main .pagination > li > :is(a, span) { border-color: var(--m-border); background: var(--m-surface); color: var(--m-text); }
html body main .pagination > .active > :is(a, span) { background: var(--m-text); border-color: var(--m-text); color: var(--m-bg); }
html[data-scheme="dark"] body main :is(.bootstrap-select .dropdown-menu, .dropdown-menu) { background: var(--m-surface); color: var(--m-text); border-color: var(--m-border); }
html[data-scheme="dark"] body main .dropdown-menu > li > a { color: var(--m-text); }
html body main .evlks-teaser-list-el > .csc-default > [class*="col-"]::before,
html body main .evlks-teaser-list-el > .csc-default > [class*="col-"]::after { display: none !important; content: none !important; }
html body main .evlks-filter .icon-filter { display: none !important; }
html body main .evlks-filter-collapse::after { content: ""; width: 9px; height: 9px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); transition: transform .2s var(--m-ease); }
html body main .evlks-filter-collapse[aria-expanded="true"]::after { transform: rotate(-135deg) translateY(-3px); }
html body main .evlks-filter-collapse[aria-expanded="true"] { margin-bottom: var(--m-4); }
@media (max-width: 991px) { html body main .evlks-filter-heading.desktop-only { display: none !important; } }
@media (min-width: 992px) { html body main .evlks-filter-collapse.mobile-only { display: none !important; } }
html body main .evlks-teaser-list-el .event_intro { border: 0 !important; }
html[data-scheme="dark"] body main small { color: var(--m-muted); }

/* =====================================================================
   17. Detailseiten: Termin, News-Artikel, Suche/404
   ===================================================================== */
/* gemeinsame Lesespalte */
html body main :is(.evlks-single-event, .news-single) { max-width: var(--m-measure); margin-left: auto !important; margin-right: auto !important; }
html body main section.flex-ordering-mobile > .container > h1,
html body main .news-single .section-headline {
	max-width: var(--m-measure); margin: 0 auto var(--m-3) !important; text-align: left !important;
	font-family: var(--m-head); font-weight: 400; font-size: clamp(30px, 18px + 3.2vw, 52px); line-height: 1.08;
}
html body main section.flex-ordering-mobile > .container { padding-bottom: 0; }
html body main section.flex-ordering-mobile > .container > :is(.evlks-section-sub, .calendar-subtitle):empty,
html body main .calendar-subtitle:not(:has(*)) { display: none; }

/* Termin */
html body main .evlks-single-event { display: block; }
html body main .evlks-single-event > .csc-default { display: grid; grid-template-columns: 1fr; gap: var(--m-5); }
html body main .evlks-single-event > .csc-default > [class*="col-"] { width: auto; float: none; padding: 0; }
html body main .evlks-single-event > .csc-default > [class*="col-"]::before, html body main .evlks-single-event > .csc-default > [class*="col-"]::after { display: none !important; }
html body main .evlks-single-event .dtstamp { display: inline; font-family: var(--m-head-bold); font-size: 20px; color: var(--m-text); border: 0 !important; padding: 0 !important; }
html body main .evlks-single-event :is(.dtstart, .dtend) { display: inline-flex; align-items: center; gap: 6px; margin-left: var(--m-3); font-family: var(--m-head); font-size: 18px; color: var(--m-muted); border: 0 !important; padding: 0 !important; }
html body main .evlks-single-event :is(.dtstart, .dtend, .location small)::before, html body main .evlks-single-event .location::before { color: var(--m-ink) !important; }
html body main .evlks-single-event .xm-responsive-images { margin-top: var(--m-4); }
html body main .evlks-single-event figure { margin: 0; }
html body main .evlks-single-event figure img { width: 100%; height: auto; border-radius: var(--m-radius); }
html body main .evlks-single-event figure .et_caption { display: block; margin-top: 6px; font-size: 14px; }
html body main .evlks-single-event .event_intro { border: 0 !important; padding: 0 !important; }
html body main .evlks-single-event .location { font-size: 18px; color: var(--m-text); }
html body main .evlks-single-event .location small { display: block; font-size: 16px; color: var(--m-muted); }
html body main .evlks-single-event .event_body > br { display: none; }
html body main .evlks-single-event .event_body > .row { display: grid; grid-template-columns: 1fr; gap: 2px var(--m-5); margin: 0 !important; padding: var(--m-3) 0; border-top: 1px solid var(--m-border); }
@media (min-width: 600px) { html body main .evlks-single-event .event_body > .row { grid-template-columns: 200px minmax(0, 1fr); } }
html body main .evlks-single-event .event_body > .row::before, html body main .evlks-single-event .event_body > .row::after { display: none; }
html body main .evlks-single-event .event_body > .row > [class*="col-"] { width: auto; float: none; padding: 0; line-height: 1.55; }
html body main .evlks-single-event .event_body > .row > [class*="col-"]:first-child strong { font-weight: 400; font-family: var(--m-head-bold); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--m-muted); }
html body main .evlks-single-event .description:empty { display: none; }

/* News-Artikel */
html body main .news-single h3.text-center { text-align: left !important; margin: 0 0 var(--m-5) !important; }
html body main .news-single h3.text-center br { display: none; }
html body main .news-single h3 small { font-family: var(--m-head); font-size: 17px; color: var(--m-muted); }
html body main .news-single .row { display: flex; flex-direction: column; gap: var(--m-5); margin: 0; }
html body main .news-single .row::before, html body main .news-single .row::after { display: none; }
html body main .news-single .row > [class*="col-"] { width: 100%; float: none; padding: 0; }
html body main .news-single img { width: 100%; height: auto; border-radius: var(--m-radius); }
html body main .news-single figcaption, html body main .news-single .wp-caption-text { font-size: 14px; margin-top: 6px; }
html body main .news-single .shariff { margin: var(--m-5) 0 0; padding: var(--m-4) 0 0; border-top: 1px solid var(--m-border); }
html body main .news-single a[href*="/news/"]:not(.shariff-link) { display: inline-flex; align-items: center; gap: 6px; font-family: var(--m-head); font-size: 17px; }

/* Such-/404-Band */
html body main section.evlks-bg-primary { background: var(--m-surface-2) !important; border-bottom: 1px solid var(--m-border); }
html body main section.evlks-bg-primary .evlks-jumbotron-image, html body main section.evlks-bg-primary .image { background: none !important; height: auto !important; min-height: 0 !important; }
html body main section.evlks-bg-primary .image::before, html body main section.evlks-bg-primary .image::after { display: none !important; }
html body main section.evlks-bg-primary .container { padding-top: var(--m-6) !important; padding-bottom: var(--m-6) !important; }
html body main section.evlks-bg-primary .row > [class*="col-"] { width: 100%; max-width: 760px; margin: 0 auto !important; float: none; padding: 0; }
html body main form.searchbox { display: flex; align-items: stretch; margin: 0; padding: 0; background: var(--m-surface); border: 2px solid var(--m-text); border-radius: var(--m-radius); overflow: hidden; box-shadow: none; }
html body main form.searchbox:focus-within { outline: 3px solid var(--m-focus); outline-offset: 2px; }
html body main form.searchbox input { flex: 1; min-width: 0; height: 56px; margin: 0; padding: 0 18px; border: 0 !important; outline: 0 !important; background: transparent; color: var(--m-text); font-family: var(--m-body); font-size: 19px; }
html body main form.searchbox button { position: static !important; flex: 0 0 56px; width: 56px; height: 56px; margin: 0; border: 0; display: grid; place-items: center; background: var(--m-btn-bg) !important; color: var(--m-btn-fg) !important; }
html body main form.searchbox button i::before { color: var(--m-btn-fg) !important; }
html body main section > .container > .csc-default { padding-left: 0 !important; padding-right: 0 !important; }
html body main .evlks-single-event > .csc-default > [class*="col-"] { border: 0 !important; }
html body main .news-single .row > [class*="col-"] { display: block !important; }
html body main .news-single .news-backlink-wrap, html body main .evlks-single-calendar-back { display: block; width: auto; float: none; margin: var(--m-5) 0 0; padding: 0; text-align: left; }
html body main :is(.news-backlink-wrap, .evlks-single-calendar-back) a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--m-head); font-size: 17px; text-decoration: none !important; color: var(--m-ink) !important; }
html body main :is(.news-backlink-wrap, .evlks-single-calendar-back) a::before { content: ""; width: 8px; height: 8px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
html body main :is(.news-backlink-wrap, .evlks-single-calendar-back) a:hover { text-decoration: underline !important; }
html body main .csc-default { padding-left: 0 !important; padding-right: 0 !important; }
/* Archive mit Filter: Raster statt Bootstrap-Spalten */
html body main .row.flex-ordering-mobile { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: var(--m-6); margin: 0 !important; }
html body main .row.flex-ordering-mobile::before, html body main .row.flex-ordering-mobile::after { display: none; }
html body main .row.flex-ordering-mobile > [class*="col-"] { width: auto !important; float: none; padding: 0 !important; margin: 0 !important; }
html body main .row.flex-ordering-mobile > .flex-ordering-mobile-first { order: -1; }
@media (min-width: 992px) {
	html body main .row.flex-ordering-mobile { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
	html body main .row.flex-ordering-mobile > .flex-ordering-mobile-first { order: 2; position: sticky; top: 100px; }
}
html body:has(main .row.flex-ordering-mobile) main ol.breadcrumb { max-width: 1140px; }
html body main .evlks-filter-heading { padding: 0 !important; text-indent: 0; }
html body main .evlks-filter-heading > :not(i) { margin-left: 0; }
