/* Ana Slider Sarmalayıcı */
.mcs-slider-wrapper {
    background-color: var(--mcs-bg-color, #f0f0f0);
    display: flex; /* İçeriklerin yan yana gelmesi için */
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    min-height: 400px; /* Slider'ın minimum yüksekliği, içerik zıplamasını önler */
    overflow: hidden;
}

/* Tüm slaytları tutan ana konteyner */
.mcs-slides {
    flex: 1;
    min-width: 0;
    position: relative;
}

/* Tek bir slayt item'ı */
.mcs-slide-item {
    position: absolute; /* Slaytları üst üste bindirir */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* JS ile gösterilecek */
    flex-direction: row; /* Varsayılan olarak yan yana */
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.mcs-slide-item.active {
    display: flex;
    opacity: 1;
    z-index: 1; /* Aktif slaytı üste çıkarır */
}

/* Resim Konteyneri (Sol Taraf) */
.mcs-image-container {
    flex: 0 0 65%; /* Genişlik 65% */
    max-width: 65%; /* Genişlik 65% */
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff; /* Resimlerin arkasındaki alan */
    min-height: 360px; /* Wrapper'daki padding'i hesaba katarak */
}

.mcs-image-container a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Görüntü (Resim) */
.mcs-slide-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain; /* Resimleri kesmeden, orantılı sığdırır */
}

.mcs-image-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

/* İçerik Konteyneri (Sağ Taraf) */
.mcs-content-container {
    flex: 0 0 35%; /* Genişlik 35% */
    max-width: 35%; /* Genişlik 35% */
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mcs-title,
.mcs-title a {
    font-size: 1.4em; /* Font boyutu 1.4em olarak sabitlendi */
    font-weight: bold;
    margin: 0 0 12px 0;
    color: var(--mcs-title-color, #333);
    text-decoration: none;
    transition: color 0.3s;
}

.mcs-title a:hover {
    color: var(--mcs-nav-hover-color, #e53935);
}

.mcs-excerpt,
.mcs-excerpt p {
    font-size: 1em;
    line-height: 1.2; /* Satır yüksekliği 1.2'ye düşürüldü */
    color: var(--mcs-text-color, #666);
    margin: 0;
}   

/* Navigasyon */
.mcs-nav {
    position: absolute;
    bottom: 30px;
    right: 30px; /* İçerik konteyneri içinde */
    display: flex;
    gap: 5px;
    z-index: 2; /* Slaytların üzerinde kalır */
}

.mcs-nav-item {
    width: 30px;
    height: 30px;
    background-color: var(--mcs-nav-color, #ccc);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 0.9em;
    font-weight: bold;
}

.mcs-nav-item:hover {
    background-color: var(--mcs-nav-hover-color, #e53935);
}

.mcs-nav-item.active {
    background-color: var(--mcs-nav-hover-color, #e53935);
}

/* --- RESPONSIVE - MOBİL GÖRÜNÜM --- */
@media (max-width: 768px) {
    .mcs-slider-wrapper {
        min-height: unset; /* Yüksekliği içeriğe bırak */
        display: block; /* Flex yerine block */
    }

    .mcs-slide-item.active {
       flex-direction: column; /* Mobil'de alt alta */
    }

    .mcs-image-container,
    .mcs-content-container {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .mcs-image-container {
        padding: 0;
        min-height: 250px; /* Mobil için minimum resim yüksekliği */
        aspect-ratio: 16 / 9; /* Mobil'de resim alanını korur */
        background-color: transparent; /* Mobil'de beyaz arka planı kaldır */
    }

    .mcs-content-container {
        padding: 20px;
        background-color: var(--mcs-bg-color, #f0f0f0); /* İçerik arka planı ana renkle aynı */
    }

    .mcs-title, 
    .mcs-title a {
        font-size: 1.4em; /* Mobil için başlık font boyutu */
        text-align: center; /* Başlığı ortala */
    }
    
    .mcs-excerpt {
        display: none !important; /* Mobil'de özeti gizle */
    }

    .mcs-nav {
        position: relative; /* Statik konuma döner */
        bottom: auto;
        right: auto;
        padding: 15px 15px 20px 15px;
        justify-content: center; /* Ortala */
        background-color: var(--mcs-bg-color, #f0f0f0); /* Navigasyon arka planı ana renkle aynı */
    }
}
