/*
Theme Name: SV Dörpum
Theme URI: https://www.svdoerpum.de
Author: SV Dörpum von 1963 e.V.
Description: Vereinstheme des SV Dörpum im blau-weißen Glas-Design mit leichtem 3D-Effekt, Handy-Menü und fertigen Startseiten-Bausteinen.
Version: 1.1.4
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svdoerpum
*/

:root {
  --svd-blau: #0e234a;
  --svd-blau-hell: #1f4a8f;
  --svd-blau-tief: #08152e;
  --svd-grau: #4a5568;
  --svd-hell: #d6e2f5;
  --svd-radius: 14px;
  --svd-blur: blur(18px) saturate(150%);
  --svd-schatten: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(14,35,74,.06), 0 2px 4px rgba(14,35,74,.06), 0 16px 36px rgba(14,35,74,.14);
  --svd-schatten-hoch: inset 0 1px 0 rgba(255,255,255,.95), 0 6px 10px rgba(14,35,74,.08), 0 28px 50px rgba(14,35,74,.22);
  --svd-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
}

/* ---------- Hintergrund mit weichen Farbflächen ---------- */
body {
  background:
    radial-gradient(700px 700px at 0% 30%, rgba(90,140,230,.30), transparent 70%),
    radial-gradient(680px 680px at 100% 55%, rgba(60,110,210,.26), transparent 70%),
    radial-gradient(700px 700px at 5% 85%, rgba(90,140,230,.24), transparent 70%),
    linear-gradient(180deg, #e6edf7 0%, #f3f5f9 45%, #e4ebf6 100%) !important;
  background-attachment: fixed !important;
}
:focus-visible { outline: 3px solid var(--svd-blau-hell); outline-offset: 2px; }
.wp-site-blocks { padding-top: 0; }
main.wp-block-group { margin-top: 0; }

/* ---------- Kopfbereich: Glasleiste, bleibt oben ---------- */
.svd-header {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.14);
  color: #fff;
}
/* 1.0.37: Glaseffekt auf einer eigenen Ebene. Ein backdrop-filter direkt am Kopf
   würde das Handy-Menü (position: fixed) auf die Höhe des Kopfes einsperren. */
