/* ======================================================================================================================================================
Post Slider
====================================================================================================================================================== */
.custom-post-slider-inner .custom-slide-entry {
    height: 27.4375rem;
    position: relative;
    border-radius: 25px;
    border: 3px solid #000000;
}

.custom-post-slider-inner .custom-slide-entry.av_one_third:not(.first), .custom-post-slider-inner .custom-slide-entry.av_one_fourth:not(.first) {
    margin-left: 3%;
}

.custom-post-slider-inner .custom-slide-entry a {
    display: block;
    height: 100%;
    padding: .9375rem .625rem;
}

.custom-post-slider-inner .custom-slide-entry .post-slider-categories, .custom-post-slider-inner .custom-slide-entry .post-slider-categories-footer {
    position: absolute;
    z-index: 5;
    display: flex;
    gap: 5px;
}
.custom-post-slider-inner .custom-slide-entry .post-slider-categories-footer {
    bottom: 15px;
}

.custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag {
    color:  #000000;
    border-radius: 1.5625rem;
    width: fit-content;
    padding: .125rem .9375rem;
    font-size: 1rem;
    font-weight: 500;
}
.custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag.gala {
    background: #CD9F50;
}				
.custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag.prix_rencontres {
    background: #FF8282;
}									
.custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag.adisq {
    color: #FFFFFF;
    background: #000000;
}
.custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag.certifications {
    background: #D1D3D4;
}
									

.custom-post-slider-inner .custom-slide-entry .post-slider-categories-footer .category-tag {
    border: 2px solid #241f21;
    background-color: rgba(84, 205, 209, 0);
    font-size: 16px;
    color: #000000;
    border-radius: 1.25rem;
    line-height: normal;
    padding: .125rem .9375rem;
}

.custom-post-slider-inner .slide-image {
    background: transparent !important;
}

.custom-post-slider-inner .slide-image img{
    width: 100%;
    height: 13.375rem;
    border-radius: 1.5625rem;
    object-fit: cover;
}

.custom-post-slider-inner .slide-image .post-without-image {
    background: #f1f2f2;
    border-radius: 1.5625rem;
    height: 13.375rem;
}

.custom-post-slider-inner .slide-image .post-without-image img{
    width: 80%;
    object-fit: contain;
    opacity: .3;
}

.custom-post-slider-inner .slide-meta {
    text-align: end;
    font-size: 1rem;
}
.custom-post-slider-inner .slide-meta .slide-meta-time {
    color: #000000;
}

.custom-post-slider-inner .slide-entry-title {
    display: -webkit-box;
    font-size: 1.125rem;
    font-weight: 500;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.avia-slideshow-dots {
    height: 3.875rem !important;
    bottom: -65px !important;
}
.av-slideshow-ui .avia-slideshow-dots a {
    background: #000000;
    opacity: .48 !important;
    height: 12px;
    width: 12px;
    margin: 0 14px;
    padding: 5px;
}
.av-slideshow-ui .avia-slideshow-dots a.active{
    opacity: 1 !important;
}

/* Responsiveness */
.custom-post-slider-inner .custom-slide-entry.av_one_third {
    width: 31.2%;
}

.custom-post-slider-inner .custom-slide-entry.av_one_fourth {
    width: 22.7%;
}

@media (min-width: 1024px) and (max-width: 1124px) {

    .custom-post-slider-inner .custom-slide-entry {
	    height: 26.4375rem;
	}
    .custom-post-slider-inner .custom-slide-entry.av_one_fourth {
	    width: 23.8%;
	}
    .custom-post-slider-inner .custom-slide-entry.av_one_third:not(.first), .custom-post-slider-inner .custom-slide-entry.av_one_fourth:not(.first) {
	    margin-left: 1.5%;
	}
}

@media (min-width: 990px) and (max-width: 1024px) {
    .custom-post-slider-inner .custom-slide-entry {
	    height: 24.4375rem;
	}

    .custom-post-slider-inner .custom-slide-entry .slide-meta {
	    padding-bottom: 0px;
	}

    .custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag,
	.custom-post-slider-inner .custom-slide-entry .post-slider-categories-footer .category-tag {
	    font-size: .875rem;
	}

    .custom-post-slider-inner .slide-image img, .custom-post-slider-inner .slide-image .post-without-image {
	    height: 12.375rem;
	}

}

@media (min-width: 768px) and (max-width: 890px) {
    .custom-post-slider-inner .custom-slide-entry.av_one_third {
        width: 32.3%;
	}
    .custom-post-slider-inner .custom-slide-entry {
	    height: 26.4375rem;
	}
    .custom-post-slider-inner .custom-slide-entry.av_one_third:not(.first), .custom-post-slider-inner .custom-slide-entry.av_one_fourth:not(.first) {
	    margin-left: 1.5%;
	}
}

@media (min-width: 480px) and (max-width: 767px) {
    .custom-post-slider-inner .custom-slide-entry {
	    height: 24.4375rem;
	}

    .custom-post-slider-inner .custom-slide-entry .slide-meta {
	    padding-bottom: 0px;
	}

    .custom-post-slider-inner .custom-slide-entry .post-slider-categories .category-tag,
	.custom-post-slider-inner .custom-slide-entry .post-slider-categories-footer .category-tag {
	    font-size: .875rem;
	}

    .custom-post-slider-inner .slide-image img, .custom-post-slider-inner .slide-image .post-without-image {
	    height: 12.375rem;
	}

    .custom-post-slider-inner .custom-slide-entry.av_one_half {
	    width: 47% !important;
	}

    .custom-post-slider-inner .custom-slide-entry.av_one_half:not(.first) {
	    margin-left: 6% !important;
	}
}

.custom-post-slider-section {
    clear: both;
    background: rgba(242, 242, 242, 1);
}

.custom-post-slider-section .section-title {
    font-size: 3.4375rem;
    line-height: normal;
    padding: 9rem 0 3rem 0;
    width: 30%;
}

.custom-post-slider-section .custom-post-slider-inner .custom-slide-entry {
    background: #ffffff;
}

.custom-post-slider-section a.goto-slide {
    margin: 0 14px;
}

.custom-post-slider-section .custom-post-slider-desktop.hide-arrows .avia-slideshow-arrows {
    display: none;
}

#top:has(.custom-post-slider-section) .avia-post-nav {
    display: none;
}


@media screen and (min-width: 990px) {
    .custom-post-slider-section {
        padding: 0 1.25rem 2.5rem;
        margin: 0 -1.25rem;
    }
    .custom-post-slider-desktop {
        display: block;
    }
    .custom-post-slider-tablet {
        display: none;
    }
    .custom-post-slider-mobile {
        display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 989px) {
    .custom-post-slider-section {
        padding: 0 2rem 2.5rem;
        margin: 0px -1.5rem;
    }
    .custom-post-slider-desktop {
        display: none;
    }
    .custom-post-slider-tablet {
        display: block;
    }
    .custom-post-slider-mobile {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .custom-post-slider-section {
        padding: 0 3.5rem 2.5rem;
        margin: 0px -3.5rem;
    }

    .custom-post-slider-desktop {
        display: none;
    }
    .custom-post-slider-tablet {
        display: none;
    }
    .custom-post-slider-mobile {
        display: block;
    }

    .custom-post-slider-mobile .avia-slideshow-arrows {
        display: none;
    }
}
