/*
Theme Name: Alchemists Child Theme
Theme URI: https://themeforest.net/user/dan_fisher/portfolio
Description: Child theme for Alchemists Sports Club and News WordPress Theme
Version: 1.0.4
Author: Christoph Schröder
Author URI: https://themeforest.net/user/dan_fisher
Template: alchemists
*/

/* =========================================================
   Custom Club Header
   - own look
   - compact on scroll
   - subtle dynamic accent bar
   ========================================================= */

.header {
	position: relative;
	z-index: 100;
	background-color: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

/* obere Akzentleiste */
.header::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	z-index: 20;
	background: linear-gradient(90deg, #183d74 0%, #2f67b2 72%, #f0c232 100%);
	pointer-events: none;
}

/* subtile Struktur darüber */
.header::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 8px;
	z-index: 21;
	opacity: 0.14;
	background: repeating-linear-gradient(
		-45deg,
		rgba(255,255,255,0.35) 0px,
		rgba(255,255,255,0.35) 8px,
		transparent 8px,
		transparent 16px
	);
	pointer-events: none;
}

/* eigentlichen Header-Inhalt unter die Leiste setzen */
.header__primary {
	position: relative;
	z-index: 30;
	margin-top: 8px;
}

/* Desktop Grundzustand */
@media (min-width: 992px) {
	.header,
	.header::before,
	.header::after,
	.header__primary,
	.header__primary-inner,
	.header-logo,
	.header-logo__img,
	.main-nav__list > li > a {
		transition: all 0.3s ease;
	}

	.header__primary-inner {
		min-height: 92px;
		background: rgba(255,255,255,1);
	}

	.main-nav__list > li > a {
		line-height: 72px;
	}

	.header-logo {
		opacity: 1;
		will-change: transform, opacity;
	}

	.header-logo__img {
		transition: inherit;
	}
}

/* Kompakter Scrollzustand */
@media (min-width: 992px) {
	.header--compact {
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
	}

	.header--compact::before,
	.header--compact::after {
		height: 5px;
	}

	.header--compact .header__primary {
		margin-top: 5px;
	}

	.header--compact .header__primary-inner {
		min-height: 72px;
		background: rgba(255,255,255,0.93);
		backdrop-filter: blur(6px);
		-webkit-backdrop-filter: blur(6px);
	}

	.header--compact .main-nav__list > li > a {
		line-height: 56px;
		font-size: 0.95em;
	}

	.header--compact .header-logo {
		transform: scale(0.9);
		transform-origin: left center;
		opacity: 0.92;
	}

	.header--compact .header-logo__img {
		opacity: 0.92;
	}
}

/* Für zentrierte Logo-Layouts */
@media (min-width: 992px) {
	.header--layout-3.header--compact .header-logo,
	.header--layout-4.header--compact .header-logo {
		transform: translateX(-50%) scale(0.9);
		transform-origin: center center;
	}
}

/* =========================================================
   Navigation underline effect
   ========================================================= */

@media (min-width: 992px) {
	.main-nav__list > li > a {
		position: relative;
	}

	.main-nav__list > li > a::after {
		content: "";
		position: absolute;
		left: 16px;
		right: 16px;
		bottom: 14px;
		height: 3px;
		background: #f0c232;
		transform: scaleX(0);
		transform-origin: center center;
		transition: transform 0.25s ease, opacity 0.25s ease;
		opacity: 0.95;
		border-radius: 2px;
	}

	.main-nav__list > li:hover > a::after,
	.main-nav__list > li.current-menu-item > a::after,
	.main-nav__list > li.current-menu-parent > a::after,
	.main-nav__list > li.current_page_item > a::after,
	.main-nav__list > li.current_page_parent > a::after {
		transform: scaleX(1);
	}
}

/* Im kompakten Zustand etwas höher setzen */
@media (min-width: 992px) {
	.header--compact .main-nav__list > li > a::after {
		bottom: 10px;
	}
}

/* =========================================================
   Lineup - Tafel
   ========================================================= */

