/* =========================================================
   CARUSO24 - PAGE  AGENDA mois et cartes
   Version 1
   ========================================================= */


/* =========================================================
   AGENDA  
   ========================================================= */

/* les mois 
   ========================================================= */

.agenda-months {
    width: 100%;
    max-width: 100%;
	/* background-color:var(--caruso-beige); */

    border-top: 1px solid #eadbca;
    border-bottom: 1px solid #eadbca;

    overflow-x: auto;
    overflow-y: hidden;

   scrollbar-width: auto;/* */
   -webkit-overflow-scrolling: touch;
    /* -webkit-overflow-scrolling: touch; */
}
/*
.agenda-months::-webkit-scrollbar {
    display: none;
}*/


/* Conteneur des mois */
.agenda-months > div {
    display: flex;
    align-items: stretch;
    justify-content: center;

    width: max-content;
    min-width: max-content;
}

.agenda-months a {
    position: relative;
	flex: 0 0 auto;

    padding: 0.65rem 0.9rem;

    color: #292929;
    text-decoration: none;

    font-size: 0.85rem;
    white-space: nowrap;
	
	cursor:pointer;

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

.agenda-months a:hover {
    color: #e47b20;
	/*cursor:pointer;*/
}

/* Mois actif */

.agenda-months a.active {
    color: #e47b20;
    font-weight: 600;
}

/* petit trait orange */

.agenda-months a.active::after {
    content: "";

    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: -1px;

    height: 3px;

    background: #e47b20;
}

/* les cartes programme
   ========================================================= */
.agenda-programme {
    margin-top: 1.5rem;
}

.agenda-programme h2 {
    margin: 0 0 0.5rem;
    padding-bottom: 0.4rem;

    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;

    color: #e47b20;

    border-bottom: 1px solid #eadbca;
}
.agenda-programme a{
    color:inherit;
}

/* Une petite carte */

.agenda-event {
    display: flex;
    align-items: center;

    gap: 0.8rem;

    padding: 0.55rem 0;

    text-decoration: none;
    color: inherit;

    border-bottom: 1px solid #ccc;
}


/* Image */

.agenda-event-image {
    flex: 0 0 82px;
}

.agenda-event-image img {
    display: block;

    width: 82px;
    height: 115px;

    object-fit: cover;
}


/* Texte */

.agenda-event-info {
    min-width: 0;
}

.agenda-event-info h3 {
    margin: 0 0 0.15rem;

    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;

    color: #244f36;
}

.agenda-event-info h3 span {
    color: #e47b20;
    font-size: 1.2rem;
}

.agenda-event-info p {
    margin: 0;

    font-size: 0.82rem;
    line-height: 1.35;

    color: #333;
}

.agenda-event-info small {
    display: block;

    margin-top: 0.15rem;

    font-size: 0.76rem;
    line-height: 1.3;

    color: #555;
}
/* on enlève le souligné de la règle générale */
a.agenda-event,
a.agenda-event:visited {
    color: inherit;
    text-decoration: none;
}

/* Petit effet au survol */

a.agenda-event:hover h3 {
    color: #e47b20;
}
/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 900px) {

	.agenda-months {
		
		padding-bottom : 10px;
    }
	.agenda-months > div {
        justify-content: flex-start;
    }

    .agenda-months a {
    }
}


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

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

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

