.news_section .news_item {
    padding: 0;
    background-color: #fff;
    border-radius: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    height: auto;
}

.news_section .news_picture {
    height: 250px;
}

.news_section .news_item.news_item_showed .news_picture {
    height: 400px;
}


.news_section .news_picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news_section .news_item .news_content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
}

.news_section .news_item.news_item_showed .news_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 0;
}

.news_section .news_item .news_content .badge_news_category {
    background-color: var(--couleur2-ce);
    color: #fff;
    font-size: 16px;
    display: block;
}

.news_section .news_item .news_content h2 {
    font-size: 28px;
}

.news_section .news_item .news_content .news_publication_date {
    font-size: 15px;
    color: rgb(0,0,0,0.5);
}

.news_section .news_item .news_description {
    display: none;
}

.news_section .news_item_showed .news_item .news_description {
    display: block;
}

.news_section .news_item .news_content .news_link {
    text-decoration: none;
}

.news_section .news_item.news_item_showed .news_link {
    display: none;
}

.news_section .news_item .news_content .news_link i {
    -webkit-transition: all 0.1s;
}

.news_section .news_item .news_content .news_link:hover i {
    transform: translateX(5px);
}

#tabNews.nav-tabs {
    border-bottom: 0;
    gap: 1rem;
    display: flex;
    justify-content: center;
}

#tabNews.nav-tabs .nav-link {
    background: none;
    border: none;
    color: #6c757d;
    padding: 0.75rem 1rem;
    font-weight: 500;
    border-radius: 0;
    position: relative;
    transition: color 0.3s ease;
}

#tabNews.nav-tabs .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: var(--couleur1-ce);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: center;
}

#tabNews.nav-tabs .nav-link.active {
    color: var(--couleur1-ce);
    font-weight: 600;
}

#tabNews.nav-tabs .nav-link.active::after {
    transform: scaleX(1);
}

#tabNews.nav-tabs .nav-link:hover {
    color: var(--couleur1-ce);
}

#tabNews.nav-tabs .nav-link:disabled {
    color: #adb5bd;
    cursor: not-allowed;
    opacity: 0.6;
}

#tabNewsContent {
    padding: 40px 10px;
}

.news_section .custom-arrow-prev,
.news_section .custom-arrow-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--couleur1-ce);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.news_section .custom-arrow-prev:hover,
.news_section .custom-arrow-next:hover {
    background: var(--couleur2-ce);
}

.news_section .custom-arrow-prev {
    left: calc(40% + 10px);
}

.news_section .custom-arrow-next {
    right: 10px;
}

.news_section .custom-arrow-prev::after,
.news_section .custom-arrow-next::after {
    content: "";
    display: block;
    width: 18px;
    height: 24px;
    background: white;
    clip-path: polygon(100% 0, 0 50%, 100% 100%);
}

.news_section .custom-arrow-next::after {
    transform: scaleX(-1);
}

@media (min-width: 991px) {
    .news_section .news_highlight .news_item {
        display: flex;
        flex-direction: row-reverse;
    }

    .news_section .news_highlight .news_item .news_content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 40%;
    }
    .news_section .news_highlight .news_item .news_picture {
        width: 60%;
        height: 450px;
    }
}

@media (max-width: 991px) {
    .news_item.news_highlight .row {
        flex-direction: column-reverse;
    }

    .news_section .news_content {
        padding: 30px 20px;
    }

    .news_section .news_content h2 {
        font-size: 24px;
    }

    .news_section .custom-arrow-prev,
    .news_section .custom-arrow-next {
        display: none;
    }
}