<!doctype html>
<html lang="tr">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

   

    <!-- Favicon -->
    <link rel="icon" type="image/x-icon" href="https://live26.t24.com.tr/assets/img/favicon.ico">
    <link rel="shortcut icon" type="image/x-icon" href="https://live26.t24.com.tr/assets/img/favicon.ico">
    <link rel="icon" type="image/png" sizes="16x16" href="https://live26.t24.com.tr/assets/img/favicon-16x16.png">
    <link rel="icon" type="image/png" sizes="32x32" href="https://live26.t24.com.tr/assets/img/favicon-32x32.png">
    <link rel="apple-touch-icon" sizes="180x180" href="https://live26.t24.com.tr/assets/img/apple-touch-icon.png">
    <link rel="icon" type="image/png" sizes="192x192" href="https://live26.t24.com.tr/assets/img/android-chrome-192x192.png">
    <link rel="icon" type="image/png" sizes="512x512" href="https://live26.t24.com.tr/assets/img/android-chrome-512x512.png">
    <meta name="language" content="Turkish"/>
    
    <!-- CDN Preconnect - Render blocking'i azaltmak için erken bağlantı -->
    <link rel="preconnect" href="https://cdn.jsdelivr.net" crossorigin>
    <link rel="preconnect" href="https://cdnjs.cloudflare.com" crossorigin>
    <link rel="preconnect" href="https://code.jquery.com" crossorigin>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="preconnect" href="https://fonts.cdnfonts.com" crossorigin>
    <link rel="dns-prefetch" href="https://cdn.jsdelivr.net">
    <link rel="dns-prefetch" href="https://cdnjs.cloudflare.com">
    <link rel="dns-prefetch" href="https://code.jquery.com">
    

    <!-- Google tag (gtag.js) - Çerez kabul edildiğinde yüklenecek -->
<script>

  window.dataLayer = window.dataLayer || [];

</script>

<script>!function(){var t=document.createElement("script");t.setAttribute("src",'https://cdn.p.analitik.bik.gov.tr/tracker'+(typeof Intl!=="undefined"?(typeof (Intl||"").PluralRules!=="undefined"?'1':typeof Promise!=="undefined"?'2':typeof MutationObserver!=='undefined'?'3':'4'):'4')+'.js'),t.setAttribute("data-website-id","36df20ca-ba76-443f-b605-5f7807401345"),t.setAttribute("data-host-url",'//36df20ca-ba76-443f-b605-5f7807401345.collector.p.analitik.bik.gov.tr'),document.head.appendChild(t)}();</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-V2E36KRB71"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'G-V2E36KRB71');
</script>   

<!-- bildirt uygulama id bildirtsdk.js için -->
<script>
   var uygulamaid="6008-4074-7093-5528-7505-6";
   </script>
<script async src="https://cdn2.bildirt.com/BildirtSDKfiles.js"></script>
<!-- bildirt son -->


