@font-face {
    font-family: "Home Hero Heading";
    src: url('/fonts/PingFang-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Home Hero Accent Heavy";
    src: url('/fonts/PingFang-Bold.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

.banner.homepage-banner {
    position: relative;
    height: 50vw;
    background: #f3f3fd;
    touch-action: pan-y;
}

.homepage-banner .home-hero-host {
    height: 100%;
}

.homepage-banner .el-carousel,
.homepage-banner .el-carousel__container {
    height: 100%;
}

.home-banner-indicators {
    position: absolute;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    bottom: 28px;
    left: 50%;
    width: min(70%, 760px);
    max-height: 88px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-y: auto;
    transform: translateX(-50%);
}

.home-banner-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 44px;
    padding: 2px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.home-banner-track {
    position: relative;
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #526078;
    overflow: hidden;
}

.home-banner-progress {
    position: absolute;
    inset: 0;
    background: var(--home-banner-accent);
    transform-origin: left;
    animation: home-banner-progress 4600ms linear both;
    animation-play-state: var(--home-banner-progress-state, running);
}

@keyframes home-banner-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
    .home-banner-progress {
        animation: none;
        transform: scaleX(1);
    }
}

.homepage-banner .el-carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: #172b4db3;
}

.homepage-banner .banner_item_imgs {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
}

.homepage-banner button:focus-visible {
    outline: 2px solid #315de9;
    outline-offset: 3px;
}

.home-banner-status {
    position: absolute;
    z-index: 5;
    right: 24px;
    bottom: 68px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff;
    color: #394a65;
    font-size: 13px;
}

.home-banner-status button {
    min-height: 44px;
    border: 0;
    background: transparent;
    color: #315de9;
    font-size: 13px;
    cursor: pointer;
}

.home-banner-status button:disabled {
    opacity: .6;
    cursor: wait;
}

@media (min-width: 768px) and (max-width: 899px) {
    .banner.homepage-banner {
        height: 660px;
    }
}

@media (max-width: 767px) {
    .banner.homepage-banner {
        height: 830px;
    }

    .homepage-banner .el-carousel__arrow {
        top: 220px;
        width: 36px;
        height: 36px;
    }

    .homepage-banner .el-carousel__arrow--left {
        left: 8px;
    }

    .homepage-banner .el-carousel__arrow--right {
        right: 8px;
    }

    .home-banner-indicators {
        bottom: 18px;
        left: 16px;
        width: calc(100% - 32px);
        transform: none;
    }

    .home-banner-indicator {
        width: 24px;
    }

    .home-banner-track {
        width: 18px;
    }

    .home-banner-status {
        right: 16px;
        bottom: 58px;
        font-size: 12px;
    }

}

@media (max-width: 750px) {
    .header-m.home-hero-header:not(.vumenu_active) {
        background: #f3f3fdf2 !important;
    }

    .header-m.home-hero-header:not(.vumenu_active) .white {
        display: none;
    }

    .header-m.home-hero-header:not(.vumenu_active) .black {
        display: block;
    }

    .header-m.home-hero-header:not(.vumenu_active) .menu img {
        filter: brightness(0);
    }
}
