/**
 * Verein Sport Widgets für Borlabs Cookie
 * Stylesheet für Fallback-Container und responsive Widgets
 * Vereinsfarben TSV Breitengüßbach: Gelb (#F5B800) / Schwarz (#1C1D1F / #111111)
 */

:root {
    --vsw-primary-yellow: var(--e-global-color-primary, #f5b800);
    --vsw-primary-yellow-hover: #e0a700;
    --vsw-dark-bg: #1a1a1a;
    --vsw-dark-card: #222428;
    --vsw-dark-border: #33363d;
    --vsw-text-light: #f3f4f6;
    --vsw-text-muted: #9ca3af;
    --vsw-radius: 8px;
    --vsw-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    --vsw-font-family: var(--e-global-typography-text-font-family, var(--wp--preset--font-family--body, inherit));
    --vsw-heading-font-family: var(--e-global-typography-primary-font-family, var(--vsw-font-family));
    --vsw-base-font-size: var(--e-global-typography-text-font-size, var(--wp--preset--font-size--normal, 16px));
    --vsw-line-height: var(--e-global-typography-text-line-height, 1.65);
}

/* Universelle Schriftarten- & Basis-Schriftgrößen-Durchsetzung (immun gegen html { font-size: 62.5% } in Themes wie OceanWP) */
.vsw-widget-wrapper,
.vsw-dashboard,
.vsw-mytt-widget-wrapper {
    font-family: var(--vsw-font-family);
    font-size: var(--vsw-base-font-size, 16px);
    line-height: var(--vsw-line-height, 1.65);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.vsw-widget-wrapper *,
.vsw-dashboard *,
.vsw-mytt-widget-wrapper * {
    font-family: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* WordPress-orientierte Standard-Typografie innerhalb des Dashboards (überschreibt Theme-Resets wie font-size: 100%) */
.vsw-dashboard h2,
.vsw-widget-wrapper h2 {
    font-family: var(--vsw-heading-font-family);
    font-size: 1.45em;
    line-height: 1.35;
}

.vsw-dashboard h3,
.vsw-widget-wrapper h3 {
    font-family: var(--vsw-heading-font-family);
    font-size: 1.3em;
    line-height: 1.35;
}

.vsw-dashboard h4,
.vsw-widget-wrapper h4 {
    font-family: var(--vsw-heading-font-family);
    font-size: 1.18em;
    line-height: 1.4;
}

.vsw-dashboard p,
.vsw-dashboard li,
.vsw-widget-wrapper p {
    font-size: 1em;
    line-height: 1.65;
}

/* Schutz für Tabellen innerhalb der Vereinswidgets gegen globale Custom-CSS Mobile-Regeln (z. B. td { font-size: 9px; float: left }) */
.vsw-dashboard table thead,
.vsw-mytt-widget-wrapper table thead {
    display: table-header-group !important;
}

.vsw-dashboard table tr,
.vsw-mytt-widget-wrapper table tr {
    float: none !important;
    display: table-row !important;
    width: auto !important;
    margin-bottom: 0 !important;
}

.vsw-dashboard table th,
.vsw-dashboard table td,
.vsw-mytt-widget-wrapper table th,
.vsw-mytt-widget-wrapper table td {
    float: none !important;
    display: table-cell !important;
    width: auto !important;
}

.vsw-dashboard table td::before,
.vsw-mytt-widget-wrapper table td::before {
    content: none !important;
    display: none !important;
}

/* Wrapper-Container */
.vsw-widget-wrapper {
    position: relative;
    width: 100%;
    margin: 24px 0;
    box-sizing: border-box;
    clear: both;
}

/* Consent Fallback Box */
.vsw-consent-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--vsw-dark-bg) 0%, var(--vsw-dark-card) 100%);
    border: 1px solid var(--vsw-dark-border);
    border-left: 5px solid var(--vsw-primary-yellow);
    border-radius: var(--vsw-radius);
    padding: 35px 24px;
    color: var(--vsw-text-light);
    box-shadow: var(--vsw-shadow);
    text-align: center;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.vsw-fallback-inner {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Fallback Icon */
.vsw-fallback-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: rgba(245, 184, 0, 0.12);
    border: 1px solid rgba(245, 184, 0, 0.3);
    border-radius: 50%;
    color: var(--vsw-primary-yellow);
    margin-bottom: 4px;
}

.vsw-fallback-icon svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Typografie */
.vsw-fallback-title {
    margin: 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.vsw-fallback-text {
    margin: 0;
    font-size: 1em;
    line-height: 1.55;
    color: var(--vsw-text-muted);
}

.vsw-fallback-subtext {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.45;
    color: #71717a;
}

/* Buttons */
.vsw-fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 8px;
}

.vsw-btn,
.vsw-consent-fallback .borlabs-cookie-preference {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    border: none;
    line-height: 1.25;
}

.vsw-btn-primary {
    background-color: var(--vsw-primary-yellow);
    color: #111111 !important;
    box-shadow: 0 2px 6px rgba(245, 184, 0, 0.35);
}

.vsw-btn-primary:hover,
.vsw-btn-primary:focus {
    background-color: var(--vsw-primary-yellow-hover);
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(245, 184, 0, 0.45);
}

.vsw-btn-secondary {
    background-color: transparent;
    color: var(--vsw-text-light) !important;
    border: 1px solid var(--vsw-dark-border);
}

.vsw-btn-secondary:hover,
.vsw-btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: #555861;
}

/* Ladeanzeige (Spinner) */
.vsw-loading-indicator {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 32px;
    color: var(--vsw-text-muted);
    font-size: 1em;
}

.vsw-spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(245, 184, 0, 0.2);
    border-top-color: var(--vsw-primary-yellow);
    border-radius: 50%;
    animation: vsw-spin 0.8s linear infinite;
}

@keyframes vsw-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ziel-Container für die Widgets */
/* Wrapper-Container mit garantierter Breitenbegrenzung */
.vsw-widget-wrapper {
    position: relative;
    width: 100%;
    max-width: 100% !important;
    margin: 24px 0;
    box-sizing: border-box;
    clear: both;
}

/* Ziel-Container für die Widgets (verhindert Ausbrechen nach rechts) */
.vsw-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    background: transparent;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

/* Spezifische Korrekturen für BFV- und DBB-Iframes/Tabellen */
.vsw-widget-container iframe,
div[id^="widget_"] iframe {
    width: 100% !important;
    max-width: 100% !important;
    border: none !important;
    display: block;
    box-sizing: border-box;
}

.vsw-widget-container table,
div[id^="widget_"] table {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Elementor & Gutenberg spezifische Anpassungen */
.elementor-widget-shortcode .vsw-widget-wrapper,
.wp-block-shortcode .vsw-widget-wrapper {
    margin: 0;
}

/* ==========================================================================
   VEREINS-DASHBOARD (Mannschafts-Dashboard mit Menü)
   ========================================================================== */
.vsw-dashboard {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 24px 0;
    border-radius: var(--vsw-radius);
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important; /* IMMER vertikal: Header oben, Sportbereich darunter */
}

.vsw-dashboard-dark {
    background: #18191c;
    border-color: #2e3138;
    color: #f3f4f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

/* Dashboard Header */
.vsw-dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fafafa;
    border-bottom: 2px solid var(--vsw-primary-yellow);
    width: 100%;
    box-sizing: border-box;
}

.vsw-dashboard-dark .vsw-dashboard-header {
    background: #141517;
    border-bottom-color: var(--vsw-primary-yellow);
}

.vsw-dashboard-title {
    margin: 0;
    font-size: 1.35em;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: normal;
}

.vsw-dashboard-dark .vsw-dashboard-title {
    color: #ffffff;
}

/* Sportart Switcher Tabs (falls beide Sportarten aktiv) */
.vsw-sport-switch {
    display: inline-flex;
    background: #e5e7eb;
    padding: 3px;
    border-radius: 6px;
    gap: 2px;
}

.vsw-dashboard-dark .vsw-sport-switch {
    background: #2a2d34;
}

.vsw-sport-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    color: #4b5563;
    transition: all 0.2s ease;
}

