/*
Theme Name: Astra Child Schiwa Tanzformation
Theme URI: https://schiwa-solingen.de
Description: Maßgeschneidertes, modernes Schwarz-Rot-Theme für die Schiwa-Tanzformation Solingen. Optimiert für Foto-Beiträge und The Events Calendar.
Author: Thomas Bücken
Author URI: https://schiwa-solingen.de
Template: astra
Version: 1.12.1
Text Domain: astra-child-schiwa

GitHub Theme URI: https://github.com/bucto/schiwa-childtheme-astra
GitHub Branch: main
*/

/* ==========================================================================
   Schiwa Tanzformation – Design Tokens
   ========================================================================== */

:root {
	--schiwa-rot: #e50914;
	--schiwa-rot-hover: #ff1a25;
	--schiwa-rot-dark: #b8070f;
	--schiwa-rot-glow: rgba(229, 9, 20, 0.22);
	--schiwa-schwarz: #1e1e26;
	--schiwa-schwarz-soft: #2d2d38;
	--schiwa-schwarz-mid: #26262f;
	--schiwa-grau: #3d3d48;
	--schiwa-grau-hell: #6b6b78;
	--schiwa-weiss: #ffffff;
	--schiwa-bg: #f4f4f5;
	--schiwa-bg-dark: #1a1a22;
	--schiwa-surface-dark: linear-gradient(165deg, #2c2c36 0%, #22222b 50%, #1a1a22 100%);
	--schiwa-surface-dark-flat: #22222b;
	--schiwa-overlay: rgba(26, 26, 34, 0.78);
	--schiwa-border: #e4e4e7;
	--schiwa-radius: 16px;
	--schiwa-radius-sm: 10px;
	--schiwa-radius-pill: 999px;
	--schiwa-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
	--schiwa-shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.12);
	--schiwa-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--schiwa-font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--schiwa-font-accent: "Playfair Display", Georgia, serif;
	--schiwa-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--schiwa-motiv-weiss: url('assets/images/schiwa-taenzer-weiss.svg');
	--schiwa-motiv-rot: url('assets/images/schiwa-taenzer-rot.svg');
	--schiwa-motiv-dezent: url('assets/images/schiwa-taenzer-dezent.svg');
}

/* ==========================================================================
   Basis & Typografie – Astra-Customizer-Farben überschreiben
   ========================================================================== */

body,
#page,
.site,
.site-content,
.ast-separate-container,
.ast-separate-container .ast-article-single,
.ast-separate-container .ast-article-post,
.ast-separate-container .ast-comment-list li,
.ast-separate-container .comment-respond,
.ast-plain-container,
#primary,
#secondary,
.ast-archive-description {
	background-color: var(--schiwa-bg) !important;
}

body {
	font-family: var(--schiwa-font);
	color: var(--schiwa-grau);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.site-title,
.ast-archive-description .page-title {
	font-family: var(--schiwa-font-display);
	color: var(--schiwa-schwarz);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.schiwa-tagcloud-title,
.schiwa-search-hero-title,
.widget-title {
	font-family: var(--schiwa-font-accent);
}

a {
	color: var(--schiwa-rot);
	transition: color var(--schiwa-transition);
}

a:hover,
a:focus {
	color: var(--schiwa-rot-hover);
}

/* ==========================================================================
   Header – Schwarz, zweistufig, modern
   ========================================================================== */

.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-above-header-bar,
.ast-below-header-bar,
.ast-header-break-point .main-header-bar,
.ast-builder-menu-1,
.ast-builder-menu-2 {
	background: var(--schiwa-surface-dark) !important;
	border: none !important;
}

.main-header-bar,
.ast-primary-header-bar {
	border-bottom: 3px solid var(--schiwa-rot) !important;
	box-shadow: 0 4px 24px rgba(30, 30, 40, 0.18);
	padding: 0.5rem 0 !important;
}

/* Logo nur in Top-Bar */
.main-header-bar .site-branding,
.ast-primary-header-bar .site-branding,
.main-header-bar .ast-site-identity,
.ast-primary-header-bar .ast-site-identity {
	display: none !important;
}

.main-header-bar .main-header-menu,
.ast-primary-header-bar .main-header-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.25rem 1.25rem;
}

.main-header-bar .main-navigation,
.ast-primary-header-bar .main-navigation {
	width: 100%;
}

.ast-above-header-bar {
	border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.main-header-bar .main-header-menu > .menu-item > .menu-link,
.main-header-bar .site-title a,
.main-header-bar .site-description,
.ast-header-custom-item,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-builder-menu-2 .menu-item > .menu-link,
.ast-above-header .menu-item > .menu-link,
.ast-below-header .menu-item > .menu-link,
.site-header a,
.site-header .menu-link {
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 500;
	font-size: 0.95rem;
	letter-spacing: 0.01em;
	transition: color var(--schiwa-transition);
}

.main-header-bar .main-header-menu > .menu-item:hover > .menu-link,
.main-header-bar .main-header-menu > .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-1 .menu-item:hover > .menu-link,
.ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
.ast-builder-menu-2 .menu-item:hover > .menu-link,
.ast-builder-menu-2 .menu-item.current-menu-item > .menu-link,
.ast-above-header .menu-item:hover > .menu-link,
.ast-above-header .menu-item.current-menu-item > .menu-link {
	color: var(--schiwa-rot) !important;
}

/* Eigene Hauptnavigation */
body.schiwa-custom-main-nav #ast-desktop-header .site-primary-header-wrap,
body.schiwa-custom-main-nav .ast-mobile-header-wrap .site-header-primary-section-left,
body.schiwa-custom-main-nav .ast-mobile-header-wrap .site-header-primary-section-right,
body.schiwa-custom-main-nav .main-header-bar-navigation {
	display: none !important;
}

body.schiwa-custom-main-nav .main-header-bar,
body.schiwa-custom-main-nav .ast-primary-header-bar {
	border-bottom: none !important;
	box-shadow: none !important;
	padding: 0 !important;
	min-height: 0 !important;
}

.schiwa-main-nav-bar {
	background: var(--schiwa-surface-dark);
	border-bottom: 3px solid var(--schiwa-rot);
	box-shadow: 0 4px 24px rgba(30, 30, 40, 0.18);
	padding: 0.35rem 0;
}

.schiwa-main-nav {
	position: relative;
}

.schiwa-main-nav-toggle {
	display: none;
	margin: 0 0 0.5rem;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--schiwa-radius-pill);
	background: rgba(255, 255, 255, 0.06);
	color: var(--schiwa-weiss);
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.schiwa-main-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-end;
	gap: 0.75rem 2.5rem;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
}

.schiwa-main-menu > .menu-item {
	position: relative;
}

.schiwa-main-menu > .menu-item:not(.menu-item-has-children) {
	align-self: center;
}

.schiwa-main-menu > .schiwa-nav-group {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.45rem;
	min-width: min(100%, 280px);
}

.schiwa-nav-group-title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	width: 100%;
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	line-height: 1;
	white-space: nowrap;
}

.schiwa-nav-group-title::before,
.schiwa-nav-group-title::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	min-width: 0.75rem;
	background: rgba(255, 255, 255, 0.22);
}

.schiwa-main-menu > .menu-item > a,
.schiwa-main-menu .sub-menu a {
	color: rgba(255, 255, 255, 0.92) !important;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none !important;
	transition: color var(--schiwa-transition);
}

.schiwa-main-menu > .menu-item:not(.menu-item-has-children) > a {
	display: inline-flex;
	align-items: center;
	padding: 0.45rem 0.15rem;
}

.schiwa-main-menu > .menu-item:hover > a,
.schiwa-main-menu > .menu-item.current-menu-item > a,
.schiwa-main-menu .sub-menu .current-menu-item > a,
.schiwa-main-menu .sub-menu a:hover {
	color: var(--schiwa-rot) !important;
}

.schiwa-main-menu > .menu-item.current-menu-parent .schiwa-nav-group-title,
.schiwa-main-menu > .menu-item.current-menu-ancestor .schiwa-nav-group-title {
	color: var(--schiwa-rot) !important;
	opacity: 1;
}

