/* Removed @import gundem.css */
/* Removed @import authors.css */

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =========================================
   STYLE.CSS - DARK / RED (VAMPİR TEMASI)
   ========================================= */
   :root {
    --header-height: 88px;
    --header-padding: 16px 20px; /* Kenar boşlukları azaltıldı (50px -> 20px) */
    --header-logo-height: 60px;
    
    /* --- YENİ RENK PALETİ --- */
    --color-bg: #050505;       /* Ana Zemin: Simsiyah */
    --color-card-bg: #141414;  /* Kart/Kutu Zemini: Koyu Gri */
    --color-text: #ffffff;     /* Yazılar: Beyaz */
    --color-text-muted: #b0b0b0; /* Yan Yazılar: Gri */
    --color-accent: #E30A17;   /* Vurgu: TÜRK KIRMIZISI */
    --color-border: #333333;   /* Kenarlıklar: İnce Gri */
    
    --transition: all 0.3s ease;
  }
  
  :root {
    --theme-surface-base: #050505;
    --theme-surface-card: #141414;
    --theme-surface-card-alt: #1a1a1a;
    --theme-surface-inset: #0a0a0a;
    --theme-surface-float: #181818;
    --theme-header-bg: rgba(5, 5, 5, 0.95);
    --theme-footer-bg: #050505;
    --theme-loader-bg: #050505;
    --theme-input-bg: #111111;
    --theme-text-main: #ffffff;
    --theme-text-muted: #b0b0b0;
    --theme-text-subtle: #888888;
    --theme-text-faint: #555555;
    --theme-border: #333333;
    --theme-border-strong: #444444;
    --theme-border-soft: rgba(255, 255, 255, 0.08);
    --theme-overlay-soft: rgba(255, 255, 255, 0.05);
    --theme-overlay-strong: rgba(255, 255, 255, 0.1);
    --theme-scrim: rgba(0, 0, 0, 0.72);
    --theme-scrim-strong: rgba(0, 0, 0, 0.88);
    --theme-gradient-strong: rgba(0, 0, 0, 0.95);
    --theme-gradient-soft: rgba(0, 0, 0, 0.6);
    --theme-gradient-shadow: rgba(0, 0, 0, 0.8);
    --theme-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --theme-shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.6);
    --theme-shadow-accent: 0 10px 30px rgba(227, 10, 23, 0.15);
    --theme-image-backdrop: #000000;
    --theme-ad-bg: #050505;
    --theme-scrollbar-track: #050505;
    --theme-scrollbar-thumb: #333333;
    --theme-scrollbar-thumb-hover: #E30A17;
    --theme-success: #2ecc71;
    --theme-error: #e74c3c;
    --theme-info: #3498db;
    --theme-warning: #e67e22;
    --color-bg: var(--theme-surface-base);
    --color-card-bg: var(--theme-surface-card);
    --color-text: var(--theme-text-main);
    --color-text-muted: var(--theme-text-muted);
    --color-border: var(--theme-border);
    --color-on-accent: #ffffff;
    --accent-red: var(--color-accent);
  }

  html {
    color-scheme: dark;
    background-color: var(--color-bg);
  }

  html[data-theme="light"] {
    color-scheme: light;
    --theme-surface-base: #f6f1ea;
    --theme-surface-card: #ffffff;
    --theme-surface-card-alt: #f0e8de;
    --theme-surface-inset: #e8dfd2;
    --theme-surface-float: #fffaf4;
    --theme-header-bg: rgba(246, 241, 234, 0.92);
    --theme-footer-bg: #eee4d8;
    --theme-loader-bg: #f6f1ea;
    --theme-input-bg: #ffffff;
    --theme-text-main: #1b1916;
    --theme-text-muted: #5f584e;
    --theme-text-subtle: #7c7468;
    --theme-text-faint: #94887b;
    --theme-border: #d7cec1;
    --theme-border-strong: #c8bcab;
    --theme-border-soft: rgba(42, 30, 16, 0.08);
    --theme-overlay-soft: rgba(42, 30, 16, 0.05);
    --theme-overlay-strong: rgba(42, 30, 16, 0.1);
    --theme-scrim: rgba(26, 20, 14, 0.56);
    --theme-scrim-strong: rgba(22, 16, 12, 0.72);
    --theme-gradient-strong: rgba(22, 16, 12, 0.76);
    --theme-gradient-soft: rgba(22, 16, 12, 0.24);
    --theme-gradient-shadow: rgba(22, 16, 12, 0.18);
    --theme-shadow-soft: 0 12px 30px rgba(81, 54, 24, 0.1);
    --theme-shadow-strong: 0 25px 50px rgba(81, 54, 24, 0.16);
    --theme-shadow-accent: 0 10px 30px rgba(227, 10, 23, 0.12);
    --theme-image-backdrop: #e4d7c8;
    --theme-ad-bg: #f6f1ea;
    --theme-scrollbar-track: #e8dfd2;
    --theme-scrollbar-thumb: #c8bcab;
    --theme-scrollbar-thumb-hover: #E30A17;
  }

  body {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin: 0;
    padding: 0;
    color: var(--color-text);
    background-color: var(--color-bg); /* BEYAZ GİTTİ, SİYAH GELDİ */
    font-size: 14px;
    overflow-x: hidden;
  }

  /* === REKLAM ALANLARI (ADS) - TEMA UYUMLU YÜZEY === */
  .ad-placeholder,
  .fixed-side-ad,
  .adsbygoogle,
  ins.adsbygoogle,
  [id^="aswift"],
  [id^="google_ads"],
  iframe[id^="google_ads"],
  iframe[id^="aswift"],
  iframe[name^="google_ads"],
  ins {
    background-color: var(--theme-ad-bg) !important;
    background: var(--theme-ad-bg) !important;
    border-color: var(--theme-border-soft) !important;
    color-scheme: dark !important;
  }

  .ad-placeholder,
  .fixed-side-ad {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color-scheme: dark;
  }

  .ad-placeholder:empty,
  .fixed-side-ad:empty {
    display: none !important;
  }

  .ad-placeholder iframe,
  .ad-placeholder ins,
  .fixed-side-ad iframe,
  .fixed-side-ad ins,
  .ad-placeholder *,
  .fixed-side-ad *,
  ins.adsbygoogle * {
    background-color: var(--theme-ad-bg) !important;
    background: var(--theme-ad-bg) !important;
    color-scheme: dark !important;
  }

  .ad-placeholder[data-ad-blank="true"] iframe,
  .ad-placeholder[data-ad-blank="true"] ins.adsbygoogle,
  .fixed-side-ad[data-ad-blank="true"] iframe,
  .fixed-side-ad[data-ad-blank="true"] ins.adsbygoogle {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .ad-placeholder[data-ad-test-placeholder="hidden"],
  .fixed-side-ad[data-ad-test-placeholder="hidden"] {
    display: none !important;
  }

  html[data-theme="light"] .ad-placeholder,
  html[data-theme="light"] .fixed-side-ad,
  html[data-theme="light"] .adsbygoogle,
  html[data-theme="light"] ins.adsbygoogle,
  html[data-theme="light"] [id^="aswift"],
  html[data-theme="light"] [id^="google_ads"],
  html[data-theme="light"] iframe[id^="google_ads"],
  html[data-theme="light"] iframe[id^="aswift"],
  html[data-theme="light"] iframe[name^="google_ads"],
  html[data-theme="light"] ins {
    background-color: var(--theme-ad-bg) !important;
    background: var(--theme-ad-bg) !important;
    border-color: var(--theme-border-soft) !important;
    color-scheme: light !important;
  }

  html[data-theme="light"] .ad-placeholder iframe,
  html[data-theme="light"] .ad-placeholder ins,
  html[data-theme="light"] .fixed-side-ad iframe,
  html[data-theme="light"] .fixed-side-ad ins,
  html[data-theme="light"] .ad-placeholder *,
  html[data-theme="light"] .fixed-side-ad *,
  html[data-theme="light"] ins.adsbygoogle * {
    background-color: var(--theme-ad-bg) !important;
    background: var(--theme-ad-bg) !important;
    color-scheme: light !important;
  }

  html[data-theme="light"] .ad-placeholder,
  html[data-theme="light"] .fixed-side-ad {
    color-scheme: light;
  }

  .seo-content-section {
    width: min(100% - 32px, 980px);
    margin: 34px auto 26px;
  }

  .seo-content-inner {
    border: 1px solid var(--theme-border-soft);
    background: var(--theme-surface-card);
    color: var(--color-text-muted);
    border-radius: 8px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: var(--theme-shadow-soft);
  }

  .seo-content-kicker {
    margin: 0 0 8px;
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .seo-content-inner h2 {
    margin: 0 0 16px;
    color: var(--color-text);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.25;
  }

  .seo-content-inner p {
    margin: 0 0 14px;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 0.98rem;
  }

  .seo-content-inner p:last-child {
    margin-bottom: 0;
  }
  
  /* Scrollbar Özelleştirme */
  body::-webkit-scrollbar {
    width: 8px;
  }
  body::-webkit-scrollbar-track {
    background: var(--theme-scrollbar-track);
  }
  body::-webkit-scrollbar-thumb {
    background: var(--theme-scrollbar-thumb);
    border-radius: 4px;
  }
  body::-webkit-scrollbar-thumb:hover {
    background: var(--theme-scrollbar-thumb-hover);
  }
  
  a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
  }
  
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* =========================================
     HEADER (ÜST MENÜ)
     ========================================= */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between; /* Logo, Menu ve Auth arasını açar */
    align-items: center;
    gap: clamp(8px, 1vw, 16px);
    padding: var(--header-padding);
    height: var(--header-height);
    background-color: rgba(5, 5, 5, 0.95); /* Yarı saydam siyah */
    border-bottom: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  }
  
  /* ID önceliği için (Mevcut yapıyı koruyoruz) */
  #main-header.header {
    background-color: rgba(5, 5, 5, 0.95) !important;
    border-bottom: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
  }
  
  .header .logo {
    flex: 0 0 clamp(130px, 8vw, 155px);
    width: clamp(130px, 8vw, 155px);
    min-width: 130px;
    flex-shrink: 0; /* Prevent logo from shrinking */
    margin-right: clamp(10px, 1.2vw, 18px);
    margin-top: 10px; /* Logoyu biraz aşağı indir */
  }

  .header .logo img {
    display: block;
    height: var(--header-logo-height) !important;
    width: auto !important;
    max-width: 100%;
    object-fit: contain;
  }
  
  /* Masaüstü Menü Linkleri */
  .menu {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.85vw, 14px);
    flex: 1 1 auto; /* Boş alanı kapla */
    justify-content: flex-start; /* Menü logodan sonra başlasın */
    min-width: 0;
    overflow: visible;
  }

  /* Dropdown Styles */
  .nav-item {
    position: relative;
  }

  .nav-link {
    font-size: 0.78em; /* Desktop menü logged-in durumda da tam sığsın */
    font-weight: 500;
    letter-spacing: 0;
    color: var(--color-text-muted); /* Gri */
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px; /* Yazı ile ok arasındaki boşluk azaltıldı */
    white-space: nowrap; /* Satır kaymasını engelle */
    min-height: 44px;
    padding: 0 2px;
  }

  /* Dropdown ok göstergeleri animasyonlu */
  .nav-item.has-dropdown .nav-link::after {
    content: '\f107'; /* FontAwesome angle-down */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
    opacity: 0.7;
  }

  /* Hover ve Aktif durumda ok ayarları */
  .nav-item:hover .nav-link::after,
  .nav-item.open .nav-link::after {
    transform: rotate(180deg);
    color: var(--color-accent);
    opacity: 1;
  }

  @media (min-width: 1101px) and (max-width: 1450px) {
    .header, #main-header.header {
      padding-left: 14px !important;
      padding-right: 14px !important;
      gap: 10px;
    }

    .menu {
      min-width: 0;
      justify-content: flex-start;
      gap: 6px;
    }

    .nav-link {
      font-size: 0.7em;
      letter-spacing: 0;
      gap: 2px;
    }

    .nav-item.has-dropdown .nav-link::after {
      margin-left: 3px;
      font-size: 9px;
    }

    .header .logo img {
      max-width: 118px;
    }

    .header .logo {
      flex-basis: 118px;
      width: 118px;
      min-width: 118px;
      margin-right: 6px;
    }

    .auth-buttons {
      flex-shrink: 0;
      gap: 8px;
    }

    .user-name {
      max-width: 82px;
    }

    .header-theme-slot {
      flex-shrink: 0;
    }
  }

  @media (min-width: 1101px) {
    .header:has(.user-profile-container),
    #main-header.header:has(.user-profile-container) {
      gap: 8px;
    }

    .header:has(.user-profile-container) .menu,
    #main-header.header:has(.user-profile-container) .menu {
      gap: 8px;
    }

    .header:has(.user-profile-container) .header-theme-slot,
    #main-header.header:has(.user-profile-container) .header-theme-slot {
      margin-left: 10px;
    }
  }

  .nav-link.active::after {
    color: var(--color-accent);
    opacity: 1;
  }

  /* Masaüstünde mobil oku kesinlikle gizle */
  .mobile-dropdown-arrow {
    display: none !important;
  }

  /* ... existing roots or rules ... */
  
  .nav-link:hover,
  .nav-link[aria-current="page"],
  .nav-item:hover .nav-link,
  .nav-link.active,
  .dropdown-item.active {
    color: var(--color-accent); /* Hover: KIRMIZI */
  }

  /* Dropdown Menu */
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    background-color: var(--color-card-bg);
    min-width: min(240px, 92vw);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-accent);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 10px 0;
    z-index: 1001;
    display: block; /* Required for transition */
    pointer-events: none;
  }

  .nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .dropdown-item {
    display: block;
    min-height: 44px;
    padding: 12px 20px;
    color: var(--color-text-muted);
    font-size: 0.9em;
    text-transform: none; /* Keep sub-items normal case or as desired */
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .dropdown-item:last-child {
    border-bottom: none;
  }

  .dropdown-item:hover {
    background-color: rgba(255,255,255,0.05);
    color: var(--color-text);
    padding-left: 25px; /* Slight movement effect */
  }
  
  /* Sosyal İkonlar */
  .social-icons a {
    margin-left: 20px;
  }
  
  .social-icons img {
    width: 20px;
    height: 20px;
    filter: invert(1); /* Siyah ikonları beyaza çevirir */
    opacity: 0.7;
    transition: var(--transition);
  }
  
  .social-icons a:hover img {
    opacity: 1;
    /* Generated filter to convert black to #E30A17, providing a much cleaner red effect */
    filter: invert(19%) sepia(79%) saturate(4857%) hue-rotate(349deg) brightness(91%) contrast(92%);
    transform: scale(1.1);
  }
  
  /* =========================================
     HAMBURGER MENÜ (MOBİL)
     ========================================= */
  .hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
    margin-left: auto; /* Push to right on mobile if needed */
  }
  
  .hamburger-btn .bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text); /* Çizgiler Beyaz */
    border-radius: 3px;
    transition: var(--transition);
  }
  
  /* =========================================
     SAYFA BAŞLIKLARI (CLEAN & MINIMAL STİL)
     ========================================= */
  .page-hero {
    display: flex;
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: space-between; 
    
    text-align: left; 
    max-width: 1200px; 
    margin: 30px auto 20px; 
    padding: 0 15px; /* Dolguyu azalttık */
    
    background: transparent; /* Arka plan kaldırıldı */
    border-left: 3px solid var(--color-accent); /* Çizgi inceltildi */
    /* border-radius kaldırıldı */
    position: relative;
  }
  
  .page-hero .page-category {
    width: 100%; 
    color: var(--color-text-muted); /* Kırmızı yerine gri */
    font-size: 10px; /* Daha küçük */
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 5px 0; 
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .page-hero .page-category::after {
      content: '';
      display: block;
      width: 6px;
      height: 6px;
      background-color: var(--color-accent); /* Ufak kırmızı nokta */
      border-radius: 50%;
  }
  
  .page-hero .page-title {
    margin: 0;
    font-size: 1.8rem; /* Biraz daha küçültüldü */
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -0.5px;
  }
  
  .page-hero .page-subtitle {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 500px; 
    text-align: right; 
    margin: 0;
    /* Sol çizgi kaldırıldı */
    padding-left: 0;
  }

  /* MOBİL UYUMLULUK */
  @media (max-width: 768px) {
    .page-hero {
      flex-direction: column; 
      align-items: flex-start;
      border-left-width: 3px;
      padding-left: 15px;
      margin: 20px auto;
    }
    
    .page-hero .page-subtitle {
      text-align: left; 
      margin-top: 8px;
      max-width: 100%;
      font-size: 0.85rem;
    }
    
    .page-hero .page-title {
        font-size: 1.5rem;
    }
    
    /* Grid Layout Fix for Mobile */
    .grid-layout {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 sütun */
        gap: 12px;
    }
    
    /* Haber kartları mobilde daha rahat görünsün */
    .card {
        flex-direction: column !important;
        min-height: auto;
    }
    
    .card__image {
        width: 100% !important;
        height: 140px !important;
        border-right: none !important;
        border-bottom: 1px solid #333 !important;
    }
  }
  
  /* =========================================
     ALT KATEGORİ NAVİGASYONU (ARA MENÜ)
     ========================================= */
  .sub-category-nav {
    max-width: 1200px;
    margin: 0 auto 30px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .sub-nav-item {
    background: #1a1a1a;
    color: #888;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #333;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .sub-nav-item:hover, .sub-nav-item.active {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    box-shadow: 0 5px 15px rgba(227, 10, 23, 0.2);
  }

  @media (max-width: 768px) {
    .sub-category-nav {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }
    .sub-nav-item {
        padding: 6px 14px;
        font-size: 12px;
    }
  }

/* Back Button Style */
.back-btn {
  background: transparent;
  border: 1px solid #E30A17;
  color: #E30A17;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.back-btn:hover {
  background: #E30A17;
  color: #fff;
}

  /* =========================================
     RESPONSIVE (MOBİL MENÜ)
     ========================================= */
  @media (max-width: 1100px) { /* Increased breakpoint for nav collapse */
    .header, #main-header.header {
      padding: 10px 20px !important;
      height: auto !important;
      min-height: 70px !important;
      justify-content: space-between; /* Revert to space-between on mobile */
    }
  
    .hamburger-btn { display: flex; }
  
    .menu {
      position: fixed;
      top: 0;
      left: calc(-1 * min(84vw, 320px));
      width: min(84vw, 320px);
      height: 100dvh;
         /* Alttan sıfırla */
      background-color: var(--color-bg);
      border-right: 1px solid var(--color-border);
      flex-direction: column;
      align-items: flex-start;
      padding: 100px 0 20px; /* Alt boşluk dengelendi */
      max-height: none;
      overflow-y: auto;
      opacity: 1;
      transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      box-shadow: 10px 0 30px rgba(0,0,0,0.8);
      z-index: 1000;
      margin-right: 0;
    }

    /* Mobil Menü Scrollbar Özelleştirme */
    .menu::-webkit-scrollbar {
        width: 4px;
    }
    .menu::-webkit-scrollbar-track {
        background: #050505;
    }
    .menu::-webkit-scrollbar-thumb {
        background: #333;
        border-radius: 10px;
    }
    .menu::-webkit-scrollbar-thumb:hover {
        background: var(--color-accent);
    }
  
    .menu.active {
      left: 0; /* Soldan içeri kaydır */
    }

    /* Hamburger İkonu Animasyonu (X İşareti) */
    .hamburger-btn.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .hamburger-btn.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-btn.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .nav-item {
        width: 100%;
        padding: 0;
    }

    .nav-link {
      width: 100%;
      text-align: left;
      min-height: 48px;
      padding: 15px 20px;
      border-bottom: 1px solid #1a1a1a;
      display: flex;
      justify-content: space-between; /* For arrow */
      color: var(--color-text);
      font-size: 0.95em; 
    }
    
    .nav-item.has-dropdown .nav-link::after {
        display: none !important; /* Mobilde çift oku engellemek için CSS okunu gizle */
    }
    
    .dropdown-menu {
        position: static !important;
        display: block !important;
        opacity: 1 !important; /* Opacity animasyonunu kaldır - Performans için */
        visibility: visible !important; /* Görünürlük sorununu kaldır */
        max-height: 0;
        overflow: hidden;
        width: 100%;
        background-color: var(--theme-surface-inset);
        padding: 0 !important;
        border: none !important;
        border-top: 1px solid var(--theme-border-soft) !important;
        box-shadow: none !important;
        
        /* PERFORMANCE OPTIMIZATIONS */
        transition: max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Quad Easing - Daha hafif */
        will-change: max-height;
        contain: content; /* Browsera bu kutunun dışarıyı etkilemediğini söyle */
        transform: translateZ(0); /* GPU Layer */
    }
    
    /* Menü açıkken */
    .nav-item.open > .dropdown-menu {
        max-height: 600px !important;
        padding: 10px 0 !important;
    }

    .dropdown-item {
        display: block !important;
        padding: 15px 45px !important; /* Daha büyük tıklama alanı ve indent */
        color: var(--color-text) !important;
        font-size: 14px !important;
        text-decoration: none !important;
        border-bottom: 1px solid var(--theme-border-soft) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .dropdown-item:last-child {
        border-bottom: none !important;
    }

    .dropdown-item:hover {
        background-color: var(--theme-overlay-soft) !important;
        color: var(--color-accent) !important;
    }

    .nav-item.has-dropdown .nav-link {
        position: relative;
        padding-right: 60px;
      
    }

    /* Mobil Açma Oku - Yeni Tasarım (Circular Button) */
    .mobile-dropdown-arrow {
        display: flex !important;
        position: absolute;
        right: 15px; /* Kenardan boşluk */
        top: 0;
        bottom: 0;
        margin: auto; /* Dikey ortalama */
        width: 36px;
        height: 36px;
        border-radius: 50%; /* Yuvarlak */
        align-items: center;
        justify-content: center;
        color: var(--color-text-muted);
        font-size: 12px;
        cursor: pointer;
        z-index: 10;
        
        /* Modern Look & Feel */
        background: var(--theme-overlay-soft);
        border: 1px solid var(--theme-border-soft);
        
        /* Performance & Animation - SPESİFİK TRANSITION */
        transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.2s, color 0.2s, border-color 0.2s;
        will-change: transform;
        transform: rotate(0deg) translateZ(0);
        backface-visibility: hidden;
        
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-item.open .mobile-dropdown-arrow {
        transform: rotate(180deg) translateZ(0);
        color: var(--color-on-accent);
        background: var(--color-accent); /* Aktifken kırmızı */
        border-color: var(--color-accent);
        box-shadow: 0 0 10px rgba(227, 10, 23, 0.3);
    }

    .mobile-dropdown-arrow:active {
        transform: scale(0.9) translateZ(0); /* Basma efekti */
        transition: none;
    }

    .social-icons { display: none; }
    
    /* Mobil Menü Animasyonları */
    .menu {
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        transform: translateX(-100%);
        left: 0;
    }
    
    .menu.active {
        transform: translateX(0);
    }
  }

/* === LIKE BUTTON (Heart) === */
.like-btn {
    background: rgba(255, 255, 255, 0.05); /* Şeffaf dairesel arka plan */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #888;
    font-size: 14px;
    margin-top: 14.5px; /* Daha aşağı indirildi (hizalama için) */
    margin-right: 0px; /* Sağa hizalandı */
}

.like-btn:hover {
    color: #E30A17;
    border-color: #E30A17;
    background: rgba(227, 10, 23, 0.1);
    transform: scale(1.1);
}

.like-btn.liked {
    color: #E30A17;
    background: rgba(255, 255, 255, 0.9);
    border-color: #fff;
}

.like-btn i {
    pointer-events: none;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #222;
}

/* Popular Card Like Button - Same Circular Design */
.popular-card .like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    margin: 0;
    width: 32px;
    height: 32px;
    font-size: 14px;
}
.popular-card .like-btn:hover {
    background: rgba(227, 10, 23, 0.1);
    border-color: #E30A17;
    color: #E30A17;
}
.popular-card .like-btn.liked {
    background: rgba(255,255,255,0.9);
    border-color: #fff;
    color: #E30A17;
}

/* === CLEAN MODERN LOADER (TAKEOFF) === */
#globalLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #000000;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#globalLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Ana Logo Kutusu */
.loader-logo-container {
  position: relative;
  width: 250px; 
  max-width: 80%;
  margin-bottom: 30px;
}

.loader-logo-text {
  display: block;
  width: 100%;
  height: auto;
}

.loader-logo-plane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Zarif Progress Bar */
.loader-progress-wrapper {
  width: 140px;
  height: 3px;
  background-color: #222;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.loader-progress-bar {
  width: 0%;
  height: 100%;
  background-color: #E30A17;
  transition: width 0.1s linear;
}

/* Classes for animations triggered by JS */
.loader-start-exit .loader-logo-plane {
  animation: loader_ucurBeni45 0.45s ease-in forwards;
}

.loader-start-exit .loader-logo-text {
  animation: loader_sarsil_hafif 0.6s ease-in-out;
}

/* --- ANİMASYONLAR --- */
@keyframes loader_ucurBeni45 {
  0% {
      transform: translate(0, 0) scale(1);
      opacity: 1;
  }
  100% {
      /* X: 1500px sağa, Y: -1500px yukarı = Kusursuz 45 derece */
      transform: translate(1500px, -1500px) scale(2.8);
      opacity: 0;
  }
}

@keyframes loader_sarsil_hafif {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-2px, -1px); }
  50% { transform: translate(2px, 1px); }
  75% { transform: translate(-1px, 1px); }
}