.vsw-dashboard-dark .vsw-sport-btn {
    color: #9ca3af;
}

.vsw-sport-btn.active {
    background: var(--vsw-primary-yellow);
    color: #111111;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

/* Dashboard Layout: Sidebar */
.vsw-dashboard-body.vsw-dashboard-layout-sidebar,
.vsw-dash-sport-section > .vsw-dashboard-layout-sidebar,
.vsw-dashboard-layout-sidebar > .vsw-dashboard-body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: 480px;
    width: 100%;
    box-sizing: border-box;
}

.vsw-dashboard-sidebar {
    width: 230px;
    min-width: 195px;
    max-width: 250px;
    flex-shrink: 0;
    background: #1c1c1c; /* Moderner, edler Vereins-Kontrast */
    border-right: 2px solid var(--vsw-primary-yellow);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    box-sizing: border-box;
    overflow-y: auto;
    max-height: 650px;
}

/* Dezente Scrollbar für lange Mannschaftslisten */
.vsw-dashboard-sidebar::-webkit-scrollbar {
    width: 4px;
}
.vsw-dashboard-sidebar::-webkit-scrollbar-track {
    background: #1c1c1c;
}
.vsw-dashboard-sidebar::-webkit-scrollbar-thumb {
    background: var(--vsw-primary-yellow);
    border-radius: 4px;
}

.vsw-dashboard-dark .vsw-dashboard-sidebar {
    background: #141414;
    border-right-color: #2e3138;
}

.vsw-sidebar-label {
    display: none !important;
}

/* Mannschafts-Buttons in der Sidebar */
.vsw-dashboard-sidebar .vsw-team-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 10px 14px;
    font-size: 1em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background: #282828;
    color: #e5e7eb;
    box-shadow: none;
    transition: all 0.15s ease;
    text-align: left;
    box-sizing: border-box;
    line-height: 1.4;
}

.vsw-dashboard-sidebar .vsw-team-btn:hover {
    background: #363636;
    color: var(--vsw-primary-yellow);
}

.vsw-dashboard-sidebar .vsw-team-btn.active {
    background: var(--vsw-primary-yellow) !important;
    color: #111111 !important;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Allgemeines Mannschafts-Button Basis-Styling */
.vsw-team-btn {
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}

/* Dashboard Layout: Horizontale Tabs (oben) */
.vsw-dashboard-layout-tabs .vsw-dashboard-body,
.vsw-dashboard-layout-top .vsw-dashboard-body,
.vsw-dashboard-layout-pills .vsw-dashboard-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vsw-dashboard-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 2px solid var(--vsw-primary-yellow);
}

.vsw-dashboard-dark .vsw-dashboard-nav-tabs {
    background: #1f2126;
    border-bottom-color: var(--vsw-primary-yellow);
}

.vsw-dashboard-nav-tabs .vsw-team-btn {
    width: auto;
    padding: 9px 16px;
    font-size: 1em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vsw-dashboard-nav-tabs .vsw-team-btn:hover {
    background: #fffbeb;
    color: #111111;
    border-color: var(--vsw-primary-yellow);
}

.vsw-dashboard-nav-tabs .vsw-team-btn.active {
    background: var(--vsw-primary-yellow) !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
    font-weight: 700;
    box-shadow: none !important;
    padding: 8px 15px !important;
}

.vsw-dashboard-layout-pills .vsw-team-btn {
    border-radius: 30px;
}

/* Dashboard Layout: Dropdown */
.vsw-dashboard-layout-dropdown,
.vsw-dashboard-layout-select {
    display: flex;
    flex-direction: column;
}

.vsw-dashboard-nav-dropdown {
    padding: 18px 24px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.vsw-dashboard-dark .vsw-dashboard-nav-dropdown {
    background: #1f2126;
    border-bottom-color: #2e3138;
}

.vsw-team-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: #ffffff;
    border: 2px solid var(--vsw-primary-yellow);
    border-radius: 6px;
    padding: 10px 38px 10px 16px;
    font-size: 1em;
    font-weight: 700;
    color: #111;
    cursor: pointer;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23111111%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 14px top 50%;
    background-size: 12px auto;
    min-width: 250px;
    max-width: 100%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.vsw-dashboard-dark .vsw-team-select {
    background-color: #25282f;
    color: #f3f4f6;
    border-color: var(--vsw-primary-yellow);
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23f5b800%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
}

/* Dashboard Layout: Akkordeon */
.vsw-dashboard-layout-accordion,
.vsw-dashboard-layout-akkordeon {
    display: block;
}

.vsw-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
}

.vsw-accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.2s ease;
}

.vsw-dashboard-dark .vsw-accordion-item {
    background: #1f2126;
    border-color: #2e3138;
}

.vsw-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f9fafb;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1em;
    color: #1f2937;
    border: none;
    width: 100%;
    text-align: left;
    transition: all 0.2s ease;
}

.vsw-dashboard-dark .vsw-accordion-header {
    background: #25282f;
    color: #f3f4f6;
}

.vsw-accordion-header:hover {
    background: #fff8e1;
    color: #000;
}

.vsw-dashboard-dark .vsw-accordion-header:hover {
    background: #2d3039;
    color: var(--vsw-primary-yellow);
}

.vsw-accordion-item.active .vsw-accordion-header {
    background: var(--vsw-primary-yellow) !important;
    color: #111111 !important;
    font-weight: 800;
}

.vsw-accordion-icon {
    transition: transform 0.25s ease;
    font-size: 0.95em;
    line-height: 1;
}

.vsw-accordion-item.active .vsw-accordion-icon {
    transform: rotate(180deg);
}

