
/* Premium-DV: слайдер фотографий адвокатов в правой части главного баннера */
.wpdevart-banner-image-wrapper .premium-lawyer-slider {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    border-radius: 14px;
    background: #14263d;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .20);
    isolation: isolate;
}

.premium-lawyer-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.premium-lawyer-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .7s ease, visibility .7s ease;
}

.premium-lawyer-slide.is-active {
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.premium-lawyer-slide__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}

.premium-lawyer-slide__image {
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center 25%;
    transition: transform 5s ease;
}

.wpdevart-banner-image-wrapper .premium-lawyer-slider img.premium-lawyer-slide__image,
.wpdevart-banner-image-wrapper .premium-lawyer-slide__link img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 280px;
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    object-fit: cover;
}

.premium-lawyer-slide.is-active .premium-lawyer-slide__image {
    border-radius: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    transform: scale(1.045);
}

.premium-lawyer-slide__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 42px 65px 34px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 1px 4px rgba(0,0,0,.7);
    background: linear-gradient(transparent, rgba(8, 23, 40, .78));
}

.premium-lawyer-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 50%;
    color: #fff;
    background: rgba(13, 35, 58, .72);
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, border-color .2s ease;
}

.premium-lawyer-slider__arrow:hover,
.premium-lawyer-slider__arrow:focus-visible {
    color: #fff;
    background: #b99554;
    border-color: #b99554;
}

.premium-lawyer-slider__arrow--prev { left: 5%; }
.premium-lawyer-slider__arrow--next { right: 5%; }

.premium-lawyer-slider__dots {
    position: absolute;
    right: 0;
    bottom: 13px;
    left: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    gap: 9px;
}

.premium-lawyer-slider__dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    padding: 0;
    border: 1px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.premium-lawyer-slider__dot.is-active {
    border-color: #d2ad70;
    background: #d2ad70;
}

.premium-lawyer-slider button:focus-visible,
.premium-lawyer-slide__link:focus-visible {
    outline: 3px solid #d2ad70;
    outline-offset: 3px;
}

@media (max-width: 600px) {
    .wpdevart-banner-image-wrapper .premium-lawyer-slider {
        border-radius: 12px;
    }
    .premium-lawyer-slider__arrow {
        width: 34px;
        height: 34px;
        font-size: 16px;
    }
    .premium-lawyer-slide__caption {
        padding: 30px 45px 25px;
        font-size: 14px;
    }
    .premium-lawyer-slider__dots {
        bottom: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .premium-lawyer-slide,
    .premium-lawyer-slide__image,
    .premium-lawyer-slider__arrow {
        transition: none;
    }
}