/* Mobil Düzenleme */
@media (max-width: 600px) {
  .loader-logo-container { width: 180px; }
  .loader-progress-wrapper { width: 100px; }
}


/* === AUTH BUTTONS & MODAL === */
.auth-buttons {
  display: flex;
  gap: 12px;
}
.auth-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  transition: var(--transition);
}
.auth-btn.login {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.auth-btn.signup:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}
.auth-btn.login:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}
#authModal .auth-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.auth-form h3 {
  margin: 0 0 10px;
  font-size: 1.8rem;
  color: var(--color-text);
  text-align: center;
}
.auth-form input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #444;
  background: #111;
  color: var(--color-text);
  font-size: 1rem;
}
.auth-form button {
  padding: 12px;
  border-radius: 8px;
  border: none;
  background: var(--color-accent);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}
.auth-form button:hover {
  background: #ff1c2a;
}
.auth-form .form-toggle {
  color: var(--color-text-muted);
  text-align: center;
  font-size: 13px;
}
.auth-form .form-toggle span {
  color: var(--color-accent);
  cursor: pointer;
  text-decoration: underline;
}
.auth-form .auth-message {
  text-align: center;
  color: #ff4d4d;
  font-size: 14px;
  display: none; /* Initially hidden */
}
#authModal .auth-modal__dialog {
  max-width: 450px;
}

