.headerLayout.style8 {
    float: left;
    width: 100%;
    margin-bottom: 60px;
}
.headerLayout.style8 .header {
    position: relative;
    float: left;
    width: 100%;
}
.headerLayout.style8 .image {
    position: relative;
    float: left;
    width: 100%;
    aspect-ratio: 1440/580;
    min-height: 580px;
}
.headerLayout.style8 .image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0.4), rgba(0,0,0,0.5));
}
.headerLayout.style8 .image img {
    float: left;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.headerLayout.style8 .texts {
    position: absolute;
    width: 100%;
    height: 50%;
    bottom: 0;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
    align-items: center;
    -webkit-align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    text-align: center;
}
.headerLayout.style8 .title {
    font-size: 60px;
    color: #fff;
    margin: 0;
    line-height: 1.2;
    float: left;
    font-weight: 600;
}
.headerLayout.style8 .subtitle {
    font-size: 25px;
    color: #fff;
    line-height: 1.2;
    float: left;
    margin-top: 15px;
}

@media (max-width: 1200px) {
    .headerLayout.style8 .title {
        font-size: 50px;
    }
}
@media (max-width: 600px) {
    .headerLayout.style8 .title {
        font-size: 40px;
    }
}