@media only screen and (min-width: 320px) {
    :root{
        --hero-title-font-size: 30px;
    }
    .hero-block, .is-root-container .hero-block{
        position: relative;
        display: flex;
        align-items: center;
    }

    /*Hero with image*/
    .hero-with-img > figure, .is-root-container .hero-with-img > figure{
        position: absolute;
        left:0px;
        right:0px;
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    .hero-with-img > figure img.hero-image, .is-root-container .hero-with-img > figure img.hero-image{
        object-fit: cover;
        height: 100%;
        width:100%;
    }
    .hero-with-img > figure:after, .is-root-container .hero-with-img > figure:after{
        display: block;
        content: '';
        position: absolute;
        width:100%;
        height:100%;
        background:rgba(0, 0 ,0, 0.25);
        left:0px;
        top:0px;
    }


    /*Hero text settings*/
    .hero-txt-container, .is-root-container .hero-txt-container{
        z-index: 2;
        text-align: center;
        padding:100px 0px;
    }

    .hero-label, .is-root-container .hero-label{
        font-size:1.1em;
        margin-bottom:0px;
        z-index: 1;
    }

    .hero-title, .is-root-container .hero-title{
        font-size:var(--hero-title-font-size);
        margin-bottom: 10px;
        z-index: 1;
    }
    .hero-excerpt, .is-root-container .hero-excerpt{
        z-index: 1;
    }
    .hero-button, .is-root-container .hero-button{
        z-index: 1;
    }
    /*front page hero*/
    .fp-hero{
        position: relative;
        overflow:hidden;
        height:calc(100vh - 97.92px);
        min-height:calc(100vh - 97.92px);
    }
    .admin-bar .fp-hero{
        height:calc(100vh - 97.92px - 32px);
        min-height:calc(100vh - 97.92px - 32px);
    }
    figure:has(> img.fp-hero-image){
        position: absolute;
        width:100%;
        height:calc(50vh - 97.92px);
        min-height:calc(50vh - 97.92px);
        z-index: 1;
        top:0px;
        left:0px;
    }
    .admin-bar figure:has(> img.fp-hero-image){
        height:calc(50vh - 97.92px - 32px);
        min-height:calc(50vh - 97.92px - 32px);
    }
    figure:has(> img.fp-hero-image.fp-hero-bottom-image){
        bottom:0px;
        right:0px;
        top:auto;
    }
    .fp-hero-image{
        position: absolute;
        width:100%;
        height:calc(50vh - 97.92px);
        min-height:calc(50vh - 97.92px);
        object-fit: cover;
        z-index: -1;
    }
    .fp-hero-top-image{
        top:0px;
        left:0px;
        object-position: bottom center;
    }
    .fp-hero-bottom-image{
        bottom:0px;
        right:0px;
        object-position: top center;
    }

    .hero-logo-container{
        height:100%;
        z-index: 3;

    }
    .is-root-container .hero-logo-container{
        z-index: 9;
    }
}

@media only screen and (min-width: 768px) {
    :root{
        --hero-title-font-size: 40px;
    }
    /*Hero text settings*/
    .hero-txt-container, .is-root-container .hero-txt-container{
        text-align: left;
        padding:0px;
    }
    
    .hero-txt-container .gb-headline, .is-root-container .hero-txt-container .gb-headline{
        
    }

    .hero-title, .is-root-container .hero-title{
        font-size:var(--hero-title-font-size);
    }

    /*Front page hero**/
    .fp-hero{
        margin-top:var(--header-height);
    }


}
@media only screen and (min-width: 990px){
    .fp-hero, .admin-bar .fp-hero{
        margin-top:0px;
        height:calc(100vh - var(--header-info-banner-height));
    }
    .hero-logo-container{
        margin-top:var(--desktop-header-height);
        height:calc(100% - var(--desktop-header-height));
    }
    .hero-logo-container h2{
        margin-bottom:80px;
        font-size:60px;
    }

}
@media only screen and (min-width: 1280px) {
    :root{
        --hero-title-font-size: 50px;
        --hero-title-line-height: 1.1em;
    }
   .hero-title, .is-root-container .hero-title{
        font-size:var(--hero-title-font-size);
        line-height:var(--hero-title-line-height);
    }
}
/*Admin styles*/
.editor-styles-wrapper .hero-block{
    position:relative;
}
.editor-styles-wrapper .hero-with-img > figure{
    position:absolute;
    left:0px;
    right:0px;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.editor-styles-wrapper .hero-with-img > figure img.hero-image{
    object-fit: cover;
    height: 100%;
    width:100%;
}
.editor-styles-wrapper .hero-with-img > figure:after{
    display: block;
    content: '';
}