/* Mobile Header Optimization */
@media (max-width: 900px) {
  .header {
    padding: 0 15px !important;
    height: 70px !important;
    justify-content: flex-start; /* Logo sola */
    gap: 10px;
  }

  .header .logo { margin-right: auto; } /* Logoyu sola it */

  .auth-buttons {
      display: flex !important;
      padding: 0 !important;
      border: none !important;
      width: auto !important;
      order: 2; /* Hamburger'in soluna al */
  }

  .hamburger-btn {
      order: 3;
      margin-left: 10px;
  }

  .user-name { display: none; } /* Mobilde sadece avatar (ikon) kalsın yer kazanalım */
  .user-avatar { width: 32px; height: 32px; font-size: 14px; }
  
      .profile-dropdown {
        right: -50px; /* Dropdown'ı biraz daha ortala */
        top: 50px;
      }
  
      /* YENİ: Popüler Kart Kalp İkonu Mobilde Aşağı Alınsın */
      .popular-card .like-btn {
          top: auto !important;
          bottom: 12px !important;
          right: 15px !important;
          width: 28px !important; /* Biraz küçültelim yer kazanalım */
                  height: 28px !important;
                  font-size: 12px !important;
              }
          
                      /* Kategori Haber Kartlarındaki Kalp İkonu Ayarı */
          
                      .card .like-btn {
          
                          margin-top: 0px !important; /* 5px'ten 0px'e çekilerek hafif yukarı alındı */
          
                          margin-right: -5px !important; 
          
                      }          }.input-error-message {
  color: #ff4d4d;
  font-size: 13px;
  text-align: left;
  margin-top: -10px;
  margin-bottom: 10px;
  display: none; /* Initially hidden */
}
.auth-form button.is-verifying {
  cursor: not-allowed;
  opacity: 0.8;
  position: relative;
  color: transparent; /* Hide text */
}
.auth-form button.is-verifying::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.turnstile-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}
.turnstile-container label {
  font-size: 14px;
  color: var(--color-text-muted);
}

