/* =========================================================
   CARUSO24 - FICHE EVENEMENT
   Version 1
   ========================================================= */
.pg_calendrier #ct_filariane{margin-top:20px}
.pg-event #ct_filariane{margin-top:20px}

.pg-event .breadcrumb{margin-top:20px}
.event,
.event * {
    box-sizing: border-box;
}


/* ---------------------------------------------------------
   CONTENEUR
   --------------------------------------------------------- */

.event .container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.event {
    color: var(--caruso-text);
    font-family: "Source Sans 3",sans-serif;
    line-height: 1.6;
}

.event p {
    margin: 0 0 1rem;
}

.event h1,
.event h2,
.event h3,
.event h4 {
    margin-top: 0;
}



/* ---------------------------------------------------------
   LIEN RETOUR
   --------------------------------------------------------- */

.event-back {
    display: block;
	width : fit-content;
    margin-left:auto;
	margin-bottom:30px;
	margin-right:20px;
	margin-top:-10px;

    padding: 0.65rem 1rem;

    color: var(--caruso-green);
    background: var(--caruso-beige);

    border: 1px solid var(--caruso-border);
    border-radius: 8px;

    text-decoration: none;
    font-size: 0.95rem;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.event-back:hover {
    color: var(--caruso-white);
    background: var(--caruso-green);
	text-decoration:none;
}


/* ==========================================
   INTRODUCTION EVENEMENT
   ========================================== */

.event-intro {
    display: grid;
    grid-template-columns: 350px minmax(0, 1fr);
    gap: 3rem;

    max-width: 1200px;
    margin: 2rem auto 3rem;
    padding: 0 20px;
}



/* ---------------------------------------------------------
   AFFICHE
   --------------------------------------------------------- */


.event-image {
    width: 350px;
}

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

    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.event-image a {
    display: block;
}


/* =========================================================
   PARTIE TEXTE  
   ========================================================= */

.event-main {
    min-width: 0;
}
/* Rubrique */
/* old 
.event-rubrique {
    display: inline-block;

    margin-bottom: 0.8rem;
    padding: 0.35rem 0.9rem;

    color: #315d3b;
    background: #eef5ef;

    border: 1px solid #9fbea4;
    border-radius: 6px;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}
*/
.event-rubrique {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0;
    border: none;
    background: none;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e2761d;
}
/*
.event-rubrique span {
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;

    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e2761d;
}
.event-rubrique span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 2px;
    background: #e2761d;
} */

/* ---------------------------------------------------------
   TITRE
   --------------------------------------------------------- */

.event-main h1 {
    font-family: "Cormorant Garamond",Georgia, "Times New Roman", serif;
    font-size: 1.8rem;
    font-weight: 600;
	color:var(--caruso-dark);
}

/* Sous-titre color: var(--caruso-orange);*/

.event-subtitle {
    margin: 0 0 1.8rem;

    color: var(--caruso-orange);

    font-family: "Cormorant Garamond",Georgia, "Times New Roman", serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.4;
}


/* =========================================================
  LES 4 INFORMATIONS
   ========================================================= */

/* TEST - priorité au nouveau bloc d'informations */

.event-details {
    display: grid;
    /*grid-template-columns: 1fr 1.2fr 1fr 1.4fr;*/
	/*grid-template-columns: repeat(4, minmax(0, 1fr));*/
	/*grid-template-columns:1fr;*/
	grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 1.5rem 0;
    border: 1px solid #eadbca;
    border-radius: 10px;
    overflow: hidden;
    background: #fbf8f4;
}

/* Chaque bloc */
.event-details .event-detail {
    display: flex ;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start;
    padding: 1.1rem 0.8rem;
    text-align: center;
    min-width: 0;
}

.event-details .event-detail + .event-detail {
    border-left: 1px solid #eadbca;
}


/* Séparateurs */

.event-detail + .event-detail {
    border-left: 1px solid #eadbca;
}



/* intitulé */

.event-detail strong {
    display: block;

    margin-bottom: 0.35rem;

    color: #555;

    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
	text-align:center;

}


/* valeur */

.event-detail div span {
    display: block;

    color: #292929;

    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

/* Icône */

.event-icon {
    display: block;

    margin-bottom: 0.6rem;

    font-size: 1.8rem;
    line-height: 1;
}
.event-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #315d3b;
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}
.event-icon .icon {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: #315d3b;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    margin-right: 0.35rem;

    vertical-align: middle;
}

.info-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    /* stroke: #315d3b; */
	stroke: var(--caruso-green);
    stroke-width: 1.7;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ---------------------------------------------------------
   RESUME
   --------------------------------------------------------- */

.event-resume {
    margin: 0;

    padding: 1.2rem 1.4rem;
	color: #3f3f3f;

    background: var(--caruso-beige); /* #fbf5ec; */

    border: 1px solid #eadbca;
    border-left: 4px solid #d97928;
    border-radius: 0 10px 10px 0;

    font-size: 1rem;
    line-height: 1.6;
}


/* =========================================================
   DEUXIÈME PARTIE - CONTENU DE L'ÉVÉNEMENT
   ========================================================= */

.event-description {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 20px 4rem;
}

/* ---------------------------------------------------------
   GRILLE PRINCIPALE
   --------------------------------------------------------- */

.event-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 4rem;
    align-items: start;
}
/* =========================================================
   ARTICLE
   ========================================================= */

