/**
 * Afroskills Latests Events - Styles
 *
 * Toutes les classes sont préfixées par "afroskills-le" pour éviter
 * les conflits avec votre thème. Personnalisez librement ce fichier.
 */

/* Conteneur principal */
.afroskills-le {
}

/* Titre de la section */
.afroskills-le__title {
}

/* Liste des événements */
.afroskills-le__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Élément de la liste */
.afroskills-le__item {
}

/* Carte d'un événement */
.afroskills-le__card {
}

/* Zone média (image) */
.afroskills-le__media {
}

.afroskills-le__image {
	display: block;
	max-width: 100%;
	height: auto;
}

/* Corps de la carte */
.afroskills-le__body {
}

/* Titre de l'événement */
.afroskills-le__event-title {
}

/* Lien de l'événement */
.afroskills-le__link {
}

/* Métadonnées (date, lieu) */
.afroskills-le__meta {
}

.afroskills-le__date {
}

.afroskills-le__location {
}

/* Extrait / description */
.afroskills-le__excerpt {
}

.single_events{
	width: 350px;
	border: 1px solid #000;
	border-radius: 15px;
}

.event_top{
	border-radius: 15px;
}

.event_top, .event_bottom{
	padding: 15px;
}

.category_and_language{
	display: flex;
	justify-content: space-between;
	flex-direction: row;
	align-items: center;
}

.event_category{
	color: #ff7758;
	background-color: #ffc8b7;
}

.event_language{
	background-color: #d6d6d6;
}

.event_category, .event_language {
	padding: 0 20px;
	border-radius: 15px;
}

.event_author{
	padding: 10px 0;
}

.event_video{
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}


.event_bottom_data {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.event_bottom_data .event_action a.event_subscribe,
.single_events .event_bottom_data a.event_subscribe,
a.event_subscribe {
	color: #ffffff !important;
	background-color: #0285db !important;
	border-radius: 20px !important;
	padding: 5px 15px !important;
	text-decoration: none !important;
	display: inline-block !important;
	margin-left: 6px !important;
}

.event_bottom_data .event_action a.event_subscribe:hover,
.single_events .event_bottom_data a.event_subscribe:hover,
a.event_subscribe:hover {
	color: #ffffff !important;
	background-color: #008ce8 !important;
	text-decoration: none !important;
}

.event_bottom_data .event_action .fees_free,
.fees_free {
	color: #4bd08b !important;
	border: 1px solid #4bd08b !important;
	border-radius: 20px !important;
	padding: 3px 15px !important;
	font-size: 14px !important;
	background: #e4fff1 !important;
	display: inline-block !important;
	margin-right: 6px !important;
}

.event_participant{
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: nowrap;
	align-content: center;
	align-items: center;
}

.event_avatar{
	height: 28px;
}

.event_avatar img{
	border-radius: 50%;
}

.event_participant :nth-child(n+2):nth-child(-n+3) {
	margin-left: -9px;
}

.event_other_peoples{
	font-size: 14px;
}

.single_events:hover .event_top{
	background-color: #f1f1f1;
}
.event-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center; justify-content: center;
}
.event-modal-content {
    background-color: #fff;
    padding: 20px; border-radius: 8px;
    width: 90%; max-width: 640px;
    position: relative;
}
.event-modal-close {
    position: absolute; right: 15px; top: 5px;
    color: #aaa; font-size: 28px; font-weight: bold; cursor: pointer;
}
.event-modal-close:hover { color: #000; }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Le conteneur parent aligne tout horizontalement */
.events_wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Le slider prend tout l'espace central disponible */
.events_wrapper .all_events {
    flex: 1 !important;
    min-width: 0 !important;
    display: block !important;
    width: 100% !important;
}
.all_events .slick-slide {
    display: block !important;
    height: auto !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
}
/* Style de base pour vos flèches de navigation */
.events_nav {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    z-index: 10;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .events_wrapper {
        gap: 0px !important;
        padding: 0 5px !important;
    }

    .all_events .slick-slide {
        padding: 0 5px !important;
    }
    .events_nav {
        width: 32px !important;
        height: 32px !important;
    }
}

.events_nav:hover {
    background-color: #f5f5f5;
    transform: scale(1.05);
}

.events_nav.slick-disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none; /* Désactive le clic */
}
.single_events {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    box-sizing: border-box !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 15px;
    background: #ffffff;
    overflow: hidden;
}
.all_events .slick-dots {
    position: relative !important;
    bottom: 0 !important;
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}
.all_events .slick-dots li {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}
.all_events .slick-dots li button {
    font-size: 0 !important; /
    line-height: 0 !important;
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    padding: 0 !important;
    cursor: pointer !important;
    border: 0 !important;
    outline: none !important;
    background: #cccccc !important;
    border-radius: 50% !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}
.all_events .slick-dots li button:hover {
    background: #999999 !important;
    opacity: 1 !important;
}

.all_events .slick-dots li.slick-active button {
    background: #0285db !important;
    width: 20px !important;
    border-radius: 4px !important;
    opacity: 1 !important;
}
.all_events .slick-dots li button::before {
    content: "" !important;
    display: none !important;
    font-size: 0 !important;
}

.all_events .slick-dots li button {
    text-indent: -9999px !important;
    overflow: hidden !important;
    border: none !important;
    background: #cccccc !important;
    box-shadow: none !important;
}

.all_events .slick-dots li.slick-active button {
    background: #0285db !important;
}

