/* ==========================================================================
   KAHTA GÜNCEL HABER - v1.7 BETA MODERN THEME STYLESHEET
   Telif Hakkı (c) 2026 Korkut Yazılım ve Medya A.Ş.
   ========================================================================== */

:root {
  --primary: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #fee2e2;
  --accent-blue: #0284c7;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --container-width: 1280px;
}

[data-theme="dark"],
html[data-theme="dark"] body,
body.dark-mode {
  --bg-main: #0b0f19;
  --bg-card: #151d2f;
  --bg-subtle: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: #243048;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Base resets & Container */
html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.theme-container {
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* ==========================================================================
   1. KAYAN ÜST BAR (TARİH, HAVA DURUMU, BORSA TICKER)
   ========================================================================== */
.top-utility-bar {
  background: #0f172a;
  color: #f8fafc;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12.5px;
  height: 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 100;
}

.top-utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
  min-width: 0;
}

.top-utility-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  background: #0f172a;
  padding-right: 12px;
}

.utility-clock, .utility-weather {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  white-space: nowrap;
}

.utility-clock i, .utility-weather i {
  color: var(--primary);
}

.currency-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 12px, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 12px, black 96%, transparent);
}

.currency-ticker-track {
  display: inline-flex;
  gap: 24px;
  animation: tickerSlide 25s linear infinite;
}

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

@keyframes tickerSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.ticker-name {
  color: #94a3b8;
}

.ticker-val {
  color: #ffffff;
  font-weight: 700;
}

