/* ======================================
   LATEST NEWS SECTION
====================================== */

.latest-news-section {
    padding: 120px 40px;
    background: #ffffff;
    border-top: 1px solid #f3f4f6;
}

.latest-container {
    max-width: 1200px;
    margin: auto;
}

/* HEADER */

.latest-header h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 60px;
}

/* GRID */

.latest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* CARD */

.latest-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.35s ease;
    border: 1px solid #f3f4f6;

    opacity: 0;
    transform: translateY(30px);
}

.latest-card.active {
    opacity: 1;
    transform: translateY(0);
}

.latest-card:hover {
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
}

/* IMAGE */

.latest-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.latest-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.latest-card:hover .latest-image img {
    transform: scale(1.06);
}

/* CONTENT */

.latest-content {
    padding: 24px;
}

.latest-meta {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 14px;
    color: #6b7280;
}

.latest-category {
    color: #0E78BE;
}

.meta-dot {
    margin: 0 6px;
}

.latest-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.latest-card:hover h3 {
    color: #0E78BE;
}

.latest-content p {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 18px;
    line-height: 1.6;
}

.latest-link {
    font-weight: 600;
    font-size: 14px;
    color: #0E78BE;
    text-decoration: none;
}

.latest-link:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
    .latest-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .latest-news-section {
        padding: 80px 20px;
    }

    .latest-header h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .latest-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .latest-content {
        padding: 20px;
    }
}