.schiwa-main-menu .sub-menu,
.schiwa-main-menu .schiwa-nav-group-links {
	display: flex !important;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 0;
	position: static;
	transform: none;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.schiwa-nav-group-links > .menu-item {
	display: inline-flex;
	align-items: center;
}

.schiwa-nav-group-links > .menu-item:not(:last-child)::after {
	content: "|";
	margin: 0 0.85rem;
	color: rgba(255, 255, 255, 0.35);
	font-weight: 400;
	font-size: 0.92rem;
	pointer-events: none;
}

.schiwa-main-menu .sub-menu a {
	display: inline-flex;
	padding: 0.15rem 0;
	font-size: 0.92rem;
	font-weight: 600;
	white-space: nowrap;
}

/* Logo: Weiß / Rot / Schwarz */
.site-header .custom-logo-link,
.site-header .schiwa-logo-link {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	line-height: 0;
	background: transparent !important;
	padding: 0 !important;
	border: none !important;
	box-shadow: none !important;
}

.schiwa-logo-link--multi {
	position: relative;
}

.schiwa-logo-state {
	display: block;
	line-height: 0;
}

.schiwa-logo-state--rot,
.schiwa-logo-state--schwarz {
	display: none;
}

/* Header (schwarz): Weiß, beim Hover Rot */
.site-header .schiwa-logo-link--multi .schiwa-logo-state--weiss {
	display: block;
}

.site-header .schiwa-logo-link--multi:hover .schiwa-logo-state--weiss,
.site-header .schiwa-logo-link--multi:focus-visible .schiwa-logo-state--weiss {
	display: none;
}

.site-header .schiwa-logo-link--multi:hover .schiwa-logo-state--rot,
.site-header .schiwa-logo-link--multi:focus-visible .schiwa-logo-state--rot {
	display: block;
}

.site-header .custom-logo-link img,
.site-header .schiwa-logo-svg-inline,
#masthead .schiwa-logo-svg-inline {
	filter: none !important;
	max-height: 52px;
	height: 52px;
	width: auto;
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
}

.schiwa-logo-svg-inline {
	display: block;
	overflow: visible;
}

.schiwa-logo-state,
.schiwa-logo-link--multi {
	overflow: visible;
}

/* Site-Titel neben Logo ausblenden – „tanzformation“ kommt darunter */
.site-header .site-branding .site-title,
.site-header .site-branding .site-description,
.site-header .ast-site-identity .site-title,
.site-header .ast-site-identity .site-description {
	display: none !important;
}

.site-header .site-branding,
.site-header .ast-site-identity {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.schiwa-logo-tagline {
	display: block;
	width: 100%;
	color: var(--schiwa-weiss);
	font-family: var(--schiwa-font);
	font-size: 0.56rem;
	font-weight: 700;
	text-transform: uppercase;
	line-height: 1.1;
	margin-top: 5px;
	padding-left: 0;
	padding-right: 0;
	opacity: 0.92;
}

.schiwa-logo-tagline-chars {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

.schiwa-logo-tagline-char {
	flex: 0 0 auto;
	line-height: 1;
}

/* ==========================================================================
   Top-Bar – Logo links, Suche rechts
   ========================================================================== */

.schiwa-top-bar {
	background: var(--schiwa-surface-dark);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 12px 0;
	position: relative;
	overflow: visible;
}

.schiwa-top-bar::after {
	content: "";
	position: absolute;
	right: 12%;
	top: 50%;
	width: 72px;
	height: 92px;
	background: var(--schiwa-motiv-weiss) no-repeat center / contain;
	opacity: 0.06;
	transform: translateY(-50%);
	pointer-events: none;
}

.schiwa-top-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.25rem;
}

.schiwa-top-bar-actions {
	display: flex;
	align-items: center;
	gap: 1rem;
	flex: 1 1 auto;
	justify-content: flex-end;
	min-width: 0;
}

.schiwa-header-social {
	flex-shrink: 0;
}

.schiwa-social-menu--header {
	gap: 8px;
}

.schiwa-social-link--icon-only {
	padding: 8px;
	border-radius: 50%;
	width: 36px;
	height: 36px;
	justify-content: center;
}

.schiwa-social-link--icon-only .schiwa-social-icon {
	width: 16px;
	height: 16px;
}

.schiwa-top-bar-logo {
	flex: 0 0 auto;
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	width: max-content;
	max-width: 100%;
	overflow: visible;
}

.schiwa-top-bar-logo .custom-logo-link,
.schiwa-top-bar-logo .schiwa-logo-link {
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	width: max-content;
	max-width: 100%;
	overflow: visible;
	line-height: 1;
}

.schiwa-top-bar-logo .schiwa-logo-state {
	width: 100%;
}

.schiwa-top-bar-logo .schiwa-logo-tagline {
	display: block;
	width: 100%;
	color: var(--schiwa-weiss);
	font-size: 0.56rem;
	font-weight: 700;
	text-transform: uppercase;
	margin-top: 5px;
	padding-left: 0;
	padding-right: 0;
	opacity: 0.92;
}

.schiwa-top-bar-logo .schiwa-logo-svg-inline {
	width: auto;
	height: 56px;
	max-width: 100%;
	display: block;
}

.schiwa-top-bar-search {
	flex: 0 1 420px;
	width: 100%;
	max-width: 420px;
}

.schiwa-top-bar-search .schiwa-search-form {
	max-width: 100%;
	margin: 0;
}

.schiwa-header-search-strip {
	display: none !important;
}

/* ==========================================================================
   SUCHE – Header-Leiste & Suchergebnisse
   ========================================================================== */

.schiwa-search-form {
	width: 100%;
	margin: 0;
}

.schiwa-search-field-wrap {
	display: flex;
	align-items: center;
	gap: 0;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: var(--schiwa-radius-pill);
	overflow: hidden;
	transition: border-color var(--schiwa-transition), box-shadow var(--schiwa-transition);
}

.schiwa-search-field-wrap:focus-within {
	border-color: var(--schiwa-rot);
	box-shadow: 0 0 0 3px var(--schiwa-rot-glow);
}

.schiwa-search-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	padding-left: 14px;
	color: rgba(255, 255, 255, 0.6);
	flex-shrink: 0;
}

.schiwa-search-field {
	flex: 1;
	min-width: 0;
	border: none !important;
	background: transparent !important;
	color: var(--schiwa-weiss) !important;
	font-family: var(--schiwa-font);
	font-size: 0.875rem;
	padding: 10px 8px !important;
	box-shadow: none !important;
	outline: none !important;
	border-radius: 0 !important;
	height: auto !important;
}

.schiwa-search-field::placeholder {
	color: rgba(255, 255, 255, 0.45);
}

.schiwa-search-submit {
	flex-shrink: 0;
	border: none !important;
	background: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	font-family: var(--schiwa-font);
	font-size: 0.8rem;
	font-weight: 700;
	padding: 10px 18px !important;
	border-radius: 0 var(--schiwa-radius-pill) var(--schiwa-radius-pill) 0 !important;
	cursor: pointer;
	transition: background var(--schiwa-transition);
	height: auto !important;
	line-height: 1.2 !important;
}

.schiwa-search-submit:hover {
	background: var(--schiwa-rot-hover) !important;
	transform: none !important;
}

.schiwa-search-form--header .schiwa-search-field-wrap {
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(255, 255, 255, 0.25);
}

.schiwa-search-form--header .schiwa-search-icon {
	color: var(--schiwa-grau-hell);
}

.schiwa-search-form--header .schiwa-search-field {
	color: var(--schiwa-schwarz) !important;
}

.schiwa-search-form--header .schiwa-search-field::placeholder {
	color: var(--schiwa-grau-hell);
}

.schiwa-search-form--hero .schiwa-search-field-wrap {
	background: rgba(255, 255, 255, 0.95);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--schiwa-radius-pill);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.schiwa-search-form--hero .schiwa-search-icon {
	color: var(--schiwa-grau-hell);
	padding-left: 20px;
}

