/*
Theme Name: FC Tobel 2026
Theme URI: https://www.fctobel.ch
Author: FC Tobel-Affeltrangen 1946
Description: Block-Theme für den FC Tobel-Affeltrangen – Farben aus dem Wappen, Startseite mit Spielbetrieb, News, Teams, Mitmachen und Sponsoren.
Version: 1.19.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fctobel
*/

/* ---------- Grundlagen ---------- */
body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { max-width: 100%; height: auto; }

/* Alte Inhalte: kein Blocksatz mehr */
.entry-content, .wp-block-post-content { text-align: left; }
.wp-block-post-content table { display: block; overflow-x: auto; }

/* ---------- Abschnitte ---------- */
.fct-section { padding: 72px 24px; }
.fct-section-tight { padding: 40px 24px; }
.fct-inner { max-width: 1200px; margin-left: auto !important; margin-right: auto !important; }
.fct-stripes { background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.06) 0 56px, transparent 56px 112px); }
.fct-kicker { font-size: 14px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin: 0; }

/* ---------- Topbar & Header ---------- */
.fct-topbar { padding: 8px 24px; font-size: 14px; }
.fct-topbar p { margin: 0; }
.fct-topbar a { color: #fff; text-decoration: none; margin-left: 18px; }
.fct-topbar a.fct-live { color: #FFD200; font-weight: 600; }
.fct-header { padding: 12px 24px; border-bottom: 1px solid #E6E6E6; position: relative; z-index: 20; }
.fct-brand { gap: 14px; }
.fct-brand img { width: 56px; height: auto; display: block; }
.fct-brand p { margin: 0; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 26px; line-height: 1; text-transform: uppercase; }
.fct-brand a { text-decoration: none; color: inherit; }
.fct-header .wp-block-navigation { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .5px; gap: 4px 24px; }
.fct-header .wp-block-navigation a { text-decoration: none; }
.fct-header .wp-block-navigation .wp-block-navigation__submenu-container { font-family: var(--wp--preset--font-family--body); font-weight: 500; font-size: 16px; text-transform: none; letter-spacing: 0; border: 1px solid #E6E6E6 !important; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 240px; }
.fct-header .wp-block-navigation .wp-block-navigation__submenu-container a { padding: 10px 16px; }
.fct-header .wp-block-navigation .wp-block-navigation__submenu-container a:hover { background: #FFF6C2; }
.fct-cta .wp-block-button__link { font-family: var(--wp--preset--font-family--heading); font-weight: 700; text-transform: uppercase; font-size: 18px; padding: 12px 20px; }

/* ---------- Hero ---------- */
.fct-hero h1 { font-size: clamp(48px, 7vw, 84px); line-height: .92; margin: 0; }
.fct-hero .fct-hero-img img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.fct-hero p.fct-lead { font-size: 21px; line-height: 1.5; max-width: 520px; }

/* ---------- Karten ---------- */
.fct-card { border: 1px solid #E6E6E6; border-radius: 10px; padding: 28px; background: #fff; }
.fct-card-filled { border-radius: 10px; padding: 28px; }
.fct-card h3, .fct-card-filled h3 { margin-top: 0; }
.fct-team-tile { border-radius: 10px; padding: 26px; }
.fct-team-tile a { color: #fff; text-decoration: none; }
.fct-team-tile p { margin: 4px 0 0; color: #FFD200; font-weight: 600; }
.fct-pills .wp-block-button__link { border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.fct-widget iframe { width: 100%; height: 900px; border: 0; display: block; }

/* News */
.fct-news .wp-block-post { background: #fff; border-radius: 10px; overflow: hidden; }
.fct-news .wp-block-post-featured-image { margin: 0; }
.fct-news .wp-block-post-featured-image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.fct-news .fct-card-body { padding: 20px 22px 24px; }
.fct-news .wp-block-post-title { font-size: 24px; margin: 6px 0 8px; }
.fct-news .wp-block-post-title a { text-decoration: none; }
.fct-news .wp-block-post-date { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: #595959; }

/* ---------- Sponsoren ---------- */
.fct-logos { display: grid !important; gap: 14px; align-items: stretch; }
.fct-logos-gold { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fct-logos-silver { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.fct-logos .wp-block-image { margin: 0 !important; background: #fff; border: 1px solid #E6E6E6; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 12px; }
.fct-logos-gold .wp-block-image { height: 110px; }
.fct-logos-silver .wp-block-image { height: 72px; padding: 8px; }
.fct-logos .wp-block-image img { max-height: 100%; width: auto; object-fit: contain; }
.fct-mainsponsor .wp-block-image { margin: 0 auto; max-width: 460px; border: 2px solid #1D1D1B; border-radius: 10px; padding: 18px; background: #fff; }
.fct-strip { border-top: 4px solid #FFD200; }

/* ---------- Footer ---------- */
.fct-footer { padding: 56px 24px 28px; }
.fct-footer a { color: #fff; text-decoration: none; }
.fct-footer a:hover { text-decoration: underline; }
.fct-footer h4 { color: #FFD200; margin: 0 0 10px; font-size: 18px; }
.fct-footer p { margin: 0 0 8px; color: #D6D6D6; }
.fct-footer .fct-legal { border-top: 1px solid #3A3A3A; padding-top: 18px; margin-top: 32px; font-size: 14px; color: #BDBDBD; }
.fct-footer .fct-legal p { color: #BDBDBD; }
.fct-footer img.fct-footer-logo { width: 70px; }

/* ---------- Seiten ---------- */
.fct-main { padding: 48px 24px 72px; }
.fct-page-title { margin-top: 0; }

@media (max-width: 781px) {
  .fct-section { padding: 48px 18px; }
  .fct-topbar .fct-address { display: none; }
  .fct-brand p { font-size: 22px; }
}

/* Outline-Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: #1D1D1B; border: 2px solid #1D1D1B; padding: 12px 22px; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #1D1D1B; color: #FFD200; }
.wp-block-button.fct-on-dark > .wp-block-button__link { color: #fff; border-color: #fff; }
.fct-pills .wp-block-button.is-style-outline > .wp-block-button__link { padding: 9px 18px; }

/* Korrekturen v1.0.1 */
.fct-section .fct-kicker { margin-top: 32px; margin-bottom: 12px; }
.fct-section h2 + .fct-kicker, .fct-section > .fct-kicker:first-child { margin-top: 8px; }
.fct-logos .wp-block-image a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.fct-logos-gold .wp-block-image img { max-height: 86px; }
.fct-logos-silver .wp-block-image img { max-height: 52px; }
.fct-logos-partner { grid-template-columns: repeat(auto-fill, minmax(160px, 220px)); justify-content: center; }
.fct-logos-partner .wp-block-image { height: 80px; }
.fct-logos-partner .wp-block-image img { max-height: 60px; }
.fct-mainsponsor .wp-block-image img { max-height: 110px; width: auto; margin: 0 auto; display: block; }
.fct-card-filled.has-black-background-color { margin-top: 40px; }

/* ===== v1.2: Handymenü, Widgets, Einsatzplanung ===== */

/* Handymenü (Overlay) */
.wp-block-navigation__responsive-container.is-menu-open { padding: 20px 24px 40px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch !important; padding-top: 48px !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: stretch !important; gap: 0 !important; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; width: 100%; border-bottom: 1px solid #E6E6E6; padding: 4px 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 10px 0 !important; font-size: 24px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { border: 0 !important; box-shadow: none !important; min-width: 0 !important; width: 100%; padding: 0 0 10px 14px !important; margin: 0 0 6px 2px; border-left: 3px solid #FFD200 !important; gap: 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border-bottom: 0; padding: 0; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-family: var(--wp--preset--font-family--body); font-weight: 500; text-transform: none; letter-spacing: 0; font-size: 17px; padding: 6px 0 !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: none; }
.wp-block-navigation__responsive-container-close { top: 18px !important; right: 18px !important; }

/* football.ch-Widgets: volle Breite, zentriert */
.wp-block-post-content iframe[src*="widget.football.ch"],
.fct-widget iframe { width: 100% !important; max-width: 100% !important; min-height: 900px; border: 0; display: block; margin: 0 auto !important; }
.wp-block-post-content p:has(> iframe[src*="widget.football.ch"]) { width: 100%; }

/* Einsatzplanung (Helferliste) im neuen Look */
body #hl-root { --y: #FFD200; --yl: #FFF6C2; --k: #1D1D1B; --g: #595959; --l: #E6E6E6; --bg: #F6F6F4; max-width: 820px; font-family: var(--wp--preset--font-family--body); font-size: 17px; }
body #hl-root .hl-h,
body #hl-root h3.hl-evt,
body #hl-root .hl-tab,
body #hl-root .hl-day,
body #hl-root summary .hl-rt,
body #hl-root .hl-mybox strong { font-family: var(--wp--preset--font-family--heading); letter-spacing: .02em; }
body #hl-root h3.hl-evt { font-weight: 800; font-size: 34px; }
body #hl-root .hl-name, body #hl-root .hl-mybox { border-radius: 10px; border-top-width: 5px; box-shadow: none; }
body #hl-root .hl-name input { border: 1px solid #8a8a8a; border-radius: 6px; padding: 10px 12px; font: inherit; width: 100%; }
body #hl-root .hl-tabs { border-radius: 10px; overflow: hidden; }
body #hl-root .hl-tab { font-weight: 700; font-size: 16px; }
body #hl-root .hl-tab.on { background: var(--y); color: var(--k); }
body #hl-root .hl-day { color: var(--k); font-weight: 700; font-size: 15px; text-transform: uppercase; }
body #hl-root details { border-radius: 10px; border-left-width: 5px; overflow: hidden; box-shadow: none; }
body #hl-root summary .hl-rt { font-weight: 700; font-size: 20px; color: var(--k); }
body #hl-root summary .hl-cnt { color: var(--k); border-radius: 999px; padding: 3px 12px; }
body #hl-root summary:after { border-color: var(--k); }
body #hl-root .hl-pos { border-radius: 0 6px 6px 0; }
body #hl-root .hl-b { background: var(--y); color: var(--k); border: 2px solid var(--y); border-radius: 6px; padding: 9px 16px; font-family: var(--wp--preset--font-family--body); letter-spacing: 0; text-transform: none; font-weight: 600; }
body #hl-root .hl-b:hover { background: var(--k); border-color: var(--k); color: var(--y); }
body #hl-root .hl-b.sec { background: #fff; color: var(--k); border-color: var(--k); }
body #hl-root .hl-b.sec:hover { background: var(--k); color: #fff; }

/* Vorstand */
.fct-board { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.fct-board .fct-person { border: 1px solid #E6E6E6; border-top: 5px solid #FFD200; border-radius: 10px; padding: 18px 20px; margin: 0 !important; }
.fct-board .fct-person h3 { margin: 0 0 4px; font-size: 22px; }
.fct-board .fct-person p { margin: 0; color: #444; font-size: 16px; line-height: 1.45; }
.fct-board .fct-person.is-lead { border-top-color: #1D1D1B; }
body #hl-root summary .hl-cnt { margin-left: auto; }
@media (max-width: 600px) { body #hl-root summary { flex-wrap: wrap; } body #hl-root summary .hl-rt { font-size: 18px; } }

/* Matchberichte-Liste */
.fct-reports .wp-block-post { border-bottom: 1px solid #E6E6E6; padding: 20px 0; margin: 0 !important; }
.fct-reports .fct-report { gap: 20px; }
.fct-reports .fct-report-img { flex: 0 0 160px; margin: 0; }
.fct-reports .fct-report-img img { border-radius: 8px; object-fit: cover; }
.fct-reports .wp-block-post-title { font-size: 24px; margin: 4px 0 6px; }
.fct-reports .wp-block-post-title a { text-decoration: none; }
.fct-reports .wp-block-post-title a:hover { text-decoration: underline; }
.fct-reports .wp-block-post-date { color: #595959; }
.fct-reports .wp-block-post-excerpt { margin: 0; color: #444; }
.fct-reports .wp-block-post-excerpt__excerpt { margin: 0; }
.fct-reports .wp-block-query-pagination { margin-top: 32px; font-weight: 600; gap: 14px; }
@media (max-width: 600px) { .fct-reports .fct-report { flex-wrap: wrap !important; } .fct-reports .fct-report-img { flex-basis: 100%; } .fct-reports .fct-report-img img { width: 100% !important; height: 180px !important; } }

/* ===== v1.3: Rangliste 1. Mannschaft ===== */
.fct-rl { font-size: 15px; }
.fct-rl-liga { margin: -6px 0 12px; color: #595959; font-weight: 600; }
.fct-rl table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fct-rl th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #595959; font-weight: 700; padding: 0 4px 8px; text-align: center; border-bottom: 2px solid #1D1D1B; }
.fct-rl td { padding: 9px 4px; text-align: center; border-bottom: 1px solid #E6E6E6; }
.fct-rl th, .fct-rl td { white-space: nowrap; width: 1%; padding-left: 6px; padding-right: 6px; }
.fct-rl .r { width: 28px; font-weight: 700; }
.fct-rl .t { text-align: left; max-width: 0; width: auto; }
.fct-rl .t span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fct-rl .p { font-weight: 800; }
.fct-rl .w { display: none; }
.fct-rl tr.us td { background: #FFD200; font-weight: 700; }
.fct-rl tr.us td:first-child { border-radius: 6px 0 0 6px; }
.fct-rl tr.us td:last-child { border-radius: 0 6px 6px 0; }
.fct-rl-meta { margin: 12px 0 0; font-size: 13px; color: #595959; }
.fct-rl-meta a { color: inherit; }
.fct-rl-empty { color: #595959; font-size: 14px; }
@media (max-width: 781px) { .fct-rl .w { display: table-cell; white-space: nowrap; } }

/* ===== v1.4: Sponsoren-Bereich ===== */
/* Startseite: Ausrüster & Partner sauber zentrieren */
.fct-logos-partner { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 14px; }
.fct-logos-partner .wp-block-image { flex: 0 1 220px; }

/* Sponsoren-Karten auf den Unterseiten */
.fct-sp-cards { display: grid; gap: 16px; margin: 24px 0 8px; }
.fct-sp-gold { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.fct-sp-silver, .fct-sp-partner { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.fct-sp-main { grid-template-columns: minmax(0, 560px); justify-content: center; }
.fct-sp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #E6E6E6; border-top: 5px solid #FFD200; border-radius: 10px; overflow: hidden; color: #1D1D1B; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
a.fct-sp-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.fct-sp-logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 18px 22px; }
.fct-sp-silver .fct-sp-logo, .fct-sp-partner .fct-sp-logo { height: 120px; }
.fct-sp-main .fct-sp-logo { height: 200px; }
.fct-sp-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.fct-sp-name { display: block; padding: 12px 18px 0; border-top: 1px solid #F0F0F0; font-family: var(--wp--preset--font-family--heading); font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.fct-sp-link { display: block; padding: 2px 18px 14px; font-size: 14px; color: #595959; }
.fct-sp-card .fct-sp-name:last-child { padding-bottom: 14px; }

/* Übersichts-Kacheln */
.fct-sp-tiles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.fct-sp-tiles > .wp-block-group { margin: 0 !important; border-radius: 10px; padding: 24px 24px 22px; position: relative; }
.fct-sp-tiles h3 { margin: 0 0 6px; font-size: 26px; }
.fct-sp-tiles h3 a { text-decoration: none; color: inherit; }
.fct-sp-tiles h3 a::after { content: ""; position: absolute; inset: 0; }
.fct-sp-tiles p { margin: 0; font-size: 16px; line-height: 1.45; }
.fct-sp-tiles .has-black-background-color p { color: #FFD200; }

/* Pakete (Sponsor werden) */
.fct-packages { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: stretch; }
.fct-package { margin: 0 !important; border: 1px solid #E6E6E6; border-radius: 10px; padding: 0 !important; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.fct-package > * { margin-left: 24px !important; margin-right: 24px !important; }
.fct-package .fct-package-head { margin: 0 !important; padding: 18px 24px 16px; background: #1D1D1B; color: #fff; }
.fct-package .fct-package-head h3 { margin: 0; color: #FFD200; font-size: 26px; }
.fct-package .fct-package-head p { margin: 2px 0 0; font-size: 14px; color: #ccc; }
.fct-package .fct-price { margin-top: 18px !important; margin-bottom: 6px !important; font-family: var(--wp--preset--font-family--heading); font-size: 30px; font-weight: 800; line-height: 1.1; }
.fct-package .fct-price small { font-size: 16px; font-weight: 600; color: #595959; }
.fct-package ul { list-style: none; padding: 0; margin-top: 8px; margin-bottom: 24px; }
.fct-package li { position: relative; padding: 5px 0 5px 28px; font-size: 15.5px; line-height: 1.4; border-bottom: 1px solid #F2F2F2; }
.fct-package li:last-child { border-bottom: 0; }
.fct-package li::before { content: "✓"; position: absolute; left: 2px; top: 4px; font-weight: 800; color: #1D1D1B; background: #FFD200; width: 19px; height: 19px; border-radius: 50%; font-size: 12px; display: flex; align-items: center; justify-content: center; }
.fct-package.is-gold .fct-package-head { background: #FFD200; }
.fct-package.is-gold .fct-package-head h3 { color: #1D1D1B; }
.fct-package.is-gold .fct-package-head p { color: #1D1D1B; }
.fct-package.is-gold { border: 2px solid #1D1D1B; }

/* Ansprechpersonen */
.fct-contacts { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 280px)); gap: 18px; }
.fct-contacts .wp-block-group { margin: 0 !important; }
.fct-contacts figure { margin: 0 0 12px !important; }
.fct-contacts img { border-radius: 10px; width: 100%; height: auto; display: block; }
.fct-contacts h3 { margin: 0; font-size: 24px; }
.fct-contacts p { margin: 2px 0 0; }

/* TablePress-Listen (Bandenwerber, Supporter) im neuen Look */
.fct-namelist .tablepress { border: 0 !important; margin: 16px 0 0 !important; width: 100%; }
.fct-namelist .tablepress thead { display: none; }
.fct-namelist .tablepress tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.fct-namelist .tablepress tr { display: flex; gap: 6px; align-items: baseline; background: none !important; border-bottom: 1px solid #E6E6E6; padding: 8px 2px; }
.fct-namelist .tablepress td { display: inline; padding: 0 !important; border: 0 !important; background: none !important; font-size: 16px; }
.fct-namelist .tablepress td.column-1 { color: #595959; min-width: 2.2em; font-variant-numeric: tabular-nums; }
.fct-namelist-plain .tablepress td.column-1 { color: inherit; min-width: 0; }
.fct-namelist .dataTables_wrapper .dataTables_filter, .fct-namelist .dataTables_wrapper .dataTables_length, .fct-namelist .dataTables_wrapper .dataTables_info, .fct-namelist .dataTables_wrapper .dataTables_paginate { display: none; }
.fct-main p.fct-lead, .entry-content p.fct-lead, p.fct-lead { font-size: 20px; line-height: 1.55; }
.fct-hero p.fct-lead { font-size: 21px; max-width: 520px; }
.wp-block-image.fct-rounded img { border-radius: 10px; }
.wp-block-image.fct-banner img { width: 100%; height: 340px; object-fit: cover; object-position: center 70%; }
@media (max-width: 600px) { .wp-block-image.fct-banner img { height: 200px; } }
p.fct-note { font-size: 14px; color: #595959; margin-top: 12px; }
.fct-sp-cta { margin-top: 32px !important; }
.fct-sp-cta h3 { margin-bottom: 4px; }
.fct-sp-cta p { margin: 0; }
.fct-logos-silver { display: flex !important; flex-wrap: wrap; justify-content: center; }
.fct-logos-silver .wp-block-image { flex: 0 1 136px; }
.fct-sp-main .fct-sp-logo { height: 160px; }
.wp-block-post-content p.fct-kicker { margin-top: 28px; margin-bottom: 10px; }
.has-black-background-color .is-style-outline .wp-block-button__link { border: 2px solid #fff !important; color: #fff; background: transparent; }

/* ===== v1.5: Menü Teams & Verein zweispaltig ===== */
@media (min-width: 600px) {
	.fct-header .wp-block-navigation:not(.is-menu-open) .fct-nav-cols > .wp-block-navigation__submenu-container { display: grid !important; grid-auto-flow: column; grid-template-rows: repeat(10, auto); grid-template-columns: repeat(2, minmax(220px, 1fr)); min-width: 500px !important; }
	.fct-header .wp-block-navigation .fct-nav-cols > .wp-block-navigation__submenu-container > .wp-block-navigation-item { width: 100%; }
	.fct-header .wp-block-navigation .fct-nav-cols > .wp-block-navigation__submenu-container > .wp-block-navigation-item > a { white-space: nowrap; }
}
.wp-block-navigation__responsive-container.is-menu-open .fct-nav-cols > .wp-block-navigation__submenu-container { display: flex !important; flex-direction: column; min-width: 0 !important; }

/* Team-Karten mit Foto (Kids, Thundorf) */
.fct-photo-cards { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.fct-pc { margin: 0 !important; background: #fff; border: 1px solid #E6E6E6; border-radius: 10px; overflow: hidden; position: relative; transition: transform .15s ease, box-shadow .15s ease; }
.fct-pc:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.fct-pc .fct-pc-img { margin: 0 !important; }
.fct-pc .fct-pc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.fct-pc-body { margin: 0 !important; padding: 14px 18px 16px; border-top: 5px solid #FFD200; }
.fct-pc-body h3 { margin: 0; font-size: 24px; }
.fct-pc-body h3 a { color: inherit; text-decoration: none; }
.fct-pc-body h3 a::after { content: ""; position: absolute; inset: 0; }
.fct-pc-body p { margin: 2px 0 0; font-size: 15px; color: #595959; }
.fct-pc-noimg { background: #FFD200; display: flex; flex-direction: column; justify-content: flex-end; min-height: 200px; }
.fct-pc-noimg .fct-pc-body { border-top: 0; }
.fct-pc-noimg .fct-pc-body p { color: #1D1D1B; }

/* ===== v1.6: Instagram & Teilen ===== */
.fct-topbar a.fct-ig { display: inline-flex; align-items: center; gap: 5px; }
.fct-ig-icon { flex: 0 0 auto; }
@media (max-width: 600px) { .fct-topbar a.fct-ig span { display: none; } }
.fct-footer-social a { display: inline-flex; align-items: center; gap: 8px; color: #FFD200 !important; text-decoration: none; font-weight: 600; }
.fct-footer-social a:hover span { text-decoration: underline; }
.fct-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 40px 0 24px; padding: 18px 0; border-top: 1px solid #E6E6E6; border-bottom: 1px solid #E6E6E6; }
.fct-share-label { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 20px; text-transform: uppercase; margin-right: 6px; }
.fct-share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 2px solid #1D1D1B; border-radius: 6px; background: #fff; color: #1D1D1B; font: inherit; font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.2; }
.fct-share-btn:hover { background: #FFF6C2; }
.fct-share-native { background: #FFD200; border-color: #FFD200; }
.fct-share-native:hover { background: #F2C500; }
.fct-share-msg { flex-basis: 100%; font-size: 14px; color: #595959; }
.fct-share-msg:empty { display: none; }
/* alte AddToAny-Leiste unter Beiträgen ausblenden (ersetzt durch Teilen-Leiste) */
.single-post .addtoany_content { display: none !important; }

/* ===== v1.7: Flyer ===== */
.fct-flyer { padding: 40px 24px; }
.fct-flyer-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.fct-flyer-media { flex: 0 0 auto; display: block; }
.fct-flyer-img { display: block; max-height: 440px; width: auto; max-width: 100%; border-radius: 8px; box-shadow: 0 12px 32px rgba(0,0,0,.45); transition: transform .15s ease; }
.fct-flyer-media:hover .fct-flyer-img { transform: scale(1.02); }
.fct-flyer-body { flex: 1 1 320px; }
.fct-flyer-body h2 { margin: 6px 0 12px; }
.fct-flyer-body p { margin: 0 0 18px; max-width: 560px; }
.fct-flyer-body .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 700px) { .fct-flyer-inner { gap: 24px; } .fct-flyer-media { margin: 0 auto; } .fct-flyer-img { max-height: 380px; } }
.fct-flyer-notice { display: flex; align-items: center; justify-content: center; gap: 12px; background: #FFD200; color: #1D1D1B; padding: 7px 44px 7px 16px; position: relative; font-size: 15px; text-align: center; }
.fct-flyer-notice a { color: inherit; text-decoration: none; }
.fct-flyer-notice a:hover { text-decoration: underline; }
.fct-flyer-close { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: #1D1D1B; padding: 4px 8px; }

/* ===== v1.8: Vereinsseiten ===== */
.fct-names { list-style: none; padding: 0; margin: 16px 0; columns: 3 200px; column-gap: 24px; }
.fct-names li { break-inside: avoid; padding: 8px 2px; border-bottom: 1px solid #E6E6E6; }
.fct-selig { color: #595959; margin-left: 4px; }
.fct-roles { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.fct-role { margin: 0 !important; background: #fff; border: 1px solid #E6E6E6; border-top: 5px solid #FFD200; border-radius: 10px; padding: 18px 20px !important; }
.fct-role h3 { margin: 0 0 6px; font-size: 20px; color: #595959; }
.fct-role p { margin: 0; font-size: 19px; font-weight: 600; }
.fct-contact-card { gap: 24px !important; align-items: center !important; background: #F6F6F4; border-radius: 10px; padding: 20px !important; flex-wrap: wrap !important; }
.fct-contact-card .fct-obm-img { margin: 0 !important; flex: 0 0 140px; }
.fct-contact-card .fct-obm-img img { border-radius: 10px; width: 140px; height: auto; }
.fct-contact-card h3 { margin: 0; }
.fct-contact-card p { margin: 4px 0 0; }
.fct-people .fct-pc-img img { aspect-ratio: 3 / 4; object-position: center 20%; }
.fct-people .fct-pc-body h3 { font-size: 21px; }
.fct-downloads { list-style: none; padding: 0; margin: 8px 0 24px; }
.fct-downloads li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 2px; border-bottom: 1px solid #E6E6E6; }
.fct-downloads li a { font-weight: 600; text-decoration: none; }
.fct-downloads li a:hover { text-decoration: underline; }
.fct-ext { font-size: 12px; font-weight: 700; letter-spacing: .05em; background: #1D1D1B; color: #FFD200; padding: 2px 7px; border-radius: 4px; }
.fct-gal { margin-bottom: 28px !important; }
.fct-gal img { border-radius: 6px; }
.fct-table table { border-collapse: collapse; width: 100%; }
.fct-table td, .fct-table th { border-bottom: 1px solid #E6E6E6; padding: 8px 6px; text-align: left; }
.wp-block-gallery.has-nested-images.fct-gal figure.wp-block-image:not(#individual-image) { flex-grow: 0 !important; width: calc(33.333% - var(--wp--style--unstable-gallery-gap, 16px) * 0.667) !important; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images.fct-gal figure.wp-block-image:not(#individual-image) { width: calc(50% - var(--wp--style--unstable-gallery-gap, 16px) * 0.5) !important; } }

/* ===== v1.9: Service-Seiten ===== */
.fct-notice { border-left: 5px solid #FFD200; border-radius: 8px; padding: 18px 22px !important; margin: 0 0 28px !important; }
.fct-notice h3 { margin: 0 0 6px; font-size: 22px; }
.fct-notice p { margin: 0; }
.fct-steps { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; counter-reset: step; margin-bottom: 28px !important; }
.fct-step { margin: 0 !important; background: #fff; border: 1px solid #E6E6E6; border-radius: 10px; padding: 18px 20px !important; position: relative; }
.fct-step::before { counter-increment: step; content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #FFD200; font-weight: 800; margin-bottom: 8px; }
.fct-step h3 { margin: 0 0 6px; font-size: 21px; }
.fct-step p { margin: 0; font-size: 16px; }
.fct-dates { list-style: none; padding: 0; margin: 8px 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 16px; }
.fct-dates li { padding: 10px 14px; border: 1px solid #E6E6E6; border-left: 4px solid #FFD200; border-radius: 6px; }
.fct-date-note { display: block; font-size: 14px; color: #595959; }
.fct-events { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 24px !important; }
.fct-event-card { margin: 0 !important; background: #1D1D1B; color: #fff; border-radius: 10px; padding: 20px 22px !important; }
.fct-event-card .fct-kicker { color: #FFD200; margin: 0 0 6px !important; }
.fct-event-card h3 { margin: 0 0 6px; color: #fff; }
.fct-event-card h3 a { color: #fff; }
.fct-event-card p:last-child { margin-bottom: 0; }
.fct-flyer-row { gap: 32px !important; align-items: center !important; flex-wrap: wrap !important; margin-bottom: 24px !important; }
.fct-flyer-row .fct-flyer-img-inline { flex: 0 0 260px; margin: 0 !important; }
.fct-flyer-row .fct-flyer-img-inline img { border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.2); width: 100%; height: auto; }
.fct-flyer-row > .wp-block-group { flex: 1 1 280px; }
.fct-event-card p a { color: #FFD200 !important; }

/* ===== v1.10: Wechselnde Startbilder ===== */
.fct-hero-slides { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #1D1D1B; }
.fct-hero-slides img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; aspect-ratio: auto !important; border-radius: 0 !important; }
.fct-hero-slides .fct-slide { opacity: 0; transition: opacity 1.2s ease; }
.fct-hero-slides .fct-slide.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .fct-hero-slides .fct-slide { transition: none; } }
.fct-names-count { color: #595959; margin: 8px 0 4px; }
.fct-names-flow { columns: 4 180px; }
.fct-names-flow li { font-size: 16px; padding: 7px 2px; }

/* v1.11.5 – Alterstabelle */
.fct-agetable{margin:1rem 0 .5rem;overflow-x:auto}
.fct-agetable table{display:table!important;table-layout:auto!important;border-collapse:separate;border-spacing:0;width:100%;min-width:560px;border:2px solid #1D1D1B;border-radius:10px;overflow:hidden;font-size:1rem}
.fct-agetable thead th{background:#1D1D1B;color:#fff;font-family:"Barlow Condensed",sans-serif;text-transform:uppercase;letter-spacing:.03em;font-weight:700;text-align:left;padding:.7rem .9rem;border:0}
.fct-agetable td{padding:.6rem .9rem;border:0;border-top:1px solid #e3e3e3;vertical-align:top}
.fct-agetable tbody tr:nth-child(even) td{background:#f6f6f4}
.fct-agetable td:first-child{font-family:"Barlow Condensed",sans-serif;font-weight:700;font-size:1.25rem;background:#FFD200!important;color:#1D1D1B;width:5.5rem}
.fct-agetable figcaption{font-size:.9rem;color:#555;margin-top:.6rem;text-align:left}

/* v1.12 – Smartphone-Kopfbereich */
@media (max-width: 781px) {
  .fct-topbar { padding: 7px 14px; font-size: 13px; justify-content: center !important; }
  .fct-topbar p { white-space: nowrap; overflow-x: auto; scrollbar-width: none; text-align: center; max-width: 100%; }
  .fct-topbar p::-webkit-scrollbar { display: none; }
  .fct-topbar a { margin: 0 8px; }
  .fct-topbar a.fct-ig { vertical-align: middle; }
  .fct-hide-m { display: none; }
  .fct-header { padding: 10px 14px; flex-wrap: nowrap !important; gap: 10px; align-items: center; }
  .fct-brand { gap: 10px; min-width: 0; }
  .fct-brand img, .fct-brand .wp-block-image img { width: 42px !important; }
  .fct-brand p { font-size: 17px; }
  .fct-header > .wp-block-group:last-child { flex-wrap: nowrap !important; gap: 8px; flex-shrink: 0; }
  .fct-header > .wp-block-group:last-child > .wp-block-navigation { order: 2; }
  .fct-header > .wp-block-group:last-child > .wp-block-buttons { order: 1; }
  .fct-header .wp-block-buttons .wp-block-button__link { font-size: 14px; padding: 9px 11px; }
  .fct-header .wp-block-navigation__responsive-container-open svg { width: 30px; height: 30px; }
}
@media (max-width: 359px) { .fct-header .wp-block-buttons { display: none; } }
@media (max-width: 520px) { .fct-rl .w { display: none !important; } .fct-rl { font-size: 14px; } .fct-rl th, .fct-rl td { padding-left: 4px; padding-right: 4px; } }
@media (max-width: 600px) {
  .fct-logos-gold { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .fct-logos-gold .wp-block-image { height: 92px; padding: 8px; }
  .fct-logos-gold .wp-block-image img { max-height: 74px; }
  .fct-logos-partner .wp-block-image { flex: 0 1 calc(50% - 10px); height: 72px; box-sizing: border-box; }
  .fct-logos-silver .wp-block-image { flex: 0 1 calc(50% - 10px); box-sizing: border-box; }
}
@media (max-width: 600px) {
  .fct-agetable table { min-width: 0; font-size: 13.5px; }
  .fct-agetable thead th { padding: .55rem .4rem; font-size: 12px; line-height: 1.15; }
  .fct-agetable td { padding: .5rem .4rem; }
  .fct-agetable td:first-child { width: 2.8rem; font-size: 1.05rem; text-align: center; }
}

.fct-header .wp-block-navigation__submenu-icon:focus:not(:focus-visible), .fct-header .wp-block-navigation-item__content:focus:not(:focus-visible), .fct-header .wp-block-navigation-submenu__toggle:focus:not(:focus-visible) { outline: none; }
/* Teamseiten Junioren */
.fct-teaminfo { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px 28px; margin: 20px 0 24px; }
.fct-teaminfo p { margin: 0; line-height: 1.45; }
.fct-teaminfo strong { font-family: var(--wp--preset--font-family--heading); text-transform: uppercase; letter-spacing: .04em; font-size: 14px; color: #595959; }
/* Formular-Buttons (WPForms) im Club-Design */
.wpforms-container .wpforms-submit-container button[type=submit], .wpforms-container button.wpforms-submit { background: #FFD200 !important; color: #1D1D1B !important; border: 0 !important; border-radius: 6px !important; font-family: var(--wp--preset--font-family--heading) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: .04em; font-size: 17px !important; padding: 12px 26px !important; height: auto !important; }
.wpforms-container button.wpforms-submit:hover { background: #1D1D1B !important; color: #FFD200 !important; }
@media (max-width: 600px) { .fct-agetable thead th:first-child { font-size: 0; } .fct-agetable thead th:first-child::after { content: "Kat."; font-size: 12px; } }

/* v1.14 – Handy-Menü: Untermenüs ausklappbar, Teams verschachtelt */
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu { position: relative; width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation__submenu-container { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.fct-open > .wp-block-navigation__submenu-container { display: flex !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { display: flex !important; align-items: center; justify-content: center; position: absolute; right: 0; top: 0; width: 44px; height: 40px; margin: 0; padding: 0; background: transparent; border: 0; cursor: pointer; color: inherit; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon svg { width: 14px; height: 14px; transition: transform .2s; display: block; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.fct-open > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg); }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation-item__content { padding-right: 48px; display: block; width: 100%; min-height: 40px; line-height: 40px; }
.wp-block-navigation__responsive-container.is-menu-open .fct-nav-group > .wp-block-navigation-item__content { font-size: 17px; }
/* Desktop: verschachtelte Team-Gruppen */
@media (min-width: 600px) {
	.fct-header .wp-block-navigation .fct-nav-group > .wp-block-navigation__submenu-container { min-width: 230px; }
	.fct-header .wp-block-navigation .fct-nav-group > .wp-block-navigation-item__content { font-weight: 600; }
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation__submenu-icon svg { transform: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu.fct-open > .wp-block-navigation__submenu-icon svg { transform: rotate(180deg) !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { width: 100%; box-sizing: border-box; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item { width: 100%; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus { outline: 2px solid #FFD200; outline-offset: 2px; }

/* v1.15 – Grafiken in Beiträgen (Jahresversammlung) */
.fct-honors { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 8px 0 20px; }
.fct-honor { background: #1D1D1B; color: #fff; border-radius: 10px; padding: 22px 22px 20px; border-top: 6px solid #FFD200; }
.fct-honor-k { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #FFD200; font-weight: 700; }
.fct-honor h3 { color: #fff; margin: 6px 0 6px; font-size: 26px; }
.fct-honor p { margin: 0; color: #e8e8e8; }
.fct-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 16px 0 24px; }
.fct-kpi { background: #f6f6f4; border-radius: 10px; padding: 16px 18px; border-left: 6px solid #FFD200; }
.fct-kpi span { display: block; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #595959; font-weight: 700; }
.fct-kpi strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 30px; line-height: 1.1; margin-top: 4px; white-space: nowrap; }
.fct-kpi.is-neg { border-left-color: #B3261E; }
.fct-kpi.is-neg strong, .fct-bridge-step.is-neg strong { color: #B3261E; }
.fct-split { margin: 8px 0 24px; }
.fct-split-bar { display: flex; height: 34px; border-radius: 8px; overflow: hidden; gap: 3px; }
.fct-split-bar .a, .fct-split-legend i.a { background: #1D1D1B; }
.fct-split-bar .b, .fct-split-legend i.b { background: #FFD200; }
.fct-split-legend { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 6px; }
.fct-split-legend li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fct-split-legend i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; flex: 0 0 14px; }
.fct-bridge { display: flex; align-items: stretch; gap: 10px; margin: 8px 0 24px; flex-wrap: wrap; }
.fct-bridge-step { flex: 1 1 170px; background: #f6f6f4; border-radius: 10px; padding: 14px 16px; }
.fct-bridge-step span { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #595959; font-weight: 700; }
.fct-bridge-step strong { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 26px; margin-top: 4px; white-space: nowrap; }
.fct-bridge-step small { display: block; margin-top: 6px; font-size: 13px; color: #595959; line-height: 1.4; }
.fct-bridge-op { align-self: center; font-family: var(--wp--preset--font-family--heading); font-size: 30px; font-weight: 800; }
.fct-outlook { list-style: none; counter-reset: o; padding: 0; margin: 10px 0 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.fct-outlook li { counter-increment: o; background: #fff; border: 1px solid #E6E6E6; border-radius: 10px; padding: 16px 16px 16px 58px; position: relative; }
.fct-outlook li::before { content: "0" counter(o); position: absolute; left: 16px; top: 14px; font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 24px; color: #1D1D1B; background: #FFD200; border-radius: 6px; padding: 0 5px; }
.fct-outlook strong { display: block; }
.fct-outlook span { display: block; color: #444; font-size: 15px; margin-top: 2px; }
.fct-feetable td:first-child { width: auto !important; font-size: 1rem !important; font-family: var(--wp--preset--font-family--body) !important; font-weight: 600 !important; text-align: left !important; }
.fct-feetable td:last-child { color: #1a7f37; font-weight: 700; white-space: nowrap; }
.fct-fees { margin: 18px 0 20px; display: grid; gap: 12px; }
.fct-fee-legend { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; }
.fct-fee-legend i { display: inline-block; width: 14px; height: 14px; border-radius: 3px; vertical-align: -2px; margin-right: 6px; }
.fct-fee-legend i.old, .fct-fee-bars .old { background: #cfcfcb; }
.fct-fee-legend i.new, .fct-fee-bars .new { background: #FFD200; }
.fct-fee { display: grid; grid-template-columns: 190px 1fr; gap: 12px; align-items: center; }
.fct-fee-k { font-weight: 600; font-size: 15px; }
.fct-fee-bars { display: grid; gap: 3px; }
.fct-fee-bars span { display: block; height: 20px; line-height: 20px; border-radius: 4px; font-size: 12px; font-weight: 700; padding-left: 6px; white-space: nowrap; min-width: 64px; box-sizing: border-box; }
@media (max-width: 600px) {
  .fct-fee { grid-template-columns: 1fr; gap: 4px; }
  .fct-kpi strong { font-size: 26px; }
  .fct-bridge { flex-direction: column; }
  .fct-bridge-op { align-self: flex-start; padding-left: 16px; line-height: 1; }
  .fct-feetable table { font-size: 12.5px; }
  .fct-feetable thead th { font-size: 10.5px !important; }
  .fct-feetable thead th:first-child { font-size: 10.5px !important; }
  .fct-feetable thead th:first-child::after { content: none !important; }
  .fct-feetable td:first-child { font-size: 13px !important; }
}
@media (max-width: 600px) { .fct-feetable th:nth-child(2), .fct-feetable td:nth-child(2), .fct-feetable th:nth-child(3), .fct-feetable td:nth-child(3) { display: none; } }

/* v1.15 – Tablet: Hamburger-Menü bis 1023px, kompakte Navigation bis 1279px */
@media (min-width: 600px) and (max-width: 1023px) {
  .fct-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .fct-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .fct-header { flex-wrap: nowrap !important; align-items: center; }
  .fct-header > .wp-block-group:last-child { flex-wrap: nowrap !important; gap: 14px; }
  .fct-header > .wp-block-group:last-child > .wp-block-navigation { order: 2; }
  .fct-header > .wp-block-group:last-child > .wp-block-buttons { order: 1; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .fct-header { flex-wrap: nowrap !important; gap: 16px; }
  .fct-header .wp-block-navigation { font-size: 16px !important; gap: 4px 15px !important; }
  .fct-header .wp-block-navigation .wp-block-navigation__container { gap: 4px 15px !important; flex-wrap: nowrap; }
  .fct-brand p { font-size: 21px; }
  .fct-brand img, .fct-brand .wp-block-image img { width: 46px !important; }
  .fct-header .wp-block-buttons .wp-block-button__link { font-size: 15px; padding: 10px 14px; }
  .fct-header > .wp-block-group:last-child { flex-wrap: nowrap !important; gap: 14px; }
}
.fct-feetable th:nth-child(n+4), .fct-feetable td:nth-child(n+4) { white-space: nowrap; }
@media (max-width: 600px) {
  .fct-bridge-step { flex: 0 0 auto; }
  h1.fct-page-title, .wp-block-post-title.fct-page-title { font-size: clamp(30px, 9vw, 44px); hyphens: auto; overflow-wrap: anywhere; }
}
.fct-hero-slides img { object-position: 0% 50%; }

/* v1.16 – Hamburger mit drei Strichen + Menü als Dropdown */
.fct-header .wp-block-navigation__responsive-container-open { width: 34px; height: 34px; padding: 0 !important; position: relative; align-items: center; justify-content: center; }
.fct-header .wp-block-navigation__responsive-container-open svg { display: none !important; }
.fct-header .wp-block-navigation__responsive-container-open::before,
.fct-header .wp-block-navigation__responsive-container-open::after { content: ""; position: absolute; left: 4px; right: 4px; height: 3px; border-radius: 2px; background: #1D1D1B; transition: transform .2s, top .2s, opacity .2s; }
.fct-header .wp-block-navigation__responsive-container-open::before { top: 9px; box-shadow: 0 7px 0 #1D1D1B, 0 14px 0 #1D1D1B; }
.fct-header .wp-block-navigation__responsive-container-open::after { top: 16px; opacity: 0; }
.fct-header .wp-block-navigation__responsive-container-open.fct-is-open::before { top: 16px; box-shadow: none; transform: rotate(45deg); }
.fct-header .wp-block-navigation__responsive-container-open.fct-is-open::after { opacity: 1; transform: rotate(-45deg); }

@keyframes fctdd { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.fct-header .wp-block-navigation__responsive-container.is-menu-open.fct-dd-below {
  top: var(--fct-dd-top, 0) !important; bottom: auto !important; height: auto !important;
  max-height: calc(100vh - var(--fct-dd-top, 0px)); max-height: calc(100dvh - var(--fct-dd-top, 0px));
  overflow-y: auto; padding: 6px 20px 22px !important; box-shadow: 0 14px 28px rgba(0,0,0,.18);
  border-top: 3px solid #FFD200; animation: fctdd .18s ease-out;
}
.fct-header .is-menu-open.fct-dd-below .wp-block-navigation__responsive-container-close { display: none !important; }
.fct-header .is-menu-open.fct-dd-below .wp-block-navigation__responsive-dialog { margin-top: 0 !important; }
.fct-header .is-menu-open.fct-dd-below .wp-block-navigation__responsive-container-content { padding-top: 0 !important; }
.fct-header .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item { border-bottom: 1px solid #ececec; padding: 4px 0; width: 100%; }
.fct-header .wp-block-navigation__responsive-container:not(.is-menu-open) .fct-nav-mobile-only { display: none !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-icon { z-index: 2; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu { align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu > .wp-block-navigation__submenu-container { width: 100% !important; align-items: stretch !important; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container > .wp-block-navigation-item { width: 100% !important; align-items: stretch !important; }
/* Preistabellen (Jahresbeiträge) */
.fct-pricetable td:first-child { width: auto !important; font-size: 1rem !important; font-family: var(--wp--preset--font-family--body) !important; font-weight: 600 !important; text-align: left !important; }
.fct-pricetable td:not(:first-child), .fct-pricetable th:not(:first-child) { white-space: nowrap; }
@media (max-width: 600px) { .fct-pricetable thead th:first-child { font-size: 12px !important; } .fct-pricetable thead th:first-child::after { content: none !important; } .fct-pricetable td:first-child { font-size: 14px !important; } }

/* v1.17 – Nächstes Heimspiel + Kalender-Abo */
.fct-next-game { background: #1D1D1B; color: #fff; border-radius: 10px; padding: 22px 22px 18px; border-top: 6px solid #FFD200; margin-bottom: 20px; }
.fct-next-game .fct-kicker { color: #FFD200; margin: 0 0 6px; }
.fct-next-game h3 { color: #fff; margin: 0 0 8px; font-size: 26px; line-height: 1.1; }
.fct-next-meta { margin: 0 0 14px; color: #e6e6e6; font-size: 15px; line-height: 1.45; }
.fct-countdown { display: flex; gap: 8px; margin: 0 0 12px; }
.fct-countdown span { flex: 1; background: #FFD200; color: #1D1D1B; border-radius: 8px; text-align: center; padding: 8px 4px 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.fct-countdown b { display: block; font-family: var(--wp--preset--font-family--heading); font-size: 30px; line-height: 1; letter-spacing: 0; }
.fct-countdown.is-live span { background: #fff; }
.fct-next-links { margin: 0; font-size: 15px; }
.fct-next-links a { color: #FFD200; }
.fct-event-card.is-game { border-left: 6px solid #FFD200; }
.fct-cal-abo { margin: 28px 0 8px; padding: 20px 22px; border-radius: 10px; background: #f6f6f4; border-left: 6px solid #FFD200; }
.fct-cal-abo-t { margin: 0 0 14px; }
.fct-cal-abo .wp-block-buttons { gap: 10px; flex-wrap: wrap; }
/* Liveticker eingebettet */
.fct-ticker-embed { margin: 20px 0 24px; border-radius: 12px; overflow: hidden; border: 2px solid #1D1D1B; background: #1D1D1B; max-width: 520px; margin-left: auto; margin-right: auto; }
.fct-ticker-embed iframe { display: block; width: 100%; height: 80vh; min-height: 560px; max-height: 900px; border: 0; }
.fct-cal-btns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.fct-cal-btn { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 10px 14px; border-radius: 8px; border: 2px solid #1D1D1B; background: #fff; color: #1D1D1B !important; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .03em; text-decoration: none !important; line-height: 1.15; box-sizing: border-box; }
.fct-cal-btn.is-primary { background: #1D1D1B; color: #FFD200 !important; }
.fct-cal-btn:hover, .fct-cal-btn:focus-visible { background: #FFD200; color: #1D1D1B !important; border-color: #1D1D1B; }
@media (max-width: 700px) { .fct-cal-btns { grid-template-columns: 1fr; } }
/* Desktop: verschachtelte Untermenüs (Teams › Gruppe) öffnen nach rechts – passend zum Pfeil */
@media (min-width: 1024px) {
  .fct-header .wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container { left: 100% !important; right: auto !important; top: -1px !important; }
}
/* Kopfbereich: «Mitglied werden» mit Rahmen im dunkleren Streifen-Gelb */
.fct-header .wp-block-buttons .wp-block-button__link { border: 3px solid #F0C500 !important; box-shadow: none !important; transition: background .12s, border-color .12s; }
.fct-header .wp-block-buttons .wp-block-button__link:hover, .fct-header .wp-block-buttons .wp-block-button__link:focus-visible { background: #F0C500 !important; color: #1D1D1B !important; }
@media (max-width: 420px) { .fct-header .wp-block-buttons .wp-block-button__link { font-size: 13px !important; padding: 7px 9px !important; } .fct-brand p { font-size: 16px; } }
/* Desktop: Verein-Menü öffnet nach rechts, Spalten ausgeglichen */
@media (min-width: 1024px) {
  .fct-header .wp-block-navigation:not(.is-menu-open) .fct-nav-cols > .wp-block-navigation__submenu-container { left: 0 !important; right: auto !important; grid-template-rows: repeat(7, auto) !important; min-width: 460px !important; }
}
/* Fussballschule – nächste Trainings (Startseite) */
.fct-fs-next { background: #1D1D1B; color: #fff; border-radius: 8px; padding: 14px 16px 12px; margin: 4px 0 18px; border-left: 5px solid #FFD200; }
.fct-fs-next p { margin: 0; }
.fct-fs-k { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: #FFD200; }
.fct-fs-date { font-family: var(--wp--preset--font-family--heading); font-size: 24px; font-weight: 800; line-height: 1.15; margin-top: 4px !important; text-transform: uppercase; }
.fct-fs-ort { font-size: 14px; color: #e3e3e3; }
.fct-fs-more { font-size: 13px; color: #cfcfcf; margin-top: 8px !important; line-height: 1.45; }
.fct-fs-link { margin-top: 8px !important; font-size: 14px; }
.fct-fs-link a { color: #FFD200; }
.fct-fs-card .fct-fs-next { margin: 10px 0 16px; }
.fct-fs-card .fct-fs-link { display: none; }

/* v1.19 – Livescore */
.fct-livescore { margin: 16px 0 24px; }
.fct-ls-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.fct-ls-card { display: block; background: #1D1D1B; color: #fff !important; text-decoration: none !important; border-radius: 12px; padding: 16px 18px 14px; border-top: 5px solid #FFD200; transition: transform .12s; }
.fct-ls-card:hover { transform: translateY(-2px); }
.fct-ls-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.fct-ls-team { font-family: var(--wp--preset--font-family--heading); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; color: #FFD200; }
.fct-ls-badge { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 999px; background: #3a3a37; color: #fff; white-space: nowrap; }
.fct-ls-badge.is-live { background: #D7261E; animation: fctpulse 1.6s infinite; }
.fct-ls-badge.is-done { background: #555; }
@keyframes fctpulse { 50% { opacity: .65; } }
.fct-ls-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.fct-ls-name { font-weight: 700; font-size: 15px; line-height: 1.25; }
.fct-ls-name.is-right { text-align: right; }
.fct-ls-name.is-fct { color: #FFD200; }
.fct-ls-score { font-family: var(--wp--preset--font-family--heading); font-size: 34px; font-weight: 800; line-height: 1; white-space: nowrap; }
.fct-ls-meta { margin-top: 10px; font-size: 13px; color: #bdbdbd; }
.fct-ls-scorers { margin-top: 6px; font-size: 13px; color: #e6e6e6; }
.fct-ls-note { margin-top: 12px; font-size: 14px; }
.fct-ls-loading { color: #666; }
.fct-livescore.is-live { margin: 0; }
.fct-ls-head { margin: 0 0 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #D7261E; }
.fct-live-strip { padding-top: 20px !important; padding-bottom: 20px !important; }
.fct-live-strip:has(.fct-livescore[hidden]) { display: none; }
.fct-live-strip { display: none; }
.fct-live-strip:has(.fct-livescore:not([hidden])) { display: block; }
