.wp-block-cover.is-style-hero {
    @media (min-width: 765px) {
        aspect-ratio: 1535/550 !important;
        min-height: initial!important;
    }
    padding: 2em 1em;
    position: relative;
}

.wp-block-cover.is-style-parallax,
.wp-block-cover.is-style-illustration {
    aspect-ratio: 2500/660 !important;
    position: relative;
}

.wp-block-cover.is-style-hero .wp-block-cover__inner-container {
    position: relative;
    z-index: 30 !important;
}


/*
* remove the default marging form the cover block when it's the first block after the header temmplate part
*/
header.wp-block-template-part+.wp-block-cover.is-style-hero {
    margin-block-start: 0px;
}

.wp-block-cover.is-style-hero:before {
    content: '';
    display: block;
    position: absolute;
    pointer-events: none;
    background-image: url('../../../img/qterra-illustration.png');
    background-position: top left;
    background-size: cover;
    z-index: 20;
    width: 35vw;
    aspect-ratio: 1300/1323;
    bottom: 0;
    transform: translateY(10%) translateX(50%);
    right: 0
}

/* Parallax */
.wp-block-cover.is-style-parallax,
.wp-block-cover.is-style-illustration {
    position: relative;
    overflow: hidden;
}

.wp-block-cover.is-style-parallax .wp-block-cover__image-background,
.wp-block-cover.is-style-illustration .wp-block-cover__image-background {
    height: 135%;
    top: -17.5%;
    will-change: transform;
    transform: translate3d(0, var(--parallax-y, 0px), 0);
    transition: transform 0.03s linear;
}

.wp-block-group:has(> .is-style-illustration:first-child) {
    position: relative;
}

.wp-block-group:has(> .is-style-illustration:first-child)::before {
    content: '';
    display: block;
    position: absolute;
    background-image: url('../../../img/qterra-illustration-sm.png');
    background-position: bottom right;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 20;
    height: 100%;
    /* width: 25vw; */
    aspect-ratio: 1300/1323;
    top: 20%;
    left: 0;
    transform: translateX(-60%);
}