/* === AUTH BUTTONS & HEADER USER === */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Giriş yapmamış kullanıcı butonları */
.auth-btn {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap; /* Metnin taşmasını engelle */
}

.auth-btn.login {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.auth-btn.signup:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: transparent;
}

.auth-btn.login:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text);
}

/* === LOGGED IN USER (Profil Menüsü) === */
.user-profile-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.user-avatar {
  width: 36px;
  height: 36px;
  background-color: var(--color-accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  text-transform: uppercase;
  border: 2px solid var(--theme-surface-card);
}

.user-name {
  color: var(--color-text);
  font-size: 14px;
  font-weight: 600;
  max-width: 120px; /* Uzun isimleri kes */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Profil Dropdown Menüsü */
.profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  background-color: var(--theme-surface-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px;
  min-width: 150px;
  display: none; /* Varsayılan gizli */
  flex-direction: column;
  gap: 5px;
  box-shadow: var(--theme-shadow-soft);
  z-index: 1002;
}

.profile-dropdown.show {
  display: flex;
}

.profile-dropdown button {
  background: none;
  border: none;
  color: var(--color-text-muted);
  text-align: left;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 13px;
}

.profile-dropdown button:hover {
  background-color: var(--theme-overlay-soft);
  color: var(--color-text);
}

.profile-dropdown button.logout-btn {
  color: #ff4d4d;
}

.profile-dropdown button.logout-btn:hover {
  background-color: rgba(255, 77, 77, 0.1);
}

/* === RESPONSIVE (MOBİL) === */
@media (max-width: 900px) {
  .header {
    padding: 10px 20px !important;
  }

  .auth-buttons {
    display: flex !important;
    align-items: center;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
    min-width: 0;
  }
}

/* Final mobile header guard: keep logged-out controls inside the viewport. */
@media (max-width: 1100px) {
  .header,
  #main-header.header {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    gap: 8px;
    overflow: visible;
  }

  .header .logo {
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    margin-right: auto;
  }

  .header .logo img {
    width: auto !important;
    max-width: 110px;
    max-height: 54px;
    object-fit: contain;
  }

  .header-theme-slot {
    order: 2;
    flex: 0 0 auto;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .auth-buttons {
    order: 3;
    flex: 0 0 auto;
    min-width: 0;
    gap: 0;
  }

  .auth-pill-button {
    max-width: 148px;
  }

  .auth-btn-part {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0;
  }

  .hamburger-btn {
    order: 4;
    flex: 0 0 auto;
    margin-left: 0 !important;
  }
}

@media (max-width: 480px) {
  .header,
  #main-header.header {
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 6px;
    min-height: 62px !important;
  }

  .header .logo img {
    max-width: 96px;
    max-height: 48px;
  }

  .auth-btn-part {
    min-height: 32px;
    padding: 6px 7px;
    font-size: 8.5px;
    gap: 3px;
  }

  .auth-divider {
    height: 14px;
  }

  .hamburger-btn {
    padding: 4px;
    gap: 5px;
  }

  .hamburger-btn .bar {
    width: 22px;
  }
}

@media (max-width: 380px) {
  .header,
  #main-header.header {
    padding-left: 8px !important;
    padding-right: 8px !important;
    gap: 5px;
  }

  .header .logo img {
    max-width: 82px;
    max-height: 44px;
  }

  .auth-btn-part {
    min-height: 30px;
    padding: 5px 6px;
    font-size: 7.5px;
  }

  .auth-divider {
    height: 12px;
  }

  .hamburger-btn .bar {
    width: 20px;
  }
}

