/* ==========================================================================
   Stay Gallery Module
   File: orvix-core/modules/stay-gallery/stay-gallery.css
   ========================================================================== */

.stay-gallery {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #111;
}

.sg-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 1;
}
@media (max-width: 478px) {
    .sg-slider { aspect-ratio: 4 / 3; }
}

.sg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.sg-slide.active { opacity: 1; }

.sg-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sg-img.sg-blur   { filter: blur(8px); transform: scale(1.05); }
.sg-img.sg-loaded { filter: none; transform: scale(1); transition: filter 0.4s, transform 0.4s; }

.sg-fraction {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: #FFF;
    font-size: 13px;
    background: rgba(0,0,0,0.45);
    padding: 3px 10px;
    border-radius: 20px;
    pointer-events: none;
    z-index: 1;
}

.sg-prev,
.sg-next {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.25);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: 0.25s;
}
.sg-prev:hover, .sg-next:hover {
    background: rgba(255,255,255,0.5);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.sg-prev svg, .sg-next svg { stroke: #FFF; }
@media (max-width: 480px) {
    .sg-prev, .sg-next { width: 30px; height: 30px; }
}
.sg-prev { left: 12px; }
.sg-next { right: 12px; }