/* #region Agenda */

.agenda-empty {
text-align: center !important;
justify-content: center !important;
}

/* Titre principal */

.index-main #agenda h3 {
color: var(--color-title);
text-align: center;
font-size: 22px;
font-weight: 800;
text-transform: uppercase;
margin: 0 0 25px 0;
}

/* Slider */

.agenda-card {
min-width: 100%;
width: 100%;
box-sizing: border-box;
display: flex;
align-items: center;
gap: 35px;
padding: 18px 22px;
background: var(--color-evenement2);
border-radius: 15px;
box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

.agenda-track {
transition: transform .5s cubic-bezier(.4,0,.2,1);
color: var(--color-text);
}

.agenda-card {
min-width: 100%;
display: flex;
align-items: center;
gap: 35px;
padding: 18px 22px;
background: var(--color-evenement2);
border-radius: 15px;
box-shadow: 0 6px 18px rgba(0,0,0,.12);
}

/* ========================== DATE ========================== */

.agenda-date {
flex: 0 0 90px;
height: 135px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
border: 2px solid var(--color-facebook);
border-radius: 12px;
padding: 10px 8px;
}

.agenda-date span {
display: block;
color: var(--color-evenement);
text-transform: uppercase;
}

.agenda-day-name {
font-size: 15px;
font-weight: 800;
line-height: 1;
margin-bottom: 12px;
}

.agenda-day-number {
font-size: 88px;
font-weight: 900;
line-height: .8;
margin-bottom: 12px;
}

.agenda-month {
font-size: 15px;
font-weight: 800;
line-height: 1;
margin-bottom: 12px;
}

.agenda-year {
font-size: 15px;
font-weight: 800;
line-height: 1;
}

/* ========================== CONTENU ========================== */

.agenda-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
}

.agenda-content h3 {
color: var(--color-evenement);
font-size: 26px;
font-weight: 800;
line-height: 1;
margin: 0 0 6px 0;
padding: 0;
}

.agenda-content h4 {
color: var(--color-primary);
font-size: 26px;
font-weight: 800;
line-height: 1;
margin: 0 0 15px 0;
padding: 0;
}

.agenda-button {
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--color-primary);
color: var(--color-index) !important;
text-decoration: none;
padding: 12px 28px;
border-radius: 8px;
font-size: 18px;
font-weight: 700;
transition: .2s;
}

.agenda-button:hover {
transform: translateY(-2px);

}

/* ========================== IMAGE ========================== */

.agenda-image {
flex: 0 0 220px;
width: 220px;
height: 130px;
display: flex;
justify-content: center;
align-items: center;
}

.agenda-image img {
max-width: 100%;
max-height: 100%;
width: auto;
height: auto;
object-fit: contain;
object-position: center;
display: block;
}

/* ========================== NAVIGATION ========================== */

.agenda-navigation {
display: flex;
justify-content: center;
align-items: center;
gap: 18px;
margin-top: 18px;
margin-bottom: 40px;
}

.agenda-prev,
.agenda-next {
width: 38px;
height: 38px;
border: none;
border-radius: 50%;
background: var(--color-primary);
color: var(--color-index);
cursor: pointer;
font-size: 22px;
font-weight: 700;
transition: .2s;
}

.agenda-prev:hover,
.agenda-next:hover {
transform: scale(1.08);
}

.agenda-counter {
color: var(--color-title);
font-size: 18px;
font-weight: 700;
}

.agenda-slider {
overflow: hidden;
}

.agenda-card {
flex: 0 0 100%;
}

/* titre aganda */

.agenda-title {
text-align: left !important;
color: var(--color-evenement) !important;
}

/* #endregion Agenda */

/* =========================================================
   RESPONSIVE
   Agenda
   ========================================================= */

@media (max-width: 1080px) {


    /* #region Carte événement */


    .agenda-card {

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        padding: 20px;

        box-sizing: border-box;

    }


    /* #endregion */


    /* #region Image */


    .agenda-image {

        order: 1;

        width: 100%;

        height: 220px;

        flex: none;

        display: flex;

        justify-content: center;

        align-items: center;

    }


    .agenda-image img {

        width: auto;

        height: auto;

        max-width: 100%;

        max-height: 220px;

        object-fit: contain;

        object-position: center;

    }


    /* #endregion */


    /* #region Date */


    .agenda-date {

        order: 2;

        width: 100%;

        max-width: 300px;

        height: auto;

        min-height: 90px;

        margin: 0 auto;

        padding: 10px;

        box-sizing: border-box;

        flex: none;

        display: flex;

        flex-direction: row;

        justify-content: center;

        align-items: center;

        gap: 10px;

    }


    .agenda-day-name {

        font-size: 12px;

        margin-bottom: 0;

    }


    .agenda-day-number {

        font-size: 64px;

        margin-bottom: 0;

    }


    .agenda-month,
    .agenda-year {

        font-size: 12px;

        margin-bottom: 0;

    }


    /* #endregion */


    /* #region Contenu */


    .agenda-content {

        order: 3;

        width: 100%;

        max-width: 100%;

        display: flex;

        flex-direction: column;

        align-items: center;

        justify-content: center;

        text-align: center;

    }


    .agenda-content h3 {

        width: 100%;

        font-size: 22px;

        text-align: center !important;

    }


    .agenda-content h4 {

        width: 100%;

        font-size: 22px;

        text-align: center;

        margin-bottom: 12px;

    }


    /* #endregion */


    /* #region Bouton */


    .agenda-button {

        align-self: center;

        padding: 10px 20px;

        font-size: 16px;

    }


    /* #endregion */


}