/* SV Hemmerden – Theme-Styles (Vereinsblau #12456E, Dunkelblau #0B263D, Orange nur für „Mitglied werden“) */
:root {
	--svh-blau: var(--wp--preset--color--vereinsblau, #12456E);
	--svh-dunkel: var(--wp--preset--color--dunkelblau, #0B263D);
	--svh-hell: var(--wp--preset--color--hellblau, #EBF3FA);
	--svh-linie: var(--wp--preset--color--linie, #CADBE9);
	--svh-flaeche: var(--wp--preset--color--flaeche, #DCE9F4);
	--svh-gedaempft: var(--wp--preset--color--text-gedaempft, #3F5B73);
	--svh-weich: var(--wp--preset--color--text-weich, #2B4256);
	--svh-orange: var(--wp--preset--color--orange, #F28C38);
	--svh-head: var(--wp--preset--font-family--ueberschrift, "Barlow Condensed", "Arial Narrow", sans-serif);
	--svh-pad: 24px;
}
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.svh-main, .svh-header, .svh-footer { margin-block: 0; }
.svh-main > *:first-child { margin-top: 0; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }
.svh-content > * { margin-block-start: 0; margin-block-end: 0; }

/* Fokus sichtbar (Barrierefreiheit) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
	outline: 3px solid var(--svh-orange); outline-offset: 2px;
}

/* ---------- Abschnitte ---------- */
.svh-sec { padding: 64px var(--svh-pad); }
.svh-sec--tight { padding-block: 32px; }
.svh-sec + .svh-sec--tight { padding-top: 16px; }
.svh-band { padding: 40px var(--svh-pad) 48px; }
.svh-band .svh-crumb { font-size: 14px; color: var(--wp--preset--color--blauton-hell, #C6DAEC); margin: 0 0 12px; }
.svh-band .svh-crumb a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.svh-band-title { margin: 0; font-size: clamp(2.75rem, 2rem + 3vw, 3.5rem); line-height: 1; }
.svh-band-intro { margin: 12px 0 0; max-width: 640px; font-size: 18px; color: var(--wp--preset--color--blauton-hell, #C6DAEC); }
.svh-band .svh-eyebrow { color: var(--wp--preset--color--himmelblau, #79B8EC); margin: 0 0 8px; }
.svh-headrow { margin-bottom: 28px; }
.svh-headrow h2 { margin: 0; }
.svh-linkmore { font-weight: 600; margin: 0; }
.svh-linkrow a + a { margin-left: 28px; }
.svh-stack > * + * { margin-top: 40px; }

.svh-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--svh-blau); margin: 0; }
.svh-small { font-size: 14px; color: var(--svh-gedaempft); margin: 0; }
.has-text-color .svh-small, .has-background .svh-small[class*="has-"] { color: inherit; }
.svh-name { font-size: 18px; font-weight: 600; margin: 0; }
.svh-lead { font-size: 19px; max-width: 480px; margin: 0; }
.svh-h3 { font-size: clamp(1.4rem, 1.2rem + .6vw, 1.75rem); margin: 0; line-height: 1.1; }
.svh-h2s { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); margin: 0 0 16px; }
.svh-h2xl { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); margin: 0; line-height: 1; }
.wp-block-group.svh-narrow, .is-layout-constrained > .wp-block-group.svh-narrow { max-width: 780px !important; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; }
.svh-narrow > * + * { margin-top: 18px; }
.svh-narrow p, .svh-narrow li { font-size: 17px; line-height: 1.65; color: var(--svh-weich); }

/* ---------- Hero ---------- */
.svh-hero { padding-block: 72px; }
.svh-hero .wp-block-columns { gap: 40px; margin: 0; }
.svh-hero-title { font-size: clamp(3.25rem, 2rem + 6vw, 5.5rem); line-height: .95; margin: 0; }
.svh-hero .svh-eyebrow { color: var(--wp--preset--color--himmelblau, #79B8EC); }
.svh-hero .wp-block-column > * + * { margin-top: 20px; }

/* ---------- Karten, Kacheln ---------- */
.svh-card { box-sizing: border-box; border: 1px solid var(--svh-linie); padding: 32px; }
.svh-card.has-background { border-color: transparent; }
.svh-card > * + * { margin-top: 12px; }
.svh-card-club { padding: 0; overflow: hidden; border: 0; }
.svh-card-club .svh-card-pad { padding: 28px 32px 32px; }
.svh-card-club .svh-card-pad > * + * { margin-top: 10px; }
.svh-card-club .svh-foto { border-width: 0 0 1.5px; }
.svh-join { display: flex; flex-direction: column; justify-content: center; height: 100%; box-sizing: border-box; padding: 40px; }
.svh-fact-num { font-family: var(--svh-head); font-weight: 700; font-size: 44px; line-height: 1; color: var(--svh-blau); margin: 0; }
.svh-step-num { font-family: var(--svh-head); font-weight: 700; font-size: 48px; line-height: 1; color: var(--svh-blau); margin: 0; }
.svh-fact-pill { padding: 14px 20px; flex: 1 1 180px; box-sizing: border-box; }
.svh-facts { gap: 12px; margin-bottom: 8px; }
.svh-note { margin-top: 32px; }
.svh-hint { padding: 20px; margin-top: 16px; border-left: 4px solid var(--svh-orange); }
.svh-person { padding: 24px; gap: 16px; }
.svh-person-text > * + * { margin-top: 2px; }
.svh-tile > * + * { margin-top: 12px; }
.svh-tile h3 { margin: 0; }
.svh-tile .svh-foto { transition: opacity .15s; }
.svh-tile:hover .svh-foto { opacity: .9; }
.svh-anchor { scroll-margin-top: 24px; }

/* ---------- Fotos / Platzhalter ---------- */
figure.svh-foto { margin: 0; box-sizing: border-box; background: var(--svh-flaeche); border: 1.5px dashed #8FB0CC; overflow: hidden; width: 100%; position: relative; }
span.svh-foto { display: block; margin: 0; box-sizing: border-box; background: var(--svh-flaeche); border: 1.5px dashed #8FB0CC; overflow: hidden; width: 100%; }
.svh-foto--4x3 { aspect-ratio: 4 / 3; }
.svh-foto--16x9 { aspect-ratio: 16 / 9; }
.svh-foto--21x9 { aspect-ratio: 21 / 9; }
.svh-foto--tile { aspect-ratio: 11 / 10; }
.svh-foto--hero { aspect-ratio: auto; }
.svh-foto--portrait { aspect-ratio: 3 / 4; }
.svh-foto--avatar { width: 72px !important; aspect-ratio: 1 / 1; flex: none; }
.svh-foto--on-dark { background: var(--svh-blau); border-color: #5B93C0; }
.svh-foto img { display: block; width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; object-position: center; }
.svh-foto img:not([src]), .svh-foto img[src=""] { display: none; }
.svh-foto:has(img[src]:not([src=""])) { border: 0; background: none; }
.svh-foto > a { display: block; height: 100%; }
.wp-block-post-featured-image img { display: block; width: 100%; object-fit: cover; }
.svh-foto-single img { width: 100%; }

/* ---------- Buttons ---------- */
.wp-block-buttons { gap: 12px; }
.wp-element-button, .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; font-weight: 600; font-size: 16px; line-height: 1.2; border-radius: 0; box-sizing: border-box; text-decoration: none !important; cursor: pointer; border: 2px solid transparent; transition: filter .15s, background .15s; }
.wp-block-button__link:hover, .wp-element-button:hover { filter: brightness(1.12); }
.wp-block-button .wp-block-button__link { border: 2px solid transparent; }
.wp-block-button.is-style-cta .wp-block-button__link { background: var(--svh-orange); color: var(--svh-dunkel); border: 2px solid var(--svh-orange); }
.wp-block-button.is-style-white .wp-block-button__link { background: #fff; color: var(--svh-dunkel); border: 2px solid #fff; }
.wp-block-button.is-style-outline .wp-block-button__link, .svh-ics.is-style-outline { background: transparent; color: var(--svh-blau); border: 2px solid var(--svh-blau); }
.wp-block-button.is-style-outline-white .wp-block-button__link { background: transparent; color: #fff; border: 2px solid #fff; }
.wp-block-button.is-style-link .wp-block-button__link { background: transparent; color: var(--svh-blau); border-color: transparent; padding: 0 8px; }
.wp-block-button.is-style-link .wp-block-button__link:hover { text-decoration: underline !important; filter: none; }

/* ---------- Kopfbereich ---------- */
.svh-topbar { padding: 8px var(--svh-pad); font-size: 13px; }
.svh-topbar-in { margin: 0 auto; }
.svh-topbar p { margin: 0; }
.svh-social { margin: 0; gap: 14px; }
.svh-social .wp-social-link { background: none; }
.svh-header-main { padding: 10px var(--svh-pad); border-bottom: 1px solid var(--svh-linie); position: relative; z-index: 20; }
.svh-header-in { gap: 24px; }
.svh-brand { gap: 14px; flex: none; }
.svh-logo { margin: 0; flex: none; }
.svh-logo img { height: 64px; width: auto; max-width: none; aspect-ratio: 5 / 6; object-fit: contain; display: block; }
.svh-brand-title { font-family: var(--svh-head); font-weight: 700; font-size: 26px; text-transform: uppercase; line-height: 1; margin: 0; }
.svh-brand-claim { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--svh-gedaempft); margin: 2px 0 0; }
.svh-brand-text > * { margin: 0; }
.wp-block-group.svh-brand-text { display: flex; flex-direction: column; gap: 5px; }
.wp-block-group.svh-brand-text > .svh-brand-title, .wp-block-group.svh-brand-text > .svh-brand-claim { margin: 0 !important; }
.svh-nav { font-size: 15px; font-weight: 600; gap: 4px 6px; }
.svh-nav .wp-block-navigation-item__content { padding: 10px 12px; }
.svh-nav .wp-block-navigation-item__content:hover { text-decoration: none; color: var(--svh-blau); }
.svh-nav .current-menu-item > a, .svh-nav [aria-current="page"] { color: var(--svh-blau); box-shadow: inset 0 -3px 0 var(--svh-blau); }
.svh-nav .svh-nav-cta > .wp-block-navigation-item__content { background: var(--svh-orange); color: var(--svh-dunkel) !important; padding: 12px 22px; margin-left: 8px; box-shadow: none; }
.svh-nav .svh-nav-cta > .wp-block-navigation-item__content:hover { filter: brightness(1.08); }
.svh-nav .wp-block-navigation__submenu-container { border: 1px solid var(--svh-linie); box-shadow: 0 8px 24px rgba(11,38,61,.12); min-width: 220px; padding: 6px 0; }
.svh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 18px; font-weight: 500; }

/* Menü schon unter 1080 px als Burger (Standard wäre 600 px) */
@media (min-width: 600px) and (max-width: 1080px) {
	.svh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
	.svh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
.wp-block-navigation__responsive-container-open { min-width: 48px; min-height: 48px; align-items: center; justify-content: center; }
.wp-block-navigation__responsive-container.is-menu-open { background: var(--svh-dunkel) !important; color: #fff !important; padding: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; padding: 14px 4px; font-size: 18px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0; box-shadow: none; background: transparent !important; padding-left: 16px; }
.wp-block-navigation__responsive-container.is-menu-open .svh-nav-cta > .wp-block-navigation-item__content { display: inline-block; margin: 12px 0 0; text-align: center; }

/* ---------- Fußbereich ---------- */
.svh-footer-main { padding: 56px var(--svh-pad) 32px; }
.svh-footer-main a { color: inherit; }
.svh-footer-main a:hover { text-decoration: underline; }
.svh-footer-cols { gap: 32px; margin: 0 0 32px; }
.svh-footer-cols p { margin: 0 0 8px; }
.svh-logo-footer { margin: 0 0 16px; }
.svh-footer-main .wp-block-image.svh-logo-footer { margin: 0 0 22px !important; }
.svh-footer-main .wp-block-columns.svh-footer-cols { margin: 0 0 40px !important; }
.svh-logo-footer img { height: 84px; width: auto; max-width: none; aspect-ratio: 5 / 6; object-fit: contain; display: block; }
.svh-footer-links { line-height: 2; }
.svh-footer-main hr { border: 0; border-top: 1px solid rgba(198,218,236,.25); margin: 0 0 24px; }
.svh-footer-main .svh-brand-title { color: #fff; font-size: 22px; }

/* ---------- Beiträge (Listen) ---------- */
.svh-news .wp-block-post-template { gap: 32px 24px; }
.svh-news .wp-block-post-title { margin: 10px 0 8px; }
.svh-news .wp-block-post-title a { color: var(--svh-dunkel); }
.svh-news .wp-block-post-excerpt { margin: 0; font-size: 15px; color: var(--svh-weich); }
.svh-news .wp-block-post-featured-image { background: var(--svh-flaeche); }
.svh-news .wp-block-post-date { margin: 12px 0 0; }
.svh-pagination { margin-top: 48px; gap: 8px; }
.svh-pagination a, .svh-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 14px; border: 1.5px solid #8FB0CC; font-weight: 600; box-sizing: border-box; }
.svh-pagination .page-numbers.current { background: var(--svh-blau); color: #fff; border-color: var(--svh-blau); }
.svh-chips, .wp-block-categories.svh-chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wp-block-categories.svh-chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid #8FB0CC; font-weight: 600; color: var(--svh-dunkel); }
.wp-block-categories.svh-chips a:hover { background: var(--svh-hell); text-decoration: none; }
.svh-aside > * + * { margin-top: 24px; }
.svh-latest { list-style: none; padding: 0; margin: 0; }
.svh-latest li { margin: 0 0 14px; }
.svh-latest a { font-weight: 600; color: var(--svh-dunkel); display: block; }
.svh-latest time { display: block; font-size: 13px; color: var(--svh-gedaempft); }
.svh-prevnext { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--svh-linie); }
.svh-404 { font-family: var(--svh-head); font-weight: 700; font-size: clamp(6rem, 5rem + 8vw, 10rem); line-height: .9; color: var(--svh-blau); margin: 0; }
.svh-404-title { color: var(--svh-dunkel); margin: 8px 0 16px; }
.svh-404-sec > * + * { margin-top: 16px; }

/* ---------- Plugin: Termine ---------- */
.svh-termine__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.svh-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border: 1.5px solid #8FB0CC; background: transparent; font: inherit; font-weight: 600; color: var(--svh-dunkel); cursor: pointer; }
.svh-chip[aria-pressed="true"] { background: var(--svh-blau); border-color: var(--svh-blau); color: #fff; }
.svh-chips[role="group"] { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 8px; }
.svh-termine__liste { display: flex; flex-direction: column; background: #fff; }
.svh-termine__monat { font-size: 30px; color: var(--svh-blau); border-bottom: 2px solid var(--svh-linie); padding-bottom: 8px; margin: 32px 0 4px; }
.svh-termin { display: flex; align-items: center; gap: 20px; padding: 18px 20px; border-bottom: 1px solid var(--svh-flaeche); }
.svh-termine__liste .svh-termin { border-bottom-color: var(--svh-linie); }
.svh-termine--seite .svh-termin { padding-inline: 0; }
.svh-termin__datum { flex: 0 0 96px; font-family: var(--svh-head); font-weight: 700; font-size: 24px; line-height: 1.1; color: var(--svh-blau); text-align: center; }
.svh-termine__liste .svh-termin__datum { flex-basis: 72px; font-size: 22px; }
.svh-termin__tag-kurz { display: block; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.svh-termine--seite .svh-termin__tag-kurz { display: inline; }
.svh-termin__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.svh-termin__titel { font-size: 17px; }
.svh-termin__titel a { color: inherit; }
.svh-termin__tag { font-size: 13px; font-weight: 600; background: var(--svh-hell); padding: 4px 12px; }
.svh-termin__ergebnis { font-family: var(--svh-head); font-weight: 700; font-size: 26px; color: var(--svh-blau); }
.svh-termin[hidden], .svh-termine__gruppe[hidden] { display: none; }
.svh-leer { padding: 24px 0; color: var(--svh-gedaempft); }

/* ---------- Plugin: Nächstes Spiel ---------- */
.svh-spiel > * { margin: 0; }
.svh-spiel > * + * { margin-top: 12px; }
.svh-spiel__paarung { font-family: var(--svh-head); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 2.5rem); line-height: 1.05; text-transform: uppercase; }
.svh-spiel__letztes { display: flex; flex-direction: column; gap: 4px; margin-top: 20px !important; padding-top: 16px; border-top: 1px solid var(--svh-linie); }

/* ---------- Plugin: Mannschaften, Trainingszeiten ---------- */
.svh-mannschaften { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 24px; }
.svh-mannschaft { display: flex; flex-direction: column; gap: 10px; color: inherit; text-decoration: none; }
.svh-mannschaft:hover { text-decoration: none; }
.svh-mannschaft__name { font-family: var(--svh-head); font-weight: 700; font-size: 30px; text-transform: uppercase; line-height: 1.1; }
.svh-mannschaft .svh-linkmore { color: var(--svh-blau); }
.svh-mdaten__zeiten { list-style: none; margin: 0; padding: 0; }
.svh-mdaten__zeiten li { padding: 4px 0; }
.svh-training .svh-chips { margin-bottom: 20px; }
.svh-training__tabelle { width: 100%; border-collapse: collapse; }
.svh-training__tabelle th { text-align: left; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--svh-gedaempft); padding: 10px 12px; border-bottom: 2px solid var(--svh-linie); }
.svh-training__tabelle td { padding: 16px 12px; border-bottom: 1px solid var(--svh-linie); }
.svh-training__tabelle tbody tr:nth-child(even) { background: var(--svh-hell); }
.svh-training__tabelle tr[hidden] { display: none; }
.svh-table table { width: 100%; border-collapse: collapse; }
.svh-table td { padding: 14px 12px; border-bottom: 1px solid var(--svh-linie); }
.svh-table td:last-child { text-align: right; font-weight: 600; }
.svh-table table, .svh-table td { border-left: 0; border-right: 0; border-top: 0; }

/* ---------- Plugin: Einbettung, Karte ---------- */
.svh-embed { margin: 16px 0 24px; }
.svh-embed__box { box-sizing: border-box; background: var(--svh-hell); border: 1.5px dashed #8FB0CC; padding: 32px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 220px; justify-content: center; }
.svh-embed__title { font-family: var(--svh-head); font-weight: 700; font-size: 26px; text-transform: uppercase; margin: 0; }
.svh-embed__box .svh-small { max-width: 460px; }
.svh-embed--karte { min-height: 320px; }
.svh-embed--karte .svh-embed__box { min-height: 320px; }
.svh-embed--karte.is-loaded { height: 340px; }
.svh-embed.is-loaded { margin-bottom: 24px; }
.svh-embed--leer { background: #fff8e5; padding: 12px 16px; border-left: 4px solid var(--svh-orange); }

/* ---------- Plugin: Formulare ---------- */
.svh-form__felder { display: flex; flex-wrap: wrap; gap: 16px; }
.svh-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 6px; }
.svh-field--half { flex: 1 1 calc(50% - 8px); min-width: 220px; }
.svh-field label { font-size: 14px; font-weight: 600; }
.svh-field input, .svh-field select, .svh-field textarea { font: inherit; box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #8FB0CC; background: #fff; color: var(--svh-dunkel); border-radius: 0; }
.svh-field textarea { min-height: 150px; }
.svh-form__consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--svh-weich); margin: 16px 0; }
.svh-form__consent input { width: 22px; height: 22px; flex: none; margin-top: 1px; }
.svh-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.svh-notice { padding: 16px 20px; margin-bottom: 16px; }
.svh-notice--ok { background: #e6f4ea; border-left: 4px solid #1a7f37; }
.svh-notice--fehler { background: #fdecea; border-left: 4px solid #b42318; }
.svh-hint ~ .svh-form { margin-top: 0; }

/* ---------- Details (Spielpläne je Altersklasse) ---------- */
.svh-details { border: 1px solid var(--svh-linie); padding: 0; margin-bottom: 8px; }
.svh-details summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 18px; list-style-position: inside; }
.svh-details > :not(summary) { padding: 0 20px 16px; margin: 0; }

/* ---------- Listen ---------- */
.wp-block-list { padding-left: 22px; }
.wp-block-list li { margin: 4px 0; }

/* ---------- Mobil ---------- */
@media (max-width: 1080px) {
	.svh-hero { padding-block: 56px; }
}
@media (max-width: 781px) {
	.svh-hero .wp-block-columns { gap: 28px; }
	.svh-footer-cols { gap: 24px; }
}
@media (max-width: 760px) {
	:root { --svh-pad: 16px; }
	.svh-topbar { display: none; }
	.svh-sec { padding-block: 40px; }
	.svh-sec--tight { padding-block: 20px; }
	.svh-hero { padding-block: 40px; }
	.svh-card, .svh-join { padding: 24px; }
	.svh-card-club .svh-card-pad { padding: 24px; }
	.svh-logo img { height: 52px; }
	.svh-brand-title { font-size: 22px; }
	.svh-brand-claim { display: none; }
	.svh-band { padding-block: 28px 32px; }
	.svh-band-title { font-size: 44px; }
	.svh-home-news .wp-block-post-template > li:nth-child(3) { display: none; }
	.svh-instagram .sbi_item:nth-child(n+5) { display: none; }
	.svh-headrow { margin-bottom: 20px; }
	.svh-termin__datum { flex-basis: 72px; }
	.svh-linkrow a { display: inline-block; }
	.wp-block-buttons { width: 100%; }
	.wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.wp-block-buttons .wp-block-button__link { width: 100%; }
	.svh-training__tabelle thead { display: none; }
	.svh-training__tabelle tr { display: block; padding: 12px 8px; border-bottom: 1px solid var(--svh-linie); }
	.svh-training__tabelle td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; }
	.svh-training__tabelle td::before { content: attr(data-label); color: var(--svh-gedaempft); font-size: 13px; }
	.svh-field--half { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}

/* ---------- Mannschaftsseite ---------- */
.svh-mteam { gap: 32px; }
.svh-mteam .svh-foto-single { margin: 0; }
.svh-mteam .svh-foto-single img { width: 100%; min-height: 380px; object-fit: cover; }
.svh-mdaten { display: flex; flex-direction: column; gap: 16px; }
.svh-mkarte { box-sizing: border-box; border: 1px solid var(--svh-linie); padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.svh-mkarte p { margin: 0; }
.svh-mkarte--hell { background: var(--svh-hell); border-color: transparent; }
.svh-mkarte .svh-linkmore { margin-top: 8px; }
.svh-mkarte .svh-linkmore a { color: var(--svh-blau); }
.svh-mkarte .svh-mdaten__zeiten li { padding: 2px 0; font-size: 17px; }
.svh-sec--hell { background: var(--svh-hell); }
.svh-spiele__inner { max-width: 1200px; margin: 0 auto; }
.svh-spiele__inner > h2 { font-family: var(--svh-head); font-weight: 700; font-size: 36px; text-transform: uppercase; line-height: 1.05; margin: 0 0 24px; }
.svh-spiele__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px; }
.svh-spiele__box .svh-embed { margin: 0; }
.svh-spiele__box .svh-embed__box { background: #fff; min-height: 420px; }

/* ---------- Bilder in Spalten/Karten: immer in die Box einpassen, zentriert ---------- */
/* Greift auch, wenn ein Bild im Editor ohne die Foto-Klassen eingefügt oder ersetzt wurde. */
.svh-tile .wp-block-image { margin: 0; }
.svh-tile .wp-block-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ---------- Startseite: Bildboxen füllen die Höhe der Nachbarbox ---------- */
/* Hero: Bild so hoch wie die Textspalte (von „SV Hemmerden e.V.“ bis zu den Buttons). */
.svh-hero .wp-block-columns { align-items: stretch !important; }
.svh-hero .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
/* Die Bildspalte ist selbst der Rahmen: egal wie das Bild im Editor eingefügt wurde, es füllt die Spalte. */
.svh-hero .wp-block-columns > .wp-block-column:has(img) { position: relative; min-height: 280px; overflow: hidden; }
.svh-hero .wp-block-columns > .wp-block-column:has(img) :is(figure, div, a) { position: static !important; margin: 0 !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important; border: 0 !important; }
.svh-hero .wp-block-columns > .wp-block-column:has(img) img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; object-position: center; }
/* Clubhaus-Karte: gleich hoch wie die Karte „Nächstes Spiel“, das Bild nimmt den Rest. */
.wp-block-columns:has(.svh-card-club) > .wp-block-column { display: flex; flex-direction: column; }
.wp-block-columns:has(.svh-card-club) > .wp-block-column > .wp-block-group { flex: 1 1 auto; }
.svh-card-club { display: flex; flex-direction: column; }
.svh-card-club > .wp-block-gallery, .svh-card-club > .wp-block-image, .svh-card-club > figure.svh-foto { display: block !important; position: relative; flex: 1 1 0; min-height: 120px; height: auto !important; width: 100% !important; margin: 0 !important; padding: 0; aspect-ratio: auto !important; overflow: hidden; }
.svh-card-club .wp-block-gallery .wp-block-image { position: absolute; inset: 0; width: 100% !important; height: 100% !important; margin: 0 !important; aspect-ratio: auto !important; }
.svh-card-club img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; object-position: center; }
@media (max-width: 781px) {
	.svh-card-club > .wp-block-gallery, .svh-card-club > .wp-block-image, .svh-card-club > figure.svh-foto { flex: none; height: 200px !important; }
}

/* Kachelreihen (z. B. Clubhaus: Personen, Preis, Mietzeit) füllen immer die volle Breite. */
.wp-block-group.is-layout-grid:has(> .svh-card) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)) !important; }

/* Bild-neben-Text-Abschnitte (z. B. Clubhaus): Das Bild ist so hoch wie der Text daneben.
   Gilt nur bei Spalten mit mindestens zwei Spalten, nicht für einzelne Bilder in einer Spalte (z. B. Kacheln). */
.wp-block-columns:has(> .wp-block-column:nth-child(2) > figure.svh-foto:only-child), .wp-block-columns:has(> .wp-block-column:first-child > figure.svh-foto:only-child):has(> .wp-block-column:nth-child(2)) { align-items: stretch !important; }
.wp-block-columns:has(> .wp-block-column:nth-child(2)) > .wp-block-column:has(> figure.svh-foto:only-child) { position: relative; min-height: 280px; align-self: stretch; }
.wp-block-columns:has(> .wp-block-column:nth-child(2)) > .wp-block-column:not(:has(> figure.svh-foto)) { display: flex; flex-direction: column; justify-content: center; }
.wp-block-columns:has(> .wp-block-column:nth-child(2)) > .wp-block-column > figure.svh-foto:only-child { position: absolute !important; inset: 0; margin: 0 !important; height: auto !important; aspect-ratio: auto !important; }
@media (max-width: 781px) {
	.wp-block-columns:has(> .wp-block-column:nth-child(2)) > .wp-block-column:has(> figure.svh-foto:only-child) { min-height: 0; }
	.wp-block-columns:has(> .wp-block-column:nth-child(2)) > .wp-block-column > figure.svh-foto:only-child { position: relative !important; aspect-ratio: 16 / 10 !important; }
}
/* Einzelnes Bild in einer Kachel: festes Kachelformat. */
.svh-tile .wp-block-columns > .wp-block-column { flex-basis: 100% !important; }
.svh-tile figure.svh-foto--tile { aspect-ratio: 11 / 10; height: auto; }

/* Gleichmäßige Abstände: Kacheln (Mannschaften) und Überschrift davor */
.svh-tile { display: flex; flex-direction: column; gap: 12px; }
.svh-tile > * { margin: 0 !important; }
.svh-tile > .svh-small { margin-top: -6px !important; }
.svh-tiles { margin-top: 28px !important; gap: 24px; }
.svh-sec > h2.wp-block-heading:has(+ .svh-tiles) { margin-bottom: 0; }

/* Startseite: gleichmäßiger senkrechter Abstand zwischen allen Abschnitten (64 px, mobil 40 px).
   Abschnitte ohne Hintergrund haben nur oben Abstand, damit sich zwei weiße Abschnitte nicht addieren.
   Vor einem farbigen Abschnitt und am Seitenende bekommen sie auch unten Abstand. */
.home { --svh-gap: 64px; }
@media (max-width: 781px) { .home { --svh-gap: 40px; } }
.home .svh-content > .svh-sec { padding-block: var(--svh-gap) !important; }
.home .svh-content > .svh-sec:not(.has-background) { padding-bottom: 0 !important; }
.home .svh-content > .svh-sec:not(.has-background):has(+ .has-background), .home .svh-content > .svh-sec:not(.has-background):last-child { padding-bottom: var(--svh-gap) !important; }

/* Satzung / lange Rechtstexte: Paragraphen-Überschriften */
.svh-narrow .svh-satz-h { font-family: var(--svh-head); font-weight: 700; font-size: 1.4rem; line-height: 1.15; text-transform: uppercase; color: var(--svh-blau); margin: 32px 0 8px; }
.svh-narrow h2.svh-h2s:not(:first-child) { margin-top: 48px; }

/* Jugend-/Mannschaftskacheln: Training & Trainer untereinander */
.svh-mannschaft__bild { display: block; color: inherit; text-decoration: none; }
.svh-mannschaft__name { color: inherit; text-decoration: none; display: block; }
.svh-mannschaft__name:hover { color: var(--svh-blau); }
.svh-minfo { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.45; color: #2B4256; }
.svh-minfo__l { font-weight: 700; color: var(--svh-blau); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.svh-minfo__liste { list-style: none; margin: 0; padding: 0; }
.svh-minfo__trainer { display: flex; flex-direction: column; gap: 6px; }
.svh-person-zeile { display: flex; flex-direction: column; }
.svh-person-zeile .svh-name { font-weight: 600; }
.svh-person-zeile .svh-small { font-size: 14px; }
.svh-mannschaft .svh-linkmore { text-decoration: none; margin-top: 4px; }
.svh-mannschaft .svh-foto { height: 240px; }
.svh-trainer-tel a, .svh-mkarte a[href^="tel:"] { color: inherit; text-decoration: none; }

/* Kacheln beruhigt: einheitliche Schrift (15px), Namen/Wochentage fett, Rest normal */
.svh-mannschaft .svh-minfo, .svh-mannschaft .svh-minfo * { font-family: inherit; font-size: 15px !important; line-height: 1.5; color: #2B4256; }
.svh-mannschaft .svh-minfo .svh-minfo__l { font-size: 12px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--svh-blau); margin-bottom: 2px; }
.svh-mannschaft .svh-minfo__liste strong, .svh-mannschaft .svh-person-zeile .svh-name { font-weight: 600; }
.svh-mannschaft .svh-person-zeile .svh-small { font-weight: 400; }
.svh-mannschaft .svh-minfo__trainer { gap: 8px; }
.svh-mannschaften { align-items: start; }
.svh-mannschaft { gap: 12px; }

/* Turnier-Teaser (16:10) auf der Startseite vollständig zeigen */
.svh-foto--on-dark { aspect-ratio: 16 / 10 !important; }
.home .svh-sec .wp-block-columns > .wp-block-column:has(.svh-foto--on-dark) { flex-basis: 40% !important; }
.svh-foto--on-dark img { object-fit: contain; }

/* Challonge-Turnierplan */
.svh-challonge .svh-embed--challonge.is-loaded iframe { display: block; width: 100%; border: 0; }
.svh-challonge__link { margin: 0 0 24px; text-align: right; }

/* Seitenkopf: Einleitungstext bündig mit Titel (Inhaltsbreite 1200px zentriert, Text links darin) */
.svh-band .svh-band-intro { width: min(640px, 100%); max-width: none !important; margin-left: max(0px, calc((100% - 1200px) / 2)) !important; margin-right: auto !important; text-align: left; }

/* Jugendturnier: Plakat (Hochformat) ganz sichtbar, nur so hoch wie der Text daneben (auch wenn als Galerie eingefügt) */
.wp-block-columns:has(> .wp-block-column .svh-foto--portrait):has(> .wp-block-column:nth-child(2)) { align-items: stretch !important; }
.wp-block-columns > .wp-block-column:has(.svh-foto--portrait) { flex-basis: 30% !important; flex-grow: 0 !important; min-height: 0 !important; position: relative; align-self: stretch; }
.wp-block-columns:has(> .wp-block-column .svh-foto--portrait) > .wp-block-column:not(:has(.svh-foto--portrait)) { flex-basis: 70% !important; justify-content: flex-start !important; }
.wp-block-column:has(.svh-foto--portrait) > * { position: absolute !important; inset: 0; margin: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; aspect-ratio: auto !important; border: 0 !important; background: none !important; display: block !important; }
.wp-block-column:has(.svh-foto--portrait) .svh-foto--portrait, .wp-block-column:has(.svh-foto--portrait) .wp-block-gallery > .wp-block-image { position: static !important; width: 100% !important; height: 100% !important; margin: 0 !important; aspect-ratio: auto !important; border: 0 !important; background: none !important; flex: none !important; }
.wp-block-column:has(.svh-foto--portrait) img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left top !important; }
@media (max-width: 781px) {
	.wp-block-columns > .wp-block-column:has(.svh-foto--portrait) { flex-basis: 100% !important; }
	.wp-block-column:has(.svh-foto--portrait) > * { position: static !important; height: auto !important; }
	.wp-block-column:has(.svh-foto--portrait) .svh-foto--portrait { height: auto !important; }
	.wp-block-column:has(.svh-foto--portrait) img { height: auto !important; max-width: 360px; }
}
