/* Modul „SVV-Archiv“ (midbar) – ausgelagert aus der Datenbank am 2026-11-04 (vorher <style>-Block im Inhalt).
   Inhalt unverändert übernommen; Bearbeitung ab jetzt hier. */
.ubf-teaser-container {
    width: 100%;
    margin: 1.5rem auto;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

.ubf-teaser-card {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-decoration: none !important;
    color: #1e293b !important;
    box-shadow: 0 4px 12px rgba(30, 41, 59, 0.03), 0 2px 4px rgba(30, 41, 59, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

.ubf-teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 41, 59, 0.08), 0 4px 6px rgba(30, 41, 59, 0.04);
    border-color: rgba(10, 157, 192, 0.3);
}

.ubf-teaser-left {
    flex-shrink: 0;
}

.ubf-teaser-date-badge {
    width: 62px;
    height: 62px;
    background-color: #0a9dc0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(10, 157, 192, 0.25);
    transition: background-color 0.2s ease;
}

.ubf-teaser-card:hover .ubf-teaser-date-badge {
    background-color: #0884a2;
}

.ubf-teaser-date-day {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.ubf-teaser-date-month {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.95;
    margin-top: 1px;
}

.ubf-teaser-middle {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.ubf-teaser-badge-row {
    display: flex;
}

.ubf-teaser-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #e6f7fa;
    color: #0a9dc0;
    padding: 3px 9px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(10, 157, 192, 0.15);
}

.ubf-teaser-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b2e35 !important;
    margin: 0;
    line-height: 1.25;
}

.ubf-teaser-details {
    display: flex;
    flex-wrap: wrap;
    column-gap: 1.25rem;
    row-gap: 0.25rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 1px;
}

.ubf-teaser-detail-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.ubf-teaser-detail-item i {
    color: #f47a1f;
    font-size: 0.9rem;
}

.ubf-teaser-right {
    flex-shrink: 0;
}

.ubf-teaser-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f47a1f;
    color: #ffffff;
    padding: 0.55rem 1.15rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(244, 122, 31, 0.2);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ubf-teaser-card:hover .ubf-teaser-action-btn {
    background-color: #d96110;
    box-shadow: 0 6px 14px rgba(244, 122, 31, 0.3);
}

.ubf-teaser-action-btn i {
    transition: transform 0.2s ease;
}

.ubf-teaser-card:hover .ubf-teaser-action-btn i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .ubf-teaser-card {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .ubf-teaser-left {
        display: none;
    }
    
    .ubf-teaser-middle {
        width: 100%;
        gap: 0.4rem;
    }
    
    .ubf-teaser-details {
        flex-direction: column;
        gap: 0.35rem;
    }
    
    .ubf-teaser-right {
        width: 100%;
        margin-top: 0.25rem;
    }
    
    .ubf-teaser-action-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }
}