.custom-lineup-widget {
    margin: 0 0 24px;
    padding: 22px;
    background: #111827;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.custom-lineup-title {
    margin: 0 0 18px;
    color: #57c7ff;
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-lineup-pitch {
    position: relative;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 768 / 1024;
    background: linear-gradient(180deg, #3e9f32 0%, #48a93b 100%);
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

/* Rasenmuster */
.custom-lineup-pitch::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.05) 0, rgba(255,255,255,0.05) 10%, transparent 10%, transparent 20%, rgba(255,255,255,0.03) 20%, rgba(255,255,255,0.03) 30%, transparent 30%),
        repeating-linear-gradient(
            to bottom,
            rgba(255,255,255,0.035) 0%,
            rgba(255,255,255,0.035) 8.33%,
            rgba(255,255,255,0.00) 8.33%,
            rgba(255,255,255,0.00) 16.66%
        );
    pointer-events: none;
    z-index: 0;
}

.custom-lineup-markings {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* Mittellinie */
.custom-lineup-markings::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 20px;
    right: 20px;
    height: 4px;
    transform: translateY(-50%);
    background: #fff;
}

/* inneres Spielfeld */
.custom-lineup-markings::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border: 4px solid #fff;
    border-radius: 0;
    box-sizing: border-box;
}

/* Mittelkreis */
.custom-lineup-center-circle {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 128px;
    height: 128px;
    transform: translate(-50%, -50%);
    border: 4px solid #fff;
    border-radius: 50%;
}

.custom-lineup-center-spot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 50%;
}

/* Strafraum */
.custom-lineup-penalty-area {
    position: absolute;
    left: 50%;
    width: 48%;
    height: 15.5%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-sizing: border-box;
}

.custom-lineup-penalty-area--top {
    top: 20px;
    border-top: none;
}

.custom-lineup-penalty-area--bottom {
    bottom: 20px;
    border-bottom: none;
}

/* Fünfmeterraum */
.custom-lineup-goal-area {
    position: absolute;
    left: 50%;
    width: 22%;
    height: 7%;
    transform: translateX(-50%);
    border: 4px solid #fff;
    box-sizing: border-box;
}

.custom-lineup-goal-area--top {
    top: 20px;
    border-top: none;
}

.custom-lineup-goal-area--bottom {
    bottom: 20px;
    border-bottom: none;
}

/* Eckbögen – nah am Alchemists-Referenzbild */
.custom-lineup-corner {
    position: absolute;
    width: 19px;
    height: 19px;
    border: 4px solid #fff;
    border-radius: 55%;
    box-sizing: border-box;
    z-index: 3;
    background: transparent;
    transform: none !important;
}

.custom-lineup-corner--top-left {
    top: 21px;
    left: 21px;
    border-top: none;
    border-left: none;
}

.custom-lineup-corner--top-right {
    top: 21px;
    right: 21px;
    border-top: none;
    border-right: none;
}

.custom-lineup-corner--bottom-left {
    bottom: 21px;
    left: 21px;
    border-bottom: none;
    border-left: none;
}

.custom-lineup-corner--bottom-right {
    bottom: 21px;
    right: 21px;
    border-bottom: none;
    border-right: none;
}
/* Spieler */
.custom-lineup-player {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 120px;
    text-align: center;
    z-index: 2;
}

