/* ============================================
   News (news.php) - Übersicht und Detail
   ============================================ */

.news-header h1 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.news-kicker {
    font-size: 0.8125rem !important;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.75rem !important;
    font-variant-numeric: tabular-nums;
}

.news-kicker a {
    color: var(--primary);
    text-decoration: none;
}

.news-kicker a:hover { text-decoration: underline; }

.news-kicker span { margin: 0 0.35rem; opacity: 0.6; }

/* Übersicht */
.news-list-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--border-color);
}

.news-item {
    position: relative;
    display: grid;
    gap: 0.4rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.news-item__date {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
}

.news-item__title {
    font-size: 1.25rem;
    font-weight: 650;
    line-height: 1.35;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.news-item__title a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Ganze Zeile klickbar, Link bleibt das einzige Fokusziel */
.news-item__title a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.news-item__title a:focus-visible {
    outline: none;
}

.news-item:focus-within {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.news-item__teaser {
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 0.6rem;
}

.news-item__more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.news-item:hover .news-item__title a { color: var(--primary); }
.news-item:hover .news-item__more { text-decoration: underline; text-underline-offset: 3px; }

.news-empty {
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .news-item {
        grid-template-columns: 8.5rem 1fr;
        gap: 2rem;
        padding: 2rem 0;
    }
    .news-item__date { padding-top: 0.3rem; }
    .news-item__title { font-size: 1.4rem; }
}

/* Detail */
.news-article {
    max-width: 760px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

.news-body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.news-body p,
.news-body ul { margin-bottom: 1.15rem; }

.news-body ul { padding-left: 1.4rem; }
.news-body li { margin-bottom: 0.4rem; }

.news-body h2 {
    font-size: 1.3rem;
    font-weight: 650;
    color: var(--text-primary);
    margin: 2rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.news-body h3 {
    font-size: 1.05rem;
    font-weight: 650;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.news-body strong { color: var(--text-primary); font-weight: 600; }

.news-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    background: var(--bg-secondary);
}

.news-cta strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.news-cta span { color: var(--text-secondary); }

.news-cta .btn { align-self: flex-start; }

@media (min-width: 640px) {
    .news-cta {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .news-cta .btn { align-self: auto; flex: none; }
}

.news-back { margin-top: 2rem; }

.news-back a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.news-back a:hover,
.news-back a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

@media print {
    .news-cta, .news-back { display: none; }
}
