/**
 * La Tanière de L'Ouest — habillage de The Events Calendar
 *
 * Ce fichier est chargé uniquement si The Events Calendar est actif
 * (voir functions.php).
 *
 */

/* -------------------------------------------------------------------- */
/* 1. Variables de design de Tribe Common : on les redéfinit en priorité */
/* -------------------------------------------------------------------- */
.tribe-common {
	--tec-color-accent-primary: #B5651D;
	--tec-color-accent-primary-hover: #2E1F16;
	--tec-color-accent-primary-active: #2E1F16;
	--tec-color-accent-secondary: #5C3D2E;

	--tec-color-button-primary: #2E1F16;
	--tec-color-button-primary-hover: #B5651D;
	--tec-color-button-primary-active: #5C3D2E;
	--tec-color-button-primary-text: #F5EFE6;

	--tec-color-icon-primary: #2E1F16;
	--tec-color-icon-secondary: #5C3D2E;

	--tec-color-link-primary: #B5651D;
	--tec-color-link-primary-hover: #2E1F16;

	--tec-color-text-primary: #2E1F16;
	--tec-color-text-secondary: #5C3D2E;

	--tec-color-background-primary: #FFFFFF;
	--tec-color-background-secondary: #F5EFE6;

	font-family: var(--wp--preset--font-family--corps), sans-serif;
	color: #2E1F16;
}

/* -------------------------------------------------------------------- */
/* 2. Barre de recherche + sélecteur de vue (Liste/Mois/Jour) : masqués  */
/*    pour ne garder que la barre Aujourd'hui / À venir en dessous       */
/* -------------------------------------------------------------------- */
.tribe-events-header,
.tribe-events-c-search,
.tribe-events-c-view-selector {
	display: none !important;
}

/* -------------------------------------------------------------------- */
/* 3. Barre du haut : Précédent/Suivant, Aujourd'hui, "À venir",         */
/*    sélecteur de date — devient la seule barre visible en haut        */
/* -------------------------------------------------------------------- */
.tribe-events-c-top-bar {
	background: transparent;
	border-color: #E7DCC8 !important;
	margin-top: 2rem;
}

.tribe-events-c-top-bar .tribe-events-c-top-bar__datepicker-button,
.tribe-events-c-top-bar .tribe-events-c-view-selector-button,
.tribe-events-c-top-bar .tribe-events-c-nav__prev,
.tribe-events-c-top-bar .tribe-events-c-nav__next {
	background-color: #ffffff !important;
	border: 1px solid #E7DCC8 !important;
	border-radius: 999px !important;
	color: #2E1F16 !important;
	box-shadow: 0 2px 10px rgba(46, 31, 22, 0.06);
}
.tribe-events-c-top-bar .tribe-events-c-top-bar__datepicker-button:hover,
.tribe-events-c-top-bar .tribe-events-c-view-selector-button:hover {
	border-color: #B5651D !important;
	color: #B5651D !important;
}

.tribe-events-c-view-selector__list-item--selected .tribe-events-c-view-selector__list-item-link,
.tribe-events-c-top-bar__nav-link--active {
	color: #2E1F16 !important;
	border-bottom-color: #B5651D !important;
}

.tribe-events-c-top-bar__datepicker-desktop-daterange-details,
.tribe-events-c-top-bar__nav-title {
	font-family: var(--wp--preset--font-family--titres), serif;
	color: #2E1F16 !important;
}

/* Titre de mois ("juillet 2026") */
.tribe-events-calendar-list__month-separator-text,
.tribe-events-c-top-bar__datepicker-desktop-daterange-details {
	font-family: var(--wp--preset--font-family--titres), serif;
	font-size: 1.3rem;
	font-weight: 700;
	color: #2E1F16 !important;
	border-bottom: 1px solid #E7DCC8;
	padding-bottom: 0.5rem;
}
.tribe-events-calendar-list__month-separator {
	margin-top: 2.5rem !important;
}

/* -------------------------------------------------------------------- */
/* CARTES D'ÉVÉNEMENTS — VUE LISTE                                     */
/* La Tanière de l'Ouest                                                */
/* -------------------------------------------------------------------- */