.svd-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(14,35,74,.93);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.admin-bar .svd-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .svd-header { top: 46px; } }
.svd-header-inner { max-width: 1240px; margin: 0 auto; padding: 14px 24px; gap: 16px; }
.svd-marke { gap: 14px; }
.svd-marke .wp-block-site-logo img { filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.svd-marke .wp-block-site-title { margin: 0; font-family: var(--svd-condensed); font-weight: 700; font-size: 26px; line-height: 1.1; }
.svd-marke .wp-block-site-title a { color: #fff; text-decoration: none; }
.svd-marke-zusatz { margin: 0 !important; font-size: 13px; color: var(--svd-hell); line-height: 1.1; }

/* Hauptmenü */
.svd-header .wp-block-navigation { color: #fff; font-weight: 500; gap: 4px 18px; }
.svd-header .wp-block-navigation a { color: #fff; text-decoration: none; padding: 10px 0; }
.svd-header .wp-block-navigation .current-menu-item > a,
.svd-header .wp-block-navigation a:hover { box-shadow: inset 0 -2px 0 #fff; }
.svd-header .wp-block-navigation .wp-block-navigation__submenu-container {
  background: rgba(14,35,74,.9) !important;
  -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 12px; padding: 8px 6px;
  box-shadow: 0 20px 44px rgba(0,0,0,.28);
}
.svd-header .wp-block-navigation .wp-block-navigation__submenu-container a { color: var(--svd-hell); padding: 9px 14px; box-shadow: none; }
.svd-header .wp-block-navigation .wp-block-navigation__submenu-container a { border-radius: 8px; transition: background .15s ease, color .15s ease; }
/* 1.0.35: Untermenü beim Überfahren weiß mit Vereinsblau */
.svd-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover,
.svd-header .wp-block-navigation .wp-block-navigation__submenu-container a:focus-visible { background: #fff; color: #0e234a; box-shadow: none; }

/* Drei Striche: auch auf Tablets (bis 1024 px) */
.svd-header .wp-block-navigation__responsive-container-open {
  width: 48px; height: 48px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.10);
  color: #fff; align-items: center; justify-content: center;
}
@media (max-width: 1024px) {
  .svd-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .svd-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
}
.wp-block-navigation__responsive-container.is-menu-open {
  background: rgba(14,35,74,.96) !important; color: #fff !important;
  -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  padding: 24px !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; gap: 0 !important; padding-top: 56px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: stretch !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > a {
  font-size: 19px; font-weight: 600; padding: 13px 0; border-top: 1px solid rgba(255,255,255,.10); color: #fff;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding-left: 14px !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container a { font-size: 17px; color: var(--svd-hell); padding: 9px 0; }
.wp-block-navigation__responsive-container-close { color: #fff; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; }

/* ---------- Glaskarten ---------- */
.is-style-svd-glas, .svd-glas, .svd-beitrag, .svd-artikel {
  background: rgba(255,255,255,.6);
  -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  border: 1px solid rgba(255,255,255,.85);
  border-radius: var(--svd-radius);
  box-shadow: var(--svd-schatten);
  padding: 24px 26px;
}
.is-style-svd-blau, .svd-blau {
  background: var(--svd-blau); color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--svd-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 8px rgba(14,35,74,.18), 0 18px 40px rgba(14,35,74,.30);
  padding: 26px;
}
.is-style-svd-blau a, .svd-blau a { color: #fff; }
.is-style-svd-blau h2, .is-style-svd-blau h3, .svd-blau h2, .svd-blau h3 { color: #fff; }
.svd-glas-dunkel {
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--svd-radius);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 2px 6px rgba(0,0,0,.15), 0 20px 44px rgba(0,0,0,.28);
  color: #fff;
}

/* Kippen beim Überfahren (Kacheln und Beiträge) */
.svd-kachel, .svd-beitrag { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; position: relative; }
.svd-kachel:hover, .svd-beitrag:hover { transform: perspective(1000px) rotateX(3deg) translateY(-6px); box-shadow: var(--svd-schatten-hoch); }
.svd-kachel.svd-blau:hover, .svd-kachel.is-style-svd-blau:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 14px rgba(14,35,74,.2), 0 30px 56px rgba(14,35,74,.38); }
/* ganze Kachel klickbar */
.svd-kachel .svd-kachel-link a::after { content: ""; position: absolute; inset: 0; border-radius: var(--svd-radius); }

/* ---------- Buttons mit 3D ---------- */
.wp-block-button__link, .wp-element-button {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 2px 0 rgba(0,0,0,.2), 0 6px 14px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.wp-block-button__link:hover, .wp-element-button:hover { transform: translateY(-2px); }
.wp-block-button__link:active, .wp-element-button:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 0 rgba(0,0,0,.2); }
.is-style-svd-weiss .wp-block-button__link { background: #fff !important; color: var(--svd-blau) !important; }
.is-style-svd-rahmen .wp-block-button__link { background: transparent !important; color: #fff !important; box-shadow: inset 0 0 0 2px #fff; }
.is-style-svd-rahmen-blau .wp-block-button__link { background: transparent !important; color: var(--svd-blau) !important; box-shadow: inset 0 0 0 2px var(--svd-blau); }
.is-style-svd-rahmen-blau .wp-block-button__link:hover { background: var(--svd-blau) !important; color: #fff !important; }

/* ---------- Startbereich ---------- */
.svd-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--svd-blau); color: #fff;
  padding: 48px 24px 96px !important; margin-top: 0 !important;
}
.svd-hero::before, .svd-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.svd-hero::before { width: 760px; height: 760px; top: -220px; left: 55%; background: radial-gradient(circle, rgba(74,128,220,.55), transparent 70%); }
.svd-hero::after { width: 620px; height: 620px; top: 180px; left: -10%; background: radial-gradient(circle, rgba(40,90,180,.45), transparent 70%); }
.svd-hero .wp-block-columns { max-width: 1240px; margin: 0 auto; gap: 48px; align-items: center !important; }
.svd-hero h1 { color: #fff; margin: 0; text-shadow: 0 2px 0 rgba(0,0,0,.18), 0 12px 30px rgba(0,0,0,.28); }
.svd-hero-ort { font-family: var(--svd-condensed); font-weight: 600; font-size: 18px; letter-spacing: 2px; text-transform: uppercase; color: var(--svd-hell); margin: 0; }
.svd-hero-text { font-size: 20px; color: var(--svd-hell); max-width: 520px; }
.svd-hero .wp-block-image { margin: 0; overflow: hidden; padding: 0; }
.svd-hero .wp-block-image img { width: 100%; height: 300px; object-fit: cover; display: block; border-radius: var(--svd-radius); }
.svd-spiel { padding: 20px 24px; margin-top: 16px; }
.svd-spiel p { margin: 0; }
.svd-spiel-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--svd-hell); }
.svd-spiel-titel { font-family: var(--svd-condensed); font-size: 28px; font-weight: 700; }
.svd-spiel-info { font-size: 15px; color: var(--svd-hell); }
.svd-spiel a { color: #fff; font-weight: 600; }
/* fussball.de-Widget im Startbereich (1.0.13): ohne eigene Scrollbox, Höhe wächst mit dem Widget */
.svd-hero-spiele { margin-top: 0; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; }
.svd-hero-spiele .svd-spiel-label, .svd-hero-spiele .svd-spiel-info { padding: 0 6px; }
.svd-widget-rahmen {
  border-radius: 12px; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 6px 18px rgba(0,0,0,.25);
  min-height: 120px;
  /* 1.0.16: gleiche Farbe wie der Widget-Hintergrund, damit kein heller Streifen
     sichtbar wird, wenn ein Browser das Widget schmaler darstellt (z. B. Edge/Chrome) */
  background: var(--svd-widget-hintergrund, #0e234a);
}
.svd-widget-rahmen .fussballde_widget, .svd-widget-rahmen iframe { display: block; width: 100% !important; border: 0; margin: 0; }
/* 1.0.14: Kopf- und Filterleiste des fussball.de-Widgets abschneiden.
   Der Wert gibt an, wie viele Pixel oben weggeschnitten werden.
   Anpassen unter Design › Editor › Stile › Zusätzliches CSS, z. B.:
   .svd-hero-spiele { --svd-widget-schnitt: 190px; } */
/* 1.0.15: Widget verkleinern (0.8 = 80 %). Der Schnitt bleibt in Widget-Pixeln,
   muss also beim Verkleinern nicht geändert werden. */
.svd-hero-spiele { --svd-widget-schnitt: 200px; --svd-widget-zoom: 0.8; }
.svd-hero-spiele .svd-widget-rahmen iframe {
  zoom: var(--svd-widget-zoom);
  margin-top: calc(-1 * var(--svd-widget-schnitt)) !important;
}
/* Firefox verrechnet Verkleinerung und Schnitt anders und braucht einen eigenen Wert */
@supports (-moz-appearance: none) {
  .svd-hero-spiele { --svd-widget-schnitt: var(--svd-widget-schnitt-firefox, 160px); }
}

/* Zahlenleiste */
.svd-zahlen {
  max-width: 1240px; margin: -44px auto 0 !important; position: relative; z-index: 2;
  display: grid !important; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding: 0 !important;
}
.svd-zahlen > .wp-block-group { padding: 24px 28px; }
.svd-zahlen p { margin: 0; }
.svd-zahl { font-family: var(--svd-condensed); font-weight: 800; font-size: 44px; line-height: 1; color: var(--svd-blau); }
.svd-zahl-text { color: var(--svd-grau); }

/* Abschnitte */
.svd-abschnitt { max-width: 1240px; margin-left: auto !important; margin-right: auto !important; padding-top: 56px; }
.svd-kopf { justify-content: space-between; align-items: flex-end; }
.svd-kopf h2 { margin: 0; }
.svd-kopf p { margin: 0; font-weight: 600; }

/* Beitragskarten (Abfrage-Loop) */
.svd-beitraege { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; padding: 0; }
.svd-beitrag { padding: 0 0 22px; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.svd-beitrag .wp-block-post-featured-image { margin: 0 0 8px; }
.svd-beitrag .wp-block-post-featured-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.svd-beitrag > *:not(.wp-block-post-featured-image) { padding: 0 22px; margin: 0; }
.svd-beitrag .wp-block-post-date, .svd-beitrag .wp-block-post-terms { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-blau); }
.svd-beitrag .wp-block-post-title { font-family: Barlow, Arial, sans-serif; font-weight: 600; font-size: 21px; line-height: 1.25; text-transform: none; }
.svd-beitrag .wp-block-post-title a { color: inherit; text-decoration: none; }
.svd-beitrag .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; }
.svd-beitrag .wp-block-post-excerpt { color: var(--svd-grau); font-size: 16px; }
.svd-beitrag .wp-block-post-excerpt__more-text { display: none; }

/* Mannschafts-Kacheln */
.svd-teams { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.svd-kachel { min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.svd-kachel p { margin: 0; }
.svd-kachel-name { font-family: var(--svd-condensed); font-size: 34px; font-weight: 800; line-height: 1; }
.svd-kachel-liga { color: var(--svd-grau); }
.svd-blau .svd-kachel-liga, .is-style-svd-blau .svd-kachel-liga { color: var(--svd-hell); }
.svd-kachel-link a { font-weight: 600; text-decoration: none; }

/* Verein */
.svd-verein { align-items: center !important; gap: 48px; }
.svd-verein .wp-block-image { margin: 0; }
.svd-verein .wp-block-image img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--svd-radius); box-shadow: var(--svd-schatten); }
.svd-leise { color: var(--svd-grau); }

/* Sponsoren */
.svd-sponsoren-titel { text-align: center; font-weight: 600; color: var(--svd-grau); }
.svd-sponsoren { gap: 16px; }
.svd-sponsoren .wp-block-image { flex: 1 1 160px; max-width: 200px; height: 96px; margin: 0; display: flex; align-items: center; justify-content: center; padding: 14px; }
.svd-sponsoren .wp-block-image img { max-height: 64px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.svd-sponsoren .wp-block-image:hover img { filter: none; opacity: 1; }

/* Beitrag & Seite */
.svd-artikel { padding: 32px clamp(20px, 4vw, 48px); }
.svd-artikel .wp-block-post-featured-image img { border-radius: 10px; }
.svd-meta { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-blau); }

/* Formulare (z. B. Frontend-Beitragsformular) */
input[type="text"], input[type="email"], input[type="password"], input[type="url"], textarea, select {
  border: 1px solid rgba(14,35,74,.2); border-radius: 8px; padding: 10px 12px; background: rgba(255,255,255,.8); font: inherit;
}

/* ---------- Fußbereich ---------- */
.svd-footer { background: var(--svd-blau-tief); color: var(--svd-hell); margin-top: 72px !important; }
.svd-footer a { color: #fff; }
.svd-footer h3, .svd-footer .svd-footer-name { color: #fff; }
.svd-footer-name { font-family: var(--svd-condensed); font-weight: 700; font-size: 28px; }
.svd-footer-unten { border-top: 1px solid #24365a; padding-top: 20px; font-size: 14px; }

/* ---------- Handy ---------- */
@media (max-width: 781px) {
  .svd-hero { padding: 32px 18px 80px !important; }
  .svd-hero .wp-block-image img { height: 220px; }
  .svd-verein .wp-block-image img { height: 220px; }
  .is-style-svd-glas, .svd-glas, .svd-artikel { padding: 18px; }
}

/* ---------- Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .svd-kachel, .svd-beitrag, .wp-block-button__link, .wp-element-button { transition: none; }
  .svd-kachel:hover, .svd-beitrag:hover, .wp-block-button__link:hover, .wp-element-button:hover { transform: none; }
}

/* ---------- Ergänzungen ---------- */
.svd-abschnitt { box-sizing: border-box; padding: 56px 24px 0; }
.svd-zahlen { width: calc(100% - 48px); box-sizing: border-box; }
.svd-marke .wp-block-image { margin: 0; }
.svd-marke .wp-block-image img { width: 59px; height: auto; display: block; filter: drop-shadow(0 4px 8px rgba(0,0,0,.35)); }
.svd-marke-name { margin: 0 !important; font-family: var(--svd-condensed); font-weight: 700; font-size: 26px; line-height: 1.1; }
.svd-marke-name a { color: #fff; text-decoration: none; }
.svd-marke-text { gap: 2px; }
.svd-sponsoren .wp-block-image {
  background: rgba(255,255,255,.6); -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  border: 1px solid rgba(255,255,255,.85); border-radius: var(--svd-radius); box-shadow: var(--svd-schatten);
}
.svd-widget-platzhalter { min-height: 160px; border: 2px dashed rgba(14,35,74,.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--svd-grau); font-size: 14px; text-align: center; padding: 16px; }
.svd-hero.svd-team-kopf { padding: 40px 24px 56px !important; }
.svd-hero.svd-team-kopf .svd-team-inner { max-width: 1240px; margin: 0 auto; }
.svd-team-infos { gap: 28px; }
.svd-team-infos p { margin: 0; color: var(--svd-hell); font-size: 14px; }
.svd-team-infos strong { display: block; color: #fff; font-size: 17px; }
.svd-footer { padding: 56px 24px 28px; }
.svd-footer > .wp-block-group, .svd-footer > .wp-block-columns { max-width: 1240px; margin-left: auto; margin-right: auto; }
.svd-footer .wp-block-columns { gap: 32px; }
.svd-footer p { margin: 0 0 6px; }
.svd-footer-unten { justify-content: space-between; margin-top: 40px !important; }

/* ---------- 1.0.1: Feinschliff Beitragsansicht ---------- */
.svd-artikel h1.wp-block-post-title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.05; margin: 8px 0 20px; }
.svd-artikel .wp-block-post-content h2,
.svd-artikel .wp-block-post-content h3,
.svd-artikel .wp-block-post-content h4 {
  font-family: var(--svd-condensed); font-weight: 700; text-transform: none;
  font-size: clamp(22px, 2.6vw, 28px); line-height: 1.15; margin: 32px 0 8px; color: var(--svd-blau);
}
.svd-artikel .wp-block-post-content p { margin: 0 0 14px; }
.svd-artikel .wp-block-post-content img { max-width: 100%; height: auto; border-radius: 10px; }
.svd-meta { gap: 16px; }
.svd-meta a { text-decoration: none; }
.page .svd-abschnitt h1.wp-block-post-title { font-size: clamp(36px, 5vw, 56px); }

/* ---------- 1.0.2: Abstände in Rastern angleichen ---------- */
.svd-zahlen > *, .svd-teams > *, .svd-beitraege > *, .svd-sponsoren > * { margin-block-start: 0 !important; margin-top: 0 !important; }
.svd-zahlen > .wp-block-group { display: flex; flex-direction: column; justify-content: center; }
.svd-zahlen > .wp-block-group > * { margin-block-start: 0 !important; }

/* ---------- 1.0.5: Beitragskarten per Shortcode ---------- */
ul.svd-beitraege { list-style: none; margin: 0; padding: 0; }
ul.svd-beitraege > li { margin: 0; padding: 0; }
ul.svd-beitraege > li > .svd-beitrag { height: 100%; box-sizing: border-box; }
.svd-beitrag figure.wp-block-post-featured-image { margin: 0 0 8px; padding: 0 !important; }
.svd-beitrag figure.wp-block-post-featured-image img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svd-beitrag:not(:has(.wp-block-post-featured-image)) { padding-top: 22px; }

/* ---------- 1.0.8: Jugend ---------- */
.svd-jugend-teams { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.svd-jugend-teams > * { margin-block-start: 0 !important; }
.svd-jugend-teams .svd-kachel-liga strong { display: block; color: var(--svd-text); font-weight: 600; }
.is-style-svd-blau .svd-kachel-liga strong { color: #fff; }
.svd-zeiten table { border-collapse: collapse; width: 100%; }
.svd-zeiten th, .svd-zeiten td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(14,35,74,.1); }
.svd-zeiten th { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-grau); }
.svd-zeiten tr:last-child td { border-bottom: 0; }
.svd-zeiten .wp-block-table { margin: 0; overflow-x: auto; }

/* 1.0.9 – Bildunterschriften (Beitragsbild und Bilder im Text) */
.svd-artikel .svd-bildunterschrift,
.svd-artikel .wp-element-caption {
  margin-top: 8px !important;
  margin-bottom: 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--svd-grau);
  text-align: left;
}
.svd-artikel .svd-bildunterschrift + * { margin-top: 28px; }

/* 1.0.11 – Lightbox für den Instagram-Feed */
html.svd-lb-offen { overflow: hidden; }
.svd-lb {
  position: fixed; inset: 0; z-index: 100000;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 76px;
  background: rgba(8, 21, 46, .82);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.svd-lb[hidden] { display: none; }
.svd-lb-fenster {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  width: min(1060px, 100%); max-height: calc(100vh - 48px);
  background: #fff; border-radius: var(--svd-radius); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.svd-lb-bild { background: #000; display: flex; align-items: center; justify-content: center; min-height: 300px; }
.svd-lb-bild img { display: block; width: 100%; height: 100%; max-height: calc(100vh - 48px); object-fit: contain; }
.svd-lb-bild.svd-lb-leer img { display: none; }
.svd-lb-text { display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 48px); color: #1a202c; }
.svd-lb-kopf { display: flex; align-items: center; gap: 10px; padding: 16px 52px 14px 18px; border-bottom: 1px solid #e5eaf2; }
.svd-lb-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: contain; background: #fff; border: 1px solid #e5eaf2; padding: 2px; }
.svd-lb-name { font-weight: 700; color: var(--svd-blau); }
.svd-lb-beschriftung { flex: 1 1 auto; overflow-y: auto; padding: 16px 18px; white-space: pre-line; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.svd-lb-beschriftung a { color: var(--svd-blau-hell); text-decoration: none; }
.svd-lb-beschriftung a:hover { text-decoration: underline; }
.svd-lb-hinweis { margin: 0; padding: 0 18px 12px; font-size: 14px; color: var(--svd-grau); }
.svd-lb-fuss { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid #e5eaf2; font-size: 14px; }
.svd-lb-datum { color: var(--svd-grau); }
.svd-lb-link { font-weight: 600; color: var(--svd-blau-hell); text-decoration: none; }
.svd-lb-link:hover { text-decoration: underline; }
.svd-lb-schliessen {
  position: absolute; top: 8px; right: 8px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(14, 35, 74, .08); color: var(--svd-blau);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.svd-lb-schliessen:hover { background: rgba(14, 35, 74, .16); }
.svd-lb-pfeil {
  position: fixed; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--svd-blau);
  font-size: 32px; line-height: 1; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
}
.svd-lb-pfeil[hidden] { display: none; }
.svd-lb-zurueck { left: 16px; }
.svd-lb-weiter { right: 16px; } /* 1.0.22: Pfeile am Rand, nicht mehr über dem Bild */

@media (max-width: 800px) {
  .svd-lb { padding: 0; align-items: stretch; }
  .svd-lb-fenster { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); max-height: none; height: 100%; border-radius: 0; }
  .svd-lb-bild { min-height: 0; }
  .svd-lb-bild img { max-height: 55vh; height: auto; }
  .svd-lb-text { max-height: none; }
  .svd-lb-schliessen { background: rgba(255, 255, 255, .9); top: calc(8px + env(safe-area-inset-top, 0px)); }
  .svd-lb-pfeil { top: 27.5vh; width: 40px; height: 40px; font-size: 28px; }
  .svd-lb-zurueck { left: 10px; }
  .svd-lb-weiter { right: 10px; }
}

/* 1.0.22 – Neuester Instagram-Beitrag als große Karte */
.sbi_item.svd-insta-in-karte { display: none !important; }
.svd-insta-karte {
  display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
  margin: 0 0 20px; background: #fff; color: #1a202c;
  border-radius: var(--svd-radius); overflow: hidden;
  box-shadow: var(--svd-schatten);
}
.svd-insta-karte-bild {
  display: block; padding: 0; margin: 0; border: 0; background: #000;
  cursor: zoom-in; min-height: 260px; overflow: hidden;
}
.svd-insta-karte-bild img {
  display: block; width: 100%; height: 100%; max-height: 620px;
  aspect-ratio: 4 / 5; object-fit: cover;
  transition: transform .4s ease;
}
.svd-insta-karte-bild:hover img { transform: scale(1.02); }
.svd-insta-karte-text { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.svd-insta-karte-kopf { padding-right: 18px; }
.svd-insta-karte-datum { margin-left: auto; font-size: 14px; color: var(--svd-grau); white-space: nowrap; }
.svd-insta-karte-beschriftung {
  position: relative; flex: 1 1 0; min-height: 8em; overflow: hidden;
  padding: 16px 18px 0; white-space: pre-line; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere;
}
.svd-insta-karte-beschriftung.svd-gekuerzt::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em;
  background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none;
}
.svd-insta-karte-beschriftung a { color: var(--svd-blau-hell); text-decoration: none; }
.svd-insta-karte-beschriftung a:hover { text-decoration: underline; }
.svd-insta-karte-fuss {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 12px 18px; border-top: 1px solid #e5eaf2; font-size: 14px;
}
.svd-insta-karte-fuss .svd-lb-link { margin-left: auto; }
.svd-insta-weiterlesen {
  padding: 8px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--svd-blau); color: #fff; font: inherit; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(14,35,74,.25);
  transition: transform .15s ease, background .15s ease;
}
.svd-insta-weiterlesen:hover { transform: translateY(-2px); background: var(--svd-blau-hell); }
.svd-insta-weiterlesen:active { transform: translateY(1px); box-shadow: inset 0 2px 4px rgba(0,0,0,.3); }
.svd-insta-weiterlesen[hidden] { display: none; }
/* 1.0.23 – Karte dunkel im Vereinsblau, Bild ungeschnitten */
.svd-insta-karte {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: linear-gradient(160deg, var(--svd-blau-hell) -40%, var(--svd-blau) 45%, var(--svd-blau-tief) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 4px rgba(8,21,46,.2), 0 18px 40px rgba(8,21,46,.35);
}
.svd-insta-karte-bild { background: var(--svd-blau-tief); }
.svd-insta-karte-bild img { max-height: none; height: auto; }
.svd-insta-karte .svd-lb-kopf { border-bottom-color: rgba(255,255,255,.12); }
.svd-insta-karte .svd-lb-name { color: #fff; }
.svd-insta-karte .svd-lb-avatar { border-color: rgba(255,255,255,.3); }
.svd-insta-karte-datum { color: var(--svd-hell); }
.svd-insta-karte-beschriftung { color: #eef3fb; }
.svd-insta-karte-beschriftung a { color: #9cc3ff; }
.svd-insta-karte-beschriftung.svd-gekuerzt::after { background: linear-gradient(rgba(10,27,58,0), #0a1b3a); }
.svd-insta-karte-fuss { border-top-color: rgba(255,255,255,.12); }
.svd-insta-karte .svd-lb-link { color: #9cc3ff; }
.svd-insta-weiterlesen { background: #fff; color: var(--svd-blau); box-shadow: inset 0 -1px 0 rgba(14,35,74,.15), 0 4px 12px rgba(0,0,0,.3); }
.svd-insta-weiterlesen:hover { background: var(--svd-hell); }

@media (max-width: 700px) {
  .svd-insta-karte { grid-template-columns: 1fr; }
  .svd-insta-karte-beschriftung { flex: none; max-height: 11em; padding: 14px 14px 0; }
  .svd-insta-karte-kopf { flex-wrap: wrap; row-gap: 2px; padding: 12px 14px; }
  .svd-insta-karte-datum { margin-left: 46px; flex-basis: 100%; font-size: 13px; }
  .svd-insta-karte-fuss { gap: 8px; padding: 12px 14px; }
  .svd-insta-karte-fuss .svd-lb-link { white-space: nowrap; }
}

/* ---------- 1.0.17: Seiten-Vorlagen (Mitgliedschaft, Historie, Sportplatz, Kontakt …) ---------- */
.svd-raster { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.svd-raster > * { margin-block-start: 0 !important; }
.svd-abschnitt > .svd-raster, .svd-abschnitt > .wp-block-buttons { margin-top: 20px; }
.svd-karte > :first-child { margin-top: 0; }
.svd-karte > :last-child { margin-bottom: 0; }
.svd-karte h3 { margin: 0 0 10px; }
.svd-karte p { margin: 0 0 10px; }
.svd-karte .wp-block-buttons { margin-top: 18px; }

/* Personen und Kontakt */
.svd-person-rolle { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-blau-hell); margin: 0 0 4px !important; }
.is-style-svd-blau .svd-person-rolle { color: var(--svd-hell); }
.svd-person-name { font-family: var(--svd-condensed); font-size: 26px; font-weight: 700; line-height: 1.1; color: var(--svd-blau); }
.is-style-svd-blau .svd-person-name { color: #fff; }
.svd-person-kontakt { line-height: 1.7; }
.svd-person-kontakt a { font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.svd-person-kontakt a:hover { text-decoration: underline; }

/* Schritte */
.svd-schritt-nr {
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--svd-blau); color: #fff; font-family: var(--svd-condensed); font-weight: 800; font-size: 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 4px 10px rgba(14,35,74,.25); margin: 0 0 14px !important;
}

/* Zeitleiste (Historie) */
.svd-zeitleiste { position: relative; max-width: 860px; padding-left: 36px; }
.svd-zeitleiste::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: linear-gradient(var(--svd-blau-hell), var(--svd-blau)); }
.svd-zeitpunkt { position: relative; padding: 0 0 32px; margin: 0 !important; }
.svd-zeitpunkt::before {
  content: ""; position: absolute; left: -34px; top: 10px; width: 17px; height: 17px; border-radius: 50%;
  background: #fff; border: 4px solid var(--svd-blau); box-sizing: border-box; box-shadow: 0 2px 6px rgba(14,35,74,.25);
}
.svd-zeitpunkt:last-child { padding-bottom: 0; }
.svd-zeitpunkt-jahr { font-family: var(--svd-condensed); font-weight: 800; font-size: 40px; line-height: 1; color: var(--svd-blau); margin: 0 0 4px !important; }
.svd-zeitpunkt h3 { margin: 0 0 6px; }
.svd-zeitpunkt p { margin: 0; }
.svd-zeitpunkt > p:last-child { color: var(--svd-grau); max-width: 640px; }

/* Vereinshymne */
.svd-liedtext { max-width: 640px; }
.svd-liedtext p { line-height: 1.8; margin: 0 0 18px; }
.is-style-svd-blau .wp-block-audio audio { width: 100%; }

@media (max-width: 781px) {
  .svd-zeitpunkt-jahr { font-size: 32px; }
  .svd-person-name { font-size: 22px; }
}

/* ---------- 1.0.18: Saisonkarten ---------- */
.svd-saisonkarten { align-items: center !important; gap: 48px; }
.svd-saisonkarte-bild { margin: 0; perspective: 1200px; }
.svd-saisonkarte-bild img {
  display: block; width: 100%; height: auto; border-radius: var(--svd-radius);
  transform: rotateY(8deg) rotateX(3deg) rotate(-2deg);
  box-shadow: 0 2px 4px rgba(14,35,74,.10), 0 18px 36px rgba(14,35,74,.22), 0 40px 70px rgba(14,35,74,.18);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.svd-saisonkarte-bild img:hover { transform: none; }
.svd-preisliste { margin: 6px 0 18px; }
.svd-preisliste table { border-collapse: collapse; width: 100%; }
.svd-preisliste td { padding: 10px 0; border-bottom: 1px solid rgba(14,35,74,.1); vertical-align: baseline; }
.svd-preisliste tr:last-child td { border-bottom: 0; }
.svd-preisliste td:first-child { font-weight: 600; }
.svd-preisliste td:last-child { text-align: right; font-family: var(--svd-condensed); font-weight: 800; font-size: 30px; line-height: 1; color: var(--svd-blau); white-space: nowrap; }
@media (max-width: 781px) {
  .svd-saisonkarten { gap: 28px; }
  .svd-saisonkarte-bild img { transform: rotate(-1.5deg); }
  .svd-preisliste td:last-child { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .svd-saisonkarte-bild img { transition: none; }
}

/* ---------- 1.0.19: Bildergalerien ---------- */
.wp-block-gallery.has-nested-images { gap: 12px; margin: 28px 0; }
.wp-block-gallery.has-nested-images figure.wp-block-image { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 4px rgba(14,35,74,.08), 0 10px 22px rgba(14,35,74,.14); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.wp-block-gallery.has-nested-images figure.wp-block-image:hover { transform: translateY(-4px); box-shadow: 0 6px 10px rgba(14,35,74,.10), 0 18px 34px rgba(14,35,74,.22); }
.wp-block-gallery.has-nested-images figure.wp-block-image img { border-radius: 0; }
.svd-artikel .wp-block-gallery img { border-radius: 0 !important; }
/* Vergrößern-Ansicht (Lightbox) in Vereinsfarben */
.wp-lightbox-overlay .scrim { background-color: rgba(8,21,46,.94) !important; }
.wp-lightbox-overlay .close-button, .wp-lightbox-overlay .wp-lightbox-navigation-button { color: #fff !important; fill: #fff !important; }
@media (prefers-reduced-motion: reduce) {
  .wp-block-gallery.has-nested-images figure.wp-block-image { transition: none; }
  .wp-block-gallery.has-nested-images figure.wp-block-image:hover { transform: none; }
}

/* ---------- 1.0.20: Historie ---------- */
.svd-historie-intro { max-width: 760px; font-size: 20px; line-height: 1.6; color: var(--svd-text, #141b2b); margin: 0; }
.svd-team-kopf + .svd-zahlen { margin-bottom: 0 !important; }

/* ---------- 1.0.25: Club 100 mit Mitgliederliste ---------- */
.svd-club100 { padding: 32px 34px; }
.svd-club100-oben { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; align-items: center; }
.svd-club100-oben > * { margin-block-start: 0 !important; }
.svd-club100-text h2 { margin-top: 0; }
.svd-club100-text p { color: var(--svd-hell); }
.svd-club100-text p a { color: #fff; font-weight: 600; }
.svd-club100-zahlen { display: grid !important; grid-template-columns: 1fr 1fr; gap: 14px; }
.svd-club100-zahlen > * { margin-block-start: 0 !important; padding: 20px 22px; }
.svd-club100-zahlen p { margin: 0; }
.svd-club100 .svd-zahl { color: #fff; white-space: nowrap; font-size: clamp(32px, 3.4vw, 44px); }
.svd-club100 .svd-zahl-text { color: var(--svd-hell); }

/* Aufklappen (Block „Details“) */
.svd-aufklapp { margin-top: 26px !important; border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; }
.svd-aufklapp > summary {
  display: inline-flex; align-items: center; gap: 10px; list-style: none; cursor: pointer;
  padding: 10px 20px; border-radius: 999px; font-weight: 600;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.28);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 12px rgba(0,0,0,.18);
  transition: transform .15s ease, background .15s ease;
}
.svd-aufklapp > summary::-webkit-details-marker { display: none; }
.svd-aufklapp > summary::after { content: "▾"; transition: transform .2s ease; }
.svd-aufklapp[open] > summary::after { transform: rotate(180deg); }
.svd-aufklapp > summary:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.svd-aufklapp[open] > summary { margin-bottom: 18px; }
.svd-aufklapp-hinweis { color: var(--svd-hell); font-size: 15px; margin: 0 0 12px; }
.svd-namen { columns: 4 190px; column-gap: 28px; list-style: none; padding: 0; margin: 0; }
.svd-namen li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }

/* ---------- 1.0.25: Sponsoren nach Stufen ---------- */
.svd-partner-dank { color: var(--svd-grau); margin-top: 8px; }
.svd-partner-stufe { margin-top: 34px !important; text-align: center; }
.svd-partner-titel { font-family: var(--svd-condensed); font-size: 24px; color: var(--svd-blau); margin: 0 0 16px; display: flex; align-items: center; gap: 16px; }
.svd-partner-titel::before, .svd-partner-titel::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(14,35,74,.25), transparent); }
.svd-partner-wand { display: grid !important; gap: 20px; margin: 0 auto; justify-content: center; }
.svd-partner-wand > * { margin-block-start: 0 !important; }
.svd-partner-gross .svd-partner-wand { grid-template-columns: repeat(auto-fit, minmax(260px, 400px)); }
.svd-partner-mittel .svd-partner-wand { grid-template-columns: repeat(auto-fit, minmax(240px, 330px)); }
.svd-partner-klein .svd-partner-wand { grid-template-columns: repeat(auto-fit, minmax(150px, 190px)); }
.svd-partner {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  background: #fff; border-radius: var(--svd-radius); padding: 10px;
  box-shadow: var(--svd-schatten); transition: transform .2s ease, box-shadow .2s ease;
}
.svd-partner:hover { transform: translateY(-4px); box-shadow: var(--svd-schatten-hoch); }
.svd-partner .wp-block-image { margin: 0; }
.svd-partner .wp-block-image img { display: block; width: 100%; height: auto; border-radius: 8px; }
.svd-partner-name { margin: 0; font-size: 13px; color: var(--svd-grau); line-height: 1.3; }
.svd-partner-gross .svd-partner-name { font-size: 15px; }
/* Ohne Anzeige: Namenskachel */
.svd-partner:not(:has(img[src])) { min-height: 110px; background: rgba(255,255,255,.7); }
.svd-partner:not(:has(img[src])) .svd-partner-name { font-family: var(--svd-condensed); font-weight: 700; font-size: 20px; color: var(--svd-blau); }
.svd-partner-gross .svd-partner:not(:has(img[src])) { min-height: 220px; }

/* Alle Werbepartner als Kacheln */
.svd-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 16px 0 0; }
.svd-chips li {
  padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--svd-blau); font-weight: 500;
  box-shadow: inset 0 -1px 0 rgba(14,35,74,.08), 0 2px 6px rgba(14,35,74,.08);
  transition: transform .15s ease, box-shadow .15s ease;
}
.svd-chips li:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(14,35,74,.16); }

@media (max-width: 800px) {
  .svd-club100 { padding: 22px 18px; }
  .svd-club100-oben { grid-template-columns: 1fr; }
  .svd-club100 .svd-zahl { font-size: 36px; }
  .svd-partner-klein .svd-partner-wand { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svd-partner-gross .svd-partner-wand { grid-template-columns: minmax(0, 320px); }
  .svd-partner-mittel .svd-partner-wand { grid-template-columns: minmax(0, 300px); }
  .svd-namen { columns: 2; column-gap: 18px; font-size: 15px; }
}

/* 1.0.26 – Aufklappen auf hellem Grund (Werbepartner) */
.svd-aufklapp-hell { border-top-color: rgba(14,35,74,.12); text-align: center; }
.svd-aufklapp-hell > summary {
  background: var(--svd-blau); color: #fff; border-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 12px rgba(14,35,74,.25);
}
.svd-aufklapp-hell > summary:hover { background: var(--svd-blau-hell); }
.svd-aufklapp-hell .svd-aufklapp-hinweis { color: var(--svd-grau); }
.svd-aufklapp-hell .svd-chips { justify-content: center; }

/* ---------- 1.0.27: Jugendseiten ---------- */
.svd-wochenplan { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; align-items: start; }
.svd-wochenplan > * { margin-block-start: 0 !important; }
.svd-tag { padding: 20px 22px; }
.svd-tag-titel { margin: 0 0 8px !important; font-size: 26px; color: var(--svd-blau); display: flex; align-items: center; gap: 10px; }
.svd-tag-titel::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--svd-blau-hell); box-shadow: 0 0 0 4px rgba(31,74,143,.15); }
.svd-zeiten-tabelle { margin: 0; overflow-x: auto; }
.svd-zeiten-tabelle table { border-collapse: collapse; width: 100%; font-size: 15px; }
.svd-zeiten-tabelle th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-grau); padding: 6px 8px; border-bottom: 1px solid rgba(14,35,74,.15); }
.svd-zeiten-tabelle td { padding: 9px 8px; border-bottom: 1px solid rgba(14,35,74,.08); vertical-align: top; }
.svd-zeiten-tabelle td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.svd-zeiten-tabelle tr:last-child td { border-bottom: 0; }
.svd-zeiten-tabelle strong { color: var(--svd-blau); font-weight: 600; }
.svd-jahrgang { font-family: "Barlow", system-ui, sans-serif; font-size: 15px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--svd-grau); margin-left: 12px; white-space: nowrap; }
.svd-team-titel { margin-top: 0 !important; color: var(--svd-blau); }
.svd-raster-breit { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)) !important; }
.svd-jugend-teams .svd-kachel-liga + .svd-kachel-liga { margin-top: 6px; }

/* 1.0.30 – Autor und Aufrufe in der Kopfzeile eines Beitrags */
.svd-meta-zusatz { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; color: var(--svd-grau); }
.svd-meta-zusatz .svd-meta-autor { color: var(--svd-blau); }
.svd-meta-punkt { color: var(--svd-grau); opacity: .7; }

/* 1.0.31 – „Weitere Meldungen laden“ */
.svd-mehr-box { display: flex; justify-content: center; margin-top: 28px; }
.svd-mehr.wp-element-button {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 12px 26px; border-radius: 999px; background: var(--svd-blau); color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 12px rgba(14,35,74,.25);
}
.svd-mehr.wp-element-button::after { content: "▾"; }
.svd-mehr.wp-element-button:hover { background: var(--svd-blau-hell); color: #fff; }
.svd-mehr[aria-busy="true"] { opacity: .7; cursor: progress; }
.svd-mehr[aria-busy="true"]::after { content: ""; }

/* 1.0.33 – Liedtext: Strophen als Vers-Block, Refrain hervorgehoben */
.wp-block-verse {
  font-family: "Barlow", system-ui, sans-serif; font-size: 18px; line-height: 1.75;
  white-space: pre-wrap; overflow-wrap: anywhere; background: none; border: 0; padding: 0;
  text-align: center; color: var(--svd-blau); margin: 0 auto 28px; max-width: 620px;
}
.wp-block-verse.is-style-svd-refrain {
  position: relative; background: var(--svd-blau); color: #fff; font-weight: 600;
  border-radius: var(--svd-radius); padding: 34px 28px 24px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 8px rgba(14,35,74,.18), 0 18px 40px rgba(14,35,74,.30);
}
.wp-block-verse.is-style-svd-refrain::before {
  content: "Refrain"; position: absolute; top: 12px; left: 0; right: 0;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--svd-hell);
}
.svd-liedtext h3 { text-align: center; }
@media (max-width: 600px) {
  .wp-block-verse { font-size: 16px; }
  .wp-block-verse.is-style-svd-refrain { padding: 30px 16px 20px; }
}
.svd-liedtext { margin-left: auto !important; margin-right: auto !important; }

/* 1.0.34 – Vorstand: Initialen statt Fotos */
.svd-person { position: relative; }
.svd-initialen {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 0 14px !important;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--svd-condensed); font-weight: 700; font-size: 24px; letter-spacing: .5px;
  background: linear-gradient(145deg, var(--svd-blau-hell), var(--svd-blau)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 10px rgba(14,35,74,.25);
}
.is-style-svd-blau .svd-initialen { background: #fff; color: var(--svd-blau); }
.svd-raster-drei { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 900px) { .svd-raster-drei { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .svd-raster-drei { grid-template-columns: 1fr !important; } }

/* 1.0.36 – Mannschaftsfoto unter dem Kopf */
.svd-teamfoto:not(:has(img[src])) { display: none !important; }
.svd-hero.svd-team-kopf:has(+ .svd-teamfoto img[src]) { padding-bottom: 120px !important; }
.svd-team-kopf + .svd-teamfoto { margin-top: -84px !important; position: relative; z-index: 2; }
.svd-teamfoto .wp-block-image { margin: 0; }
.svd-teamfoto .wp-block-image img {
  display: block; width: 100%; height: auto; max-height: 640px; object-fit: cover;
  border-radius: var(--svd-radius);
  border: 4px solid rgba(255,255,255,.85);
  box-shadow: 0 2px 4px rgba(14,35,74,.10), 0 24px 54px rgba(14,35,74,.30);
}
.svd-teamfoto .wp-element-caption { margin-top: 10px; font-size: 14px; color: var(--svd-grau); text-align: center; }
@media (max-width: 700px) {
  .svd-hero.svd-team-kopf:has(+ .svd-teamfoto img[src]) { padding-bottom: 76px !important; }
  .svd-team-kopf + .svd-teamfoto { margin-top: -48px !important; }
  .svd-teamfoto .wp-block-image img { border-width: 3px; }
}

/* 1.0.37 – Handy-Menü: volle Höhe, über allem, scrollbar */
.wp-block-navigation__responsive-container.is-menu-open {
  position: fixed !important; inset: 0 !important; box-sizing: border-box;
  z-index: 100000 !important; overflow-y: auto;
}
.admin-bar .wp-block-navigation__responsive-container.is-menu-open { top: 32px !important; }
@media (max-width: 782px) { .admin-bar .wp-block-navigation__responsive-container.is-menu-open { top: 46px !important; } }

/* 1.0.38 – Wechselbild: Galerie mit Stil „Wechselbild“ blendet ihre Bilder nacheinander ein */
.wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an {
  display: grid !important; grid-template-columns: 1fr !important; gap: 0 !important;
  position: relative; overflow: hidden; border-radius: var(--svd-radius);
  aspect-ratio: 16 / 10; box-shadow: var(--svd-schatten); margin: 0;
}
.wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an > .wp-block-image {
  grid-area: 1 / 1; width: 100% !important; height: 100%; margin: 0 !important;
  opacity: 0; transition: opacity 1.2s ease; pointer-events: none;
}
.wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an > .wp-block-image.ist-aktiv { opacity: 1; pointer-events: auto; }
.wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an > .wp-block-image img {
  width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important;
}
.wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an > .wp-block-image figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 26px 16px 34px;
  background: linear-gradient(transparent, rgba(8,21,46,.75)); color: #fff; font-size: 14px; text-align: left;
}
.svd-wechsel-punkte {
  position: absolute; left: 0; right: 0; bottom: 12px; z-index: 2;
  display: flex; justify-content: center; gap: 8px;
}
.svd-wechsel-punkte button {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255,255,255,.9); background: rgba(255,255,255,.35);
  box-shadow: 0 1px 4px rgba(0,0,0,.35); transition: background .2s ease, transform .2s ease;
}
.svd-wechsel-punkte button[aria-current="true"] { background: #fff; transform: scale(1.25); }
.svd-wechsel-punkte button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .wp-block-gallery.is-style-svd-wechsel.svd-wechsel-an > .wp-block-image { transition: none; }
}

/* 1.0.39 – Hinweis-Fenster für Veranstaltungen */
.svd-hinweis {
  position: fixed; inset: 0; z-index: 99990; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(8,21,46,0); transition: background .25s ease;
}
.svd-hinweis[hidden] { display: none; }
.svd-hinweis.ist-offen { background: rgba(8,21,46,.55); }
.svd-hinweis-fenster {
  position: relative; width: min(520px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: linear-gradient(160deg, var(--svd-blau-hell) -40%, var(--svd-blau) 45%, var(--svd-blau-tief) 100%);
  color: #fff; border-radius: 18px; outline: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 10px rgba(0,0,0,.2), 0 30px 70px rgba(0,0,0,.45);
  transform: translateY(18px) scale(.97); opacity: 0; transition: transform .3s ease, opacity .25s ease;
}
.svd-hinweis.ist-offen .svd-hinweis-fenster { transform: none; opacity: 1; }
.svd-hinweis-bild {
  display: block; width: auto; height: auto; max-width: calc(100% - 36px); max-height: 58vh;
  margin: 18px auto 0; border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 8px 24px rgba(0,0,0,.35);
}
.svd-hinweis-inhalt { padding: 24px 28px 26px; }
.svd-hinweis-zeile { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--svd-hell); }
.svd-hinweis-titel { margin: 0 0 10px; font-family: var(--svd-condensed); font-size: clamp(28px, 6vw, 38px); line-height: 1.05; color: #fff; text-transform: uppercase; }
.svd-hinweis-text { font-size: 16px; line-height: 1.6; color: #eef3fb; }
.svd-hinweis-text p { margin: 0 0 10px; }
.svd-hinweis-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.svd-hinweis-knopf {
  display: inline-block; padding: 12px 24px; border-radius: 999px; background: #fff; color: var(--svd-blau) !important;
  font-weight: 700; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.3); transition: transform .15s ease, background .15s ease;
}
.svd-hinweis-knopf:hover { transform: translateY(-2px); background: var(--svd-hell); }
.svd-hinweis-spaeter { background: none; border: 0; color: var(--svd-hell); font: inherit; font-weight: 600; cursor: pointer; padding: 10px 6px; text-decoration: underline; text-underline-offset: 3px; }
.svd-hinweis-zu {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(8,21,46,.65); color: #fff; font-size: 24px; line-height: 1; box-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.svd-hinweis-zu:hover { background: rgba(8,21,46,.85); }
.svd-hinweis-zu:focus-visible, .svd-hinweis-knopf:focus-visible, .svd-hinweis-spaeter:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 600px) {
  .svd-hinweis { align-items: flex-end; padding: 0; }
  .svd-hinweis-fenster { width: 100%; border-radius: 18px 18px 0 0; max-height: 85vh; transform: translateY(100%); }
  .svd-hinweis-bild { max-width: calc(100% - 28px); margin-top: 14px; max-height: 52vh; }
  .svd-hinweis-inhalt { padding: 20px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .svd-hinweis, .svd-hinweis-fenster { transition: none; }
}
.svd-hinweis-inhalt > .svd-hinweis-knoepfe:first-child { margin-top: 0; }

/* ---------- 1.0.42: Kontaktformular (Contact Form 7) ---------- */
.svd-kontaktkarte { max-width: 760px; margin-left: auto !important; margin-right: auto !important; padding: 28px 30px !important; }
.wpcf7 form p { margin: 0 0 16px; }
.wpcf7 label { display: block; font-weight: 600; color: var(--svd-blau); font-size: 15px; }
.wpcf7 .wpcf7-form-control-wrap { display: block; margin-top: 6px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 select, .wpcf7 textarea {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-weight: 400; color: #141b2b;
  background: rgba(255,255,255,.85); border: 1px solid #c9d4e5; border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(14,35,74,.06); transition: border-color .15s ease, box-shadow .15s ease;
}
.wpcf7 textarea { min-height: 160px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--svd-blau-hell); box-shadow: 0 0 0 3px rgba(31,74,143,.2); }
.wpcf7 input[type="submit"] {
  appearance: none; border: 0; cursor: pointer; padding: 13px 28px; border-radius: 999px; font: inherit; font-weight: 700;
  background: var(--svd-blau); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 4px 12px rgba(14,35,74,.25);
  transition: transform .15s ease, background .15s ease;
}
.wpcf7 input[type="submit"]:hover { background: var(--svd-blau-hell); transform: translateY(-2px); }
.wpcf7 input[type="submit"]:active { transform: translateY(1px); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; }
.svd-formular-hinweis { font-size: 14px; color: var(--svd-grau); }
.wpcf7-not-valid-tip { color: #b42318; font-size: 14px; font-weight: 500; margin-top: 4px; }
.wpcf7 form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; border-width: 1px; font-size: 15px; }
.wpcf7 form.sent .wpcf7-response-output { border-color: #2e7d4f; background: #e6f4ec; color: #1c5a37; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output, .wpcf7 form.spam .wpcf7-response-output { border-color: #b42318; background: #fdecea; color: #8a1c12; }
/* Unsichtbares Spamschutz-Feld */
.svd-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 1.0.42: Anfahrt ---------- */
.svd-anfahrt { display: grid !important; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 24px; align-items: stretch; margin-top: 20px; }
.svd-anfahrt > * { margin-block-start: 0 !important; }
.svd-anfahrt-karte { margin: 0; }
.svd-anfahrt-karte img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--svd-radius); box-shadow: var(--svd-schatten); }
.svd-anfahrt-karte figcaption { font-size: 12px; color: var(--svd-grau); margin-top: 6px; }
.svd-anfahrt-text { padding: 26px 28px !important; display: flex; flex-direction: column; justify-content: center; }
.svd-anfahrt-text h3 { margin-top: 0; }
.svd-anfahrt:not(:has(.svd-anfahrt-karte img[src])) { grid-template-columns: 1fr; }
.svd-anfahrt:not(:has(.svd-anfahrt-karte img[src])) .svd-anfahrt-karte { display: none; }
@media (max-width: 800px) { .svd-anfahrt { grid-template-columns: 1fr; } .svd-anfahrt-karte img { min-height: 220px; } }

/* 1.0.45 – Instagram-Kacheln immer quadratisch, auch wenn Smash Balloon ihre Höhe
   berechnet hat, solange der Feed noch vom Cookie-Banner verdeckt war (height: 0px) */
#sb_instagram .sbi_photo_wrap { position: relative; }
#sb_instagram .sbi_photo { display: block; height: auto !important; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; } /* 1.0.68: Hochformat 4:5 wie bei Instagram, nichts wird abgeschnitten */
#sb_instagram .sbi_photo img { display: block; width: 100%; height: 100% !important; object-fit: cover; }

/* 1.0.46 – Seiten Senioren und Verein */
.svd-raster-zwei { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (max-width: 700px) { .svd-raster-zwei { grid-template-columns: 1fr !important; } }
.svd-raster .svd-kachel { min-height: 190px; position: relative; }
.svd-raster .svd-kachel-liga strong { display: block; font-weight: 600; color: var(--svd-text, #141b2b); }
.svd-raster .is-style-svd-blau .svd-kachel-liga strong { color: #fff; }
.svd-kachel-text { color: var(--svd-grau); line-height: 1.5; }
.is-style-svd-blau .svd-kachel-text { color: var(--svd-hell); }

/* 1.0.47 – Platzhalter für Beiträge ohne Bild */
.svd-beitrag .svd-platzhalterbild a {
  aspect-ratio: 3 / 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 70% 25%, rgba(120,170,255,.35), transparent 55%), linear-gradient(150deg, var(--svd-blau-hell) -30%, var(--svd-blau) 50%, var(--svd-blau-tief));
  text-decoration: none;
}
.svd-beitrag .svd-platzhalterbild img { width: 22% !important; max-width: 84px; aspect-ratio: auto !important; height: auto; object-fit: contain !important; filter: drop-shadow(0 6px 12px rgba(0,0,0,.35)); }
.svd-beitrag .svd-platzhalterbild span { font-family: var(--svd-condensed); font-weight: 700; font-size: 18px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--svd-hell); }

/* 1.0.49 – Preisliste ohne die schwarzen Tabellenlinien von WordPress */
.wp-block-table.svd-preisliste table,
.wp-block-table.svd-preisliste td,
.wp-block-table.svd-preisliste th { border: 0 !important; }
.wp-block-table.svd-preisliste td { border-bottom: 1px solid rgba(14,35,74,.1) !important; padding: 12px 0 !important; }
.wp-block-table.svd-preisliste tr:last-child td { border-bottom: 0 !important; }


/* 1.0.51: Vorheriger und nächster Bericht als Karten unter dem Beitrag */
.svd-beitrag-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(14,35,74,.12);
}
.svd-beitrag-nav:not(:has(a)) { display: none; }
/* 1.0.52: leere Karte ausblenden, wenn es keinen vorherigen oder nächsten Bericht gibt */
.svd-beitrag-nav .wp-block-post-navigation-link:not(:has(a)) { display: none; }
.svd-beitrag-nav .wp-block-post-navigation-link {
  position: relative; margin: 0; padding: 18px 20px;
  background: rgba(214,226,245,.45); border: 1px solid rgba(255,255,255,.9);
  border-radius: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 2px 6px rgba(14,35,74,.06);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.svd-beitrag-nav .post-navigation-link-previous { grid-column: 1; }
.svd-beitrag-nav .post-navigation-link-next { grid-column: 2; text-align: right; }
.svd-beitrag-nav .wp-block-post-navigation-link a { display: block; color: var(--svd-blau); text-decoration: none; }
.svd-beitrag-nav .wp-block-post-navigation-link a::after { content: ""; position: absolute; inset: 0; border-radius: 10px; }
.svd-beitrag-nav .post-navigation-link__label {
  display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--svd-grau);
}
.svd-beitrag-nav .post-navigation-link-previous .post-navigation-link__label::before { content: "\2190\00a0"; }
.svd-beitrag-nav .post-navigation-link-next .post-navigation-link__label::after { content: "\00a0\2192"; }
.svd-beitrag-nav .post-navigation-link__title {
  display: block; font-family: var(--svd-condensed); font-weight: 700; font-size: 21px; line-height: 1.2;
}
.svd-beitrag-nav .wp-block-post-navigation-link:hover {
  transform: translateY(-3px); background: rgba(255,255,255,.85); box-shadow: var(--svd-schatten-hoch);
}
.svd-beitrag-nav .wp-block-post-navigation-link:focus-within { outline: 2px solid var(--svd-blau-hell); outline-offset: 3px; }
.svd-beitrag-nav .wp-block-post-navigation-link a:focus { outline: none; }
@media (max-width: 640px) {
  .svd-beitrag-nav { grid-template-columns: 1fr; }
  .svd-beitrag-nav .post-navigation-link-next { grid-column: auto; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .svd-beitrag-nav .wp-block-post-navigation-link { transition: none; }
  .svd-beitrag-nav .wp-block-post-navigation-link:hover { transform: none; }
}

/* 1.0.55: eigenes Hochformat fürs Handy im Hinweis-Fenster */
.svd-hinweis-bildrahmen { display: contents; }
@media (max-width: 600px) {
  .svd-hinweis-bildrahmen .svd-hinweis-bild { max-height: 62vh; }
}

/* 1.0.56: Mitmachen – Probetraining und „Wir suchen dich“ als gleich hohe Karten */
.svd-mitmachen { gap: 24px; align-items: stretch !important; }
.svd-mitmachen > .wp-block-column { display: flex; }
.svd-mitmachen .svd-karte { display: flex; flex-direction: column; width: 100%; margin: 0; }
.svd-mitmachen .svd-karte > .wp-block-buttons { margin-top: auto; padding-top: 10px; }
.svd-mitmachen .svd-karte h3 { margin-top: 0; }
.svd-mitmachen .wp-block-list { margin: 0 0 14px; padding-left: 1.2em; }
.svd-mitmachen .wp-block-list li { margin: 4px 0; }
.svd-mitmachen .is-style-svd-blau .wp-block-list li::marker { color: var(--svd-hell); }

/* 1.0.57: Ab drei Beiträgen über die ganze Breite; Knopf „Alle Meldungen“ darunter */
.svd-beitraege.svd-beitraege-voll { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.svd-aktuelles-knopf { margin-top: 28px !important; }

/* 1.0.58: Termine */
.svd-termine { list-style: none; margin: 0; padding: 0; }
.svd-termin { display: flex; align-items: center; gap: 20px; padding: 16px 0; margin: 0; border-top: 1px solid rgba(14,35,74,.1); }
.svd-termin:first-child { border-top: 0; padding-top: 0; }
.svd-termin:last-child { padding-bottom: 0; }
.svd-termin-datum {
  flex: 0 0 auto; width: 68px; padding: 8px 0; border-radius: 12px; text-align: center;
  background: var(--svd-blau); color: #fff; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 6px 14px rgba(14,35,74,.18);
}
.svd-termin-tag { display: block; font-family: var(--svd-condensed); font-weight: 800; font-size: 30px; line-height: 1; }
.svd-termin-monat { display: block; margin-top: 3px; font-size: 13px; font-weight: 600; color: var(--svd-hell); }
.svd-termin-text p { margin: 0; }
.svd-termin-titel { font-weight: 600; font-size: 19px; line-height: 1.3; color: var(--svd-blau); }
.svd-termin-titel a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.svd-termin-infos { margin-top: 4px !important; font-size: 15px; color: var(--svd-grau); }
.svd-termine-leer { margin: 0; color: var(--svd-grau); }
@media (max-width: 600px) {
  .svd-termin { gap: 14px; }
  .svd-termin-datum { width: 58px; }
  .svd-termin-tag { font-size: 26px; }
}

/* 1.0.59: Club 100 und Termine nebeneinander */
.svd-club-termine { gap: 24px; align-items: stretch !important; }
.svd-club-termine > .wp-block-column { display: flex; flex-direction: column; min-width: 0; }
.svd-club-termine > .wp-block-column > * { width: 100%; margin: 0; box-sizing: border-box; }
.svd-club-termine > .wp-block-column > :first-child { flex: 1 1 auto; }
.svd-club-termine .svd-termine-karte h2 { margin-top: 0; }
.svd-club-termine .svd-termin { gap: 14px; }
/* Club 100 in schmaler Spalte: Zahlen unter den Text */
.svd-club100 { container-type: inline-size; }
@container (max-width: 760px) {
  .svd-club100-oben { grid-template-columns: 1fr !important; }
}

/* 1.0.60: Slogan im Kopfbereich, zwischen Wappen und Menü */
.svd-slogan {
  margin: 0 auto !important; padding: 0 24px; white-space: nowrap;
  font-family: var(--svd-condensed); font-weight: 700; font-style: italic; font-size: 24px; line-height: 1;
  letter-spacing: .3px; color: #fff; opacity: .92; text-shadow: 0 2px 10px rgba(0,0,0,.35);
}
.svd-slogan::before, .svd-slogan::after { content: ""; display: inline-block; width: 28px; height: 2px; margin: 0 12px; vertical-align: middle; background: var(--svd-hell); opacity: .55; }
@media (max-width: 1180px) {
  .svd-slogan::before, .svd-slogan::after { display: none; }
  .svd-slogan { font-size: 20px; padding: 0 14px; }
}
@media (max-width: 1024px) {
  .svd-slogan { display: none; }
}
.svd-header-inner > .svd-marke { flex-shrink: 0; }

/* 1.0.61: Aus der Vereinsgeschichte */
.svd-geschichte-karte { padding: 28px clamp(22px, 4vw, 44px); }
.svd-geschichte-kopf { margin: 0 0 14px !important; font-size: 15px; font-weight: 600; color: var(--svd-grau); }
.svd-geschichte { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; }
.svd-geschichte p { margin: 0; }
.svd-geschichte-jahr {
  font-family: var(--svd-condensed); font-weight: 800; font-size: clamp(64px, 9vw, 112px); line-height: .9;
  color: var(--svd-blau); letter-spacing: -1px;
}
.svd-geschichte-titel { font-family: var(--svd-condensed); font-weight: 700; font-size: 26px; line-height: 1.15; color: var(--svd-blau); }
.svd-geschichte-text { margin-top: 8px !important; max-width: 68ch; }
.svd-geschichte-link { margin-top: 12px !important; font-weight: 600; }
.svd-geschichte-link a { color: var(--svd-blau-hell); }
@media (max-width: 600px) {
  .svd-geschichte { grid-template-columns: 1fr; gap: 10px; }
}

/* 1.0.69: Instagram-Kacheln mit runden Ecken und feinem Schatten, passend zu den Karten */
#sb_instagram .sbi_item { overflow: visible; }
#sb_instagram .sbi_photo_wrap { border-radius: 14px; box-shadow: 0 6px 16px rgba(14,35,74,.18); }
#sb_instagram .sbi_photo img { border-radius: 14px; }

/* 1.0.74/1.0.75: Weiße Kacheln werden beim Überfahren (oder bei Tastatur-Fokus) vereinsblau.
   Greift auf jede Kachel, die nicht ausdrücklich blau ist – auch ohne Stil „Glaskarte“. */
.svd-kachel:not(.is-style-svd-blau):not(.svd-blau) { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, background-color .3s, border-color .3s, color .3s; }
.svd-kachel:not(.is-style-svd-blau):not(.svd-blau) :is(p, a, strong, h2, h3) { transition: color .3s; }
.svd-kachel:not(.is-style-svd-blau):not(.svd-blau):is(:hover, :focus-within) {
  background-color: var(--svd-blau) !important; color: #fff !important; border-color: rgba(255,255,255,.18) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 8px 14px rgba(14,35,74,.2), 0 30px 56px rgba(14,35,74,.38);
}
.svd-kachel:not(.is-style-svd-blau):not(.svd-blau):is(:hover, :focus-within) :is(.svd-kachel-name, a, h2, h3, strong) { color: #fff !important; }
.svd-kachel:not(.is-style-svd-blau):not(.svd-blau):is(:hover, :focus-within) :is(.svd-kachel-text, .svd-kachel-liga) { color: var(--svd-hell) !important; }

/* 1.1.1: Tabellenarchiv (aus 1.1.0 übernommen) */
.svd-archiv h3 { margin-top: 40px; }
.svd-saison {
  background: rgba(255,255,255,.6); -webkit-backdrop-filter: var(--svd-blur); backdrop-filter: var(--svd-blur);
  border: 1px solid rgba(255,255,255,.85); border-radius: var(--svd-radius); box-shadow: var(--svd-schatten);
  margin: 0 0 12px !important; overflow: hidden;
}
.svd-saison > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 12px;
  padding: 16px 52px 16px 20px; position: relative; min-height: 24px; color: var(--svd-text, #141b2b);
}
.svd-saison > summary::-webkit-details-marker { display: none; }
.svd-saison > summary strong { font-family: var(--svd-condensed); font-weight: 700; font-size: 20px; color: var(--svd-blau); min-width: 64px; }
.svd-saison > summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--svd-blau); border-bottom: 2px solid var(--svd-blau); transform: rotate(45deg); transition: transform .2s;
}
.svd-saison[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.svd-saison > summary:hover { background: rgba(255,255,255,.45); }
.svd-saison > :not(summary) { margin: 0 20px 16px !important; }
.svd-tabelle { overflow-x: auto; }
.svd-tabelle table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.svd-tabelle th, .svd-tabelle td { border: 0; border-bottom: 1px solid rgba(14,35,74,.1); padding: 8px 10px; text-align: right; white-space: nowrap; }
.svd-tabelle th { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--svd-grau); font-weight: 600; }
.svd-tabelle th:nth-child(2), .svd-tabelle td:nth-child(2) { text-align: left; white-space: normal; width: 100%; }
.svd-tabelle th:first-child, .svd-tabelle td:first-child { text-align: center; }
.svd-tabelle tbody tr:last-child td { border-bottom: 0; }
.svd-tabelle tr:has(strong) td { background: rgba(14,35,74,.08); color: var(--svd-blau); }
.svd-tabelle-hinweis { font-size: 14px; color: var(--svd-grau); }
@media (max-width: 600px) {
  .svd-saison > summary { flex-wrap: wrap; gap: 2px 10px; font-size: 15px; }
  .svd-tabelle th:nth-child(4), .svd-tabelle td:nth-child(4),
  .svd-tabelle th:nth-child(5), .svd-tabelle td:nth-child(5),
  .svd-tabelle th:nth-child(6), .svd-tabelle td:nth-child(6),
  .svd-tabelle th:nth-child(8), .svd-tabelle td:nth-child(8) { display: none; }
  .svd-saison > :not(summary) { margin: 0 10px 12px !important; }
  .svd-tabelle th, .svd-tabelle td { padding: 7px 6px; font-size: 14px; }
}

/* 1.1.4: Kurze Tabellen (Saisons vor 2002 nach f-archiv.de, ohne S/U/N): auf dem Handy alle Spalten außer Diff. zeigen */
@media (max-width: 600px) {
  .svd-tabelle.svd-tabelle-kurz th, .svd-tabelle.svd-tabelle-kurz td { display: table-cell; }
  .svd-tabelle.svd-tabelle-kurz th:nth-child(5), .svd-tabelle.svd-tabelle-kurz td:nth-child(5) { display: none; }
}