.schiwa-search-form--hero .schiwa-search-field {
	color: var(--schiwa-schwarz) !important;
	font-size: 1rem;
	padding: 16px 12px !important;
}

.schiwa-search-form--hero .schiwa-search-field::placeholder {
	color: var(--schiwa-grau-hell);
}

.schiwa-search-form--hero .schiwa-search-submit {
	padding: 16px 28px !important;
	font-size: 0.95rem;
	border-radius: 0 var(--schiwa-radius-pill) var(--schiwa-radius-pill) 0 !important;
}

.schiwa-search-form--hero {
	max-width: 560px;
	margin: 0 auto;
}

/* Suchergebnisseite */
.schiwa-search-hero {
	background: linear-gradient(155deg, #2c2c36 0%, var(--schiwa-schwarz-mid) 45%, #1a1a22 100%);
	border-bottom: 3px solid var(--schiwa-rot);
	padding: 3rem 0;
	margin-bottom: 2rem;
}

.schiwa-search-hero-inner {
	text-align: center;
	max-width: 720px;
	margin: 0 auto;
}

.schiwa-search-hero-title {
	font-family: var(--schiwa-font-display);
	color: var(--schiwa-weiss) !important;
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	margin: 0 0 0.5rem;
	word-break: break-word;
}

.schiwa-search-hero-meta {
	color: rgba(255, 255, 255, 0.65);
	margin: 0 0 1.75rem;
	font-size: 1rem;
}

/* Astra Standard-Suchergebnis-Titel ausblenden (eigener Hero) */
.search .ast-archive-description {
	display: none;
}

/* Widget-Suche in Sidebar */
.widget_search .schiwa-search-field-wrap {
	background: var(--schiwa-weiss);
	border: 1px solid var(--schiwa-border);
}

.widget_search .schiwa-search-icon {
	color: var(--schiwa-grau-hell);
}

.widget_search .schiwa-search-field {
	color: var(--schiwa-schwarz) !important;
}

/* ==========================================================================
   Footer – dunkel, reduziert
   ========================================================================== */

.site-footer,
.ast-footer-overlay,
.site-below-footer-wrap,
.site-above-footer-wrap,
.site-primary-footer-wrap {
	background: var(--schiwa-surface-dark) !important;
	color: rgba(255, 255, 255, 0.78) !important;
	border-top: 3px solid var(--schiwa-rot) !important;
}

.site-footer a,
.ast-footer-copyright a {
	color: rgba(255, 255, 255, 0.85) !important;
}

.site-footer a:hover,
.ast-footer-copyright a:hover {
	color: var(--schiwa-rot) !important;
}

.ast-footer-copyright,
.site-footer-section {
	font-size: 0.875rem;
}

/* ==========================================================================
   Blog – modern, foto-fokussiert, ohne Autoren
   ========================================================================== */

.blog .site-content > .ast-container,
.archive .site-content > .ast-container,
.search .site-content > .ast-container,
.home .site-content > .ast-container,
.tag .site-content > .ast-container {
	padding-top: 2rem;
	padding-bottom: 1rem;
	max-width: 1280px;
}

/* Schlagwort-Archiv: Startseiten-Kacheln statt Blog-Loop */
body.schiwa-tag-archive #primary .ast-article-post,
body.schiwa-tag-archive #primary > .ast-row,
body.schiwa-tag-archive #primary > .ast-flex,
body.schiwa-tag-archive #primary .ast-pagination,
body.schiwa-tag-archive #primary .ast-archive-description,
body.schiwa-tag-archive #primary .ast-no-results,
body.schiwa-tag-archive #primary section.no-results {
	display: none !important;
}

.schiwa-tag-archive-section {
	padding: 2.5rem 0 2rem;
}

.schiwa-tag-archive-title {
	font-family: var(--schiwa-font-display);
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	color: var(--schiwa-schwarz);
	margin: 0.35rem 0 0.5rem;
}

.schiwa-tag-archive-header {
	margin-bottom: 1.75rem;
}

.schiwa-tag-archive-section .schiwa-news-grid {
	margin-top: 0.5rem;
}

.schiwa-tag-archive-pagination {
	margin: 2.5rem 0 0;
	text-align: center;
}

.schiwa-tag-archive-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 4px;
	padding: 0 12px;
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius-pill);
	color: var(--schiwa-schwarz);
	text-decoration: none !important;
	font-weight: 600;
	transition: all var(--schiwa-transition);
}

.schiwa-tag-archive-pagination .page-numbers.current,
.schiwa-tag-archive-pagination .page-numbers:hover {
	background: var(--schiwa-rot);
	border-color: var(--schiwa-rot);
	color: var(--schiwa-weiss);
}

/* Autoren überall ausblenden */
.posted-by,
.byline,
.vcard.author,
.author.vcard,
.entry-meta .author,
.entry-meta .posted-by,
.post-meta .posted-by,
.post-meta .author,
.ast-blog-meta-author,
.ast-blog-single-element.ast-blog-author,
.ast-author-avatar-wrap,
.ast-author-box,
.author-name,
a.author-name,
.entry-meta .author-link,
span.author,
.single .entry-meta .posted-by {
	display: none !important;
}

.ast-row,
.ast-grid-common-col {
	gap: 2rem;
}

.ast-article-single,
.ast-article-post {
	background: var(--schiwa-weiss) !important;
	border: none;
	border-radius: var(--schiwa-radius);
	box-shadow: var(--schiwa-shadow);
	overflow: hidden;
	margin-bottom: 0 !important;
	transition: box-shadow var(--schiwa-transition), transform var(--schiwa-transition);
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ast-article-post:hover {
	box-shadow: var(--schiwa-shadow-hover);
	transform: translateY(-6px);
}

.ast-blog-featured-section,
.post-thumb,
.blog-layout-1 .post-thumb,
.blog-layout-4 .post-thumb {
	position: relative;
	overflow: hidden;
	margin: 0 !important;
	aspect-ratio: 4 / 3;
}

.post-thumb img,
.ast-blog-featured-section img,
.ast-blog-featured-section .post-thumb img,
.wp-post-image {
	border-radius: 0 !important;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.ast-article-post:hover .post-thumb img,
.ast-article-post:hover .ast-blog-featured-section img {
	transform: scale(1.06);
}

.ast-blog-featured-section::after,
.post-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 45%);
	pointer-events: none;
}

.entry-header,
.blog-layout-1 .entry-header,
.blog-layout-4 .entry-header {
	padding: 1.35rem 1.5rem 0;
}