/* ==================================================================== */
/* 1. GRILLE                                                             */
/* ==================================================================== */

.tribe-events-calendar-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)) !important;
    gap: 24px !important;
    list-style: none !important;
    justify-content: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}


/* Séparateurs de mois */
.tribe-events-calendar-list__month-separator {
    grid-column: 1 / -1 !important;
}


/* ==================================================================== */
/* 2. STRUCTURE                                                          */
/* ==================================================================== */

.tribe-events-calendar-list__event-wrapper,
.tribe-events-calendar-list__event,
.tribe-events-calendar-list__event-details,
.tribe-events-calendar-list__event-header {
    display: contents !important;
}


/* ==================================================================== */
/* 3. CARTE                                                              */
/* ==================================================================== */

.tribe-events-calendar-list__event-row {
    position: relative !important;

    display: flex !important;
    flex-wrap: wrap !important;

    width: 100% !important;

    background: #ffffff !important;

    border: 1px solid #EFE3D0 !important;
    border-radius: 20px !important;

    box-shadow: 0 8px 24px rgba(46, 31, 22, 0.06) !important;

    overflow: hidden !important;

    margin: 0 !important;

    /* vraie respiration en bas */
    padding: 0 0 30px 0 !important;

    box-sizing: border-box !important;
}


/* ==================================================================== */
/* 4. PASTILLE DATE                                                      */
/* ==================================================================== */

.tribe-events-calendar-list__event-date-tag {
    position: absolute !important;

    top: 18px !important;
    left: 18px !important;

    z-index: 10 !important;

    width: 58px !important;
    min-height: 58px !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 0 !important;

    background: #5C3D2E !important;

    color: #ffffff !important;

    padding: 6px 4px !important;

    border-radius: 14px !important;

    box-shadow: 0 4px 10px rgba(46, 31, 22, 0.18) !important;

    box-sizing: border-box !important;

    overflow: hidden !important;

    text-align: center !important;
}


/* Texte de la pastille */
.tribe-events-calendar-list__event-date-tag * {
    color: #ffffff !important;
}


/* SAM */
.tribe-events-calendar-list__event-date-tag-weekday {
    font-size: 0.7rem !important;

    letter-spacing: 1px !important;

    text-transform: uppercase !important;

    opacity: 0.85 !important;

    line-height: 1 !important;
}


/* 5 */
.tribe-events-calendar-list__event-date-tag-daynum {
    font-family: var(--wp--preset--font-family--titres), serif !important;

    font-size: 1.6rem !important;

    font-weight: 700 !important;

    line-height: 1.15 !important;
}


/* ==================================================================== */
/* 5. DATE / HEURE                                                       */
/* ==================================================================== */

.tribe-events-calendar-list__event-datetime-wrapper {
    order: 1 !important;

    flex: 0 0 100% !important;

    display: flex !important;

    align-items: center !important;

    gap: 8px !important;

    background: none !important;

    color: #2E1F16 !important;

    margin: 22px 16px 6px 90px !important;

    padding: 0 !important;

    font-size: 13px !important;

    font-weight: 600 !important;

    line-height: 1.4 !important;

    box-sizing: border-box !important;
}


/* Texte */
.tribe-events-calendar-list__event-datetime-wrapper * {
    color: #5C3D2E !important;
}


/* -------------------------------------------------------------------- */
/* HORLOGE SVG                                                           */
/* On utilise background-image et non mask                               */
/* -------------------------------------------------------------------- */

.tribe-events-calendar-list__event-datetime-wrapper::before {
    content: "" !important;

    display: block !important;

    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23B5651D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;

    background-position: center !important;

    background-size: contain !important;
}


/* ==================================================================== */
/* 6. LIEU                                                               */
/* ==================================================================== */

.tribe-events-calendar-list__event-venue {
    order: 2 !important;

    flex: 0 0 100% !important;

    display: flex !important;

    align-items: center !important;

    gap: 8px !important;

    margin: 0 16px 20px 90px !important;

    padding: 0 !important;

    background: none !important;

    color: #5C3D2E !important;

    box-sizing: border-box !important;

    line-height: 1.3 !important;
}


