#masthead{
    position: relative;
    overflow: hidden;
    height: auto;
    border-top: 10px solid var(--btn-color);
}
.site-branding{
    position: relative;
    z-index: 3;
}
.site-branding .wrap{
    display: grid;
    grid-template-columns: 340px auto;
    grid-column-gap: 30px;
    padding: 30px 0;
}
.home #masthead .accent{
    position: absolute;
    top: -18vh;
    right: -3vh;
    bottom: 0;
    height: 106vh;
}
#site-logo img{
    width: 100%;
    max-width: initial;
}
#masthead .sticky-post-seperator{
    margin: 50px 0 0;
}

#hero{
    position: relative;
    overflow: hidden;
    height: 280px;
    color: #fff;
    z-index: 2;
}
.home #hero{
    height: calc(100vh - 110px);
}
.hero-text-container{
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 10;
}
.home .hero-text-container{
    top: initial;
    bottom: 80px;
}
.home .hero-text{
    text-align: center;
}
.home .hero-text .wrap{
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 30px;
}
.home .hero-text .widget_text{
    position: relative;

    grid-column: 7 / 13;
    display: grid;
}
.home .hero-text .widget_text p{
    margin: 0;
}
.home .hero-text .custom-html-widget{
    color: var(--light-text);
    grid-row: 1;
}
.home .hero-text h1{
    margin: 0 0 4px;
}
.home .hero-text .widget_custom_html:last-child h4{
    margin: 0 0 20px;
}
.home .hero-text p.signup a{
    display: block;
    max-width: 200px;
    padding: 10px 20px;
    height: 60px;
    border: 1px solid #fff;
    color: #fff;
    background-color: transparent;
    border-radius: 16px;
    text-decoration: none;
    text-align: center;
    font-family: lft-etica, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 20px;
    line-height: 38px;
}
#masthead figure.post-thumbnail{
    position: fixed;
    width: 100%;
    height: calc(80vh + 50px);
    margin: 0;
    top: 0;
    z-index: 0;
}
#hero .site-featured-image{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 1;
}
#hero .site-featured-image figure{
    height: 100%;
    margin: 0;
}
#hero:after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    z-index: 1;
}
#hero figure.post-thumbnail img{
    position: relative;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
}
.page-id-129 #hero figure.post-thumbnail img{
    position: absolute;
}
@media (max-width: 1200px){
    .home #hero {
        height: 65vh;
    }
    .home .hero-text .wrap{
        grid-template-columns: repeat(6, 1fr);
    }
    .home .hero-text .widget_text{
        grid-column: 3 / 7;
    }
}
@media (max-width: 900px){
    .site-branding .wrap {
        grid-template-columns: 292px auto;
    }
}
@media (max-width: 900px) and (orientation: landscape){
    /* #hero .site-featured-image .wrap{
        top: 50%;
        transform: translateY(-50%);
    }
    .home .hero-text-container{
        top: initial;
        bottom: initial;
    }
    .home .hero-text{
        grid-column: 1 / -1;
    } */
}
@media (max-width: 767px){
    .site-branding{
        position: relative;
    }
    .site-branding .wrap {
        grid-template-columns: auto 260px auto;
        padding: 24px 0;
    }
    #site-logo{
        grid-column: 2;
    }
    #site-navigation{
        display: none !important;
    }
    .home .hero-text .wrap{
        grid-template-columns: repeat(2, 1fr);
    }
    .home .hero-text .widget_text{
        grid-column: 1 / -1;
    }
    .home .hero-text .custom-html-widget{
        color: var(--btn-color);
    }
    .home .hero-text .widget_text p{
        color: var(--dark-text);
    }
}
@media (max-width: 480px){
    .site-branding .wrap {
        grid-template-columns: auto 220px auto;
        padding: 20px 0;
    }
    #hero figure.post-thumbnail img{
        height: 220px;
    }
}
@media (max-width: 767px) and (orientation: portrait){
    .home #masthead {
        height: auto;
    }
    #masthead:after{
        content: none;
        display: none;
    }
    #hero {
        height: auto;
    }
    .home #hero{
        height: auto;
        /* background: var(--main-bg); */
        background: var(--block-bg);
    }
    #masthead .site-featured-image{
        position: absolute;
        /* height: 66.67vw; */
        height: 94vw;
    }
    #masthead .site-featured-image figure {
        height: 100%;
    }    
    #hero:after,
    #masthead .site-featured-image:after{
        content: none;
        display: none;
    }
    #hero .site-featured-image .wrap{
        top: initial;
        bottom: 120px;
    }
    .home #hero .wrap{
        position: relative;
        top: initial;
        transform: initial;
        left: initial;
        right: initial;
        /* padding: 34px 0; */
        padding: var(--hs-tb-padding);
    }
    .home .hero-text-container{
        position: relative;
        top: initial;
        bottom: initial;
        transform: none;
        color: var(--dark-text);

        grid-template-columns: repeat(2, 1fr);
    }
    .home .hero-text {
        grid-column: span 2;
        padding: 0;
    }
    .home .hero-text h1{
        /* margin: 0 0 30px; */
    }
}
@media (max-width: 767px) and (orientation: landscape){
    .home #hero{
        height: calc(100vh - 100px);
    }
    #hero .wrap {
        top: 50%;
        transform: translate(0, -50%);
    }
    .home .hero-text-container{
        top: initial;
        bottom: initial;
    }
    .home .hero-text{
        grid-column: 1 / -1;
    }
}
@media (max-width: 600px){
    #site-logo img{
        /* max-width: 160px; */
    }
    .site-branding .wrap {
        padding: 20px 0;
        border: none;
    }
}
@media (min-width: 768px) and (max-width: 1023px) and (orientation: portrait){
    .home #hero{
        height: 55vh;
    }
}
@media (min-width: 1024px) and (max-width: 1200px) and (orientation: portrait){
    .home #hero{
        height: 50vh;
    }
}