@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%;
    }
    .entry-content > .hero-with-img:first-child > figure:after{
        display: block;
        content: '';
        position: absolute;
        width:100%;
        height:100%;
        background:rgba(44, 44 ,44, 0.4);
        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;
        row-gap:40px;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .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;
    }
    .hero-txt-container figure{
        line-height:1em;
    }
    .hero-txt-wrapper, .is-root-container .hero-txt-wrapper{
        align-self:center;
        width:100%;
        display:flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap:20px;
        margin:0 auto;
        flex:1;
    }
    #hostaway-booking-widget{
        margin-top:auto;
    }
}

@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;
    }
    
    .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);
    }
}

@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: '';
}