/* -------------------------------------------------------------------- */
/* LOCALISATION SVG                                                      */
/* -------------------------------------------------------------------- */

.tribe-events-calendar-list__event-venue::before {
    content: "" !important;

    display: block !important;

    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;

    background-position: center !important;

    background-size: contain !important;
}


/* Nom du lieu */
.tribe-events-calendar-list__event-venue-title {
    color: #5C3D2E !important;

    display: inline !important;

    font-weight: 700 !important;

    font-size: 13px !important;
}


/* Adresse */
.tribe-events-calendar-list__event-venue-address {
    color: #5C3D2E !important;

    display: inline !important;

    font-weight: 400 !important;

    font-size: 13px !important;
}


/* ==================================================================== */
/* 7. IMAGE                                                              */
/* ==================================================================== */

.tribe-events-calendar-list__event-featured-image-wrapper {
    order: 4 !important;

    flex: 0 0 100% !important;

    width: 100% !important;

    margin: 0 !important;

    padding: 0 !important;

    box-sizing: border-box !important;
}


.tribe-events-calendar-list__event-featured-image-wrapper
img.tribe-events-calendar-list__event-featured-image {
    display: block !important;

    width: 100% !important;

    height: 450px !important;

    max-width: none !important;

    object-fit: contain !important;

    object-position: center !important;

    background: transparent !important;

    margin: 0 !important;
}


/* ==================================================================== */
/* 8. TITRE                                                              */
/* ==================================================================== */

/*
   IMPORTANT :
   Le titre commence maintenant à 16px,
   exactement comme le texte de description.
*/

.tribe-events-calendar-list__event-title,
.tribe-events-calendar-list__event-title-link {
    order: 5 !important;

    flex: 0 0 calc(100% - 32px) !important;

    width: calc(100% - 32px) !important;

    font-family: var(--wp--preset--font-family--titres), serif !important;

    font-size: 22px !important;

    font-weight: 700 !important;

    color: #5C3D2E !important;

    margin: 12px 16px 8px 16px !important;

    padding: 0 !important;

    text-align: left !important;

    box-sizing: border-box !important;
}


/* Survol */
.tribe-events-calendar-list__event-title-link:hover {
    color: #B5651D !important;
}


/* ==================================================================== */
/* 9. DESCRIPTION                                                        */
/* ==================================================================== */

.tribe-events-calendar-list__event-description.tribe-common-a11y-hidden {
    order: 6 !important;

    flex: 0 0 calc(100% - 32px) !important;

    width: calc(100% - 32px) !important;

    position: static !important;

    height: auto !important;

    margin: 0 16px !important;

    padding: 0 !important;

    clip: auto !important;

    clip-path: none !important;

    overflow: hidden !important;

    color: #4A3B30 !important;

    line-height: 1.6 !important;

    font-size: 13px !important;

    text-align: justify !important;

    display: -webkit-box !important;

    -webkit-line-clamp: 2 !important;

    -webkit-box-orient: vertical !important;

    box-sizing: border-box !important;
}


/* ==================================================================== */
/* 10. PRIX / LIENS                                                      */
/* ==================================================================== */

.tribe-events-calendar-list__event-row-actions-details-link,
.tribe-events-calendar-list__event-cost {
    color: #2E1F16 !important;

    font-weight: 600 !important;
}


/* ==================================================================== */
/* 11. SÉCURITÉ FLEX                                                     */
/* ==================================================================== */

.tribe-events-calendar-list__event-row > * {
    box-sizing: border-box !important;
}


/* ==================================================================== */
/* 12. MOBILE                                                             */
/* ==================================================================== */

