.dtkv-slideshow {
    --dtkv-slideshow-transition-duration: 450ms;
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 1.75rem auto 1.75rem 0;
    overflow: hidden;
    border-radius: 0;
    background: #000000;
}

.dtkv-slideshow--align-center,
.dtkv-slideshow--align-right {
    margin-left: auto;
}

.dtkv-slideshow--align-center {
    margin-right: auto;
}

.dtkv-slideshow--align-right {
    margin-right: 0;
}

.dtkv-slideshow--width-full {
    max-width: none;
}

.dtkv-slideshow--width-wide {
    max-width: 1200px;
}

.dtkv-slideshow--width-medium {
    max-width: 960px;
}

.dtkv-slideshow--width-narrow {
    max-width: 720px;
}

.dtkv-slideshow--width-custom {
    max-width: 960px;
}

.dtkv-slideshow__slide {
    position: relative;
    grid-area: 1 / 1;
    display: grid;
    box-sizing: border-box;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--dtkv-slideshow-transition-duration) ease,
        visibility var(--dtkv-slideshow-transition-duration) ease;
}

.dtkv-slideshow__slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.dtkv-slideshow__slide img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: 50% 50%;
    margin: auto;
}

.dtkv-slideshow__slide img.is-cropped {
    position: absolute;
    inset: auto;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    max-width: none;
    max-height: none;
    object-fit: fill;
    object-position: initial;
    transform: none;
    margin: 0;
}

.dtkv-slideshow__control {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #f8fafc;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.dtkv-slideshow__control:hover,
.dtkv-slideshow__control:focus-visible {
    background: rgba(161, 32, 1, 0.92);
    transform: translateY(-50%) scale(1.05);
}

.dtkv-slideshow__control--prev {
    left: 1rem;
}

.dtkv-slideshow__control--next {
    right: 1rem;
}

.dtkv-slideshow__control span {
    font-size: 1.55rem;
    line-height: 1;
}

.dtkv-slideshow__dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    z-index: 2;
    display: flex;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.58);
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
}

.dtkv-slideshow__dot {
    width: 0.8rem;
    height: 0.8rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.dtkv-slideshow__dot:hover,
.dtkv-slideshow__dot:focus-visible {
    transform: scale(1.12);
    background: rgba(255, 255, 255, 0.85);
}

.dtkv-slideshow__dot.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

@media (max-width: 700px) {
    .dtkv-slideshow {
        margin-top: 1.1rem;
        margin-bottom: 1.1rem;
        border-radius: 0;
    }

    .dtkv-slideshow__slide {
        min-height: 0;
        padding: 0;
    }

    .dtkv-slideshow__slide img {
        max-height: 100%;
    }

    .dtkv-slideshow__control {
        width: 2.5rem;
        height: 2.5rem;
    }

    .dtkv-slideshow__control--prev {
        left: 0.7rem;
    }

    .dtkv-slideshow__control--next {
        right: 0.7rem;
    }

    .dtkv-slideshow__dots {
        bottom: 0.7rem;
        gap: 0.45rem;
        padding: 0.45rem 0.7rem;
    }
}
