/* =========================================
   NEWS SECTION
========================================= */

.news-section {
    padding: 120px 0;
    background: #ffffff;
}


/* =========================================
   NEWS GRID
========================================= */

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================
   NEWS CARD
========================================= */

.news-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: 24px;

    background: #ffffff;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.news-card:hover {
    transform: translateY(-8px);

    border-color: rgba(47, 167, 160, 0.35);

    box-shadow:
        0 22px 50px rgba(32, 54, 109, 0.10);
}


/* =========================================
   IMAGE
========================================= */

.news-image {
    position: relative;

    height: 240px;

    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.6s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.06);
}


/* =========================================
   CATEGORY
========================================= */

.news-category {
    position: absolute;

    top: 16px;
    left: 16px;

    padding: 7px 12px;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.94);

    color: var(--primary);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.7px;

    backdrop-filter: blur(8px);
}


/* =========================================
   CONTENT
========================================= */

.news-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 26px;
}


/* DATE */

.news-date {
    display: block;

    margin-bottom: 10px;

    color: var(--secondary);

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.7px;
}


/* TITLE */

.news-content h3 {
    margin-bottom: 13px;

    color: var(--heading);

    font-size: 20px;
    font-weight: 700;

    line-height: 1.4;
}


/* DESCRIPTION */

.news-content p {
    margin-bottom: 22px;

    color: var(--text);

    font-size: 13px;

    line-height: 1.8;
}


/* =========================================
   LINK
========================================= */

.news-link {
    display: inline-flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;

    color: var(--primary);

    font-size: 13px;
    font-weight: 700;
}

.news-link span {
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: var(--secondary);
}

.news-link:hover span {
    transform: translateX(5px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1000px) {

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 650px) {

    .news-section {
        padding: 80px 0;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-image {
        height: 220px;
    }

}