.vsw-accordion-body {
    display: none;
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.vsw-dashboard-dark .vsw-accordion-body {
    border-top-color: #2e3138;
}

.vsw-accordion-item.active .vsw-accordion-body {
    display: block;
}

/* Dashboard Inhaltsbereich (Content) */
.vsw-dashboard-content {
    flex-grow: 1;
    min-width: 0; /* Verhindert Flexbox Overflow */
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* BFV Unter-Navigation für Ansichten: Tabelle, Spiele, Ergebnisse, Spielbericht, etc. */
.vsw-dash-subnav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.vsw-dashboard-dark .vsw-dash-subnav {
    border-bottom-color: #2e3138;
}

.vsw-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-family: inherit !important;
    font-size: 1em;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vsw-dashboard-dark .vsw-view-btn {
    background: #25282f;
    border-color: #3b3f49;
    color: #d1d5db;
}

.vsw-view-btn:hover {
    border-color: var(--vsw-primary-yellow);
    color: #111111;
    background: #fffdf5;
}

.vsw-dashboard-dark .vsw-view-btn:hover {
    background: #2f333c;
    color: var(--vsw-primary-yellow);
}

.vsw-view-btn.active {
    background: #111111 !important;
    color: var(--vsw-primary-yellow) !important;
    border-color: #111111 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.vsw-dashboard-dark .vsw-view-btn.active {
    background: var(--vsw-primary-yellow) !important;
    color: #111111 !important;
    border-color: var(--vsw-primary-yellow) !important;
}

/* Panels */
.vsw-dash-panel {
    display: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    animation: vsw-fadein 0.25s ease-in-out;
}

.vsw-dash-panel.active {
    display: block;
}

@keyframes vsw-fadein {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   MOBILES BURGER-MENÜ FÜR MANNSCHAFTSAUSWAHL
   ========================================================================== */
.vsw-mobile-burger-toggle {
    display: none !important;
}

/* Responsive Anpassungen für Mobile */
@media (max-width: 768px) {
    /* Mobiler Burger-Menü Umschalter */
    .vsw-mobile-burger-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        box-sizing: border-box !important;
        background: #18191c !important;
        color: #ffffff !important;
        border: none !important;
        border-bottom: 2px solid var(--vsw-primary-yellow) !important;
        padding: 12px 16px !important;
        font-family: inherit !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        text-align: left !important;
        gap: 12px !important;
        transition: background-color 0.2s ease;
        user-select: none;
    }

    .vsw-dashboard-dark .vsw-mobile-burger-toggle {
        background: #121316 !important;
    }

    .vsw-mobile-burger-toggle:hover,
    .vsw-mobile-burger-toggle:focus {
        background: #252830 !important;
    }

    .vsw-burger-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 20px;
        height: 14px;
        flex-shrink: 0;
    }

    .vsw-burger-icon span {
        display: block;
        height: 2px;
        width: 100%;
        background-color: var(--vsw-primary-yellow);
        border-radius: 2px;
        transition: all 0.25s ease;
    }

    /* Animiertes Burger-Icon zu X wenn offen */
    .vsw-mobile-menu-open .vsw-burger-icon span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .vsw-mobile-menu-open .vsw-burger-icon span:nth-child(2) {
        opacity: 0;
    }
    .vsw-mobile-menu-open .vsw-burger-icon span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .vsw-burger-current-label {
        flex-grow: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #f3f4f6;
        font-size: 14px;
        font-weight: 700;
        text-align: left;
    }

    .vsw-burger-arrow {
        font-size: 14px;
        color: var(--vsw-primary-yellow);
        transition: transform 0.25s ease;
        flex-shrink: 0;
    }

    .vsw-mobile-menu-open .vsw-burger-arrow {
        transform: rotate(180deg);
    }

    /* Im Ruhezustand auf Mobile: Navigation zugeklappt */
    .vsw-dashboard-body:not(.vsw-mobile-menu-open) .vsw-matchcenter-nav,
    .vsw-dashboard-body:not(.vsw-mobile-menu-open) .vsw-dashboard-nav-tabs,
    .vsw-dashboard-body:not(.vsw-mobile-menu-open) .vsw-dashboard-sidebar {
        display: none !important;
    }

    /* Wenn Burger-Menü geöffnet ist: Vertikales Dropdown */
    .vsw-mobile-menu-open .vsw-matchcenter-nav,
    .vsw-mobile-menu-open .vsw-dashboard-nav-tabs,
    .vsw-mobile-menu-open .vsw-dashboard-sidebar {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        background: #18191c !important;
        padding: 8px 10px !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        border-bottom: 2px solid var(--vsw-primary-yellow) !important;
        max-height: 380px;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    }

    .vsw-mobile-menu-open .vsw-team-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 10px 14px !important;
        font-size: 14px !important;
        border-radius: 6px !important;
        background: #252830 !important;
        color: #e5e7eb !important;
        border: 1px solid #373a44 !important;
        box-sizing: border-box !important;
        text-align: left !important;
        white-space: normal !important;
        flex-shrink: 0 !important;
    }

    .vsw-mobile-menu-open .vsw-team-btn.active {
        background: var(--vsw-primary-yellow) !important;
        color: #111111 !important;
        border-color: var(--vsw-primary-yellow) !important;
        font-weight: 700 !important;
    }

    .vsw-dashboard {
        margin: 8px 0 !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
        width: 100% !important;
        box-shadow: none !important;
    }
    .vsw-dashboard-layout-sidebar {
        flex-direction: column;
    }
    .vsw-dashboard-content {
        padding: 4px 0 !important;
        width: 100% !important;
    }
    .vsw-dash-team-panel {
        padding: 0 !important;
        width: 100% !important;
    }
    .vsw-dash-sport-section {
        width: 100% !important;
    }
    .vsw-widget-wrapper {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .vsw-widget-container {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .vsw-widget-container iframe {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        border: none !important;
    }
    .vsw-dash-subnav {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        scrollbar-width: none;
    }
    .vsw-dash-subnav::-webkit-scrollbar {
        display: none;
    }
    .vsw-view-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .vsw-consent-fallback {
        padding: 24px 16px;
    }
    .vsw-fallback-title {
        font-size: 1.15em;
    }
    .vsw-fallback-actions {
        flex-direction: column;
        width: 100%;
    }
    .vsw-btn {
        width: 100%;
    }
}

/* ==========================================================================
   MANNSCHAFTSBILD UNTER DEM SPIELPLAN
   ========================================================================== */
.vsw-team-image-wrapper {
    margin-top: 28px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    box-sizing: border-box;
}

.vsw-dashboard-dark .vsw-team-image-wrapper {
    background: #1e2025;
    border-color: #2e3138;
}

.vsw-team-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 420px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center center;
    margin: 0 auto;
    cursor: zoom-in;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transition: box-shadow 0.25s ease;
}

.vsw-team-image:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
}

.vsw-team-image-caption {
    margin-top: 8px;
    font-size: 0.95em;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
}

.vsw-dashboard-dark .vsw-team-image-caption {
    color: #9ca3af;
}

/* ==========================================================================
   TISCHTENNIS (myTischtennis / click-TT) WIDGET & DASHBOARD STYLES
   ========================================================================== */
.vsw-mytt-widget-wrapper {
    position: relative;
    width: 100%;
    margin: 24px 0;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.vsw-dashboard-dark .vsw-mytt-widget-wrapper,
.vsw-mytt-dark {
    background: #1c1d21 !important;
    border-color: #2c2e35 !important;
    color: #f3f4f6 !important;
}

.vsw-mytt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
}

.vsw-dashboard-dark .vsw-mytt-header,
.vsw-mytt-dark .vsw-mytt-header {
    background: #24262c !important;
    border-color: #33363f !important;
}

.vsw-mytt-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vsw-mytt-header-title h3 {
    margin: 0;
    font-size: 1.25em;
    font-weight: 700;
    color: #111827;
}

.vsw-dashboard-dark .vsw-mytt-header-title h3,
.vsw-mytt-dark .vsw-mytt-header-title h3 {
    color: #ffffff !important;
}

