
/* =========================================
   PRAXIS VITAL – AKTUELLES & NEUIGKEITEN
   Vollständiges, responsives Design
========================================= */


/* =========================================
   1. GRUNDAUFBAU
========================================= */

.news-section {
    width: 100%;
    padding: 150px 20px 80px;
    box-sizing: border-box;
    background: #ffffff;
}

.news-section .container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;

    box-sizing: border-box;
}


/* =========================================
   2. KOPFBEREICH
========================================= */

.section-header {
    width: 100%;
    margin: 0 0 32px;
    padding: 0;
    text-align: center;
}


/* Herzschlag und INFORMATIONEN */

.news-section .section-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    margin: 0 0 12px;

    color: #00854A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-section .section-tag .section-icon {
    display: block;
    width: 28px;
    height: 24px;
    flex-shrink: 0;
}

.news-section .section-tag span {
    margin: 0;
    color: #00854A;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
}


/* Hauptüberschrift */

.news-heading,
.section-header h2 {
    margin: 0 0 14px;

    color: #202522;
    font-size: clamp(30px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}


/* Einleitungstext */

.news-intro,
.section-header p {
    width: 100%;
    max-width: 650px;

    margin: 0 auto;

    color: #454B47;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    text-align: center;
}


/* =========================================
   3. VERANSTALTUNGSKARTEN
========================================= */

.news-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;

    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    padding: 0;
}


/* Einzelne Karte */

.news-card {
    position: relative;

    display: flex;
    width: 100%;
    min-width: 0;

    background: #ffffff;
    border: 1px solid #E5ECE7;
    border-radius: 13px;

    box-shadow: 0 5px 18px rgba(30, 75, 45, 0.055);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    border-color: #D5E5DA;
    box-shadow: 0 10px 25px rgba(30, 75, 45, 0.09);
}


/* =========================================
   4. DATUMSBEREICH
========================================= */

.news-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    flex: 0 0 150px;
    min-width: 150px;

    padding: 24px 15px;

    background: #0F4C3A;
    color: #ffffff;

    text-align: center;
}

.news-date .day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.news-date .month {
    margin-top: 5px;

    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    opacity: 0.9;
}


/* =========================================
   5. KARTENINHALT
========================================= */

.news-content {
    position: relative;

    flex: 1;
    min-width: 0;

    padding: 25px 27px;
    box-sizing: border-box;
}

.news-content h3 {
    margin: 0 0 12px;
    padding-right: 115px;

    color: #202522;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
}

.news-content p {
    margin: 0 0 12px;

    color: #454B47;
    font-size: 14px;
    line-height: 1.7;
}

.news-content p:last-child {
    margin-bottom: 0;
}


/* Hervorgehobenes Zitat */

.quote-text {
    color: #0F4C3A !important;
    font-size: 15px !important;
    line-height: 1.7;
    margin-bottom: 14px !important;
}


/* Veranstaltungsdetails */

.event-details {
    margin: 15px 0;
    padding: 13px 16px;

    background: #F4F8F5;
    border-left: 3px solid #00854A;
    border-radius: 0 8px 8px 0;
}

.event-details p {
    margin: 4px 0;
    color: #454B47;
    font-size: 14px;
    line-height: 1.65;
}

.event-details p:last-child {
    margin-bottom: 0;
}


/* Hinweistext */

.news-note {
    margin-top: 14px !important;

    color: #777777 !important;
    font-size: 13px !important;
    font-style: italic;
}


/* Abschlusstext */

.closing-text {
    margin-top: 15px !important;
    color: #00854A !important;
}


/* =========================================
   6. BADGES / ETIKETTEN
========================================= */

.news-badge {
    position: absolute;
    top: 15px;
    right: 17px;
    z-index: 2;

    display: inline-block;

    padding: 5px 12px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}


/* Praxisschließung */

.badge-warning {
    background: #FFF3CD;
    color: #856404;
}


/* Einladung */

.badge-event {
    background: #E2F0D9;
    color: #0F4C3A;
}


/* Betriebsferien */

.badge-info {
    background: #E9ECEF;
    color: #495057;
}




/* =========================================
   7. TABLET
========================================= */

@media (max-width: 900px) {

    .news-section {
        padding-right: 24px;
        padding-left: 24px;
    }

    .news-grid {
        max-width: 100%;
    }

    .news-date {
        flex-basis: 125px;
        min-width: 125px;
    }

    .news-content {
        padding: 23px;
    }

}


/* =========================================
   8. SMARTPHONE
========================================= */

@media (max-width: 650px) {

    .news-section {
        padding: 135px 16px 55px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .news-heading,
    .section-header h2 {
        font-size: 30px;
    }

    .news-intro,
    .section-header p {
        font-size: 15px;
        line-height: 1.7;
    }

    .news-grid {
        gap: 20px;
    }

    .news-card {
        flex-direction: column;
        border-radius: 12px;
    }

    /* Datum oben auf der Karte */

    .news-date {
        flex: none;
        width: 100%;
        min-width: 0;

        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;

        padding: 13px 15px;
    }

    .news-date .day {
        font-size: 18px;
    }

    .news-date .month {
        margin-top: 0;
        font-size: 12px;
    }

    /* Karteninhalt */

    .news-content {
        padding: 23px 20px;
    }

    .news-content h3 {
        padding-right: 0;
        margin-bottom: 13px;
        font-size: 18px;
    }

    .news-content p {
        font-size: 14px;
    }

    /* Badge im normalen Textfluss */

    .news-badge {
        position: static;
        margin-bottom: 13px;
        align-self: flex-start;
    }

    .event-details {
        padding: 12px;
    }

    .event-details p {
        font-size: 13px;
    }

}


/* =========================================
   9. KLEINE SMARTPHONES
========================================= */

@media (max-width: 380px) {

    .news-section {
        padding-right: 13px;
        padding-left: 13px;
    }

    .news-heading,
    .section-header h2 {
        font-size: 27px;
    }

    .news-content {
        padding: 19px 16px;
    }

    .news-date .day {
        font-size: 16px;
    }

}


/* =========================================
   10. REDUZIERTE ANIMATIONEN
========================================= */

@media (prefers-reduced-motion: reduce) {

    .news-card {
        transition: none;
    }

    .news-card:hover {
        transform: none;
    }

}
