/* ==========================================================================
   WarnowFM Schlager-Geburtstage - Style Fix
   ========================================================================== */

/* Header Layout */
.wfm-calendar-header {
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    margin-bottom: 35px !important;
}

.wfm-calendar-box {
    width: 220px !important;
    height: 220px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    border: 1px solid #eee !important;
}

.wfm-calendar-box .wfm-cal-month {
    background: #ec555a !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    padding: 12px 0 !important;
    font-size: 20px !important;
}

.wfm-cal-body {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
}

.wfm-cal-day {
    font-size: 64px !important;
    font-weight: 900 !important;
    color: #111111 !important;
    line-height: 1 !important;
}

.wfm-cal-year {
    color: #888888 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    padding-bottom: 15px !important;
}

/* Karten-Grid & Container */
.wfm-geburtstage-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 25px !important;
}

.wfm-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 24px !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
    border-top: 5px solid #ec555a !important;
    border-left: 1px solid #f0f0f0 !important;
    border-right: 1px solid #f0f0f0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 25px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

/* Linke Spalte (Name & Bio) */
.wfm-left-col {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.wfm-artist-name {
    margin: 0 0 10px 0 !important;
    font-size: 24px !important;
    font-weight: 800 !important;
}

.wfm-artist-bio {
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

/* Rechte Spalte (Vorschau & Bild) - Feste Breite */
.wfm-right-col {
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 160px !important;
    max-width: 160px !important;
    text-align: center !important;
}

.wfm-preview-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
}

.wfm-main-img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
}

.wfm-main-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    display: block !important;
    width: 100% !important;
}

/* Mobile Darstellung */
@media (max-width: 768px) {
    .wfm-calendar-header,
    .wfm-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .wfm-right-col {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* --------------------------------------------------------------------------
   Feinschliff: Titel-Umbruch rechts & Thumbnail-Styling links
   -------------------------------------------------------------------------- */

/* Rechte Spalte: Titel darf mehrzeilig umbrechen & zentrieren */
.wfm-main-title {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 0 0 4px 0 !important;
    white-space: normal !important; /* Erlaubt Zeilenumbruch */
    word-break: break-word !important;
    line-height: 1.3 !important;
    text-align: center !important;
}

.wfm-main-date {
    font-size: 12px !important;
    color: #666666 !important;
    margin: 0 !important;
    text-align: center !important;
}

/* Linke Spalte: Thumbnail-Galerie unten sauber formatieren */
.wfm-thumbnails-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 15px !important;
}

.wfm-thumb-item img {
    width: 50px !important;
    height: 50px !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    transition: all 0.2s ease !important;
}

.wfm-thumb-item.active img,
.wfm-thumb-item img:hover {
    border-color: #ec555a !important;
    transform: scale(1.05) !important;
}