.hero.gmist-slider-active {
    position: relative;
    overflow: hidden;
    background-image: none !important;
}

.gmist-slider-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 6s ease;
    pointer-events: none;
}

.gmist-slider-layer.is-active {
    opacity: 1;
    transform: scale(1);
}

.hero.gmist-slider-active .hero-content {
    position: relative;
    z-index: 2;
}

.gmist-slider-dots {
    position: absolute;
    right: 0;
    bottom: 28px;
    left: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.gmist-slider-dot {
    width: 11px;
    height: 11px;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    cursor: pointer;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.gmist-slider-dot.is-active {
    width: 30px;
    background: #d7ad42;
    border-radius: 999px;
}

.gmist-slider-dot:focus-visible {
    outline: 3px solid #d7ad42;
    outline-offset: 3px;
}

@media (max-width: 560px) {
    .gmist-slider-dots {
        bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gmist-slider-layer {
        transform: none;
        transition: opacity 0.2s linear;
    }
}
