.home-hero {
    background-color: #fff;
    padding-bottom: 5px
}

@media only screen and (min-width:960px) {
    .home-hero {
        display: grid;
        grid-column-gap: 5px;
        grid-row-gap: 5px
    }

    .home-hero--layout-one {
        height: calc(100vh - var(--header-height));
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 1fr);
        min-height: 600px
    }

    .home-hero--layout-three,
    .home-hero--layout-two {
        grid-template-columns: repeat(2, 1fr)
    }
}

.home-hero__banner {
    background-color: #f7f7f7;
    background-position: center;
    background-size: cover;
    position: relative;
    display: flex;
    width: 100%
}

@media only screen and (max-width:959px) {
    .home-hero__banner:not(:last-child) {
        margin-bottom: 1px
    }

    .home-hero--layout-one .home-hero__banner:nth-child(1) {
        height: 75vh
    }

    .home-hero--layout-one .home-hero__banner:nth-child(2),
    .home-hero--layout-one .home-hero__banner:nth-child(3) {
        height: 40vh
    }

    .home-hero--layout-two .home-hero__banner:nth-child(1) {
        height: calc(100vh - var(--header-height))
    }

    .home-hero--layout-two .home-hero__banner:nth-child(2),
    .home-hero--layout-two .home-hero__banner:nth-child(3) {
        height: 40vh;
        min-height: 400px
    }

    .home-hero--layout-three .home-hero__banner:nth-child(1),
    .home-hero--layout-three .home-hero__banner:nth-child(2),
    .home-hero--layout-three .home-hero__banner:nth-child(3) {
        height: calc((100vh / 3) - (var(--header-height)/ 3) - 1px)
    }
}

@media only screen and (min-width:960px) {
    .home-hero--layout-one .home-hero__banner:nth-child(1) {
        grid-area: 1/1/3/3
    }

    .home-hero--layout-one .home-hero__banner:nth-child(2) {
        grid-area: 1/3/2/4
    }

    .home-hero--layout-one .home-hero__banner:nth-child(3) {
        grid-area: 2/3/3/4
    }

    .home-hero--layout-two .home-hero__banner:nth-child(1) {
        grid-area: 1/1/2/3;
        height: calc(100vh - var(--header-height))
    }

    .home-hero--layout-two .home-hero__banner:nth-child(2) {
        grid-area: 2/1/3/2;
        height: 40vh
    }

    .home-hero--layout-two .home-hero__banner:nth-child(2) {
        grid-area: 2/2/3/3;
        height: 40vh
    }

    .home-hero--layout-three .home-hero__banner:nth-child(1) {
        grid-area: 1/1/2/3;
        height: calc(75vh - var(--header-height))
    }

    .home-hero--layout-three .home-hero__banner:nth-child(2) {
        grid-area: 2/1/3/2;
        height: 40vh
    }

    .home-hero--layout-three .home-hero__banner:nth-child(2) {
        grid-area: 2/2/3/3;
        height: 40vh
    }
}

.home-hero__overlay::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .6) 100%);
    z-index: 1
}

.home-hero__inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 55px;
    text-align: center;
    justify-content: center;
    z-index: 2
}

@media only screen and (max-width:959px) {
    .home-hero__banner:first-child .home-hero__inner {
        justify-content: flex-end
    }

    .home-hero__inner {
        padding: 35px
    }
}

@media only screen and (min-width:960px) {
    .home-hero__inner--top {
        justify-content: flex-start
    }

    .home-hero__inner--middle {
        justify-content: center
    }

    .home-hero__inner--bottom {
        justify-content: flex-end
    }
}

.home-hero__title {
    font-size: 56px
}

@media only screen and (max-width:959px) {
    .home-hero__title {
        font-size: 44px
    }
}

.home-hero__description {
    font-size: 16px;
    font-weight: 600
}

@media only screen and (max-width:959px) {
    .home-hero__description {
        font-size: 14px
    }
}

.home-hero__description,
.home-hero__title {
    margin: 0;
    max-width: 600px
}

.home-hero__btn {
    margin-top: 15px
}

@media only screen and (min-width:960px) {
    .home-hero__btn {
        margin-top: 20px
    }
}

.home-hero__description,
.home-hero__title {
    color: #fff
}

.home-hero__image {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%
}