.entry-content-wrap,
.blog-layout-1 .entry-content,
.blog-layout-4 .entry-content {
	padding: 0.65rem 1.5rem 1.35rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.entry-title,
.entry-title a {
	font-size: 1.15rem !important;
	line-height: 1.35 !important;
	color: var(--schiwa-schwarz) !important;
	text-decoration: none;
	font-weight: 700;
	transition: color var(--schiwa-transition);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.entry-title a:hover {
	color: var(--schiwa-rot) !important;
}

.ast-article-post .entry-content,
.ast-excerpt-container {
	line-height: 1.65;
	color: var(--schiwa-grau-hell);
	font-size: 0.9rem;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page .entry-title,
.page .entry-title a {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.page .entry-content {
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
	padding: 1.25rem 0 2rem;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--schiwa-grau);
}

.entry-content p:last-child,
.ast-excerpt-container p:last-child {
	margin-bottom: 0;
}

.entry-content img {
	border-radius: var(--schiwa-radius-sm);
	max-width: 100%;
	height: auto;
}

.entry-content img.schiwa-lightbox-trigger {
	cursor: zoom-in;
}

.single .entry-content img.schiwa-lightbox-trigger {
	cursor: zoom-in;
}

/* Meta: nur Datum, dezent */
.entry-meta,
.post-meta,
.ast-blog-meta,
.ast-blog-single-element:not(.ast-blog-categories) {
	color: var(--schiwa-grau-hell) !important;
	font-size: 0.75rem !important;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin-bottom: 0.5rem !important;
}

.entry-meta a,
.post-meta a {
	color: var(--schiwa-grau-hell) !important;
	text-decoration: none;
	font-weight: 600;
}

.entry-meta a:hover,
.post-meta a:hover {
	color: var(--schiwa-rot) !important;
}

/* Kategorie-Pills */
.ast-blog-single-element.ast-blog-categories,
.entry-meta .cat-links a,
.post-meta .cat-links a {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.68rem !important;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ast-blog-single-element.ast-blog-categories a:hover,
.entry-meta .cat-links a:hover {
	background: var(--schiwa-rot);
	color: var(--schiwa-weiss) !important;
}

.entry-meta .tags-links a,
.entry-meta .tag-links a {
	display: inline-block;
	padding: 4px 12px;
	margin: 0 6px 6px 0;
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.68rem !important;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: none;
}

.entry-meta .tags-links a:hover,
.entry-meta .tag-links a:hover {
	background: var(--schiwa-rot);
	color: var(--schiwa-weiss) !important;
}

/* Einzelbeitrag */
.single .ast-article-single {
	border-radius: var(--schiwa-radius);
	box-shadow: var(--schiwa-shadow);
	overflow: hidden;
}

.single .entry-header {
	padding: 2rem 2rem 0;
}

.single .entry-title {
	font-size: clamp(1.75rem, 4vw, 2.5rem) !important;
	-webkit-line-clamp: unset;
	display: block;
}

.single .entry-content {
	padding: 1.5rem 2rem 2rem;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--schiwa-grau);
	display: block;
	-webkit-line-clamp: unset;
	overflow: visible;
}

.single .entry-content img {
	border-radius: var(--schiwa-radius);
	margin: 1.5rem 0;
}

.single .entry-meta {
	padding: 0 2rem;
	margin-top: 0.5rem !important;
}

/* Einzelbeitrag: volle Breite wie Kalender/Archiv */
body.schiwa-single-post-wide .site-content > .ast-container {
	max-width: 1280px;
	width: 100%;
}

body.schiwa-single-post-wide #primary {
	width: 100%;
	max-width: 100%;
	flex: 1 1 100%;
}

body.schiwa-single-post-wide .ast-separate-container #primary .ast-article-single {
	max-width: 100%;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.schiwa-entry-meta .posted-by,
.schiwa-entry-meta .ast-separator,
.schiwa-entry-meta .meta-separator {
	display: none !important;
}

/* Weiterlesen-Link */
.read-more,
.ast-read-more-container a,
.more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--schiwa-rot) !important;
	text-decoration: none !important;
}

.read-more::after,
.ast-read-more-container a::after,
.more-link::after {
	content: "→";
	transition: transform var(--schiwa-transition);
}

.ast-article-post:hover .read-more::after,
.ast-article-post:hover .more-link::after {
	transform: translateX(4px);
}

.schiwa-footer-nav-wrap {
	background: var(--schiwa-surface-dark);
	padding: 1.5rem 0 0.75rem;
	position: relative;
	overflow: hidden;
}

.schiwa-footer-social {
	position: relative;
	z-index: 1;
	margin-bottom: 1.25rem;
	text-align: center;
}

.schiwa-social-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 14px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.schiwa-social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none !important;
	color: var(--schiwa-weiss) !important;
	background: rgba(255, 255, 255, 0.04);
	transition: background var(--schiwa-transition), border-color var(--schiwa-transition), transform var(--schiwa-transition);
}

.schiwa-social-link:hover {
	background: var(--schiwa-rot);
	border-color: var(--schiwa-rot);
	transform: translateY(-1px);
}

.schiwa-social-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	display: block;
}

.schiwa-social-label {
	line-height: 1;
}

.schiwa-footer-nav-wrap::after {
	content: "";
	position: absolute;
	right: 8%;
	top: 50%;
	width: 80px;
	height: 102px;
	background: var(--schiwa-motiv-weiss) no-repeat center / contain;
	opacity: 0.07;
	transform: translateY(-50%);
	pointer-events: none;
}

.schiwa-footer-nav {
	position: relative;
	z-index: 1;
	padding: 0;
	text-align: center;
}

.schiwa-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.schiwa-footer-menu a {
	display: inline-block;
	padding: 8px 16px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	color: var(--schiwa-weiss) !important;
	transition: background var(--schiwa-transition), border-color var(--schiwa-transition);
}

.schiwa-footer-menu a:hover {
	background: var(--schiwa-rot);
	border-color: var(--schiwa-rot);
}

/* Startseite: kein Standard-Blog unter News */
.schiwa-no-home-loop #primary .ast-article-post,
.schiwa-no-home-loop #primary > .ast-row,
.schiwa-no-home-loop #primary > .ast-flex,
.schiwa-no-home-loop #primary .ast-pagination {
	display: none !important;
}

/* ==========================================================================
   Startseite – Nächste Termine (The Events Calendar)
   ========================================================================== */

.schiwa-events-section {
	background: var(--schiwa-weiss);
	border-bottom: 1px solid var(--schiwa-border);
	padding: 2.5rem 0 2rem;
	margin-bottom: 0.5rem;
	position: relative;
	overflow: hidden;
}

.schiwa-events-section::before {
	content: "";
	position: absolute;
	right: -10px;
	bottom: -24px;
	width: 130px;
	height: 168px;
	background: var(--schiwa-motiv-rot) no-repeat center / contain;
	opacity: 0.07;
	pointer-events: none;
}

.schiwa-events-section .ast-container,
.schiwa-news-section .ast-container {
	position: relative;
	z-index: 1;
}

.schiwa-events-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
	margin-bottom: 1.75rem;
}

.schiwa-events-kicker {
	background: rgba(229, 9, 20, 0.08);
	color: var(--schiwa-rot);
	border-color: rgba(229, 9, 20, 0.25);
}

.schiwa-events-title {
	font-family: var(--schiwa-font-accent);
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--schiwa-schwarz);
	margin: 0 0 0.5rem;
}

.schiwa-events-desc {
	margin: 0;
	color: var(--schiwa-grau-hell);
	font-size: 0.95rem;
	max-width: 520px;
}

.schiwa-events-all-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 20px;
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	text-decoration: none !important;
	transition: background var(--schiwa-transition), transform var(--schiwa-transition);
	white-space: nowrap;
}

.schiwa-events-all-link:hover {
	background: var(--schiwa-rot);
	transform: translateY(-1px);
}

.schiwa-events-all-link--inline {
	margin-top: 0.75rem;
}

.schiwa-events-scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
	scrollbar-color: var(--schiwa-rot) transparent;
	padding-bottom: 0.35rem;
}

.schiwa-events-scroll::-webkit-scrollbar {
	height: 6px;
}

.schiwa-events-scroll::-webkit-scrollbar-thumb {
	background: var(--schiwa-rot);
	border-radius: 3px;
}

.schiwa-events-scroll::-webkit-scrollbar-track {
	background: transparent;
}

.schiwa-events-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 1.25rem;
	width: max-content;
	min-width: 100%;
	padding: 2px 2px 6px;
}

.schiwa-event-card {
	flex: 0 0 min(300px, 82vw);
	scroll-snap-align: start;
	background: var(--schiwa-bg);
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius);
	overflow: hidden;
	transition: box-shadow var(--schiwa-transition), transform var(--schiwa-transition), border-color var(--schiwa-transition);
}

.schiwa-event-card:hover {
	box-shadow: var(--schiwa-shadow-hover);
	transform: translateY(-4px);
	border-color: rgba(229, 9, 20, 0.3);
}

.schiwa-event-card-link {
	display: flex;
	align-items: stretch;
	gap: 0;
	padding: 1.15rem;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
}

.schiwa-event-card--has-image .schiwa-event-card-link {
	flex-direction: column;
	padding: 0;
}

.schiwa-event-card-media {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--schiwa-bg);
}

.schiwa-event-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.schiwa-event-card--has-image:hover .schiwa-event-card-media img {
	transform: scale(1.04);
}

.schiwa-event-card-main {
	display: flex;
	align-items: stretch;
	gap: 0;
	flex: 1;
	min-width: 0;
}

