/**
 * GÜNDEM 61 - Temel Tasarım Sistemi & Stil Dosyası (style.css)
 * Trabzon Odaklı Haber Portalı
 */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Playfair+Display:ital,wght@0,600;0,700;0,900;1,600&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css');

:root {
  /* Renk Paleti - Gündem 61 Kurumsal */
  --g61-navy: #0f1424;
  --g61-navy-light: #182038;
  --g61-navy-card: #151b30;
  
  /* Trabzonspor Vurgu Renkleri */
  --g61-bordo: #800020;
  --g61-bordo-dark: #630018;
  --g61-bordo-light: #a30f33;
  --g61-mavi: #0099db;
  --g61-mavi-dark: #0077aa;
  --g61-mavi-light: #38b6ff;

  /* Nötr Tonlar (Aydınlık Tema) */
  --bg-body: #f7f9fc;
  --bg-surface: #ffffff;
  --bg-surface-2: #f0f3f8;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-heading: #0f172a;
  --border-color: #e2e8f0;
  --border-focus: #0099db;

  /* Gölgeler & Yuvarlaklık */
  --shadow-sm: 0 1px 3px rgba(15, 20, 36, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 20, 36, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 20, 36, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Fontlar */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

[data-theme="dark"] {
  --bg-body: #0a0d17;
  --bg-surface: #111625;
  --bg-surface-2: #192036;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  --text-heading: #f8fafc;
  --border-color: #242c47;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Sıfırlama ve Temel Kurallar */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
}

.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-mono { font-family: ui-monospace, monospace; }
.font-serif { font-family: var(--font-serif); }

.text-danger { color: #dc2626 !important; }
.text-burgundy { color: var(--g61-bordo) !important; }
.text-primary { color: var(--g61-mavi) !important; }
.text-success { color: #16a34a !important; }
.text-warning { color: #d97706 !important; }
.text-white { color: #ffffff !important; }
.text-muted { color: var(--text-muted) !important; }

/* -------------------------------------------------------------
 * 1. ÜST BİLGİ BANDI (TOP BAR)
 * ------------------------------------------------------------- */
.portal-topbar {
  background-color: var(--g61-navy);
  color: #d1d5db;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  padding: 4px 0;
  gap: 15px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.live-clock-pill, .weather-pill, .top-quick-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-quick-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: none;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.top-quick-btn:hover {
  background: var(--g61-bordo);
  color: #fff;
}

.weather-temp {
  font-weight: 700;
  color: #fff;
}

/* Piyasa Kayan Bandı (Market Ticker) */
.market-ticker-bar {
  background-color: var(--g61-navy-light);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 6px 0;
}

.market-ticker-content {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 0.8rem;
  white-space: nowrap;
  animation: tickerSlide 30s linear infinite;
}

.market-ticker-bar:hover .market-ticker-content {
  animation-play-state: paused;
}

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

.market-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.market-item-highlight {
  background: rgba(217, 119, 6, 0.2);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid rgba(217, 119, 6, 0.4);
}

.market-name {
  color: #94a3b8;
  font-weight: 600;
}

.market-val {
  color: #fff;
  font-weight: 700;
}

.change-up { color: #22c55e; }
.change-down { color: #ef4444; }

/* -------------------------------------------------------------
 * 2. ANA HEADER & LOGO
 * ------------------------------------------------------------- */
.portal-header {
  background-color: var(--g61-navy);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

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

.header-left-col {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.header-logo-link:hover .header-logo-img {
  transform: scale(1.02);
}

.header-search-bar {
  flex: 0 1 540px;
  margin: 0 auto;
  position: relative;
}

.search-input-fake {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  padding: 10px 20px;
  color: #94a3b8;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-input-fake:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--g61-mavi);
  color: #fff;
}

.kbd-shortcut {
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.725rem;
  color: #cbd5e1;
}

.header-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-action {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.2s ease;
}

.btn-header-action:hover {
  background: var(--g61-mavi);
  border-color: var(--g61-mavi);
  transform: translateY(-2px);
}

.btn-header-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border: none !important;
  color: #fff !important;
}

.btn-header-instagram:hover {
  transform: translateY(-2px) scale(1.05) !important;
}

.btn-secret-admin {
  background: transparent;
  border-color: transparent;
  opacity: 0.5;
}

.btn-secret-admin:hover {
  opacity: 1;
  background: var(--g61-bordo);
}

/* -------------------------------------------------------------
 * 3. KATEGORİ MENÜSÜ (NAVBAR)
 * ------------------------------------------------------------- */
.portal-nav-bar {
  background-color: var(--g61-navy-card);
  border-bottom: 2px solid var(--g61-bordo);
}

.main-category-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}

.main-category-nav::-webkit-scrollbar {
  display: none;
}

.nav-link-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
}

.nav-link-item:hover, .nav-link-item.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-bottom-color: var(--g61-mavi);
}

.nav-link-item.ts-tab {
  color: #ff99aa;
}

.nav-link-item.ts-tab:hover {
  background: rgba(128, 0, 32, 0.4);
  border-bottom-color: var(--g61-bordo);
  color: #fff;
}

/* -------------------------------------------------------------
 * 4. SON DAKİKA (BREAKING NEWS) BANDI
 * ------------------------------------------------------------- */
.breaking-news-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 8px 0;
}

[data-theme="dark"] .breaking-news-bar {
  background: var(--bg-surface);
}

.breaking-wrap {
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 15px;
}

.breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dc2626;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.775rem;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  flex-shrink: 0;
}

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

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.breaking-marquee {
  flex-grow: 1;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  animation: breakingMarquee 25s linear infinite;
}

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

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

.ticker-sep {
  color: #dc2626;
  margin: 0 10px;
}

/* -------------------------------------------------------------
 * 5. ANA MANŞET VİTRİNİ (HERO 10'LU SLIDER)
 * ------------------------------------------------------------- */
.hero-showcase-section {
  padding: 24px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
}

.hero-slider-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-md);
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 480px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-img-box {
  width: 100%;
  height: 100%;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-slide:hover .hero-img {
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(to top, rgba(15, 20, 36, 0.95) 0%, rgba(15, 20, 36, 0.6) 50%, transparent 100%);
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  padding-bottom: 75px;
  color: #ffffff;
  z-index: 3;
}

.badge-category-hero {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 10px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero-summary {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 12px;
  max-width: 90%;
  line-height: 1.4;
}

.hero-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Slider Navigasyon Barı (Numaralar 1..10) */
.hero-slider-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 20, 36, 0.9);
  backdrop-filter: blur(8px);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-arrow {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background: var(--g61-mavi);
}

.slider-numbers {
  display: flex;
  gap: 6px;
}

.slider-num-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.slider-num-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.slider-num-btn.active {
  background: var(--g61-bordo);
  color: #fff;
  transform: scale(1.1);
}

/* Sürmanşet Yan Kartlar */
.hero-side-cards {
  display: flex;
  flex-direction: column;
}

.side-header {
  padding-bottom: 8px;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.side-title {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.side-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.side-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex: 1;
}

.side-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.side-card-link {
  display: flex;
  height: 100%;
}

.side-card-img-box {
  width: 120px;
  position: relative;
  flex-shrink: 0;
}

.side-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-cat-mini {
  position: absolute;
  top: 6px;
  left: 6px;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

.side-card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.side-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-heading);
}

.side-card-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* -------------------------------------------------------------
 * 6. TRABZONSPOR BORDO-MAVİ ÖZEL BÖLÜMÜ
 * ------------------------------------------------------------- */
.trabzonspor-special-section {
  padding: 30px 0;
  background: linear-gradient(135deg, #101424 0%, #200810 50%, #0d1e33 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  margin: 20px 0;
}

.ts-theme-header h2 {
  color: #ffffff;
}

.ts-theme-header h2 span {
  color: var(--g61-mavi-light);
  font-weight: 400;
  font-size: 1rem;
  display: block;
}

.ts-shield-icon {
  width: 42px;
  height: 42px;
  background: var(--g61-bordo);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  border: 2px solid var(--g61-mavi);
}

.ts-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-top: 20px;
}

.ts-widget-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.ts-match-banner {
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.ts-match-tag {
  display: inline-block;
  background: var(--g61-bordo);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.ts-teams-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 16px 0;
}

.team-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.ts-team-crest {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.2s ease;
}

.ts-team-crest:hover {
  transform: scale(1.1);
}

.team-logo-tiny {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-logo-small {
  width: 26px;
  height: 26px;
  object-fit: contain;
  flex-shrink: 0;
}

.team-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.match-vs-badge {
  font-size: 0.85rem;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 4px 10px;
  border-radius: 12px;
}

.match-info-pill {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.match-stadium-text {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 4px;
}

.btn-ts-all-standings {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-ts-all-standings:hover {
  background: var(--g61-bordo);
  border-color: var(--g61-bordo);
}

/* TS Puan Durumu Mini Tablo */
.standings-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g61-mavi-light);
}

.ts-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.ts-mini-table th {
  text-align: left;
  color: #94a3b8;
  padding: 4px 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ts-mini-table td {
  padding: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.row-ts-highlight {
  background: rgba(128, 0, 32, 0.35) !important;
  color: #fff !important;
  font-weight: 700;
}

/* TS Detaylı Tablo */
.table-ts-standings-full {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.table-ts-standings-full th {
  background: var(--bg-surface-2);
  padding: 8px 10px;
  border-bottom: 2px solid var(--border-color);
  font-weight: 700;
  font-size: 0.8rem;
}

.table-ts-standings-full td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border-color);
}

.ts-fixtures-scroll-list {
  max-height: 480px;
  overflow-y: auto;
}

/* TS Haber Kartları */
.ts-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ts-news-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

.ts-news-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.ts-card-img-wrap {
  height: 140px;
  position: relative;
}

.ts-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-badge-flair {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--g61-bordo);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.ts-card-content {
  padding: 14px;
}

.ts-card-content h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 8px;
}

.ts-card-content p {
  font-size: 0.8rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-bottom: 10px;
}

.card-footer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #94a3b8;
}

/* -------------------------------------------------------------
 * 7. BÖLÜM BAŞLIKLARI VE GENEL HABER KARTLARI
 * ------------------------------------------------------------- */
.section-title-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
  flex-wrap: wrap;
  gap: 12px;
}

.section-title-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sec-dot {
  width: 8px;
  height: 24px;
  background: var(--g61-bordo);
  border-radius: 4px;
}

.section-title-wrap h2 {
  font-size: 1.35rem;
  font-weight: 800;
}

.section-title-wrap h2 span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 8px;
}

.view-all-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--g61-mavi);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* İlçe Filtre Butonları */
.district-filter-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dist-tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dist-tab-btn:hover, .dist-tab-btn.active {
  background: var(--g61-navy);
  color: #fff;
  border-color: var(--g61-navy);
}

[data-theme="dark"] .dist-tab-btn.active {
  background: var(--g61-mavi);
  border-color: var(--g61-mavi);
}

/* Grid Kartlar */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  height: 190px;
  position: relative;
  overflow: hidden;
}

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

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

.badge-card-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-card-district {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(15, 20, 36, 0.85);
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 12px;
}

.card-content {
  padding: 16px;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.card-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 12px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

/* -------------------------------------------------------------
 * 8. KÖŞE YAZARLARI BÖLÜMÜ
 * ------------------------------------------------------------- */
.columnists-section {
  padding: 30px 0;
  background: var(--bg-surface-2);
  margin: 30px 0;
  border-radius: var(--radius-lg);
}

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

.columnist-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.col-author-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.col-author-photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--g61-bordo);
}

.author-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-heading);
}

