/*
 * Style Personnalisé pour la Pagination
 * -------------------------------------------------- */

.pagination {
    justify-content: center;
    margin-top: 40px;
}

.pagination .page-link {
    color: #1c2e4c;
    background-color: transparent;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    margin: 0 4px;
    font-weight: 600;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    color: #fff;
    background-color: #1c2e4c;
    border-color: #1c2e4c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.pagination .page-item.active .page-link {
    color: #fff;
    background-color: #fe9743;
    border-color: #fe9743;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.4);
    cursor: default;
}

.pagination .page-item.active .page-link:hover {
    color: #fff;
    background-color: #fe9743;
    border-color: #fe9743;
    transform: none;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.4);
}


/* Style pour le Lightbox Vidéo Custom */
.open-video-lightbox{
    display: block;
    position: relative;
    cursor: pointer;
}

.open-video-lightbox:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.open-video-lightbox::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-45%, -50%); 
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent #ffffff;
    z-index: 11;
    transition: all 0.3s ease;
}

.open-video-lightbox:hover::before {
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%) scale(1.1);
}

.open-video-lightbox:hover::after {
    transform: translate(-45%, -50%) scale(1.1);
}

.open-video-lightbox:hover img {
    filter: brightness(0.8);
    transition: all 0.3s ease;
}
.open-video-lightbox img {
    transition: all 0.3s ease;
	    max-height: 400px;
    object-fit: contain;
}

.custom-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 99999;
    cursor: pointer;
}

.custom-lightbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.custom-lightbox-content {
    position: relative;
    width: 80%;
    max-width: 850px;
    padding-bottom: 30%; 
    background: #000;
    cursor: default;
    transition: all 0.3s ease;
}

.custom-lightbox-content iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.custom-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 100000;
}

@media (max-width: 768px) {

    .custom-lightbox-content {
        width: 95%; 
        padding-bottom: 53.4375%; 
    }

    .custom-lightbox-close {
        font-size: 35px;
        top: 5px;
        right: 15px;
    }

}