/* Slider BMutlu --- On Yuz Stilleri --- v2.3.0 */

.simple-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    background: transparent;
}

.simple-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 487;
    min-height: 0 !important;
    height: auto !important;
    background: transparent;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    border-radius: 8px;
}

.simple-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    pointer-events: none;
    line-height: 0;
}

.simple-slider .slide.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
    z-index: 2;
}

.simple-slider .slide a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    margin: 0;
    padding: 0;
}

.simple-slider .slide img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: fill !important;
    object-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 8px;
}

/* Ok butonlari tamamen gizli */
.slider-nav,
button.slider-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.simple-slider .slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(to top, rgba(2,28,60,0.85) 0%, rgba(2,44,100,0.45) 60%, transparent 100%);
    color: #fff;
    z-index: 3;
}

.simple-slider .slide-content h3 {
    margin: 0 0 6px;
    font-size: clamp(15px, 2.5vw, 24px);
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.simple-slider .slide-content p {
    margin: 0;
    font-size: clamp(12px, 1.8vw, 15px);
    color: rgba(255,255,255,0.9);
    line-height: 1.45;
    max-width: 70ch;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 10;
}

.slider-dots .dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.55);
    border: 1.5px solid rgba(2,76,139,0.5);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    display: block;
}

.slider-dots .dot.active {
    background: #a02a75;
    border-color: #fff;
    transform: scale(1.25);
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.9);
}

.simple-slider .slide img.lazy {
    filter: blur(4px);
    transition: filter 0.35s;
}

.simple-slider .slide img.lazy.loaded {
    filter: none;
}

/* ============================================================
   ANASAYFA HERO ALANI & KATEGORI MENUSU HIZALAMA (DESKTOP & MOBIL)
   ============================================================ */

/* Masaüstü (>= 1025px): Sol dikey kategori menüsü (270px) açık olduğu için
   slider sütununu tam kategori menüsünün sağından başlat ve yüksekliğini eşitle */
@media (min-width: 1025px) {
    .post-8417 .vc_inner > .vc_col-sm-2 {
        flex: 0 0 285px !important;
        max-width: 285px !important;
        width: 285px !important;
    }

    .post-8417 .vc_inner > .vc_col-sm-10.wd-rs-69eaaf7917bd8,
    .wd-rs-69eaaf7917bd8 {
        flex: 0 0 calc(100% - 285px) !important;
        max-width: calc(100% - 285px) !important;
        width: calc(100% - 285px) !important;
    }

    .wd-rs-69eaaf7917bd8 > .vc_column-inner.vc_custom_1776988034058 {
        margin-top: -25px !important;
        padding-left: 12px !important;
        padding-right: 0 !important;
    }

    #wd-69eaae167d02f.vc_custom_1776987693657 {
        margin-top: 16px !important;
    }
}

/* Tablet ve Mobil (<= 1024px): Sol dikey kategori menüsü gizli olduğu için
   boş sol sütunu kaldır, slider'ı %100 tam genişlik yap ve negatif marginleri sıfırla */
@media (max-width: 1024px) {
    .post-8417 .vc_inner > .vc_col-sm-2 {
        display: none !important;
    }

    .post-8417 .vc_inner > .vc_col-sm-10.wd-rs-69eaaf7917bd8,
    .wd-rs-69eaaf7917bd8 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .wd-rs-69eaaf7917bd8 > .vc_column-inner.vc_custom_1776988034058 {
        margin-top: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    #wd-69eaae167d02f.vc_custom_1776987693657 {
        margin-top: 10px !important;
    }

    .wd-rs-69eaaf7917bd8 .wpb_raw_code {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .main-page-wrapper {
        margin-top: 10px !important;
        padding-top: 0 !important;
    }

    .simple-slider-container,
    .simple-slider,
    .simple-slider .slide img {
        border-radius: 6px;
    }

    .slider-dots {
        bottom: 6px;
        gap: 5px;
    }

    .slider-dots .dot {
        width: 7px;
        height: 7px;
    }
}
