.gs-poster-gallery{
    --gs-wine:#57002f;
    --gs-wine-dark:#33001c;
    --gs-wine-light:#7b0b49;
    --gs-gold:#c3a044;
    --gs-gold-soft:#e6d49b;
    --gs-ink:#17121a;
    --gs-muted:#706a70;

    position:relative;
    width:100%;
    padding:74px 0 88px;
    overflow:hidden;

    background:
        radial-gradient(circle at 88% 15%, rgba(195,160,68,.09), transparent 25%),
        radial-gradient(circle at 8% 85%, rgba(87,0,47,.055), transparent 28%),
        #f7f7f6;
}


/* =========================================================
   BAŞLIK
========================================================= */
.gs-poster-gallery__heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;

    margin-bottom:36px;
}

.gs-poster-gallery__eyebrow{
    display:inline-block;
    margin-bottom:9px;

    color:var(--gs-gold);

    font-family:Poppins,sans-serif;
    font-size:10px;
    line-height:1.3;
    font-weight:700;
    letter-spacing:2.5px;
}

.gs-poster-gallery__title{
    margin:0;

    color:var(--gs-ink);

    font-family:Poppins,sans-serif;
    font-size:clamp(27px,2.5vw,39px);
    line-height:1.16;
    font-weight:700;
    letter-spacing:-.8px;
}

.gs-poster-gallery__description{
    max-width:620px;
    margin:10px 0 0;

    color:var(--gs-muted);

    font-family:Poppins,sans-serif;
    font-size:13px;
    line-height:1.7;
}


/* =========================================================
   CAROUSEL / TRACK
   Desktop: 4 kart görünür
   Tablet + Mobil: 2 kart görünür
========================================================= */
.gs-poster-gallery__carousel{
    position:relative;
}

.gs-poster-gallery__viewport{
    position:relative;
    width:100%;
    overflow:hidden;
    padding:4px 0 18px;
}

.gs-poster-gallery__grid{
    display:flex;
    flex-wrap:nowrap;
    justify-content:flex-start;
    align-items:stretch;

    gap:18px;

    transform:translate3d(0,0,0);
    transition:transform .42s cubic-bezier(.22,.61,.36,1);
    will-change:transform;
}

.gs-poster-gallery__controls{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:18px;

    margin-top:14px;
}

