.masthead {
    max-height: 4;
    .slick-track {
        display: flex !important;
    }

    .fx-slider.slick-initialized .fx-slide,
    .slick-slide {
        height: inherit !important;
        display: flex !important;
        width: 100% !important;

        > div {
            display: flex !important;
            height: inherit !important;
            width: 100%;
        }
    }
}

.masthead__item {
    width: 100%;
}

.fx-slider.slick-initialized .masthead__item {
    display: flex !important;
    max-height: 740px;
}

.masthead__content {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    padding: 28px 0 70px;
}

.masthead__hero-image {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    -o-object-fit: cover;
    object-fit: cover;
    object-position: right;
}

.masthead__content::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.53;
    background: #000;
}

.masthead-homepage__wrap {
    text-align: center;
    position: relative;
    z-index: 1;
}

.masthead-homepage__wrap h1 {
    color: #fff;
    font-size: 35px;
    line-height: 1.142em;
    margin: 0;
    padding: 0;
}

.masthead__pattern {
    display: block;
    margin: 19px auto 27px;
}

.masthead-homepage .slick-arrow {
    background: transparent;
    color: #fff;
    bottom: 10px;
}

.masthead-homepage .slick-arrow::before {
    font-size: 25px;
}

.masthead-homepage .slick-arrow:hover {
    color: #4797a3;
}

@media (min-width: 768px) {
    .masthead-homepage .slick-arrow {
        bottom: 30px;
    }

    .masthead__content {
        padding: 60px 0;
    }

    .masthead__content::after {
        opacity: 1;
        background: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    }

    .masthead-homepage__wrap {
        text-align: left;
    }

    .masthead-homepage__wrap h1 {
        font-size: 64px;
        line-height: 1.14em;
    }

    .masthead__pattern {
        display: block;
        margin: 20px 0 30px;
    }
}

@media (min-width: 1200px) {
    .masthead__hero-image {
        object-position: center;
    }

    .masthead__content {
        padding: 88px 0;
        display: flex;
        align-items: center;
    }

    .masthead__content::after {
        width: calc(50% - 71px);
    }
}