.vsw-mytt-badge-league {
    display: inline-block;
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
    font-size: 0.88em;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Nav Tabs im myTT Widget */
.vsw-mytt-nav,
.vsw-mytt-tabs-header {
    display: flex;
    gap: 8px;
    padding: 14px 20px;
    background: #ffffff;
    border-bottom: 2px solid var(--vsw-primary-yellow);
}

.vsw-dashboard-dark .vsw-mytt-nav,
.vsw-dashboard-dark .vsw-mytt-tabs-header,
.vsw-mytt-dark .vsw-mytt-nav,
.vsw-mytt-dark .vsw-mytt-tabs-header {
    background: #1c1d21 !important;
    border-bottom-color: var(--vsw-primary-yellow) !important;
}

.vsw-mytt-tab-btn {
    background: #ffffff;
    border: 1px solid #d1d5db;
    color: #1f2937;
    padding: 9px 18px;
    font-size: 1em;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vsw-mytt-tab-btn:hover {
    background: #fffbeb;
    border-color: var(--vsw-primary-yellow);
    color: #111111;
}

.vsw-mytt-tab-btn.active {
    background: var(--vsw-primary-yellow) !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    padding: 8px 17px !important;
}

.vsw-dashboard-dark .vsw-mytt-tab-btn,
.vsw-mytt-dark .vsw-mytt-tab-btn {
    background: #24262c !important;
    border-color: #3f3f46 !important;
    color: #e5e7eb !important;
}

.vsw-dashboard-dark .vsw-mytt-tab-btn.active,
.vsw-mytt-dark .vsw-mytt-tab-btn.active {
    background: var(--vsw-primary-yellow) !important;
    border: 2px solid #ffffff !important;
    color: #000000 !important;
}

/* Tabellen Layout & Responsivität */
.vsw-table-responsive,
.vsw-mytt-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
}

.vsw-mytt-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    line-height: 1.55;
    text-align: left;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.vsw-mytt-table th,
.vsw-mytt-table td {
    padding: 13px 16px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.vsw-dashboard-dark .vsw-mytt-table th,
.vsw-dashboard-dark .vsw-mytt-table td,
.vsw-mytt-dark .vsw-mytt-table th,
.vsw-mytt-dark .vsw-mytt-table td {
    border-bottom-color: #2a2d34 !important;
}

.vsw-mytt-table th {
    background: #f0f0f0;
    font-size: 0.92em;
    font-weight: 700;
    text-transform: uppercase;
    color: #666666;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-bottom: 1px solid #e0e0e0;
}

.vsw-dashboard-dark .vsw-mytt-table th,
.vsw-mytt-dark .vsw-mytt-table th {
    background: #24262c !important;
    color: #9ca3af !important;
    border-bottom-color: #3b3f4a !important;
}

.vsw-mytt-table tbody tr {
    transition: background-color 0.15s ease;
}

.vsw-mytt-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.vsw-mytt-table tbody tr:hover {
    background: #f1f5f9 !important;
}

.vsw-dashboard-dark .vsw-mytt-table tbody tr:hover,
.vsw-mytt-dark .vsw-mytt-table tbody tr:hover {
    background: #24262c !important;
}

/* Spezifische Spalten-Ausrichtungen und Breiten */
.vsw-mytt-table th.vsw-col-rank,
.vsw-mytt-table td.vsw-col-rank {
    text-align: center;
    width: 56px;
    font-weight: 700;
    font-size: 1.05em;
    color: #000000;
}

.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-rank,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-rank {
    color: #e5e7eb;
}

.vsw-mytt-table th.vsw-col-team,
.vsw-mytt-table td.vsw-col-team {
    text-align: left;
    min-width: 200px;
}

.vsw-mytt-table td.vsw-col-team a {
    color: #0f172a !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 1.05em;
    transition: color 0.15s ease;
}

.vsw-mytt-table td.vsw-col-team a:hover {
    color: #b45309 !important;
    text-decoration: underline !important;
}

.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-team a,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-team a {
    color: #f9fafb !important;
}

.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-team a:hover,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-team a:hover {
    color: #f5b800 !important;
}

.vsw-mytt-table th.vsw-col-matches,
.vsw-mytt-table td.vsw-col-matches,
.vsw-mytt-table th.vsw-col-s,
.vsw-mytt-table td.vsw-col-s,
.vsw-mytt-table th.vsw-col-u,
.vsw-mytt-table td.vsw-col-u,
.vsw-mytt-table th.vsw-col-n,
.vsw-mytt-table td.vsw-col-n,
.vsw-mytt-table th.vsw-col-games,
.vsw-mytt-table td.vsw-col-games,
.vsw-mytt-table th.vsw-col-diff,
.vsw-mytt-table td.vsw-col-diff,
.vsw-mytt-table th.vsw-col-points,
.vsw-mytt-table td.vsw-col-points {
    text-align: center;
    white-space: nowrap !important;
    font-size: 1em;
    color: #1e293b;
}

.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-matches,
.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-s,
.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-u,
.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-n,
.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-games,
.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-diff,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-matches,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-s,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-u,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-n,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-games,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-diff {
    color: #d1d5db;
}

.vsw-mytt-table th.vsw-col-games,
.vsw-mytt-table td.vsw-col-games {
    min-width: 86px;
    letter-spacing: 0.02em;
}

.vsw-mytt-table th.vsw-col-diff,
.vsw-mytt-table td.vsw-col-diff {
    min-width: 56px;
}

.vsw-mytt-table th.vsw-col-points,
.vsw-mytt-table td.vsw-col-points {
    min-width: 78px;
    font-weight: 800;
    font-size: 1.1em;
    color: #0f172a;
}

.vsw-dashboard-dark .vsw-mytt-table td.vsw-col-points,
.vsw-mytt-dark .vsw-mytt-table td.vsw-col-points {
    color: #ffffff;
}

/* Zeilen-Highlighting für TSV Breitengüßbach */
.vsw-mytt-table tbody tr.vsw-row-highlight,
tr.vsw-mytt-row-highlight {
    background: rgba(245, 184, 0, 0.15) !important;
    font-weight: 700;
}

.vsw-mytt-table tbody tr.vsw-row-highlight td:first-child,
tr.vsw-mytt-row-highlight td:first-child {
    border-left: 5px solid #f5b800;
}

.vsw-mytt-club-badge {
    background: #f5b800;
    color: #111111;
    font-size: 0.85em;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 0.04em;
    vertical-align: middle;
    display: inline-block;
}

/* Spielplan Liste */
.vsw-mytt-matches-list,
.vsw-mytt-schedule-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 20px;
}

.vsw-mytt-match-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: transform 0.15s ease, background-color 0.15s ease;
}

.vsw-mytt-match-card:hover {
    background: #f3f4f6;
}

.vsw-dashboard-dark .vsw-mytt-match-card,
.vsw-mytt-dark .vsw-mytt-match-card {
    background: #24262c !important;
    border-color: #33363f !important;
}

.vsw-dashboard-dark .vsw-mytt-match-card:hover,
.vsw-mytt-dark .vsw-mytt-match-card:hover {
    background: #2c2f37 !important;
}

.vsw-mytt-match-card.vsw-match-highlight,
.vsw-mytt-match-card.vsw-mytt-match-highlight {
    border-left: 5px solid #f5b800;
    background: rgba(245, 184, 0, 0.08);
}

.vsw-mytt-match-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1em;
    font-weight: 500;
    color: #334155;
    min-width: 155px;
    white-space: nowrap;
    flex-shrink: 0;
}

.vsw-mytt-weekday {
    font-weight: 700;
    color: #0f172a;
    font-size: 1em;
}

.vsw-dashboard-dark .vsw-mytt-weekday,
.vsw-mytt-dark .vsw-mytt-weekday {
    color: #f3f4f6;
}

.vsw-mytt-match-teams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex: 1;
    margin: 0 16px;
    font-size: 1.05em;
}

.vsw-mytt-home,
.vsw-mytt-guest {
    flex: 1;
    font-weight: 600;
    color: #0f172a;
    font-size: 1em;
}

.vsw-mytt-home {
    text-align: right;
}

.vsw-mytt-guest {
    text-align: left;
}

.vsw-mytt-home.tsv,
.vsw-mytt-guest.tsv {
    font-weight: 800;
    color: #b45309;
}

.vsw-dashboard-dark .vsw-mytt-home,
.vsw-dashboard-dark .vsw-mytt-guest,
.vsw-mytt-dark .vsw-mytt-home,
.vsw-mytt-dark .vsw-mytt-guest {
    color: #f3f4f6;
}

.vsw-dashboard-dark .vsw-mytt-home.tsv,
.vsw-dashboard-dark .vsw-mytt-guest.tsv,
.vsw-mytt-dark .vsw-mytt-home.tsv,
.vsw-mytt-dark .vsw-mytt-guest.tsv {
    color: #f5b800 !important;
}

