/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.1.35
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

.smh-hero-photos {
	position: relative;
	overflow: visible;
}

.smh-hero-heute {
	position: absolute;
	top: 0;
	right: 0;
	width: 82%;
	max-width: 640px;
	z-index: 1;
}

.smh-hero-alt {
	position: absolute;
	left: 0;
	bottom: 8px;
	width: 44%;
	max-width: 340px;
	z-index: 2;
}

.smh-hero-heute img,
.smh-hero-alt img {
	width: 100%;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08);
}

.smh-hero-heute .elementor-heading-title,
.smh-hero-cap-heute .elementor-heading-title {
	text-align: right;
}

.smh-hero-alt .elementor-heading-title,
.smh-hero-cap-alt .elementor-heading-title {
	text-align: left;
}

.smh-hero-alt::after {
	content: "";
	position: absolute;
	top: 42%;
	left: 100%;
	width: 28%;
	height: 2px;
	background: #E64415;
	z-index: 3;
	pointer-events: none;
	box-shadow: -3px 0 0 3px #E64415;
}

.smh-hero-alt::before {
	content: "";
	position: absolute;
	top: calc(42% - 3px);
	left: calc(100% + 28% - 2px);
	width: 8px;
	height: 8px;
	border: 2px solid #E64415;
	background: #FFFFFF;
	box-sizing: border-box;
	border-radius: 50%;
	z-index: 4;
	pointer-events: none;
}

@media (max-width: 1024px) {
	.smh-hero-photos {
		min-height: 0 !important;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.smh-hero-heute,
	.smh-hero-alt {
		position: static;
		width: 100%;
		max-width: none;
		bottom: auto;
		right: auto;
		left: auto;
	}

	.smh-hero-alt::before,
	.smh-hero-alt::after {
		display: none;
	}

	.smh-hero-cap-heute .elementor-heading-title {
		text-align: right;
	}
}

.smh-page-hero .smh-hero-facts.e-grid,
.smh-page-hero .smh-hero-facts.e-grid > .e-con-inner {
	--e-con-grid-template-rows: auto auto !important;
	grid-template-rows: auto auto !important;
	align-items: start;
}

.smh-page-hero .smh-hero-facts.e-con > .e-con {
	align-self: start;
}

.smh-breadcrumb a,
.smh-breadcrumb .elementor-widget-text-editor,
.smh-breadcrumb .elementor-widget-text-editor a {
	color: #5E6061 !important;
	text-decoration: none;
}

.smh-breadcrumb a:hover,
.smh-breadcrumb a:focus {
	color: #E64415 !important;
}

.skip-link.screen-reader-text {
	background: #1A1A1A;
	color: #FFFFFF;
	font-weight: 700;
	padding: 10px 16px;
	z-index: 200;
}

.skip-link.screen-reader-text:focus,
.skip-link.screen-reader-text:focus-visible {
	color: #FFFFFF;
	outline: 3px solid #E64415;
	outline-offset: 3px;
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
}

.smh-home-wegweiser a.e-con {
	text-decoration: none;
	color: inherit;
}

.smh-home-wegweiser a.e-con:hover .smh-wegweiser-title .elementor-heading-title,
.smh-home-wegweiser a.e-con:focus-visible .smh-wegweiser-title .elementor-heading-title {
	color: #E64415;
}

.smh-home-wegweiser a.e-con:focus-visible {
	outline: 3px solid #E64415;
	outline-offset: 3px;
}

.smh-home-events a.e-con,
.smh-home-medien a.e-con {
	text-decoration: none;
	color: inherit;
}

.smh-home-events a.e-con:hover .smh-event-title .elementor-heading-title,
.smh-home-events a.e-con:focus-visible .smh-event-title .elementor-heading-title,
.smh-home-medien a.e-con:hover .smh-media-title .elementor-heading-title,
.smh-home-medien a.e-con:focus-visible .smh-media-title .elementor-heading-title {
	color: #E64415;
}

.smh-home-events a.e-con:focus-visible,
.smh-home-medien a.e-con:focus-visible {
	outline: 3px solid #E64415;
	outline-offset: 3px;
}

.smh-home-board a,
.smh-site-footer a {
	color: #E64415;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.smh-site-footer a {
	color: #D8D9DA;
	font-weight: 400;
}

.smh-home-board a:hover,
.smh-site-footer a:hover {
	color: #C53A12;
}

.smh-home-board .elementor-widget-image img,
.smh-home-board .smh-board-photo img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center 18%;
}