<!-- Yandex.Metrika counter -->
<script type="text/javascript" >
   (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
   m[i].l=1*new Date();
   for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}
   k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
   (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym");

   ym(99297402, "init", {
        clickmap:true,
        trackLinks:true,
        accurateTrackBounce:true,
        webvisor:true
   });
</script>
<noscript><div><img src="https://mc.yandex.ru/watch/99297402" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter -->


    
 
        <title>404 - Sayfa Bulunamadı | T24</title>
    <meta name="description" content="Aradığınız sayfa bulunamadı. T24 ana sayfasına dönebilir veya popüler sayfalarımızı ziyaret edebilirsiniz."/>
    <meta name="robots" content="noindex, nofollow" />
    <link rel="canonical" href="https://t24.com.tr/404" />
    <meta property="og:title" content="404 - Sayfa Bulunamadı | T24" />
    <meta property="og:description" content="Aradığınız sayfa bulunamadı. T24 ana sayfasına dönebilir veya popüler sayfalarımızı ziyaret edebilirsiniz." />
    <meta property="og:type" content="website" />
    <meta property="og:site_name" content="T24" />
    <meta property="og:locale" content="tr_TR" />
    <meta name="twitter:card" content="summary" />
    

    
    

    <!-- Critical CSS: Bootstrap (grid system için gerekli) -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
    
    <!-- Font Preload - Render blocking'i azaltmak için -->
    <link rel="preload" href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"></noscript>
    
    <link rel="preload" href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&display=swap" rel="stylesheet"></noscript>
    
    <link rel="preload" href="https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100..1000&display=swap" rel="stylesheet"></noscript>
    
    <link rel="preload" href="https://fonts.cdnfonts.com/css/midland-luxury" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://fonts.cdnfonts.com/css/midland-luxury" rel="stylesheet"></noscript>
    
    <!-- Critical CSS: Normal yükleme (header için gerekli) -->
    <link rel="stylesheet" href="https://live26.t24.com.tr/assets/css/style.css?v=12">
    <link rel="stylesheet" href="https://live26.t24.com.tr/assets/css/responsive.css?v=9">
    
    <!-- AOS CSS - Defer -->
    <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.4/aos.css" rel="stylesheet"></noscript>
    
    <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"></noscript>
    
    <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css"></noscript>
    
    <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css"></noscript>
    
    <link rel="preload" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"></noscript>
    
    <!-- Flatpickr CSS - Defer -->
    <link rel="preload" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
    <noscript><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css"></noscript>
    
    <!-- LoadCSS Polyfill - Eski tarayıcılar için -->
    <script>
        !function(e){"use strict";var t=function(t,n,o){var i,r=e.document,a=r.createElement("link");if(n)i=n;else{var l=(r.body||r.getElementsByTagName("head")[0]).childNodes;i=l[l.length-1]}var d=r.styleSheets;a.rel="stylesheet",a.href=t,a.media="only x",function e(t){if(r.body)return t();setTimeout(function(){e(t)})}(function(){i.parentNode.insertBefore(a,n?i:i.nextSibling)});var f=function(e){for(var t=a.href,n=d.length;n--;)if(d[n].href===t)return e();setTimeout(function(){f(e)})};return a.addEventListener&&a.addEventListener("load",function(){this.media=o||"all"}),a.onloadcssdefined=f,f(function(){a.media!==o&&(a.media=o||"all")}),a};"undefined"!=typeof exports?exports.loadCSS=t:e.loadCSS=t}("undefined"!=typeof global?global:this);
    </script>





    <!-- JavaScript - jQuery'yi sayfanın sonuna taşıdık (footer'da yüklenecek) -->
    <!-- Flatpickr JS - Defer (jQuery'den sonra yüklenecek) -->
    <script src="https://cdn.jsdelivr.net/npm/flatpickr" defer></script>
    <script defer>
        // DOMContentLoaded'da çalışacak şekilde
        document.addEventListener('DOMContentLoaded', function() {
            if (typeof flatpickr !== 'undefined') {
                flatpickr("input[type='datetime-local']", {
                    dateFormat: "d.m.Y",
                });
            }
        });
    </script>
<!-- Google Ads (gpt.js) - Çerez kabul edildiğinde yüklenecek -->
<!-- Yükleme işlemi _cookie-policy-popup.blade.php içindeki script tarafından yapılacak -->
<script>
  // Google Ads googletag objesi çerez kabul edildiğinde yüklenecek
  window.googletag = window.googletag || {cmd: []};
  window.googletag.cmd = window.googletag.cmd || [];
  
  // googletag için global alias (güvenlik için)
  var googletag = window.googletag;
  
  // Google Ad Manager script'ini direkt yükle (çerez politikasından bağımsız)
  // Script yüklendikten sonra cmd queue'daki tüm komutlar otomatik çalışacak
  (function() {
    // Script'in zaten yüklenip yüklenmediğini kontrol et
    var gptScriptExists = document.querySelector('script[src*="securepubads.g.doubleclick.net/tag/js/gpt.js"]');
    
    if (!gptScriptExists) {
      // Script'i yükle
      var gptScript = document.createElement('script');
      gptScript.async = true;
      gptScript.src = 'https://securepubads.g.doubleclick.net/tag/js/gpt.js';
      gptScript.crossOrigin = 'anonymous';
      gptScript.onload = function() {
        // Script yüklendikten sonra cmd queue'daki tüm komutları çalıştır
        // googletag.cmd.push ile eklenen tüm fonksiyonlar otomatik çalışacak
        console.log('Google Ad Manager script loaded successfully');
      };
      gptScript.onerror = function() {
        console.error('Failed to load Google Ad Manager script');
      };
      document.head.appendChild(gptScript);
    } else {
      // Script zaten yüklenmiş, cmd queue'daki komutları çalıştır
      if (window.googletag && window.googletag.cmd && Array.isArray(window.googletag.cmd)) {
        var cmdQueue = window.googletag.cmd.slice(0);
        cmdQueue.forEach(function(cmd) {
          if (typeof cmd === 'function') {
            try {
              cmd();
            } catch(e) {
              console.error('Google Ads cmd error:', e);
            }
          }
        });
      }
    }
  })();
</script>







<script>
  window.googletag = window.googletag || {cmd: []};
  window.googletag.cmd = window.googletag.cmd || [];
  (window.googletag.cmd || []).push(function() {
    if (window.__t24OutOfPageSlotDefined) {
      return;
    }
    // URL kontrolü - kunye ve resmi-ilan sayfalarını hariç tut
    var url = window.location.href;
    if (!url.includes('/kunye') && !url.includes('/resmi-ilan')) {
      try {
        var outOfPageSlot = googletag.defineOutOfPageSlot('/42427672/Diger/Diger_1x1', 'div-gpt-ad-1731670750525-0');
        if (outOfPageSlot) {
          outOfPageSlot.addService(googletag.pubads());
          window.__t24OutOfPageSlotDefined = true;
        }
      } catch(e) {
        console.error('Error defining out-of-page slot:', e);
      }
    }
  });
</script>



<script>
    window.googletag = window.googletag || {cmd: []};
  window.googletag.cmd = window.googletag.cmd || [];
  (window.googletag.cmd || []).push(function() {
    if (window.__t24GptServicesEnabled) {
      return;
    }
    function t24DisplayDiger1x1() {
      if (!window.__t24OutOfPageSlotDefined) return;
      var u = (window.location.href || '');
      if (u.indexOf('/kunye') !== -1 || u.indexOf('/resmi-ilan') !== -1) return;
      try { googletag.display('div-gpt-ad-1731670750525-0'); } catch (e) { console.error('Diger_1x1 display:', e); }
    }
    // Script yüklendikten sonra bu fonksiyon çalışacak
    if (window.googletag && window.googletag.pubads && typeof window.googletag.pubads === 'function') {
      try {
      googletag.pubads().collapseEmptyDivs();
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
    window.__t24GptServicesEnabled = true;
    t24DisplayDiger1x1();
      } catch(e) {
        console.error('Error enabling Google Ads services:', e);
        // Script henüz yüklenmemişse, biraz bekleyip tekrar dene
        setTimeout(function() {
          if (window.__t24GptServicesEnabled) {
            return;
          }
          if (window.googletag && window.googletag.pubads && typeof window.googletag.pubads === 'function') {
            try {
    googletag.pubads().collapseEmptyDivs();
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
    window.__t24GptServicesEnabled = true;
    t24DisplayDiger1x1();
            } catch(e2) {
              console.error('Error enabling Google Ads services (retry):', e2);
            }
          }
        }, 500);
      }
    }
  });
</script>


<style>
/* Boş video placeholder div'lerini gizle */
.story-content div[style*="padding-bottom:56.25%"]:empty,
.story-content div[style*="padding-bottom: 56.25%"]:empty,
.mobil-haber-detay-card-content-text div[style*="padding-bottom:56.25%"]:empty,
.mobil-haber-detay-card-content-text div[style*="padding-bottom: 56.25%"]:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Google Ads - Reklam alanları için min-height (layout shift önleme) */
[id*="div-gpt-ad"] {
    min-height: 50px;
    display: block;
}
/* Diger_1x1 out-of-page: 1x1 + yayın kodu; min-height 50px reklamı bozar */
.t24-diger-1x1-oop {
    min-height: 0 !important;
    width: 1px !important;
    height: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Tüm reklamlar için sabit height (reklam dolmasa bile boş kalmaması için) */
[id*="div-gpt-ad"] {
    box-sizing: border-box;
}

/* Farklı reklam boyutları için sabit height - Öncelik sırası: Büyükten küçüğe */
/* 600px reklamlar */
[id*="div-gpt-ad"][style*="600px"]:not([style*="1600px"]):not([style*="2600px"]) {
    height: 600px !important;
    min-height: 600px !important;
}

/* 325px reklamlar */
[id*="div-gpt-ad"][style*="325px"]:not([style*="600px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 325px !important;
    min-height: 325px !important;
}

/* 250px reklamlar */
[id*="div-gpt-ad"][style*="250px"]:not([style*="600px"]):not([style*="325px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 250px !important;
    min-height: 250px !important;
}

/* 200px reklamlar */
[id*="div-gpt-ad"][style*="200px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 200px !important;
    min-height: 200px !important;
}

/* 100px reklamlar */
[id*="div-gpt-ad"][style*="100px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 100px !important;
    min-height: 100px !important;
}

/* 90px reklamlar */
[id*="div-gpt-ad"][style*="90px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="50px"]) {
    height: 90px !important;
    min-height: 90px !important;
}

/* 50px reklamlar - En son kontrol edilmeli */
[id*="div-gpt-ad"][style*="50px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]) {
    height: 50px !important;
    min-height: 50px !important;
}

/* Reklam wrapper'ları için sabit height (display: none olsa bile height korunsun) */
.ad-wrapper-fixed {
    width: 300px !important;
    height: 250px !important;
    min-width: 300px !important;
    min-height: 250px !important;
    position: relative !important;
    display: inline-block !important;
}

/* Reklam wrapper'ları için margin ayarları */
.ad-wrapper-fixed {
    margin: 0 auto 20px auto !important;
}

/* Sonradan yüklenen reklamlar için col-12 margin-top: 0 */
.col-12[id*="div-gpt-ad"] {
    margin-top: 0 !important;
}

/* Story inline ad wrapper */
.story-inline-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Article inline ad wrapper */
.article-inline-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Gallery inline ad wrapper */
.gallery-inline-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Sticky sidebar ad */
#div-gpt-ad-story-sidebar-sticky,
#div-gpt-ad-article-sidebar-sticky,
#div-gpt-ad-video-sidebar-sticky {
    position: sticky;
    top: 80px;
    z-index: 10;
}
</style>

 
 
 	





<script>
  window.googletag = window.googletag || {cmd: []};
  window.googletag.cmd = window.googletag.cmd || [];
  (window.googletag.cmd || []).push(function() {
    if (window.__t24GptServicesEnabled) {
      return;
    }
    // Script yüklendikten sonra bu fonksiyon çalışacak
    if (window.googletag && window.googletag.pubads && typeof window.googletag.pubads === 'function') {
      try {
    googletag.pubads().collapseEmptyDivs();
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
    window.__t24GptServicesEnabled = true;
      } catch(e) {
        console.error('Error enabling Google Ads services:', e);
        // Script henüz yüklenmemişse, biraz bekleyip tekrar dene
        setTimeout(function() {
          if (window.__t24GptServicesEnabled) {
            return;
          }
          if (window.googletag && window.googletag.pubads && typeof window.googletag.pubads === 'function') {
            try {
    googletag.pubads().collapseEmptyDivs();
    googletag.pubads().enableSingleRequest();
    googletag.enableServices();
    window.__t24GptServicesEnabled = true;
            } catch(e2) {
              console.error('Error enabling Google Ads services (retry):', e2);
            }
          }
        }, 500);
      }
    }
  });
</script>


<style>
/* Boş video placeholder div'lerini gizle */
.story-content div[style*="padding-bottom:56.25%"]:empty,
.story-content div[style*="padding-bottom: 56.25%"]:empty,
.mobil-haber-detay-card-content-text div[style*="padding-bottom:56.25%"]:empty,
.mobil-haber-detay-card-content-text div[style*="padding-bottom: 56.25%"]:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Google Ads - Reklam alanları için min-height (layout shift önleme) */
[id*="div-gpt-ad"] {
    min-height: 50px;
    display: block;
}
/* Diger_1x1 out-of-page: 1x1 + yayın kodu; min-height 50px reklamı bozar */
.t24-diger-1x1-oop {
    min-height: 0 !important;
    width: 1px !important;
    height: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    clip: rect(0, 0, 0, 0) !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

/* Tüm reklamlar için sabit height (reklam dolmasa bile boş kalmaması için) */
[id*="div-gpt-ad"] {
    box-sizing: border-box;
}

/* Farklı reklam boyutları için sabit height - Öncelik sırası: Büyükten küçüğe */
/* 600px reklamlar */
[id*="div-gpt-ad"][style*="600px"]:not([style*="1600px"]):not([style*="2600px"]) {
    height: 600px !important;
    min-height: 600px !important;
}

/* 325px reklamlar */
[id*="div-gpt-ad"][style*="325px"]:not([style*="600px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 325px !important;
    min-height: 325px !important;
}

/* 250px reklamlar */
[id*="div-gpt-ad"][style*="250px"]:not([style*="600px"]):not([style*="325px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 250px !important;
    min-height: 250px !important;
}

/* 200px reklamlar */
[id*="div-gpt-ad"][style*="200px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="100px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 200px !important;
    min-height: 200px !important;
}

/* 100px reklamlar */
[id*="div-gpt-ad"][style*="100px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="90px"]):not([style*="50px"]) {
    height: 100px !important;
    min-height: 100px !important;
}

/* 90px reklamlar */
[id*="div-gpt-ad"][style*="90px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="50px"]) {
    height: 90px !important;
    min-height: 90px !important;
}

/* 50px reklamlar - En son kontrol edilmeli */
[id*="div-gpt-ad"][style*="50px"]:not([style*="600px"]):not([style*="325px"]):not([style*="250px"]):not([style*="200px"]):not([style*="100px"]):not([style*="90px"]) {
    height: 50px !important;
    min-height: 50px !important;
}

/* Reklam wrapper'ları için sabit height (display: none olsa bile height korunsun) */
.ad-wrapper-fixed {
    width: 300px !important;
    height: 250px !important;
    min-width: 300px !important;
    min-height: 250px !important;
    position: relative !important;
    display: inline-block !important;
}

/* Google AdsbyGoogle elementi için */
ins.adsbygoogle {
    min-height: 50px;
    display: block;
}

/* Ad blocker ile gizlenen reklamlar için placeholder yüksekliği */
[id*="div-gpt-ad"]:empty,
ins.adsbygoogle:empty {
    min-height: 50px;
}
</style>
<script type="text/javascript">
                    window._taboola = window._taboola || [];
                    _taboola.push({article:'auto'});
                    !function (e, f, u, i) {
                      if (!document.getElementById(i)){
                        e.async = 1;
                        e.src = u;
                        e.id = i;
                        f.parentNode.insertBefore(e, f);
                      }
                    }(document.createElement('script'),
                    document.getElementsByTagName('script')[0],
                    '//cdn.taboola.com/libtrc/t24turkey/loader.js',
                    'tb_loader_script');
                    if(window.performance && typeof window.performance.mark == 'function')
                      {window.performance.mark('tbl_ic');}
                  </script>


<script>
    (function () {
        try {
            var d = document;
            var h = d.head || d.getElementsByTagName('head')[0];
            if (!h) return;

            var s = d.createElement('script');
            s.async = true;
            s.src = 'https://cdn.insurads.com/bootstrap/BDW4JDL4.js';
            s.onerror = function () {
                // Third-party script failed; ignore to avoid affecting page scripts.
            };
            h.appendChild(s);
        } catch (e) {
            // Fail-safe: never break page execution for third-party ad bootstrap.
        }
    })();
</script>

<!-- FI TAG - START t24.com.tr -->
<script data-cfasync='false' type='text/javascript'>
    ;(function(o) {
        try {
            var w;
            try {
                // Cross-origin iframe durumunda window.top erişimi hata verebilir.
                void window.top.location.href;
                w = window.top;
            } catch (e) {
                w = window;
            }

            var d = w.document;
            var ft = d.head || d.getElementsByTagName('head')[0];
            if (!d || !ft) return;

            var a = 'apdAdmin';
            var l = String(w.location && w.location.href ? w.location.href : '');
            w.apd_options = o;

            if (l.indexOf('disable_fi') !== -1) {
                return;
            }

            var fiab = d.createElement('script');
            fiab.type = 'text/javascript';
            fiab.async = true;
            fiab.src = o.scheme + 'ecdn.analysis.fi/static/js/fab.js';
            fiab.id = 'fi-' + o.websiteId;
            fiab.onerror = function () {};
            ft.appendChild(fiab);

            if (l.indexOf(a) !== -1 && w.localStorage) {
                w.localStorage[a] = 1;
            }

            var aM = !!(w.localStorage && w.localStorage[a] == 1);
            var fi = d.createElement('script');
            fi.type = 'text/javascript';
            fi.async = true;
            if (aM) fi.setAttribute('data-cfasync', 'false');
            fi.src = o.scheme + (aM ? 'cdn' : 'ecdn') + '.firstimpression.io/' + (aM ? 'fi.js?id=' + o.websiteId : 'fi_client.js');
            fi.onerror = function () {};
            ft.appendChild(fi);
        } catch (e) {
            // Fail-safe: never block other scripts if FI tag fails.
        }
    })({
        'websiteId': 7374, 
        'scheme': '//'
    });
</script>
<!-- FI TAG - END -->
</head>

<div id="div-gpt-ad-1731670750525-0" class="t24-diger-1x1-oop" aria-hidden="true"></div>




    <section class="navigation" style="background: #fff;"> 

    <div class="container">
        <div class="navtop">
            <div class="navigationlinks">
                <ul>
                    <li>
                                                    <a href="https://t24.com.tr"><img class="logo-image" src="https://live26.t24.com.tr/assets/img/logo.svg" alt="T24 Logo"></a>
                                            </li>
            
                </ul>
            </div>

            <div class="navbuttons">

            
            <ul>
                <li>
                    <a class="btnsearch" href="https://t24.com.tr/arama" style="display:none">
                        <img src="https://live26.t24.com.tr/assets/img/search.svg" alt="Ara">
                    </a>
                </li>
            </ul>
            </div>
        </div>
    </div>
</section>

    <section class="mobil-navbar" style="background: #fff;">

    <div class="container">

        <div class="row">
            <div class="mobil-navbar-logo">
                                    <a href="https://t24.com.tr"> <img src="https://live26.t24.com.tr/assets/img/logo.svg" alt="logo"></a>
                            </div>
            
            <div class="mobil-navbar-menu">
                

                <ul>
                    <li><a href="https://t24.com.tr/arama" style="display: none;"><img src="https://live26.t24.com.tr/assets/img/search.svg" alt="search"></a></li>
                    <li><a onclick="openNav()"><svg class="hamburgersvg" width="11" height="9" viewBox="0 0 11 9" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.5 0.75C0.5 0.351562 0.828125 0 1.25 0H10.25C10.6484 0 11 0.351562 11 0.75C11 1.17188 10.6484 1.5 10.25 1.5H1.25C0.828125 1.5 0.5 1.17188 0.5 0.75ZM0.5 4.5C0.5 4.10156 0.828125 3.75 1.25 3.75H10.25C10.6484 3.75 11 4.10156 11 4.5C11 4.92188 10.6484 5.25 10.25 5.25H1.25C0.828125 5.25 0.5 4.92188 0.5 4.5ZM11 8.25C11 8.67188 10.6484 9 10.25 9H1.25C0.828125 9 0.5 8.67188 0.5 8.25C0.5 7.85156 0.828125 7.5 1.25 7.5H10.25C10.6484 7.5 11 7.85156 11 8.25Z" fill="#999CA0"/>
</svg>
</a></li>
                </ul>
            </div>
        </div>


    </div>

    <div id="mySidenav" class="sidenav">

        <div class="container">

            <div class="sidenav-logo-search-content">
                <div class="row">
                    <div class="sidenav-close-button">
                        <a href="javascript:void(0)" class="closebtn" onclick="closeNav()">&times;</a>
                    </div>
                    <div class="sidenav-logo">
                        <a href="https://t24.com.tr"> <img src="https://live26.t24.com.tr/assets/img/logo.svg" alt="logo"></a>
                    </div>
                </div>
                <div class="sidenav-search">
                    <a href="https://t24.com.tr/arama"><img src="https://live26.t24.com.tr/assets/img/search.svg" alt="search"></a>
                </div>
            </div>

        </div>

        <div>
            <div class="sidenav-menu-grid sidenav-menu-background-color">
                <a href="https://t24.com.tr">Anasayfa</a>
                
                <a href="https://t24.com.tr/gundem">Gündem</a>
                <a href="https://t24.com.tr/politika">Politika</a>
                <a href="https://t24.com.tr/ekonomi">Ekonomi</a>
                <a href="https://t24.com.tr/spor">Spor</a>
                <a href="https://t24.com.tr/dunya">Dünya</a>
                <a href="https://t24.com.tr/kultur-sanat">Kültür-Sanat</a>
                <a href="https://t24.com.tr/dunya-basininda-bugun">Dünya Basınında Bugün</a>
                <a href="https://t24.com.tr/medya">Medya</a>
                <a href="https://t24.com.tr/resmi-ilanlar">Resmi İlanlar</a>
                
                <div class="mobile-accordion-item">
                    <a href="javascript:void(0)" class="mobile-accordion-toggle" onclick="toggleMobileAccordion(this)">
                        Diğer
                        <span class="mobile-accordion-icon">+</span>
                    </a>
                    <div class="mobile-accordion-content">
                        <a href="https://t24.com.tr/magazin">Magazin</a>
                        <a href="https://t24.com.tr/cevre">Çevre</a>
                        <a href="https://t24.com.tr/saglik">Sağlık</a>
                        <a href="https://t24.com.tr/egitim">Eğitim</a>
                    </div>
                </div>

                <a href="https://t24.com.tr/iyi-yasa">İyi Yaşa</a>
                
            </div>

            <div class="sidenav-menu-grid sidenav-menu-background-color">
                <a href="https://t24.com.tr/son-dakika">Son Dakika</a>
                <a href="https://t24.com.tr/son-yazilar">Yazarlar</a>
                <a href="https://t24.com.tr/video">Video</a>
                
                <div class="mobile-accordion-item">
                    <a href="javascript:void(0)" class="mobile-accordion-toggle" onclick="toggleMobileAccordion(this)">
                        Programlar
                        <span class="mobile-accordion-icon">+</span>
                    </a>
                    <div class="mobile-accordion-content">
                                                                    </div>
                </div>
                
                <a href="https://t24.com.tr/foto-haber">Galeriler</a>
                
                <a href="https://t24.com.tr/konular">Konular</a>
                <a href="https://t24.com.tr/basin">Basında Bugün</a>
                <a href="https://t24.com.tr/bir-bakista-bugun">Bir Bakışta Bugün</a>
                <a href="https://t24.com.tr/haftalik">T24 Haftalık</a>
                <a href="https://t24.com.tr/hava-durumu">Hava Durumu</a>
                <a href="https://t24.com.tr/doviz">Döviz</a>
                <a href="https://t24.com.tr/editorun-sectikleri">Editörün Seçtikleri Arşivi</a>
                <a href="https://t24.com.tr/manset-arsivi">Manşet Arşivi</a>
                <a href="https://t24.com.tr/gorus">Görüş</a>
            </div>


            <div class="sidenav-menu-grid sidenav-menu-background-color">
                <a href="https://t24.com.tr/hakkimizda">Hakkında</a>
                <a href="https://t24.com.tr/kunye">Künye</a>
                <a href="https://t24.com.tr/reklam">Reklam</a>
                <a href="https://t24.com.tr/sayfalar/kvkk">KVKK</a>
            </div>
        </div>


        <div class="sidenav-menu-social-media">
            <a href="https://x.com/t24comtr"><img src="https://live26.t24.com.tr/assets/img/xicon.svg"
                    alt="x"></a>
            <a href="https://bsky.app/profile/t24.com.tr"><img src="https://live26.t24.com.tr/assets/img/blueskyIcon.svg"
                    alt="blueSky"></a>
            <a href="https://www.facebook.com/T24comtr/"><img src="https://live26.t24.com.tr/assets/img/facebookIcon.svg"
                    alt="facebook"></a>
            <a href="https://www.instagram.com/t24comtr"><img
                    src="https://live26.t24.com.tr/assets/img/instagramIcon.svg" alt="instagram"></a>
            <a href="https://www.youtube.com/c/t24comtrwebtv/videos"><img
                    src="https://live26.t24.com.tr/assets/img/youtubeIcon.svg" alt="youtube"></a>
            <a href="https://www.dailymotion.com/t24comtr/videos"><img
                    src="https://live26.t24.com.tr/assets/img/dailymotionIcon.svg" alt="dailymotion"></a>
            <a href="https://www.linkedin.com/company/t24comtr/"><img
                    src="https://live26.t24.com.tr/assets/img/linkedinIcon.svg" alt="linkedin"></a>
        </div>


    </div>

</section>

<style>
    .mobile-accordion-item {
        width: 100%;
    }

    .mobile-accordion-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 12px 0;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    .mobile-accordion-toggle:hover {
        opacity: 0.8;
    }

    .mobile-accordion-icon {
        font-size: 20px;
        font-weight: bold;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .mobile-accordion-toggle.active .mobile-accordion-icon {
        transform: rotate(45deg);
    }

    .mobile-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 20px;
    }

    .mobile-accordion-content.active {
        max-height: 500px;
    }

    .mobile-accordion-content a {
        display: block;
        padding: 10px 0;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    .mobile-accordion-content a:hover {
        opacity: 0.8;
        padding-left: 10px;
    }

    /* Sub-accordion için stiller (Video alt menüsü) */
    .mobile-accordion-sub-item {
        position: relative;
    }

    .mobile-accordion-sub-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 0;
        cursor: pointer;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    .mobile-accordion-sub-toggle:hover {
        opacity: 0.8;
    }

    .mobile-accordion-sub-icon {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .mobile-accordion-sub-toggle.active .mobile-accordion-sub-icon {
        transform: rotate(45deg);
    }

    .mobile-accordion-sub-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding-left: 20px;
    }

    .mobile-accordion-sub-content.active {
        max-height: 500px;
    }

    .mobile-accordion-sub-content a {
        display: block;
        padding: 8px 0;
        text-decoration: none;
        color: inherit;
        transition: all 0.3s ease;
    }

    .mobile-accordion-sub-content a:hover {
        opacity: 0.8;
        padding-left: 10px;
    }
</style>

<script>
    function toggleMobileAccordion(element) {
        const accordionItem = element.closest('.mobile-accordion-item');
        const accordionContent = accordionItem.querySelector('.mobile-accordion-content');
        const isActive = element.classList.contains('active');

        // Tüm accordion'ları kapat
        document.querySelectorAll('.mobile-accordion-toggle').forEach(function(toggle) {
            toggle.classList.remove('active');
        });
        document.querySelectorAll('.mobile-accordion-content').forEach(function(content) {
            content.classList.remove('active');
        });

        // Eğer tıklanan accordion zaten açık değilse, onu aç
        if (!isActive) {
            element.classList.add('active');
            accordionContent.classList.add('active');
        }
    }

    function toggleMobileSubAccordion(element) {
        const subItem = element.closest('.mobile-accordion-sub-item');
        const subContent = subItem.querySelector('.mobile-accordion-sub-content');
        const isActive = element.classList.contains('active');

        // Aynı parent içindeki diğer sub-accordion'ları kapat
        const parentAccordion = element.closest('.mobile-accordion-content');
        if (parentAccordion) {
            parentAccordion.querySelectorAll('.mobile-accordion-sub-toggle').forEach(function(toggle) {
                if (toggle !== element) {
                    toggle.classList.remove('active');
                }
            });
            parentAccordion.querySelectorAll('.mobile-accordion-sub-content').forEach(function(content) {
                if (content !== subContent) {
                    content.classList.remove('active');
                }
            });
        }

        // Eğer tıklanan sub-accordion zaten açık değilse, onu aç
        if (!isActive) {
            element.classList.add('active');
            subContent.classList.add('active');
        } else {
            element.classList.remove('active');
            subContent.classList.remove('active');
        }
    }
</script>




    <section class="main-menu-slider">
	<div class="container">
		<div class="mainmenusliderwrapper">
		<div class="mainmenusliderowlitem">
		<div class="cursor-pointer menu-toggle" id="menuToggle">
			<svg class="menu-icon" width="25" height="24" viewBox="0 0 25 24" fill="none"><path d="M3.5 12H21.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.5 6H21.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.5 18H21.5" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
			<svg class="close-icon" width="25" height="24" viewBox="0 0 25 24" fill="none" style="display: none;"><path d="M18.5 6L6.5 18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M6.5 6L18.5 18" stroke="black" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>
		</div>
		<div class="dropdown-menu" id="dropdownMenu" style="display: none;">
			<div class="dropdown-content">
															<a href="https://t24.com.tr/basin" target="_self">Basında Bugün</a>
																				<a href="https://t24.com.tr/bir-bakista-bugun" target="_self">Bir Bakışta Bugün</a>
																				<a href="https://t24.com.tr/foto-haber" target="_self">Galeriler</a>
																				<a href="https://t24.com.tr/konular" target="_self">Konular</a>
																				<a href="https://t24.com.tr/hava-durumu" target="_self">Hava Durumu</a>
																				<a href="https://t24.com.tr/doviz" target="_self">Döviz</a>
																				<a href="https://t24.com.tr/manset-arsivi" target="_self">Manşet Arşivi</a>
													<a href="https://t24.com.tr/gorus" target="_blank">Görüş</a>
				<a href="https://t24.com.tr/sayfalar/kvkk" target="_blank">KVKK</a>
			</div>
		</div>
			</div>
			
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/son-dakika" target="_blank">Son Dakika</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/gundem" target="_blank">Gündem</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/son-yazilar" target="_blank">Yazarlar</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/politika" target="_blank">Politika</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/video" target="_blank">Video</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/spor" target="_blank">Spor</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/ekonomi" target="_blank">Ekonomi</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/iyi-yasa" target="_blank">İyi Yaşa</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/dunya" target="_blank">Dünya</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/kultur-sanat" target="_blank">Kültür-Sanat</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/resmi-ilanlar" target="_blank">Resmi İlanlar</a>
					</p>
				</div>
							<div class="mainmenusliderowlitem">
					<p>
						<a href="https://t24.com.tr/haftalik" target="_blank">Haftalık</a>
					</p>
				</div>
					</div>

	</div>
</section>

<style>
	/* Video Dropdown Özel Stilleri - Tüm parent container'lar için overflow visible */
	.main-menu-slider,
	.main-menu-slider .container,
	.mainmenusliderwrapper,
	.mainmenusliderowlitem,
	.mainmenusliderowlitem #dropdownMenu,
	.mainmenusliderowlitem #dropdownMenu .dropdown-content {
		overflow: visible !important;
	}

	/* Dropdown content */
	#dropdownMenu .dropdown-content {
		overflow: visible !important;
		position: relative !important;
	}

	/* Dropdown item wrapper */
	#dropdownMenu .dropdown-item-wrapper {
		position: relative !important;
		display: block !important;
		overflow: visible !important;
	}

	/* Video dropdown wrapper */
	#dropdownMenu .video-dropdown-wrapper {
		position: relative !important;
		display: block !important;
		overflow: visible !important;
		z-index: 1 !important;
	}

	/* Video link */
	#dropdownMenu .video-dropdown-wrapper > a {
		position: relative !important;
		display: block !important;
		padding: 10px 20px !important;
		color: #333 !important;
		text-decoration: none !important;
		white-space: nowrap !important;
		font-size: 14px !important;
		line-height: 1.5 !important;
		transition: background-color 0.2s ease !important;
		z-index: 1 !important;
	}

	#dropdownMenu .video-dropdown-wrapper > a:hover {
		background-color: #f5f5f5 !important;
	}

	/* Sub dropdown menu - Video alt menüsü */
	#dropdownMenu .video-dropdown-wrapper .sub-dropdown-menu,
	#dropdownMenu .video-dropdown-wrapper .video-sub-menu {
		position: absolute !important;
		left: 100% !important;
		top: 0 !important;
		background: #ffffff !important;
		border: 1px solid #ddd !important;
		border-radius: 4px !important;
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
		min-width: 220px !important;
		max-width: 300px !important;
		opacity: 0 !important;
		visibility: hidden !important;
		transform: translateX(-10px) !important;
		transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease !important;
		z-index: 99999 !important;
		padding: 8px 0 !important;
		margin-left: 8px !important;
		display: block !important;
		pointer-events: none !important;
		overflow: visible !important;
	}

	/* Hover durumunda sub dropdown görünür */
	#dropdownMenu .video-dropdown-wrapper:hover .sub-dropdown-menu,
	#dropdownMenu .video-dropdown-wrapper:hover .video-sub-menu {
		opacity: 1 !important;
		visibility: visible !important;
		transform: translateX(0) !important;
		pointer-events: auto !important;
		display: block !important;
	}

	/* Sub dropdown içindeki linkler */
	#dropdownMenu .video-dropdown-wrapper .sub-dropdown-menu a,
	#dropdownMenu .video-dropdown-wrapper .video-sub-menu a {
		display: block !important;
		padding: 12px 20px !important;
		color: #333 !important;
		text-decoration: none !important;
		transition: background-color 0.2s ease !important;
		white-space: nowrap !important;
		font-size: 14px !important;
		line-height: 1.5 !important;
		visibility: visible !important;
		opacity: 1 !important;
		border-bottom: 1px solid #f0f0f0 !important;
	}

	#dropdownMenu .video-dropdown-wrapper .sub-dropdown-menu a:last-child,
	#dropdownMenu .video-dropdown-wrapper .video-sub-menu a:last-child {
		border-bottom: none !important;
	}

	#dropdownMenu .video-dropdown-wrapper .sub-dropdown-menu a:hover,
	#dropdownMenu .video-dropdown-wrapper .video-sub-menu a:hover {
		background-color: #f5f5f5 !important;
		color: #007bff !important;
	}

	/* Ekstra güvenlik - tüm parent'lar için */
	.mainmenusliderowlitem .video-dropdown-wrapper {
		overflow: visible !important;
	}

	.mainmenusliderowlitem .video-dropdown-wrapper .sub-dropdown-menu,
	.mainmenusliderowlitem .video-dropdown-wrapper .video-sub-menu {
		white-space: nowrap !important;
		overflow: visible !important;
	}
