/*
Theme Name: Sek 1 SG
Template: twentytwentyfive
Description: Child-Theme für die Website von Sek 1 St. Gallen (Verband Oberstufenlehrpersonen Kanton St. Gallen). Basis: Twenty Twenty-Five.
Version: 1.7.0
Requires at least: 6.7
Text Domain: sek1
*/

/* ---------- Kopfzeile ---------- */
.sek1-header {
	border-bottom: 1px solid #CFE9D9;
	padding-top: 20px;
	padding-bottom: 20px;
}

/* ---------- Grüner Balken mit Leitsatz ---------- */
.sek1-hero {
	background: var(--wp--preset--color--gruen);
	padding-top: 48px;
	padding-bottom: 52px;
	margin-top: 0;
}
.sek1-hero__inner {
	gap: 28px 40px;
	align-items: center;
}
.sek1-hero__title {
	flex: 1 1 520px;
	max-width: 900px;
	margin: 0;
	font-size: clamp(1.75rem, 3.8vw, 2.75rem);
}

/* ---------- Pin «Werde Mitglied» ---------- */
.pin {
	display: block;
	flex: 0 0 auto;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	background: var(--wp--preset--color--dunkelgruen);
	box-shadow: 0 10px 24px rgba(31, 77, 51, 0.28);
	text-decoration: none;
	transform: rotate(-10deg);
	transition: transform 0.5s cubic-bezier(0.3, 1.3, 0.5, 1);
}
.pin:hover,
.pin:focus-visible {
	transform: rotate(14deg);
}
.pin svg {
	display: block;
}
.pin text {
	font-family: var(--wp--preset--font-family--ginto-nord);
}
@media (prefers-reduced-motion: reduce) {
	.pin {
		transition: none;
	}
}

/* ---------- News ---------- */
.sek1-news-main .wp-block-post-featured-image img,
.sek1-ersatzbild a {
	border-radius: 18px;
}
.sek1-aufmacher .wp-block-post-title {
	font-size: clamp(1.5rem, 2.6vw, 1.875rem);
}
.wp-block-post-excerpt__more-link {
	font-weight: 700;
	text-decoration: none;
	border-bottom: 3px solid var(--wp--preset--color--gruen);
	padding-bottom: 2px;
}
.sek1-liste .wp-block-post-template > li {
	border-bottom: 1px solid #DDE5E0;
	padding: 24px 0;
	margin: 0;
}
.sek1-liste .wp-block-post-template {
	border-top: 1px solid #DDE5E0;
}
.sek1-liste__eintrag {
	gap: 20px;
	align-items: flex-start;
}
.sek1-liste__eintrag > .wp-block-post-featured-image {
	flex: 0 0 200px;
	width: 200px;
	margin: 0;
}
.sek1-liste__eintrag > .wp-block-post-featured-image img {
	border-radius: 12px;
	height: 134px;
	object-fit: cover;
}
.sek1-liste__text {
	flex: 1 1 280px;
	min-width: 0;
}
.sek1-liste .wp-block-post-title {
	font-size: 1.3rem;
}

/* Ersatzbild, wenn kein Beitragsbild gesetzt ist */
.sek1-ersatzbild {
	margin: 0;
}
.sek1-ersatzbild a {
	display: flex;
	align-items: flex-end;
	aspect-ratio: 16 / 9;
	padding: 20px 24px;
	box-sizing: border-box;
	background: var(--wp--preset--color--hellgruen);
	text-decoration: none;
}
.sek1-ersatzbild span {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 700;
	font-size: clamp(2rem, 5vw, 4rem);
	line-height: 1;
	color: var(--wp--preset--color--gruen);
}
.sek1-liste__eintrag > .sek1-ersatzbild a {
	aspect-ratio: auto;
	height: 134px;
	border-radius: 12px;
	padding: 14px;
}
.sek1-liste__eintrag > .sek1-ersatzbild span {
	font-size: 1.5rem;
}