.schiwa-event-card--has-image .schiwa-event-card-main {
	padding: 1.15rem;
}

.schiwa-event-date-badge {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 68px;
	padding: 0.65rem 0.5rem;
	background: var(--schiwa-rot);
	color: var(--schiwa-weiss);
	border-radius: var(--schiwa-radius-sm);
	text-align: center;
	line-height: 1.1;
}

.schiwa-event-day {
	font-size: 1.65rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.schiwa-event-month {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-top: 2px;
}

.schiwa-event-year {
	font-size: 0.65rem;
	opacity: 0.85;
	margin-top: 2px;
}

.schiwa-event-body {
	flex: 1;
	min-width: 0;
	padding: 0 0.75rem;
}

.schiwa-event-title {
	font-size: 1rem !important;
	font-weight: 700;
	color: var(--schiwa-schwarz) !important;
	margin: 0 0 0.5rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.schiwa-event-card:hover .schiwa-event-title {
	color: var(--schiwa-rot) !important;
}

.schiwa-event-time,
.schiwa-event-venue {
	margin: 0 0 0.35rem;
	font-size: 0.82rem;
	color: var(--schiwa-grau-hell);
	line-height: 1.4;
}

.schiwa-event-meta-label {
	display: block;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--schiwa-grau-hell);
	opacity: 0.8;
}

.schiwa-event-arrow {
	flex-shrink: 0;
	align-self: center;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--schiwa-rot);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity var(--schiwa-transition), transform var(--schiwa-transition);
}

.schiwa-event-card:hover .schiwa-event-arrow {
	opacity: 1;
	transform: translateX(0);
}

.schiwa-events-empty {
	padding: 2rem;
	background: var(--schiwa-bg);
	border: 1px dashed var(--schiwa-border);
	border-radius: var(--schiwa-radius);
	text-align: center;
	color: var(--schiwa-grau-hell);
}

.schiwa-events-empty p {
	margin: 0;
}

/* Kategorie-Archiv: Kacheln nach Monat (volle Breite, Grid) */
.schiwa-category-events-overview {
	background: var(--schiwa-bg);
	padding: 2.5rem 0 3rem;
	width: 100%;
}

.schiwa-category-events-header {
	margin-bottom: 2rem;
}

.schiwa-category-events-title {
	font-family: var(--schiwa-font-display);
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	color: var(--schiwa-schwarz);
	margin: 0 0 0.35rem;
}

.schiwa-category-events-overview .schiwa-events-desc {
	margin: 0;
}

.schiwa-events-month-group {
	margin-bottom: 2.25rem;
}

.schiwa-events-month-group:last-child {
	margin-bottom: 0;
}

.schiwa-events-month-title {
	font-family: var(--schiwa-font-display);
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	color: var(--schiwa-schwarz);
	margin: 0 0 1.15rem;
	padding-bottom: 0.55rem;
	border-bottom: 2px solid var(--schiwa-rot);
}

.schiwa-events-grid.schiwa-events-grid--archive {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 1.25rem;
	width: 100% !important;
	min-width: 0;
	max-width: none;
	flex-wrap: unset;
	padding: 0;
}

.schiwa-events-grid--archive .schiwa-event-card {
	flex: none;
	width: 100%;
	scroll-snap-align: unset;
}

.schiwa-events-grid--archive .schiwa-event-card:not(.schiwa-event-card--has-image) .schiwa-event-card-link {
	flex-direction: row;
	align-items: flex-start;
	padding: 1.15rem;
}

.schiwa-events-grid--archive .schiwa-event-card--has-image .schiwa-event-card-link {
	flex-direction: column;
	padding: 0;
}

.schiwa-events-grid--archive .schiwa-event-title {
	-webkit-line-clamp: unset;
	display: block;
	overflow: visible;
}

body.schiwa-event-category-archive .tribe-events-view,
body.schiwa-event-category-archive .tribe-events .tribe-events-header,
body.schiwa-event-category-archive .tribe-events-calendar-list,
body.schiwa-event-category-archive .tribe-events-calendar-list-nav,
body.schiwa-event-category-archive .tribe-events-calendar-list__month-separator {
	display: none !important;
}

body.schiwa-event-category-archive #primary,
body.schiwa-event-category-archive .error-404,
body.schiwa-event-category-archive .ast-404-layout,
body.schiwa-event-category-archive .ast-404-layout-1 {
	display: none !important;
}

body.schiwa-event-category-archive .site-content > .ast-container {
	max-width: 1280px;
	width: 100%;
}

/* Kalender-Gesamtübersicht: eigene Kacheln statt TEC-Liste */
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .tribe-events-view,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) #primary > .ast-article-single,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .tribe-events .tribe-events-header,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .tribe-events-calendar-list,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .tribe-events-calendar-list-nav,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .tribe-events-calendar-list__month-separator {
	display: none !important;
}

body.schiwa-events-list-overview:not(.schiwa-tec-single-event) #primary .ast-archive-description,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) #primary .ast-no-results,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) #primary section.no-results,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) #primary .ast-archive-description,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) #primary .ast-no-results,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) #primary section.no-results,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) #primary,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) #primary,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .error-404,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .ast-404-layout,
body.schiwa-events-list-overview:not(.schiwa-tec-single-event) .ast-404-layout-1,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) .error-404,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) .ast-404-layout,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) .ast-404-layout-1 {
	display: none !important;
}

/* Terminplan-Tabelle (/kalender/terminplan/) */
body.schiwa-events-plan-overview .tribe-events-view,
body.schiwa-events-plan-overview:not(.schiwa-tec-single-event) #primary > .ast-article-single,
body.schiwa-events-plan-overview .tribe-events .tribe-events-header,
body.schiwa-events-plan-overview .tribe-events-calendar-list,
body.schiwa-events-plan-overview .tribe-events-calendar-list-nav,
body.schiwa-events-plan-overview .tribe-events-calendar-list__month-separator {
	display: none !important;
}

body.schiwa-events-plan-overview #primary,
body.schiwa-events-plan-overview .site-content > .ast-container {
	max-width: 1280px;
	width: 100%;
}

.schiwa-events-plan-overview {
	background: var(--schiwa-bg);
	padding: 2.5rem 0 3rem;
	width: 100%;
}

.schiwa-events-view-switch {
	flex-shrink: 0;
}

.schiwa-events-list-overview-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.schiwa-events-plan-table-wrap {
	overflow-x: auto;
	background: var(--schiwa-weiss);
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius);
	box-shadow: var(--schiwa-shadow);
}

.schiwa-events-plan-table {
	width: 100%;
	min-width: 900px;
	border-collapse: collapse;
	font-size: 0.72rem;
	line-height: 1.35;
}

.schiwa-events-plan-table th,
.schiwa-events-plan-table td {
	border: 1px solid var(--schiwa-border);
	padding: 0.4rem 0.5rem;
	vertical-align: top;
}

.schiwa-events-plan-table thead th {
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss);
	font-size: 0.62rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.schiwa-events-plan-table tbody tr:nth-child(odd) {
	background: var(--schiwa-weiss);
}

.schiwa-events-plan-table tbody tr:nth-child(even) {
	background: var(--schiwa-bg);
}

.schiwa-events-plan-table tbody tr.is-no-group {
	background: #fff59d !important;
}

.schiwa-events-plan-legend {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 1rem;
	font-size: 0.78rem;
	color: var(--schiwa-grau-hell);
}

.schiwa-events-plan-legend-mark {
	display: inline-block;
	width: 1.25rem;
	height: 0.85rem;
	border: 1px solid var(--schiwa-border);
	border-radius: 3px;
	background: #fff59d;
	flex-shrink: 0;
}

.schiwa-events-plan-table a {
	color: var(--schiwa-schwarz) !important;
	text-decoration: none !important;
	font-weight: 600;
}

.schiwa-events-plan-table a:hover {
	color: var(--schiwa-rot) !important;
}

.schiwa-events-plan-table .schiwa-plan-mark,
.schiwa-events-plan-table .schiwa-plan-group-col {
	text-align: center;
	width: 2.75rem;
}

