.kloc-ths {
    position: relative;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    isolation: isolate;
}

.kloc-ths-stage,
.kloc-ths-slide {
    position: absolute;
    inset: 0;
}

.kloc-ths-stage {
    z-index: 1;
    background: #111;
}

.kloc-ths-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.035);
    transition: opacity 650ms ease, transform 1200ms ease;
    will-change: opacity, transform;
}

.kloc-ths-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.kloc-ths::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0,0,0,0.04) 40%, rgba(0,0,0,0.22) 100%);
}

.kloc-ths-thumbs {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    width: calc(100% - 40px);
    max-width: 980px;
    overflow-x: auto;
    padding: 8px 6px;
    scrollbar-width: none;
}

.kloc-ths-thumbs::-webkit-scrollbar {
    display: none;
}

.kloc-ths-thumb[hidden],
.kloc-ths-thumb.is-hidden {
    display: none !important;
}

.kloc-ths-thumb {
    position: relative;
    flex: 0 0 auto;
    width: 300px;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.20);
    padding: 10px;
    border-radius: 18px;
    background: rgba(255,255,255,0.45);
    box-shadow: 0 18px 35px rgba(0,0,0,0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 250ms ease, border-color 250ms ease, background 250ms ease, box-shadow 250ms ease;
}

.kloc-ths-thumb:hover,
.kloc-ths-thumb.is-active {
    transform: translateY(-4px);
    border-color: #fff;
    background: rgba(255,255,255,0.58);
    box-shadow: 0 22px 45px rgba(0,0,0,0.22);
}

.kloc-ths-thumb:focus-visible {
    outline: 3px solid rgba(255,255,255,0.75);
    outline-offset: 3px;
}

.kloc-ths-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.kloc-ths-title {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    text-shadow: 0 2px 10px rgba(0,0,0,0.65);
    pointer-events: none;
}

@media (max-width: 767px) {
    .kloc-ths-thumbs {
        justify-content: flex-start;
        left: 0;
        right: 0;
        transform: none;
        width: 100%;
        padding-left: 18px;
        padding-right: 18px;
        gap: 14px;
    }

    .kloc-ths-thumb {
        width: 170px;
        height: 80px;
        padding: 6px;
    }
}

/* ==========================================================
   NEW (dots): bottom navigation dots.
   Absolutely positioned, so they take no layout space and
   nothing is left behind when the setting is off.
   ========================================================== */
.kloc-ths-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 0;
}

.kloc-ths .kloc-ths-dot {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    font-size: 0;
    background: rgba(255,255,255,0.75);
    box-shadow: 0 1px 4px rgba(0,0,0,0.25);
    cursor: pointer;
    transition: background 250ms ease, transform 250ms ease;
}

.kloc-ths .kloc-ths-dot:hover {
    background: #fff;
    transform: scale(1.15);
}

.kloc-ths .kloc-ths-dot.is-active {
    background: #222;
}

.kloc-ths .kloc-ths-dot:focus-visible {
    outline: 2px solid rgba(255,255,255,0.85);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .kloc-ths-dots {
        bottom: 10px;
        gap: 6px;
    }

    .kloc-ths .kloc-ths-dot {
        width: 8px;
        height: 8px;
    }
}
/* END NEW (dots) */
