/* #yakastsi 2026-11-18: лента подряд идущих фото в тексте статьи */
.article-gallery {
    position: relative;
    margin: 1.25rem 0 1.75rem;
}

.article-gallery .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
}

.article-gallery .swiper-slide a {
    display: block;
    width: 100%;
}

.article-gallery .swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    margin: 0 auto;
    object-fit: contain;
}

.article-gallery .article-gallery-arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .28);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.article-gallery .article-gallery-arrow svg {
    width: 22px;
    height: 22px;
    display: block;
}

.article-gallery .article-gallery-prev {
    left: 16px;
}

.article-gallery .article-gallery-next {
    right: 16px;
}

@media (hover: hover) {
    .article-gallery .article-gallery-arrow:hover {
        background: #393083;
    }

    .article-gallery .article-gallery-arrow:hover path {
        stroke: #fff;
    }
}

@media (max-width: 767px) {
    .article-gallery .article-gallery-arrow {
        width: 44px;
        height: 44px;
    }

    .article-gallery .article-gallery-arrow svg {
        width: 20px;
        height: 20px;
    }

    .article-gallery .article-gallery-prev {
        left: 10px;
    }

    .article-gallery .article-gallery-next {
        right: 10px;
    }
}

.article-gallery .article-gallery-arrow.hidden {
    display: none;
}

.article-gallery .article-gallery-dots,
.article-gallery .article-gallery-dots.swiper-pagination {
    position: static;
    margin-top: 12px;
    text-align: center;
    line-height: 0;
}

.article-gallery .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    display: inline-block;
    border-radius: 999px;
    background: #c5c5c5;
    opacity: 1;
    vertical-align: middle;
}

.article-gallery .swiper-pagination-bullet-active {
    width: 22px;
    background: #393083;
}