.schiwa-events-plan-table .schiwa-plan-venue {
	min-width: 9.5rem;
	max-width: 14rem;
	line-height: 1.35;
	white-space: normal;
}

.schiwa-events-plan-table .schiwa-plan-mark {
	font-weight: 800;
	color: var(--schiwa-rot);
}

/* Einzeltermin: Inhalt nicht ausblenden */
body.schiwa-tec-single-event #primary > .ast-article-single,
body.schiwa-tec-single-event #primary > .ast-article-single > .entry-header,
body.schiwa-tec-single-event #primary > .ast-article-single > .entry-content,
body.schiwa-tec-single-event .tribe-events-view,
body.schiwa-tec-single-event .tribe-events-single,
body.schiwa-tec-single-event .tribe-events-single-event-title,
body.schiwa-tec-single-event .tribe-events-meta-group,
body.schiwa-tec-single-event .tribe-events-venue-map {
	display: block !important;
}

body.schiwa-tec-single-event .schiwa-events-list-overview,
body.schiwa-tec-single-event .schiwa-events-plan-overview {
	display: none !important;
}

body.schiwa-events-list-overview #primary,
body.schiwa-events-list-overview .site-content > .ast-container {
	max-width: 1280px;
	width: 100%;
}

.schiwa-events-list-overview {
	background: var(--schiwa-bg);
	padding: 2.5rem 0 3rem;
	width: 100%;
}

.schiwa-events-list-overview-header {
	margin-bottom: 1.75rem;
}

.schiwa-events-list-overview-title {
	font-family: var(--schiwa-font-display);
	font-size: clamp(1.75rem, 4vw, 2.35rem);
	color: var(--schiwa-schwarz);
	margin: 0.35rem 0 0.5rem;
}

.schiwa-events-filter-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1rem;
	margin-bottom: 1.25rem;
	padding: 1rem 1.15rem;
	background: var(--schiwa-weiss);
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius);
	box-shadow: var(--schiwa-shadow);
}

.schiwa-events-filter-search {
	flex: 1 1 240px;
	min-width: 0;
	padding: 12px 18px;
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.95rem;
	font-family: var(--schiwa-font);
	background: var(--schiwa-weiss);
	color: var(--schiwa-schwarz);
}

.schiwa-events-filter-search:focus {
	outline: none;
	border-color: var(--schiwa-rot);
	box-shadow: 0 0 0 3px var(--schiwa-rot-glow);
}

.schiwa-events-filter-submit {
	padding: 12px 22px;
	background: var(--schiwa-rot);
	color: var(--schiwa-weiss);
	border: none;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.88rem;
	font-weight: 700;
	cursor: pointer;
	transition: background var(--schiwa-transition);
}

.schiwa-events-filter-submit:hover {
	background: var(--schiwa-rot-hover);
}

.schiwa-events-filter-reset {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--schiwa-grau-hell);
	text-decoration: none !important;
}

.schiwa-events-filter-reset:hover {
	color: var(--schiwa-rot) !important;
}

.schiwa-events-category-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.schiwa-events-category-filter {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius-pill);
	background: var(--schiwa-weiss);
	color: var(--schiwa-schwarz) !important;
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none !important;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: background var(--schiwa-transition), border-color var(--schiwa-transition), color var(--schiwa-transition);
}

.schiwa-events-category-filter:hover,
.schiwa-events-category-filter.is-active {
	background: var(--schiwa-rot);
	border-color: var(--schiwa-rot);
	color: var(--schiwa-weiss) !important;
}

.schiwa-event-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-bottom: 0.45rem;
}

.schiwa-event-category-pill {
	display: inline-block;
	padding: 3px 9px;
	background: rgba(229, 9, 20, 0.08);
	color: var(--schiwa-rot);
	border: 1px solid rgba(229, 9, 20, 0.22);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	line-height: 1.3;
}

.schiwa-item-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: 0.55rem;
}

.schiwa-event-card-tags {
	margin-top: 0.65rem;
}

.schiwa-item-tag {
	display: inline-block;
	padding: 3px 9px;
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.62rem;
	font-weight: 700;
	text-decoration: none !important;
	line-height: 1.3;
	transition: background var(--schiwa-transition), transform var(--schiwa-transition);
}

.schiwa-item-tag:hover {
	background: var(--schiwa-rot);
	transform: translateY(-1px);
}

.schiwa-news-tile-tags {
	margin-top: 0.55rem;
}

.schiwa-news-tile:not(.schiwa-news-tile--has-image) .schiwa-news-tile-body {
	padding-top: 1.15rem;
}

.schiwa-single-item-tags {
	margin: 1.25rem 0 0;
}

body.schiwa-tec-single-event .schiwa-single-event-tags {
	margin: 0 0 1.5rem;
	padding: 0 0 0.25rem;
}

.schiwa-single-featured-image {
	margin: 0 0 1.5rem;
	border-radius: var(--schiwa-radius);
	overflow: hidden;
	box-shadow: var(--schiwa-shadow);
}

.schiwa-single-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

body.schiwa-single-post-wide .schiwa-single-post-tags {
	padding: 0 2rem 2rem;
	margin-top: -0.5rem;
}

/* TEC-Listenansicht: Breite reparieren (Fallback auf anderen Kalenderseiten) */
body.schiwa-tec-full-width #primary {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
}

body.schiwa-tec-full-width #secondary {
	display: none !important;
}

body.schiwa-tec-full-width .site-content > .ast-container {
	max-width: 1280px;
	width: 100%;
}

body.schiwa-tec-full-width .ast-separate-container #primary .ast-article-single,
body.schiwa-tec-full-width .ast-separate-container #primary .ast-article-post {
	max-width: 100%;
	width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.schiwa-tec-full-width:not(.schiwa-tec-single-event):not(.single-tribe_events) #primary > .ast-article-single > .entry-header,
body.schiwa-tec-full-width:not(.schiwa-tec-single-event):not(.single-tribe_events) #primary > .ast-article-single > .entry-content {
	display: none !important;
}

body.schiwa-tec-full-width .tribe-events,
body.schiwa-tec-full-width .tribe-events-view,
body.schiwa-tec-full-width .tribe-common-l-container,
body.schiwa-tec-full-width #tribe-events,
body.schiwa-tec-full-width #tribe-events-pg-template {
	max-width: 100% !important;
	width: 100% !important;
}

body.schiwa-tec-full-width .tribe-events .tribe-common-l-container {
	padding-left: 0;
	padding-right: 0;
}

.tribe-events .tribe-events-calendar-list__event-row,
.tribe-events .tribe-events-calendar-list__event {
	width: 100% !important;
	max-width: 100% !important;
}

.tribe-events .tribe-events-calendar-list__event-wrapper {
	display: flex !important;
	align-items: stretch;
	width: 100%;
}

.tribe-events .tribe-events-calendar-list__event-details {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
}

.tribe-events .tribe-events-calendar-list__event-date-tag {
	flex: 0 0 auto;
}

.tribe-events .tribe-events-calendar-list__event-title,
.tribe-events .tribe-events-calendar-list__event-description,
.tribe-events .tribe-events-calendar-list__event-datetime,
.tribe-events .tribe-events-calendar-list__event-venue {
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: normal !important;
}

/* ==========================================================================
   News & Fotos – 3×3 Kacheln
   ========================================================================== */

.schiwa-news-section {
	background: var(--schiwa-bg);
	border-bottom: 1px solid var(--schiwa-border);
	padding: 2.5rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.schiwa-news-section::before {
	content: "";
	position: absolute;
	left: -8px;
	top: 50%;
	width: 110px;
	height: 142px;
	background: var(--schiwa-motiv-dezent) no-repeat center / contain;
	opacity: 0.9;
	transform: translateY(-50%);
	pointer-events: none;
}

.schiwa-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}

.schiwa-news-tile {
	background: var(--schiwa-weiss);
	border: 1px solid var(--schiwa-border);
	border-radius: var(--schiwa-radius);
	overflow: hidden;
	box-shadow: var(--schiwa-shadow);
	transition: box-shadow var(--schiwa-transition), transform var(--schiwa-transition);
}

