#hero {
	position: relative;
    background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	height: 653px;
}
#hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 205px;
    background: linear-gradient(180deg, rgba(115, 115, 115, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    mix-blend-mode: multiply;
    transform: rotate(-180deg);
}
#hero:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 205px;
    background: linear-gradient(180deg, rgba(115, 115, 115, 0) 0%, rgba(0, 0, 0, 0.6) 100%);
    mix-blend-mode: multiply;
}
#hero .site-width {
    height: 100%;
}
body #hero .hero-button {
    position: absolute;
    top: 114px;
    right: 50%;
    transform: translateX(50%);
    z-index: 2;
}
#hero .logo-wrapper {
    position: absolute;
    bottom: -100px;
    z-index: 2;
}
#hero .slick-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#hero .slick-slider .slick-list,
#hero .slick-slider .slick-list .slick-track {
    height: 100%;
}
#hero .slick-slider .slick-dots {
    display: flex;
    justify-content: center;
    gap: 16px;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 80px;
    z-index: 3;
}
#hero .slick-slider .slick-dots button {
    padding: 0;
    font-size: 0;
    border-radius: 50%;
    background: var(--blue);
    width: 14px;
    height: 14px;
}
#hero .slick-slider .slick-dots .slick-active button {
    background: var(--pink);
}
#hero .slick-slider .slick-dots button:focus-visible {
    outline: -webkit-focus-ring-color auto 1px;
}

#hero .slick-slide img {
    max-width: none !important;
    object-fit: cover;
}
#hero .pause,
#hero .play {
    display: none;
    position: absolute;
    bottom: 70px;
    left: 100px;
    z-index: 3;
    cursor: pointer;
}
#hero .pause.active,
#hero .play.active {
    display: block;
}

.page-template-page-home #content {
    position: relative;
    padding: 0 0 51px;
}
#content:before {
    content: '';
    position: absolute;
    top: 180px;
    right: 0;
    width: 116px;
    height: 248px;
    background-image: url('../img/home-before.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
#content:after {
    content: '';
    position: absolute;
    bottom: 91px;
    left: 0;
    width: 186px;
    height: 175px;
    background-image: url('../img/home-after.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

#content .branches-section {
    padding-top: 180px;
    padding-bottom: 87px;
    background-color: #F0F0F0;
}
#content .branches-section .section-title {
    margin-bottom: 25px;
    font-family: 'NextExitRounded', serif;
    font-size: 60px;
    font-weight: 700;
    color: #000;
}
#content .branches-section .branches {
    justify-content: space-between;
    align-items: center;
}
#content .branches-section .branches-content {
    max-width: 456px;
    margin-left: 20px;
}
#content .branches-section .branches-content,
#content .branches-section .branches-content p {
    font-size: 21px;
    line-height: 27px;
}
#content .branches-section .button {
    margin-top: 26px;
}

@media (max-width: 1399px) {
    #content:before {
        transform: scale(0.85);
        transform-origin: right;
    }
    #content:after {
        transform: scale(0.85);
        transform-origin: left;
    }
    
}

@media (max-width: 1249px) {
    #content:before {
        transform: scale(0.75);
    }
    #content:after {
        transform: scale(0.75);
    }
}

@media (max-width: 1023px) {
    #hero,
    #hero .slick-slider .slick-list .slick-track {
        height: 400px;
    }
    #hero .slick-slider .slick-slide img {
        /*object-fit: cover;*/
        max-height: 100%;
        width: auto;
    }
    .page-template-page-home #hero .hero-button {
        top: 74px;
        font-size: 20px;
    }
    #hero .logo-wrapper {
        bottom: -82px;
        width: 260px;
    }
    #content .branches-section {
        padding: 150px 0 70px;
    }
    #content .branches-section .section-title {
        font-size: 50px;
    }
    #content .branches-section .branches .img-col {
        flex-shrink: 0;
        width: 50%;
    }
    #content .branches-section .branches-content,
    #content .branches-section .branches-content p {
        font-size: 19px;
        line-height: 25px;
    }
}

@media (max-width: 767px) {
    #hero,
    #hero .slick-slider .slick-list .slick-track {
        height: 250px;
    }
    #hero .slick-slider .slick-dots {
        bottom: 50px;
        gap: 12px;
    }
    #hero .slick-slider .slick-dots button {
        width: 10px;
        height: 10px;
    }
    #hero .pause,
    #hero .play {
        bottom: 40px;
        left: 70px;
    }
    #hero:before,
    #hero:after {
        height: 85px;
    }
    .page-template-page-home #hero .hero-button {
        top: 17px;
        padding: 10px 25px;
        font-size: 18px;
    }
    #hero .logo-wrapper {
        bottom: -56px;
        width: 183px;
    }
    .page-template-page-home #content {
        padding-bottom: 138px;
    }
    #content:before {
        display: none;
    }
    #content:after {
        bottom: 14px;
        transform-origin: left bottom;
    }
    #content .branches-section {
        padding: 90px 0 40px;
        text-align: center;
    }
    #content .branches-section .branches {
        flex-direction: column-reverse;
    }
    #content .branches-section .branches .text-col {
        margin-top: 25px;
    }
    #content .branches-section .branches-content,
    #content .branches-section .branches-content p {
        margin-left: 0;
        font-size: 16px;
        line-height: 24px;
        text-align: right;
    }
    #content .branches-section .branches .text-col .section-title {
        display: none;
    }
    #content .branches-section .section-title.mobile-only {
        display: block;
    }
    #content .branches-section .branches .img-col {
        width: 100%;
    }
    #content .branches-section .button {
        width: auto !important;
        padding: 10px 25px;
    }
    #content .boxes-section:before {
        content: '';
        position: absolute;
        top: 20px;
        right: 0;
        width: 66px;
        height: 144px;
        background-image: url('../img/home-before.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }
}