/* ---------- Seitenspalte: Termine und Mitmachen ---------- */
.sek1-termine {
	background: var(--wp--preset--color--hellgruen);
	border-radius: 18px;
	padding: 26px;
}
.sek1-termin {
	gap: 14px;
	align-items: center;
	flex-wrap: nowrap;
}
.sek1-datum {
	flex: 0 0 62px;
	width: 62px;
	height: 66px;
	margin: 0;
	border-radius: 10px;
	background: var(--wp--preset--color--gruen);
	color: var(--wp--preset--color--dunkelgruen);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	line-height: 1.2;
}
.sek1-datum strong {
	display: block;
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-size: 1.5rem;
	line-height: 1;
	letter-spacing: 0;
}
.sek1-termin__text p {
	margin: 0;
}
.sek1-termin__titel {
	font-weight: 700;
	color: var(--wp--preset--color--dunkelgruen);
	font-size: 1rem;
}
.sek1-termin__ort {
	font-size: 0.875rem;
	color: #5A5A5A;
}
.sek1-mitmachen {
	border: 2px solid var(--wp--preset--color--gruen);
	border-radius: 18px;
	padding: 26px;
}

/* ---------- Artikelseite ---------- */
.sek1-zurueck a {
	color: #4F4F4F;
	font-weight: 700;
	text-decoration: none;
}
.sek1-artikel .wp-block-post-featured-image img {
	border-radius: 20px;
}
.sek1-weitere {
	border-top: 2px solid var(--wp--preset--color--gruen);
	padding-top: 28px;
	gap: 28px 40px;
	align-items: center;
}
.sek1-weitere__news {
	flex: 1 1 460px;
	min-width: 0;
}

/* ---------- Fusszeile ---------- */
.sek1-footer {
	background: var(--wp--preset--color--hellgrau);
	border-top: 4px solid var(--wp--preset--color--gruen);
	padding-top: 48px;
	padding-bottom: 28px;
	margin-top: 0;
	font-size: 0.9375rem;
	color: #5A5A5A;
}
.sek1-footer__label {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.875rem;
}
.sek1-footer__unten {
	border-top: 1px solid #DADDDA;
	padding-top: 18px;
	gap: 12px 28px;
}
.sek1-footer__unten p {
	margin: 0;
}
.sek1-footer a {
	color: #4F4F4F;
}

/* ---------- Abstände und Ergänzungen ---------- */
.wp-site-blocks > * {
	margin-block-start: 0;
}
.sek1-header:not(.has-global-padding),
.sek1-hero:not(.has-global-padding),
.sek1-news:not(.has-global-padding),
.sek1-artikel:not(.has-global-padding),
.sek1-footer:not(.has-global-padding) {
	padding-left: 24px;
	padding-right: 24px;
}
.sek1-news {
	padding-top: 56px;
	padding-bottom: 72px;
}
.sek1-news-main {
	display: flex;
	flex-direction: column;
	gap: 36px;
}
.sek1-artikel {
	padding-top: 48px;
	padding-bottom: 80px;
}
.sek1-termin__text {
	gap: 2px;
}
.sek1-termine h2,
.sek1-mitmachen h2 {
	margin: 0;
}
.sek1-mitmachen {
	margin-top: 28px;
}
.sek1-weitere {
	margin-top: 48px;
}
.sek1-weitere__liste .wp-block-post-template > li {
	border: 1px solid #DDE5E0;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 12px;
}
.sek1-weitere__liste .wp-block-post-title {
	margin-top: 4px;
}
.sek1-footer__name {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--wp--preset--color--dunkelgruen);
	margin-bottom: 4px;
}

