.directions-hero {
    position: relative
}

.directions-hero:before {
    background: transparent url(../img/bg-hero.png) repeat 50%;
    content: "";
    display: block;
    height: 100%;
    left: 0;
    opacity: .369;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 3
}

body.no-js .directions-hero:before,
body.no-webp .directions-hero:before {
    background-image: url(../img/bg-hero.png)
}

body.webp .directions-hero:before {
    background-image: url(../img/bg-hero.webp)
}

.directions-hero__img {
    display: block;
    font-size: 0;
    height: 100%;
    left: 0;
    line-height: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2
}

.directions-hero__img img {
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    width: 100%
}

.directions-hero__container {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding-bottom: 40px;
    padding-top: 40px;
    position: relative;
    z-index: 5
}

.directions-hero__title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.5555555556;
    text-align: center;
    text-transform: uppercase
}

@media only screen and (min-width:36em) {
    .directions-hero__title {
        font-size: 1.625rem
    }
}

@media only screen and (min-width:48em) {
    .directions-hero__container {
        min-height: 480px;
        padding-bottom: 20px;
        padding-top: 20px
    }

    .directions-hero__title {
        font-size: 2rem
    }
}

@media only screen and (min-width:62em) {
    .directions-hero__container {
        margin-top: -78px;
        min-height: 508px;
        padding-top: 98px
    }

    .directions-hero__title {
        font-size: 2.25rem
    }
}