/* Reklam Alanları Genel Stiller */
.reklam-alani-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    text-align: center !important;
    position: relative !important;
    background-color: #f8f9fa !important;
    border-radius: 4px !important;  
}

.reklam-alani-wrapper img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
    object-fit: contain !important; 
}

/* Ultra Modern Mobile Sidebar Menu - CSS Overrides */
@media (max-width: 991.98px) {
    /* Hide desktop menu on mobile */
    .mega-menu ul.navbar-nav {
        display: none !important;
    }
    
    /* Ultra Modern Mobile menu button styling */
    .icon-menu-mobile {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        padding: 12px !important;
        background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%) !important;
        border-radius: 12px !important;
        margin-right: 12px !important;
        transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        width: 48px !important;
        height: 48px !important;
    }
    
    .icon-menu-mobile:hover {
        background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%) !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    }
    
    .icon-menu-mobile.active {
        background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
        color: white !important;
        transform: scale(1.05) !important;
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4) !important;
    }
    
    .icon-menu-mobile i {
        font-size: 18px !important;
        transition: all 0.3s ease !important;
    }
    
    .icon-menu-mobile.active i {
        transform: rotate(180deg) !important;
    }
    
    /* Ensure sidebar is above everything */
    .mobile-sidebar {
        z-index: 9999 !important;
    }
    
    .mobile-sidebar-overlay {
        z-index: 9998 !important;
    }
    
    /* Prevent body scroll when sidebar is open */
    body.sidebar-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
    
    /* Modern mobile header improvements */
    .mobile-header-layout {
        padding: 15px 0 !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* Mobile social dropdown z-index fix */
    .mobile-social-toggle {
        position: relative !important;
        z-index: 1002 !important;
    }
    
    .mobile-social-dropdown {
        z-index: 10000 !important;
        position: fixed !important;
    }
    
    /* Header z-index improvements */
    .header-top {
        position: relative !important;
        z-index: 1000 !important;
    }
    
    #topbar {
        position: relative !important;
        z-index: 999 !important;
    }
}

@media (min-width: 992px) {
    /* Desktop'ta menü her zaman görünür */
    .mega-menu ul.navbar-nav {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        transition: none !important;
        position: relative !important;
        z-index: auto !important;
    }
    
    /* Desktop'ta mobil menü butonu gizli */
    .icon-menu-mobile {
        display: none !important;
    }
}

/* Özel Reklam Alanları */
.reklam-header_ust_banner {
    max-width: 970px !important;
    height: 90px !important;
    margin: 10px auto !important;
}

.reklam-genel_logo_yani {
    max-width: 728px !important;
    height: 90px !important;
    margin: 10px auto !important;
}

.reklam-manset_ustu {
    max-width: 970px !important;
    height: 250px !important;
    margin: 10px auto 5px auto !important;
}

.reklam-manset_alti {
    max-width: 970px !important;
    height: 250px !important;
    margin: 5px auto 10px auto !important;
}

.reklam-anasayfa_haber_arasi_1,
.reklam-anasayfa_haber_arasi_2 {
    max-width: 970px !important;
    height: 150px !important;
    margin: 10px auto !important;
}

.reklam-sag_kolon_ust,
.reklam-sag_yazarlar_ust,
.reklam-sag_puan_durumu_alt,
.reklam-sag_webtv_alt,
.reklam-sag_yazarlar_alt {
    max-width: 300px !important;
    height: 250px !important;
    margin: 10px auto !important;
}

.reklam-sag_kolon_alt {
    max-width: 300px !important;
    height: 600px !important;
    margin: 10px auto !important;
}

.reklam-footer_alti_banner {
    max-width: 970px !important;
    height: 90px !important;
    margin: 10px auto !important;
}

.reklam-webtv_ustu,
.reklam-webtv_alti,
.reklam-haber_list_ustu,
.reklam-haber_list_alti,
.reklam-besli_manset_ustu,
.reklam-besli_manset_alti,
.reklam-sayfa_en_alti {
    max-width: 728px !important;
    height: 90px !important;
    margin: 10px auto !important;
}

