/* ================================================================
   spielbetrieb.css – Styles für Spielbetrieb & DonauIllerLiga
   ================================================================ */

/* ----------------------------------------------------------------
    Eigener Verein hervorheben (Club-Karte)
-----------------------------------------------------------------*/

.sb-own-club {
    border: 2px solid #F15B00;
    box-shadow: 0 4px 20px rgba(241,91,0,.15);
}

    .sb-own-club::after {
        content: 'Wir!';
        position: absolute;
        top: 10px;
        right: 10px;
        background: #F15B00;
        color: #fff;
        font-size: .65rem;
        font-weight: 800;
        letter-spacing: .5px;
        text-transform: uppercase;
        padding: 3px 10px;
        border-radius: 20px;
        box-shadow: 0 2px 8px rgba(241,91,0,.4);
        z-index: 2;
    }

.dh-club-card {
    position: relative;
}

/* ----------------------------------------------------------------
    Rechtlicher Hinweis
-----------------------------------------------------------------*/

.sb-legal-box {
    background: #f9f9f9;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #ccc;
    border-radius: 12px;
    padding: 24px 28px;
}

.sb-legal-title {
    font-size: .95rem;
    font-weight: 700;
    color: #888;
    margin-bottom: 10px;
}

    .sb-legal-title i {
        color: #aaa;
    }

.sb-legal-box p {
    font-size: .85rem;
    color: #777;
    line-height: 1.7;
    margin: 0;
}

/* ----------------------------------------------------------------
    DIL Vereins-Karten: Logo als Vollbild im Badge
-----------------------------------------------------------------*/

.dh-club-card .dh-club-badge {
    padding: 0;
    overflow: hidden;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
}

.dh-club-card .dh-club-logo {
    width: 100%;
    height: 100%;
    max-height: none;
    max-width: none;
    object-fit: cover;
    object-position: center;
    filter: none;
    border-radius: 0;
    display: block;
}

/* Gleiche Kartenhöhe erzwingen */
.dh-club-card .dh-club-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 180px;
}

.dh-club-card .dh-club-desc {
    flex: 1;
}

/* ----------------------------------------------------------------
    Responsive
-----------------------------------------------------------------*/

@media (max-width: 576px) {
    .sb-legal-box {
        padding: 18px 16px;
    }

    .dh-club-card .dh-club-badge {
        height: 160px;
        min-height: 160px;
        max-height: 160px;
    }
}
