/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*
 * 
 * 
 * css pour la function qui affiche les evenements parents
 * 
 * 
 */
/* Styles pour la grille des événements */
.ivs-event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
}

.ivs-event-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ivs-event-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ivs-event-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ivs-event-content {
    padding: 15px;
    text-align: left;
}

.ivs-event-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.ivs-event-date,
.ivs-event-location {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

/* Grille responsive */
@media (max-width: 1024px) {
    .ivs-event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ivs-event-grid {
        grid-template-columns: 1fr;
    }
}


/*
 * 
 * 
 * css pour la function qui affiche les dates des evenements recurrnts
 * 
 * 
 */
/* Conteneur des tags */
.ivs-event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Espacement réduit entre les tags */
    margin: 20px 0;
    justify-content: flex-start; /* Alignement à gauche */
}

/* Style individuel des tags */
.ivs-event-tag {
    background-color: #f0f0f0; 
    color: #333; 
    border: 1px solid #ccc; 
    border-radius: 8px; 
    padding: 5px 10px; 
    font-size: 13px; 
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

/* Effet au survol */
.ivs-event-tag:hover {
    background-color: #e0e0e0; /* Fond légèrement plus sombre */
    color: #000; /* Couleur du texte au survol */
    transform: translateY(-2px); /* Légère élévation */
}

/* Tag actif (mis en surbrillance si actif) */
.ivs-event-tag.ivs-active {
    background-color: #d4f8d4; /* Fond vert clair */
    color: #008000; /* Texte vert */
    border-color: #008000; /* Bordure verte */
}

/* Liens Voir plus / Masquer */
.ivs-show-hide-links {
    margin-top: 10px;
    text-align: left; /* Aligné à gauche */
}

.ivs-show-hide-links a {
    color: #0073aa; /* Couleur du lien */
    font-size: 13px; /* Taille de police réduite */
    text-decoration: none;
    font-weight: bold;
    margin-right: 10px;
}

.ivs-show-hide-links a:hover {
    text-decoration: underline; /* Souligné au survol */
}

/* Responsive */
@media (max-width: 767px) {
    .ivs-event-tags {
        justify-content: center; /* Centré sur mobile */
    }

    .ivs-show-hide-links {
        text-align: center; /* Centré sur mobile */
    }
}