/* =========================================
   NEWS TICKER (SON DAKİKA BANDI - FINAL)
   ========================================= */
.news-ticker-container {
    display: flex;
    align-items: stretch;
    background-color: #141414; /* KOYU GRİ */
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    margin: 15px auto 0;
    max-width: 900px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    height: 40px;
    position: relative;
    z-index: 10;
}

/* SOL SABİT ETİKET */
.ticker-label {
    background-color: var(--color-accent);
    color: #fff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 12px;
    white-space: nowrap;
    z-index: 5;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.label-arrow {
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 10px solid var(--color-accent);
    z-index: 6;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: scrollTicker 10s linear infinite; /* HIZLI AMA OKUNUR: 12s */
    padding-left: 20px;
}

.news-ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

/* AYRAÇ: // */
.ticker-item-wrapper::after {
    content: '//';
    color: var(--color-accent);
    font-weight: 900;
    font-size: 16px;
    margin: 0 30px;
    font-style: italic;
    opacity: 0.6;
}

.ticker-track .ticker-item-wrapper:last-child::after {
    display: none;
}

.ticker-text {
    color: #eee;
    font-weight: 600;
    font-size: 13px;
}

/* --- ETİKET TİPLERİ --- */
.ticker-badge {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    margin-right: 12px;
    text-transform: uppercase;
}

.ticker-badge.type-breaking {
    background-color: #E30A17;
    color: #fff;
}

.ticker-badge.type-hot {
    background-color: #ff9f43;
    color: #fff;
}

.ticker-badge.type-agenda {
    background-color: #3498db;
    color: #fff;
}

.ticker-badge.type-analysis {
    background-color: #9b59b6;
    color: #fff;
}

.ticker-badge.type-news {
    background-color: #2ecc71;
    color: #fff;
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-25%); } /* 4 Kopya olduğu için %25 kayınca başa döner */
}

