/**
 * Die Lounge — Magazin- & News-Übersicht Stylesheet (/assets/css/news/news.css)
 */

.news-hub-shell {
    padding-top: 0;
    padding-bottom: 0;
}

/* ============================================================================
   1. HEADER, SUCHE & RESSORT-NAVIGATION
   ============================================================================ */
.news-hub-header {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 1.65rem 1.85rem 1.25rem;
    margin-bottom: 1.85rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.news-hub-header-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.news-hub-title-wrap {
    max-width: 720px;
}

.news-hub-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.6vw, 2.35rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.015em;
    color: var(--text-primary);
    margin: 0.3rem 0 0.45rem;
    line-height: 1.12;
}

.news-hub-desc {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

.news-hub-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.news-search-form {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.news-search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.news-search-input-wrap i {
    position: absolute;
    left: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    pointer-events: none;
}

.news-search-input-wrap input {
    height: 36px;
    width: 245px;
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-xs);
    padding: 0 2rem 0 2.2rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: var(--text-primary);
}

.news-search-input-wrap input:focus {
    outline: none;
    border-color: var(--accent);
}

.news-search-clear {
    position: absolute;
    right: 0.55rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1;
}

.news-category-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-hairline);
    overflow-x: auto;
    scrollbar-width: none;
}

.news-category-bar::-webkit-scrollbar {
    display: none;
}

.news-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.9rem;
    border-radius: var(--radius-xs);
    background: var(--bg-body);
    border: 1px solid var(--border-hairline);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.news-cat-pill:hover {
    color: var(--text-primary);
    border-color: var(--border-strong);
    background: var(--bg-elevated);
}

.news-cat-pill.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ============================================================================
   2. TOP-FEATURED ARTIKEL-BANNER
   ============================================================================ */
.news-lead-section {
    margin-bottom: 2.25rem;
}

.news-lead-banner {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-lead-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #07090e;
    overflow: hidden;
}

.news-lead-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease-out);
}

.news-lead-banner:hover .news-lead-media img {
    transform: scale(1.03);
}

.news-lead-score-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.news-lead-body {
    padding: 2rem 2.15rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
}

.news-breaking-badge,
.news-featured-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.16rem 0.52rem;
    border-radius: 3px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.news-breaking-badge {
    background: #ef4444;
    color: #ffffff;
}

.news-featured-badge {
    background: var(--accent-subtle);
    color: var(--accent);
    border: 1px solid rgba(240, 82, 35, 0.35);
}

.news-lead-headline {
    font-size: clamp(1.35rem, 2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--text-primary);
}

.news-lead-headline a:hover {
    color: var(--accent);
}

.news-lead-excerpt {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.news-lead-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-hairline);
}

.news-author-byline {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.news-author-byline div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.news-author-byline span {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.news-author-byline strong {
    color: var(--text-primary);
}

.news-author-byline small {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.news-author-avatar {
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--accent);
    flex-shrink: 0;
}

.news-lead-metrics {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.news-lead-metrics span,
.news-stream-meta time,
.news-stream-meta > span {
    white-space: nowrap;
    flex-shrink: 0;
}

/* ============================================================================
   3. CHRONOLOGISCHER ARTIKEL-STREAM & PAGINIERUNG
   ============================================================================ */
.news-cards-list {
    display: flex;
    flex-direction: column;
}

.news-stream-card {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 1.5rem;
    padding: 1.45rem 0;
    border-bottom: 1px solid var(--border-hairline);
    align-items: start;
}

.news-stream-card:first-child {
    padding-top: 0.25rem;
}

.news-stream-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-elevated);
    border: 1px solid var(--border-hairline);
}

.news-stream-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s var(--ease-out);
}

.news-stream-card:hover .news-stream-thumb img {
    transform: scale(1.04);
}

.news-stream-score {
    position: absolute;
    bottom: 0.65rem;
    right: 0.65rem;
}

.news-stream-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    min-width: 0;
}

.news-stream-headline {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.news-stream-headline a:hover {
    color: var(--accent);
}

.news-stream-excerpt {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.58;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-stream-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.news-author-inline {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--text-secondary);
}

.news-author-inline strong {
    color: var(--text-primary);
}

.news-author-avatar-sm {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--accent);
    flex-shrink: 0;
}

