/* News pages styling */

.news-hero {
    background: #0f1114;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/cubes.webp');
    opacity: 0.12;
    pointer-events: none;
}

.news-hero .news-hero-inner {
    position: relative;
    z-index: 2;
}

.news-card {
    border: 1px solid #f0f0f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.08);
    border-color: #e9ecef;
}

.news-card-img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.news-card-title a:hover {
    color: var(--primary-red);
}

.news-badge {
    background: rgba(220, 53, 69, 0.08);
    color: var(--primary-red);
    border: 1px solid rgba(220, 53, 69, 0.18);
}

@media (max-width: 576px) {
    .news-card-img { height: 200px; }
}

/* Article detail: extra photos after hero */
.news-detail-gallery__cell {
    background: #f8f9fa;
}

.news-detail-gallery__cell img {
    display: block;
}

