/* In The News Page Styles - Scoped to avoid affecting header/footer */


/* Hero Section */
.hero {
    width: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100vh;
    object-fit: contain;
    display: block;
}

/* News Section */
.news-section {
    padding: 50px 20px;
    background: #fff;
}

.news-container {
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* News Cards */
.news-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.card-image {
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    /* Slightly wider aspect ratio */
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card-overlay {
    display: none;
    /* No overlay effects */
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #222;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.read-more {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c5282;
}

/* Responsive */
@media (max-width: 1100px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .hero-image {
        height: 250px;
    }

    .news-section {
        padding: 40px 15px;
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .card-image {
        padding-bottom: 60%;
    }

    .hero-image {
        height: 200px;
    }
}