.vsw-mytt-vs {
    font-size: 0.88em;
    font-weight: 700;
    color: #475569;
    background: #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.vsw-dashboard-dark .vsw-mytt-vs,
.vsw-mytt-dark .vsw-mytt-vs {
    background: #33363f;
    color: #9ca3af;
}

.vsw-mytt-match-result {
    min-width: 75px;
    text-align: right;
    flex-shrink: 0;
}

.vsw-mytt-score {
    display: inline-block;
    font-size: 1.1em;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 4px;
    background: #0f172a;
    color: #ffffff;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.vsw-dashboard-dark .vsw-mytt-score,
.vsw-mytt-dark .vsw-mytt-score {
    background: #f5b800 !important;
    color: #111111 !important;
}

.vsw-mytt-status {
    display: inline-block;
    font-size: 0.95em;
    font-weight: 600;
    color: #475569;
    background: #e2e8f0;
    padding: 5px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Leerer Zustand */
.vsw-mytt-empty {
    padding: 40px 24px;
    text-align: center;
    color: #475569;
    font-size: 1.05em;
    margin: 0;
}

/* Footer & Quellenverweis */
.vsw-mytt-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 0.95em;
    color: #475569;
}

.vsw-dashboard-dark .vsw-mytt-footer,
.vsw-mytt-dark .vsw-mytt-footer {
    background: #18191d !important;
    border-color: #2c2e35 !important;
    color: #9ca3af !important;
}

.vsw-mytt-footer a {
    color: #0284c7;
    text-decoration: none;
    font-weight: 600;
}

.vsw-mytt-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    .vsw-mytt-table th,
    .vsw-mytt-table td {
        padding: 9px 10px;
    }
    .vsw-mytt-match-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .vsw-mytt-match-teams {
        margin: 0;
        width: 100%;
        justify-content: flex-start;
    }
    .vsw-mytt-home {
        text-align: left;
    }
    .vsw-mytt-match-result {
        align-self: flex-end;
    }
}

/* ==========================================================================
   MATCHCENTER LAYOUT (FUSSBALL OHNE INTERNE TABS)
   ========================================================================== */

.vsw-layout-matchcenter .vsw-dashboard-body {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.vsw-matchcenter-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 20px;
    background: #18191c;
    border-bottom: 3px solid var(--vsw-primary-yellow);
}

.vsw-matchcenter-nav .vsw-team-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    font-size: 1em;
    font-weight: 700;
    color: #e5e7eb;
    background: #25282f;
    border: 1px solid #3b3f49;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vsw-matchcenter-nav .vsw-team-btn:hover {
    background: #333742;
    color: var(--vsw-primary-yellow);
    border-color: var(--vsw-primary-yellow);
}

.vsw-matchcenter-nav .vsw-team-btn.active {
    background: var(--vsw-primary-yellow) !important;
    color: #111111 !important;
    border-color: var(--vsw-primary-yellow) !important;
    box-shadow: 0 2px 8px rgba(245, 184, 0, 0.35);
}

/* Matchcenter Hero / Kaderfoto (klar & ohne Blur-/Verlaufs-Overlay über dem Bild) */
.vsw-matchcenter-hero {
    position: relative;
    margin-bottom: 24px;
    border-radius: 10px;
    overflow: hidden;
    background: #18191c;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    border: 1px solid #e5e7eb;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vsw-dashboard-dark .vsw-matchcenter-hero {
    border-color: #2e3138;
}

.vsw-matchcenter-hero.vsw-lightbox-trigger {
    cursor: zoom-in;
}

.vsw-matchcenter-hero-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    object-position: center center;
    display: block;
    cursor: zoom-in;
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.vsw-dashboard img,
.vsw-widget-wrapper img {
    filter: none !important;
    -webkit-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vsw-photo-zoom-hint {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(17, 17, 17, 0.78);
    border: 1px solid rgba(245, 184, 0, 0.75);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    opacity: 0.9;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, background-color 0.2s ease;
    z-index: 2;
}

.vsw-matchcenter-hero.vsw-lightbox-trigger:hover .vsw-photo-zoom-hint {
    opacity: 1;
    transform: scale(1.1);
    background: var(--vsw-primary-yellow, #f5b800);
}

.vsw-matchcenter-hero-overlay {
    position: relative;
    padding: 16px 24px;
    background: #18191c;
    border-top: 2px solid var(--vsw-primary-yellow);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 4px;
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.vsw-matchcenter-hero-sport {
    font-size: 0.92em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--vsw-primary-yellow);
}

.vsw-matchcenter-hero-name {
    margin: 0;
    font-size: 1.55em;
    font-weight: 800;
    color: #ffffff;
}

.vsw-matchcenter-hero-fallback {
    min-height: 140px;
    background: linear-gradient(135deg, #1b1b1b 0%, #25282e 70%, rgba(245, 184, 0, 0.22) 100%);
    display: flex;
    align-items: flex-end;
}

.vsw-matchcenter-hero-fallback .vsw-matchcenter-hero-overlay {
    position: relative;
    background: transparent;
    width: 100%;
}

.vsw-matchcenter-header-bar {
    padding: 16px 20px;
    margin-bottom: 24px;
    background: #f8fafc;
    border-left: 5px solid var(--vsw-primary-yellow);
    border-radius: 6px;
}

.vsw-dashboard-dark .vsw-matchcenter-header-bar {
    background: #252830;
}

.vsw-matchcenter-header-bar h3 {
    margin: 0;
    font-size: 1.35em;
    font-weight: 800;
}

/* 2-Spalten-Grid für Tabelle & Spielplan */
.vsw-matchcenter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.vsw-matchcenter-card,
.vsw-matchcenter-col {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.vsw-dashboard-dark .vsw-matchcenter-card,
.vsw-dashboard-dark .vsw-matchcenter-col {
    background: #1f2126;
    border-color: #2e3138;
}

.vsw-matchcenter-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: #f8fafc;
    border-bottom: 2px solid var(--vsw-primary-yellow);
    font-weight: 700;
    font-size: 1.15em;
    color: #111827;
}

.vsw-dashboard-dark .vsw-matchcenter-card-header {
    background: #252830;
    color: #f3f4f6;
}

.vsw-matchcenter-card-content {
    padding: 18px 20px;
    flex-grow: 1;
}

.vsw-matchcenter-card-content .vsw-widget-wrapper {
    margin: 0 !important;
}

/* Letzter Spieltagsbericht */
.vsw-matchcenter-report-card {
    margin-top: 8px;
    margin-bottom: 24px;
}

/* Jugendbereich Styling (orientiert an WordPress-Standardgrößen) */
.vsw-matchcenter-youth-intro {
    margin-bottom: 24px;
    padding: 20px 24px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--vsw-primary-yellow);
}

.vsw-dashboard-dark .vsw-matchcenter-youth-intro {
    background: #252830;
}

.vsw-matchcenter-youth-intro h3 {
    margin: 0 0 8px 0;
    font-size: 1.35em;
    font-weight: 800;
    line-height: 1.35;
}

.vsw-matchcenter-youth-intro p,
.vsw-youth-intro-text {
    margin: 0 !important;
    font-size: 1.05em !important;
    font-style: normal !important;
    line-height: 1.65;
    color: #374151;
}

.vsw-dashboard-dark .vsw-matchcenter-youth-intro p,
.vsw-dashboard-dark .vsw-youth-intro-text {
    color: #d1d5db;
}

.vsw-matchcenter-youth-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.vsw-youth-overview-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1fr) minmax(340px, 1.35fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 900px) {
    .vsw-youth-overview-grid {
        grid-template-columns: 1fr;
    }
}

.vsw-youth-table-subtitle {
    margin: 0 0 16px 0 !important;
    font-size: 1.08em !important;
    font-weight: 700;
    line-height: 1.5;
    color: #1f2937;
}

.vsw-dashboard-dark .vsw-youth-table-subtitle {
    color: #f3f4f6;
}

.vsw-youth-age-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    line-height: 1.55;
}