.ticker-change.up { color: #10b981; }
.ticker-change.down { color: #ef4444; }

/* ==========================================================================
   2. HEADER (LOGO, HABER ARAMA, TEMA & PC YAN MENÜ BUTONU)
   ========================================================================== */
.site-main-header {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 99;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* PC Yan Menü Butonu */
.btn-side-menu-trigger {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-side-menu-trigger:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.brand-titles {
  display: flex;
  flex-direction: column;
}

.brand-main-title {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.brand-main-title span {
  color: var(--primary);
}

.brand-sub-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.header-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 4px 6px 4px 14px;
  width: 240px;
  transition: all 0.2s ease;
}

.search-box-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
  width: 280px;
}

.search-input-field {
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  width: 100%;
}

.search-submit-btn {
  background: var(--primary);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.search-submit-btn:hover {
  transform: scale(1.05);
}

.theme-toggle-round {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-toggle-round:hover {
  background: var(--border-color);
  color: var(--primary);
}

/* ==========================================================================
   PC YAN MENÜ (SIDE DRAWER)
   ========================================================================== */
.side-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72) !important;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 99998 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.side-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background: var(--bg-card, #ffffff) !important;
  color: var(--text-main, #0f172a) !important;
  z-index: 99999 !important;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

[data-theme="dark"] .side-drawer,
body.dark-mode .side-drawer {
  background: #0f172a !important;
  color: #f8fafc !important;
}

.side-drawer .brand-main-title {
  color: var(--text-main, #0f172a) !important;
}

[data-theme="dark"] .side-drawer .brand-main-title,
body.dark-mode .side-drawer .brand-main-title {
  color: #f8fafc !important;
}

.side-drawer-overlay.active .side-drawer {
  transform: translateX(0);
}

.side-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.side-drawer-close {
  background: var(--bg-subtle);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-drawer-menu-list {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
  margin: 0;
}

.side-drawer-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.side-drawer-item a i {
  font-size: 16px;
  width: 22px;
  text-align: center;
  color: var(--primary);
}

.side-drawer-item a:hover {
  background: var(--bg-subtle);
  color: var(--primary);
  transform: translateX(4px);
}

.side-drawer-divider {
  height: 1px;
  background: var(--border-color);
  margin: 10px 14px;
}

.side-drawer-footer {
  margin-top: auto;
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--bg-subtle);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   3. KATEGORİ NAVİGASYONU (YATAY KAYAN CHIP MENÜSÜ)
   ========================================================================== */
.categories-nav-bar {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  overflow: hidden;
}

.categories-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
}

.categories-track::-webkit-scrollbar {
  display: none;
}

.category-chip {
  padding: 7px 16px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.category-chip:hover {
  background: var(--border-color);
  color: var(--text-main);
}

.category-chip.active {
  background: var(--primary);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.3);
}

.category-chip.active i {
  color: #ffffff !important;
}

/* ==========================================================================
   4. SON DAKİKA HABERLERİ BANDI (BREAKING NEWS TICKER)
   ========================================================================== */
.breaking-news-bar {
  margin: 14px 0 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.breaking-badge {
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffffff;
  animation: pulseDotAnim 1.2s infinite;
}

@keyframes pulseDotAnim {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.breaking-ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  mask-image: linear-gradient(to right, transparent, black 8px, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8px, black 96%, transparent);
}

.breaking-ticker-content {
  display: inline-flex !important;
  white-space: nowrap !important;
  padding-left: 10px;
  animation: breakingMarquee 35s linear infinite !important;
  will-change: transform;
}

.breaking-ticker-content:hover {
  animation-play-state: paused !important;
}

@keyframes breakingMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.breaking-news-item {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  margin-right: 36px;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.breaking-news-item:hover {
  color: var(--primary);
}

.breaking-news-bullet {
  font-size: 6px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   5. REKLAM BANNER ALANI (RESPONSIVE PC & MOBİL)
   ========================================================================== */
.home-ad-banner-section {
  margin: 14px 0 18px;
  display: flex;
  justify-content: center;
}

.ad-banner-container {
  width: 100%;
  max-width: 970px;
  min-height: 90px;
  background: var(--bg-card);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ad-banner-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ad-banner-img {
  width: 100%;
  max-height: 120px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
}

.ad-tag-label {
  position: absolute;
  top: 4px;
  right: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   6. KAYAN HABERLER (MANŞET SLİDER VİTRİNİ)
   ========================================================================== */
.headline-slider-section {
  margin: 16px 0 28px;
}

.slider-outer-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #0f172a;
}

.slider-track-wrap {
  width: 100%;
  height: 440px;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .slider-track-wrap {
    height: 320px;
  }
}

.slider-slides-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.slide-item-card {
  min-width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  display: block;
}

.slide-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

@media (max-width: 768px) {
  .slide-overlay-gradient {
    padding: 18px;
  }
}

.slide-badge-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.slide-category-pill {
  background: var(--primary);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
}

.slide-district-pill {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.slide-title-text {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .slide-title-text {
    font-size: 17px;
  }
}

.slide-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #cbd5e1;
}

.slider-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.slider-arrow-btn:hover {
  background: var(--primary);
}

.slider-prev { left: 16px; }
.slider-next { right: 16px; }

.slider-dots-container {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 40%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-dot.active {
  width: 22px;
  border-radius: 6px;
  background: var(--primary);
}

/* ==========================================================================
   GENEL BÖLÜM BAŞLIĞI STİLLERİ
   ========================================================================== */
.section-headline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-headline-bar::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.section-title i {
  color: var(--primary);
}

.section-more-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.section-more-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   7. İLÇELERE GÖRE HABERLER BÖLÜMÜ
   ========================================================================== */
.districts-section {
  margin: 32px 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.districts-tab-track {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 6px;
  margin-bottom: 16px;
}

.districts-tab-track::-webkit-scrollbar {
  display: none;
}

.district-tab-btn {
  padding: 6px 14px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.district-tab-btn:hover {
  background: var(--border-color);
}

.district-tab-btn.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
}

.district-news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

/* ==========================================================================
   8. KÖŞE YAZARLARIMIZ BÖLÜMÜ
   ========================================================================== */
.columnists-showcase-section {
  margin: 32px 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.columnists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.columnist-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.columnist-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.columnist-avatar-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--primary);
  flex-shrink: 0;
}

.columnist-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.columnist-info {
  flex: 1;
  min-width: 0;
}

.columnist-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 2px;
}

.columnist-profession {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
}

.columnist-article-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

/* ==========================================================================
   9. BİRLEŞİK HABER AKIŞI (NORMAL + VİDEOLU HABERLER AYNI AKIŞTA)
   ========================================================================== */
.main-news-stream-section {
  margin: 32px 0 28px;
}

.news-stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(220, 38, 38, 0.35);
}

.news-card-img-wrap {
  width: 100%;
  height: 195px;
  position: relative;
  background: var(--bg-subtle);
  overflow: hidden;
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.05);
}

/* Video Rozeti & Play İndikatörü */
.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.9);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  padding-left: 2px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.news-card:hover .video-play-indicator {
  transform: translate(-50%, -50%) scale(1.15);
  background: #dc2626;
}

.news-card-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  gap: 6px;
  z-index: 2;
}

.badge-video {
  background: #dc2626;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-category {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-district {
  background: rgba(2, 132, 199, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.news-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  padding-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

.news-read-btn {
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   10. GÜNDEMDEKİLER (POPÜLER & ÇOK OKUNANLAR)
   ========================================================================== */
.trending-section {
  margin: 32px 0 34px;
}

.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.trending-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.trending-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.trending-num-badge {
  font-size: 20px;
  font-weight: 900;
  color: var(--primary);
  opacity: 0.85;
  width: 32px;
  text-align: center;
  flex-shrink: 0;
}

.trending-info {
  flex: 1;
  min-width: 0;
}

.trending-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-meta {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   11. FOOTER (ALT ALAN - KÜNYE, SOSYAL MEDYA, TELİF & VERSİYON 1.7 BETA)
   ========================================================================== */
.site-footer-modern {
  background: #0f172a;
  color: #f8fafc;
  padding: 44px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

@media (max-width: 900px) {
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 480px;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.footer-link-item a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-link-item a:hover {
  color: #ffffff;
}

.footer-social-wrap {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.footer-bottom-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-kunye-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.footer-kunye-link {
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.footer-kunye-link:hover {
  color: #ffffff;
}

.footer-copyright-statement {
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 10px;
}

.footer-version-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.5px;
}

/* ==========================================================================
   MOBİL SABİT ALT BAR (<= 768px)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobile-bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: calc(62px + env(safe-area-inset-bottom, 0px)) !important;
    padding-bottom: env(safe-area-inset-bottom, 0px) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    border-top: 1px solid rgba(226, 232, 240, 0.85) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
    z-index: 99999 !important;
    align-items: center !important;
    justify-content: space-around !important;
    margin: 0 !important;
  }

  [data-theme="dark"] .mobile-bottom-nav {
    background: rgba(15, 23, 42, 0.96) !important;
    border-top-color: rgba(55, 65, 81, 0.8) !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    height: 100%;
    position: relative;
    transition: all 0.2s ease;
  }

  [data-theme="dark"] .mobile-nav-item {
    color: #94a3b8;
  }

  .mobile-nav-item i {
    font-size: 19px;
    margin-bottom: 3px;
    transition: transform 0.2s ease, color 0.2s ease;
  }

  .mobile-nav-item.active {
    color: var(--primary) !important;
    font-weight: 700;
  }

  .mobile-nav-item.active i {
    transform: translateY(-2px) scale(1.1);
    color: var(--primary) !important;
  }
}

/* ==========================================================================
   HABER BİLDİR / WHATSAPP İHBAR FAB BUTONU
   ========================================================================== */
.fab-haber-bildir {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  z-index: 9998;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.fab-haber-bildir i {
  font-size: 20px;
}

.fab-haber-bildir:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

@media (max-width: 768px) {
  .fab-haber-bildir {
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    right: 14px;
    padding: 10px 16px;
    font-size: 13px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  }
  .fab-haber-bildir i {
    font-size: 18px;
  }
}


/* ==========================================================================
   RESMİ KÜNYE MODALI
   ========================================================================== */
.kunye-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.kunye-modal-overlay.open {
  display: flex !important;
}

.kunye-modal-content {
  background: var(--bg-card);
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-color);
  padding: 28px;
  position: relative;
  animation: modalScaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-main);
}

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

.kunye-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: none;
  font-size: 20px;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.kunye-modal-close:hover {
  background: var(--primary);
  color: #ffffff;
}

.kunye-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.kunye-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.kunye-item {
  background: var(--bg-subtle);
  border-radius: 12px;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
}

.kunye-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.kunye-value {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.kunye-value a {
  color: var(--accent-blue);
  text-decoration: underline;
}

.kunye-footer-note {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ==========================================================================
   MOBİL ÜST BAR & HEADER TAM UYUMLULUĞU (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* 1. Kayan Üst Bar (Tarih, Hava Durumu, Borsa) */
  .top-utility-bar {
    height: 36px !important;
    font-size: 11.5px !important;
  }
  .top-utility-inner {
    gap: 8px !important;
    padding: 0 10px !important;
  }
  .top-utility-left {
    gap: 8px !important;
  }
  .utility-clock {
    display: none !important; /* Mobilde telefon saatiyle çakışmayı önler ve borsa bandına yer açar */
  }
  .utility-weather {
    font-size: 11px !important;
    gap: 4px !important;
    padding-right: 8px !important;
    border-right: 1px solid rgba(255, 255, 255, 0.15) !important;
  }
  .currency-ticker-wrap {
    height: 100% !important;
    flex: 1 !important;
  }
  .ticker-item {
    font-size: 11px !important;
    padding: 0 8px !important;
    gap: 4px !important;
  }

  /* 2. Ana Başlık (Header) */
  .site-main-header {
    padding: 8px 0 !important;
  }
  .header-row {
    gap: 8px !important;
  }
  .header-left-group {
    gap: 8px !important;
  }
  .btn-side-menu-trigger {
    padding: 6px 9px !important;
    font-size: 12px !important;
    gap: 4px !important;
  }
  .btn-side-menu-trigger span {
    display: none !important; /* Mobilde sadece menü ikonu kalır */
  }
  .brand-logo-img {
    height: 34px !important;
    max-height: 34px !important;
  }
  .brand-main-title {
    font-size: 14.5px !important;
  }
  .brand-sub-tag {
    display: none !important;
  }
  .header-actions-group {
    gap: 6px !important;
  }
  .search-box-wrap {
    width: 120px !important;
    padding: 2px 4px 2px 8px !important;
  }
  .search-box-wrap:focus-within {
    width: 155px !important;
  }
  .search-input-field {
    font-size: 12px !important;
  }
  .search-submit-btn {
    width: 26px !important;
    height: 26px !important;
    font-size: 11px !important;
  }
  .theme-toggle-round {
    width: 32px !important;
    height: 32px !important;
    font-size: 13px !important;
    flex-shrink: 0 !important;
  }

  /* 3. Kategori Çubuğu */
  .category-chip {
    padding: 6px 12px !important;
    font-size: 12px !important;
  }
}

/* Reklam Banner Görseli Yüklenemediğinde Fallback Kartı */
.ad-banner-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  font-size: 15px;
  text-align: center;
}
.ad-banner-fallback i {
  font-size: 20px;
  color: #f59e0b;
}

/* v1.8 Kart Görseli, Yazar Grid & FAB Konum Düzeltmeleri */
.news-card-img,
.news-card-media-wrap img,
.news-card-thumb {
  width: 100% !important;
  aspect-ratio: 16 / 10;
  object-fit: cover !important;
  display: block;
}

.columnists-grid,
.columnist-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 20px;
}

body {
  padding-bottom: 76px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 120px;
  }
  .fab-haber-bildir {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 12px !important;
    padding: 9px 14px !important;
    font-size: 12px !important;
  }
}