</style>

<script>
	document.addEventListener('DOMContentLoaded', function() {
		const menuToggle = document.getElementById('menuToggle');
		const dropdownMenu = document.getElementById('dropdownMenu');
		const menuIcon = menuToggle.querySelector('.menu-icon');
		const closeIcon = menuToggle.querySelector('.close-icon');
		
		// Toggle dropdown
		menuToggle.addEventListener('click', function(e) {
			e.stopPropagation();
			const isOpen = dropdownMenu.style.display === 'block';
			
			if (isOpen) {
				closeDropdown();
			} else {
				openDropdown();
			}
		});
		
		// Close dropdown when clicking outside
		document.addEventListener('click', function(e) {
			if (!menuToggle.contains(e.target) && !dropdownMenu.contains(e.target)) {
				closeDropdown();
			}
		});
		
		// Close dropdown when clicking on close icon
		closeIcon.addEventListener('click', function(e) {
			e.stopPropagation();
			closeDropdown();
		});
		
		// Prevent dropdown from closing when clicking inside it
		dropdownMenu.addEventListener('click', function(e) {
			e.stopPropagation();
		});
		
		function openDropdown() {
			dropdownMenu.style.display = 'block';
			dropdownMenu.style.visibility = 'visible';
			dropdownMenu.style.opacity = '1';
			dropdownMenu.style.position = 'absolute';
			dropdownMenu.style.zIndex = '9999';
			dropdownMenu.style.overflow = 'visible';
			menuIcon.style.display = 'none';
			closeIcon.style.display = 'block';
			
			// Dropdown content overflow'u da visible yap
			const dropdownContent = dropdownMenu.querySelector('.dropdown-content');
			if (dropdownContent) {
				dropdownContent.style.overflow = 'visible';
			}
			
			// Debug
			console.log('Dropdown opened:', {
				display: dropdownMenu.style.display,
				visibility: dropdownMenu.style.visibility,
				opacity: dropdownMenu.style.opacity,
				zIndex: dropdownMenu.style.zIndex,
				computedStyle: window.getComputedStyle(dropdownMenu).display
			});
		}
		
		function closeDropdown() {
			dropdownMenu.style.display = 'none';
			dropdownMenu.style.visibility = 'hidden';
			dropdownMenu.style.opacity = '0';
			menuIcon.style.display = 'block';
			closeIcon.style.display = 'none';
		}
	});

	// Aktif menü öğesini belirle
	document.addEventListener('DOMContentLoaded', function() {
		const currentPath = window.location.pathname;
		
		// URL'yi normalize et (başındaki ve sonundaki slash'leri temizle ve küçük harfe çevir)
		const normalizePath = function(path) {
			return path.replace(/^\/+|\/+$/g, '').toLowerCase();
		};
		
		const normalizedCurrentPath = normalizePath(currentPath);
		
		// Tüm menü öğelerini kontrol et
		const menuItems = document.querySelectorAll('.mainmenusliderowlitem');
		
		menuItems.forEach(function(item) {
			const link = item.querySelector('a');
			if (link) {
				const href = link.getAttribute('href');
				if (!href || href === '#') return;
				
				// Link path'ini al
				let linkPath = href;
				try {
					// Tam URL ise pathname'i al
					if (href.startsWith('http://') || href.startsWith('https://')) {
						linkPath = new URL(href).pathname;
					} else if (href.startsWith('/')) {
						// Relative URL ise olduğu gibi kullan
						linkPath = href;
					} else {
						// Relative path ise
						linkPath = '/' + href;
					}
				} catch (e) {
					// Hata durumunda href'i olduğu gibi kullan
					linkPath = href.startsWith('/') ? href : '/' + href;
				}
				
				const normalizedLinkPath = normalizePath(linkPath);
				
				// Path'leri karşılaştır
				if (normalizedCurrentPath === normalizedLinkPath) {
					item.classList.add('active');
				}
			}
		});
	});

	// Aynı sayfaya giden target="_blank" menü linklerini aynı sekmeye düşür.
	// Dış linklerin yeni sekme davranışı korunur.
	document.addEventListener('DOMContentLoaded', function() {
		const currentUrl = new URL(window.location.href);

		const normalizePath = function(path) {
			let p = (path || '').replace(/\/+$/, '');
			return p === '' ? '/' : p.toLowerCase();
		};

		const currentPath = normalizePath(currentUrl.pathname);
		const currentSearch = (currentUrl.search || '').toLowerCase();

		const links = document.querySelectorAll('.mainmenusliderwrapper a[target="_blank"]');
		links.forEach(function(link) {
			const href = link.getAttribute('href');
			if (!href || href === '#') return;

			let linkUrl;
			try {
				linkUrl = new URL(href, window.location.origin);
			} catch (e) {
				return;
			}

			if (linkUrl.origin !== currentUrl.origin) return;

			const linkPath = normalizePath(linkUrl.pathname);
			const linkSearch = (linkUrl.search || '').toLowerCase();

			if (linkPath === currentPath && linkSearch === currentSearch) {
				link.setAttribute('target', '_self');
			}
		});
	});