.smh-featured-event .smh-badge {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

.smh-featured-event .smh-badge-sq {
	width: 7px !important;
	min-width: 7px !important;
	max-width: 7px !important;
	height: 7px !important;
	min-height: 7px !important;
	flex: 0 0 7px !important;
	align-self: center !important;
	margin: 0 8px 0 0 !important;
}

.smh-event-stage {
	position: relative;
	overflow: visible;
}

.smh-featured-event {
	overflow: hidden;
}

.smh-featured-event > .elementor-background-overlay {
	background-color: transparent !important;
	background-image: linear-gradient(180deg, rgba(26, 26, 26, 0.12) 28%, rgba(26, 26, 26, 0.82) 100%) !important;
	opacity: 1 !important;
}

.smh-featured-event > .e-con.smh-event-date {
	width: auto !important;
	min-width: 88px;
	max-width: 110px;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

.smh-event-quote {
	position: absolute;
	right: -16px;
	bottom: 56px;
	width: 240px;
	z-index: 2;
}

.smh-home-medien .smh-media-header {
	position: relative;
}

.smh-home-medien .smh-media-nav-anchor {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
	min-width: 136px;
	min-height: 44px;
}

.smh-home-medien .elementor-widget-n-carousel {
	position: relative;
	margin-top: 0;
}

/* Fraction stays in the header row. Arrows stay on the slide edges (Inside + 15px). */
.smh-home-medien .elementor-widget-n-carousel .swiper-pagination-fraction {
	position: absolute;
	top: -76px;
	right: 0;
	left: auto;
	width: 72px;
	margin: 0;
	text-align: right;
	transform: none;
}

.smh-home-medien .smh-media-card img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.smh-home-medien .elementor-swiper-button {
	width: 44px;
	height: 44px;
	border: 1px solid #D8D9DA;
	background: #FFFFFF;
	color: #1A1A1A;
	box-shadow: none;
}

.smh-home-medien .elementor-swiper-button:hover,
.smh-home-medien .elementor-swiper-button:focus {
	border-color: #E64415;
	color: #E64415;
}

.smh-home-medien .elementor-swiper-button.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	border-color: #D8D9DA;
	color: #9C9E9F;
}

.smh-home-medien .swiper-pagination-fraction {
	font-size: 13px;
	letter-spacing: 0.06em;
	font-weight: 600;
	color: #5E6061;
}

@media (max-width: 767px) {
	.smh-home-medien .smh-media-header {
		padding-bottom: 20px !important;
	}

	.smh-home-medien .smh-media-nav-anchor {
		width: 100%;
		justify-content: flex-start;
		min-width: 0;
	}

	.smh-home-medien .elementor-widget-n-carousel .swiper-pagination-fraction {
		position: static;
		width: auto;
		text-align: center;
		top: auto;
		right: auto;
	}
}

@media (max-width: 1024px) {
	.smh-event-quote {
		position: static;
		right: auto;
		bottom: auto;
		width: 100%;
		margin-top: 20px;
	}
}

.smh-page-verein-wer.e-con,
.smh-page-verein-wer .e-con-inner,
.smh-page-verein-wer .e-grid {
	overflow: visible !important;
	--overflow: visible;
}

.smh-verein-photos.e-con {
	position: relative;
	--position: relative;
	overflow: visible !important;
	--overflow: visible;
	min-height: 520px;
}

.smh-verein-photo-back.e-con {
	--position: absolute;
	position: absolute !important;
	top: 0;
	right: 0;
	left: auto;
	bottom: auto;
	--width: 88%;
	width: 88% !important;
	max-width: none;
	--z-index: 1;
	z-index: 1;
}

.smh-verein-photo-front.e-con {
	--position: absolute;
	position: absolute !important;
	left: 0;
	bottom: 0;
	right: auto;
	top: auto;
	--width: 42%;
	width: 42% !important;
	max-width: 280px;
	--z-index: 2;
	z-index: 2;
	flex-grow: 0;
	flex-shrink: 0;
}

.smh-verein-photo-back .elementor-widget-image,
.smh-verein-photo-back img {
	border-radius: 10px !important;
}

.smh-verein-photo-back img {
	width: 100%;
	height: 480px !important;
	object-fit: cover;
	box-shadow: 0 8px 24px rgba(26, 26, 26, 0.08) !important;
}

.smh-verein-photo-front .elementor-widget-image,
.smh-verein-photo-front img {
	border-radius: 8px !important;
}

.smh-verein-photo-front img {
	width: 100%;
	height: 180px !important;
	object-fit: cover;
	border: 4px solid #ffffff;
	box-sizing: border-box;
	box-shadow: 0 12px 32px rgba(29, 29, 27, 0.09) !important;
	filter: sepia(0.22) contrast(1.02);
}

@media (max-width: 1024px) {
	.smh-verein-photos.e-con {
		min-height: 0 !important;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.smh-verein-photo-back.e-con,
	.smh-verein-photo-front.e-con {
		--position: relative;
		position: relative !important;
		width: 100% !important;
		--width: 100%;
		max-width: none;
		inset: auto;
	}

	.smh-verein-photo-back img {
		height: 360px !important;
	}

	.smh-verein-photo-front img {
		height: 200px !important;
		filter: none;
	}
}

.smh-badge {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

.smh-project-box {
	height: 100%;
}

a.smh-project-box,
a.smh-project-box .elementor-heading-title,
.smh-project-box-link .elementor-heading-title {
	color: #FFFFFF !important;
	text-decoration: none !important;
}

a.smh-project-box:hover,
a.smh-project-box:focus {
	background-color: #2F6E71;
}

.smh-projekt-photo img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.smh-projekt-photo-portrait img {
	object-position: center 12%;
}

.smh-projekt-facts .elementor-heading-title {
	overflow-wrap: anywhere;
}

.smh-page-projekt-detail .elementor-widget-text-editor ul {
	margin: 0 0 20px;
	padding-left: 1.2em;
}

.smh-page-projekt-detail .elementor-widget-text-editor li {
	margin: 0 0 6px;
}

.smh-page-projekt-detail h3 {
	font-size: 21px;
	font-weight: 700;
	font-variation-settings: "wght" 700;
	margin: 28px 0 12px;
	color: #1A1A1A;
}

.smh-project-box .elementor-heading-title {
	color: #FFFFFF;
	font-weight: 700;
	font-variation-settings: "wght" 700;
}

.smh-dot {
	width: 12px !important;
	min-width: 12px !important;
	max-width: 12px !important;
	height: 12px !important;
	min-height: 12px !important;
	flex: 0 0 12px !important;
	align-self: flex-start !important;
	margin-top: 8px !important;
}

.smh-page-verein-vorstand .smh-board-card img {
	aspect-ratio: 4 / 5;
}


.smh-chip,
.smh-date-block {
	width: auto !important;
	max-width: max-content;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

.smh-date-block {
	min-width: 88px;
	text-align: center;
}

.smh-event-card {
	height: 100%;
	transition: border-color 0.15s ease;
}

.smh-event-card:hover,
.smh-event-card:focus {
	border-color: #C53A12;
}

.smh-event-card-media img,
.smh-event-featured-media img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.smh-event-featured-media img {
	aspect-ratio: auto;
	height: 100% !important;
	min-height: 420px;
	object-fit: cover;
}

.smh-event-card .elementor-heading-title,
.smh-event-featured .elementor-heading-title {
	font-variation-settings: "wght" 700;
}

.smh-single-image img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.smh-page-events-list .elementor-pagination .page-numbers.current,
.smh-page-events-list .elementor-pagination a.page-numbers:hover {
	color: #E64415;
}

@media (max-width: 1024px) {
	.smh-event-featured-media img {
		min-height: 280px;
	}
}

.smh-text-link .elementor-button {
	background: transparent !important;
	box-shadow: none;
}

.elementor-location-footer .smh-text-link .elementor-button {
	color: #D8D9DA;
}

.elementor-location-footer .smh-text-link .elementor-button:hover,
.elementor-location-footer .smh-text-link .elementor-button:focus {
	color: #E64415;
}

.smh-media-featured-photo img,
.smh-media-side-photo img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	display: block;
}

.smh-media-featured.e-grid > .e-con-inner,
.smh-media-side-card.e-grid > .e-con-inner,
.smh-media-bericht-row.e-grid > .e-con-inner {
	grid-template-rows: 1fr !important;
}

.smh-media-featured,
.smh-media-featured.e-grid > .e-con-inner,
.smh-media-side-stack,
.smh-media-side-stack.e-flex > .e-con-inner {
	height: 680px;
	min-height: 680px;
	max-height: 680px;
}

.smh-media-featured,
.smh-media-featured-photo,
.smh-media-side-card,
.smh-media-side-photo {
	overflow: hidden;
}

.smh-media-featured-photo,
.smh-media-featured-photo > .e-con-inner,
.smh-media-featured-photo .elementor-widget-image,
.smh-media-featured-photo .elementor-widget-container,
.smh-media-featured-photo .elementor-image,
.smh-media-side-photo,
.smh-media-side-photo > .e-con-inner,
.smh-media-side-photo .elementor-widget-image,
.smh-media-side-photo .elementor-widget-container,
.smh-media-side-photo .elementor-image {
	height: 100%;
	min-height: 0;
}

.smh-media-featured-photo img {
	min-height: 0;
	max-height: 100%;
	object-position: 50% 30%;
}

.smh-media-side-stack > .e-con-inner > .e-con {
	flex: 1 1 0 !important;
	min-height: 0;
}

.smh-media-featured-copy.e-flex > .e-con-inner {
	height: 100%;
}

.smh-media-featured-copy .elementor-widget-button {
	margin-top: auto;
	align-self: flex-start;
	width: auto;
}

.smh-media-featured-copy .elementor-button {
	text-decoration: none !important;
	font-size: 17px;
	padding-left: 0;
	padding-right: 0;
}

.smh-gallery-item img {
	width: 100%;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.smh-dl-icon {
	width: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	height: 44px !important;
	min-height: 44px !important;
	flex: 0 0 44px !important;
	align-self: flex-start !important;
	position: relative;
}

.smh-dl-icon::after {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	width: 24px;
	height: 24px;
	background: url("assets/icon-pdf.svg") center / contain no-repeat;
	box-sizing: border-box;
}

/* Nur nach Dateityp, nicht nach Gruppenposition: die Gruppe „Veranstaltungen“
   enthielt anfangs ausschließlich das JPG-Plakat, inzwischen auch PDFs. */
.smh-dl-icon-jpg::after {
	background-image: url("assets/icon-jpg.svg");
}

.smh-dl-card {
	height: 100%;
}

.smh-dl-card .elementor-widget-text-editor {
	flex: 1 1 auto;
}

.smh-page-downloads .smh-dl-groups > .e-con + .e-con {
	margin-top: 52px;
}

.smh-contact-photo {
	width: 140px !important;
	max-width: 140px !important;
	flex: 0 0 140px !important;
	align-self: flex-start !important;
}

.smh-contact-photo img {
	width: 100%;
	height: 175px !important;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	display: block;
}

.smh-form .elementor-field-group input:not([type="checkbox"]):not([type="radio"]),
.smh-form .elementor-field-group select,
.smh-form .elementor-field-group textarea {
	min-height: 52px;
	font-size: 17px;
	border-color: #D8D9DA;
	border-radius: 7px;
	background: #FFFFFF;
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 20px;
	row-gap: 20px;
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-field-group {
	min-width: 0;
	box-sizing: border-box;
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-50 {
	flex: 0 0 calc(50% - 10px);
	width: calc(50% - 10px);
	max-width: calc(50% - 10px);
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-30 {
	flex: 0 0 calc(30% - 10px);
	width: calc(30% - 10px);
	max-width: calc(30% - 10px);
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-70 {
	flex: 0 0 calc(70% - 10px);
	width: calc(70% - 10px);
	max-width: calc(70% - 10px);
}

.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-100 {
	flex: 0 0 100%;
	width: 100%;
	max-width: 100%;
}

.smh-form .elementor-field-type-submit {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

.smh-form .elementor-field-type-submit .elementor-button {
	width: auto !important;
	max-width: max-content !important;
	flex: 0 0 auto !important;
	flex-basis: auto !important;
	align-self: flex-start;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 7px;
}

.smh-form .elementor-field-type-acceptance .elementor-field-option,
.smh-form .elementor-field-type-acceptance .elementor-field-option:has(input:checked) {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	width: 100%;
	margin: 0;
	padding: 16px 18px;
	background: #FFFFFF;
	border: 1px solid #D8D9DA;
	border-radius: 7px;
	color: #5E6061;
	box-sizing: border-box;
}

.smh-form .elementor-field-type-acceptance a {
	color: #E64415;
}

.smh-form .elementor-field-type-acceptance a:hover,
.smh-form .elementor-field-type-acceptance a:focus {
	color: #C53A12;
}

@media (max-width: 767px) {
	.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-50,
	.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-30,
	.smh-form form.elementor-form > .elementor-form-fields-wrapper > .elementor-col-70 {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
	}
}

.smh-form .elementor-field-subgroup-inline {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.smh-form .elementor-field-option {
	border: 1px solid #D8D9DA;
	border-radius: 7px;
	padding: 10px 16px;
	background: #FFFFFF;
}

.smh-form .elementor-field-option input:checked + label,
.smh-form .elementor-field-option:has(input:checked) {
	border-color: #E64415;
	background: #FFF4EF;
	color: #C53A12;
}

.smh-form .elementor-message-success {
	background: #F1F8F3;
	border: 1px solid #2E7D4B;
	border-radius: 10px;
	padding: 24px;
	color: #1E5D36;
}

.smh-form-mitglied .elementor-field-group-art > .elementor-field-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.smh-form-mitglied .elementor-field-group-art > .elementor-field-subgroup {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
}

.smh-form-mitglied .smh-art-card {
	display: block;
	width: 100%;
	margin: 0;
	padding: 28px 32px;
	background: #FFFFFF;
	border: 1px solid #D8D9DA;
	border-radius: 10px;
	color: #1A1A1A;
	box-sizing: border-box;
	cursor: pointer;
}

.smh-form-mitglied .smh-art-card.is-active,
.smh-form-mitglied .smh-art-card:has(> .smh-art-head input:checked) {
	border-color: #E64415;
	background: #FFFFFF;
	color: #1A1A1A;
}

.smh-art-head {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.smh-form-mitglied .elementor-field-group-art .smh-art-head input[type="radio"] {
	appearance: none;
	-webkit-appearance: none;
	width: 22px;
	height: 22px;
	min-width: 22px;
	margin: 2px 0 0;
	border: 2px solid #D8D9DA;
	border-radius: 50%;
	background: transparent;
	flex: 0 0 22px;
	cursor: pointer;
	box-shadow: none;
}

.smh-form-mitglied .elementor-field-group-art .smh-art-head input[type="radio"]:checked {
	border-color: #E64415;
	background: radial-gradient(circle, #E64415 0 5px, transparent 6px);
}

.smh-art-copy .elementor-field-option label,
.smh-form-mitglied .elementor-field-group-art .smh-art-copy label {
	display: block;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	color: #1A1A1A;
	margin: 0;
	cursor: pointer;
}

.smh-art-desc {
	margin: 2px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #5E6061;
}

.smh-art-panel {
	display: none;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid #D8D9DA;
}

.smh-form-mitglied .smh-art-card.is-active .smh-art-panel,
.smh-form-mitglied .smh-art-card:has(> .smh-art-head input:checked) .smh-art-panel {
	display: block;
}

.smh-form-mitglied .elementor-field-group-anregung {
	width: 100% !important;
	max-width: 100%;
}

.smh-form-mitglied .elementor-field-group-anregung .elementor-field-label {
	color: #1A1A1A;
	font-size: 15px;
	font-weight: 700;
}

.smh-form-mitglied .elementor-field-group-anregung textarea {
	width: 100%;
	min-height: 120px;
}

.smh-form-mitglied .smh-art-panel .elementor-field-group {
	padding: 0;
	width: 100%;
	max-width: 100%;
}

.smh-form-mitglied .elementor-field-group-ich_bin {
	margin-bottom: 20px;
}

.smh-form-mitglied .elementor-field-group-ich_bin > .elementor-field-label {
	color: #1A1A1A;
	font-size: 15px;
	font-weight: 700;
	margin-bottom: 8px;
}

.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-subgroup {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 12px;
	width: auto;
}

.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-option {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	height: 48px !important;
	min-height: 48px;
	width: auto !important;
	max-width: none;
	margin: 0;
	padding: 0 20px !important;
	background: #FFFFFF !important;
	border: 1px solid #D8D9DA !important;
	border-radius: 7px;
	color: #1A1A1A !important;
	box-sizing: border-box;
	flex: 0 0 auto;
	line-height: 1;
}

.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-option:has(input:checked),
.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-option input:checked + label {
	border-color: #E64415 !important;
	background: #FFFFFF !important;
	color: #E64415 !important;
}

.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	appearance: none;
	-webkit-appearance: none;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}

.smh-form-mitglied .elementor-field-group-ich_bin .elementor-field-option label {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	color: inherit !important;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
}

.smh-amount-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.smh-form-mitglied .smh-amount-field .elementor-field-textual {
	width: 180px;
	max-width: 100%;
}

.smh-amount-suffix {
	font-size: 17px;
	font-weight: 700;
	color: #1A1A1A;
	white-space: nowrap;
}

.smh-art-helper {
	margin: 12px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #5E6061;
}

.smh-form-mitglied .elementor-field-group-hinweis {
	display: none !important;
}

.smh-form-mitglied .elementor-field-group-angaben {
	margin-top: 24px;
}

.smh-form-mitglied .elementor-field-group-angaben h3 {
	margin: 0;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.2;
	color: #1A1A1A;
}

.smh-form-live-error {
	background: #FFF1F1;
	border: 1px solid #C62828;
	border-radius: 7px;
	padding: 14px 18px;
	font-size: 15px;
	color: #8E1B1B;
	margin: 0 0 16px;
}

.smh-form-live-error[hidden],
.smh-field-park {
	display: none !important;
}

.smh-breadcrumb a {
	color: #5E6061;
}

@media (max-width: 1024px) {
	.smh-media-featured,
	.smh-media-featured.e-grid > .e-con-inner,
	.smh-media-side-stack,
	.smh-media-side-stack.e-flex > .e-con-inner {
		height: auto;
		min-height: 0;
		max-height: none;
	}

	.smh-media-featured-photo img {
		min-height: 280px;
		height: 320px !important;
	}

	.smh-media-side-photo img {
		min-height: 200px;
		height: 220px !important;
	}

	.smh-contact-person {
		flex-wrap: wrap;
	}
}

/* ------------------------------------------------------------------
   Style-QA 01.09.2026
   ------------------------------------------------------------------ */

/* Hello Theme setzt a { color: #c36 }. Alles, was im Seiteninhalt keine
   eigene Linkfarbe erbt, landet sonst auf Rosa. */
.smh-page-hero a,
.smh-contact-person a,
.smh-page-kontakt-people a,
.smh-page-kontakt-form a,
.smh-page-legal a,
.smh-page-projekt-detail .elementor-widget-text-editor a {
	color: #E64415;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.smh-page-hero a:hover,
.smh-contact-person a:hover,
.smh-page-kontakt-people a:hover,
.smh-page-kontakt-form a:hover,
.smh-page-legal a:hover,
.smh-page-projekt-detail .elementor-widget-text-editor a:hover {
	color: #C53A12;
}

/* Breadcrumb bleibt grau, auch innerhalb der Regeln oben. */
.smh-breadcrumb a,
.smh-page-legal .smh-breadcrumb a {
	color: #5E6061;
	text-decoration: none;
}

/* Ganzflächig verlinkte Karten: eigene Farben der Kindelemente gelten,
   der Wrapper darf kein #c36 weitervererben. */
a.smh-event-card,
a.smh-media-card,
a.smh-projekt-box {
	color: inherit;
	text-decoration: none;
}

/* Header-CTA: „Mitglied werden" darf nicht auf zwei Zeilen brechen. */
.elementor-location-header .elementor-widget-button a.elementor-button {
	white-space: nowrap;
}

.elementor-location-header a.elementor-button[href*="mitglied-werden"] {
	width: auto;
	max-width: none;
}

/* Kennzahlen: Zahl und Suffix („Jährlich") auf einer Zeile halten, sonst
   rutscht die Zahl aus der gemeinsamen Grundlinie der Vierer-Reihe. */
.elementor-widget-counter .elementor-counter-number-wrapper {
	flex-wrap: nowrap;
	white-space: nowrap;
	align-items: baseline;
}

.elementor-widget-counter .elementor-counter-number-suffix {
	flex: 0 0 auto;
}

/* Das Grid zentriert die Zellen vertikal. Sobald ein Label zweizeilig wird,
   rutschen die übrigen Zahlen nach unten aus der gemeinsamen Grundlinie.
   Elementor setzt --align-items per Element-ID, daher !important. */
.smh-kennzahlen,
.smh-kennzahlen > .e-con-inner {
	--align-items: start !important;
	align-items: start !important;
}

/* Weißer Text im FreiTöne-Teaser stand teils auf hellen Bildstellen
   (Kontrast bis 1,1:1). Das Foto ist Hintergrund des Elements selbst;
   ein Verlauf auf der Textspalte deckt die Lesezone zuverlässig ab. */
.smh-featured-event > .e-con:last-child {
	width: 100%;
	background-image: linear-gradient(180deg, rgba(26, 26, 26, 0) 0%, rgba(26, 26, 26, 0.62) 42%, rgba(26, 26, 26, 0.88) 100%);
	padding-top: 56px;
}

.smh-featured-event .elementor-heading-title {
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85), 0 2px 10px rgba(0, 0, 0, 0.6);
}

.smh-featured-event .smh-event-date .elementor-heading-title,
.smh-featured-event .smh-chip .elementor-heading-title {
	text-shadow: none;
}

/* --- Spendertafel auf /verein/ -----------------------------------------
   57 Namen unter Foto und Einleitung, über die volle Sektionsbreite.
   column-count statt Grid, damit die Liste eine zusammenhängende <ul>
   bleibt – Screenreader kündigen sie dann als eine Liste mit 57 Einträgen an. */
.smh-tafel-namen ul {
	column-count: 4;
	column-gap: 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.smh-tafel-namen ul li {
	break-inside: avoid;
	margin: 0 0 10px;
	padding: 0 0 0 16px;
	position: relative;
	line-height: 1.45;
}

/* Aufzählungspunkt in CI-Orange statt Theme-Default. */
.smh-tafel-namen ul li::before {
	content: "";
	position: absolute;
	top: 0.62em;
	left: 0;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #E64415;
}

.smh-tafel-foto img {
	width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 1200px) {
	.smh-tafel-namen ul {
		column-count: 3;
	}
}

@media (max-width: 1024px) {
	.smh-tafel-namen ul {
		column-count: 2;
		column-gap: 32px;
	}
}

/* Einspaltig wären es am Handy rund 2.300 px Liste. Zwei schmale Spalten
   halbieren den Scrollweg; die Namen sind kurz genug dafür. */
@media (max-width: 767px) {
	.smh-tafel-namen ul {
		column-count: 2;
		column-gap: 20px;
		font-size: 15px;
	}
}

/* === Lieferung Heller, 10.09.2026 ===================================== */

/* Ehrenamt und Alltagshilfen auf /projekte/ */
.smh-ehrenamt-photo img {
	width: 100%;
	height: 300px !important;
	object-fit: cover;
	display: block;
}

/* Das einzige Hochformat der Lieferung. Im Querformat-Ausschnitt sitzt der
   Bildinhalt sonst zu tief — greift in Kachel UND Galerie, deshalb über den
   Dateinamen statt über eine Kachelklasse. */
img[src*="tabletschulung-reha"] {
	object-position: center 32% !important;
}

/* Pressespiegel auf /medien/ */
.smh-presse-still img {
	width: 100%;
	height: 200px !important;
	object-fit: cover;
	display: block;
}

/* Zeitungsseite und Zeitschriftenseite sind unterschiedlich proportioniert
   (Rundschau fast quadratisch, medizin&technik A4 hoch). "contain" in einem
   gleich hohen Kasten hält beide Karten auf einer Linie, ohne zu beschneiden. */
.smh-presse-scan img {
	width: 100%;
	height: 420px !important;
	object-fit: contain;
	display: block;
}

/* Karten in der Zeile gleich hoch, Button jeweils unten bündig. */
.smh-presse-card > .e-con-inner {
	height: 100%;
}

.smh-presse-card > .e-con-inner > .e-con:last-child {
	flex-grow: 1;
	justify-content: space-between;
}

@media (max-width: 767px) {
	.smh-presse-scan img {
		height: 300px !important;
	}

	.smh-ehrenamt-photo img {
		height: 240px !important;
	}
}

/* Elementor schreibt die Advanced-Breite (--container-widget-width) ohne
   Mobil-Override. Auf 390 px stehen Fliesstexte dadurch in einer rund 180 px
   schmalen Spalte, waehrend Bilder und Karten daneben volle Breite haben.
   Betrifft alle Seiten (Hero-Leads, Abschnitts-Einleitungen), nicht nur die
   neuen Abschnitte. Bewusst NUR Heading und Text-Editor: der Footer-Button
   mit 20 % Breite soll am Handy schmal bleiben. */
@media (max-width: 767px) {
	.elementor-widget-heading.elementor-widget__width-initial,
	.elementor-widget-text-editor.elementor-widget__width-initial {
		--container-widget-width: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}
}

/* Aktuelles Spendenprojekt Perturbationslaufband (2.1.32)
 * Schritt-Karten: oben 2 px CI-Orange, Seiten haarfein — Elementor kann
 * nur eine Rahmenfarbe pro Container. */
.smh-laufband-step {
	border-top-color: #E64415 !important;
	height: 100%;
}

.smh-laufband-list ul {
	margin: 0;
	padding-left: 1.2em;
}

.smh-laufband-list li {
	margin: 0 0 10px;
}

.smh-laufband-list li::marker {
	color: #E64415;
}

.smh-laufband-figure img {
	width: 100%;
	height: auto;
	display: block;
}

/* Buttons im Seitenkopf erben sonst die Unterstreichung der Textlinks
 * (.smh-page-hero a). Textlink-Buttons (.smh-text-link) bleiben unterstrichen. */
.smh-page-hero .elementor-widget-button:not(.smh-text-link) a.elementor-button {
	text-decoration: none;
}

/* === Tablet & Handy, 19.10.2026 (2.1.34) ===============================
 * Messbreiten 1180 / 1024 / 768 / 390. Desktop ab 1200 px bleibt unverändert.
 * Elementor-Breakpoints dieser Site: Tablet ≤ 1024, Mobil ≤ 767. */

/* --- Header: Hamburger bis 1199 px -------------------------------------
 * Elementors Tablet-Breakpoint endet bei 1024 px, die sechs Menüpunkte
 * werden aber schon bis ~1170 px gequetscht und abgeschnitten. Darum eigene
 * Grenze statt hide_tablet. Menü-Widget: Header 37, Element smhburg,
 * WP-Menü „Hauptmenü“. */
/* !important: Elementors .elementor-widget-nav-menu:not(:has(…)):not(…)
   setzt display:flex mit höherer Spezifität. */
.elementor-location-header .smh-header-burger {
	display: none !important;
}

@media (max-width: 1199px) {
	.elementor-location-header .smh-header-nav {
		display: none !important;
	}

	.elementor-location-header .smh-header-burger {
		display: flex !important;
		flex: 0 0 auto;
	}

	/* CTA sitzt rechts neben dem Hamburger statt mittig in der Leiste;
	   die 20 % Desktop-Breite waren am Tablet schmaler als der Button. */
	.elementor-location-header .smh-header-cta {
		width: auto !important;
		max-width: none !important;
		margin-left: auto;
	}

	.smh-header-burger .elementor-menu-toggle {
		width: 44px;
		height: 44px;
		padding: 0;
		justify-content: center;
		border: 1px solid #D8D9DA;
		border-radius: 4px;
	}

	.smh-header-burger .elementor-menu-toggle.elementor-active {
		border-color: #E64415;
		color: #E64415;
	}

	.smh-header-burger .elementor-menu-toggle:focus-visible {
		outline: 3px solid #E64415;
		outline-offset: 2px;
	}

	/* Aufgeklapptes Menü: eine klare Liste, aktuelle Seite in CI-Orange. */
	.smh-header-burger .elementor-nav-menu--dropdown {
		border-top: 1px solid #D8D9DA;
	}

	.smh-header-burger .elementor-nav-menu--dropdown a.elementor-item {
		line-height: 1.3 !important;
	}

	.smh-header-burger .elementor-nav-menu--dropdown a.elementor-item-active {
		box-shadow: inset 4px 0 0 #E64415;
	}
}

/* Ohne Menüleiste nimmt sich das Logo sonst seine 500 px Desktop-Breite
   und macht die Kopfleiste fast doppelt so hoch. Ab 1024 abwärts greift
   die Elementor-Tablet-Breite (260 px). */
@media (min-width: 1025px) and (max-width: 1199px) {
	.elementor-location-header .elementor-widget-image img {
		width: 300px !important;
	}
}

/* Telefonnummer in der Kopfzeile: Schrift 13 px, Tippfläche war nur 13 px
   hoch. Innenabstand + gleich großer negativer Rand vergrößert die Fläche
   auf 37 px, ohne die Leiste höher zu machen. */
@media (max-width: 1024px) {
	.elementor-location-header a.elementor-button[href^="tel:"] {
		padding-top: 12px !important;
		padding-bottom: 12px !important;
		margin: -12px 0;
	}
}

/* „Mitglied werden" als Menüpunkt nur am Handy; ab 768 px steht der
   Button ohnehin in der Kopfleiste. */
.smh-header-burger .smh-menu-cta {
	display: none;
}

@media (max-width: 767px) {
	.elementor-location-header .smh-header-cta {
		display: none !important;
	}

	.smh-header-burger .smh-menu-cta {
		display: block;
		padding: 16px 20px 20px;
		background: #FFFFFF;
	}

	.smh-header-burger .elementor-nav-menu--dropdown .smh-menu-cta a.elementor-item {
		justify-content: center;
		padding: 14px 20px !important;
		border-radius: 4px;
		background: #E64415 !important;
		color: #FFFFFF !important;
		box-shadow: none;
	}

	.smh-header-burger .elementor-nav-menu--dropdown .smh-menu-cta a.elementor-item:hover,
	.smh-header-burger .elementor-nav-menu--dropdown .smh-menu-cta a.elementor-item:focus {
		background: #C53A12 !important;
	}
}

/* --- Header sticky (Desktop, Tablet, Handy) -----------------------------
 * Die graue Infoleiste (Telefon) scrollt weg, die weiße Hauptleiste mit
 * Logo, Menü bzw. Hamburger und CTA bleibt oben stehen: negativer top-Wert
 * in Höhe der Infoleiste. CSS-sticky statt Elementor-Sticky – kein
 * Platzhalter-Sprung beim Einrasten. Body hat overflow-x: clip, das bricht
 * sticky nicht (hidden würde es). Höhen: Header 37, Infoleiste 2d477e70,
 * Hauptleiste 76da67fc inkl. 1 px Linie. */
:root {
	--smh-topbar-h: 46px;
	--smh-mainbar-h: 89px;
}

@media (max-width: 767px) {
	:root {
		--smh-mainbar-h: 73px;
	}
}

.elementor-location-header {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--smh-topbar-h));
	z-index: 100;
}

/* Unter 601 px scrollt die WP-Adminleiste selbst mit weg. */
@media (max-width: 600px) {
	.admin-bar .elementor-location-header {
		top: calc(-1 * var(--smh-topbar-h));
	}
}

/* Sprungziele (#verein, #inhalt …) landen unter statt hinter der Leiste.
   :root statt html, damit die Regel der Adminleiste nicht gewinnt. */
:root {
	scroll-padding-top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--smh-mainbar-h) + 16px);
}

/* Schatten erst, wenn die Leiste eingerastet ist (Browser ohne
   Scroll-Timeline zeigen nur die vorhandene 1-px-Linie). */
@supports (animation-timeline: scroll()) {
	.elementor-location-header {
		animation: smh-header-stuck linear both;
		animation-timeline: scroll(root);
		animation-range: calc(var(--smh-topbar-h) - 1px) var(--smh-topbar-h);
	}

	@keyframes smh-header-stuck {
		from {
			box-shadow: none;
		}

		to {
			box-shadow: 0 6px 16px -8px rgba(26, 26, 26, 0.18);
		}
	}
}

/* Aufgeklapptes Hamburger-Menü: Elementor begrenzt die Höhe nur bei seinem
   eigenen Sticky. Ohne Grenze wären untere Punkte im Querformat
   unerreichbar, weil die Leiste mitläuft – darum innen scrollen. */
@media (max-width: 1199px) {
	.smh-header-burger .elementor-menu-toggle.elementor-active + .elementor-nav-menu__container {
		max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--smh-mainbar-h)) !important;
		overscroll-behavior: contain;
	}
}

/* Unter 354 px passt das 250-px-Logo nicht neben den Hamburger, die Leiste
   brach auf 134 px um – eingerastet zu viel Bildschirm. */
@media (max-width: 359px) {
	.elementor-location-header .elementor-widget-image img {
		width: calc(100vw - 110px) !important;
	}
}

/* --- Fließtext-Breiten am Tablet ---------------------------------------
 * Die Advanced-Breite (z. B. 48 %) ist für die Desktop-Spalte gedacht. Am
 * Tablet steht der Text meist schon einspaltig, Leads liefen dadurch in
 * einem halb so breiten Streifen. Mindestens 640 px bzw. volle Spalte.
 * Handy: siehe Regel „--container-widget-width: 100 %“ weiter oben. */
@media (min-width: 768px) and (max-width: 1024px) {
	.elementor-widget-heading.elementor-widget__width-initial,
	.elementor-widget-text-editor.elementor-widget__width-initial {
		width: max(var(--container-widget-width, 100%), min(100%, 640px)) !important;
		max-width: 100% !important;
	}
}

/* Überlange Wörter (Behandlungstechniken, Frührehabilitation …) brechen in
 * zu schmalen Spalten um, statt in die Nachbarspalte zu laufen. Greift nur,
 * wenn ein Wort allein nicht in die Zeile passt. */
@media (max-width: 1199px) {
	.elementor-heading-title,
	.elementor-widget-text-editor {
		overflow-wrap: break-word;
	}
}

/* --- Punkt + Text nebeneinander (smh-dot) -------------------------------
 * Elementor lässt Zeilen-Container am Handy umbrechen; der 12-px-Punkt
 * stand dann allein über dem Text (Verein: Ziele, Projektliste; Mitglied). */
@media (max-width: 1024px) {
	.e-con:has(> .smh-dot) {
		--flex-wrap: nowrap;
		flex-wrap: nowrap !important;
	}

	.e-con:has(> .smh-dot) > :not(.smh-dot) {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* --- Vorstand: 4 Personen ohne verwaiste Karte -------------------------
 * Tablet quer wie Desktop vier nebeneinander (2 × 2 ergäbe 470 px breite
 * Porträts), darunter 2 × 2 statt 3 + 1 bzw. vier Fotos untereinander. */
@media (min-width: 901px) and (max-width: 1024px) {
	.smh-home-board .e-grid {
		--e-con-grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	.smh-home-board .e-grid {
		--e-con-grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* --- Beitragsstufen im dunklen Mitglied-Band (Startseite) ----------------
 * Das 7-px-Quadrat ist ein leerer Container; Elementor setzt Container am
 * Handy auf 100 % Breite, daraus wurde ein orangefarbener Balken. */
@media (max-width: 767px) {
	/* :has() lässt sich nicht verschachteln – Zeile = Quadrat + Textblock. */
	.smh-home-mitglied .e-con:has(> .e-con:first-child + .e-con:last-child > .elementor-widget-heading:first-child) {
		--flex-wrap: nowrap;
		flex-wrap: nowrap !important;
	}

	.smh-home-mitglied .e-con:not(:has(*)) {
		--width: 7px;
		width: 7px !important;
		flex: 0 0 7px;
	}
}

/* --- Projekt-Kacheln (Startseite, /projekte/) ----------------------------
 * 148 px Mindesthöhe ergibt am Handy pro Kachel fast eine halbe Bildschirm-
 * höhe Türkis bei ein bis zwei Zeilen Text. */
@media (max-width: 767px) {
	.smh-project-box {
		--min-height: 96px !important;
		min-height: 96px !important;
	}
}

/* --- Aktuelles Spendenprojekt (/projekte/, /verein/) --------------------
 * Die Bildspalte ist auf Desktop 620 px hoch, damit sie mit dem Text
 * abschließt. Einspaltig blieb darunter bzw. darüber leere Fläche. */
@media (max-width: 1024px) {
	.smh-page-projekte-aktuell .e-con:has(> .elementor-widget-image),
	.smh-page-verein-projekt .e-con:has(> .elementor-widget-image) {
		--min-height: 0px;
		min-height: 0;
	}
}

@media (max-width: 767px) {
	.smh-page-projekte-aktuell .e-con:has(> .elementor-widget-image),
	.smh-page-verein-projekt .e-con:has(> .elementor-widget-image) {
		padding: 20px !important;
	}

}

/* --- Verein: Seitenkopf und Leitgedanke -------------------------------- */
@media (max-width: 1024px) {
	/* H1 hat auf Desktop bewusst keinen Abstand nach unten (Live-Edit
	   01.09.); untereinander klebte der Lead sonst direkt am Titel. */
	.elementor-146 .elementor-element-01a0004 {
		margin-bottom: 16px !important;
	}

	/* Orangene Zitatkachel: 378 px Höhe und 50 px Schrift sind für die
	   Desktop-Spalte neben dem Mitgliedskasten gedacht. Voller Pfad, weil
	   die Beitragsstufen darin ebenfalls ein Raster mit letztem Kind sind. */
	.smh-page-verein-cta > .e-con > .e-con-inner > .e-grid > .e-con:last-child {
		--min-height: 240px !important;
		min-height: 240px !important;
	}

}

/* Zitat 40 px auch zwischen 1025 und 1199 px: dort steht die Kachel noch
   zweispaltig, „„Vergangenheit" war mit 50 px breiter als die Kachel. */
@media (max-width: 1199px) {
	.smh-page-verein-cta > .e-con > .e-con-inner > .e-grid > .e-con:last-child > .elementor-widget-heading:first-child .elementor-heading-title {
		font-size: 40px !important;
	}
}

@media (max-width: 767px) {
	.smh-page-verein-cta > .e-con > .e-con-inner > .e-grid > .e-con:last-child {
		--min-height: 0px !important;
		min-height: 0 !important;
		padding: 32px 28px !important;
	}

	.smh-page-verein-cta > .e-con > .e-con-inner > .e-grid > .e-con:last-child > .elementor-widget-heading:first-child .elementor-heading-title {
		font-size: 28px !important;
	}
}

/* --- Galerie (/medien/): Jahreszahl nicht quetschen --------------------- */
.smh-gallery-item .e-con > .elementor-widget-heading {
	flex: 0 0 auto;
}

.smh-gallery-item .e-con > .elementor-widget-heading .elementor-heading-title {
	white-space: nowrap;
}

.smh-gallery-item .e-con > .elementor-widget-text-editor {
	flex: 1 1 auto;
	min-width: 0;
}

/* --- Veranstaltungsbeitrag ---------------------------------------------
 * Beitragsbild ist das Konzertplakat (Hochformat). Im 16:9-Ausschnitt fehlten
 * am Handy Titel und Datum des Plakats – hier ganz zeigen, begrenzt auf
 * Bildschirmhöhe. */
@media (max-width: 1024px) {
	.smh-single-image img {
		aspect-ratio: auto;
		width: auto;
		max-width: 100%;
		height: auto !important;
		max-height: 80vh;
		object-fit: contain;
	}
}

/* Hello-Rosa (#c36) an Links im Beitragstext (Plakat/Programmheft-PDFs). */
.smh-single-body .elementor-widget-theme-post-content a {
	color: #E64415;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.smh-single-body .elementor-widget-theme-post-content a:hover,
.smh-single-body .elementor-widget-theme-post-content a:focus {
	color: #C53A12;
}

/* --- Formulare (Kontakt, Mitglied werden) ------------------------------- */
@media (max-width: 1024px) {
	/* Mitglied-Formular setzt per Elementor 0,8 rem (12,8 px). iOS zoomt bei
	   Eingabefeldern unter 16 px beim Antippen in die Seite. */
	.smh-form .elementor-field-group .elementor-field:not([type="checkbox"]):not([type="radio"]) {
		font-size: 17px !important;
	}

	.smh-form .elementor-field-type-acceptance label {
		line-height: 1.5 !important;
	}

	/* Kartentitel „Spende / Mitgliedschaft / Anregung" waren 12,8 px; die
	   Kartenregel oben (21 px) verliert gegen dieselbe Elementor-Typo. */
	.smh-form-mitglied .elementor-field-group-art .smh-art-copy label {
		font-size: 19px !important;
		font-weight: 700 !important;
		line-height: 1.3 !important;
	}

	.smh-form-mitglied .smh-amount-field > .elementor-field-label {
		font-size: 15px !important;
		font-weight: 700 !important;
		color: #1A1A1A !important;
	}
}

/* --- Buttons mit Zeilenumbruch ------------------------------------------
 * Elementor-Buttons haben line-height 1; zweizeilige Beschriftungen
 * („Executive Summary herunterladen (PDF)") klebten aneinander. */
@media (max-width: 767px) {
	.elementor-widget-button .elementor-button {
		line-height: 1.3;
	}
}

/* --- Footer am Handy ----------------------------------------------------
 * Adresse über volle Breite, darunter die drei Linkgruppen zweispaltig statt
 * rund 800 px Linkliste untereinander. Rechtliches linksbündig unter dem
 * Copyright (Footer 83, Element 01a0105, Reihenfolge per row-reverse). */
@media (max-width: 767px) {
	.smh-site-footer .e-grid {
		--e-con-grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 32px !important;
	}

	.smh-site-footer .e-grid > .e-con:first-child {
		grid-column: 1 / -1;
	}

	.smh-site-footer .elementor-element-01a0105 {
		width: 100% !important;
		justify-content: flex-end;
		flex-wrap: wrap;
		margin-left: -8px;
	}
}

/* --- Tablet quer / kleine Laptops (901–1199 px) --------------------------
 * Elementor zeigt hier noch die Desktop-Raster; einige sind dafür zu eng. */
@media (min-width: 1025px) and (max-width: 1199px) {
	/* Startseite „Unser Verein": drei Mini-Spalten à ~130 px neben dem
	   Text – untereinander wie am Tablet. */
	.smh-home-verein .e-grid .e-grid {
		--e-con-grid-template-columns: minmax(0, 1fr) !important;
		grid-template-columns: minmax(0, 1fr) !important;
	}
}

@media (min-width: 901px) and (max-width: 1199px) {
	/* Laufband: fünf Versorgungsschritte als 3 + 2 statt fünf schmaler
	   (1180) bzw. 2 + 2 + 1 (1024) Karten. */
	.smh-page-laufband-versorgung .e-grid:has(> .smh-laufband-step) {
		--e-con-grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
		--e-con-grid-template-rows: auto !important;
		grid-template-rows: auto !important;
	}
}

/* --- Kennzahlen Startseite (smh-kennzahlen) -----------------------------
 * Das Präfix „+" wuchs als Flex-Element mit, der Zusatz („Jährlich") nicht
 * (Regel „Kennzahlen" oben). Die Zahl stand dadurch rechts neben der Mitte
 * ihrer Beschriftung. */
@media (max-width: 1024px) {
	.smh-kennzahlen .elementor-counter-number-wrapper {
		justify-content: center;
	}

	.smh-kennzahlen .elementor-counter-number-prefix,
	.smh-kennzahlen .elementor-counter-number-suffix {
		flex: 0 0 auto;
	}
}

/* Handy: 2 × 2 statt vier Zähler à 125 px untereinander (25/50 px Innen-
 * abstand, 35 px Zeilenhöhe der Beschriftung). „+16.000 Jährlich" passt
 * nicht in eine halbe Handybreite – der Zusatz steht darunter. */
@media (max-width: 767px) {
	/* Boxed Grid: Spalten nur am inneren Container – die Variable am äußeren
	   würde vererbt und teilte die halbe Spalte noch einmal. */
	.smh-kennzahlen > .e-con-inner {
		--e-con-grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		row-gap: 28px !important;
		column-gap: 20px !important;
	}

	.smh-kennzahlen .elementor-widget-counter {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
	}

	.smh-kennzahlen .elementor-counter-number-wrapper {
		flex-wrap: wrap;
		font-size: 28px !important;
		line-height: 1.2 !important;
	}

	.smh-kennzahlen .elementor-counter-number-suffix {
		flex-basis: 100%;
		white-space: normal;
		text-align: center;
	}

	.smh-kennzahlen .elementor-counter-number-suffix:empty {
		display: none;
	}

	.smh-kennzahlen .elementor-counter-title {
		margin-top: 4px;
		text-align: center;
		font-size: 15px !important;
		line-height: 1.4 !important;
	}
}

/* --- Fotos ohne Höhe vor dem Nachladen (Handy) ----------------------------
 * Chrome berechnet Bild-Widgets in Spalten-Containern am Handy mit 2–26 px,
 * solange das Lazy-Bild (Breite 100 %) noch nicht geladen ist; erst danach
 * springt das Widget auf volle Höhe. Folge: Sprunglinks wie /verein/#vorstand
 * oder #bank landeten bis zu 366 px zu tief, und die Seite ruckelt beim
 * Scrollen. Eine feste Widget-Breite lässt den Browser die Höhe sofort aus dem
 * Seitenverhältnis (width/height-Attribute) ableiten. Nur die betroffenen
 * Fotobereiche – Logos und schmale Bilder bleiben unberührt. */
@media (max-width: 767px) {
	.smh-gallery-item .elementor-widget-image,
	.smh-event-card-media .elementor-widget-image,
	.smh-tafel-foto .elementor-widget-image,
	.smh-board-card .elementor-widget-image,
	.smh-home-board .elementor-widget-image,
	.smh-media-card .elementor-widget-image {
		width: 100%;
	}
}
