/* NEWS SECTION */
#latest-news {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

#latest-news h2 {
    text-align: left;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    border-left: 6px solid #b40000;
    padding-left: 12px;
}

/* 3-COLUMN GRID LIKE THE SCREENSHOT */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* NEWS CARD */
.news-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 0; /* images must touch the edges */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: 0.2s ease;
    overflow: hidden;
    border-left: 0; /* screenshot does NOT have a red border-left */
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* IMAGE ON TOP (FULL WIDTH) */
.news-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-radius: 0; /* removes small curve from screenshot */
}

/* CONTENT SECTION INSIDE CARD */
.news-content {
    padding: 18px 20px;
}

/* TITLE */
.news-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffd75e; /* same yellow shown in screenshot */
}

/* META ROW (DATE • CATEGORY • VIEWS) */
.news-meta {
    font-size: 14px;
    color: #bfc6d1;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.news-meta i {
    margin-right: 5px;
    color: #bfc6d1;
}

/* PARAGRAPH */
.news-card p {
    font-size: 15px;
    color: #dddddd;
    line-height: 1.6;
}

/* READ MORE BUTTON */
.read-btn {
    display: inline-block;
    padding: 10px 16px;
    background: #2a4e8a;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 15px;
}

.read-btn:hover {
    background: #1a3560;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}