.gs-poster-gallery__carousel-nav{
    position:relative;
    z-index:8;

    width:48px;
    height:48px;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(87,0,47,.16);
    border-radius:50%;

    background:#fff;
    color:var(--gs-wine);

    box-shadow:
        0 8px 22px rgba(51,0,28,.10),
        0 2px 6px rgba(51,0,28,.05);

    cursor:pointer;

    transition:
        opacity .25s ease,
        transform .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.gs-poster-gallery__carousel-nav:hover:not(:disabled){
    background:var(--gs-wine);
    color:#fff;
    border-color:var(--gs-wine);
    transform:translateY(-2px);
}

.gs-poster-gallery__carousel-nav:disabled{
    opacity:.28;
    cursor:default;
    transform:none;
}


/* =========================================================
   KART
   Sadece afiş görseli görünür. Hover zoom / yazı / overlay yoktur.
========================================================= */
.gs-poster-card{
    position:relative;

    flex:0 0 calc((100% - 54px) / 4);
    width:calc((100% - 54px) / 4);
    max-width:calc((100% - 54px) / 4);

    /* Afişler kesilmesin: sabit yükseklik yerine poster oranı */
    aspect-ratio:4 / 5;
    height:auto;

    display:block;
    padding:0;
    margin:0;

    overflow:hidden;

    border:1px solid rgba(87, 0, 47, .12);
    border-radius:26px;

    background:#fff;

    /* box-shadow:
    0 10px 28px rgba(28, 14, 22, .08),
    0 3px 8px rgba(28, 14, 22, .04); */

    cursor:pointer;
    line-height:0;
    appearance:none;
    -webkit-appearance:none;
}

.gs-poster-card:hover,
.gs-poster-card:focus,
.gs-poster-card:active{
    transform:none;
    outline:none;
}


/* =========================================================
   GÖRSEL
   Fotoğraf kartın border'ına sıfır boşlukla oturur.
========================================================= */
.gs-poster-card__media{
    position:absolute;
    inset:0;

    display:block;
    width:100%;
    height:100%;

    overflow:hidden;
    border-radius:inherit;
}

.gs-poster-card__media img{
    position:absolute;
    inset:0;

    display:block;
    width:100%;
    height:100%;

    margin:0;
    padding:0;

    object-fit:contain;
    object-position:center;
    background:#fff;

    border:0;
    border-radius:inherit;

    transform:none !important;
    transition:none !important;
    filter:none !important;
}

.gs-poster-card:hover .gs-poster-card__media img,
.gs-poster-card:focus .gs-poster-card__media img{
    transform:none !important;
    filter:none !important;
}


/* =========================================================
   LIGHTBOX
========================================================= */
.gs-poster-lightbox{
    position:fixed;
    inset:0;
    z-index:99999;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px 88px;

    background:rgba(18,0,10,.94);

    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:
        opacity .28s ease,
        visibility .28s ease;
}

.gs-poster-lightbox.is-open{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.gs-poster-lightbox__content{
    position:relative;

    width:min(960px,82vw);
    height:min(88vh,920px);

    display:flex;
    align-items:center;
    justify-content:center;
}

.gs-poster-lightbox__image-wrap{
    width:100%;
    height:100%;

    display:flex;
    align-items:center;
    justify-content:center;
}

.gs-poster-lightbox__image-wrap img{
    display:block;

    max-width:100%;
    max-height:100%;

    object-fit:contain;

    border-radius:15px;

    background:#fff;

    box-shadow:0 34px 100px rgba(0,0,0,.45);
}

.gs-poster-lightbox__counter{
    position:absolute;
    left:50%;
    bottom:-27px;

    display:flex;
    align-items:center;
    gap:5px;

    transform:translateX(-50%);

    color:rgba(255,255,255,.62);

    font-family:Poppins,sans-serif;
    font-size:11px;
}

.gs-poster-lightbox__counter strong{
    color:var(--gs-gold-soft);
    font-size:14px;
}

.gs-poster-lightbox__close,
.gs-poster-lightbox__nav{
    position:absolute;

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.24);
    border-radius:50%;

    background:rgba(87,0,47,.74);

    color:#fff;

    cursor:pointer;

    transition:
        transform .25s ease,
        background .25s ease,
        border-color .25s ease;
}

.gs-poster-lightbox__close:hover,
.gs-poster-lightbox__nav:hover{
    background:var(--gs-wine-light);
    border-color:rgba(255,255,255,.48);
}

.gs-poster-lightbox__close{
    right:28px;
    top:24px;

    width:48px;
    height:48px;
}

.gs-poster-lightbox__close:hover{
    transform:rotate(6deg) scale(1.06);
}

.gs-poster-lightbox__nav{
    top:50%;

    width:56px;
    height:56px;

    transform:translateY(-50%);
}

.gs-poster-lightbox__nav:hover{
    transform:
        translateY(-50%)
        scale(1.07);
}

.gs-poster-lightbox__nav--prev{
    left:26px;
}

.gs-poster-lightbox__nav--next{
    right:26px;
}



/* =========================================================
   LIGHTBOX - AÇIKLAMA VARSA İKİ KOLONLU PREMIUM DÜZEN
========================================================= */

/*
| Açıklama yoksa yukarıdaki mevcut lightbox düzeni aynen korunur.
| Bu stiller yalnızca .has-description sınıfı geldiğinde devreye girer.
*/
.gs-poster-lightbox.has-description .gs-poster-lightbox__content{
    width:min(1180px,86vw);
    height:min(82vh,820px);

    display:grid;
    grid-template-columns:minmax(0,1.62fr) minmax(310px,.72fr);
    align-items:stretch;
    justify-content:stretch;

    border-radius:22px;
}

.gs-poster-lightbox.has-description .gs-poster-lightbox__image-wrap{
    position:relative;

    width:100%;
    height:100%;

    padding:20px;

    background:
        radial-gradient(circle at 20% 15%, rgba(195,160,68,.10), transparent 30%),
        linear-gradient(145deg,#210011,#100008);

    border-radius:22px 0 0 22px;

    overflow:hidden;

    box-shadow:0 34px 100px rgba(0,0,0,.42);
}

.gs-poster-lightbox.has-description .gs-poster-lightbox__image-wrap img{
    width:100%;
    height:100%;
    max-width:100%;
    max-height:100%;

    object-fit:contain;

    border-radius:13px;
    background:#fff;

    box-shadow:none;
}

.gs-poster-lightbox__description-panel{
    display:none;
}

.gs-poster-lightbox.has-description .gs-poster-lightbox__description-panel{
    position:relative;

    display:flex;
    align-items:center;

    min-width:0;
    height:100%;

    padding:48px 38px;

    background:
        radial-gradient(circle at 100% 0%, rgba(195,160,68,.13), transparent 30%),
        #fff;

    border:1px solid rgba(195,160,68,.20);
    border-left:0;
    border-radius:0 22px 22px 0;

    overflow:auto;

    box-shadow:18px 34px 80px rgba(0,0,0,.20);
}

.gs-poster-lightbox__description-inner{
    width:100%;
}

.gs-poster-lightbox__description-eyebrow{
    display:block;

    margin-bottom:11px;

    color:var(--gs-gold);

    font-family:Poppins,sans-serif;
    font-size:10px;
    line-height:1.4;
    font-weight:700;
    letter-spacing:2.4px;
}

.gs-poster-lightbox__description-title{
    margin:0;

    color:var(--gs-wine);

    font-family:Poppins,sans-serif;
    font-size:clamp(23px,2vw,31px);
    line-height:1.2;
    font-weight:700;
}

.gs-poster-lightbox__description-line{
    width:58px;
    height:2px;

    margin:18px 0 24px;

    background:var(--gs-gold);
    border-radius:20px;
}

.gs-poster-lightbox__description-text{
    margin:0;

    color:#655d63;

    font-family:Poppins,sans-serif;
    font-size:14px;
    line-height:1.9;
    font-weight:400;

    white-space:pre-line;
    overflow-wrap:anywhere;
}

.gs-poster-lightbox.has-description .gs-poster-lightbox__counter{
    bottom:-32px;
}


/* Tablet küçüldükçe açıklama panelini biraz daralt */
@media (max-width: 1100px) and (min-width: 768px){
    .gs-poster-lightbox.has-description{
        padding-left:64px;
        padding-right:64px;
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__content{
        width:min(1040px,88vw);
        grid-template-columns:minmax(0,1.45fr) minmax(270px,.72fr);
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__description-panel{
        padding:36px 28px;
    }

    .gs-poster-lightbox__description-text{
        font-size:13px;
        line-height:1.75;
    }
}


/*
| Mobilde sağ-sol iki kolon çok dar kalacağı için açıklamayı görselin
| altına alıyoruz. Masaüstünde kullanıcının istediği gibi sağ taraftadır.
*/
@media (max-width: 767.98px){
    .gs-poster-lightbox.has-description{
        align-items:center;
        padding:60px 12px 42px;
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__content{
        width:100%;
        height:auto;
        max-height:82vh;

        display:flex;
        flex-direction:column;

        overflow:auto;
        border-radius:18px;
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__image-wrap{
        flex:0 0 auto;

        width:100%;
        height:min(53vh,560px);

        padding:12px;

        border-radius:18px 18px 0 0;
        box-shadow:0 22px 60px rgba(0,0,0,.34);
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__description-panel{
        flex:0 0 auto;

        width:100%;
        height:auto;
        min-height:170px;
        max-height:none;

        padding:24px 22px 28px;

        border-left:1px solid rgba(195,160,68,.20);
        border-top:0;
        border-radius:0 0 18px 18px;

        overflow:visible;
        box-shadow:none;
    }

    .gs-poster-lightbox__description-title{
        font-size:22px;
    }

    .gs-poster-lightbox__description-line{
        margin:14px 0 17px;
    }

    .gs-poster-lightbox__description-text{
        font-size:12.5px;
        line-height:1.7;
    }

    .gs-poster-lightbox.has-description .gs-poster-lightbox__counter{
        position:relative;
        left:auto;
        bottom:auto;

        justify-content:center;

        margin-top:12px;

        transform:none;
    }
}


/* =========================================================
   RESPONSIVE CAROUSEL
========================================================= */

/* Desktop ve laptop: 4 afiş */
@media (min-width: 992px) {
    .gs-poster-card{
        flex:0 0 calc((100% - 54px) / 4);
        width:calc((100% - 54px) / 4);
        max-width:calc((100% - 54px) / 4);
        aspect-ratio:4 / 5;
        height:auto;
    }
}

/* Tablet: 2 afiş */
@media (min-width: 601px) and (max-width: 991.98px) {
    .gs-poster-gallery{
        padding:60px 0 70px;
    }

    .gs-poster-gallery__grid{
        gap:16px;
    }

    .gs-poster-card{
        flex:0 0 calc((100% - 16px) / 2) !important;
        width:calc((100% - 16px) / 2) !important;
        max-width:calc((100% - 16px) / 2) !important;
        aspect-ratio:4 / 5;
        height:auto;
        border-radius:20px;
    }

    .gs-poster-gallery__controls{
        gap:16px;
        margin-top:12px;
    }

    .gs-poster-gallery__carousel-nav{
        width:42px;
        height:42px;
    }

}

/* Mobil: 2 afiş */
@media (max-width: 600px) {
    .gs-poster-gallery{
        padding:50px 0 58px;
    }

    .gs-poster-gallery__heading{
        margin-bottom:26px;
    }

    .gs-poster-gallery__description{
        font-size:12px;
    }

    .gs-poster-gallery__viewport{
        padding-bottom:14px;
    }

    .gs-poster-gallery__grid{
        gap:10px;
    }

    .gs-poster-card{
        flex:0 0 calc((100% - 10px) / 2) !important;
        width:calc((100% - 10px) / 2) !important;
        max-width:calc((100% - 10px) / 2) !important;
        aspect-ratio:4 / 5;
        height:auto;
        border-radius:16px;
    }

    .gs-poster-gallery__controls{
        gap:14px;
        margin-top:10px;
    }

    .gs-poster-gallery__carousel-nav{
        width:36px;
        height:36px;
        font-size:12px;
        box-shadow:0 7px 18px rgba(51,0,28,.12);
    }


    .gs-poster-lightbox{
        padding:62px 15px 36px;
    }

    .gs-poster-lightbox__content{
        width:100%;
        height:80vh;
    }

    .gs-poster-lightbox__close{
        right:14px;
        top:14px;
        width:43px;
        height:43px;
    }

    .gs-poster-lightbox__nav{
        width:43px;
        height:43px;
    }

    .gs-poster-lightbox__nav--prev{
        left:8px;
    }

    .gs-poster-lightbox__nav--next{
        right:8px;
    }
}
/* =========================================================
   LIGHTBOX MOBİL OKLARI - İÇERİĞİN ÜSTÜNDE KALSIN
========================================================= */
.gs-poster-lightbox__nav{
    z-index:100010;
}

.gs-poster-lightbox__close{
    z-index:100020;
}

@media (max-width:600px){
    .gs-poster-lightbox__content{
        position:relative;
        z-index:1;
    }

    .gs-poster-lightbox__nav{
        position:fixed;
        top:50%;
        z-index:100010 !important;

        width:43px;
        height:43px;

        transform:translateY(-50%);

        background:rgba(87,0,47,.94);
        border:1px solid rgba(255,255,255,.42);
        box-shadow:0 8px 24px rgba(0,0,0,.30);
    }

    .gs-poster-lightbox__nav:hover{
        transform:translateY(-50%) scale(1.04);
    }

    .gs-poster-lightbox__nav--prev{
        left:10px;
    }

    .gs-poster-lightbox__nav--next{
        right:10px;
    }

    .gs-poster-lightbox__close{
        position:fixed;
        z-index:100020 !important;
    }
}
