:root {
    --em-color-primary: #f08898;
    --em-color-secondary: #f4dddd;
}

@media screen and (max-width: 880px) {
    .blocs h1 { font-size: var(--em-media-font-h1); }
    .blocs h2 { font-size: var(--em-media-font-h2); }
    .blocs h3 { font-size: var(--em-media-font-h3); }
    .blocs p, .blocs { font-size: var(--em-media-font-text); }
    .page-template-em-blocs {
        padding-top: 50px;
    }
}


.blocs .two-column-xl {
    display: flex;
    flex-direction: column;
}

.blocs .single-content p {
    font-size: var(--em-about-font-text);
}

.blocs .two-column-xl .col {
    padding: 40px;
}

@media screen and (max-width: 767px) {
    .blocs .two-column-xl img {
        width: 100%;
        height: auto;
    }
}

@media screen and (min-width: 768px) {
    .blocs .two-column-xl {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .blocs .two-column-xl .col {
        display: flex;
        width: 50%;
        padding: 0;
    }

    .blocs .two-column-xl .col.img.middle {
        justify-content: center;
        align-items: center;
    }

    .blocs .two-column-xl .col.img.top {
        justify-content: center;
        align-items: flex-start;
    }

    .blocs .two-column-xl .col.img.bottom {
        justify-content: center;
        align-items: flex-end;
    }

    .blocs .two-column-xl .col.img.left {
        justify-content: flex-start;
        align-items: center;
    }

    .blocs .two-column-xl .col.img.right {
        justify-content: flex-end;
        align-items: center;
    }
}

.blocs .two-column-xl .block .block {
    padding-top: 0;
    padding-bottom: 0;
}

.blocs h2,
.blocs h3,
.blocs h4 {
    text-align: left;
    color: #f08898;
}

.blocs .communities-themes h2 {
    color: black;
}

.blocs .communities-themes h2,
.blocs .communities-themes h3 {
    text-align: center;
}

.blocs .full-image {
    display: block;
    margin: 0 auto;
    padding: 40px;
}

.blocs .block.text {
    padding: 40px;
}

.blocs .communities-themes .width {
    background-color: transparent;
}

.blocs section > div.block.text:not(:first-child),
.blocs section > div:not(:first-child) {
    padding-top: 0;
}

.blocs .stage-community {
    padding-bottom: 40px;
}


@media screen and (max-width: 1040px) {
    .blocs .two-column-xl {
        padding: 0 40px;
    }

    .blocs .img img {
        width: auto;
        max-width: 100%;
    }
}

@media screen and (max-width: 767px) {
    .blocs .block {
        padding: 40px 0;
    }

    .blocs .two-column-xl {
        padding: 0;
    }

    .blocs .two-column-xl .col {
        padding: 20px 40px;
    }

    .blocs .two-column-xl img {
        display: block;
        margin: 0 auto;
        width: auto;
        max-width: 100%;
    }
}
