/* =========================================================
   News-Seite
   ========================================================= */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 24px;

    margin-top: 38px;
}

.news-entry {
    padding: 30px 32px;

    border: 1px solid var(--border);
    border-radius: 16px;

    background: rgba(74, 163, 255, 0.055);
}


/* =========================================================
   News-Kopfzeile
   Titel links + Datum rechts
   ========================================================= */

.news-entry-header {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    padding-bottom: 18px;
    margin-bottom: 26px;
}

.news-entry-header::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: rgba(74, 163, 255, 0.60);
    border-radius: 999px;
}

.news-entry h2 {
    display: inline-flex;
    align-items: center;

    margin: 0;
    padding: 9px 16px 9px 18px;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(74, 163, 255, 0.24),
            rgba(74, 163, 255, 0.08),
            rgba(74, 163, 255, 0.00)
        );

    border-left: 5px solid rgba(74, 163, 255, 0.9);
    border-radius: 8px;

    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.01em;

    text-shadow: 0 0 14px rgba(74, 163, 255, 0.18);
}

.news-entry h2::before {
    display: none;
}

.news-date {
    flex-shrink: 0;

    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    white-space: nowrap;
}


/* =========================================================
   News - Aufzählungen
   ========================================================= */

.news-entry ul {
    margin: 0;
    padding-left: 22px;

    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.75;
}

.news-entry li {
    margin-bottom: 8px;
}

.news-entry li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   News - Fallback für Absätze
   ========================================================= */

.news-entry p {
    margin: 0 0 12px;

    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.news-entry p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   News - Mobile
   ========================================================= */

@media (max-width: 900px) {
    .news-entry {
        padding: 24px 22px;
    }

    .news-entry-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .news-entry h2 {
        font-size: 1.16rem;
    }

    .news-date {
        font-size: 0.74rem;
    }
}