/* =========================================
   GELİŞMİŞ RESPONSIVE AYARLAR (MOBİL İYİLEŞTİRMELERİ)
   ========================================= */

@media (max-width: 768px) {
    /* ... existing rules ... */
    
    /* Ticker Mobil Fix */
    .news-ticker-container {
        height: auto;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        margin: 15px 0 0 0;
        border-radius: 6px;
    }

    .ticker-label {
        width: 100%;
        justify-content: center;
        padding: 8px;
        height: 35px;
    }

    .label-arrow {
        display: none;
    }

    .ticker-content {
        height: 35px;
        border-top: 1px solid #222;
    }

    .ticker-item-wrapper::after {
        margin: 0 15px;
    }

    /* Genel Alan Kullanımı */
    .content-with-ads {
        padding: 0 10px;
        margin-top: 15px;
    }

    /* Slider İyileştirmesi */
    .news-slider-wrapper {
        border-radius: 12px; /* Mobilde de hafif yuvarlak kalsın */
    }
    
    .slider-viewport {
        aspect-ratio: 16 / 11; /* Mobilde biraz daha kareye yakın */
    }
    
    .slide-content {
        padding: 40px 15px 15px; /* Mobilde metin alanını daralt */
    }
    
    .slide-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    /* Kart Yapısı (Grid) */
    .grid-layout {
        grid-template-columns: 1fr; /* Tek sütun */
        gap: 15px;
    }

    .card {
        flex-direction: column; /* Görsel üstte, metin altta */
        height: auto; /* Yükseklik serbest */
        min-height: auto;
    }

    .card__image {
        width: 100%;
        height: 200px; /* Görsel yüksekliği sabit */
        flex: none; /* Esnemesin */
        border-right: none;
        border-bottom: 1px solid #333;
    }

    .card__content {
        padding: 15px;
    }

    .card .news-title {
        font-size: 1.1rem;
    }

    .card .read-more-link {
        width: auto !important; 
        padding: 8px 15px !important; 
        font-size: 11px !important;
        margin-top: 0px !important; /* Daha da yukarı çekildi */
    }

    .card-footer {
        margin-top: 8px !important; /* Üst boşluk azaltıldı */
        padding-top: 8px !important;
    }

    /* Kategori Haber Kartlarındaki Kalp İkonu Ayarı */
    .custom-modal__dialog {
        padding: 20px 15px;
        width: 95%;
        max-height: 90vh;
    }
    
    .custom-modal__title {
        font-size: 1.4rem;
    }
    
    .modal-article-img {
        float: none !important;
        width: 100% !important;
        margin: 10px 0 !important;
    }
}

@media (max-width: 480px) {
    /* Küçük Ekranlar (Telefon) */
    .page-hero .page-title {
        font-size: 1.5rem;
    }
    
    .ticker-label {
        font-size: 11px;
        padding: 8px;
    }
    
    .ticker-text {
        font-size: 12px;
    }
}

/* =========================================
   KATEGORİ NAVİGASYONU (ÖNCEKİ / SONRAKİ)
   ========================================= */
.category-nav-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-link-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.nav-main-link {
    display: block;
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 20px 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 3;
}

.nav-main-link:hover {
    background: #161616;
    border-color: #333;
    transform: translateY(-2px);
}

.nav-sub-card {
    display: block;
    background: #0a0a0a;
    border: 1px solid #222;
    border-top: none;
    padding: 12px 20px;
    width: 80%;
    border-radius: 0 0 12px 12px;
    position: relative;
    margin-top: -1px; /* Ana kutuya sıfırla */
    z-index: 1;
    text-decoration: none;
    transition: all 0.3s;
}

.nav-link-card.next .nav-sub-card { 
    align-self: flex-end; 
    text-align: right; 
    margin-right: 20px; /* Sağa yaslanmasını engelleyip sola kaydırdık */
}

.nav-link-card.prev .nav-sub-card { 
    align-self: flex-start; 
    text-align: left; 
    margin-left: 20px; /* Sola yaslanmasını engelleyip sağa kaydırdık */
}

.nav-sub-card:hover {
    background: #111 !important;
    border-color: var(--color-accent) !important;
    z-index: 4; /* Hover anında öne çıksın */
}

/* Hover Efektleri */
.nav-main-link:hover .nav-main-title { color: var(--color-accent); }

/* Basamağa gelindiğinde SADECE alt başlık vurgulansın */
.nav-sub-card:hover .nav-sub-content { 
    color: var(--color-accent) !important; 
}

/* Önceki eklenen :has kuralı kaldırıldı, böylece ana başlık etkilenmeyecek */