/* ---------- Formular «Mitglied werden» (Fluent Forms) ---------- */
.fluentform .ff-el-section-break h3,
.fluentform .ff-el-section-title {
	font-family: var(--wp--preset--font-family--ginto-nord);
	color: var(--wp--preset--color--dunkelgruen);
	font-size: 1.25rem;
	margin-top: 1.5rem;
}
.fluentform .ff-el-section-break hr {
	border: 0;
	border-top: 2px solid var(--wp--preset--color--gruen);
}
.fluentform .ff-el-input--label label {
	font-weight: 700;
	color: var(--wp--preset--color--dunkelgruen);
	font-size: 0.9375rem;
}
.fluentform .ff-el-form-control {
	font-family: var(--wp--preset--font-family--ginto);
	font-size: 1rem;
	border: 1.5px solid #C9D6CE;
	border-radius: 10px;
	padding: 0.7rem 0.9rem;
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--text);
}
.fluentform .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--dunkelgruen);
	outline: 3px solid var(--wp--preset--color--hellgruen);
	outline-offset: 0;
}
.fluentform .ff-el-is-required.asterisk-right label::after {
	color: var(--wp--preset--color--dunkelgruen);
}
.fluentform .ff_submit_btn_wrapper .ff-btn-submit,
.fluentform .ff-btn-submit {
	background: var(--wp--preset--color--gruen) !important;
	color: var(--wp--preset--color--dunkelgruen) !important;
	border: 0;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--ginto);
	font-weight: 700;
	font-size: 1.0625rem;
	padding: 0.9rem 1.8rem;
}
.fluentform .ff-btn-submit:hover,
.fluentform .ff-btn-submit:focus-visible {
	background: var(--wp--preset--color--dunkelgruen) !important;
	color: var(--wp--preset--color--weiss) !important;
}
.ff-message-success {
	background: var(--wp--preset--color--hellgruen);
	border: 0;
	border-radius: 14px;
	color: var(--wp--preset--color--dunkelgruen);
	padding: 1.25rem 1.5rem;
	box-shadow: none;
}

/* ---------- Kategorien ---------- */
.sek1-meta {
	gap: 8px 12px;
	align-items: center;
}
.sek1-kategorie a {
	display: inline-block;
	font-size: 0.8125rem;
	font-weight: 700;
	text-decoration: none;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--wp--preset--color--hellgruen);
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-kategorie a[href*="/aus-dem-vorstand/"] {
	background: var(--wp--preset--color--gruen);
}
.sek1-kategorie a[href*="/hinweise/"] {
	background: #ECEDEC;
	color: #3F3F3F;
}
.sek1-kategorie .wp-block-post-terms__separator {
	display: none;
}

/* ---------- Galerie «Wischkarten» ---------- */
.sek1-wisch {
	position: relative;
}
.wp-block-gallery.is-style-wischkarten.has-nested-images {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 16px !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 4px;
	padding-bottom: 12px;
	scrollbar-width: thin;
	scrollbar-color: var(--wp--preset--color--gruen) transparent;
}
.wp-block-gallery.is-style-wischkarten.has-nested-images figure.wp-block-image:not(#individual-image) {
	flex: 0 0 82% !important;
	width: 82% !important;
	max-width: 640px;
	margin: 0 !important;
	scroll-snap-align: start;
	flex-direction: column;
	background: var(--wp--preset--color--hellgruen);
	border-radius: 16px;
	overflow: hidden;
}
.wp-block-gallery.is-style-wischkarten.has-nested-images figure.wp-block-image img {
	width: 100% !important;
	aspect-ratio: 4 / 3;
	height: auto !important;
	object-fit: contain !important;
	border-radius: 0;
}
.wp-block-gallery.is-style-wischkarten.has-nested-images figure.wp-block-image figcaption {
	position: static !important;
	background: none !important;
	color: var(--wp--preset--color--text) !important;
	text-shadow: none !important;
	max-height: none !important;
	padding: 10px 14px 14px !important;
	font-size: 0.9375rem;
	text-align: left;
}
.wp-block-gallery.is-style-wischkarten.has-nested-images figure.wp-block-image::before {
	display: none !important;
}
.sek1-wisch__pfeil {
	position: absolute;
	top: calc(50% - 30px);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--wp--preset--color--dunkelgruen);
	color: var(--wp--preset--color--weiss);
	font-size: 1.25rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(31, 77, 51, 0.25);
}
.sek1-wisch__pfeil--zurueck { left: -10px; }
.sek1-wisch__pfeil--weiter { right: -10px; }
.sek1-wisch__pfeil:hover,
.sek1-wisch__pfeil:focus-visible {
	background: var(--wp--preset--color--gruen);
	color: var(--wp--preset--color--dunkelgruen);
}
@media (max-width: 700px) {
	.sek1-wisch__pfeil { display: none; }
	.wp-block-gallery.is-style-wischkarten.has-nested-images figure.wp-block-image:not(#individual-image) {
		flex-basis: 88% !important;
		width: 88% !important;
	}
}