.schiwa-news-tile:hover {
	box-shadow: var(--schiwa-shadow-hover);
	transform: translateY(-4px);
}

.schiwa-news-tile-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
	height: 100%;
}

.schiwa-news-tile-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--schiwa-bg);
}

.schiwa-news-tile-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.schiwa-news-tile:hover .schiwa-news-tile-media img {
	transform: scale(1.05);
}

.schiwa-news-tile-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #ececec, #f8f8f8);
}

.schiwa-news-tile-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	padding: 4px 10px;
	background: var(--schiwa-rot);
	color: var(--schiwa-weiss);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.62rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.schiwa-news-tile--event .schiwa-news-tile-badge {
	background: #5b21b6;
}

.schiwa-news-tile-body {
	padding: 1rem 1.1rem 1.15rem;
}

.schiwa-news-tile-title {
	font-family: var(--schiwa-font);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--schiwa-schwarz);
	margin: 0 0 0.35rem;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.schiwa-news-tile-meta {
	margin: 0;
	font-size: 0.8rem;
	color: var(--schiwa-grau-hell);
}

/* Beitrags-Tags unter dem Inhalt */
.ast-single-post .tags-links a,
.entry-content + .tags-links a,
.ast-tags-links a,
.schiwa-single-post-tags .schiwa-item-tag {
	display: inline-block;
	padding: 6px 14px;
	margin: 4px 6px 4px 0;
	background: var(--schiwa-surface-dark-flat);
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: background var(--schiwa-transition), transform var(--schiwa-transition);
}

.ast-single-post .tags-links a:hover,
.entry-content + .tags-links a:hover,
.ast-tags-links a:hover,
.schiwa-single-post-tags .schiwa-item-tag:hover {
	background: var(--schiwa-rot);
	transform: translateY(-1px);
}

/* ==========================================================================
   EINGEBAUTE TAG-CLOUD – schwarzer Banner vor dem Footer
   ========================================================================== */

.schiwa-tagcloud-section {
	background: linear-gradient(155deg, #2c2c36 0%, var(--schiwa-schwarz-mid) 45%, #1a1a22 100%);
	border-top: 3px solid var(--schiwa-rot);
	border-bottom: 3px solid var(--schiwa-rot);
	margin-top: 3rem;
	padding: 3.5rem 0;
	position: relative;
	overflow: hidden;
}

.schiwa-tagcloud-section::before {
	content: "";
	position: absolute;
	top: -50%;
	right: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, var(--schiwa-rot-glow) 0%, transparent 70%);
	pointer-events: none;
}

.schiwa-tagcloud-section::after {
	content: "";
	position: absolute;
	left: 6%;
	bottom: 8%;
	width: 100px;
	height: 128px;
	background: var(--schiwa-motiv-weiss) no-repeat center / contain;
	opacity: 0.09;
	pointer-events: none;
}

.schiwa-tagcloud-inner {
	position: relative;
	z-index: 1;
}

.schiwa-tagcloud-header {
	text-align: center;
	margin-bottom: 2rem;
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
}

.schiwa-tagcloud-kicker {
	display: inline-block;
	padding: 6px 16px;
	background: rgba(229, 9, 20, 0.15);
	color: var(--schiwa-rot);
	border: 1px solid rgba(229, 9, 20, 0.35);
	border-radius: var(--schiwa-radius-pill);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	margin-bottom: 1rem;
}

.schiwa-tagcloud-title {
	font-family: var(--schiwa-font-display);
	color: var(--schiwa-weiss) !important;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	margin: 0 0 0.75rem;
}

.schiwa-tagcloud-desc {
	color: rgba(255, 255, 255, 0.65);
	font-size: 1rem;
	margin: 0;
	line-height: 1.6;
}

.schiwa-tagcloud-section .tagcloud,
.schiwa-tagcloud-section .schiwa-tagcloud {
	display: flex !important;
	flex-wrap: wrap !important;
	justify-content: center;
	gap: 10px !important;
	padding: 0 !important;
	max-width: 960px;
	margin: 0 auto;
}

.schiwa-tagcloud-section .tagcloud a,
.schiwa-tagcloud-section .schiwa-tagcloud a {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0 !important;
	padding: 10px 20px !important;
	background: rgba(255, 255, 255, 0.08) !important;
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.15) !important;
	backdrop-filter: blur(4px);
	transition: background var(--schiwa-transition),
		color var(--schiwa-transition),
		border-color var(--schiwa-transition),
		transform var(--schiwa-transition),
		box-shadow var(--schiwa-transition) !important;
}

.schiwa-tagcloud-section .tagcloud a:hover,
.schiwa-tagcloud-section .schiwa-tagcloud a:hover {
	background: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	border-color: var(--schiwa-rot) !important;
	transform: translateY(-2px);
	box-shadow: 0 8px 24px var(--schiwa-rot-glow);
}

/* ==========================================================================
   TAG CLOUD – Widget & Gutenberg-Block (Sidebar)
   ========================================================================== */

.tagcloud,
.wp-block-tag-cloud,
.widget_tag_cloud .tagcloud,
.schiwa-tagcloud {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 8px !important;
	padding: 12px 0 !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
	height: auto !important;
	line-height: normal !important;
}

.tagcloud a,
.wp-block-tag-cloud a,
.widget_tag_cloud .tagcloud a,
.wp-block-tag-cloud.is-style-outline a,
.wp-block-tag-cloud.is-style-default a {
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin: 0 !important;
	padding: 8px 16px !important;
	background: var(--schiwa-surface-dark-flat) !important;
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill) !important;
	font-size: 13px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	text-decoration: none !important;
	border: 1px solid var(--schiwa-schwarz-soft) !important;
	transition: background var(--schiwa-transition),
		color var(--schiwa-transition),
		border-color var(--schiwa-transition),
		transform var(--schiwa-transition) !important;
	/* Inline-Styles von wp_tag_cloud überschreiben */
	font-size: 13px !important;
}

.tagcloud a:hover,
.wp-block-tag-cloud a:hover,
.widget_tag_cloud .tagcloud a:hover {
	background: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	border-color: var(--schiwa-rot) !important;
	transform: translateY(-2px);
}

/* Sidebar Widget-Titel */
.widget-title,
.ast-sidebar .widget-title,
#secondary .widget-title {
	font-family: var(--schiwa-font-display);
	color: var(--schiwa-schwarz);
	font-size: 1.25rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--schiwa-rot);
	margin-bottom: 1rem;
}

/* Sidebar Widget-Boxen */
#secondary .widget,
.ast-sidebar .widget {
	background: var(--schiwa-weiss);
	border-radius: var(--schiwa-radius);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: var(--schiwa-shadow);
}

/* ==========================================================================
   The Events Calendar
   ========================================================================== */

.tribe-common--breakpoint-medium.tribe-common .tribe-common-h1,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h2,
.tribe-common--breakpoint-medium.tribe-common .tribe-common-h3,
.tribe-events .tribe-events-c-subscribe-dropdown__button-text,
.tribe-events-single-event-title {
	font-family: var(--schiwa-font-display);
	color: var(--schiwa-schwarz);
}

.tribe-events .tribe-events-c-events-bar__search-button,
.tribe-events .tribe-events-c-search__button,
.tribe-events .tribe-events-c-cta__button,
.tribe-events .tribe-events-c-nav__next,
.tribe-events .tribe-events-c-nav__prev,
.tribe-events .tribe-events-c-top-bar__datepicker-button,
.tribe-common .tribe-common-c-btn,
.tribe-common .tribe-common-c-btn-border,
.tribe-events .tribe-events-c-subscribe-dropdown__button {
	background-color: var(--schiwa-rot) !important;
	border-color: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill) !important;
	font-family: var(--schiwa-font);
	font-weight: 600;
	transition: background var(--schiwa-transition);
}

.tribe-events .tribe-events-c-events-bar__search-button:hover,
.tribe-events .tribe-events-c-search__button:hover,
.tribe-events .tribe-events-c-cta__button:hover,
.tribe-common .tribe-common-c-btn:hover {
	background-color: var(--schiwa-rot-hover) !important;
	border-color: var(--schiwa-rot-hover) !important;
}

