/* --- NEWS SECTION --- */
.news-section {
    padding: 77px 0;
    background-color: #fff;
}

.news-heading {
    color: #000000;
    text-align: center;
}

/* Grid System */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Card Styling */
.news-card {
    display: flex;
    flex-direction: column;
}

.news-image-wrapper {
    height: 273px;
    margin-bottom: 0;
    overflow: hidden;
    background-color: #f4f4f4;
}

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

.news-content {
    padding: 27px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-date,
.news-title,
.news-excerpt {
    text-align: left;
}

/* Hover Effect */
.news-card:hover .news-image-wrapper img {
    transform: scale(1.05);
}

.news-card {
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    background: #FFFFFF 0% 0% no-repeat padding-box;
    box-shadow: 0px 0px 13px #0000003B;
}

.news-date {
    text-align: left;
    font: normal normal 300 20px/27px Nunito;
    letter-spacing: 0px;
    color: #000000;
    margin-bottom: 8px;
}

.news-title {
    margin-bottom: 14px;
    font-family: 'Nunito', Helvetica, Arial, sans-serif;
}

.news-title a {
    text-align: left;
    font: normal normal normal 27px/37px Nunito;
    letter-spacing: 0px;
    color: #CD1719;
    text-decoration: none;
    transition: opacity 0.2s;
}

.news-excerpt {
    text-align: left;
    font: normal normal 300 20px/27px Nunito;
    letter-spacing: 0px;
    color: #000000;
    margin-bottom: 23px;
}

/* Arrow Button inside Card */
.news-arrow-btn {
    margin: 0 auto;
    display: inline-block;
    text-decoration: none;
    align-self: center
}

.news-arrow-btn::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
}

.circle-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
     border: 1px solid #d32f2f;
    border-radius: 50%;
    color: #333;
    font-size: 18px;
    transition: 0.3s;
}

/* Change to red on hover */
.news-card:hover .circle-arrow {
    border: 1px solid #d32f2f;
    background-color: #d32f2f;
    color: #fff;
}

.news-card:hover .arrow-no-hover {
    display: none;
}

.news-card:hover .arrow-hover {
    display: block;
}

/* Footer Button */
.news-footer {
    text-align: center;
}

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

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

    .news-section {
        padding: 60px 0;
        background-color: #fff;
    }

}