.reklam-genel_sol_sabit {
    max-width: 160px !important;
    height: 600px !important;
    position: fixed !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
}

.reklam-genel_sag_sabit {
    max-width: 160px !important;
    height: 600px !important;
    position: fixed !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 100 !important;
}

.reklam-manset_arasi_1,
.reklam-manset_arasi_2,
.reklam-manset_arasi_3,
.reklam-surmanset_alti {
    max-width: 970px !important;
    height: 500px !important;
    margin: 10px auto !important;
}

/* Mobil Responsive Düzenlemeler */
@media (max-width: 992px) {
    .reklam-header_ust_banner,
    .reklam-manset_ustu,
    .reklam-manset_alti,
    .reklam-anasayfa_haber_arasi_1,
    .reklam-anasayfa_haber_arasi_2,
    .reklam-footer_alti_banner,
    .reklam-manset_arasi_1,
    .reklam-manset_arasi_2,
    .reklam-manset_arasi_3,
    .reklam-surmanset_alti {
        max-width: 100% !important;
        height: auto !important;
        min-height: 100px !important;
    }
    
    .reklam-genel_logo_yani,
    .reklam-webtv_ustu,
    .reklam-webtv_alti,
    .reklam-haber_list_ustu,
    .reklam-haber_list_alti,
    .reklam-besli_manset_ustu,
    .reklam-besli_manset_alti,
    .reklam-sayfa_en_alti {
        max-width: 100% !important;
        height: auto !important;
        min-height: 90px !important;
    }
    
    .reklam-genel_sol_sabit,
    .reklam-genel_sag_sabit {
        display: none !important; /* Mobilde sabit reklamları gizle */
    }
} 

/* Technology section visual enhancements (structure-preserving) */
.technnology {
    margin-top: 10px !important;
}

.technnology .post-item.ver2 {
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06) !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.technnology .post-item.ver2:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10) !important;
}

.technnology .post-item.ver2 .images {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}

.technnology .post-item.ver2 .images img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.technnology .post-item.ver2:hover .images img {
    transform: scale(1.05) !important;
}

