/* ============================================================
 * news.css  ·  News-Übersicht, Detailseite, Sidebar
 * Nutzt die globalen Tokens aus style.css (--gold-color etc.)
 * ============================================================ */

/* ---------- Hero ---------- */
.news-hero {
    padding: 6.5rem 1.5rem 2.5rem;
    text-align: center;
    background: var(--gradient-dark);
}
.news-hero-inner { max-width: 900px; margin: 0 auto; }
.news-hero .hero-subtitle {
    margin-top: 0.6rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ---------- Layout: Hauptspalte + Sidebar ---------- */
.news-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .news-layout { grid-template-columns: 1fr; gap: 2rem; }
    .news-sidebar { order: 2; }
}

/* ---------- Kategorie-Filter ---------- */
.news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}
.news-filter-btn {
    --cat-color: var(--gold-color);
    padding: 0.5rem 1.1rem;
    border-radius: 22px;
    border: 1px solid var(--border-gold);
    background: rgba(255,255,255,0.02);
    color: var(--text-light);
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.18s ease;
    white-space: nowrap;
}
.news-filter-btn:hover {
    border-color: var(--cat-color);
    color: var(--cat-color);
}
.news-filter-btn.active {
    background: var(--cat-color);
    border-color: var(--cat-color);
    color: #0a0608;
    font-weight: 600;
}

/* ---------- News-Grid + Karten ---------- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}
.news-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-luxe);
    border-color: var(--gold-color);
}
.news-card-link { text-decoration: none; color: inherit; display: block; }

.news-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #140d10;
}
.news-card-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.news-card:hover .news-card-media img { transform: scale(1.05); }
.news-card-media.placeholder {
    background: linear-gradient(135deg, #1a1013, #0a0608);
}

/* Badge (Neu bei uns / Wieder da) */
.news-badge {
    position: absolute;
    top: 0.75rem; left: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 20px;
    background: var(--gradient-ruby);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(200,16,46,0.5);
}
/* Kategorie-Tag */
.news-cat-tag {
    --cat-color: var(--gold-color);
    position: absolute;
    bottom: 0.75rem; right: 0.75rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(10,6,8,0.82);
    color: var(--cat-color);
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid var(--cat-color);
    backdrop-filter: blur(3px);
}

.news-card-body { padding: 1.1rem 1.2rem 1.3rem; }
.news-card-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.35;
    color: var(--gold-bright);
    font-family: 'Cinzel', Georgia, serif;
}
.news-card-excerpt {
    margin: 0 0 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-meta {
    display: flex;
    gap: 1.1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.news-card-meta i { color: var(--gold-deep); margin-right: 0.25rem; }

.news-empty, .news-widget-empty {
    color: var(--text-muted);
    padding: 1rem 0;
}

/* ---------- Pagination ---------- */
.news-pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}
.news-page {
    min-width: 40px;
    padding: 0.5rem 0.7rem;
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.15s ease;
}
.news-page:hover { border-color: var(--gold-color); color: var(--gold-color); }
.news-page.active {
    background: var(--gold-color);
    color: #0a0608;
    border-color: var(--gold-color);
    font-weight: 700;
}

/* ---------- Sidebar-Widgets ---------- */
.news-widget {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-gold);
    border-radius: 14px;
    padding: 1.3rem;
    margin-bottom: 1.5rem;
}
.news-widget-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--gold-color);
    font-family: 'Cinzel', Georgia, serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.news-widget-title i { color: var(--primary-color); }

/* Top-News-Liste (rangnummeriert) */
.news-top-list {
    list-style: none;
    margin: 0; padding: 0;
    counter-reset: topnews;
}
.news-top-list li { counter-increment: topnews; margin-bottom: 0.9rem; }
.news-top-list li:last-child { margin-bottom: 0; }
.news-top-list a {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text-light);
    position: relative;
    padding-left: 1.9rem;
}
.news-top-list a::before {
    content: counter(topnews);
    position: absolute;
    left: 0; top: 0;
    width: 1.4rem; height: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: #0a0608;
    font-size: 0.75rem;
    font-weight: 700;
}
.news-top-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    margin-top: 0.45rem;
    flex-shrink: 0;
}
.news-top-text { display: flex; flex-direction: column; gap: 0.2rem; }
.news-top-headline {
    font-size: 0.9rem;
    line-height: 1.35;
    transition: color 0.15s ease;
}
.news-top-list a:hover .news-top-headline { color: var(--gold-color); }
.news-top-views { font-size: 0.75rem; color: var(--text-muted); }
.news-top-views i { color: var(--gold-deep); }

/* Kategorie-Liste */
.news-cat-list { list-style: none; margin: 0; padding: 0; }
.news-cat-list li { margin-bottom: 0.5rem; }
.news-cat-list a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    transition: color 0.15s ease;
}
.news-cat-list a:hover, .news-cat-list a.active { color: var(--gold-color); }
.news-cat-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ============================================================
 * Detailseite
 * ============================================================ */
.news-article {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-gold);
    border-radius: 16px;
    padding: 2rem;
}
@media (max-width: 600px) { .news-article { padding: 1.3rem; } }

.news-crumb {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.85rem;
}
.news-crumb a { color: var(--text-muted); text-decoration: none; }
.news-crumb a:hover { color: var(--gold-color); }
.news-crumb-cat {
    --cat-color: var(--gold-color);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--cat-color);
    color: var(--cat-color) !important;
}

.news-article-title {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    line-height: 1.2;
    color: var(--gold-bright);
    font-family: 'Cinzel', Georgia, serif;
}
.news-article-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.news-article-meta i { color: var(--gold-deep); margin-right: 0.3rem; }

.news-article-image {
    margin: 0 0 1.8rem;
    border-radius: 12px;
    overflow: hidden;
}
.news-article-image img { width: 100%; display: block; }

.news-article-body { font-size: 1.02rem; line-height: 1.8; color: var(--text-light); }
.news-article-body p { margin: 0 0 1.2rem; }
.news-article-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

.news-article-foot { margin-top: 2rem; }
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 24px;
    background: var(--gradient-gold);
    color: #0a0608;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease;
}
.back-button:hover { transform: translateY(-2px); }
