/* Block: latest-news */

.block-latest-news {
    padding: 80px 0;
    background-color: #F9FBFD;
    /* Light gray/blue from Figma */
}

.block-latest-news .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.block-latest-news .section-title {
    font-size: 40px;
    color: #030024;
    margin: 0;
    display: inline-block;
    position: relative;
}

.block-latest-news .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #36C3C1;
    border-radius: 2px;
}

/* Grid - Shared styles loaded from archive-news.css */
.block-latest-news .news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* Card - Shared styles loaded from archive-news.css */
.block-latest-news .news-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.block-latest-news .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.block-latest-news .card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.block-latest-news .card-image-wrapper {
    position: relative;
    height: 220px;
    background-color: #EEE;
    overflow: hidden;
}

.block-latest-news .card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.block-latest-news .news-card:hover .card-image {
    transform: scale(1.05);
}

.block-latest-news .card-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #EEE;
}

.block-latest-news .card-category {
    position: absolute;
    bottom: 16px;
    left: 20px;
    background-color: #C5F4F7;
    color: #009DDF;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    z-index: 2;
}

.block-latest-news .card-content {
    padding: 24px 24px 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.block-latest-news .card-date {
    font-size: 13px;
    color: #888888;
    margin-bottom: 12px;
}

.block-latest-news .card-title {
    font-size: 18px;
    font-weight: 700;
    color: #030024;
    margin: 0 0 16px;
    line-height: 1.4;
    flex-grow: 1;
}

.block-latest-news .card-reading-time {
    font-size: 13px;
    color: #009DDF;
    font-weight: 500;
    margin-top: auto;
}

/* Footer */
.block-latest-news .section-footer {
    text-align: center;
    margin-top: 50px;
}

/* Responsive */
@media (min-width: 768px) {
    .block-latest-news .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .block-latest-news .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}