.vsw-youth-age-table thead th {
    background: #111827;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95em;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 2px solid var(--vsw-primary-yellow);
}

.vsw-youth-age-table tbody td {
    padding: 13px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-size: 1.02em;
    vertical-align: middle;
}

.vsw-youth-age-table tbody tr:nth-child(even) td {
    background: #f9fafb;
}

.vsw-youth-age-table tbody tr:hover td {
    background: #fffbeb;
}

.vsw-dashboard-dark .vsw-youth-age-table tbody td {
    border-bottom-color: #2e3138;
    color: #e5e7eb;
}

.vsw-dashboard-dark .vsw-youth-age-table tbody tr:nth-child(even) td {
    background: #252830;
}

.vsw-youth-year-badge {
    display: inline-block;
    background: rgba(255, 204, 25, 0.22);
    color: #111827;
    font-weight: 700;
    font-size: 0.98em;
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(255, 204, 25, 0.6);
}

.vsw-dashboard-dark .vsw-youth-year-badge {
    background: rgba(255, 204, 25, 0.18);
    color: var(--vsw-primary-yellow);
    border-color: rgba(255, 204, 25, 0.4);
}

.vsw-youth-def-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vsw-youth-def-item {
    padding: 12px 16px;
    background: #f8fafc;
    border-left: 3px solid var(--vsw-primary-yellow);
    border-radius: 0 6px 6px 0;
}

.vsw-dashboard-dark .vsw-youth-def-item {
    background: #252830;
}

.vsw-youth-def-heading {
    font-weight: 700;
    font-size: 1.08em;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.4;
}

.vsw-dashboard-dark .vsw-youth-def-heading {
    color: #ffffff;
}

.vsw-youth-def-text {
    margin: 0 !important;
    font-size: 1em !important;
    line-height: 1.6;
    color: #374151;
}

.vsw-dashboard-dark .vsw-youth-def-text {
    color: #d1d5db;
}

.vsw-youth-card-wide {
    grid-column: 1 / -1;
}

/* Eingebundene WordPress-Seite im Jugendbereich */
.vsw-youth-page-body p,
.vsw-youth-page-body td,
.vsw-youth-page-body th,
.vsw-youth-page-body li {
    font-size: 1em;
    line-height: 1.65;
}

.vsw-youth-page-body h2 {
    font-size: 1.4em;
    line-height: 1.35;
}

.vsw-youth-page-body h3,
.vsw-youth-page-body h3 strong {
    font-size: 1.25em !important;
    line-height: 1.35;
}

.vsw-youth-info-card .vsw-matchcenter-card-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.vsw-youth-info-card h4 {
    margin: 0;
    font-size: 1.22em;
    font-weight: 700;
    line-height: 1.35;
}

.vsw-youth-info-card p {
    margin: 0;
    color: #374151;
    font-size: 1em !important;
    line-height: 1.6;
}

.vsw-dashboard-dark .vsw-youth-info-card p {
    color: #d1d5db;
}

.vsw-youth-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
    margin-top: 6px;
}

.vsw-youth-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 6px;
}