.news-game-tag {
    color: var(--text-secondary);
    font-weight: 600;
}

.news-empty-box {
    padding: 2.25rem;
    border: 1px dashed var(--border-strong);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.news-empty-box h3 {
    margin: 0;
    font-size: 1.15rem;
}

.news-empty-box p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.news-empty-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

/* Paginierung */
.news-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-hairline);
}

.news-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 0.75rem;
    border-radius: var(--radius-xs);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: all 0.15s ease;
}

.news-page-btn:hover {
    color: var(--text-primary);
    border-color: var(--accent);
}

.news-page-btn.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

/* ============================================================================
   4. RECHTE SIDEBAR WIDGETS
   ============================================================================ */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.news-widget {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-widget-head {
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--border-hairline);
}

.news-widget-title {
    margin: 0.2rem 0 0;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.news-widget-empty {
    margin: 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}

.news-ranking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.news-ranking-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.news-ranking-num {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.news-ranking-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.news-ranking-link {
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
}

.news-ranking-link:hover {
    color: var(--accent);
}

.news-mini-reviews {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.news-mini-review-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: var(--radius-xs);
    background: var(--bg-body);
    border: 1px solid var(--border-hairline);
    transition: border-color 0.15s ease;
}

.news-mini-review-item:hover {
    border-color: var(--accent);
}

.news-mini-review-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.news-mini-review-info strong {
    font-size: 0.84rem;
    line-height: 1.32;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.news-tag-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.65rem;
    border-radius: 4px;
    background: var(--bg-body);
    border: 1px solid var(--border-strong);
    color: var(--text-secondary);
    font-size: 0.76rem;
    font-weight: 700;
    transition: all 0.14s ease;
}

.news-tag-chip:hover,
.news-tag-chip.is-active {
    background: var(--accent-subtle);
    border-color: var(--accent);
    color: var(--accent);
}

@media (max-width: 980px) {
    .news-lead-banner {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .news-hub-header {
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        box-shadow: none;
        padding: 1.15rem var(--mobile-gutter, 1rem) 1rem;
        margin-bottom: 0.5rem;
        gap: 1rem;
    }

    .news-hub-header-top {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
    }

    .news-hub-title {
        font-size: 1.55rem;
    }

    .news-hub-desc {
        font-size: 0.85rem;
    }

    .news-hub-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0.55rem;
    }

    .news-search-form {
        width: 100%;
    }

    .news-search-input-wrap {
        flex: 1;
        min-width: 0;
    }

    .news-search-input-wrap input {
        width: 100%;
    }

    .news-hub-actions > .dl-btn {
        width: 100%;
        justify-content: center;
    }

    .news-cat-pill {
        padding: 0.42rem 0.75rem;
        font-size: 0.78rem;
    }

    .news-lead-section {
        margin-bottom: 0.5rem;
    }

    .news-lead-banner {
        grid-template-columns: minmax(0, 1fr);
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }

    .news-lead-body {
        padding: 1.15rem var(--mobile-gutter, 1rem);
        gap: 0.7rem;
    }

    .news-lead-headline {
        font-size: 1.25rem;
        overflow-wrap: anywhere;
    }

    .news-lead-excerpt {
        font-size: 0.88rem;
        line-height: 1.52;
    }

    .news-lead-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.65rem;
        padding-top: 0.75rem;
    }

    .news-stream-section {
        background: var(--bg-surface);
        border-top: 1px solid var(--border-hairline);
        border-bottom: 1px solid var(--border-hairline);
        padding: 1.15rem var(--mobile-gutter, 1rem);
    }

    .news-stream-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
        padding: 1.15rem 0;
    }

    .news-stream-headline {
        font-size: 1.06rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    .news-stream-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .news-stream-meta {
        font-size: 0.74rem;
        gap: 0.35rem 0.45rem;
    }

    .news-pagination {
        flex-wrap: wrap;
    }

    .news-sidebar {
        gap: 0.5rem;
    }

    .news-widget {
        padding: 1.15rem var(--mobile-gutter, 1rem);
    }
}

