.ipmhk-slider {
    position: relative;
    width: 100%;
    height: var(--ipmhk-slider-height, 450px);
    overflow: hidden;
    background: #111;
}

.ipmhk-slider-slides,
.ipmhk-slide {
    position: absolute;
    inset: 0;
}

.ipmhk-slide {
    opacity: 0;
    transition: opacity 900ms ease-in-out;
    z-index: 1;
}

.ipmhk-slide.is-active {
    opacity: 1;
    z-index: 2;
}

.ipmhk-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.ipmhk-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 80px;
    border: 0;
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    font-size: 64px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 250ms ease, background 250ms ease;
}

.ipmhk-slider:hover .ipmhk-slider-arrow {
    opacity: 1;
}

.ipmhk-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.45);
}

.ipmhk-slider-prev {
    left: 20px;
}

.ipmhk-slider-next {
    right: 20px;
}

.ipmhk-slider-dots {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.ipmhk-slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
}

.ipmhk-slider-dot.is-active,
.ipmhk-slider-dot:hover {
    background: #fff;
}

@media (max-width: 768px) {
    .ipmhk-slider {
        height: 300px;
    }

    .ipmhk-slider-arrow {
        opacity: 1;
        width: 42px;
        height: 64px;
        font-size: 48px;
    }

    .ipmhk-slider-prev {
        left: 8px;
    }

    .ipmhk-slider-next {
        right: 8px;
    }
}