@media (max-width: 600px) {

    .tribe-events-calendar-list {
        grid-template-columns: 1fr !important;
    }


    .tribe-events-calendar-list__event-row {
        border-radius: 16px !important;

        padding-bottom: 26px !important;
    }


    .tribe-events-calendar-list__event-date-tag {
        top: 14px !important;
        left: 14px !important;

        width: 56px !important;
        min-height: 56px !important;
    }


    .tribe-events-calendar-list__event-datetime-wrapper {
        margin-top: 18px !important;

        margin-left: 82px !important;

        margin-right: 12px !important;

        font-size: 12px !important;
    }


    .tribe-events-calendar-list__event-venue {
        margin-left: 82px !important;

        margin-right: 12px !important;

        font-size: 12px !important;
    }


    .tribe-events-calendar-list__event-featured-image-wrapper
    img.tribe-events-calendar-list__event-featured-image {
        height: auto !important;

        max-height: 450px !important;

        object-fit: contain !important;
    }


    .tribe-events-calendar-list__event-title,
    .tribe-events-calendar-list__event-title-link {
        flex-basis: calc(100% - 28px) !important;

        width: calc(100% - 28px) !important;

        margin-left: 14px !important;

        margin-right: 14px !important;

        font-size: 18px !important;
    }


    .tribe-events-calendar-list__event-description.tribe-common-a11y-hidden {
        flex-basis: calc(100% - 28px) !important;

        width: calc(100% - 28px) !important;

        margin-left: 14px !important;

        margin-right: 14px !important;
    }
}

/* ==============================================================
   CORRECTION FINALE — ALIGNEMENT + ICÔNES
   ============================================================== */


/* --------------------------------------------------------------
   1. DATE / HEURE : passe devant la pastille
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-datetime-wrapper {
    position: relative !important;
    z-index: 20 !important;

    margin-left: 90px !important;
    margin-right: 16px !important;
}


/* --------------------------------------------------------------
   2. LIEU : passe également devant la pastille
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-venue {
    position: relative !important;
    z-index: 20 !important;

    margin-left: 90px !important;
    margin-right: 16px !important;
}


/* --------------------------------------------------------------
   3. ICÔNE HORLOGE
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-datetime-wrapper::before {
    position: relative !important;
    z-index: 30 !important;

    content: "" !important;

    display: block !important;

    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23B5651D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
	padding-left: 50px !important;
}


/* --------------------------------------------------------------
   4. ICÔNE LOCALISATION
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-venue::before {
    position: relative !important;
    z-index: 30 !important;

    content: "" !important;

    display: block !important;

    width: 16px !important;
    height: 16px !important;

    flex: 0 0 16px !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
	padding-left: 50px !important;
}

/* ==============================================================
   CORRECTION POSITION DES ICÔNES
   ============================================================== */

/* La pastille reste derrière */
.tribe-events-calendar-list__event-date-tag {
    z-index: 1 !important;
}


/* La ligne date est au-dessus */
.tribe-events-calendar-list__event-datetime-wrapper {
    position: relative !important;
    z-index: 5 !important;

    /* On laisse une place pour l'icône */
    padding-left: 50px !important;

    /* Le texte commence toujours ici */
    margin-left: 90px !important;

    background: transparent !important;
}


/* HORLOGE : position fixe dans la zone blanche */
.tribe-events-calendar-list__event-datetime-wrapper::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 16px !important;
    height: 16px !important;

    display: block !important;

    background-color: transparent !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='%23B5651D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}


