.series-stage//* TÜBINGEN 2.0 */
/* =========================
   MASTER SERIES GALLERY
   ========================= */

.series-gallery {
    width: 100%;
    margin: 80px auto 180px;
    overflow: hidden;
}

.series-stage {
    position: relative;

    width: min(1200px, 78%);
    height: 720px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================
   MAIN PHOTO
   ========================= */

.series-main-photo {
    position: relative;
    z-index: 2;

    display: block;
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;
}


/* =========================
   SIDE PREVIEWS
   ========================= */

.series-side-photo {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 260px;
    height: 560px;

    object-fit: cover;

    opacity: 0.42;
filter: brightness(0.75);

    z-index: 1;
    pointer-events: none;

    transition:
        opacity 0.35s ease,
        filter 0.35s ease;
}

.series-side-prev {
    right: calc(100% + 28px);
    transform: translateY(-50%) perspective(900px) rotateY(12deg);
    transform-origin: right center;
}

.series-side-next {
    left: calc(100% + 28px);
    transform: translateY(-50%) perspective(900px) rotateY(-12deg);
    transform-origin: left center;
}

/* =========================
   NAVIGATION ARROWS
   ========================= */

.series-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;

    background: rgba(20, 20, 20, 0.22);
    backdrop-filter: blur(4px);

    color: rgba(255, 255, 255, 0.88);

    font-size: 23px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.series-arrow:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-50%) scale(1.08);
}
.series-prev {
    left: -105px;
}

.series-next {
    right: -105px;
}


/* =========================
   SERIES TRANSITION
   ========================= */

.series-main-photo.slide-next {
    animation: slideNext 0.35s ease;
}

.series-main-photo.slide-prev {
    animation: slidePrev 0.35s ease;
}

@keyframes slideNext {
    0% {
        transform: translateX(18px) scale(0.99);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}

@keyframes slidePrev {
    0% {
        transform: translateX(-18px) scale(0.99);
    }

    100% {
        transform: translateX(0) scale(1);
    }
}
/* =========================
   REAL 3-PHOTO SLIDER
   ========================= */

.series-main-photo,
.series-side-photo {
    transition:
        left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        right 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        height 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease,
        filter 0.55s ease,
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
/* =========================
   SERIES PHOTO INFO
   ========================= */

.series-info {
    width: min(760px, 80%);
   margin: 55px auto 90px;
    text-align: center;
}

.series-counter {
    margin-bottom: 18px;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;

    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.45);
}

.series-photo-title {
    margin: 0;

    font-family: "Bodoni Moda", serif;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 400;
    line-height: 1.15;

    color: #f1f1f1;
}

.series-photo-description {
    max-width: 600px;
    margin: 16px auto 0;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.58);
}
.series-date {
    margin: 18px 0 22px;

    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 400;

    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.45);
}
.series-back-link {
    display: inline-block;
    margin-bottom: 18px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.25s ease;
}

.series-back-link:hover {
    color: rgba(255, 255, 255, 0.9);
}
/* =========================
   MOBILE SERIES GALLERY
   ========================= */

@media (max-width: 767px) {

    .series-gallery {
        margin: 50px auto 90px;
    }

    .series-stage {
        width: 92%;
    }

    .series-side-photo {
        opacity: 0;
    }

    .series-prev {
        left: 10px;
    }

    .series-next {
        right: 10px;
    }

    .series-arrow {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .series-info {
        width: 88%;
        margin: 35px auto 60px;
    }
}