/* ==========================================================================
   LATEST NEWS SECTION (latest.css)
   ========================================================================== */

.latest-news-section {
    background-color: #ffffff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.latest-news-title {
    font-family: 'Manrope', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #1E1E1E;
    line-height: 1.2;
    margin-bottom: 28px;
}

.latest-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 23px;
}

.latest-news-card {
    background-color: #f7f7f7;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #EDEDED;
    text-decoration: none;
    cursor: pointer;
}

.news-image-wrapper {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1.7778;
    /* 16:9 Aspect Ratio */
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 16px 23px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    flex-grow: 1;
}

.news-date {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #323F66;
    /* Dark steel blue/indigo from the mockup */
    line-height: 1;
}

.news-text {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #757575E5;
    /* Soft muted color */
    line-height: 1.5;
    margin-top: 11px;
    /* 11px gap between date and paragraph text */
    margin-bottom: 0;
    padding-right: 86px;
    /* Space for the absolute positioned arrow button */
}

.sustain-arrow-wrapper {
    position: absolute;
    bottom: 16px;
    right: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustain-arrow-wrapper img {
    width: 21px;
    height: 22px;
}

/* Responsive Styles for Latest News Section */
@media (max-width: 991px) {
    .latest-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .latest-news-section {
        padding-top: 30px;
        padding-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .latest-news-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .news-text {
        padding-right: 36px;
    }

    .latest-grp .view-all-btn {    padding: 9px 14px;}
    .latest-grp{align-items: baseline;}


}