/* ---------- Kopfzeile: fixiert, verkleinert sich beim Scrollen ---------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--wp--preset--color--weiss);
}
.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}
.sek1-header {
	transition: padding 0.3s ease, box-shadow 0.3s ease;
}
.sek1-logo__link {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	transition: gap 0.3s ease;
}
.sek1-logo__bild {
	display: block;
	width: 300px;
	height: auto;
	transition: width 0.3s ease;
}
.sek1-logo__zusatz {
	display: block;
	font-size: 0.9375rem;
	line-height: 1.3;
	color: #6F6F6F;
	max-height: 3em;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.2s ease;
}
.ist-gescrollt .sek1-header {
	padding-top: 10px;
	padding-bottom: 10px;
	box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
}
.ist-gescrollt .sek1-logo__link {
	gap: 0;
}
.ist-gescrollt .sek1-logo__bild {
	width: 150px;
}
.ist-gescrollt .sek1-logo__zusatz {
	max-height: 0;
	opacity: 0;
}
[id] {
	scroll-margin-top: 120px;
}
@media (max-width: 700px) {
	.sek1-logo__bild { width: 200px; }
	.ist-gescrollt .sek1-logo__bild { width: 110px; }
	.sek1-logo__zusatz { font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sek1-header, .sek1-logo__link, .sek1-logo__bild, .sek1-logo__zusatz { transition: none; }
}

/* Termine: optionaler Untertitel */
.sek1-termin__untertitel {
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.35;
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-termin__untertitel:empty {
	display: none;
}

/* Termine: Datumsfeld oben bündig mit dem Titel */
.sek1-termin {
	align-items: flex-start !important;
}
.sek1-termin__titel {
	line-height: 1.3;
	margin-top: 0 !important;
}
.sek1-termin__text {
	padding-top: 0;
}

/* ---------- Mobile: lange Wörter trennen, nichts darf seitlich überstehen ---------- */
.wp-site-blocks {
	overflow-x: clip;
}
h1, h2, h3,
.wp-block-post-title {
	overflow-wrap: break-word;
	hyphens: auto;
	-webkit-hyphens: auto;
	hyphenate-limit-chars: 10 4 4;
}
@media (max-width: 700px) {
	.sek1-hero {
		padding-top: 32px;
		padding-bottom: 36px;
	}
	.sek1-hero__title {
		flex-basis: 100%;
		font-size: clamp(1.4rem, 6.4vw, 1.75rem);
	}
	.pin {
		width: 132px;
		height: 132px;
	}
	.pin svg {
		width: 132px;
		height: 132px;
	}
}

/* ---------- Seite «Mitwirken» ---------- */
.sek1-mitwirken__intro {
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-mitwirken__hinweis {
	font-size: 0.9375rem;
	color: #5A5A5A;
	border-left: 3px solid var(--wp--preset--color--gruen);
	padding-left: 12px;
}
.sek1-rollen {
	gap: 24px;
	margin-top: 40px !important;
	align-items: stretch;
}
.sek1-rolle {
	border: 1px solid #D7E3DC;
	border-radius: 18px;
	padding: 24px;
	gap: 12px;
	background: var(--wp--preset--color--weiss);
}
.sek1-rolle > * {
	margin: 0;
}
.sek1-rolle__zahl {
	font-size: 0.875rem;
	color: var(--wp--preset--color--grau);
}
.sek1-rolle__zahl strong {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 500;
	font-size: 1.75rem;
	color: var(--wp--preset--color--gruen);
	margin-right: 4px;
}
.sek1-rolle__titel {
	font-size: 1.375rem !important;
	line-height: 1.2;
}
.sek1-rolle__unter {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--wp--preset--color--dunkelgruen);
	margin-top: -6px !important;
}
.sek1-rolle__aufgaben {
	font-size: 0.9375rem;
	line-height: 1.45;
	padding-left: 1.1em;
	flex-grow: 1;
}
.sek1-rolle__aufgaben li + li {
	margin-top: 6px;
}
.sek1-rolle__aufgaben li::marker {
	color: var(--wp--preset--color--gruen);
}
.sek1-rolle__einsatz {
	background: var(--wp--preset--color--gruen);
	color: var(--wp--preset--color--dunkelgruen);
	border-radius: 12px;
	padding: 14px 16px;
	gap: 2px;
}
.sek1-rolle__einsatz p {
	margin: 0;
}
.sek1-rolle__einsatz-label {
	font-size: 0.75rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.sek1-rolle__einsatz-wert {
	font-size: 0.9375rem;
	line-height: 1.35;
	font-weight: 500;
}
.sek1-rolle__einsatz-wert strong {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-size: 1.75rem;
	display: block;
	line-height: 1.1;
}
.sek1-rolle__mehr {
	border-top: 1px solid #DDE5E0;
	padding-top: 10px;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.sek1-rolle__mehr summary {
	cursor: pointer;
	font-weight: 500;
	color: var(--wp--preset--color--dunkelgruen);
	padding: 6px 0;
}
.sek1-rolle__mehr p {
	margin: 10px 0 0;
}
.sek1-rolle__mehr strong {
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-mitwirken__kontakt {
	background: var(--wp--preset--color--hellgruen);
	border-radius: 18px;
	padding: 32px;
	margin-top: 48px !important;
	gap: 12px;
}
.sek1-mitwirken__kontakt h2,
.sek1-mitwirken__kontakt p {
	margin: 0;
}
.sek1-mitwirken__kontakt .wp-block-button__link {
	background: var(--wp--preset--color--dunkelgruen);
	color: var(--wp--preset--color--weiss);
}

/* ---------- Mitwirken im Stil der Concept Map ---------- */
/* Einstieg: Sprechblase «Engagiere dich!» mit Figuren am Rand */
.sek1-engagiere {
	position: relative;
	display: flex;
	justify-content: center;
	padding: 40px 0 24px;
	margin-bottom: 24px !important;
	overflow: hidden;
	background:
		url("assets/mitwirken/face_l.webp") left 6% / auto 62% no-repeat,
		url("assets/mitwirken/face_r.webp") right 40% / auto 66% no-repeat,
		url("assets/mitwirken/face_bl.webp") left 3% bottom -42px / auto 48% no-repeat;
}
.sek1-engagiere__burst {
	position: relative;
	width: min(440px, 82vw);
	aspect-ratio: 1;
	container-type: inline-size;
	background: url("assets/mitwirken/burst.webp") center / contain no-repeat;
	margin: 0 !important;
}
.sek1-engagiere__burst p {
	position: absolute;
	left: 16.5%;
	right: 16.5%;
	margin: 0 !important;
	text-align: center;
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 500;
	line-height: 1;
}
.sek1-engagiere__zahl {
	top: 16%;
	color: var(--wp--preset--color--weiss);
	font-size: 4cqw;
	letter-spacing: 0.02em;
}
.sek1-engagiere__zahl strong {
	font-size: 9cqw;
	font-weight: 500;
	margin-right: 0.15em;
}
.sek1-engagiere__ruf {
	top: 31%;
	height: 33%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	color: #EF4861;
	font-size: 8.4cqw;
}
.sek1-engagiere__ruf strong {
	display: block;
	font-size: 17cqw;
	font-weight: 500;
	line-height: 0.95;
}
@media (max-width: 700px) {
	.sek1-engagiere {
		background:
			url("assets/mitwirken/face_l.webp") left 10% / auto 40% no-repeat,
			url("assets/mitwirken/face_r.webp") right 80% / auto 42% no-repeat;
	}
}

/* Karten: Titel auf grünem Balken, Zahlen gross, «Dein Einsatz» rot wie in der Map */
.sek1-rolle {
	border: 0;
	border-radius: 0;
	padding: 0 0 8px;
	background: transparent;
}
.sek1-rolle__zahl strong {
	font-size: 2.25rem;
	color: var(--wp--preset--color--gruen);
}
.sek1-rolle__titel {
	background: var(--wp--preset--color--gruen);
	color: var(--wp--preset--color--dunkelgruen) !important;
	padding: 12px 16px;
	margin-left: -4px !important;
	font-size: 1.375rem !important;
}
.sek1-rolle__aufgaben li::marker {
	color: var(--wp--preset--color--gruen);
}
.sek1-rolle__einsatz {
	background: transparent;
	color: #C9304B;
	border-radius: 0;
	border-top: 3px solid #EF4861;
	border-bottom: 3px solid #EF4861;
	padding: 10px 0 12px;
}
.sek1-rolle__einsatz-label {
	text-transform: none;
	letter-spacing: 0;
	font-weight: 300;
	font-size: 0.8125rem;
}
.sek1-rolle__einsatz-wert strong {
	color: #EF4861;
	font-size: 2.25rem;
}
.sek1-rolle__mehr {
	border-top: 0;
	padding-top: 0;
}

/* ---------- Seite «Mitglied werden» ---------- */
.sek1-mitglied__intro p {
	font-size: 1.1875rem;
	line-height: 1.55;
	margin: 0 0 12px;
}
.sek1-mitglied__intro strong {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 500;
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-beitrag {
	background: var(--wp--preset--color--hellgruen);
	border-radius: 18px;
	padding: 28px;
	margin-top: 32px !important;
}
.sek1-beitrag > * {
	margin-top: 0;
}
.sek1-beitrag__betrag {
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--wp--preset--color--dunkelgruen);
	margin-bottom: 4px;
}
.sek1-beitrag__betrag strong {
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 500;
	font-size: 3.5rem;
	line-height: 1;
	color: var(--wp--preset--color--dunkelgruen);
	margin-right: 6px;
}
.sek1-beitrag__label {
	font-size: 0.9375rem;
	color: #5A5A5A;
	margin-bottom: 10px;
}
.sek1-beitrag__vergleiche {
	gap: 10px;
	margin-bottom: 24px;
}
.sek1-beitrag__karte {
	background: var(--wp--preset--color--weiss);
	border-radius: 12px;
	padding: 14px 16px;
	margin: 0 !important;
	font-size: 0.9375rem;
	line-height: 1.4;
	font-weight: 500;
	color: var(--wp--preset--color--dunkelgruen);
}
.sek1-beitrag h3 {
	margin-bottom: 6px;
}
.sek1-mitglied__anmelden {
	margin-top: 48px !important;
	padding-top: 24px;
	border-top: 2px solid var(--wp--preset--color--gruen);
}

/* ---------- Erfolge (synchronisiertes Muster) ---------- */
.sek1-erfolge {
	margin-top: 40px !important;
}
.sek1-erfolge__liste {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
}
.sek1-erfolge__liste li {
	position: relative;
	padding: 14px 0 14px 44px;
	border-bottom: 1px solid #DDE5E0;
	line-height: 1.5;
}
.sek1-erfolge__liste li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 16px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--wp--preset--color--gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231F4D33' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.sek1-erfolge__liste strong {
	color: var(--wp--preset--color--dunkelgruen);
	font-weight: 500;
}

/* Mitwirken: Figuren über die ganze Seite verteilt, wie auf dem Plakat */
.sek1-engagiere,
.sek1-engagiere:is(*) {
	background: none !important;
	overflow: visible;
}
.sek1-engagiere__zahl {
	top: 17.5%;
	left: 16.7% !important;
	right: 19% !important;
}
.sek1-engagiere__ruf {
	top: 28.6%;
	height: 31.3%;
	left: 16.7% !important;
	right: 19% !important;
}
body.seite-mitwirken .wp-site-blocks {
	position: relative;
}
@media (min-width: 900px) {
	body.seite-mitwirken .wp-site-blocks > main {
		background:
			url("assets/mitwirken/face_tr.webp") right top / 300px auto no-repeat,
			url("assets/mitwirken/face_l.webp") left 32% / auto 300px no-repeat,
			url("assets/mitwirken/face_r.webp") right 58% / auto 300px no-repeat,
			url("assets/mitwirken/face_bl.webp") left bottom / auto 340px no-repeat,
			url("assets/mitwirken/face_br.webp") right bottom / 340px auto no-repeat;
	}
}
@media (max-width: 899px) {
	body.seite-mitwirken .wp-site-blocks > main {
		background:
			url("assets/mitwirken/face_tr.webp") right top / 170px auto no-repeat,
			url("assets/mitwirken/face_br.webp") right bottom / 200px auto no-repeat;
	}
}
/* Inhalt liegt über den Figuren; Karten bekommen einen leichten weissen Grund */
.seite-mitwirken .sek1-rolle,
.seite-mitwirken .sek1-mitwirken__intro,
.seite-mitwirken .sek1-mitwirken__hinweis {
	position: relative;
	z-index: 1;
}
.seite-mitwirken .sek1-rolle {
	background: rgba(255, 255, 255, 0.92);
}

/* ---------- Kopfzeile fixiert statt sticky (kein Springen beim Scrollen) ---------- */
body.kopf-fixiert header.wp-block-template-part {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}
body.kopf-fixiert.admin-bar header.wp-block-template-part {
	top: var(--wp-admin--admin-bar--height, 32px);
}
body.kopf-fixiert .wp-site-blocks {
	padding-top: var(--sek1-kopf, 180px);
}
@media (max-width: 600px) {
	body.kopf-fixiert.admin-bar header.wp-block-template-part {
		top: 0;
	}
}
[id] {
	scroll-margin-top: 110px;
}

/* ---------- Über uns ---------- */
.sek1-ueber__lead {
	font-size: 1.25rem;
	line-height: 1.5;
	color: var(--wp--preset--color--dunkelgruen);
	font-weight: 500;
}
.sek1-personen {
	gap: 28px 20px;
	margin-top: 16px !important;
}
.sek1-personen .wp-block-image {
	margin: 0;
	text-align: center;
}
.sek1-personen .wp-block-image img {
	width: 140px !important;
	height: 140px !important;
	object-fit: cover;
	border-radius: 50%;
}
.sek1-personen figcaption {
	font-size: 0.9375rem;
	line-height: 1.4;
	margin-top: 10px;
	text-align: center;
}
.sek1-personen figcaption a {
	font-weight: 500;
}
.sek1-klv,
.sek1-synergien {
	margin-top: 40px !important;
}
.sek1-synergien .wp-block-image img {
	border-radius: 12px;
}

/* ---------- Beitragsbild: Text auf dem Bild, Ersatzfläche ---------- */
.wp-block-post-featured-image {
	position: relative;
	container-type: inline-size;
}
.sek1-bildtext {
	position: absolute;
	left: 4cqw;
	right: 4cqw;
	bottom: 4cqw;
	pointer-events: none;
	font-family: var(--wp--preset--font-family--ginto-nord);
	font-weight: 500;
	line-height: 1.15;
	font-size: clamp(0.65rem, 5.5cqw, 2.5rem);
	color: var(--wp--preset--color--weiss);
}
.sek1-bildtext > span {
	background: var(--wp--preset--color--dunkelgruen);
	padding: 0.1em 0.35em;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.sek1-ersatzbild__flaeche {
	display: flex;
	align-items: flex-end;
	aspect-ratio: 16 / 9;
	padding: 20px 24px;
	box-sizing: border-box;
	background: var(--wp--preset--color--hellgruen);
	border-radius: 20px;
}
.sek1-ersatzbild span {
	font-size: clamp(1.1rem, 11cqw, 4rem);
}
.sek1-liste__eintrag > .sek1-ersatzbild span {
	font-size: clamp(0.9rem, 11cqw, 1.5rem);
}
