/* Минимальная базовая геометрия Swiper. Держим её локально, чтобы не зависеть
   от переименования CSS-handle Swiper внутри разных версий Elementor. */
.amurweb-slideshow.swiper {
    display: block;
}

.amurweb-slideshow .swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    box-sizing: content-box;
    transition-property: transform;
}

.amurweb-slideshow .swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    transition-property: transform;
}

.amurweb-slideshow.swiper-fade .swiper-slide {
    pointer-events: none;
    transition-property: opacity;
}

.amurweb-slideshow.swiper-fade .swiper-slide-active {
    pointer-events: auto;
}

.amurweb-slideshow-wrap {
    position: relative;
    width: 100%;
}

.amurweb-slideshow {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.amurweb-slideshow__slide,
.amurweb-slideshow__figure,
.amurweb-slideshow__media,
.amurweb-slideshow__link {
    width: 100%;
}

.amurweb-slideshow__figure {
    position: relative;
    margin: 0;
}

.amurweb-slideshow__media {
    position: relative;
    overflow: hidden;
    line-height: 0;
}

.amurweb-slideshow__link {
    display: block;
    line-height: 0;
}

.amurweb-slideshow__image {
    display: block;
    width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.amurweb-height-natural .amurweb-slideshow__image {
    height: auto !important;
}

.amurweb-caption-overlay .amurweb-slideshow__caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    line-height: 1.4;
}

.amurweb-caption-below .amurweb-slideshow__caption {
    position: relative;
    line-height: 1.4;
}

.amurweb-slideshow__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.amurweb-slideshow__arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.amurweb-slideshow__arrow:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}

.amurweb-slideshow__arrow--prev {
    left: 16px;
}

.amurweb-slideshow__arrow--next {
    right: 16px;
}

.amurweb-slideshow__arrow svg {
    display: block;
    fill: currentColor;
}

.amurweb-slideshow__arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.amurweb-slideshow__pagination {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
}

.amurweb-slideshow__pagination .swiper-pagination-bullet {
    display: inline-block;
    margin: 0 5px;
    border: 0;
    opacity: 1;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.amurweb-slideshow__pagination .swiper-pagination-bullet-active {
    transform: scale(1.2);
}

.amurweb-slideshow__empty {
    padding: 30px;
    border: 1px dashed #b8b8b8;
    border-radius: 8px;
    background: #f7f7f7;
    color: #555;
    text-align: center;
}

@media (prefers-reduced-motion: reduce) {
    .amurweb-slideshow__arrow,
    .amurweb-slideshow__pagination .swiper-pagination-bullet {
        transition: none;
    }
}
