.text-block-wrapper {
    margin-bottom: 36px;
}

.text-bloc-with-img--left,
.text-bloc-with-img--right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 55px var(--padding-website);
    margin-top: -50px;
}

.text-bloc-with-img__media {
    position: relative;
    width: 100%;
    min-height: 440px;
}

.text-bloc-with-img__img {
    position: absolute;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.text-bloc-with-img__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-bloc-with-img__img--back {
    width: 75%;
    height: 90%;
    top: 0;
    left: 0;
}

.text-bloc-with-img__img--front {
    width: 75%;
    height: 90%;
    bottom: 0;
    right: 0;
}

.text-bloc-with-img__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.text-bloc-with-img__title {
    font-weight: 600;
    color: #111;
}

.text-bloc-with-img__text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

.text-bloc-with-img--right .text-bloc-with-img__content {
    order: 1;
}

.text-bloc-with-img--right .text-bloc-with-img__media {
    order: 2;
}

@media (max-width: 900px) {

    .text-bloc-with-img--left,
    .text-bloc-with-img--right {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: var(--padding-mobile);
        margin-top: 0;
    }

    .text-bloc-with-img__media {
        min-height: 320px;
    }

    .text-bloc-with-img--right .text-bloc-with-img__content,
    .text-bloc-with-img--right .text-bloc-with-img__media {
        order: unset;
    }
}

.text-bloc-with-img--alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    padding: 55px var(--padding-website);
}

.grid + .text-bloc-with-img--alt,
.fullscreen-section--white > .text-bloc-with-img--alt:first-child {
    padding-top: 0;
}

.text-bloc-with-img--alt .text-bloc-with-img__media {
    position: relative;
    width: 100%;
    min-height: 460px;
}

.text-bloc-with-img--alt .text-bloc-with-img__img {
    position: absolute;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14);
}

.text-bloc-with-img--alt .text-bloc-with-img__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.text-bloc-with-img--alt .text-bloc-with-img__img--back {
    width: 70%;
    height: 85%;
    top: 0;
    left: 0;
    transform: rotate(-2deg);
}

.text-bloc-with-img--alt .text-bloc-with-img__img--front {
    width: 70%;
    height: 85%;
    bottom: 0;
    right: 0;
    transform: rotate(2deg);
}

.text-bloc-with-img--alt .text-bloc-with-img__content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.text-bloc-with-img--alt .text-bloc-with-img__title {
    font-weight: 600;
    color: #111;
}

.text-bloc-with-img--alt .text-bloc-with-img__text {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.65);
}

@media (max-width: 900px) {
    .text-bloc-with-img--alt {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: var(--padding-mobile);
    }

    .text-bloc-with-img--alt .text-bloc-with-img__media {
        min-height: 340px;
    }

    .text-bloc-with-img--alt .text-bloc-with-img__img--back,
    .text-bloc-with-img--alt .text-bloc-with-img__img--front {
        transform: none;
    }
}