.titre{
    /* font-family:'Georgia'; */
}

body{
    overflow-x: hidden;
    overflow-y: auto;
}

.taille_form{
    height: 50px ;
}

.radius-left{
    border-radius: 25px 0 0 25px;
}

.radius-right{
    border-radius: 0 25px 25px 0;
}

.rounded-50{
    border-radius: 50px;
}

.bg-cyan{
    background-color: cadetblue;
}

.main_content{
    min-height: 70vh !important;
}

.arrow {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: #343a40;
    transition: border-color 0.3s ease;
}

.w-40{
    width: 40% !important;
}


.w-35{
    width: 35% !important;
}

.h-fit-content{
    height: fit-content !important;
}

.arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #212529; /* Couleur de fond du dropdown */
}

.width-50{
    width: 50px !important;
}


button.dropdown-menu.show :hover{
    background-color: #343a40 !important;
    color: white !important
}

li a.dropdown-item:hover{
    color: #212529 !important;
} 

a.dept:hover{
    color: black !important;
    font-weight: 700 !important;
}

nav{
    background-color: #212529 !important;
}




.icon_password{
    position: absolute;
    top: 62%;
    right: 3%;
}

.p_relative{
    position: relative;
}

.h-card-img{
    height: 190px;
}

.bg_img{
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.h-150p{
    height: 150px;
}

.h-300p{
    height: 300px;
}

.w-85{
    width: 85% !important;
}

/* .article-description p {
    transition: max-height 0.3s ease;
} */

.article-description{
    min-height: 6em;
}

.article-description p{
    margin: 0;
}


@media screen and (max-width : 768px) {
    .description_details h5{
        font-size: 0.7rem !important;
    }

    .row.images_list{
        overflow-y: scroll;
        flex-wrap: nowrap;
    }

    .details_2, .details_2 .row .col-12{
        padding: 0px !important;
    }
}

.article_item{
    height: 450px;
}

.image-about{
    height: 400px;
    width: 100%;
    /* background-image: url('../../../public/images/about/about.jpg'); */
    background-position-x: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.heilight-item{
    display: flex;
    flex-direction: column;
    text-decoration: none;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background-color: rgb(0, 0, 0);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.heilight-item.with-background {
    position: relative;
    overflow: hidden;
    color: white; /* au besoin */
}

.heilight-item.with-background::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-url);
    background-size: cover;
    background-position: center;
    opacity: 0.4; /* 👈 ajuste ici l’opacité */
    z-index: 0;
}

.heilight-item.with-background > * {
    position: relative;
    z-index: 1;
}


.heilight-item::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.4; /* 👈 Régle ici l’opacité de l’image */
}

.slider-track {
    display: flex;
    flex-wrap: nowrap;
    /* width: max-content; */
}

.slider-track.scrolling {
    animation: scrollLoop 30s linear infinite;
}


.heilight-item-header{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 1rem;
    text-decoration:  none;
}

/* .heilight-item.with-background {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    var(--bg-url);
    background-size: cover;
    background-position: center;
    transition: background 0.6s ease-in-out;
    color: white;
} */


.tag-category{
    padding: .25rem .75rem;
    background-color: #198754;
    color: white;
    font-style: italic;
    border-radius: .5rem;
    height: fit-content;
    max-width: 140px;
    overflow-x: hidden;
    font-size: .75rem;
    text-decoration: none;
}

.name-content h4{
    font-size: 1rem;
    margin: 0;
    text-decoration: none;
    color: #198754;
    font-size: large;
}

.heilight-item-body{
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #198754;
}

.heilight-item-body h6{
    font-size: .875rem;
    color: white;
}


.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}


/* @keyframes scrollLoop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
} */

@keyframes scrollLoop {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.slider-item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 16px;
}

.pagination .page-link.active, .active > .page-link{
    color: white !important;
    border-color: #198754 !important;
    background-color: #198754 !important;
}

.pagination .page-link{
    color: #198754;
}

.d-none.flex-sm-fill.d-sm-flex.align-items-sm-center.justify-content-sm-between:first-child {
    display: none !important;

}

#paginationHome nav{
    background-color: white !important;
}

.d-none.flex-sm-fill.d-sm-flex.align-items-sm-center p.small.text-muted{
    display: none !important;
}

.actions-container{
    bottom: 4%;
    left: 5%;
}