.author-title {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.col-article-headline {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  color: var(--text-heading);
}

.col-article-snippet {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.col-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 8px;
}

.read-more-text {
  color: var(--g61-bordo);
  font-weight: 700;
}

/* -------------------------------------------------------------
 * 9. AKIŞ VE YAN SÜTUN (STREAM & SIDEBAR)
 * ------------------------------------------------------------- */
.stream-section {
  padding: 20px 0 40px;
}

.stream-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
}

.stream-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stream-item {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.stream-item:hover {
  transform: translateX(4px);
}

.stream-item-link {
  display: flex;
  gap: 16px;
}

.stream-img-box {
  width: 220px;
  position: relative;
  flex-shrink: 0;
}

.stream-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stream-item-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.stream-district-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--g61-bordo);
  margin-bottom: 4px;
}

.stream-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.stream-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.4;
}

.stream-meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Sidebar Kutuları */
.sidebar-box {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.box-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-surface-2);
}

.box-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.box-body {
  padding: 16px;
}

.mini-pharmacy-list {
  list-style: none;
  margin-bottom: 10px;
}

.mini-pharmacy-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
}

.pharm-call-btn {
  background: #dcfce7;
  color: #166534;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
}

.btn-all-pharmacies {
  background: var(--g61-navy);
  color: #fff;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Çok Okunanlar Sıralaması */
.ranking-list {
  display: flex;
  flex-direction: column;
}

.ranking-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  align-items: center;
  transition: background 0.2s ease;
}