</script>


    
<section class="error-404-page">
    <div class="container">
        <div class="error-404-content">
            <div class="error-404-icon">
                <svg width="200" height="200" viewBox="0 0 200 200" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <circle cx="100" cy="100" r="90" stroke="#e0e0e0" stroke-width="2" fill="none"/>
                    <text x="100" y="120" font-size="80" font-weight="bold" fill="#333" text-anchor="middle">404</text>
                </svg>
            </div>
            
            <h1 class="error-404-title">Sayfa Bulunamadı</h1>
            
            <p class="error-404-description">
                Aradığınız sayfa taşınmış, silinmiş veya hiç var olmamış olabilir.
            </p>
            
            <div class="error-404-actions">
                <a href="https://t24.com.tr" class="btn-home">
                    <span>Ana Sayfaya Dön</span>
                </a>
                <a href="javascript:history.back()" class="btn-back">
                    <span>Önceki Sayfaya Dön</span>
                </a>
            </div>
            
            <div class="error-404-suggestions">
                <h2>Popüler Sayfalar</h2>
                <ul class="suggested-links">
                    <li><a href="https://t24.com.tr/son-dakika">Son Dakika</a></li>
                    <li><a href="https://t24.com.tr/gundem">Gündem</a></li>
                    <li><a href="https://t24.com.tr/ekonomi">Ekonomi</a></li>
                    <li><a href="https://t24.com.tr/spor">Spor</a></li>
                    <li><a href="https://t24.com.tr/teknoloji">Teknoloji</a></li>
                    <li><a href="https://t24.com.tr/gorus">Görüş</a></li>
                    <li><a href="https://t24.com.tr/video">Video</a></li>
                    <li><a href="https://t24.com.tr/foto-haber">Galeri</a></li>
                </ul>
            </div>
        </div>
    </div>
</section>

<style>
.error-404-page {
    padding: 80px 0;
    min-height: 60vh;
    background: #f8f9fa;
}

.error-404-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.error-404-icon {
    margin-bottom: 30px;
    animation: fadeInDown 0.6s ease-out;
}

.error-404-icon svg {
    max-width: 200px;
    height: auto;
}

.error-404-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.error-404-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.error-404-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.6s ease-out 0.6s both;
}

