/* =============== */
/*      HERO       */
/* =============== */

.chen_hero_block {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 350px;
    max-height: 350px;
    padding: 24px;
    overflow: hidden;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.chen_hero_block--fullwidth {
    margin-left: -55px;
    margin-right: -55px;
}

.chen_hero_block__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.3);
}

.chen_hero_block__content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

/* Alignement horizontal */

.chen_hero_block--align-left {
    justify-content: flex-start;
}

.chen_hero_block--align-center {
    justify-content: center;
    text-align: center;
}

.chen_hero_block--align-right {
    justify-content: flex-end;
    text-align: right;
}

/* Typographie */

.chen_hero_block__title {
    color: inherit;
    font-family: "Roboto", sans-serif;
    font-size: 32px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.chen_hero_block__subtitle {
    color: inherit;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    line-height: 1.1;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin: 0 0 12px;
}

.chen_hero_block__text {
    color: inherit;
    font-family: "Roboto", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 300;
    margin: 0;
}

.chen_hero_block__text p {
    margin: 0 0 8px;
}

.chen_hero_block__text p:last-child {
    margin-bottom: 0;
}

/* CTA */

.chen_hero_block__cta {
    margin-top: 20px;
    display: flex;
}

/* Couleurs texte */

.chen_hero_block--white {
    color: #fff;
}

.chen_hero_block--dark {
    color: #333;
}

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

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

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

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

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

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

/* Responsive */

@media (max-width: 768px) {
    .chen_hero_block {
        min-height: 350px;
        max-height: none;
        padding: 24px;
    }

    .chen_hero_block--align-right,
    .chen_hero_block--align-left,
    .chen_hero_block--align-center {
        justify-content: center;
        text-align: center;
    }

    .chen_hero_block__content {
        max-width: 100%;
    }
}