.tribe-events .tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date,
.tribe-events .tribe-events-calendar-month__day-cell--selected,
.tribe-events .tribe-events-calendar-list__event-date-tag-datetime {
	background-color: var(--schiwa-rot);
	color: var(--schiwa-weiss);
}

.tribe-events .tribe-events-calendar-list__event-title-link,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link {
	color: var(--schiwa-schwarz);
	font-weight: 600;
}

.tribe-events .tribe-events-calendar-list__event-title-link:hover,
.tribe-events .tribe-events-calendar-month__calendar-event-title-link:hover {
	color: var(--schiwa-rot);
}

.tribe-events .tribe-events-calendar-list__event-row,
.tribe-events .tribe-events-calendar-month__day {
	border-color: var(--schiwa-border);
}

.tribe-events .tribe-events-c-events-bar,
.tribe-events .tribe-events-c-top-bar {
	border-radius: var(--schiwa-radius);
}

/* Legacy TEC v1 Styles (falls noch aktiv) */
#tribe-events .tribe-events-button,
.tribe-events-button {
	background-color: var(--schiwa-rot) !important;
	border-color: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill) !important;
}

#tribe-events .tribe-events-button:hover,
.tribe-events-button:hover {
	background-color: var(--schiwa-rot-hover) !important;
}

/* ==========================================================================
   Buttons & Formulare
   ========================================================================== */

button,
input[type="submit"],
input[type="button"],
.button,
.wp-block-button__link,
.ast-button,
.ast-custom-button {
	background-color: var(--schiwa-rot) !important;
	border-color: var(--schiwa-rot) !important;
	color: var(--schiwa-weiss) !important;
	border-radius: var(--schiwa-radius-pill) !important;
	font-weight: 600;
	transition: background var(--schiwa-transition), transform var(--schiwa-transition);
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.wp-block-button__link:hover {
	background-color: var(--schiwa-rot-hover) !important;
	transform: translateY(-1px);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination .page-numbers,
.ast-pagination .page-numbers {
	border-radius: var(--schiwa-radius-pill);
	border: 1px solid var(--schiwa-border);
	color: var(--schiwa-grau);
	background: var(--schiwa-weiss);
	min-width: 42px;
	height: 42px;
	line-height: 40px;
	font-weight: 600;
	transition: all var(--schiwa-transition);
}

.pagination,
.ast-pagination {
	margin: 2.5rem 0 1rem;
}

.pagination .page-numbers.current,
.ast-pagination .page-numbers.current,
.pagination .page-numbers:hover,
.ast-pagination .page-numbers:hover {
	background: var(--schiwa-rot);
	border-color: var(--schiwa-rot);
	color: var(--schiwa-weiss);
	box-shadow: 0 4px 16px var(--schiwa-rot-glow);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 921px) {
	.schiwa-main-nav-toggle {
		display: inline-flex;
	}

	.schiwa-main-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0.25rem 0 0.5rem;
	}

	.schiwa-main-menu.is-open {
		display: flex;
	}

	.schiwa-main-menu > .menu-item:not(.menu-item-has-children) {
		align-self: stretch;
	}

	.schiwa-main-menu > .schiwa-nav-group {
		align-items: stretch;
		min-width: 0;
		padding: 0.65rem 0 0.5rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.schiwa-nav-group-title {
		justify-content: center;
		font-size: 0.72rem;
	}

	.schiwa-main-menu > .menu-item:not(.menu-item-has-children) > a {
		padding: 0.65rem 0.25rem;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	.schiwa-main-menu .sub-menu,
	.schiwa-main-menu .schiwa-nav-group-links {
		justify-content: center;
		flex-wrap: wrap;
		padding: 0.2rem 0 0;
	}

	.schiwa-nav-group-links > .menu-item:not(:last-child)::after {
		margin: 0 0.65rem;
	}

	.schiwa-main-menu .sub-menu a {
		padding: 0.35rem 0;
		font-size: 0.9rem;
	}

	.schiwa-top-bar-inner {
		flex-wrap: wrap;
	}

	.schiwa-top-bar::after,
	.schiwa-events-section::before,
	.schiwa-news-section::before,
	.schiwa-tagcloud-section::after,
	.schiwa-footer-nav-wrap::after {
		width: 72px;
		height: 92px;
		opacity: 0.05;
	}

	.schiwa-top-bar-actions {
		flex: 1 1 100%;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 0.75rem;
	}

	.schiwa-top-bar-search {
		flex: 1 1 100%;
		max-width: 100%;
	}

	.schiwa-news-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.schiwa-header-search {
		max-width: 100%;
	}

	.schiwa-search-form--header .schiwa-search-submit span[aria-hidden="true"] {
		display: none;
	}

	.schiwa-search-form--header .schiwa-search-submit {
		padding: 10px 14px !important;
	}

	.schiwa-search-form--header .schiwa-search-submit::after {
		content: "→";
		font-size: 1rem;
	}

	.ast-article-post {
		margin-bottom: 0 !important;
	}

	.post-thumb img,
	.ast-blog-featured-section img {
		min-height: 180px;
	}

	.single .entry-header,
	.single .entry-content,
	.single .entry-meta {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.schiwa-events-filter-bar {
		flex-direction: column;
		align-items: stretch;
	}

	.schiwa-events-filter-submit,
	.schiwa-events-filter-reset {
		width: 100%;
		text-align: center;
	}

	.schiwa-events-grid.schiwa-events-grid--archive {
		grid-template-columns: 1fr;
	}

	.schiwa-events-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.schiwa-tagcloud-section {
		padding: 2.5rem 0;
		margin-top: 2rem;
	}

	.schiwa-tagcloud-section .tagcloud a,
	.schiwa-tagcloud-section .schiwa-tagcloud a,
	.tagcloud a,
	.wp-block-tag-cloud a {
		padding: 8px 14px !important;
		font-size: 12px !important;
	}
}

@media (max-width: 544px) {
	.schiwa-news-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Lightbox – Fotos in voller Größe
   ========================================================================== */

body.schiwa-lightbox-open {
	overflow: hidden;
}

.schiwa-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease, visibility 0.25s ease;
}

.schiwa-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.schiwa-lightbox-backdrop {
	position: absolute;
	inset: 0;
	background: var(--schiwa-overlay);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
}

.schiwa-lightbox-stage {
	position: relative;
	z-index: 2;
	max-width: min(92vw, 1200px);
	max-height: 88vh;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
}

.schiwa-lightbox-image {
	display: block;
	max-width: 100%;
	max-height: calc(88vh - 3rem);
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: var(--schiwa-radius-sm);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.schiwa-lightbox-caption {
	margin: 0;
	padding: 0 1rem;
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	text-align: center;
	max-width: 720px;
}

.schiwa-lightbox-close,
.schiwa-lightbox-prev,
.schiwa-lightbox-next {
	position: absolute;
	z-index: 3;
	border: none;
	background: rgba(255, 255, 255, 0.12);
	color: var(--schiwa-weiss);
	cursor: pointer;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	font-size: 1.75rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background var(--schiwa-transition), transform var(--schiwa-transition);
}

.schiwa-lightbox-close:hover,
.schiwa-lightbox-prev:hover,
.schiwa-lightbox-next:hover {
	background: var(--schiwa-rot);
	transform: scale(1.05);
}

.schiwa-lightbox-close {
	top: 1rem;
	right: 1rem;
}

.schiwa-lightbox-prev {
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.schiwa-lightbox-next {
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
}

.schiwa-lightbox-prev:hover,
.schiwa-lightbox-next:hover {
	transform: translateY(-50%) scale(1.05);
}

@media (max-width: 544px) {
	.schiwa-lightbox-prev,
	.schiwa-lightbox-next {
		width: 38px;
		height: 38px;
		font-size: 1.5rem;
	}

	.schiwa-lightbox-close {
		top: 0.75rem;
		right: 0.75rem;
	}
}
