/* =============================================================================
   Slider Images Nexxis — Split-panel artwork slider
   ============================================================================= */

.sin-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.sin-slides {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* --------------------------------------------------------------------------
   Slide — flex row, hidden by default
   -------------------------------------------------------------------------- */
.sin-slide {
    display: none;
    width: 100%;
    min-height: 600px;
}

.sin-slide--active {
    display: flex;
    gap: 24px;
    animation: sinFadeIn 0.4s ease;
}

@keyframes sinFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   Left panel — background color set via inline style, framed image, nav arrows
   -------------------------------------------------------------------------- */
.sin-left {
    flex: 0 0 40%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 140px 24px;
    background-color: #e8e2d5;
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

/* Frame — background color set via inline style */
.sin-frame {
    background: #ffffff;
    padding: 20px;
    flex-shrink: 1;
    min-width: 0;
    line-height: 0;
}

.sin-frame img {
    display: block;
    max-width: 100%;
    max-height: 460px;
    width: auto;
    height: auto;
}

/* --------------------------------------------------------------------------
   Navigation arrows — inside the left panel
   -------------------------------------------------------------------------- */
.sin-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #ffffff;
    border: 1px solid #333333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #333333;
    transition: background 0.2s, color 0.2s;
    padding: 0;
    line-height: 1;
}

.sin-nav:hover {
    background: #333333;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Right panel — artwork image as background (same image as frame)
   -------------------------------------------------------------------------- */
.sin-right {
    flex: 0 0 calc(60% - 24px);
    background-color: #b0b0b0;
    background-size: cover;
    background-position: center;
    transition: opacity 0.3s ease;
}

/* --------------------------------------------------------------------------
   Responsive — stack panels vertically on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .sin-slide {
        min-height: unset;
    }

    .sin-slide--active {
        flex-direction: column;
        gap: 16px;
    }

    .sin-left {
        flex: none;
        width: 100%;
        padding: 32px 16px;
        gap: 16px;
    }

    .sin-frame img {
        max-height: 300px;
    }

    .sin-right {
        flex: none;
        width: 100%;
        min-height: 320px;
    }
}

.sin-frame span.image-overlay {
    display: none !important;
}

.sin-frame__img {
    position: relative;
    line-height: 0;
    transition: opacity 0.3s ease;
}

.sin-nav::before {
    font-family: 'entypo-fontello';
    font-size: 24px;
}

.sin-nav.sin-nav--next::before {
    content: '\e879';
}

.sin-nav.sin-nav--prev::before {
    content: '\e878';
}

.sin-nav {
    box-shadow: 4px 4px 0 #000;
    -webkit-box-shadow: 4px 4px 0 #000;
}

/* Frame overlay — with link */
.sin-frame--linked .sin-frame__img a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .6);
    z-index: 99;
    transition: all 0.3s ease-in-out;
}

.sin-frame--linked .sin-frame__img a:hover::before {
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 1);
}

/* Frame overlay — no link */
.sin-frame:not(.sin-frame--linked) .sin-frame__img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, .6);
    z-index: 99;
    transition: all 0.3s ease-in-out;
}

.sin-frame:not(.sin-frame--linked) .sin-frame__img:hover::before {
    box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 1);
}