/* --------------------------------------------------------------
   LIEU
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-venue {
    position: relative !important;
    z-index: 5 !important;

    padding-left: 50px !important;

    margin-left: 90px !important;

    background: transparent !important;
}


/* LOCALISATION : position fixe dans la zone blanche */
.tribe-events-calendar-list__event-venue::before {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    top: 50% !important;

    transform: translateY(-50%) !important;

    width: 16px !important;
    height: 16px !important;

    display: block !important;

    background-color: transparent !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s7-6.2 7-11a7 7 0 1 0-14 0c0 4.8 7 11 7 11Z' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='none' stroke='%23B5651D' stroke-width='2'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}
/* --------------------------------------------------------------
   5. TITRE — ALIGNEMENT EXACT AVEC LA DESCRIPTION
   -------------------------------------------------------------- */

/*
   TEC met parfois un décalage sur le lien du titre.
   On neutralise complètement ce lien.
*/

.tribe-events-calendar-list__event-title {
    flex: 0 0 calc(100% - 32px) !important;

    width: calc(100% - 32px) !important;

    margin: 12px 16px 8px 16px !important;

    padding: 0 !important;

    position: relative !important;
    left: 0 !important;

    text-align: left !important;

    box-sizing: border-box !important;
}


/* Le lien ne doit avoir AUCUN décalage */

.tribe-events-calendar-list__event-title-link {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    position: static !important;

    left: auto !important;
    right: auto !important;

    text-indent: 0 !important;

    text-align: left !important;
}


/* --------------------------------------------------------------
   6. DESCRIPTION — PLUS DÉCOLLÉE DU BORD
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-description.tribe-common-a11y-hidden {

    flex: 0 0 calc(100% - 48px) !important;

    width: calc(100% - 48px) !important;

    margin-left: 24px !important;
    margin-right: 24px !important;

    padding: 0 !important;

    text-align: justify !important;

    line-height: 1.6 !important;

    box-sizing: border-box !important;
}


/* --------------------------------------------------------------
   7. ESPACE SUPPLÉMENTAIRE EN BAS DE CARTE
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-row {
    padding-bottom: 38px !important;
}


/* --------------------------------------------------------------
   8. TITRE : MÊME LARGEUR VISUELLE QUE LE TEXTE
   -------------------------------------------------------------- */

.tribe-events-calendar-list__event-title {
    margin-left: 24px !important;
    margin-right: 24px !important;

    flex-basis: calc(100% - 48px) !important;

    width: calc(100% - 48px) !important;
}

.tribe-events-calendar-list__event-title-link {
    margin-left: 0 !important;
    padding-left: 0 !important;
}


/* --------------------------------------------------------------
   9. MOBILE
   -------------------------------------------------------------- */

@media (max-width: 600px) {

    .tribe-events-calendar-list__event-title {
        margin-left: 20px !important;
        margin-right: 20px !important;

        flex-basis: calc(100% - 40px) !important;

        width: calc(100% - 40px) !important;
    }

    .tribe-events-calendar-list__event-description.tribe-common-a11y-hidden {
        margin-left: 20px !important;
        margin-right: 20px !important;

        flex-basis: calc(100% - 40px) !important;

        width: calc(100% - 40px) !important;
    }

    .tribe-events-calendar-list__event-row {
        padding-bottom: 30px !important;
    }
}

/* -------------------------------------------------------------------- */
/* 5. Vue Mois                                                           */
/* -------------------------------------------------------------------- */
.tribe-events-calendar-month__day--current .tribe-events-calendar-month__day-date-link {
	background-color: #2E1F16 !important;
	color: #F5EFE6 !important;
}
.tribe-events-calendar-month__calendar-event-tooltip,
.tribe-events-calendar-month__multiday-event-bar-link,
.tribe-events-calendar-month__calendar-event-title-link {
	color: #2E1F16 !important;
}
.tribe-events-calendar-month__calendar-event-tooltip-title {
	font-family: var(--wp--preset--font-family--titres), serif;
}
.tribe-events-calendar-month__day-cell--eventful:hover {
	background-color: #F5EFE6 !important;
}

/* -------------------------------------------------------------------- */
/* 6. "S'abonner au calendrier" et pagination                            */
/* -------------------------------------------------------------------- */
.tribe-events-c-subscribe-dropdown__button {
	background-color: #ffffff !important;
	border: 1px solid #2E1F16 !important;
	border-radius: 999px !important;
	color: #2E1F16 !important;
}
.tribe-events-c-subscribe-dropdown__button:hover {
	background-color: #2E1F16 !important;
	color: #F5EFE6 !important;
}
.tribe-events-c-subscribe-dropdown__container,
.tribe-events-c-subscribe-dropdown {
	display: none !important;
}

.tribe-events-c-nav__list-item-link:hover,
.tribe-events-nav-next a,
.tribe-events-nav-previous a {
	color: #B5651D !important;
}

/* La pagination en bas de liste ("Évènements précédents / suivants") réutilise
   les mêmes classes que les flèches de la barre du haut : on les repasse en
   liens simples, sans le fond blanc en pilule appliqué plus haut. */
.tribe-events-c-nav__prev,
.tribe-events-c-nav__next {
	background: none !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	color: #2E1F16 !important;
	padding: 0.4rem 0 !important;
}
.tribe-events-c-nav__prev:hover,
.tribe-events-c-nav__next:hover {
	color: #B5651D !important;
}

/* -------------------------------------------------------------------- */
/* 7. Page événement unique                                              */
/* -------------------------------------------------------------------- */
.single-tribe_events .wp-block-post-title {
	display: block !important;
	text-align: center;
	font-size: clamp(2.8rem, 4vw, 4.5rem);
	color: var(--wp--preset--color--brun-fonce);
	margin-bottom: 2rem;
}
.single-tribe_events .wp-block-post-featured-image img {
	border-radius: 24px;
	overflow: hidden;
}
.single-tribe_events .wp-block-post-content {
	font-size: 1.15rem;
	line-height: 1.9;
}
.single-tribe_events .wp-block-post-content p {
	text-align: left !important;
}

/* -------------------------------------------------------------------- */
/* 8. Carte de lieu (venue) sur la page événement                        */
/* -------------------------------------------------------------------- */
/* On masque le texte du lieu */
.tribe-block__venue__meta {
	display: none !important;
}
/* Conteneur principal du bloc lieu */
.single-tribe_events .tribe-block__venue,
.single-tribe_events .tribe-block__venue--has-map {
	max-width: 1000px;
	margin: 0 auto !important;
	padding: 0 !important;
}
/* Suppression des marges parasites */
.single-tribe_events .tribe-block__venue__map {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}
/* Carte Google */
.single-tribe_events .tribe-block__venue__map iframe {
	display: block;
	width: 100% !important;
	height: 420px !important;
	border: none;
	border-radius: 24px;
}
/* Réduction des espaces avant/après la carte */
.single-tribe_events .wp-block-group .tribe-block__venue {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.single-tribe_events .wp-block-group:has(.tribe-block__venue) {
	margin-top: 1rem !important;
	margin-bottom: 1rem !important;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* Force la pastille active sur "ACTIVITÉS" pour toutes les pages liées aux événements
   (le lien personnalisé /event ne matche sinon que l'URL exacte de l'archive) */
body.single-tribe_events .la_taniere_de_l_ouest-nav a[href="/event"],
body.tax-tribe_events_cat .la_taniere_de_l_ouest-nav a[href="/event"],
body.post-type-archive-tribe_events .la_taniere_de_l_ouest-nav a[href="/event"] {
	background-color: #1E140C !important;
	color: #F5EFE6 !important;
}

/* ==================================
   ARCHIVE DES ÉVÉNEMENTS
================================== */
 
.post-type-archive-tribe_events .tribe-common-l-container {
    height: fit-content !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
 
.post-type-archive-tribe_events .tribe-events-view {
    height: fit-content !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
 
.post-type-archive-tribe_events .tribe-events-c-nav {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
    padding: 0 !important;
}
 
/* Navigation événement précédent / suivant + "Tous les Évènements" */
.la-taniere-event-nav {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	margin: 2.5rem 0;
}
.la-taniere-event-nav__prev { text-align: left; }
.la-taniere-event-nav__all { text-align: center; }
.la-taniere-event-nav__next { text-align: right; }
 
.la-taniere-event-nav a {
	display: inline-block;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	background-color: #ffffff;
	border: 1px solid #EFE3D0;
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	color: #2E1F16 !important;
	font-weight: 600;
	text-decoration: none !important;
	box-shadow: 0 4px 14px rgba(46, 31, 22, 0.06);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.la-taniere-event-nav a:hover {
	background-color: #2E1F16;
	color: #F5EFE6 !important;
}
 
@media (max-width: 700px) {
	.la-taniere-event-nav {
		grid-template-columns: 1fr;
		text-align: center !important;
	}
	.la-taniere-event-nav__prev,
	.la-taniere-event-nav__all,
	.la-taniere-event-nav__next {
		text-align: center;
	}
}