.vsw-youth-tags .vsw-tag {
    background: #f3f4f6;
    color: #374151;
    font-size: 0.95em;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.vsw-dashboard-dark .vsw-youth-tags .vsw-tag {
    background: #2d3039;
    color: #d1d5db;
    border-color: #3e424e;
}

@media (max-width: 900px) {
    .vsw-matchcenter-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Volle Breite für das Matchcenter auf Smartphones */
    .vsw-matchcenter-content {
        padding: 6px 0 !important;
    }

    .vsw-matchcenter-grid {
        gap: 12px !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    .vsw-matchcenter-card,
    .vsw-matchcenter-col {
        border-left: none !important;
        border-right: none !important;
        border-radius: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .vsw-matchcenter-card-header {
        padding: 9px 12px !important;
        font-size: 14px !important;
    }

    .vsw-matchcenter-card-content {
        padding: 4px 0 !important; /* Maximale Ausnutzung der Bildschirmbreite für BFV Tabelle & Spielplan */
    }

    .vsw-matchcenter-card-content .vsw-widget-wrapper {
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .vsw-matchcenter-card-content .vsw-widget-container,
    .vsw-matchcenter-card-content .vsw-widget-container iframe {
        width: 100% !important;
        max-width: 100% !important;
    }

    .vsw-matchcenter-hero {
        margin-bottom: 10px !important;
        border-radius: 0 !important;
        border-left: none !important;
        border-right: none !important;
    }

    .vsw-matchcenter-hero-overlay {
        padding: 10px 12px !important;
    }

    .vsw-matchcenter-hero-name {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   TEAM-ZUSATZINFOS & KONTAKTKACHELN (TRAININGSZEITEN, BETREUER, SOCIAL MEDIA)
   ========================================================================== */
.vsw-team-extra-wrapper {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* 1. Trainingszeiten & Heimspiele */
.vsw-team-times-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.vsw-times-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--vsw-radius, 10px);
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.vsw-times-block:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.vsw-times-heading {
    margin: 0 0 20px 0;
    font-size: 1.15em;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--vsw-primary-yellow, #f5b800);
    padding-bottom: 8px;
}

.vsw-times-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vsw-time-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.vsw-time-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vsw-time-day {
    font-size: 1.05em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #1e293b;
    margin-bottom: 2px;
}

.vsw-time-row {
    font-size: 1em;
    line-height: 1.55;
    color: #475569;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.vsw-time-label {
    font-weight: 600;
    color: #64748b;
}

.vsw-time-val {
    font-weight: 500;
    color: #1e293b;
}

/* 2. Trainer- & Betreuerstab (Kontaktkacheln nach Kundenvorlage) */
.vsw-team-staff-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vsw-staff-heading {
    margin: 0;
    font-size: 1.15em;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 2px solid var(--vsw-primary-yellow, #f5b800);
    padding-bottom: 8px;
}

.vsw-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 260px));
    gap: 24px;
    justify-content: flex-start;
}

.vsw-staff-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vsw-staff-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.vsw-staff-photo-wrap {
    width: 100%;
    height: 240px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 12px 12px 0 12px;
    box-sizing: border-box;
}

.vsw-staff-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 10px 10px 0 0;
    display: block;
    cursor: zoom-in;
    transition: transform 0.25s ease;
}

.vsw-staff-photo:hover {
    transform: scale(1.03);
}

.vsw-staff-photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.vsw-staff-avatar-svg {
    width: 90px;
    height: 90px;
    opacity: 0.75;
}

.vsw-staff-info {
    padding: 14px 16px 12px 16px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.vsw-staff-name {
    font-size: 1.12em;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 4px;
}

.vsw-staff-role {
    font-size: 0.98em;
    color: #64748b;
    font-weight: 500;
}

/* Gelber Footer mit runden Action-Buttons */
.vsw-staff-actions {
    background: var(--vsw-primary-yellow, #ffd033);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.vsw-staff-actions.vsw-staff-actions-empty {
    min-height: 14px;
    padding: 6px;
}

.vsw-staff-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsw-staff-action-btn:hover {
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    color: #000000;
}

.vsw-staff-action-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* 3. Social Media & Beliebige URL */
.vsw-team-social-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0 8px 0;
}

.vsw-team-social-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.vsw-social-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--vsw-primary-yellow, #f5b800);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(245, 184, 0, 0.3);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.vsw-social-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 18px rgba(245, 184, 0, 0.45);
    color: #ffffff;
}

.vsw-social-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.vsw-team-custom-url-wrap {
    display: flex;
    align-items: center;
}

.vsw-custom-url-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none !important;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.vsw-custom-url-btn:hover {
    background: var(--vsw-primary-yellow, #f5b800);
    color: #0f172a !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 14px rgba(245, 184, 0, 0.35);
}

.vsw-ext-icon {
    font-size: 1.05em;
    line-height: 1;
}

/* ==========================================================================
   DARK MODE ANPASSUNGEN FÜR ZUSATZ-INFOS
   ========================================================================== */
.vsw-dashboard-dark .vsw-times-block {
    background: #222428;
    border-color: #33363d;
}

.vsw-dashboard-dark .vsw-times-heading {
    color: #f3f4f6;
}

.vsw-dashboard-dark .vsw-time-item {
    border-bottom-color: #2e3138;
}

.vsw-dashboard-dark .vsw-time-day {
    color: #f3f4f6;
}

.vsw-dashboard-dark .vsw-time-val {
    color: #e5e7eb;
}

.vsw-dashboard-dark .vsw-time-label {
    color: #9ca3af;
}

.vsw-dashboard-dark .vsw-staff-heading {
    color: #f3f4f6;
}

.vsw-dashboard-dark .vsw-staff-card {
    background: #222428;
    border-color: #33363d;
}

.vsw-dashboard-dark .vsw-staff-photo-wrap {
    background: #1a1b1e;
}

.vsw-dashboard-dark .vsw-staff-photo-placeholder {
    background: linear-gradient(180deg, #222428 0%, #1a1b1e 100%);
    color: #64748b;
}

.vsw-dashboard-dark .vsw-staff-info {
    background: #222428;
}

.vsw-dashboard-dark .vsw-staff-name {
    color: #f3f4f6;
}

.vsw-dashboard-dark .vsw-staff-role {
    color: #9ca3af;
}

.vsw-dashboard-dark .vsw-custom-url-btn {
    background: #2d3039;
    border: 1px solid #3e424e;
}

.vsw-dashboard-dark .vsw-custom-url-btn:hover {
    background: var(--vsw-primary-yellow, #f5b800);
    color: #0f172a !important;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
    .vsw-staff-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .vsw-staff-photo-wrap {
        height: 200px;
    }
    .vsw-team-social-section {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   FOTO-LIGHTBOX (POPUP-RAHMEN IN VOLLER AUFLÖSUNG)
   ========================================================================== */
body.vsw-lightbox-open {
    overflow: hidden;
}

.vsw-lightbox-overlay {
    font-family: var(--vsw-font-family);
    font-size: var(--vsw-base-font-size, 16px);
    box-sizing: border-box;
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: rgba(12, 13, 16, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    cursor: zoom-out;
}

.vsw-lightbox-overlay * {
    font-family: inherit;
    box-sizing: border-box;
}

.vsw-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.vsw-lightbox-frame {
    position: relative;
    max-width: 94vw;
    max-height: 90vh;
    background: #18191c;
    border: 2px solid var(--vsw-primary-yellow, #f5b800);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.vsw-lightbox-overlay.active .vsw-lightbox-frame {
    transform: scale(1);
}

.vsw-lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #111111;
    background: var(--vsw-primary-yellow, #f5b800);
    color: #111111 !important;
    font-size: 1.15em;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 10;
    padding: 0;
}

.vsw-lightbox-close:hover,
.vsw-lightbox-close:focus {
    background: #ffffff;
    color: #000000 !important;
    transform: scale(1.1);
}

.vsw-lightbox-body {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    min-height: 120px;
    max-width: 100%;
    max-height: calc(90vh - 64px);
    overflow: hidden;
    border-radius: 8px;
    background: #111214;
}

.vsw-lightbox-img {
    display: block;
    max-width: calc(94vw - 24px);
    max-height: calc(90vh - 70px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.vsw-lightbox-spinner {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 3px solid rgba(245, 184, 0, 0.25);
    border-top-color: var(--vsw-primary-yellow, #f5b800);
    border-radius: 50%;
    animation: vsw-spin 0.8s linear infinite;
}

.vsw-lightbox-caption {
    margin-top: 8px;
    padding: 4px 12px 2px 12px;
    font-size: 1.05em;
    font-weight: 700;
    color: #f3f4f6;
    text-align: center;
    line-height: 1.35;
}

@media (max-width: 640px) {
    .vsw-lightbox-overlay {
        padding: 12px;
    }
    .vsw-lightbox-frame {
        max-width: 96vw;
        padding: 6px;
    }
    .vsw-lightbox-close {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
    }
    .vsw-lightbox-img {
        max-width: calc(96vw - 16px);
        max-height: calc(88vh - 60px);
    }
}

/* ==========================================================================
   ABTEILUNGS-HUB & MODULARE SHORTCODES (v2.0.0)
   - News-Akkordeon [vsw_news]
   - Kontakte & Ansprechpartner [vsw_kontakte]
   - Abteilungs-Menü mit Burger [vsw_menu]
   - Wichtige Links & Logo-Grid [vsw_links]
   - Komplettes Dashboard [kegeln_dashboard]
   Keine rem-Einheiten zur Wahrung der OceanWP / Theme-Kompatibilität!
   ========================================================================== */

/* ==========================================================================
   1. ABTEILUNGS-NAVIGATION & VERTICALES TSV-BUTTON-MENÜ [vsw_menu]
   ========================================================================== */
.vsw-abteilung-menu-wrap {
    margin-bottom: 20px;
    position: relative;
    width: 100%;
}

.vsw-abteilung-burger-toggle {
    display: none;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    background: #111214;
    color: #ffd033 !important;
    border: 2px solid #ffd033;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.vsw-abteilung-burger-toggle:hover {
    background: #1a1c22;
}

/* TSV Breitengüßbach Vertikales Button-Menü */
.vsw-abteilung-menu-wrap .vsw-abteilung-menu-list,
.vsw-abteilung-menu-wrap .vsw-dept-menu-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.vsw-abteilung-menu-wrap .vsw-abteilung-menu-list li,
.vsw-abteilung-menu-wrap .vsw-dept-menu-list li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100%;
}

.vsw-abteilung-menu-wrap .vsw-abteilung-menu-list li a,
.vsw-abteilung-menu-wrap .vsw-dept-menu-list li a,
.vsw-tsv-menu-btn {
    display: block !important;
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    background: #ffd033 !important;
    color: #111214 !important;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    border: 1px solid #ecc022;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.vsw-abteilung-menu-wrap .vsw-abteilung-menu-list li a:hover,
.vsw-abteilung-menu-wrap .vsw-dept-menu-list li a:hover,
.vsw-abteilung-menu-wrap .vsw-abteilung-menu-list li.current-menu-item a,
.vsw-tsv-menu-btn:hover {
    background: #ffdb4d !important;
    color: #000000 !important;
    transform: translateX(4px);
    box-shadow: 0 4px 10px rgba(255, 208, 51, 0.4);
}

@media (max-width: 860px) {
    .vsw-abteilung-burger-toggle {
        display: flex;
    }

    .vsw-abteilung-menu-wrap .vsw-abteilung-menu-list,
    .vsw-abteilung-menu-wrap .vsw-dept-menu-list {
        display: none;
        margin-top: 8px !important;
    }

    .vsw-abteilung-menu-wrap.active .vsw-abteilung-menu-list,
    .vsw-abteilung-menu-wrap.active .vsw-dept-menu-list {
        display: flex;
    }
}

/* ==========================================================================
   2. MANNSCHAFTSÜBERSICHT & LIVESTREAMS KLAPPKÄSTEN
   ========================================================================== */
.vsw-collapse-box {
    margin-bottom: 14px;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #475569;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.vsw-collapse-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #475569 !important;
    color: #ffffff !important;
    border: none;
    outline: none;
    padding: 11px 16px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
}

.vsw-collapse-header:hover {
    background: #334155 !important;
}

.vsw-collapse-icon {
    font-size: 18px;
    font-weight: 900;
    line-height: 1;
    min-width: 16px;
}

.vsw-collapse-body {
    background: #ffffff;
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

.vsw-kegeln-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.vsw-kegeln-table th {
    padding: 8px 12px;
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e2e8f0;
}

.vsw-kegeln-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #1e293b;
    vertical-align: middle;
}

.vsw-kegeln-table tr:hover td {
    background-color: #f8fafc;
}

.vsw-link-gold {
    color: #d97706 !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.15s ease;
}

.vsw-link-gold:hover {
    color: #b45309 !important;
    text-decoration: underline !important;
}

.vsw-livestream-hint {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

/* ==========================================================================
   3. NEUIGKEITEN-AKKORDEON [vsw_news]
   ========================================================================== */
.vsw-news-module {
    margin-bottom: 24px;
    font-family: var(--vsw-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
}

.vsw-module-heading-gold {
    margin: 0 0 14px 0;
    padding-bottom: 4px;
    border-bottom: 2px solid #ffd033;
}

.vsw-module-heading-gold .vsw-module-title {
    font-size: 15px;
    font-weight: 800;
    color: #d97706;
    margin: 0;
    text-transform: capitalize;
}

.vsw-news-accordion {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vsw-news-item {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.vsw-news-header {
    width: 100%;
    background: #475569 !important;
    color: #ffffff !important;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 11px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.vsw-news-header:hover {
    background: #334155 !important;
}

.vsw-news-item.active .vsw-news-header {
    background: #ffd033 !important;
    color: #111214 !important;
    font-weight: 800;
}

.vsw-news-toggle-icon {
    font-size: 16px;
    font-weight: 900;
    min-width: 14px;
    line-height: 1;
}

.vsw-news-title {
    flex: 1;
}

.vsw-news-body {
    display: none;
    padding: 18px 20px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.vsw-news-item.active .vsw-news-body {
    display: block;
}

.vsw-news-inner-heading {
    font-size: 18px;
    font-weight: 800;
    color: #d97706;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.vsw-news-inner-date {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 14px;
}

.vsw-news-inner-text {
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 16px;
}

.vsw-news-thumb-wrap {
    margin: 14px 0;
    text-align: center;
}

.vsw-news-thumb {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vsw-btn-news-more {
    display: inline-block;
    padding: 8px 16px;
    background: #ffd033;
    color: #111214 !important;
    font-weight: 700;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.15s ease, transform 0.15s ease;
}

.vsw-btn-news-more:hover {
    background: #ffdb4d;
    transform: translateX(3px);
}

/* ==========================================================================
   4. VERANTWORTLICHE & ANSPRECHPARTNER [vsw_kontakte]
   ========================================================================== */
.vsw-contacts-module {
    margin-bottom: 24px;
}

.vsw-contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vsw-contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.vsw-contact-photo-wrap {
    width: 100%;
    height: 140px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 10px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsw-contact-photo,
.vsw-contact-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.vsw-contact-details,
.vsw-contact-info {
    width: 100%;
}

.vsw-contact-name {
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin: 2px 0 4px 0;
    line-height: 1.3;
}

.vsw-contact-role {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
    margin: 0;
}

.vsw-contact-actions {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
}

.vsw-contact-link {
    color: #475569 !important;
    text-decoration: none !important;
}

.vsw-contact-link:hover {
    color: #d97706 !important;
}

/* Schnupperkegeln Infobox */
.vsw-schnupperkegeln-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    margin: 20px 0;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.vsw-schnupper-title {
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.vsw-schnupper-subtitle {
    font-weight: 700;
    margin-bottom: 6px;
}

.vsw-schnupper-contact {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   5. WICHTIGE LINKS & LOGO-GRID [vsw_links]
   ========================================================================== */
.vsw-links-module {
    margin-bottom: 24px;
}

.vsw-links-grid,
.vsw-links-grid-two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.vsw-link-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    height: 75px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.vsw-link-card:hover {
    border-color: #ffd033;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.vsw-link-logo-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vsw-link-logo-img,
.vsw-link-logo {
    max-height: 50px !important;
    max-width: 90% !important;
    object-fit: contain !important;
    margin: 0 auto;
    display: block;
}

.vsw-link-fallback-badge {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    text-align: center;
    line-height: 1.25;
}

/* ==========================================================================
   6. KEGELN-DASHBOARD GESAMTPORTAL (1:1 ORIGINAL-DESIGN)
   ========================================================================== */
/* Neutralisierung von Gutenberg/Theme <p> und <code> Wrappern */
.entry code:has(.vsw-kegeln-full-portal),
.entry-content code:has(.vsw-kegeln-full-portal),
code:has(.vsw-kegeln-full-portal),
p:has(.vsw-kegeln-full-portal),
code:has(.vsw-dashboard-grid),
p:has(.vsw-dashboard-grid) {
    all: unset !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    font-family: inherit !important;
}

.vsw-kegeln-full-portal,
.vsw-kegeln-dashboard {
    width: 100%;
    margin: 0 auto 30px auto;
    font-family: var(--vsw-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif) !important;
    white-space: normal !important;
    color: #334155;
}

.vsw-kegeln-top-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 24px;
    margin-bottom: 24px;
    align-items: start;
}

.vsw-kegeln-bottom-row {
    display: grid;
    grid-template-columns: 1.55fr 1.15fr;
    gap: 24px;
    align-items: start;
}

@media (max-width: 860px) {
    .vsw-kegeln-top-row,
    .vsw-kegeln-bottom-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ==========================================================================
   7. INDIVIDUELLES GRID-SYSTEM DASHBOARD (v2.0.0)
   ========================================================================== */
.vsw-dashboard-grid {
    width: 100%;
    margin: 0 auto 32px auto;
    font-family: var(--vsw-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
}

.vsw-grid-container {
    display: grid;
    gap: 24px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}

.vsw-grid-container-sidebar_right {
    grid-template-columns: 65fr 35fr;
    grid-template-areas: "main side";
}

.vsw-grid-container-sidebar_right .vsw-grid-col-main {
    grid-area: main;
}

.vsw-grid-container-sidebar_right .vsw-grid-col-side {
    grid-area: side;
}

.vsw-grid-container-sidebar_left {
    grid-template-columns: 35fr 65fr;
    grid-template-areas: "side main";
}

.vsw-grid-container-sidebar_left .vsw-grid-col-main {
    grid-area: main;
}

.vsw-grid-container-sidebar_left .vsw-grid-col-side {
    grid-area: side;
}

.vsw-grid-container-two_equal {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "main side";
}

.vsw-grid-container-two_equal .vsw-grid-col-main {
    grid-area: main;
}

.vsw-grid-container-two_equal .vsw-grid-col-side {
    grid-area: side;
}

.vsw-grid-container-one_col {
    grid-template-columns: 1fr;
}

.vsw-grid-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    box-sizing: border-box;
}

.vsw-grid-col-side {
    position: relative;
}

.vsw-grid-module-block {
    width: 100%;
}

.vsw-custom-shortcode-module {
    width: 100%;
}

@media (max-width: 900px) {
    .vsw-grid-container-sidebar_right,
    .vsw-grid-container-sidebar_left,
    .vsw-grid-container-two_equal {
        grid-template-columns: 1fr !important;
        grid-template-areas: "side" "main" !important;
        gap: 20px;
    }
}