.nav-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.nav-label-small {
    font-size: 9px;
    font-weight: 700;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-label {
    font-size: 11px;
    font-weight: 800;
    color: #E30A17;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-main-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.nav-sub-label {
    font-size: 8px;
    font-weight: 800;
    color: #444;
    text-transform: uppercase;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.nav-sub-content {
    font-size: 13px;
    font-weight: 600;
    color: #888;
}

.nav-link-card.next { align-items: flex-end; text-align: right; margin-bottom: 30px; }
.nav-link-card.prev { align-items: flex-start; text-align: left; margin-bottom: 30px; }

.nav-link-card.next .nav-header-row { flex-direction: row-reverse; width: 100%; }
.nav-link-card.prev .nav-header-row { flex-direction: row; width: 100%; }

@media (max-width: 600px) {
    .category-nav-container {
        flex-direction: row; /* Mobilde yan yana gelsinler */
        gap: 8px; /* Aradaki boşluğu daralttık */
        padding: 0 10px;
        align-items: flex-start;
    }
    
    .nav-link-card {
        flex: 1; /* Ekranı %50 %50 paylaşsınlar */
        min-width: 0; /* Taşmayı önler */
    }

    .nav-main-link {
        padding: 10px 12px; /* İç boşluklar azaltıldı */
        min-height: 80px; /* Sabit yükseklik ile dikdörtgen formu korundu */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .nav-main-title {
        font-size: 0.85rem; /* Yazılar sığması için küçültüldü */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-label {
        font-size: 8px; /* Etiketler küçültüldü */
        letter-spacing: 0.5px;
    }

    .nav-label-small {
        display: none; /* Mobilde yer kazanmak için en küçük etiketi gizledik */
    }

    .nav-sub-card {
        width: 95%; /* Basamak mobilde kutuyu neredeyse tam kaplasın */
        padding: 6px 10px;
        margin-top: -1px;
    }

    .nav-sub-label {
        font-size: 7px;
    }

    .nav-sub-content {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Mobilde basamak kaydırma miktarı azaltıldı */
    .nav-link-card.next .nav-sub-card { margin-right: 5px; }
    .nav-link-card.prev .nav-sub-card { margin-left: 5px; }
}


/* --- Static Page Standard Design --- */
.static-page-container {
    max-width: 900px;
    margin: 40px auto;
    background: #141414;
    padding: 50px;
    border-radius: 12px;
    border: 1px solid #333;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    color: #ddd;
    display: flex;
    flex-direction: column;
    min-height: 60vh;
}

.static-page-title {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    border-bottom: 2px solid #E30A17;
    padding-bottom: 15px;
    display: inline-block;
}

.static-content {
    flex-grow: 1;
    margin-bottom: 40px;
}

.static-content h2, .static-content h3 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.static-content p {
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-align: justify;
}

/* Bottom Left Back Button Area */
.bottom-actions {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: flex-start; /* Sola yasla */
}

.back-btn {
    background: transparent;
    border: 1px solid #E30A17;
    color: #E30A17;
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.back-btn:hover {
    background: #E30A17;
    color: #fff;
}

.mission-box {
    background: #1a1a1a;
    border-left: 4px solid #E30A17;
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
}

/* =========================================
   MODERN 4-COLUMN FOOTER
   ========================================= */
.main-footer {
    background-color: #050505;
    border-top: 1px solid #333;
    padding: 60px 0 20px;
    margin-top: 50px;
    color: #b0b0b0;
    font-size: 14px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-col h4,
.footer-col .footer-heading {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after,
.footer-col .footer-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Brand Column */
.footer-logo-link img {
    display: block;
    width: auto !important;
    height: 40px !important;
    max-width: 160px;
    max-height: 44px;
    aspect-ratio: 862 / 465;
    object-fit: contain;
    margin-bottom: 15px;
    opacity: 0.9;
}

/* Links List */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #888;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links-list a::before {
    content: '\f105'; /* Angle right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    opacity: 0.5;
    transition: transform 0.3s;
}

.footer-links-list a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-links-list a:hover::before {
    color: var(--color-accent);
    opacity: 1;
}

/* Social Icons (Footer specific) */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: translateY(-3px);
}

/* Newsletter Form */
.footer-form .input-group {
    display: flex;
    background: #111;
    border: 1px solid #333;
    border-radius: 6px;
    overflow: hidden;
}

.footer-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 15px;
    color: #fff;
    font-size: 13px;
    outline: none;
}

.footer-form button {
    background: var(--color-accent);
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
    transition: background 0.3s;
}

.footer-form button:hover {
    background: #c00;
}

/* Footer Bottom */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px;
    border-top: 1px solid #222;
    text-align: center;
    color: #666;
    font-size: 12px;
}

/* Responsive Footer */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-link {
        display: inline-block;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-links-list a {
        justify-content: center; /* Linkleri ortala */
    }
}

/* =========================================
   YORUMLAR BÖLÜMÜ (COMMENTS)
   ========================================= */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}
.comments-title {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 20px;
    border-left: 4px solid var(--color-accent);
    padding-left: 10px;
}
.comment-form {
    margin-bottom: 30px;
    background: var(--theme-surface-card-alt);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
}
.comment-quote-preview {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.comment-quote-preview.has-quotes {
    display: flex;
}
.comment-quote-chip {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(227, 10, 23, 0.24);
    border-left: 4px solid var(--color-accent);
    border-radius: 8px;
    background: var(--theme-surface-float);
}
.comment-quote-chip__body {
    min-width: 0;
}
.comment-quote-chip__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: var(--color-text);
    font-size: 0.85rem;
    font-weight: 700;
}
.comment-quote-chip__meta i {
    color: var(--color-accent);
    font-size: 0.8rem;
}
.comment-quote-chip p {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.comment-quote-chip__remove {
    width: 28px;
    height: 28px;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.comment-quote-chip__remove:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(227, 10, 23, 0.08);
}
.comment-textarea {
    width: 100%;
    min-height: 100px;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--theme-border-strong);
    background: var(--theme-input-bg);
    color: var(--color-text);
    font-family: inherit;
    resize: vertical;
    margin-bottom: 15px;
}
.comment-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}
.submit-comment-btn {
    background: var(--color-accent);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}
.submit-comment-btn:hover {
    background: #b80812;
}
.login-to-comment {
    background: var(--theme-surface-card-alt);
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    border: 1px dashed var(--theme-border-strong);
    color: var(--color-text-muted);
    margin-bottom: 30px;
}
.login-to-comment-btn {
    background: var(--theme-surface-float);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
}
.login-to-comment-btn:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.comment-item {
    background: var(--theme-surface-card);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
}
.comment-item:has(.btn-delete-comment:hover) {
    border-color: var(--color-accent);
    background: rgba(227, 10, 23, 0.05);
    box-shadow: 0 0 10px rgba(227, 10, 23, 0.2);
}
.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--theme-surface-float);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-accent);
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}
.comment-content-wrapper {
    flex-grow: 1;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.comment-author-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-author {
    font-weight: bold;
    color: var(--color-text);
}
.comment-date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}
.comment-actions {
    display: flex;
    gap: 8px;
}
.comment-action-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    transition: color 0.2s;
}
.comment-action-btn:hover {
    color: var(--color-accent);
}
.comment-edit-input {
    width: 100%;
    min-height: 80px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--color-accent);
    background: var(--theme-input-bg);
    color: var(--color-text);
    font-family: inherit;
    resize: vertical;
    margin-top: 5px;
    margin-bottom: 10px;
}
.comment-edit-counter {
    margin: -4px 0 10px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-align: right;
}
.comment-edit-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}
.comment-save-btn, .comment-cancel-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    cursor: pointer;
    border: none;
}
.comment-save-btn {
    background: var(--color-accent);
    color: #fff;
}
.comment-cancel-btn {
    background: var(--theme-surface-float);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
.comment-text {
    color: var(--color-text-muted);
    line-height: 1.5;
}
.own-comment {
    background: rgba(227, 10, 23, 0.05);
    border-color: rgba(227, 10, 23, 0.2);
}
.own-comment-badge {
    font-size: 0.75rem;
    color: var(--color-accent);
    font-weight: 600;
    margin-left: 5px;
}
.is-quote-comment {
    background: rgba(52, 152, 219, 0.05);
    border-color: rgba(52, 152, 219, 0.2);
}
.quote-badge {
    margin-left: 5px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    font-weight: 500;
    font-style: italic;
}
.quote-block {
    background: var(--theme-surface-float);
    border-left: 3px solid var(--color-accent);
    padding: 12px 14px;
    margin: 0 0 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    overflow-wrap: anywhere;
}
.quote-block__meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 0.86rem;
}
.quote-block__meta i {
    color: var(--color-accent);
    font-size: 0.8rem;
}
.quote-block__meta span {
    color: var(--color-text-muted);
    font-size: 0.78rem;
    font-weight: 500;
}
.quote-block__text {
    color: var(--color-text-muted);
    font-style: italic;
    line-height: 1.5;
}
.toast-notification {
    position: fixed;
    bottom: 20px;
    right: -300px;
    background: #111;
    color: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    border-left: 4px solid var(--color-accent);
    z-index: 9999;
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.toast-notification.show {
    right: 20px;
}
#customConfirmModal .custom-confirm-dialog {
    max-width: 400px;
    padding: 30px 20px;
    text-align: center;
    background: var(--theme-surface-card);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
#customConfirmModal .custom-confirm-icon {
    margin-bottom: 15px;
    color: var(--color-accent);
    font-size: 3rem;
}
#customConfirmModal .custom-confirm-title {
    margin: 0 0 10px;
    color: var(--color-text);
    font-size: 1.3rem;
    font-weight: 800;
}
#customConfirmModal .custom-confirm-text {
    margin: 0 0 25px;
    color: var(--color-text-muted);
    line-height: 1.5;
}
#customConfirmModal .custom-confirm-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}
#customConfirmModal .custom-confirm-btn {
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 800;
}
#customConfirmModal .custom-confirm-btn--cancel {
    background: var(--theme-surface-float);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}