.ranking-item:hover {
  background: var(--bg-surface-2);
}

.rank-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  color: var(--text-heading);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.rank-1 { background: #ffd700; color: #000; }
.rank-2 { background: #c0c0c0; color: #000; }
.rank-3 { background: #cd7f32; color: #fff; }

.rank-content h5 {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 2px;
}

.rank-views {
  font-size: 0.725rem;
  color: var(--text-muted);
}

.btn-whatsapp-join {
  display: inline-block;
  background: #25d366;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
 * 10. HABER DETAY SAYFASI (ARTICLE DETAIL)
 * ------------------------------------------------------------- */
.article-detail-page {
  padding: 24px 0 50px;
}

.article-breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article-breadcrumbs a:hover {
  color: var(--g61-mavi);
}

.article-header {
  margin-bottom: 20px;
}

.badge-cat-detail {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.article-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-heading);
  margin-bottom: 12px;
}

.article-main-spot {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.article-author-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 15px;
}

.author-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar-circle {
  width: 44px;
  height: 44px;
  background: var(--bg-surface-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--g61-bordo);
}

.author-details .author-name {
  font-size: 0.95rem;
}

.author-details .pub-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-action-tools {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reading-time-pill {
  background: var(--bg-surface-2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.btn-tool-action {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.btn-tool-action:hover, .btn-tool-action.speaking {
  background: var(--g61-bordo);
  color: #fff;
  border-color: var(--g61-bordo);
}

.font-resizer-group {
  display: flex;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
}

.btn-resizer {
  background: var(--bg-surface);
  border: none;
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-main);
}

.btn-resizer:hover {
  background: var(--bg-surface-2);
}

.article-hero-image-wrap {
  margin: 24px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.article-hero-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
}

.article-image-caption {
  background: var(--bg-surface-2);
  padding: 8px 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-content-layout {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 30px;
}

.article-share-floating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 90px;
}

.share-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.btn-share-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-share-icon:hover {
  transform: scale(1.1);
}

.share-whatsapp { background: #25d366; }
.share-twitter { background: #000000; }
.share-facebook { background: #1877f2; }
.share-copy { background: #64748b; }

.article-body-text {
  color: var(--text-main);
  line-height: 1.8;
  max-width: 860px;
}

.article-body-text p {
  margin-bottom: 20px;
}

.tag-pill {
  display: inline-block;
  background: var(--bg-surface-2);
  color: var(--text-main);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 6px;
  margin-bottom: 6px;
}

.tag-pill:hover {
  background: var(--g61-mavi);
  color: #fff;
}

/* Yorumlar */
.comment-item {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  margin-bottom: 12px;
}

.comment-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.comment-avatar {
  font-size: 1.4rem;
  color: var(--text-muted);
}

.comment-author-name {
  font-size: 0.9rem;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 8px;
}

.comment-text {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 8px;
}

.btn-like-comment {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  cursor: pointer;
  color: var(--text-muted);
}

.btn-like-comment.liked {
  color: var(--g61-bordo);
  border-color: var(--g61-bordo);
  font-weight: 700;
}

/* -------------------------------------------------------------
 * 11. MODALLER (MODALS)
 * ------------------------------------------------------------- */
.custom-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1050;
  padding: 16px;
}

.custom-modal.active {
  display: flex;
}

.custom-modal-dialog {
  width: 100%;
  max-width: 650px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-xl {
  max-width: 900px;
}

.custom-modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-surface-2);
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

.custom-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.custom-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background: var(--bg-surface-2);
}

/* Nöbetçi Eczane Kartları */
.pharmacy-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.pharmacy-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--bg-surface);
}

.pharmacy-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.pharmacy-badge {
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
}

.pharmacy-hours {
  font-size: 0.75rem;
  color: #16a34a;
  font-weight: 600;
}

.pharmacy-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pharmacy-addr {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-pharmacy-call {
  display: inline-block;
  background: #16a34a;
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
}

/* Namaz Vakitleri Grid */
.prayer-times-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.prayer-box {
  text-align: center;
  padding: 14px 6px;
  background: var(--bg-surface-2);
  border-radius: var(--radius-md);
}

.prayer-box i {
  font-size: 1.4rem;
  color: var(--g61-mavi);
  margin-bottom: 6px;
  display: block;
}

.prayer-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.prayer-time {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-heading);
}

/* -------------------------------------------------------------
 * 12. FOOTER (ALT BÖLÜM)
 * ------------------------------------------------------------- */
.portal-footer {
  background-color: var(--g61-navy);
  color: #cbd5e1;
  padding-top: 50px;
  border-top: 4px solid var(--g61-bordo);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  height: 44px;
  margin-bottom: 16px;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}

.footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--g61-bordo);
}

.footer-links-list {
  list-style: none;
}

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

.footer-links-list a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding: 20px 0;
  font-size: 0.8rem;
  color: #64748b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

/* -------------------------------------------------------------
 * 13. CANLI ARAMA VE SAYFA ŞABLONLARI
 * ------------------------------------------------------------- */
.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: var(--bg-surface-2);
}

.search-thumb {
  width: 60px;
  height: 45px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.search-meta {
  flex-grow: 1;
}

.search-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 2px 0;
  color: var(--text-heading);
}

.search-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.search-header-box {
  background: var(--bg-surface);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* Kategori Sayfa Başlığı */
.category-page-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  border-left: 6px solid var(--g61-navy);
  padding: 28px 0;
  margin-bottom: 20px;
}

.cat-page-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cat-page-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

/* Künye & İletişim */
.kunye-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.kunye-item {
  background: var(--bg-surface-2);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.kunye-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.kunye-val {
  font-size: 0.95rem;
  color: var(--text-heading);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.social-circle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  font-size: 1rem;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.social-circle-btn:hover {
  background: var(--g61-mavi);
  color: #fff;
  border-color: var(--g61-mavi);
}

.btn-share-mini {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.bg-whatsapp { background: #25d366 !important; }
.bg-twitter { background: #000000 !important; }
.bg-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; color: #fff !important; }
.share-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; color: #fff !important; }
.btn-instagram-join {
  display: inline-block;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  padding: 8px 18px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}
.btn-instagram-join:hover {
  transform: scale(1.05);
}
.bg-secondary { background: #64748b !important; }
.bg-surface { background: var(--bg-surface); }
.bg-light-surface { background: var(--bg-surface-2); }
.flex-between { display: flex; justify-content: space-between; align-items: center; }