.btn-home,
.btn-back {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-home {
    background: #0181c2;
    color: #fff;
}

.btn-home:hover {
    background: #016ba3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(1, 129, 194, 0.3);
}

.btn-back {
    background: transparent;
    color: #333;
    border-color: #ddd;
}

.btn-back:hover {
    background: #f5f5f5;
    border-color: #bbb;
    transform: translateY(-2px);
}

.error-404-suggestions {
    animation: fadeInUp 0.6s ease-out 0.8s both;
}

.error-404-suggestions h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.suggested-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.suggested-links li {
    margin: 0;
}

.suggested-links a {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.suggested-links a:hover {
    background: #0181c2;
    color: #fff;
    border-color: #0181c2;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(1, 129, 194, 0.2);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .error-404-page {
        padding: 40px 0;
    }
    
    .error-404-title {
        font-size: 28px;
    }
    
    .error-404-description {
        font-size: 16px;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-home,
    .btn-back {
        width: 100%;
        text-align: center;
    }
    
    .suggested-links {
        flex-direction: column;
        align-items: stretch;
    }
    
    .suggested-links a {
        width: 100%;
        text-align: center;
    }
}
</style>




    <section class="footer">
    <div class="container">

<div class="footer-top-content">
<div class="footer-logo">
                    <a href=""> <img src="https://live26.t24.com.tr/assets/img/t24footerlogo.png" alt="T24"></a>
                </div>
    
</div>

        <div class="row">
        <!--  
        <div class="footer-left">
                <div class="footer-logo">
                    <a href=""> <img src="https://live26.t24.com.tr/assets/img/t24footerlogo.png" alt="T24"></a>
                </div>

                                                <div class="grid-container">
                                                            <div class="grid-item"><a href="https://live26.t24.com.tr/sayfalar/kunye">Künye</a></div>
                                                            <div class="grid-item"><a href="https://t24.com.tr/sayfalar/t24-reklam">REKLAM</a></div>
                                                            <div class="grid-item"><a href="">KARİYER</a></div>
                                                            <div class="grid-item"><a href="">KULLANIM &amp; GİZLİLİK ŞARTLARI</a></div>
                                                            <div class="grid-item"><a href="">HABER BİLDİR</a></div>
                                                            <div class="grid-item"><a href="/yazarlar">YAZARLAR</a></div>
                                                            <div class="grid-item"><a href="">İLETİŞİM</a></div>
                                                            <div class="grid-item"><a href="/sss">SSS</a></div>
                                                            <div class="grid-item"><a href="/destek">DESTEK</a></div>
                                                            <div class="grid-item"><a href="https://t24.com.tr/sayfalar/t24-hakkinda">HAKKINDA</a></div>
                                                    </div>
                        
                <div class="footer-social">
                    <ul>
                        <li><a href=""><img src="https://live26.t24.com.tr/assets/img/youtube.svg"
                                    alt=""></a></li>
                        <li><a href=""><img src="https://live26.t24.com.tr/assets/img/twitter.svg"
                                    alt=""></a></li>
                        <li><a href=""><img src="https://live26.t24.com.tr/assets/img/instagram.svg"
                                    alt=""></a></li>
                    </ul>
                </div>

            </div>
-->
            <div class="footer-logo-side">

<div class="footer-social-icons">
<ul>
<li>
        <a href="https://www.instagram.com/t24comtr">
            <img src="https://live26.t24.com.tr/assets/img/t24instagram.png" alt="Instagram">
        </a>
    </li>
    <li>
        <a href="https://www.facebook.com/T24comtr/">
            <img src="https://live26.t24.com.tr/assets/img/t24facebook.png" alt="Facebook">
        </a>
    </li>
    <li>
        <a href="https://x.com/t24comtr">
            <img src="https://live26.t24.com.tr/assets/img/t24x.png" alt="X">
        </a>
    </li>
    <li>
        <a href="https://www.linkedin.com/company/t24comtr/">
            <img src="https://live26.t24.com.tr/assets/img/t24linkedin.png" alt="Linkedin">
        </a>
    </li>
    <li>
        <a href="https://www.youtube.com/c/t24comtrwebtv/videos">
            <img src="https://live26.t24.com.tr/assets/img/t24youtube.png" alt="Youtube">
        </a>
    </li>
   
</ul>
</div>
<!--
            <div class="footer-subs-btn">
        <a href="">Abone Olun</a>
    </div>
-->

    <div class="footer-store-logo">

<a href="https://apps.apple.com/tr/app/t24/id6740864081" target="_blank"><img src="https://live26.t24.com.tr/assets/img/t24appstore.png" alt="App Store"></a>

</div>

<div class="footer-store-logo">

<a href="https://play.google.com/store/apps/details?id=com.app.t24&hl=tr" target="_blank"><img src="https://live26.t24.com.tr/assets/img/t24googleplay.png" alt="Google Play"></a>

</div>

                      

            </div>


            <div class="footer-middle-side">
               <h4>Kategoriler</h4>
               <div class="grid-container">
                    
                            <div class="grid-item">
                                <a href="https://t24.com.tr/gundem">Gündem</a>
                                
                            </div>
                            
                            <div class="grid-item">
                                <a href="https://t24.com.tr/egitim">Eğitim</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/spor">Spor</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/resmi-ilanlar">Resmi İlanlar</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/haber/iyi-yasa">İyi Yaşam</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/politika">Politika</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/t24-podcast">T24 Podcast</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/medya">Medya</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/dunya">Dünya</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/dunya">Dünya Basınında Bugün</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/kultur-sanat">Kültür-Sanat</a>
                                
                            </div>
                            <div class="grid-item">
                                <a href="https://t24.com.tr/ekonomi">Ekonomi</a>
                                
                            </div>
                          
                
                </div>
            </div>


            <div class="footer-right-side">
            <h4><a href="https://t24.com.tr/sayfalar/kvkk">KVKK</a></h4>
              
            </div>

            <div class="footer-right-last-side">
            <h4><a href="https://t24.com.tr/sayfalar/t24-iletisim">İletişim</a></h4>
            <ul>
                <li>
                    <a href="https://t24.com.tr/hakkinda">Hakkımızda</a>
                </li>
                <li>
                    <a href="https://t24.com.tr/kunye">Künye</a>
                </li>
                <li>
                    <a href="https://t24.com.tr/reklam">Reklam Ver</a>
                </li>
              
                </ul>
            </div> 


          
        </div>
        
    </div>

    
</section>

<div class="footer-bottom-content">
        <div class="container">
          <p>T24. Tüm Hakları Saklıdır.</p>
        </div>
        </div>


<!-- jQuery - Sayfanın sonunda yükle (render blocking'i azaltmak için) -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

<!-- Passive Event Listeners Polyfill - Mobil performans için -->
<script>
    // Touch event listener'larını otomatik olarak passive yap (performans iyileştirmesi)
    (function() {
        if (typeof window.addEventListener === 'undefined') return;
        
        var supportsPassive = false;
        try {
            var opts = Object.defineProperty({}, 'passive', {
                get: function() {
                    supportsPassive = true;
                }
            });
            window.addEventListener('testPassive', null, opts);
            window.removeEventListener('testPassive', null, opts);
        } catch (e) {}
        
        if (!supportsPassive) return; // Eski tarayıcılar için çık
        
        // EventTarget.prototype.addEventListener'i override et
        var originalAddEventListener = EventTarget.prototype.addEventListener;
        EventTarget.prototype.addEventListener = function(type, listener, options) {
            // Touch event'leri için passive ekle (eğer zaten belirtilmemişse)
            if (type === 'touchstart' || type === 'touchmove') {
                if (typeof options === 'boolean') {
                    options = { capture: options, passive: true };
                } else if (typeof options === 'object' && options !== null) {
                    if (options.passive === undefined) {
                        options = Object.assign({}, options, { passive: true });
                    }
                } else {
                    options = { passive: true };
                }
            }
            return originalAddEventListener.call(this, type, listener, options);
        };
    })();
</script>

<!-- Bootstrap JS - jQuery'den sonra yüklenecek -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
    integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
</script>
<!-- OwlCarousel JS - jQuery'den sonra yüklenecek -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>




<script>
    $(document).ready(function() {
        var owl = $(".koseyazilari");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false, // Varsayılan butonları kapat
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 2
                },
                1000: {
                    items: 4
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".kose-yazilari-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".kose-yazilari-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>



<script>
    $(document).ready(function() {
        var owl = $(".koseyazilariw50");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false, // Varsayılan butonları kapat
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 2
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".custom-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".custom-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>

<script>
    $(document).ready(function() {
        var owl = $(".bbbowl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false, // Varsayılan butonları kapat
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 30,
            responsive: {
                0: {
                    items: 1

                },
                600: {
                    items: 2
                },
                1000: {
                    items: 4
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".custom-prev-btn-bbb").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".custom-next-btn-bbb").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>

<script>
    $(document).ready(function() {
        var owl = $(".mainsliderowl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false,
            dots: true,
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 1
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".mainslider-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".mainslider-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });


    });
</script>


<script>
    if ($('.dropdown-toggle').length > 0) {

        const dropdown = document.getElementById('customDropdown');
        const toggle = dropdown.querySelector('.dropdown-toggle');
        const menu = dropdown.querySelector('.dropdown-menu');
        const options = dropdown.querySelectorAll('.dropdown-menu div');

        toggle.addEventListener('click', () => {
            dropdown.classList.toggle('open');
        });

        options.forEach(option => {
            option.addEventListener('click', () => {
                toggle.textContent = option.textContent;
                dropdown.classList.remove('open');
                console.log('Seçilen değer:', option.dataset.value); // kullanmak için
            });
        });

        // Menü dışında tıklanırsa kapat
        document.addEventListener('click', (e) => {
            if (!dropdown.contains(e.target)) {
                dropdown.classList.remove('open');
            }
        });

    }
</script>






<script>
    $(document).ready(function() {
        var owl = $(".vidprogowl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false, // Varsayılan butonları kapat
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 2
                },
                1000: {
                    items: 4
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".custom-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".custom-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>


<script>
    $(document).ready(function() {
        var owl = $(".mobile-yazarlar-slider-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false,
            dots: true,
            autoplay: true,
            autoplayTimeout: 4000,
            smartSpeed: 1200, // Geçiş animasyonu süresi (ms)
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 3
                }
            }
        });

        $(".anasayfa-yazarlar-prev-btn").click(function() {
        owl.trigger("prev.owl.carousel");
    });

    $(".anasayfa-yazarlar-next-btn").click(function() {
        owl.trigger("next.owl.carousel");
    });


    });


  
</script>


<script>
    $(document).ready(function() {
        var owl = $(".basinda-bugun-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 10,
            nav: false,
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 4
                },
                600: {
                    items: 2
                },
                1000: {
                    items: 2
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".basinda-bugun-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".basinda-bugun-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>


<script>
    $(document).ready(function() {
        var owl = $(".anasayfa-siyahbg-video-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 10,
            nav: false,
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 2
                },
                1000: {
                    items: 3
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".anasayfa-siyahbg-video-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".anasayfa-siyahbg-video-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });
    });
</script>


<script>
    $(document).ready(function() {
        var owl = $(".anasayfa-haftalik-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 20,
            nav: false,
            dots: true,
            autoplay: false,
            autoplayTimeout: 4000,
            smartSpeed: 1200, // Geçiş animasyonu süresi (ms)
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 2
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".anasayfa-haftalik-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".anasayfa-haftalik-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });


    });
</script>



<script>
    $(document).ready(function() {
        var owl = $(".anasayfa-mobil-galeri-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 10,
            nav: false, // Varsayılan butonları kapat
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 30,
            responsive: {
                0: {
                    items: 1

                },
                600: {
                    items: 2
                },
                1000: {
                    items: 3
                }
            }
        });

        // Özel butonları Owl Carousel ile bağlama
        $(".anasayfa-galeri-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".anasayfa-galeri-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });



    });
</script>





<script>
    $(document).ready(function() {
        var owl = $(".mobil-videolar-owl");

        owl.owlCarousel({
            loop: true,
            center: false,
            margin: 0,
            nav: false,
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 1
                }
            }
        });


        // Özel butonları Owl Carousel ile bağlama  // Özel butonları Owl Carousel ile bağlama
        $(".custom-prev-video-anasayfa").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".custom-next-video-anasayfa").click(function() {
            owl.trigger("next.owl.carousel");
        });


    });
</script>

<script>
    /*
    $(window).scroll(function() {

        if ($(document).scrollTop() > 320) {

            $('.mobil-navbar').addClass('mobilemenu-follow');

        } else {

            $('.mobil-navbar').removeClass('mobilemenu-follow');

        }

    });
    */
</script>

<script>
    $(window).scroll(function() {

        if ($(document).scrollTop() > 10) {

            $('.navigation').addClass('navigation-follow');

        } else {

            $('.navigation').removeClass('navigation-follow');

        }

    });
</script>



<script>
    /*
    $(window).scroll(function() {

        if ($(document).scrollTop() > 320) {

            $('.main-menu-slider').addClass('main-menu-slider-follow');

        } else {

            $('.main-menu-slider').removeClass('main-menu-slider-follow');

        }

    });
   */
</script>


<script>
    const input = document.getElementById("searchInputYazar");
    const dropdownYazar = document.getElementById("dropdown");
    if (input && dropdownYazar) {
        input.addEventListener("input", function() {
            const value = this.value.toLowerCase();
            dropdownYazar.innerHTML = "";

            if (value === "") {
                dropdownYazar.style.display = "none";
                return;
            }

            const filtered = dropdownitems.filter(item => item.toLowerCase().includes(value));

            if (filtered.length === 0) {
                dropdownYazar.style.display = "none";
                return;
            }

            filtered.forEach(item => {
                const div = document.createElement("div");
                div.textContent = item;
                div.onclick = () => {
                    input.value = item;
                    dropdown.style.display = "none";
                };
                dropdownYazar.appendChild(div);
            });

            dropdownYazar.style.display = "block";
        });

        document.addEventListener("click", (e) => {
            if (!e.target.closest(".search-container")) {
                dropdownYazar.style.display = "none";
            }
        });

    }
</script>

<script>
    $(document).ready(function() {
        var owl = $(".bir-bakista-bugun-owl");

        owl.owlCarousel({
            loop: false,
            center: false,
            margin: 0,
            dots: true,
            dotsData: true,
            nav: false,
            autoplay: false,
            autoplayTimeout: 3000,
            stagePadding: 0,
            responsive: {
                0: {
                    items: 1
                },
                600: {
                    items: 1
                },
                1000: {
                    items: 1
                }
            }
        });

        owl.on('changed.owl.carousel', function(event) {
            var currentIndex = event.item.index;

            // Aktif class güncelle
            $('.custom-dots span').removeClass('active');
            var activeDot = $('.custom-dots span[data-slide="' + currentIndex + '"]');
            activeDot.addClass('active');

            // 🔥 Aktif dot görünmüyorsa scroll et
            // scrollIntoView ile yumuşak kaydırma
            activeDot[0].scrollIntoView({
                behavior: 'smooth',
                inline: 'center', // 'nearest', 'start' veya 'center' olabilir
                block: 'nearest'
            });
        });

        // Custom dot tıklama ile slider geçişi
        $('.custom-dots span').click(function() {
            var index = $(this).data('slide');
            owl.trigger('to.owl.carousel', [index, 300]);

            // Aktif class'ı güncelle
            $('.custom-dots span').removeClass('active');
            $(this).addClass('active');
        });

        // 🌀 SLIDER DEĞİŞTİĞİNDE DOTA OTOMATİK AKTİF VER
        owl.on('changed.owl.carousel', function(event) {
            var currentIndex = event.item.index;
            $('.custom-dots span').removeClass('active');
            $('.custom-dots span[data-slide="' + currentIndex + '"]').addClass('active');
        });

        // İlk dot'u başlangıçta aktif yap
        $('.custom-dots span').first().addClass('active');

        // Özel butonları Owl Carousel ile bağlama
        $(".custom-prev-btn").click(function() {
            owl.trigger("prev.owl.carousel");
        });

        $(".custom-next-btn").click(function() {
            owl.trigger("next.owl.carousel");
        });

    });
</script>

<script>
    function openNav() {
        document.getElementById("mySidenav").style.width = "100%";
    }

    function closeNav() {
        document.getElementById("mySidenav").style.width = "0";
    }
</script>



<script>
    // Resmi ilanlar sayfasında bu script'i çalıştırma (kendi datepicker'ı var)
    const isOfficialAnnouncementPage = window.location.pathname.includes('/resmi-ilanlar');
    
    if (!isOfficialAnnouncementPage && document.getElementById('tarih') && document.getElementById('datepickerDropdown') && document.getElementById(
            'currentMonthYear') && document.getElementById('datepickerGrid') && document.getElementById('prevMonth') &&
        document.getElementById('nextMonth') && document.getElementById('clearDate') && document.getElementById(
            'todayDate')) {



        // Set initial date if year, month, day parameters exist
                    const initialDate = new Date();
        

        class CustomDatePicker {
            constructor() {
                this.input = document.getElementById('tarih');
                this.dropdown = document.getElementById('datepickerDropdown');
                this.currentMonthYear = document.getElementById('currentMonthYear');
                this.grid = document.getElementById('datepickerGrid');
                this.prevBtn = document.getElementById('prevMonth');
                this.nextBtn = document.getElementById('nextMonth');
                this.clearBtn = document.getElementById('clearDate');
                this.todayBtn = document.getElementById('todayDate');

                this.currentDate = new Date(initialDate);
                this.selectedDate = new Date(initialDate);
                this.isOpen = false;

                this.monthNames = [
                    'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran',
                    'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık'
                ];

                this.dayNames = ['Pt', 'Sa', 'Ça', 'Pe', 'Cu', 'Ct', 'Pz'];

                this.init();
            }

            init() {
                this.renderCalendar();
                this.bindEvents();
                this.input.value = this.formatDate(this.selectedDate);

            }

            bindEvents() {
                // Input tıklama
                this.input.addEventListener('click', () => {
                    this.toggle();
                });

                // Dropdown dışına tıklama
                document.addEventListener('click', (e) => {
                    if (!this.input.contains(e.target) && !this.dropdown.contains(e.target)) {
                        this.close();
                    }
                });

                // Navigasyon butonları
                this.prevBtn.addEventListener('click', () => {
                    this.currentDate.setMonth(this.currentDate.getMonth() - 1);
                    this.renderCalendar();
                });

                this.nextBtn.addEventListener('click', () => {
                    this.currentDate.setMonth(this.currentDate.getMonth() + 1);
                    this.renderCalendar();
                });

                // Aksiyon butonları
                this.clearBtn.addEventListener('click', () => {
                    this.clearDate();
                });

                this.todayBtn.addEventListener('click', () => {
                    this.selectToday();
                });
            }

            renderCalendar() {
                const year = this.currentDate.getFullYear();
                const month = this.currentDate.getMonth();

                // Ay ve yıl başlığını güncelle
                this.currentMonthYear.textContent = `${this.monthNames[month]} ${year}`;

                // Grid'i temizle
                this.grid.innerHTML = '';

                // Gün başlıklarını ekle
                this.dayNames.forEach(day => {
                    const dayHeader = document.createElement('div');
                    dayHeader.className = 'datepicker-day-header';
                    dayHeader.textContent = day;
                    this.grid.appendChild(dayHeader);
                });

                // Ayın ilk günü ve son günü
                const firstDay = new Date(year, month, 1);
                const lastDay = new Date(year, month + 1, 0);
                const daysInMonth = lastDay.getDate();
                const startingDayOfWeek = (firstDay.getDay() + 6) % 7; // Pazartesi'den başlayacak şekilde ayarla

                // Önceki ayın günlerini ekle
                const prevMonth = new Date(year, month, 0);
                const daysInPrevMonth = prevMonth.getDate();

                for (let i = startingDayOfWeek - 1; i >= 0; i--) {
                    const day = document.createElement('div');
                    day.className = 'datepicker-day other-month';
                    day.textContent = daysInPrevMonth - i;
                    this.grid.appendChild(day);
                }

                // Bu ayın günlerini ekle
                const today = new Date();
                for (let day = 1; day <= daysInMonth; day++) {
                    const dayElement = document.createElement('div');
                    dayElement.className = 'datepicker-day';
                    dayElement.textContent = day;

                    // Bugün kontrolü
                    if (year === today.getFullYear() && month === today.getMonth() && day === today.getDate()) {
                        dayElement.classList.add('today');
                    }

                    // Seçili gün kontrolü
                    if (this.selectedDate &&
                        year === this.selectedDate.getFullYear() &&
                        month === this.selectedDate.getMonth() &&
                        day === this.selectedDate.getDate()) {
                        dayElement.classList.add('selected');
                    }

                    dayElement.addEventListener('click', () => {
                        this.selectDate(new Date(year, month, day));
                    });

                    this.grid.appendChild(dayElement);
                }

                // Sonraki ayın günlerini ekle (takvimi tamamlamak için)
                const totalCells = this.grid.children.length - 7; // Gün başlıklarını çıkar
                const remainingCells = 42 - totalCells; // 6 satır x 7 gün = 42 hücre

                for (let day = 1; day <= remainingCells; day++) {
                    const dayElement = document.createElement('div');
                    dayElement.className = 'datepicker-day other-month';
                    dayElement.textContent = day;
                    this.grid.appendChild(dayElement);
                }
            }

            selectDate(date) {
                this.selectedDate = date;
                this.input.value = this.formatDate(date);
                this.close();
                this.renderCalendar();


                // Seçilen tarihe göre URL oluştur
                const formattedYear = date.getFullYear();
                const formattedMonth = String(date.getMonth() + 1).padStart(2, '0');
                const formattedDay = String(date.getDate()).padStart(2, '0');
                
                // Mevcut sayfa URL'sine göre base URL belirle
                const currentPath = window.location.pathname;
                let baseUrl;
                
                if (currentPath.includes('/bir-bakista-bugun')) {
                    baseUrl = 'https://t24.com.tr/bir-bakista-bugun';
                } else {
                    baseUrl = 'https://t24.com.tr/basin';
                }
                
                window.location.href = `${baseUrl}/${formattedYear}/${formattedMonth}/${formattedDay}`;
                // Tarih seçildiğinde AJAX isteği gönder
                //this.loadPaperData(date);
            }

            selectToday() {
                this.selectDate(new Date());
            }

            clearDate() {
                this.selectedDate = null;
                this.input.value = '';
                this.close();
                this.renderCalendar();

                // Tüm verileri yükle
                this.loadPaperData(null);
            }

            formatDate(date) {
                const day = String(date.getDate()).padStart(2, '0');
                const month = String(date.getMonth() + 1).padStart(2, '0');
                const year = date.getFullYear();
                return `${day}.${month}.${year}`;
            }

            toggle() {
                if (this.isOpen) {
                    this.close();
                } else {
                    this.open();
                }
            }

            open() {
                this.dropdown.classList.add('show');
                this.isOpen = true;
            }

            close() {
                this.dropdown.classList.remove('show');
                this.isOpen = false;
            }

            loadPaperData(date) {
                // Bu fonksiyon backend'den tarihe göre veri çekmek için kullanılacak
                console.log('Tarih seçildi:', date ? this.formatDate(date) : 'Tüm tarihler');

                // AJAX isteği burada yapılabilir
                // $.ajax({
                //     url: '/api/paper-data',
                //     method: 'GET',
                //     data: { date: date ? this.formatDate(date) : null },
                //     success: function(response) {
                //         // Verileri güncelle
                //     }
                // });
            }
        }

        // Sayfa yüklendiğinde datepicker'ı başlat (highlight, editorial, dailysummary, basin ve resmi-ilanlar sayfalarında çalışmasın)
        document.addEventListener('DOMContentLoaded', function() {
            // Highlight, editorial, dailysummary, basin ve resmi-ilanlar sayfalarında çalışmasın (kendi datepicker'ları var)
            const currentPath = window.location.pathname;
            if (!currentPath.includes('/manset-arsivi') && 
                !currentPath.includes('/highlight') && 
                !currentPath.includes('/editorun-sectikleri') &&
                !currentPath.includes('/bir-bakista-bugun') &&
                !currentPath.includes('/basin') &&
                !currentPath.includes('/resmi-ilanlar')) {
                new CustomDatePicker();
            }
        });

    }
</script>

<script>
    // Paylaşım Modal İşlemleri
    const shareButton = document.getElementById('shareButton');
    const shareModal = document.getElementById('shareModal');
    const closeModal = document.querySelector('.close-modal');
    const copyLinkButton = document.getElementById('copyLinkButton');

    if(shareButton && shareModal && closeModal && copyLinkButton){
    // Modal açma
    shareButton.addEventListener('click', function(e) {
        e.preventDefault();
        shareModal.style.display = 'flex';
    });

    // Modal kapatma
    closeModal.addEventListener('click', function() {
        shareModal.style.display = 'none';
    });

    // Modal dışına tıklayınca kapatma
    window.addEventListener('click', function(e) {
        if (e.target === shareModal) {
            shareModal.style.display = 'none';
        }
    });

    // Link kopyalama
    copyLinkButton.addEventListener('click', function(e) {
        e.preventDefault();
        const currentUrl = window.location.href;

        navigator.clipboard.writeText(currentUrl).then(function() {
            // Başarılı mesajı
            const originalText = copyLinkButton.querySelector('span').textContent;
            copyLinkButton.querySelector('span').textContent = 'Kopyalandı!';

            setTimeout(function() {
                copyLinkButton.querySelector('span').textContent = originalText;
            }, 2000);
        }).catch(function(err) {
            console.error('Link kopyalanamadı:', err);
            alert('Link kopyalanırken bir hata oluştu.');
        });
    });
    }
</script>

<script>
    // Font Boyutu Yönetimi
    $(document).ready(function() {
        const fontSizePanel = $('#fontSizePanel');
        const fontSizeButton = $('#fontSizeButton');
        const closeFontPanel = $('#closeFontPanel');
        const fontSizeRange = $('#fontSizeRange');
        const fontSizeValue = $('#fontSizeValue');
        const resetFontSize = $('#resetFontSize');
        const contentText = $('.mobil-haber-detay-card-content-text p,.haberdetay p');
        const articleTitle = $('.mobil-yazar-yazi-detay-section h2,.haberdetay h2,.haberdetay h1');
        const articleExcerpt = $('.mobil-yazar-yazi-detay-section h3,.haberdetay h3');
       

        // LocalStorage'dan kayıtlı font boyutunu al
        const savedFontSize = localStorage.getItem('articleFontSize') || 21;
        
        // Sayfa yüklendiğinde kayıtlı font boyutunu uygula
        applyFontSize(savedFontSize);
        fontSizeRange.val(savedFontSize);
        fontSizeValue.text(savedFontSize);

        // Font boyutu panelini aç/kapat
        fontSizeButton.on('click', function(e) {
            e.preventDefault();
            fontSizePanel.fadeToggle(300);
        });

        closeFontPanel.on('click', function() {
            fontSizePanel.fadeOut(300);
        });

        // Panel dışına tıklandığında kapat
        $(document).on('click', function(e) {
            if (!$(e.target).closest('#fontSizePanel, #fontSizeButton').length) {
                fontSizePanel.fadeOut(300);
            }
        });

        // Range slider değiştiğinde
        fontSizeRange.on('input', function() {
            const fontSize = $(this).val();
            fontSizeValue.text(fontSize);
            applyFontSize(fontSize);
            localStorage.setItem('articleFontSize', fontSize);
        });

        // Varsayılan değere dön
        resetFontSize.on('click', function() {
            const defaultSize = 21;
            fontSizeRange.val(defaultSize);
            fontSizeValue.text(defaultSize);
            applyFontSize(defaultSize);
            localStorage.setItem('articleFontSize', defaultSize);
        });

        // Font boyutunu uygulayan fonksiyon
        function applyFontSize(size) {
            contentText.css('font-size', size + 'px');
            // Başlık ve özet için orantılı boyut 
        }
    });

   
</script>


<!-- Image Error Handler - Yüklenmeyen görseller için placeholder -->
<script>
(function() {
    'use strict';
    
    // Placeholder path - config'den al veya sabit kullan
    const PLACEHOLDER_PATH = 'https://t24.com.tr/placeholder.png';
    
    // İşlenmiş görselleri takip et (sonsuz döngüyü önlemek için)
    const processedImages = new WeakSet();

    /**
     * URL'deki path segmentlerini güvenli şekilde encode et.
     * Özellikle "( )" ve boşluk içeren legacy medya URL'leri için.
     */
    function normalizeImageUrl(src) {
        if (!src || typeof src !== 'string') {
            return src;
        }

        // Sadece media-cdn görselleri için uygula.
        if (!src.includes('media-cdn.t24.com.tr')) {
            return src;
        }

        try {
            const urlObj = new URL(src, window.location.origin);
            const segments = urlObj.pathname.split('/').map(function(segment) {
                if (!segment) return segment;
                try {
                    return encodeURIComponent(decodeURIComponent(segment));
                } catch (e) {
                    return encodeURIComponent(segment);
                }
            });
            urlObj.pathname = segments.join('/');
            return urlObj.toString();
        } catch (e) {
            // URL parse edilemezse en azından boşlukları encode et.
            return src.replace(/ /g, '%20');
        }
    }
    
    /**
     * Görsel hatası için handler
     */
    function handleImageError(img) {
        // Eğer zaten işlendiyse veya placeholder ise, tekrar işleme
        if (processedImages.has(img) || img.src === PLACEHOLDER_PATH || img.src.includes('placeholder.png')) {
            return;
        }

        // Placeholder'a düşmeden önce normalize URL ile 1 kez yeniden dene.
        if (!img.dataset.urlNormalizedRetry) {
            const currentSrc = img.getAttribute('src') || img.src || '';
            const normalizedSrc = normalizeImageUrl(currentSrc);
            if (normalizedSrc && normalizedSrc !== currentSrc) {
                img.dataset.urlNormalizedRetry = '1';
                img.src = normalizedSrc;
                return;
            }
            img.dataset.urlNormalizedRetry = '1';
        }
        
        // İşlendi olarak işaretle
        processedImages.add(img);
        
        // Placeholder'a değiştir
        img.src = PLACEHOLDER_PATH;
        
        // Placeholder da yüklenemezse, error event'ini kaldır (sonsuz döngüyü önle)
        img.onerror = function() {
            this.onerror = null; // Event handler'ı kaldır
            this.style.display = 'none'; // Görseli gizle
        };
    }
    
    /**
     * Mevcut tüm görselleri işle
     */
    function processExistingImages() {
        const images = document.querySelectorAll('img:not([data-error-handled])');
        images.forEach(function(img) {
            // Zaten error handler varsa atla
            if (img.hasAttribute('data-error-handled')) {
                return;
            }
            
            // Attribute ekle (tekrar işlenmesini önle)
            img.setAttribute('data-error-handled', 'true');

            // İlk yüklemeden önce URL normalize et
            const originalSrc = img.getAttribute('src') || '';
            const normalizedSrc = normalizeImageUrl(originalSrc);
            if (normalizedSrc && normalizedSrc !== originalSrc) {
                img.setAttribute('src', normalizedSrc);
            }
            
            // Eğer görsel zaten yüklenmişse ve hata varsa kontrol et
            if (img.complete && img.naturalHeight === 0) {
                handleImageError(img);
            } else {
                // Error event handler ekle
                img.addEventListener('error', function() {
                    handleImageError(this);
                }, { once: true }); // once: true ile sadece bir kez çalışsın
            }
        });
    }
    
    /**
     * Dinamik eklenen görselleri yakala (MutationObserver)
     */
    function observeNewImages() {
        // MutationObserver sadece modern tarayıcılarda çalışır
        if (typeof MutationObserver === 'undefined') {
            return;
        }
        
        const observer = new MutationObserver(function(mutations) {
            mutations.forEach(function(mutation) {
                mutation.addedNodes.forEach(function(node) {
                    // Eğer node bir img ise
                    if (node.nodeType === 1 && node.tagName === 'IMG') {
                        if (!node.hasAttribute('data-error-handled')) {
                            node.setAttribute('data-error-handled', 'true');
                            node.addEventListener('error', function() {
                                handleImageError(this);
                            }, { once: true });
                        }
                    }
                    
                    // Eğer node içinde img'ler varsa
                    if (node.nodeType === 1 && node.querySelectorAll) {
                        const images = node.querySelectorAll('img:not([data-error-handled])');
                        images.forEach(function(img) {
                            img.setAttribute('data-error-handled', 'true');
                            img.addEventListener('error', function() {
                                handleImageError(this);
                            }, { once: true });
                        });
                    }
                });
            });
        });
        
        // Document body'yi gözlemle
        observer.observe(document.body, {
            childList: true,
            subtree: true
        });
    }
    
    // DOM yüklendiğinde çalıştır
    if (document.readyState === 'loading') {
        document.addEventListener('DOMContentLoaded', function() {
            processExistingImages();
            observeNewImages();
        });
    } else {
        // DOM zaten yüklüyse hemen çalıştır
        processExistingImages();
        observeNewImages();
    }
})();
</script>

</body>

</html>

    <!-- Çerez Onay Bar -->
<div id="cconsent-bar" class="cconsent-bar" role="region" aria-label="Çerez Onayı" aria-hidden="false" tabindex="0" style="display: none;">
    <div class="ccb__wrapper">
        <div class="ccb__left">
            <div class="cc-text">
                Sizlere daha iyi hizmet sunabilmek adına sitemizde 
                <a style="color:#fff;font-size:inherit;text-decoration:underline;font-weight: 600;" 
                   href="https://t24.com.tr/sayfalar/cerez-politikasi" 
                   target="_blank" 
                   title="Çerez">çerez</a> 
                konumlandırmaktayız. Kişisel verileriniz, KVKK ve GDPR kapsamında toplanıp işlenir. Detaylı bilgi almak için 
                <a style="color:#fff;font-size:inherit;text-decoration:underline;font-weight: 600;" 
                   href="https://t24.com.tr/sayfalar/kisisel-verilerin-islenmesi-aydinlatma-metni" 
                   target="_blank" 
                   title="Aydınlatma Metni">Aydınlatma Metnimizi</a> 
                inceleyebilirsiniz.
            </div>
        </div>
        <div class="ccb__right">
            <div class="ccb__button">
                <button type="button" class="consent-give">Tüm Çerezleri Kabul Et</button>
                <button type="button" class="ccb__edit">Çerez Ayarlarına Git</button>
            </div>
        </div>
    </div>
</div>

<!-- Çerez Ayarları Modal -->
<div id="cconsent-modal" class="cconsent-modal" role="dialog" aria-labelledby="ccm__content__title" aria-hidden="true" style="display: none;">
    <div class="ccm__overlay"></div>
    <div class="ccm__content">
        <div class="ccm__content__heading">
            <h2 id="ccm__content__title">Çerez ayarları</h2>
            <p>Çerezler, bir web sitesinden gönderilen ve kullanıcının web tarayıcısı tarafından kullanıcının bilgisayarında, kullanıcı gezinirken saklanan küçük veri parçalarıdır. Tarayıcınız her mesajı çerez adı verilen küçük bir dosyada saklar. Sunucudan başka bir sayfa talep ettiğinizde, tarayıcınız çerezi sunucuya geri gönderir. Çerezler, web sitelerinin bilgileri hatırlaması veya kullanıcının tarama etkinliğini kaydetmesi için güvenilir bir mekanizma olacak şekilde tasarlanmıştır.</p>
            <button type="button" class="ccm__cheading__close" aria-label="kapat">×</button>
        </div>
        <div class="ccm__content__body">
            <div class="ccm__tabs">
                <!-- Zorunlu Tanımlama Bilgileri -->
                <dl class="ccm__tabgroup necessary checked-5jhk" data-category="necessary">
                    <dt class="ccm__tab-head">
                        <button class="ccm__tab-trigger" aria-expanded="false">
                            <span class="ccm__tab-head__text">Zorunlu Tanımlama Bilgileri</span>
                            <span class="ccm__tab-head__status ccm__tab-head__status--checked" aria-label="işaretli">✔</span>
                            <span class="ccm__tab-head__icon-wedge">
                                <svg version="1.2" preserveAspectRatio="none" viewBox="0 0 24 24" class="icon-wedge-svg">
                                    <path class="icon-wedge-angle-down" d="M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24l0,0H17.2z"></path>
                                </svg>
                            </span>
                        </button>
                    </dt>
                    <dd class="ccm__tab-content" role="region" aria-hidden="true">
                        <div class="ccm__tab-content__inner">
                            <div class="ccm__tab-content__desc">
                                <h3>Zorunlu Tanımlama Bilgileri</h3>
                                <p>Bu tanımlama bilgileri, web sitesinin çalışması için gereklidir ve sistemlerimizde kapatılamaz. Bunlar genellikle yalnızca sizin işlemlerinizi gerçekleştirmek için ayarlanmıştır. Bu işlemler, gizlilik tercihlerinizi belirlemek, oturum açmak veya form doldurmak gibi hizmet taleplerinizi içerir. Tarayıcınızı, bu tanımlama bilgilerini engelleyecek veya bunlar hakkında sizi uyaracak şekilde ayarlayabilirsiniz ancak bu durumda sitenin bazı bölümleri çalışmayabilir.</p>
                                <div class="ccm__list"></div>
                            </div>
                            <div class="ccm__tab-content__choose"></div>
                        </div>
                    </dd>
                </dl>

                <!-- Performans Tanımlama Bilgileri -->
                <dl class="ccm__tabgroup performance" data-category="performance">
                    <dt class="ccm__tab-head">
                        <button class="ccm__tab-trigger" aria-expanded="false">
                            <span class="ccm__tab-head__text">Performans Tanımlama Bilgileri</span>
                            <span class="ccm__tab-head__status" aria-label="işaretli">✔</span>
                            <span class="ccm__tab-head__icon-wedge">
                                <svg version="1.2" preserveAspectRatio="none" viewBox="0 0 24 24" class="icon-wedge-svg">
                                    <path class="icon-wedge-angle-down" d="M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24l0,0H17.2z"></path>
                                </svg>
                            </span>
                        </button>
                    </dt>
                    <dd class="ccm__tab-content" role="region" aria-hidden="true">
                        <div class="ccm__tab-content__inner">
                            <div class="ccm__tab-content__desc">
                                <h3>Performans Tanımlama Bilgileri</h3>
                                <p>Bu tanımlama bilgileri, sitemizin performansını ölçebilmemiz ve iyileştirebilmemiz için sitenin ziyaret edilme sayısını ve trafik kaynaklarını sayabilmemizi sağlar. Hangi sayfaların en fazla ve en az ziyaret edildiğini ve ziyaretçilerin sitede nasıl gezindiklerini öğrenmemize yardımcı olurlar. Bu tanımlama bilgilerinin topladığı tüm bilgiler derlenir ve bu nedenle anonimdir. Bu tanımlama bilgilerine izin vermezseniz sitemizi ne zaman ziyaret ettiğinizi bilemeyiz.</p>
                                <div class="ccm__list">
                                    <div class="ccm__list">
                                        <span class="ccm__list__title">Etkilenen çözümler:</span>
                                        <ul>
                                            <li>Google</li>
                                            <li>Yandex</li>
                                            <li>Basın İlan Kurumu</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="ccm__tab-content__choose">
                                <div class="ccm__switch-component">
                                    <span class="ccm__switch__status status-off">Kapalı</span>
                                    <button class="ccm__switch-group" role="switch" data-category="performance" aria-checked="true" aria-label="Performans Tanımlama Bilgileri">
                                        <span class="ccm__switch__text visually-hide">Performans Tanımlama Bilgileri</span>
                                        <span class="ccm__switch__slider"></span>
                                    </button>
                                    <span class="ccm__switch__status status-on">Açık</span>
                                </div>
                            </div>
                        </div>
                    </dd>
                </dl>

                <!-- İşlevsel Tanımlama Bilgileri -->
                <dl class="ccm__tabgroup functionality" data-category="functionality">
                    <dt class="ccm__tab-head">
                        <button class="ccm__tab-trigger" aria-expanded="false">
                            <span class="ccm__tab-head__text">İşlevsel Tanımlama Bilgileri</span>
                            <span class="ccm__tab-head__status" aria-label="işaretli">✔</span>
                            <span class="ccm__tab-head__icon-wedge">
                                <svg version="1.2" preserveAspectRatio="none" viewBox="0 0 24 24" class="icon-wedge-svg">
                                    <path class="icon-wedge-angle-down" d="M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24l0,0H17.2z"></path>
                                </svg>
                            </span>
                        </button>
                    </dt>
                    <dd class="ccm__tab-content" role="region" aria-hidden="true">
                        <div class="ccm__tab-content__inner">
                            <div class="ccm__tab-content__desc">
                                <h3>İşlevsel Tanımlama Bilgileri</h3>
                                <p>Bu tanımlama bilgileri, videolar ile canlı sohbet gibi gelişmiş işlevler ve kişiselleştirme olanağı sunabilmemizi sağlar. Bunlar, bizim tarafımızdan veya sayfalarımızda hizmetlerinden faydalandığımız üçüncü taraf sağlayıcılarca ayarlanabilir. Bu tanımlama bilgilerine izin vermezseniz bu işlevlerden tümü veya bazıları doğru şekilde çalışmayabilir.</p>
                                <div class="ccm__list">
                                    <div class="ccm__list">
                                        <span class="ccm__list__title">Etkilenen çözümler:</span>
                                        <ul>
                                            <li>Google Tag Manager</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="ccm__tab-content__choose">
                                <div class="ccm__switch-component">
                                    <span class="ccm__switch__status status-off">Kapalı</span>
                                    <button class="ccm__switch-group" role="switch" data-category="functionality" aria-checked="true" aria-label="İşlevsel Tanımlama Bilgileri">
                                        <span class="ccm__switch__text visually-hide">İşlevsel Tanımlama Bilgileri</span>
                                        <span class="ccm__switch__slider"></span>
                                    </button>
                                    <span class="ccm__switch__status status-on">Açık</span>
                                </div>
                            </div>
                        </div>
                    </dd>
                </dl>

                <!-- Hedefleme Amaçlı Tanımlama Bilgileri -->
                <dl class="ccm__tabgroup various" data-category="various">
                    <dt class="ccm__tab-head">
                        <button class="ccm__tab-trigger" aria-expanded="false">
                            <span class="ccm__tab-head__text">Hedefleme Amaçlı Tanımlama Bilgileri</span>
                            <span class="ccm__tab-head__status" aria-label="işaretli">✔</span>
                            <span class="ccm__tab-head__icon-wedge">
                                <svg version="1.2" preserveAspectRatio="none" viewBox="0 0 24 24" class="icon-wedge-svg">
                                    <path class="icon-wedge-angle-down" d="M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24l0,0H17.2z"></path>
                                </svg>
                            </span>
                        </button>
                    </dt>
                    <dd class="ccm__tab-content" role="region" aria-hidden="true">
                        <div class="ccm__tab-content__inner">
                            <div class="ccm__tab-content__desc">
                                <h3>Hedefleme Amaçlı Tanımlama Bilgileri</h3>
                                <p>Bu tanımlama bilgileri, sitemizde reklam ortaklarımız tarafından ayarlanır. Bunlar, ilgili şirketler tarafından ilgi alanları profilinizi oluşturmak ve diğer sitelerde alakalı reklamlar göstermek için kullanılabilir. Benzersiz olarak tarayıcınızı ve cihazınızı belirleyerek çalışırlar. Bu tanımlama bilgilerine izin vermezseniz farklı sitelerde size özel reklam deneyimi sunamayız.</p>
                                <p style="font-size: 12px; color: #666; margin-top: 8px;"><strong>Not:</strong> Reklamlar çerez politikasından bağımsız olarak gösterilir.</p>
                                <div class="ccm__list">
                                    <div class="ccm__list">
                                        <span class="ccm__list__title">Etkilenen çözümler:</span>
                                        <ul>
                                            <li>Admatic</li>
                                            <li>Taboola</li>
                                            <li>Criteo</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="ccm__tab-content__choose">
                                <div class="ccm__switch-component">
                                    <span class="ccm__switch__status status-off">Kapalı</span>
                                    <button class="ccm__switch-group" role="switch" data-category="various" aria-checked="true" aria-label="Hedefleme Amaçlı Tanımlama Bilgileri">
                                        <span class="ccm__switch__text visually-hide">Hedefleme Amaçlı Tanımlama Bilgileri</span>
                                        <span class="ccm__switch__slider"></span>
                                    </button>
                                    <span class="ccm__switch__status status-on">Açık</span>
                                </div>
                            </div>
                        </div>
                    </dd>
                </dl>

                <!-- Sosyal Medya Tanımlama Bilgileri -->
                <dl class="ccm__tabgroup social" data-category="social">
                    <dt class="ccm__tab-head">
                        <button class="ccm__tab-trigger" aria-expanded="false">
                            <span class="ccm__tab-head__text">Sosyal Medya Tanımlama Bilgileri</span>
                            <span class="ccm__tab-head__status" aria-label="işaretli">✔</span>
                            <span class="ccm__tab-head__icon-wedge">
                                <svg version="1.2" preserveAspectRatio="none" viewBox="0 0 24 24" class="icon-wedge-svg">
                                    <path class="icon-wedge-angle-down" d="M17.2,9.84c0-0.09-0.04-0.18-0.1-0.24l-0.52-0.52c-0.13-0.13-0.33-0.14-0.47-0.01c0,0-0.01,0.01-0.01,0.01l-4.1,4.1l-4.09-4.1C7.78,8.94,7.57,8.94,7.44,9.06c0,0-0.01,0.01-0.01,0.01L6.91,9.6c-0.13,0.13-0.14,0.33-0.01,0.47c0,0,0.01,0.01,0.01,0.01l4.85,4.85c0.13,0.13,0.33,0.14,0.47,0.01c0,0,0.01-0.01,0.01-0.01l4.85-4.85c0.06-0.06,0.1-0.15,0.1-0.24l0,0H17.2z"></path>
                                </svg>
                            </span>
                        </button>
                    </dt>
                    <dd class="ccm__tab-content" role="region" aria-hidden="true">
                        <div class="ccm__tab-content__inner">
                            <div class="ccm__tab-content__desc">
                                <h3>Sosyal Medya Tanımlama Bilgileri</h3>
                                <p>Bu tanımlama bilgileri, içeriğimizi arkadaşlarınız ve ağınızla paylaşabilmenizi sağlamak için sitemize eklenen çeşitli sosyal medya hizmetleri tarafından ayarlanır. Diğer siteleri kullanırken de tarayıcınızı izleyip ilgi alanı profilinizi oluşturabilirler. Bu durum, ziyaret ettiğiniz diğer sitelerde gördüğünüz içerikleri ve mesajları etkileyebilir. Bu tanımlama bilgilerine izin vermezseniz bu paylaşım araçlarını kullanamayabilir veya göremeyebilirsiniz.</p>
                                <div class="ccm__list">
                                    <div class="ccm__list">
                                        <span class="ccm__list__title">Etkilenen çözümler:</span>
                                        <ul>
                                            <li>Facebook</li>
                                            <li>Twitter</li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                            <div class="ccm__tab-content__choose">
                                <div class="ccm__switch-component">
                                    <span class="ccm__switch__status status-off">Kapalı</span>
                                    <button class="ccm__switch-group" role="switch" data-category="social" aria-checked="true" aria-label="Sosyal Medya Tanımlama Bilgileri">
                                        <span class="ccm__switch__text visually-hide">Sosyal Medya Tanımlama Bilgileri</span>
                                        <span class="ccm__switch__slider"></span>
                                    </button>
                                    <span class="ccm__switch__status status-on">Açık</span>
                                </div>
                            </div>
                        </div>
                    </dd>
                </dl>
            </div>
        </div>
        <div class="ccm__footer">
            <button type="button" id="ccm__footer__consent-modal-submit">Mevcut ayarları kaydet</button>
            <button type="button" class="consent-give">Tüm çerezleri kabul et ve kapat</button>
        </div>
    </div>
</div>

<style>
/* Çerez Onay Bar */
.cconsent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    z-index: 10000;
    padding: 16px 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.ccb__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.ccb__left {
    flex: 1;
    min-width: 0;
}

.cc-text {
    font-size: 14px;
    line-height: 1.6;
    color: #fff;
}

.ccb__right {
    flex-shrink: 0;
}

.ccb__button {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ccb__button button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.consent-give {
    background: #0276ac;
    color: #fff;
}

.consent-give:hover {
    background: #025a8a;
}

.ccb__edit {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.ccb__edit:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Çerez Ayarları Modal */
.cconsent-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ccm__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(2px);
}

.ccm__content {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 800px;
    max-height: 90vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ccm__content__heading {
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.ccm__content__heading h2 {
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
}

.ccm__content__heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.ccm__cheading__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #4a5568;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.ccm__cheading__close:hover {
    background: #f7fafc;
    color: #1a1a1a;
}

.ccm__content__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.ccm__tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ccm__tabgroup {
    margin: 0;
    border-bottom: 1px solid #e2e8f0;
}

.ccm__tabgroup:last-child {
    border-bottom: none;
}

.ccm__tab-head {
    margin: 0;
}

.ccm__tab-trigger {
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background 0.2s;
    position: relative;
}

.ccm__tab-trigger:hover {
    background: #f7fafc;
}

.ccm__tab-trigger[aria-expanded="true"] .ccm__tab-head__icon-wedge svg {
    transform: rotate(180deg);
}

.ccm__tab-head__text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.ccm__tab-head__status {
    font-size: 14px;
    color: #48bb78;
    margin-right: 8px;
}

.ccm__tab-head__status--checked::before {
    content: "✔";
}

.ccm__tab-head__icon-wedge {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wedge-svg {
    width: 24px;
    height: 24px;
    fill: #4a5568;
    transition: transform 0.2s;
}

.ccm__tab-content {
    margin: 0;
    padding: 0 16px 16px 16px;
    display: none;
}

.ccm__tab-content[aria-hidden="false"] {
    display: block;
}

.ccm__tab-content__inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.ccm__tab-content__desc {
    flex: 1;
}

.ccm__tab-content__desc h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.ccm__tab-content__desc p {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
}

.ccm__list {
    margin-top: 16px;
}

.ccm__list__title {
    font-weight: 600;
    color: #1a1a1a;
    display: block;
    margin-bottom: 8px;
}

.ccm__list ul {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.ccm__list li {
    margin: 4px 0;
    color: #4a5568;
}

.ccm__tab-content__choose {
    flex-shrink: 0;
    padding-top: 8px;
}

.ccm__switch-component {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ccm__switch__status {
    font-size: 12px;
    color: #4a5568;
    min-width: 50px;
    text-align: center;
}

.ccm__switch-group {
    position: relative;
    width: 50px;
    height: 26px;
    background: #cbd5e0;
    border: none;
    border-radius: 13px;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.ccm__switch-group[aria-checked="true"] {
    background: #0276ac;
}

.ccm__switch__slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ccm__switch-group[aria-checked="true"] .ccm__switch__slider {
    transform: translateX(24px);
}

.visually-hide {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.ccm__footer {
    padding: 20px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.ccm__footer button {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

#ccm__footer__consent-modal-submit {
    background: #e2e8f0;
    color: #1a1a1a;
}

#ccm__footer__consent-modal-submit:hover {
    background: #cbd5e0;
}

.ccm__footer .consent-give {
    background: #0276ac;
    color: #fff;
}

.ccm__footer .consent-give:hover {
    background: #025a8a;
}

/* Zorunlu çerezler için switch gizle */
.ccm__tabgroup.necessary .ccm__tab-content__choose {
    display: none;
}

.ccm__tabgroup.necessary .ccm__tab-head__status {
    display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
    .ccb__wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .ccb__button {
        width: 100%;
    }
    
    .ccb__button button {
        flex: 1;
    }
    
    .ccm__content {
        max-height: 95vh;
        margin: 10px;
    }
    
    .ccm__tab-content__inner {
        flex-direction: column;
    }
    
    .ccm__tab-content__choose {
        width: 100%;
    }
    
    .ccm__footer {
        flex-direction: column;
    }
    
    .ccm__footer button {
        width: 100%;
    }
}
</style>

<script>
(function() {
    // Cookie kontrolü
    function getCookie(name) {
        var nameEQ = name + "=";
        var ca = document.cookie.split(';');
        for(var i = 0; i < ca.length; i++) {
            var c = ca[i];
            while (c.charAt(0) == ' ') c = c.substring(1, c.length);
            if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
        }
        return null;
    }
    
    function setCookie(name, value, days) {
        var expires = "";
        if (days) {
            var date = new Date();
            date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
            expires = "; expires=" + date.toUTCString();
        }
        document.cookie = name + "=" + (value || "") + expires + "; path=/; SameSite=Lax";
    }
    
    function getCookieConsent() {
        var consent = getCookie('cookie_consent');
        if (consent) {
            try {
                return JSON.parse(consent);
            } catch(e) {
                return null;
            }
        }
        return null;
    }
    
    function setCookieConsent(consent) {
        setCookie('cookie_consent', JSON.stringify(consent), 365);
    }
    
    // Çerez durumlarını yükle
    var consent = getCookieConsent();
    var cookieSettings = {
        necessary: true, // Zorunlu, her zaman açık
        performance: consent ? (consent.performance !== false) : true,
        functionality: consent ? (consent.functionality !== false) : true,
        various: consent ? (consent.various !== false) : true,
        social: consent ? (consent.social !== false) : true
    };
    
    // Google Ads'i yükle (çerez politikasından bağımsız, her zaman yüklenir)
    // Not: Script zaten header'da yükleniyor, burada sadece kontrol ediyoruz
    function loadGoogleAds() {
        var gptScriptExists = document.querySelector('script[src*="securepubads.g.doubleclick.net/tag/js/gpt.js"]');
        
        // Script header'da zaten yükleniyor, burada sadece kontrol ediyoruz
        if (!gptScriptExists) {
            // Eğer header'daki script yüklenmemişse (nadir durum), burada yükle
            var gptScript = document.createElement('script');
            gptScript.async = true;
            gptScript.src = 'https://securepubads.g.doubleclick.net/tag/js/gpt.js';
            gptScript.crossOrigin = 'anonymous';
            gptScript.onload = function() {
                // Script yüklendikten sonra cmd queue'daki tüm komutları çalıştır
                if (window.googletag && window.googletag.cmd && Array.isArray(window.googletag.cmd)) {
                    setTimeout(function() {
                        if (window.googletag && window.googletag.cmd && Array.isArray(window.googletag.cmd)) {
                            var cmdQueue = window.googletag.cmd.slice(0);
                            cmdQueue.forEach(function(cmd) {
                                if (typeof cmd === 'function') {
                                    try {
                                        cmd();
                                    } catch(e) {
                                        console.error('Google Ads cmd error:', e);
                                    }
                                }
                            });
                        }
                    }, 200);
                }
            };
            document.head.appendChild(gptScript);
        }
    }
    
    // Google Analytics'i yükle
    function loadGoogleAnalytics() {
        if (cookieSettings.performance && (typeof window.gtag === 'undefined' || !document.querySelector('script[src*="googletagmanager.com/gtag/js"]'))) {
            window.gtag = function(){window.dataLayer.push(arguments);};
            var gaScript = document.createElement('script');
            gaScript.async = true;
            gaScript.src = 'https://www.googletagmanager.com/gtag/js?id=G-V2E36KRB71';
            gaScript.onload = function() {
                window.gtag('js', new Date());
                window.gtag('config', 'G-V2E36KRB71', {
                    'anonymize_ip': false,
                    'cookie_flags': 'SameSite=None;Secure'
                });
            };
            document.head.appendChild(gaScript);
        }
    }
    
    // Google Ads her zaman yüklenir, çerez politikasından bağımsızdır
    // Sayfa yüklendiğinde direkt yükle (çerez politikasından önce)
    loadGoogleAds();
    
    // Çerez ayarlarına göre servisleri yükle (Reklamlar hariç - reklamlar zaten yüklenmiş durumda)
    function loadServices() {
        // Reklamlar zaten yüklenmiş durumda, burada sadece diğer servisler yüklenir
        
        if (cookieSettings.performance) {
            loadGoogleAnalytics();
        }
        
        // Diğer servisler buraya eklenebilir
        if (cookieSettings.functionality) {
            // Google Tag Manager vb.
        }
        
        if (cookieSettings.various) {
            // Admatic, Taboola, Criteo (Doubleclick reklamlar için kullanılıyor ama reklamlar zaten yüklü)
        }
        
        if (cookieSettings.social) {
            // Facebook, Twitter
        }
    }
    
    // DOM elementleri
    var consentBar = document.getElementById('cconsent-bar');
    var consentModal = document.getElementById('cconsent-modal');
    var editButton = document.querySelector('.ccb__edit');
    var acceptAllButtons = document.querySelectorAll('.consent-give'); // Tüm "kabul et" butonları
    var saveButton = document.getElementById('ccm__footer__consent-modal-submit');
    var closeModalButton = document.querySelector('.ccm__cheading__close');
    var tabTriggers = document.querySelectorAll('.ccm__tab-trigger');
    var switches = document.querySelectorAll('.ccm__switch-group');
    
    // Switch durumlarını güncelle
    function updateSwitchStates() {
        switches.forEach(function(switchBtn) {
            var category = switchBtn.getAttribute('data-category');
            var isChecked = cookieSettings[category];
            switchBtn.setAttribute('aria-checked', isChecked ? 'true' : 'false');
            
            var tabGroup = switchBtn.closest('.ccm__tabgroup');
            if (isChecked) {
                tabGroup.classList.add('checked-5jhk');
                var status = tabGroup.querySelector('.ccm__tab-head__status');
                if (status) {
                    status.style.display = 'inline-block';
                }
            } else {
                tabGroup.classList.remove('checked-5jhk');
                var status = tabGroup.querySelector('.ccm__tab-head__status');
                if (status) {
                    status.style.display = 'none';
                }
            }
        });
    }
    
    // Modal aç/kapa
    function openModal() {
        consentModal.style.display = 'flex';
        consentModal.setAttribute('aria-hidden', 'false');
        document.body.style.overflow = 'hidden';
        updateSwitchStates();
    }
    
    function closeModal() {
        consentModal.style.display = 'none';
        consentModal.setAttribute('aria-hidden', 'true');
        document.body.style.overflow = '';
    }
    
    // Tab aç/kapa
    tabTriggers.forEach(function(trigger) {
        trigger.addEventListener('click', function() {
            var isExpanded = trigger.getAttribute('aria-expanded') === 'true';
            var content = trigger.closest('.ccm__tabgroup').querySelector('.ccm__tab-content');
            
            // Tüm tab'ları kapat
            tabTriggers.forEach(function(t) {
                t.setAttribute('aria-expanded', 'false');
                t.closest('.ccm__tabgroup').querySelector('.ccm__tab-content').setAttribute('aria-hidden', 'true');
            });
            
            // Tıklanan tab'ı aç
            if (!isExpanded) {
                trigger.setAttribute('aria-expanded', 'true');
                content.setAttribute('aria-hidden', 'false');
            }
        });
    });
    
    // Switch toggle
    switches.forEach(function(switchBtn) {
        switchBtn.addEventListener('click', function() {
            var category = switchBtn.getAttribute('data-category');
            if (category === 'necessary') return; // Zorunlu çerezler değiştirilemez
            
            var isChecked = switchBtn.getAttribute('aria-checked') === 'true';
            cookieSettings[category] = !isChecked;
            switchBtn.setAttribute('aria-checked', cookieSettings[category] ? 'true' : 'false');
            
            var tabGroup = switchBtn.closest('.ccm__tabgroup');
            if (cookieSettings[category]) {
                tabGroup.classList.add('checked-5jhk');
                var status = tabGroup.querySelector('.ccm__tab-head__status');
                if (status) {
                    status.style.display = 'inline-block';
                }
            } else {
                tabGroup.classList.remove('checked-5jhk');
                var status = tabGroup.querySelector('.ccm__tab-head__status');
                if (status) {
                    status.style.display = 'none';
                }
            }
        });
    });
    
    // Tüm çerezleri kabul et
    function acceptAll() {
        console.log('acceptAll called');
        cookieSettings = {
            necessary: true,
            performance: true,
            functionality: true,
            various: true,
            social: true
        };
        setCookieConsent(cookieSettings);
        loadServices();
        if (consentBar) {
            consentBar.style.display = 'none';
        }
        if (consentModal) {
            closeModal();
        }
    }
    
    // Ayarları kaydet
    function saveSettings() {
        setCookieConsent(cookieSettings);
        loadServices();
        closeModal();
        if (consentBar) consentBar.style.display = 'none';
    }
    
    // Event listeners
    if (editButton) {
        editButton.addEventListener('click', openModal);
    }
    
    // Tüm "kabul et" butonlarına event listener ekle
    console.log('Found acceptAllButtons:', acceptAllButtons.length);
    acceptAllButtons.forEach(function(button, index) {
        console.log('Adding listener to button', index, button);
        button.addEventListener('click', function(e) {
            e.preventDefault();
            e.stopPropagation();
            console.log('Accept all button clicked');
            acceptAll();
        });
    });
    
    if (saveButton) {
        saveButton.addEventListener('click', function(e) {
            e.preventDefault();
            saveSettings();
        });
    }
    
    if (closeModalButton) {
        closeModalButton.addEventListener('click', function(e) {
            e.preventDefault();
            closeModal();
        });
    }
    
    // Overlay'e tıklayınca modal'ı kapat
    if (consentModal) {
        var overlay = consentModal.querySelector('.ccm__overlay');
        if (overlay) {
            overlay.addEventListener('click', function(e) {
                if (e.target === overlay) {
                    closeModal();
                }
            });
        }
    }
    
    // ESC tuşu ile modal'ı kapat
    document.addEventListener('keydown', function(e) {
        if (e.key === 'Escape' && consentModal && consentModal.style.display !== 'none') {
            closeModal();
        }
    });
    
    // İlk yükleme
    var existingConsent = getCookieConsent();
    if (!existingConsent) {
        // Henüz karar verilmemiş, bar'ı göster
        setTimeout(function() {
            if (consentBar) {
                consentBar.style.display = 'block';
            }
        }, 1000);
    } else {
        // Mevcut ayarları yükle
        cookieSettings = {
            necessary: true,
            performance: existingConsent.performance !== false,
            functionality: existingConsent.functionality !== false,
            various: existingConsent.various !== false,
            social: existingConsent.social !== false
        };
        loadServices();
    }
})();
</script>

    <script>
    // 404 sayfası için Google Analytics tracking
    if (typeof gtag !== 'undefined') {
        gtag('event', '404_error', {
            'page_path': window.location.pathname,
            'page_title': '404 - Sayfa Bulunamadı'
        });
    }
</script>
<script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'9e6e4d6cba1f0a19',t:'MTc3NTI4NDYyNQ=='};var a=document.createElement('script');a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script>