#customConfirmModal .custom-confirm-btn--danger {
    background: var(--color-accent);
    color: var(--color-on-accent, #fff);
}
.toast-icon {
    color: var(--color-accent);
    font-size: 1.2rem;
}
.no-comments {
    text-align: center;
    color: var(--color-text-muted);
    padding: 20px;
    font-style: italic;
}

/* =========================================
   GÜNDEM SLIDER - DARK THEME (SİTE UYUMLU)
   ========================================= */

.news-slider-wrapper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  background-color: #141414;
  border: 1px solid #333;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-family: 'Poppins', sans-serif;
  user-select: none; /* Metin seçimini engelle, tıklamayı kolaylaştır */
}

/* --- Görsel Alanı --- */
.slider-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  contain: layout paint;
  background-color: #000;
}

.slider-track {
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  contain: layout paint;
  transition: none;
  cursor: grab; /* Tutulabilir imleci */
  touch-action: pan-y; /* Mobilde dikey kaydırmaya izin ver, yatayı JS ile yakala */
}

.slider-track:active {
  cursor: grabbing; /* Tutarken sıkma imleci */
}

.slide {
  grid-area: 1 / 1;
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  position: relative;
  overflow: hidden;
  contain: layout paint;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.slide-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 0.8;
  transition: opacity 0.3s;
}

/* Manşet Yazı Stili */
.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 60px 25px 25px; /* Üstten daha fazla boşluk (gradient için) */
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
  pointer-events: none; /* Tıklamalar alttaki linklere geçsin */
  z-index: 5;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.slide-category {
  background-color: #E30A17;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  display: inline-block;
}

.slide-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  max-width: 90%;
}

/* --- TIKLANABİLİR ALANLAR (Resim Üzerinde) --- */

/* Link Alanı (Tüm Slide) */
.slide-click-area {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer; /* Tıklanabilir */
}


/* --- Alt Kontrol Çubuğu --- */
.slider-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  background-color: #0a0a0a;
  height: 45px;
  border-top: 1px solid #333;
}

.control-arrow {
  background: none;
  border: none;
  font-size: 24px;
  color: #888;
  cursor: pointer;
  padding: 0 10px;
  line-height: 1;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.control-arrow:hover {
  color: #E30A17;
  transform: scale(1.2);
}

.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: #444;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.dot:hover {
  background-color: #666;
}

.dot.active {
  background-color: #E30A17;
  width: 20px;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 600px) {
  .news-slider-wrapper { border-radius: 0; border-left: none; border-right: none; }
  .slider-viewport { aspect-ratio: 16 / 10; }
  .slide-title { font-size: 1.1rem; }
  .slider-control-bar { height: 40px; }
  /* Mobilde kenar alanları küçült, yanlışlıkla basılmasın */
  .slide-nav-area { width: 10%; }
  .slide-click-area { left: 10%; width: 80%; }
}


/* =========================================
   YAZARLAR BÖLÜMÜ (Modern & Yuvarlak)
   ========================================= */
.authors-section {
    max-width: 1200px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #E30A17; /* Kırmızı çizgi */
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #E30A17; /* Kırmızı */
    text-transform: uppercase;
    margin: 0;
}

.view-all-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #fff;
}

.authors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    justify-items: center;
}

.author-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    group: group; /* Hover için grup */
    width: 100%;
    max-width: 220px;
}

.author-img-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid #1a1a1a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    background-color: #222;
}

.author-card:hover .author-img-wrapper {
    border-color: #E30A17;
    transform: scale(1.05);
}

.author-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%); /* Hafif siyah beyaz */
    transition: all 0.3s;
}

.author-card:hover .author-img {
    filter: grayscale(0%); /* Renkli yap */
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 5px 0;
}

.author-article-title {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.4;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 satırla sınırla */
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.author-card:hover .author-article-title {
    color: #E30A17;
}
