/* Vereinsverzeichnis auf der MTB-Startseite */
.vereine-card-grid {
    --bs-gutter-y: 5rem;
}

.card-verein {
    min-height: 330px;
    padding: 0 22px 24px;
    border-top: 4px solid #0c297a !important;
    background: linear-gradient(180deg, #fff 0%, #f5f7fb 100%) !important;
}

.card-verein .card-body {
    min-width: 0;
}

.card-verein h5 {
    color: #111a33;
    font-size: 1.08rem;
    line-height: 1.35;
}

.verein-logo-wrapper {
    overflow: hidden;
    border-color: #0c297a;
}

.verein-logo-wrapper img {
    border-radius: 50%;
    background: #fff;
    object-fit: contain;
}

.verein-logo-placeholder {
    background: linear-gradient(145deg, #fff, #e8edf8);
    color: #0c297a;
    font-size: 2.4rem;
}

.verein-address {
    min-height: 40px;
    line-height: 1.45;
}

.verein-card-description {
    margin: 4px 0 16px;
    color: #5f6675;
    font-size: .82rem;
    line-height: 1.5;
}

.card-verein a.btn {
    overflow-wrap: anywhere;
}

.vereine-empty-state {
    max-width: 640px;
    margin: 40px auto 70px;
    padding: 48px 28px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    text-align: center;
}

.vereine-empty-state > i {
    margin-bottom: 18px;
    color: #5c7ed6;
    font-size: 3rem;
}

.vereine-empty-state h3 {
    margin-bottom: 8px;
    font-size: 1.35rem;
}

.vereine-empty-state p {
    margin: 0;
    color: #bfc4cf;
}

#vereine-map {
    min-height: 380px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

.verein-map-flag-icon {
    border: 0;
    background: transparent;
}

.verein-map-flag {
    position: relative;
    display: block;
    width: 36px;
    height: 46px;
    filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .45));
    transition: transform .18s ease;
}

.verein-map-flag::before {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 4px;
    height: 43px;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(12, 41, 122, .8);
    content: '';
}

.verein-map-flag::after {
    position: absolute;
    bottom: -1px;
    left: 1px;
    width: 12px;
    height: 5px;
    border-radius: 50%;
    background: #0c297a;
    content: '';
}

.verein-map-flag-cloth {
    position: absolute;
    top: 2px;
    left: 8px;
    width: 27px;
    height: 20px;
    border: 2px solid #fff;
    border-left: 0;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(135deg, #315ac7, #0c297a);
    clip-path: polygon(0 0, 100% 0, 82% 50%, 100% 100%, 0 100%);
}

.verein-map-flag-icon:hover .verein-map-flag {
    transform: translateY(-2px) scale(1.08);
}

@media (max-width: 767.98px) {
    .vereine-section {
        padding-right: 8px;
        padding-left: 8px;
    }

    #vereine-map {
        height: 430px !important;
    }

    .card-verein {
        min-height: 0;
    }
}