.event-article {
    min-width: 0;
}


/* ---------------------------------------------------------
   SECTIONS
   --------------------------------------------------------- */

.event-section {
    margin-bottom: 3rem;
}

.event-section h3 {
    margin: 0 0 1.2rem;

    color: #315d3b;

    font-family: "Cormorant Garamond",Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1.2;
}


/* petit trait décoratif */

.event-section h3::after {
    content: "";

    display: block;

    width: 50px;
    height: 3px;

    margin-top: 0.7rem;

    background: #d97928;
}


.event-section p {
	font-family: "Source Sans 3",sans-serif;
    margin: 0 0 1.2rem;

    color: #444;

    font-size: 1rem;
    line-height: 1.7;
}
.event-section ul {
    font-size: 1rem;
    line-height: 1.7;
}
.event-programme {
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.8;
}

.event-programme li {
    position: relative;
    padding-left: 18px;
}

.event-programme li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #e8751a;
    font-weight: bold;
}


/* =========================================================
   CARTE INFORMATIONS PRATIQUES
   ========================================================= */

.event-sidebar {
    min-width: 0;
}

.event-info-card {
    position: sticky;
    top: 25px;

    padding: 1.8rem;

    background: #f8f4ed;

    border: 1px solid #e2d8ca;
    border-radius: 14px;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}


/* ---------------------------------------------------------
   TITRE DE LA CARTE
   --------------------------------------------------------- */

.event-info-card > h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;

    margin: 0 0 1.8rem;

    color: #292929;

    font-family: "Cormorant Garamond", serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}


/* icône du titre */

.event-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #ffffff;
    background: #315d3b;

    border-radius: 50%;

    font-family: Arial, sans-serif;
    font-size: 1rem;
}


/* =========================================================
   BLOCS D'INFORMATIONS
   ========================================================= */

.event-info-item {
    padding: 1.2rem 0;

    border-top: 1px solid #ddd2c3;
}

.event-info-item:first-of-type {
    padding-top: 0;
    border-top: none;
}


/* titre */

.event-info-item h3 {
    margin: 0 0 0.6rem;

    color: #d97928;

    font-family: "Source Sans 3", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 0.06em;
}


/* contenu */

.event-info-item p {
	font-family: "Source Sans 3", sans-serif;
    margin: 0;

    color: #444;

    font-size: 0.92rem;
    line-height: 1.65;
}


/* =========================================================
   ÉVÉNEMENT GRATUIT
   ========================================================= */

