/* =============================================================================
   /news — Latest retro gaming news
   v2 cyberpunk aesthetic, mirroring /top-games colors and layout.
   ========================================================================== */

.grecaptcha-badge { visibility: hidden !important; }

/* ── Page wrapper ─────────────────────────────────────────────────────────── */
.news-wrap {
    padding: 16px 0 88px;
}

/* ── Page header ──────────────────────────────────────────────────────────── */
.news-header {
    text-align: center;
    padding: 4px 16px 22px;
}
.news-heading {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--v2-text);
    margin: 0 0 5px;
}
.news-sub {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    color: var(--v2-text-dim);
    margin: 0;
}

/* ── Article list ─────────────────────────────────────────────────────────── */
.news-list {
    padding: 0 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid rgba(0, 217, 255, 0.18);
    border-radius: 8px;
    background: rgba(10, 10, 20, 0.65);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.news-item:active,
.news-item:focus-visible {
    border-color: var(--v2-cyan);
    background: rgba(0, 217, 255, 0.06);
    box-shadow: 0 0 14px rgba(0, 255, 65, 0.18);
    outline: none;
}

.news-item-thumb {
    width: 62px;
    height: 62px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #0a0e27;
    border: 1px solid rgba(0, 217, 255, 0.12);
}

.news-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.news-item-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--v2-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
}
.news-item-excerpt {
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--v2-text-dim);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: -5px;
}
.news-item-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.69rem;
    color: #00d9ff;
    letter-spacing: 0.3px;
    margin-top: -3px;
}

.news-item-arrow {
    color: var(--v2-cyan);
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ── Slide-in article panel ───────────────────────────────────────────────── */
.news-menu {
    background: linear-gradient(135deg, var(--v2-bg-0) 0%, var(--v2-bg-1) 100%) !important;
}

.news-menu-head {
    position: relative;
    overflow: hidden;
    height: 210px;
    flex-shrink: 0;
}
.news-menu-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-menu-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10,14,39,0.35) 0%, rgba(10,14,39,0.82) 100%);
}
.news-menu-hero-back {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v2-cyan);
    text-decoration: none;
}
.news-menu-hero-tag {
    position: absolute;
    top: 14px;
    right: 14px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--v2-bg-0);
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    padding: 4px 10px;
    border-radius: 4px;
}

.news-menu-body {
    padding: 16px 16px 0;
}
.news-menu-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--v2-text);
    letter-spacing: 0.5px;
    margin: 0 0 5px;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.25);
    line-height: 1.3;
}
.news-menu-meta {
    font-family: 'Roboto', sans-serif;
    font-size: 0.72rem;
    color: var(--v2-text-dim);
    letter-spacing: 0.3px;
    margin: 0 0 14px;
}
.news-menu-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--v2-cyan-25), transparent);
    margin: 0 0 14px;
    border: none;
}
.news-menu-summary {
    font-family: 'Roboto', sans-serif;
    font-size: 0.84rem;
    color: var(--v2-text-dim);
    line-height: 1.65;
    margin: 0 0 20px;
}

.news-menu-close {
    display: block;
    margin: 8px 15px 24px;
    background: linear-gradient(135deg, #00d9ff 0%, #00ff41 100%);
    color: #0a0e27;
    border-radius: 6px;
    padding: 13px 20px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 0 16px rgba(0, 217, 255, 0.25);
}
