/* Специфические стили для шапки новостей */
.news-header {
    padding: 80px 20px 40px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(37, 99, 235, 0.1), transparent);
    animation: fadeInDown 1s ease-out;
}

.back-btn {
    position: absolute;
    left: 30px; 
    top: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 0.7rem;
    border: 1px solid var(--accent-blue);
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
    background: rgba(0,0,0,0.3);
}

.back-btn:hover { 
    background: var(--accent-blue); 
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); 
}

.glitch-title {
    font-weight: 900;
    font-size: clamp(2rem, 8vw, 3.5rem);
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -2px;
    animation: titleGlow 3s infinite alternate;
}

.news-container {
    max-width: 800px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

/* КАРТОЧКА НОВОСТИ */
.news-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    opacity: 0; 
    transform: translateY(30px);
    animation: cardReveal 0.8s forwards;
    backdrop-filter: blur(10px);
}

.news-card:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.news-category {
    font-size: 0.65rem;
    font-weight: 900;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 5px;
}

/* Цвета категорий */
.cat-gov { background: rgba(37, 99, 235, 0.2); color: #60a5fa; }
.cat-crime { background: rgba(147, 51, 234, 0.2); color: #c084fc; }
.cat-event { background: rgba(234, 179, 8, 0.2); color: #fde047; }

.news-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
}

.news-image {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px solid var(--glass-border);
    transition: 0.5s;
}

/* АНИМАЦИИ */
@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes titleGlow {
    from { text-shadow: 0 0 5px rgba(255,255,255,0.1); }
    to { text-shadow: 0 0 20px rgba(37, 99, 235, 0.5); }
}
