/* Professional News Page Styling */

:root {
    --primary-navy: #0A192F;
    --accent-gold: #D4AF37;
    --text-white: #FFFFFF;
    --text-dark: #1F2937;
    --text-gray: #6B7280;
    --card-bg: rgba(255, 255, 255, 0.9);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-effect: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    background-color: #f3f4f6;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
}

/* News Hero Banner */
.news-hero {
    height: 50vh;
    min-height: 400px;
    background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), 
                url('../img/news_banner.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    margin-bottom: 60px;
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* News Feed Container */
.news-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

/* News Section Header */
.year-divider {
    margin: 60px 0 30px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
}

.year-divider h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.year-divider::after {
    content: '';
    height: 2px;
    background: var(--accent-gold);
    flex-grow: 1;
    opacity: 0.5;
}

/* News Card */
.news-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    margin-bottom: 40px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.news-card-img {
    height: 100%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-card-img img {
    scale: 1.1;
}

.news-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-date {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.news-card-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.malayalam-text {
    color: var(--text-gray);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 15px;
    font-size: 1rem !important;
}

/* Responsive */
@media (max-width: 850px) {
    .news-card {
        grid-template-columns: 1fr;
    }
    
    .news-card-img {
        height: 250px;
        min-height: 250px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .news-hero {
        height: 40vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .news-card-content {
        padding: 25px;
    }
}
