.legesu-evenement-affiche {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    max-width: 100%;
    margin: 0 auto;
}
.legesu-evenement-bouton-wrapper {
    display: inline-flex;
    justify-content: left;
    align-items: center;
}
.legesu-evenement-bouton {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.2s ease;
    background-color: #D04A4C;
    color: #ffffff;
    font-weight: 500;
    line-height: 1em;
    font-size: 1.8rem;
    padding-top: 10px;
    padding-right: 25px;
    padding-bottom: 10px;
    padding-left: 25px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 999px;

}
.legesu-evenement-bouton:hover {
    background-color: #e66466;
    color: #000;
}
.legesu-evenement-bouton-icon {
    margin-left: 15px;
    font-size: inherit;
    display: flex;
    align-items: center;
    line-height: 1em;
}
.legesu-evenement-bouton-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.legesu-evenement-affiche-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.legesu-evenement-affiche-titre {
    font-size: clamp(2rem, 3vw, 3rem);
    margin: 0;
    flex: 1 1 auto;
    color: #000;
}

.legesu-evenement-affiche-date {
    font-size: 1.5rem;
    text-transform: uppercase;
    text-align: right;
    color: #555;
    margin: 0;
    white-space: wrap;
}

.legesu-evenement-affiche-image {
    display: block;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: top center;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    transition: transform 0.4s ease;
}
.legesu-evenement-affiche-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background 0.4s ease;
    border-radius: inherit;
}
.legesu-evenement-affiche-image:hover {
    transform: scale(1.03);
}
.legesu-evenement-affiche-image:hover::after {
    background: rgba(0,0,0,0.25);
}
.legesu-evenement-affiche-image.legesu-no-image {
    background: #f5f5f5;
    height: 200px;
    border-radius: 6px; 
}

/* height desktop */
@media (min-width: 768px) {
    .legesu-evenement-affiche-image {
        height: 500px;
    }
}

/* height mobile */
@media (max-width: 767px) {
    .legesu-evenement-affiche-image {
        aspect-ratio: 16 / 9;
        height: auto;
    }
}

