/* Trend Slider CSS - v1.3.0 */
.ao-trend-slider-wrapper {
    width: 100%;
    margin: 0 auto 30px; /* Alt marjini artırıldı */
    max-width: 1200px;
    position: relative; /* Pozisyon eklendi */
    min-height: 200px; /* Minimum yükseklik eklendi */
}

/* Masaüstü Görünümü */
.ao-trend-slider-desktop {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    margin: 0px 20px;
}

.ao-trend-slider-left,
.ao-trend-slider-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ao-trend-slider-center {
    flex: 2;
}

.ao-trend-post {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #000;
}

.ao-trend-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.ao-trend-post-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.ao-trend-post-image {
    width: 100%;
    height: 100%;
    min-height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.ao-trend-main-post .ao-trend-post-image {
    min-height: 400px;
}

.ao-trend-small-post .ao-trend-post-image {
    min-height: 190px;
}

/* Düzeltilmiş Mobil Görünümü */
.ao-trend-slider-mobile {
    display: none;
    position: relative;
    margin-bottom: 15px;
    margin-left: 20px; /* Sol taraftan boşluk eklendi */
    overflow: visible; /* Taşmaları göster */
    height: auto; /* Yüksekliği otomatik yap */
    z-index: 1; /* Z-index ekle */
}

.ao-trend-slider-container {
    position: relative;
    overflow: visible; /* Bir sonraki slide görünebilsin */
    width: 100%;
    padding-bottom: 10px; /* Alt boşluk ekle */
    height: auto; /* Yüksekliği otomatik yap */
}

.ao-trend-slider-track {
    display: flex;
    transition: transform 0.3s ease;
    width: auto !important; /* Genişliği otomatik ayarla */
}

.ao-trend-slider-slide {
    flex: 0 0 auto; /* Auto yerine sabit genişlik kullan */
    width: 85%; /* Slide genişliği */
    margin-right: 10px;
    position: relative;
}

.ao-trend-mobile-link {
    display: block;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.ao-trend-mobile-image {
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 dikdörtgen görünüm için (yükseklik genişliğin %56.25'i) */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ao-trend-slider-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 10px;
    padding: 0 10px;
    margin-bottom: 20px; /* Alt boşluk ekle */
}

.ao-trend-slider-prev,
.ao-trend-slider-next {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ao-trend-slider-prev:hover,
.ao-trend-slider-next:hover {
    background-color: #f5f5f5;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* Mobil için medya sorgusu */
@media (max-width: 768px) {
    .ao-trend-slider-desktop {
        display: none;
    }
    
    .ao-trend-slider-mobile {
        display: block;
    }
    
    /* Mobil için ek düzeltmeler */
    .ao-trend-slider-wrapper {
        overflow: visible;
        margin-bottom: 10px; /* Alt boşluğu artır */
    }
    
    /* Slider'ın site içeriğini engellemediğinden emin ol */
    .ao-trend-slider-mobile + * {
        margin-top: 30px; /* Sonraki öğe için üst boşluk ekle */
    }
}

.ao-trend-slider-nav{
    display: none;
}