/* --- HEADER BACKGROUND --- */
.news-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('news-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
}

.news-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* --- HOME PAGE NEWS CARD STYLES --- */
.news-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    align-items: flex-start;
}

.news-date {
    background: #f0f0f0;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    border: 1px solid #ddd;
}

.news-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #555;
}

.news-content {
    flex: 1;
}

.news-content .category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-content h3 {
    margin: 5px 0 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}


/* --- NEWS PAGE SPECIFIC STYLES --- */

/* Filters */
.news-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
}

/* Grid Layout (Featured + Sidebar) */
.news-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr; /* 2 parts Main, 1 part Sidebar */
    gap: 40px;
}

/* Featured Article */
.news-featured {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-featured img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.featured-text {
    padding: 25px;
}

.featured-text .badge {
    background: #ff0000;
    color: #fff;
    padding: 3px 8px;
    font-size: 0.8rem;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
}

.featured-text h2 {
    margin-top: 10px;
    font-size: 1.8rem;
    color: var(--text-dark);
}

/* Sidebar Mini News */
.news-sidebar {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-top: 4px solid var(--primary);
}

.news-sidebar h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.mini-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.mini-date {
    font-weight: bold;
    color: var(--primary);
    font-size: 0.9rem;
    min-width: 50px;
}

.mini-content a {
    text-decoration: none;
    color: #333;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.mini-content a:hover {
    color: var(--primary);
}

/* Video Grid */
.video-card {
    background: #000;
    height: 200px;
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    background: rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.video-card:hover .video-thumbnail {
    background: rgba(255,255,255,0.2);
    color: var(--primary);
}

.video-card h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
    margin: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .news-grid-layout {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
    }
    
    .news-featured img {
        height: 200px;
    }
}