/* Hero Section */
.news-hero {
    background: var(--gradient-primary);
    color: var(--mbdi-white);
    text-align: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.news-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%),
        url('../assets/pattern-overlay.svg');
    opacity: 0.1;
    animation: backgroundShift 30s linear infinite;
}

.news-hero-content {
    position: relative;
    z-index: 2;
}

.news-hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* News Section */
.news-section {
    padding: 80px 0;
    background-color: var(--background-light);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Featured News */
.featured-news {
    margin-bottom: 4rem;
}

.featured-article {
    display: flex;
    gap: 2rem;
    background: var(--mbdi-white);
    box-shadow: var(--shadow-md);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.featured-article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.featured-article img {
    width: 50%;
    object-fit: cover;
}

.featured-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.featured-content .excerpt {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.featured-content .news-link {
    margin-top: auto;
    align-self: flex-start;
}

.featured-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--mbdi-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    margin-bottom: 0.5rem;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.excerpt {
    flex-grow: 1;
    margin-bottom: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--news-link-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}

.news-link:hover {
    gap: 12px;
    color: var(--blue-dark);
}

.news-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(4px);
}

.no-news {
    text-align: center;
    padding: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .featured-article {
        flex-direction: column;
    }
    
    .featured-article img {
        width: 100%;
        height: 300px;
    }

    .featured-content {
        padding: 2rem;
    }
}

@media (max-width: 576px) {
    .news-hero {
        padding: 100px 0 60px;
    }

    .news-hero-content h1 {
        font-size: 2rem;
    }
} 