/* Category badge (no markup change) */
.technnology .post-item.ver2 .images::after {
    content: 'TEKNOLOJİ';
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #fff;
    background: linear-gradient(135deg, #2196f3 0%, #6f42c1 100%);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 1;
}

.technnology .post-item.ver2 .text {
    padding: 14px 16px 16px 16px !important;
}

.technnology .post-item.ver2 .text h2 {
    margin: 0 0 8px 0 !important;
}

.technnology .post-item.ver2 .text h2 a {
    color: #0f172a !important; /* slate-900 */
    font-weight: 700 !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.technnology .post-item.ver2 .text h2 a:hover {
    color: #2196f3 !important; /* tech accent */
}

.technnology .post-item.ver2 .tag {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
    color: #64748b !important; /* slate-500 */
    font-size: 12px !important;
}

.technnology .post-item.ver2 .tag .date,
.technnology .post-item.ver2 .tag .comments {
    color: #64748b !important;
}

.technnology .post-item.ver2 .tag .comments i,
.technnology .post-item.ver2 .tag .date i {
    margin-right: 4px !important;
}

.technnology .post-item.ver2 .description {
    color: #475569 !important; /* slate-600 */
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important; /* clamp to 3 lines */
    overflow: hidden !important;
}

/* Subtle header enhancement when followed by tech list */
.title-v1 + .technnology {
    border-top: 2px solid rgba(33, 150, 243, 0.2) !important;
    padding-top: 10px !important;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .technnology .post-item.ver2 {
        border-radius: 12px !important;
    }
    .technnology .post-item.ver2 .text {
        padding: 12px 14px 14px 14px !important;
    }
    .technnology .post-item.ver2 .text h2 a {
        font-size: 18px !important;
    }
} 

/* Technology section: place text to the right of image */
.technnology .post-item.ver2 {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 16px !important;
}

.technnology .post-item.ver2 .images {
    flex: 0 0 320px !important;
    max-width: 320px !important;
    height: 200px !important;
}

.technnology .post-item.ver2 .images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.technnology .post-item.ver2 .text {
    flex: 1 1 auto !important;
}

/* Mobile: stack image above text */
@media (max-width: 767.98px) {
    .technnology .post-item.ver2 {
        flex-direction: column !important;
        gap: 10px !important;
    }
    .technnology .post-item.ver2 .images {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .technnology .post-item.ver2 .images img {
        height: auto !important;
    }
} 

/* Technology section: minimize vertical spacing between items */
.technnology .post-item.ver2 {
    margin-bottom: 12px !important; /* override global 50px */
}

.technnology .post-item.ver2:last-child {
    margin-bottom: 0 !important;
}

/* Reduce section bottom space specifically for teknoloji block */
.technnology.box.space-30 {
    margin-bottom: 15px !important;
}

@media (max-width: 767.98px) {
    .technnology .post-item.ver2 {
        margin-bottom: 10px !important;
    }
} 

/* Tighten spacing between TEKNOLOJİ title and list */
.title-v1 + .technnology {
    border-top: 0 !important;
    padding-top: 0 !important;
    margin-top: -6px !important; /* pull list closer to header */
}

@media (max-width: 767.98px) {
    .title-v1 + .technnology {
        margin-top: -4px !important;
    }
} 

/* Home: minimize gap between Konya (travel) and Teknoloji sections under WebTV */
.box .col-md-8 .travel.space-30 {
    margin-bottom: 14px !important; /* was 30px */
}

/* Pull Teknoloji title closer to Konya block */
.box .col-md-8 .travel.space-30 + .title-v1 {
    margin-top: -6px !important;
}

@media (max-width: 767.98px) {
    .box .col-md-8 .travel.space-30 {
        margin-bottom: 12px !important;
    }
    .box .col-md-8 .travel.space-30 + .title-v1 {
        margin-top: -4px !important;
    }
} 

/* Further reduce Konya–Teknoloji spacing (half of current) */
.box .col-md-8 .travel.space-30 {
    margin-bottom: 7px !important; /* was 14px */
}
.box .col-md-8 .travel.space-30 + .title-v1 {
    margin-top: -3px !important; /* was -6px */
}
@media (max-width: 767.98px) {
    .box .col-md-8 .travel.space-30 {
        margin-bottom: 6px !important; /* was 12px */
    }
    .box .col-md-8 .travel.space-30 + .title-v1 {
        margin-top: -2px !important; /* was -4px */
    }
} 

/* Ultra-tight Konya–Teknoloji spacing */
.box .col-md-8 .travel.space-30 {
    margin-bottom: 2px !important; /* near zero */
}
.box .col-md-8 .travel.space-30 + .title-v1 {
    margin-top: -2px !important;
}
/* Keep tech title-to-list gap tight as well */
.box .col-md-8 .title-v1 + .technnology {
    margin-top: -8px !important;
}

@media (max-width: 767.98px) {
    .box .col-md-8 .travel.space-30 {
        margin-bottom: 2px !important;
    }
    .box .col-md-8 .travel.space-30 + .title-v1 {
        margin-top: -2px !important;
    }
    .box .col-md-8 .title-v1 + .technnology {
        margin-top: -6px !important;
    }
} 

/* Yasam section visual enhancements (structure-preserving) */
/* Scope: only the YAŞAM block at the bottom: .box .post-item.ver6 inside view_list_4 */
.box .post-item.ver6 {
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 18px rgba(0,0,0,.06) !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
    background: #fff !important;
}
.box .post-item.ver6:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.12) !important;
}
.box .post-item.ver6 .images {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
}
.box .post-item.ver6 .images img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    transition: transform .5s ease !important;
}
.box .post-item.ver6:hover .images img {
    transform: scale(1.04) !important;
}
/* Overlay text polish */
.box .post-item.ver6 .text {
    background: linear-gradient(180deg, rgba(0,0,0,.0) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.75) 100%) !important;
    padding: 18px 18px 16px 18px !important;
}
.box .post-item.ver6 .text h2 a {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.3) !important;
}
.box .post-item.ver6 .text .tag,
.box .post-item.ver6 .text .date,
.box .post-item.ver6 .text .comments {
    color: rgba(255,255,255,.85) !important;
}
/* Clamp spot text if visible on desktop */
.box .post-item.ver6 .description {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    color: rgba(255,255,255,.9) !important;
}

