.art-slideshow-wrapper {
    width: 100%;
}

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



.art-slideshow .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.art-slideshow .art-slideshow-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}


.art-slideshow .art-slideshow-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    pointer-events: none;
}

.art-slideshow .swiper-button-next,
.art-slideshow .swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.2s;
}

.art-slideshow .swiper-button-next::after,
.art-slideshow .swiper-button-prev::after {
    font-size: 18px;
}

.art-slideshow .swiper-button-next:hover,
.art-slideshow .swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.6);
}

.art-slideshow-wrapper .swiper-pagination {
    position: static !important;
    margin-bottom: 12px;
}

.art-slideshow-wrapper .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.art-slideshow-wrapper .swiper-pagination-bullet-active {
    background: #007cba;
}

.art-slideshow a {
    display: block;
    line-height: 0;
}

.art-slideshow a:hover .art-slideshow-image {
    opacity: 0.9;
}

.art-slideshow a.art-slideshow-lightbox {
    cursor: zoom-in;
}

/* === Lightbox === */
.art-slideshow-lb {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    align-items: center;
    justify-content: center;
}

.art-slideshow-lb.art-slideshow-lb--open {
    display: flex;
}

.art-slideshow-lb-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: zoom-out;
}

.art-slideshow-lb-image-wrap {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
}

.art-slideshow-lb-image {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.art-slideshow-lb-close {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 28px;
    line-height: 44px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.art-slideshow-lb-close:hover {
    background: rgba(0, 0, 0, 0.7);
}

.art-slideshow-lb-prev,
.art-slideshow-lb-next {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    font-size: 36px;
    line-height: 50px;
    text-align: center;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.art-slideshow-lb-prev { left: 16px; }
.art-slideshow-lb-next { right: 16px; }

.art-slideshow-lb-prev:hover,
.art-slideshow-lb-next:hover {
    background: rgba(0, 0, 0, 0.7);
}

.art-slideshow-lb-counter {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: sans-serif;
    user-select: none;
}

/* === Thumbs strip === */
.art-slideshow-thumbs {
    margin-bottom: 10px;
    padding: 6px 0;
    overflow: hidden;
}

.art-slideshow-thumbs .swiper-slide {
    width: auto;
    height: 80px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
    border-radius: 4px;
    overflow: hidden;
}

.art-slideshow-thumbs .swiper-slide img {
    display: block;
    height: 100%;
    width: auto;
    max-width: none;
    border-radius: 4px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.art-slideshow-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.art-slideshow-thumbs .swiper-slide-thumb-active img {
    border-color: #007cba;
}

.art-slideshow-thumbs .swiper-slide:hover {
    opacity: 0.8;
}
