.begs-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 18px;
    background: #f1f5f9;
}

.begs-slider-track {
    position: relative;
    height: var(--begs-height, 420px);
    min-height: 220px;
}

.begs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 420ms ease;
}

.begs-slide.is-active {
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2;
}

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

.begs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #0f172a;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.begs-arrow:hover,
.begs-arrow:focus {
    background: #ffffff;
}

.begs-prev { left: 14px; }
.begs-next { right: 14px; }

.begs-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 21;
    display: flex;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.35);
}

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

.begs-dot.is-active {
    background: #ffffff;
}

@media (max-width: 700px) {
    .begs-slider-track {
        height: min(var(--begs-height, 420px), 62vw);
    }
    .begs-arrow {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }
}
