/* Latest News Section */
/* ------------------------------------------------- */

section.latest-news {
    padding: var(--space-11) 0;
}

section.latest-news .wrap {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.latest-news-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-news-posts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.latest-news-post {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
}

.latest-news-post-image {
    aspect-ratio: 5/3;
    overflow: hidden;
}

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

.latest-news-post:hover .latest-news-post-image img {
    transform: scale(1.05);
}

.latest-news-post-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    padding: var(--space-6) 0 0;
}

.latest-news-post-content .body-small {
    color: var(--neutral-300);
}

.latest-news-post-content .heading-5 {
    color: var(--neutral-950);
}

.latest-news-post-content .body-medium {
    color: var(--neutral-500);
}

.latest-news-post-button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: 14px;
    font-weight: 450;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--blue-700);
    margin-top: auto;
    margin-left: auto;
}

@media (max-width: 960px) {
    .latest-news-posts {
        grid-template-columns: 1fr;
    }
}
