.news-section {
    padding: 80px 0;
}

.section-header-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.news-section .section-header-news {
    margin-bottom: 40px;
    border-bottom: 1px solid #eaecf0;
}

.section-header-news .button-secondary {
    display: inline-block;
    padding: 8px 30px 8px 16px;
    border: 1px solid #C61A1D;
    color: #C61A1D;
    font-size: 16px;
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    position: relative;
    transition: all 0.8s ease;
}

.section-header-news .button-secondary svg {
    position: absolute;
    right: 7px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.section-header-news .button-secondary svg path {
    transition: fill 0.3s ease;
}


@media (hover: hover) and (pointer: fine) {
    .section-header-news .button-secondary:hover {
        background-color: #c6191c;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(198, 25, 28, 0.25);
    }

    .section-header-news .button-secondary:hover svg {
        transform: translateY(-50%) translateX(4px);
    }

    .section-header-news .button-secondary:hover svg path {
        fill: #fff;
    }
}

.news-section h2 {
    font-size: clamp(32px, 4vw, 40px);
    font-weight: 600;
    color: #22407A;
}

.news-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 36px;
}

.news-featured {
    background: #eaf3ff;
    border-radius: 20px;
    overflow: hidden;
    /* transition: transform 0.4s ease, box-shadow 0.4s ease; */
}

/* .news-featured:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
} */


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

.news-featured img:hover {
    transform: scale(1.05);
}

.news-content {
    padding: 32px;
}

.news-content h3 {
    font-size: 24px;
    color: #363739;
    font-weight: 600;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.news-content h3:hover {
    color: #22407A;

}

.news-content p {
    font-size: 16px;
    font-weight: 400;
    color: #344054;
    flex: 1;
}

.news-desc-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

.news-desc-row .news-arrow {
    margin-top: 0;
    flex-shrink: 0;
}

.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-card {
    background: #eaf3ff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    height: 148px;
}

/* .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
} */

.news-image {
    flex: 1;
}

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

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

.news-card .news-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-card h3 {
    font-size: 16px;
    margin: 0;
    cursor: pointer;
    color: #363739;
    -webkit-line-clamp: 3;
}

.news-card h3:hover {
    color: #22407A;
}

.news-arrow {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.news-arrow svg {
    cursor: pointer;
}

.news-arrow:hover {

    transform: translateX(6px);
    color: #c6191c;
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0px;
    }

    .news-card {
        height: 140px;
    }

    .news-section .section-header-news {
        margin-bottom: 24px;
        padding-bottom: 16px;
        border-bottom: 1px solid #eaecf0;
        text-align: center;
    }

    .section-header-news .button-secondary {
        font-size: 14px;
        width: 50%;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .section-header-news .button-secondary svg {
        right: 12px;
    }

    .section-header-news .button-secondary::after {
        font-size: 14px;
        right: 12px;
    }

    .news-section h2 {
        margin: 0 auto;
        font-size: clamp(32px, 6vw, 32px);
    }

    .news-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .news-featured img {
        height: 240px;
    }

    .news-content {
        padding: 24px;
    }

    .news-content h3 {
        font-size: 22px;
        margin-bottom: 8px;
        -webkit-line-clamp: 4;
    }



    .news-sidebar .news-arrow {
        display: none;
    }

    .news-sidebar {
        gap: 24px;
    }

    .news-card .news-content h3 {
        font-size: 15px;
    }
}