/* @group Example
------------------------------------ */

#wrapper {
    isolation: isolate;
}

#wrapper .bg-decorations {
    z-index: -1;
}

.is-desktop-preview .container {
    z-index: 1;
}

.bg-decorations {
    position: relative;
}

.bg-decorations>* {
    position: absolute;
    top: 0;
}

.bg-decorations .left {
    left: 0;
}

.bg-decorations .right {
    right: 0;
}

.bg-decorations .bp-multimedia :is(img, #important) {
    object-fit: contain !important;
}

.contact-deco-top .bp-multimedia img {
    max-height: 100vh;
}

.careers-deco-top .bp-multimedia {
    top: unset !important;
    bottom: -10rem;
}

.contact-deco-top img {
    object-position: right !important;
}

@media only screen and (min-width : 961px) {

    /* HOME */
    .home-deco-top .bp-multimedia {
        top: 7.1rem;
        width: 81.3rem;
    }

    .home-deco-bot .bp-multimedia {
        top: -10.4rem;
        width: 105.9rem;
    }



    /* generic */
    .page-deco-top .bp-multimedia,
    .careers-deco-top .bp-multimedia {
        top: -2rem;
        width: 72.6rem;
    }
}

@media only screen and (min-width : 0) and (max-width : 960px) {

    .bg-decorations .bp-multimedia {
        width: 100vw;
    }

    /* HOME */
    .home-deco-top .bp-multimedia {
        top: 9rem;
    }

    .home-deco-bot .bp-multimedia {
        top: -35.5rem;
    }

    /* generic */
    .page-deco-top .bp-multimedia {
        top: -7rem;
    }

    .guiding-deco-bot .bp-multimedia {
        bottom: 0;
        top: unset;
    }

    .lasting-deco-bot .bp-multimedia {
        top: -7rem;
    }

    .company-deco-bot .bp-multimedia {
        top: 212.9rem;
    }

    .environmental-deco-bot .bp-multimedia {
        top: -7rem;
    }

    .design-deco-bot .bp-multimedia {
        top: 22rem;
        max-height: 350vh;
        overflow: hidden;
    }

    .news-deco-bot .bp-multimedia {
        top: unset;
        bottom: 0;
    }
}

/* @end */


/* SINGLE + 404 */

@media only screen and (min-width : 961px) {
    body:is(.single-post) {
        background: no-repeat url('../../img/global/single/single-bg-desktop.png') right top;
        background-size: auto 145rem;
    }
}

@media only screen and (min-width : 0) and (max-width : 960px) {
    body:is(.single-post) {
        background: no-repeat url('../../img/global/single/single-bg-mobile.png') right top;
        background-size: auto 110rem;
    }

    body:is(.error404) {
        background: no-repeat url('../../img/global/404/error-bg-mobile.png') right top;
        background-size: auto 111.7rem;
    }
}