.custom-lineup-player__shirt {
    position: relative;
    display: block;
    width: 62px;
    height: 68px;
    margin: 0 auto 8px;
    background: linear-gradient(90deg, #f4d21f 0 50%, #1f5fbf 50% 100%);
    clip-path: polygon(
        22% 0%,
        78% 0%,
        100% 16%,
        88% 32%,
        88% 100%,
        12% 100%,
        12% 32%,
        0% 16%
    );
    border: 2px solid rgba(255,255,255,0.22);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* Torwart immer rot */
.custom-lineup-player.pos-tw .custom-lineup-player__shirt {
    background: #d62828 !important;
    border: 2px solid rgba(255,255,255,0.22);
}

.custom-lineup-player__shirt-number {
    position: absolute;
    left: 50%;
    top: 44%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.custom-lineup-player__name {
    display: inline-block;
    max-width: 118px;
    padding: 6px 10px;
    background: #111;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.24);
}

/* ===== Hover-Effekt Aufstellung ===== */
.custom-lineup-player {
    transition: transform 0.18s ease, filter 0.18s ease;
}

.custom-lineup-player__shirt,
.custom-lineup-player__name {
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.custom-lineup-player:hover {
    transform: translate(-50%, -50%) scale(1.04);
    z-index: 6;
    filter: brightness(1.03);
}

.custom-lineup-player:hover .custom-lineup-player__shirt {
    box-shadow: 0 8px 18px rgba(0,0,0,0.28);
}

.custom-lineup-player:hover .custom-lineup-player__name {
    background: #000;
    box-shadow: 0 6px 14px rgba(0,0,0,0.28);
}

/* optional: Nummer beim Hover etwas klarer */
.custom-lineup-player:hover .custom-lineup-player__shirt-number {
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 767px) {
    .custom-lineup-player:hover {
        transform: translate(-50%, -50%) scale(1.01);
        filter: none;
    }

    .custom-lineup-player:hover .custom-lineup-player__shirt,
    .custom-lineup-player:hover .custom-lineup-player__name {
        box-shadow: none;
    }
}

/* ===== Mobile Optimierung Aufstellung ===== */
@media (max-width: 767px) {
    .custom-lineup-widget {
        padding: 14px;
        border-radius: 12px;
    }

    .custom-lineup-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .custom-lineup-pitch {
        max-width: 100%;
    }

    .custom-lineup-player {
        width: 86px;
    }

    .custom-lineup-player__shirt {
        width: 40px !important;
        height: 46px !important;
        margin: 0 auto 6px;
    }

    .custom-lineup-player__shirt-number {
        font-size: 13px;
        top: 44%;
    }

    .custom-lineup-player__name {
        max-width: 82px !important;
        font-size: 11px !important;
        padding: 4px 8px !important;
        border-radius: 8px;
    }

    .custom-lineup-center-circle {
        width: 88px;
        height: 88px;
        border-width: 3px;
    }

    .custom-lineup-markings::before {
        height: 3px;
    }

    .custom-lineup-penalty-area,
    .custom-lineup-goal-area,
    .custom-lineup-markings::after {
        border-width: 3px;
    }

    .custom-lineup-corner {
        width: 22px;
        height: 22px;
        border-width: 3px;
    }
}

@media (max-width: 767px) {
    .custom-lineup-player {
        width: 64px !important;
    }

    .custom-lineup-player__shirt {
        width: 34px !important;
        height: 40px !important;
        margin: 0 auto !important;
    }

    .custom-lineup-player__shirt-number {
        font-size: 12px !important;
        top: 44% !important;
    }

    .custom-lineup-player__name {
        display: none !important;
    }

    .custom-lineup-title {
        font-size: 22px !important;
        margin-bottom: 12px !important;
    }

    .custom-lineup-widget {
        padding: 14px !important;
    }

    .custom-lineup-center-circle {
        width: 76px !important;
        height: 76px !important;
        border-width: 3px !important;
    }

    .custom-lineup-markings::before {
        height: 3px !important;
    }

    .custom-lineup-penalty-area,
    .custom-lineup-goal-area,
    .custom-lineup-markings::after {
        border-width: 3px !important;
    }

    .custom-lineup-corner {
        width: 20px !important;
        height: 20px !important;
        border-width: 3px !important;
    }
}

/* ===== Feldzonen: Größen ===== */

/* Standard */
.custom-lineup-player {
    width: 120px;
    text-align: center;
    z-index: 2;
}

.custom-lineup-player__shirt {
    transition: all 0.2s ease;
}

.custom-lineup-player__name {
    transition: all 0.2s ease;
}

/* Torwart */
.custom-lineup-player.pos-tw .custom-lineup-player__shirt {
    width: 56px;
    height: 62px;
}

.custom-lineup-player.pos-tw .custom-lineup-player__name {
    max-width: 92px;
    font-size: 12px;
    padding: 5px 9px;
}

/* Abwehr */
.custom-lineup-player.pos-lv .custom-lineup-player__shirt,
.custom-lineup-player.pos-rv .custom-lineup-player__shirt,
.custom-lineup-player.pos-iv1 .custom-lineup-player__shirt,
.custom-lineup-player.pos-iv2 .custom-lineup-player__shirt,
.custom-lineup-player.pos-iv3 .custom-lineup-player__shirt,
.custom-lineup-player.pos-lav .custom-lineup-player__shirt,
.custom-lineup-player.pos-rav .custom-lineup-player__shirt {
    width: 58px;
    height: 64px;
}

.custom-lineup-player.pos-lv .custom-lineup-player__name,
.custom-lineup-player.pos-rv .custom-lineup-player__name,
.custom-lineup-player.pos-iv1 .custom-lineup-player__name,
.custom-lineup-player.pos-iv2 .custom-lineup-player__name,
.custom-lineup-player.pos-iv3 .custom-lineup-player__name,
.custom-lineup-player.pos-lav .custom-lineup-player__name,
.custom-lineup-player.pos-rav .custom-lineup-player__name {
    max-width: 96px;
    font-size: 12px;
    padding: 5px 9px;
}

/* Mittelfeld */
.custom-lineup-player.pos-dm .custom-lineup-player__shirt,
.custom-lineup-player.pos-zm1 .custom-lineup-player__shirt,
.custom-lineup-player.pos-zm2 .custom-lineup-player__shirt,
.custom-lineup-player.pos-zm3 .custom-lineup-player__shirt,
.custom-lineup-player.pos-lm .custom-lineup-player__shirt,
.custom-lineup-player.pos-rm .custom-lineup-player__shirt,
.custom-lineup-player.pos-om .custom-lineup-player__shirt {
    width: 62px;
    height: 68px;
}

.custom-lineup-player.pos-dm .custom-lineup-player__name,
.custom-lineup-player.pos-zm1 .custom-lineup-player__name,
.custom-lineup-player.pos-zm2 .custom-lineup-player__name,
.custom-lineup-player.pos-zm3 .custom-lineup-player__name,
.custom-lineup-player.pos-lm .custom-lineup-player__name,
.custom-lineup-player.pos-rm .custom-lineup-player__name,
.custom-lineup-player.pos-om .custom-lineup-player__name {
    max-width: 108px;
    font-size: 13px;
    padding: 6px 10px;
}

/* Angriff */
.custom-lineup-player.pos-la .custom-lineup-player__shirt,
.custom-lineup-player.pos-ra .custom-lineup-player__shirt,
.custom-lineup-player.pos-st1 .custom-lineup-player__shirt,
.custom-lineup-player.pos-st2 .custom-lineup-player__shirt {
    width: 66px;
    height: 72px;
}

.custom-lineup-player.pos-la .custom-lineup-player__name,
.custom-lineup-player.pos-ra .custom-lineup-player__name,
.custom-lineup-player.pos-st1 .custom-lineup-player__name,
.custom-lineup-player.pos-st2 .custom-lineup-player__name {
    max-width: 116px;
    font-size: 13px;
    padding: 6px 11px;
}

/* ===== Positionen 4-3-3 ===== */
.formation-4-3-3 .pos-tw  { left: 50%; top: 86%; }

.formation-4-3-3 .pos-lv  { left: 22%; top: 72%; }
.formation-4-3-3 .pos-iv1 { left: 38%; top: 72%; }
.formation-4-3-3 .pos-iv2 { left: 62%; top: 72%; }
.formation-4-3-3 .pos-rv  { left: 78%; top: 72%; }

.formation-4-3-3 .pos-zm1 { left: 26%; top: 52%; }
.formation-4-3-3 .pos-zm2 { left: 50%; top: 48%; }
.formation-4-3-3 .pos-zm3 { left: 74%; top: 52%; }

.formation-4-3-3 .pos-la  { left: 22%; top: 30%; }
.formation-4-3-3 .pos-st1 { left: 50%; top: 24%; }
.formation-4-3-3 .pos-ra  { left: 78%; top: 30%; }


/* ===== Positionen 4-4-2 ===== */
.formation-4-4-2 .pos-tw  { left: 50%; top: 86%; }

.formation-4-4-2 .pos-lv  { left: 22%; top: 72%; }
.formation-4-4-2 .pos-iv1 { left: 38%; top: 72%; }
.formation-4-4-2 .pos-iv2 { left: 62%; top: 72%; }
.formation-4-4-2 .pos-rv  { left: 78%; top: 72%; }

.formation-4-4-2 .pos-lm  { left: 18%; top: 50%; }
.formation-4-4-2 .pos-zm1 { left: 40%; top: 50%; }
.formation-4-4-2 .pos-zm2 { left: 60%; top: 50%; }
.formation-4-4-2 .pos-rm  { left: 82%; top: 50%; }

.formation-4-4-2 .pos-st1 { left: 40%; top: 24%; }
.formation-4-4-2 .pos-st2 { left: 60%; top: 24%; }


/* ===== Positionen 4-2-3-1 ===== */
.formation-4-2-3-1 .pos-tw  { left: 50%; top: 86%; }

.formation-4-2-3-1 .pos-lv  { left: 22%; top: 72%; }
.formation-4-2-3-1 .pos-iv1 { left: 38%; top: 72%; }
.formation-4-2-3-1 .pos-iv2 { left: 62%; top: 72%; }
.formation-4-2-3-1 .pos-rv  { left: 78%; top: 72%; }

.formation-4-2-3-1 .pos-dm  { left: 40%; top: 58%; }
.formation-4-2-3-1 .pos-zm1 { left: 60%; top: 58%; }

.formation-4-2-3-1 .pos-la  { left: 22%; top: 40%; }
.formation-4-2-3-1 .pos-om  { left: 50%; top: 36%; }
.formation-4-2-3-1 .pos-ra  { left: 78%; top: 40%; }

.formation-4-2-3-1 .pos-st1 { left: 50%; top: 22%; }


/* ===== Positionen 3-5-2 ===== */
.formation-3-5-2 .pos-tw  { left: 50%; top: 86%; }

.formation-3-5-2 .pos-iv1 { left: 30%; top: 72%; }
.formation-3-5-2 .pos-iv2 { left: 50%; top: 69%; }
.formation-3-5-2 .pos-iv3 { left: 70%; top: 72%; }

.formation-3-5-2 .pos-lav { left: 14%; top: 50%; }
.formation-3-5-2 .pos-zm1 { left: 32%; top: 52%; }
.formation-3-5-2 .pos-zm2 { left: 50%; top: 47%; }
.formation-3-5-2 .pos-zm3 { left: 68%; top: 52%; }
.formation-3-5-2 .pos-rav { left: 86%; top: 50%; }

.formation-3-5-2 .pos-st1 { left: 40%; top: 24%; }
.formation-3-5-2 .pos-st2 { left: 60%; top: 24%; }

@media (max-width: 767px) {
    .custom-lineup-widget {
        padding: 14px;
    }

    .custom-lineup-title {
        font-size: 26px;
        margin-bottom: 14px;
    }

    .custom-lineup-player {
        width: 86px;
    }

    .custom-lineup-player__shirt {
        width: 46px;
        height: 52px;
        margin-bottom: 6px;
    }

    .custom-lineup-player__shirt-number {
        font-size: 14px;
    }

    .custom-lineup-player__name {
        max-width: 82px;
        font-size: 11px;
        padding: 4px 8px;
    }

    .custom-lineup-center-circle {
        width: 88px;
        height: 88px;
    }
}

/* =========================================================
   FSV Vereinskalender
   ========================================================= */

.fsv-vk {
    margin: 0 0 28px;
}

.fsv-vk__header {
    margin-bottom: 18px;
}

.fsv-vk__header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fsv-vk__title {
    margin: 0;
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fsv-vk__month-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fsv-vk__month-label {
    min-width: 180px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.fsv-vk__month-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #57c7ff;
    color: #0d1320;
    font-size: 22px;
    font-weight: 800;
    text-decoration: none;
}

.fsv-vk__filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.fsv-vk__filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fsv-vk__filter:hover,
.fsv-vk__filter.is-active {
    background: #57c7ff;
    color: #0d1320;
}

.fsv-vk__legend {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.fsv-vk__legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.07);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.fsv-vk__legend-item::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
}

.fsv-vk__legend-item.is-heimspiel::before { background: #f7d400; }
.fsv-vk__legend-item.is-auswaertsspiel::before { background: #57c7ff; }
.fsv-vk__legend-item.is-spiel::before { background: #57c7ff; }
.fsv-vk__legend-item.is-pokalspiel::before { background: #fb923c; }
.fsv-vk__legend-item.is-veranstaltung::before { background: #22c55e; }
.fsv-vk__legend-item.is-vereinsfest::before { background: #ec4899; }
.fsv-vk__legend-item.is-feriencamp::before { background: #14b8a6; }
.fsv-vk__legend-item.is-hallenturnier::before { background: #8b5cf6; }
.fsv-vk__legend-item.is-sponsorencup::before { background: #f59e0b; }
.fsv-vk__legend-item.is-mitgliederversammlung::before { background: #ef4444; }
.fsv-vk__legend-item.is-fsv-teilnahme::before { background: #38bdf8; }
.fsv-vk__legend-item.is-sponsorentermin::before { background: #a855f7; }
.fsv-vk__legend-item.is-nachwuchs::before { background: #7dd3fc; }
.fsv-vk__legend-item.is-verein::before { background: #e5e7eb; }
.fsv-vk__legend-item.is-sponsoren::before { background: #facc15; }

.fsv-vk__calendar-card,
.fsv-vk__list {
    padding: 18px;
    background: #111827;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.fsv-vk__calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 8px;
    table-layout: fixed;
}

.fsv-vk__calendar th {
    color: rgba(255,255,255,0.92);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    padding: 6px 0 10px;
}

.fsv-vk__calendar td {
    position: relative;
    height: 62px;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    overflow: hidden;
}

.fsv-vk__calendar td.is-empty {
    background: transparent;
}

.fsv-vk__day.is-today {
    box-shadow: inset 0 0 0 2px #57c7ff;
    background: rgba(87, 199, 255, 0.1);
}

.fsv-vk__day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.fsv-vk__day-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.fsv-vk__day.has-events {
    background: rgba(255,255,255,0.08);
}

.fsv-vk__dots {
    position: absolute;
    right: 7px;
    top: 7px;
    display: flex;
    gap: 4px;
}

.fsv-vk__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.fsv-vk__dot.is-heimspiel { background: #f7d400; }
.fsv-vk__dot.is-auswaertsspiel { background: #57c7ff; }
.fsv-vk__dot.is-spiel { background: #57c7ff; }
.fsv-vk__dot.is-pokalspiel { background: #fb923c; }
.fsv-vk__dot.is-veranstaltung { background: #22c55e; }
.fsv-vk__dot.is-vereinsfest { background: #ec4899; }
.fsv-vk__dot.is-feriencamp { background: #14b8a6; }
.fsv-vk__dot.is-hallenturnier { background: #8b5cf6; }
.fsv-vk__dot.is-sponsorencup { background: #f59e0b; }
.fsv-vk__dot.is-mitgliederversammlung { background: #ef4444; }
.fsv-vk__dot.is-fsv-teilnahme { background: #38bdf8; }
.fsv-vk__dot.is-sponsorentermin { background: #a855f7; }
.fsv-vk__dot.is-nachwuchs { background: #7dd3fc; }
.fsv-vk__dot.is-verein { background: #e5e7eb; }
.fsv-vk__dot.is-sponsoren { background: #facc15; }

.fsv-vk__list {
    margin-top: 20px;
}

.fsv-vk__list-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.fsv-vk__list-title {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 800;
}

.fsv-vk__list-meta {
    color: rgba(255,255,255,0.72);
    font-size: 14px;
    font-weight: 600;
}

.fsv-vk__day-group + .fsv-vk__day-group {
    margin-top: 18px;
}

.fsv-vk__day-title {
    margin: 0 0 10px;
    color: #57c7ff;
    font-size: 18px;
    font-weight: 800;
}

.fsv-vk__event {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    border-left: 4px solid #57c7ff;
}

.fsv-vk__event + .fsv-vk__event {
    margin-top: 10px;
}

.fsv-vk__event.is-heimspiel { border-left-color: #f7d400; }
.fsv-vk__event.is-auswaertsspiel { border-left-color: #57c7ff; }
.fsv-vk__event.is-spiel { border-left-color: #57c7ff; }
.fsv-vk__event.is-pokalspiel { border-left-color: #fb923c; }
.fsv-vk__event.is-veranstaltung { border-left-color: #22c55e; }
.fsv-vk__event.is-vereinsfest { border-left-color: #ec4899; }
.fsv-vk__event.is-feriencamp { border-left-color: #14b8a6; }
.fsv-vk__event.is-hallenturnier { border-left-color: #8b5cf6; }
.fsv-vk__event.is-sponsorencup { border-left-color: #f59e0b; }
.fsv-vk__event.is-mitgliederversammlung { border-left-color: #ef4444; }
.fsv-vk__event.is-fsv-teilnahme { border-left-color: #38bdf8; }
.fsv-vk__event.is-sponsorentermin { border-left-color: #a855f7; }
.fsv-vk__event.is-nachwuchs { border-left-color: #7dd3fc; }
.fsv-vk__event.is-verein { border-left-color: #e5e7eb; }
.fsv-vk__event.is-sponsoren { border-left-color: #facc15; }

.fsv-vk__event-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    width: 100%;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.fsv-vk__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.fsv-vk__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(87,199,255,0.16);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.fsv-vk__badge.is-heimspiel { background: rgba(247, 212, 0, 0.18); color: #fff; }
.fsv-vk__badge.is-auswaertsspiel { background: rgba(87, 199, 255, 0.18); color: #fff; }
.fsv-vk__badge.is-spiel { background: rgba(87, 199, 255, 0.18); color: #fff; }
.fsv-vk__badge.is-pokalspiel { background: rgba(251, 146, 60, 0.18); color: #fff; }
.fsv-vk__badge.is-veranstaltung { background: rgba(34, 197, 94, 0.18); color: #fff; }
.fsv-vk__badge.is-vereinsfest { background: rgba(236, 72, 153, 0.18); color: #fff; }
.fsv-vk__badge.is-feriencamp { background: rgba(20, 184, 166, 0.18); color: #fff; }
.fsv-vk__badge.is-hallenturnier { background: rgba(139, 92, 246, 0.18); color: #fff; }
.fsv-vk__badge.is-sponsorencup { background: rgba(245, 158, 11, 0.18); color: #fff; }
.fsv-vk__badge.is-mitgliederversammlung { background: rgba(239, 68, 68, 0.18); color: #fff; }
.fsv-vk__badge.is-fsv-teilnahme { background: rgba(56, 189, 248, 0.18); color: #fff; }
.fsv-vk__badge.is-sponsorentermin { background: rgba(168, 85, 247, 0.18); color: #fff; }
.fsv-vk__badge.is-nachwuchs { background: rgba(125, 211, 252, 0.18); color: #fff; }
.fsv-vk__badge.is-verein { background: rgba(229, 231, 235, 0.18); color: #fff; }
.fsv-vk__badge.is-sponsoren { background: rgba(250, 204, 21, 0.18); color: #fff; }

.fsv-vk__event-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.25;
}

.fsv-vk__event-title a {
    color: #fff;
    text-decoration: none;
}

.fsv-vk__event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    font-weight: 600;
}

.fsv-vk__event-desc {
    margin-top: 8px;
    color: rgba(255,255,255,0.78);
    font-size: 14px;
    line-height: 1.5;
}

.fsv-vk__empty {
    padding: 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.04);
    color: rgba(255,255,255,0.78);
    text-align: center;
}

@media (max-width: 767px) {
    .fsv-vk__title {
        font-size: 26px;
    }

    .fsv-vk__month-label {
        min-width: auto;
        font-size: 17px;
    }

    .fsv-vk__month-link {
        width: 38px;
        height: 38px;
    }

    .fsv-vk__calendar {
        border-spacing: 4px;
    }

    .fsv-vk__calendar td {
        height: 42px;
        border-radius: 9px;
    }

    .fsv-vk__day-number {
        font-size: 13px;
    }

    .fsv-vk__dots {
        right: 5px;
        top: 5px;
        gap: 3px;
    }

    .fsv-vk__dot {
        width: 6px;
        height: 6px;
    }

    .fsv-vk__event {
        grid-template-columns: 1fr;
    }

    .fsv-vk__event-time {
        min-height: 40px;
        justify-content: flex-start;
        padding: 0 12px;
    }

    .fsv-vk__list-title {
        font-size: 20px;
    }

    .fsv-vk__event-title {
        font-size: 16px;
    }

    .fsv-vk__event-meta,
    .fsv-vk__event-desc {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
	.fsv-vk__header-top {
		align-items: flex-start;
		gap: 10px;
	}

	.fsv-vk__title {
		font-size: 26px;
	}

	.fsv-vk__month-nav {
		width: 100%;
		justify-content: space-between;
	}

	.fsv-vk__month-label {
		min-width: 0;
		flex: 1;
		font-size: 18px;
	}

	.fsv-vk__filters,
	.fsv-vk__legend {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.fsv-vk__filter,
	.fsv-vk__legend-item {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.fsv-vk__calendar {
		border-spacing: 4px;
	}

	.fsv-vk__calendar th {
		font-size: 11px;
		padding: 4px 0 8px;
	}

	.fsv-vk__calendar td {
		height: 48px;
		border-radius: 10px;
	}

	.fsv-vk__day-number {
		font-size: 14px;
	}

	.fsv-vk__dots {
		right: 5px;
		top: 5px;
		gap: 3px;
	}

	.fsv-vk__dot {
		width: 6px;
		height: 6px;
	}

	.fsv-vk__event {
		grid-template-columns: 72px 1fr;
		gap: 10px;
		padding: 12px;
	}

	.fsv-vk__event-time {
		min-height: 40px;
		font-size: 14px;
	}

	.fsv-vk__event-title {
		font-size: 16px;
		line-height: 1.2;
	}

	.fsv-vk__list-title {
		font-size: 20px;
	}

	.fsv-vk__list-meta,
	.fsv-vk__event-location {
		font-size: 13px;
	}
}

.fsv-vk__filters::-webkit-scrollbar,
.fsv-vk__legend::-webkit-scrollbar {
	height: 6px;
}

.fsv-vk__filters::-webkit-scrollbar-thumb,
.fsv-vk__legend::-webkit-scrollbar-thumb {
	background: rgba(255,255,255,0.18);
	border-radius: 999px;
}

@media (max-width: 767px) {
	.fsv-vk__filters,
	.fsv-vk__legend {
		gap: 8px;
	}

	.fsv-vk__filter,
	.fsv-vk__legend-item {
		padding: 8px 10px;
		font-size: 12px;
	}

	.fsv-vk__month-label {
		min-width: 120px;
		font-size: 18px;
	}

	.fsv-vk__calendar {
		border-spacing: 6px;
	}

	.fsv-vk__calendar td {
		height: 48px;
		border-radius: 10px;
	}

	.fsv-vk__day-number {
		font-size: 14px;
	}

	.fsv-vk__dots {
		right: 5px;
		top: 5px;
		gap: 3px;
	}

	.fsv-vk__dot {
		width: 6px;
		height: 6px;
	}

	.fsv-vk__event {
		grid-template-columns: 72px 1fr;
		gap: 10px;
		padding: 12px;
	}

	.fsv-vk__event-time {
		min-height: 40px;
		font-size: 14px;
	}

	.fsv-vk__event-title {
		font-size: 16px;
		line-height: 1.2;
	}

	.fsv-vk__badge {
		font-size: 11px;
		padding: 4px 7px;
	}
}

/* Nur auf der Kalender-Seite */
.page-id-35 #secondary {
    display: none !important;
}

.page-id-35 #primary {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.page-id-35 .site-content .row {
    display: block !important;
}

.page-id-35 .content-area.col-lg-8 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.page-id-35 .site-content .container {
    max-width: 1400px !important;
    width: calc(100% - 40px) !important;
}



/* Nur Spielerbilder größer */
body.single-sp_list td img,
body.single-sp_list .sp-player-photo,
body.single-sp_list .player-photo,
body.postid-49584 td img,
body.postid-49584 .sp-player-photo,
body.postid-49584 .player-photo {
    width: 52px !important;
    height: 52px !important;
    max-width: 52px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}