/* Performance and responsive fixes for the public PC theme. */
.bs-slider .carousel-inner .item > a,
.bs-slider .carousel-inner .item > a > picture,
.bs-slider .carousel-inner .item > a > picture > img {
    display: block;
    width: 100%;
}

.bs-slider .carousel-inner .item > a > picture > img {
    height: auto;
    aspect-ratio: 1920 / 750;
    object-fit: cover;
}

.indicators-line > .carousel-indicators {
    left: 50%;
    right: auto;
    width: auto;
    max-width: calc(100% - 32px);
    margin-left: 0;
    margin-right: 0;
    transform: translateX(-50%);
    padding-left: 8px;
    padding-right: 8px;
    overflow-x: hidden;
    text-align: center;
}

.about_content .tab-scroll {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

@media only screen and (max-width: 1260px) {
    .about_content .tab-scroll {
        overflow-x: auto;
        overflow-y: hidden;
    }
}

@media only screen and (max-width: 768px) {
    .indicators-line > .carousel-indicators {
        bottom: 12px;
        height: 16px;
        max-width: calc(100% - 24px);
        white-space: nowrap;
    }

    .indicators-line > .carousel-indicators li {
        width: 24px;
        height: 5px;
        margin-right: 4px;
    }

    .indicators-line > .carousel-indicators .active {
        width: 24px;
        height: 5px;
        margin: 1px 4px 1px 0;
        border: 0;
    }

    .indicators-line > .carousel-indicators .active:before {
        display: none;
    }

    .about_content .tab-scroll {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .about_content .nav-tabs {
        width: max-content;
        min-width: 700px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