.event-free {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;

    margin: 1.2rem 0;

    padding: 1rem 1.1rem;

    background: #ffffff;

    border-left: 4px solid #315d3b;
    border-radius: 0 8px 8px 0;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.event-free strong {
    color: #315d3b;

    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.event-free span {
    color: #444;

    font-size: 0.9rem;
    line-height: 1.5;
}


/* =========================================================
   BOUTON
   ========================================================= */

.event-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;

    width: 100%;
    min-height: 52px;

    margin-top: 1.5rem;
    padding: 0.8rem 1.1rem;

    color: #ffffff;
    background: #d97928;

    border-radius: 8px;

    font-family: "Source Sans 3", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;

    transition: background-color 0.25s ease,
                transform 0.2s ease,
                box-shadow 0.25s ease;
}

/* HOVER */
.event-button:hover {
    background: #c86612;
    color: #fff;
    text-decoration: none;

    transform: translateY(-2px);

    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
/* flèche */
.event-button span {
    font-size: 1.4rem;
	line-height: 1;
    color: #fff;
    transition: transform 0.25s ease;
}
.event-button:hover span {
    transform: translateX(4px);
}


/* =========================================================
   BILLETTERIE
   ========================================================= */

.event-booking {
    margin-top: 1.3rem;
    padding-top: 1.2rem;
    border-top: 1px solid #ddd2c3;
    text-align: center;
}

.event-booking strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.event-booking a {
    display: block;

    color: #315d3b;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;

    overflow-wrap: anywhere;
}

.event-booking a:hover {
    color: #d97928;
    text-decoration: underline;
}

.event-booking span {
    display: block;
    margin-top: 0.25rem;

    color: #666;
    font-size: 0.8rem;
}

.event-booking p {
    margin: 0;

    color: #666;

    font-size: 0.8rem;
    line-height: 1.5;
}


.event-liens {
    margin-top: 10px;
    padding-top: 18px;
    border-top: 1px solid #ddd3c5;
}

.event-lien-principal,
.event-lien-secondaire {
    margin-bottom: 14px;
}

.event-lien-principal > span,
.event-lien-secondaire > span {
    display: block;
    margin-bottom: 5px;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: #777;
}

.event-lien-principal a,
.event-lien-secondaire a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    font-weight: 600;
    color: #315c3c;
}

.event-lien-principal a:hover,
.event-lien-secondaire a:hover {
    color: #df7620;
}

.event-lien-principal strong,
.event-lien-secondaire strong {
    font-size: 1.2rem;
    color: #df7620;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

	.event-intro {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
    }

    .event-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .event-main h1 {
        font-size: 2.2rem;
    }

    .event-details {
        grid-template-columns: repeat(2, 1fr);
    }
	.event-detail {
        min-height:150px;
		padding: 1.2rem 0.8rem;
		text-align:center;
    }
	
	.event-icon svg{
		width:32px;
		height:32px;
		margin-bottom: 0.7rem;
	}
	.event-detail strong{
		display:block;
		margin-bottom:0.5rem;
	}
	.event-detail span{
		display:block;
	}

    .event-detail:nth-child(3) {
        border-left: none;
        border-top: 1px solid #eadbca;
    }

    .event-detail:nth-child(4) {
        border-top: 1px solid #eadbca;
    }
	.event-description {
        padding: 1rem 14px 3rem;
    }

    .event-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .event-info-card {
        position: static;
    }

    .event-section {
        margin-bottom: 2.5rem;
    }
}
@media screen and (max-width: 600px) {

    .event-back {
        margin-left: 20px;
		margin-top:0px;
    }

}
@media (max-width: 500px) {

    .event-intro {
        padding: 0 14px;
    }

    .event-details {
        grid-template-columns: 1fr;
    }

    .event-detail + .event-detail {
        border-left: none;
        border-top: 1px solid #eadbca;
    }

    .event-main h1 {
        font-size: 2rem;
    }

    .event-subtitle {
        font-size: 1.15rem;
    }
}