/* Tighten section spacing */
.box .title-v1 + .box.space-30,
.box.space-30 {
    margin-bottom: 18px !important;
}

@media (max-width: 767.98px) {
    .box .post-item.ver6 {
        border-radius: 10px !important;
    }
    .box.space-30 {
        margin-bottom: 14px !important;
    }
} 

/* YAŞAM: small list cards inside the section */
.box.space-30 .post-item.ver2 {
    display: flex !important;
    align-items: stretch !important;
    gap: 14px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.06) !important;
    overflow: hidden !important;
    transition: transform .25s ease, box-shadow .25s ease !important;
    margin-bottom: 12px !important;
}
.box.space-30 .post-item.ver2:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,.12) !important;
}
.box.space-30 .post-item.ver2 .images {
    flex: 0 0 160px !important;
    max-width: 160px !important;
    height: 120px !important;
    position: relative !important;
    overflow: hidden !important;
}
.box.space-30 .post-item.ver2 .images img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform .5s ease !important;
}
.box.space-30 .post-item.ver2:hover .images img {
    transform: scale(1.05) !important;
}
.box.space-30 .post-item.ver2 .text {
    flex: 1 1 auto !important;
    padding: 12px 14px 14px 4px !important;
}
.box.space-30 .post-item.ver2 .text h2 {
    margin: 0 0 8px 0 !important;
}
.box.space-30 .post-item.ver2 .text h2 a {
    color: #0f172a !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
}
.box.space-30 .post-item.ver2 .tag {
    margin-top: 2px !important;
    color: #64748b !important;
    font-size: 12px !important;
}

/* YAŞAM rozet (büyük görsel) */
.box.space-30 .post-item.ver6 .images::after {
    content: 'YAŞAM';
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    color: #fff;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
    z-index: 1;
}

@media (max-width: 767.98px) {
    .box.space-30 .post-item.ver2 {
        flex-direction: column !important;
        gap: 10px !important;
        border-radius: 12px !important;
    }
    .box.space-30 .post-item.ver2 .images {
        flex: none !important;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .box.space-30 .post-item.ver2 .images img {
        height: auto !important;
    }
} 

/* Minimize gap from Teknoloji list to following YAŞAM title and block */
.technnology + .title-v1 {
    margin-top: -6px !important;
}
.technnology + .title-v1 + .box.space-30 {
    margin-top: 6px !important;
}

@media (max-width: 767.98px) {
    .technnology + .title-v1 {
        margin-top: -4px !important;
    }
    .technnology + .title-v1 + .box.space-30 {
        margin-top: 6px !important;
    }
} 

/* Mobile: make the first YAŞAM item look like the small cards */
@media (max-width: 767.98px) {
    .box.space-30 .post-item.ver6 {
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        border-radius: 12px !important;
        box-shadow: 0 6px 16px rgba(0,0,0,.06) !important;
        overflow: hidden !important;
    }
    .box.space-30 .post-item.ver6 .images {
        width: 100% !important;
        height: auto !important;
        position: relative !important;
        overflow: hidden !important;
    }
    .box.space-30 .post-item.ver6 .images img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }
    .box.space-30 .post-item.ver6 .text {
        position: static !important;
        width: 100% !important;
        background: transparent !important;
        padding: 12px 14px 14px 14px !important;
        color: #0f172a !important;
    }
    .box.space-30 .post-item.ver6 .text h2 a {
        color: #0f172a !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
    }
    .box.space-30 .post-item.ver6 .description {
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;
        overflow: hidden !important;
        color: #475569 !important;
    }
    .box.space-30 .post-item.ver6 .tag,
    .box.space-30 .post-item.ver6 .tag .date,
    .box.space-30 .post-item.ver6 .tag .comments {
        color: #64748b !important;
    }
} 