/* =============== */
/*   EVENT BLOCK   */
/* =============== */

.chen_event_block {
    display: flex;
    gap: 32px;
    width: 100%;
    align-items: stretch;
}

/* Colonnes */

.chen_event_block__left,
.chen_event_block__right {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.chen_event_block__right {
    justify-content: space-between;
}

/* Nouveau wrapper header */

.chen_event_block__header {
    width: 100%;
}

/* En layout normal : image + header répartis dans la colonne gauche */

.chen_event_block:not(.chen_event_block--flipped) .chen_event_block__left {
    justify-content: space-between;
}

/* En layout flipped : image + price + CTA répartis dans la colonne droite */

.chen_event_block--flipped .chen_event_block__right {
    justify-content: space-between;
}

/* Image */

.chen_event_block__image {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 16px;
    flex: 0 0 auto;
}

.chen_event_block__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/* Texte */

.chen_event_block__text {
    margin-bottom: 16px;
}

/* Cas inversé */

.chen_event_block--flipped .chen_event_block__text {
    margin-top: 24px;
    margin-bottom: 0;
}

/* Tarif */

.chen_event_block__price {
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 0;
}

.chen_event_block__price_value {
    margin-bottom: 0;
}

.chen_event_block__price_value strong {
    font-weight: 700;
}

.chen_event_block__price_info {
    font-style: italic;
    font-weight: 400;
}

.chen_event_block__price_full {
    font-style: italic;
    font-weight: 300;
}

.chen_event_block__price_until {
    font-weight: 300;
}

.chen_event_block__price--olive {
    color: #808000;
}

.chen_event_block__price--rose {
    color: #f25f70;
}

.chen_event_block__price--teal {
    color: #008080;
}

.chen_event_block__price--align-left {
    text-align: left;
}

.chen_event_block__price--align-center {
    text-align: center;
}

.chen_event_block__price--align-right {
    text-align: right;
}

/* CTA */

.chen_event_block__cta {
    padding-top: 24px;
    display: flex;
}

.chen_event_block__cta--left {
    justify-content: flex-start;
}

.chen_event_block__cta--center {
    justify-content: center;
}

.chen_event_block__cta--right {
    justify-content: flex-end;
}

/* Column width variants */

.chen_event_block--cols-50-50 .chen_event_block__left,
.chen_event_block--cols-50-50 .chen_event_block__right {
    flex: 1 1 0;
}

.chen_event_block--cols-40-60 .chen_event_block__left {
    flex: 0 0 calc(40% - 16px);
}

.chen_event_block--cols-40-60 .chen_event_block__right {
    flex: 0 0 calc(60% - 16px);
}

.chen_event_block--cols-60-40 .chen_event_block__left {
    flex: 0 0 calc(60% - 16px);
}

.chen_event_block--cols-60-40 .chen_event_block__right {
    flex: 0 0 calc(40% - 16px);
}

.chen_event_block--cols-33-67 .chen_event_block__left {
    flex: 0 0 calc(33.333% - 16px);
}

.chen_event_block--cols-33-67 .chen_event_block__right {
    flex: 0 0 calc(66.666% - 16px);
}

.chen_event_block--cols-67-33 .chen_event_block__left {
    flex: 0 0 calc(66.666% - 16px);
}

.chen_event_block--cols-67-33 .chen_event_block__right {
    flex: 0 0 calc(33.333% - 16px);
}

.chen_event_block--cols-25-75 .chen_event_block__left {
    flex: 0 0 calc(25% - 16px);
}

.chen_event_block--cols-25-75 .chen_event_block__right {
    flex: 0 0 calc(75% - 16px);
}

.chen_event_block--cols-75-25 .chen_event_block__left {
    flex: 0 0 calc(75% - 16px);
}

.chen_event_block--cols-75-25 .chen_event_block__right {
    flex: 0 0 calc(25% - 16px);
}

/* Responsive */

@media (max-width: 768px) {

    .chen_event_block {
        flex-direction: column;
        gap: 32px;
    }

    .chen_event_block__left,
    .chen_event_block__right {
        flex: none !important;
        width: 100%;
        justify-content: flex-start !important;
    }

    .chen_event_block__image {
        height: 260px !important;
        min-height: 260px;
        margin-bottom: 16px;
    }

    .chen_event_block__image img {
        height: 100%;
    }

    .chen_event_block__text {
        margin-bottom: 16px;
    }

    .chen_event_block__cta {
        margin-top: 24px;
        padding-top: 0;
    }
}