/* ==========================================================================
   1. SİMETRİ SİSTEMİ DEĞİŞKENLERİ VE RENK NORMLARI
   ========================================================================== */
:root {
    --brand-dark-matte: #0f141c;    /* Kurumsal Haber Siyahı */
    --brand-grey-body: #475569;     /* Temiz Okunabilir Gövde Grisi */
    --brand-editorial-red: #ba1414; /* TRT Haber Kırmızısı */
    --brand-bg-clean: #f8fafc;      /* Gözü Yormayan Arka Plan */
    --brand-border-line: #e2e8f0;   /* Cetvel Çizgisi Rengi */
    
    --font-stack: 'Inter', -apple-system, sans-serif;
    --layout-width-max: 1360px;
}
.pagination-wrapper {
  display: flex;
  justify-content: center; /* Tam merkeze hizalar */
  align-items: center;
  padding: 20px;
  background: transparent;
}

.numbers-row {
  display: flex;
  gap: 12px; /* Butonlar arası ideal boşluk */
}

.page-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%; /* Tam yuvarlak tasarım */
  border: none;
  background: #f0f0f0;
  color: #666;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover durumu */
.page-btn:hover:not(.active) {
  background: #e0e0e0;
  color: #333;
}

/* Aktif (Seçili) Buton */
.page-btn.active {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.1); /* Seçili olanı hafif büyüterek vurgular */
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  padding: 20px;
  width: 100%;
}

.numbers-row {
  display: flex;
  gap: 8px;
  /* Masaüstünde yan yana kalması için nowrap */
  flex-wrap: nowrap; 
  justify-content: center;
}

/* Sadece mobilde (ekran daraldığında) devreye girer */
@media (max-width: 600px) {
  .numbers-row {
    flex-wrap: wrap; /* Mobilde alt satıra geç */
    max-width: 250px; /* 5 tanesi sığacak kadar yer ayır */
  }
}


.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #666;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0; /* Butonların mobilde büzülmesini engeller */
}

.page-btn.active {
  background: #1a1a1a;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transform: scale(1.1);
}

.page-btn:hover:not(.active) {
  background: #e0e0e0;
}
/* Toplam döngü süresi 30 saniye (10 buton * 3s) */
.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  color: #666;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: changeColor 30s infinite linear; 
}

/* Her buton için 3'er saniyelik gecikme aralıkları */
.page-btn:nth-child(1) { animation-delay: 0s; }
.page-btn:nth-child(2) { animation-delay: 3s; }
.page-btn:nth-child(3) { animation-delay: 6s; }
.page-btn:nth-child(4) { animation-delay: 9s; }
.page-btn:nth-child(5) { animation-delay: 12s; }
.page-btn:nth-child(6) { animation-delay: 15s; }
.page-btn:nth-child(7) { animation-delay: 18s; }
.page-btn:nth-child(8) { animation-delay: 21s; }
.page-btn:nth-child(9) { animation-delay: 24s; }
.page-btn:nth-child(10) { animation-delay: 27s; }
 

@keyframes changeColor {
  /* 30 saniyelik döngünün %10'u = tam 3 saniye aktif */
  0%, 10% {
    background: #1a1a1a;
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  11%, 100% {
    background: #f0f0f0;
    color: #666;
    transform: scale(1);
    box-shadow: none;
  }
}
.badge-tag.bg-gundem     { background-color: #dc2626; } /* Kırmızı */
.badge-tag.bg-ekonomi    { background-color: #16a34a; } /* Yeşil */
.badge-tag.bg-spor       { background-color: #ea580c; } /* Turuncu */
.badge-tag.bg-dunya      { background-color: #2563eb; } /* Mavi */
.badge-tag.bg-teknoloji { background-color: #7c3aed; } /* Mor */
.badge-tag.bg-magazin   { background-color: #db2777; } /* Pembe */
.badge-tag.bg-default   { background-color: #475569; } /* Varsayılan Gri */

/* Yazı rengi seçicileri (c-tag için) */
.c-tag.text-gundem     { color: #dc2626; }
.c-tag.text-ekonomi    { color: #16a34a; }
.c-tag.text-spor       { color: #ea580c; }
.c-tag.text-dunya      { color: #2563eb; }
.c-tag.text-teknoloji { color: #7c3aed; }
.c-tag.text-magazin   { color: #db2777; }

/* Hero Tag Arka Plan Renk Ezme Kuralları */
.hero-tag.bg-green { background-color: #16a34a !important; }
.hero-tag.bg-blue  { background-color: #2563eb !important; }
.hero-tag.bg-red   { background-color: #dc2626 !important; }
.hero-tag.bg-purple { background-color: #7c3aed !important; }
/* ==========================================================================
   2. GLOBAL RESET VE GEOMETRİK HİZALAMA AYARLARI
   ========================================================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--brand-bg-clean);
    color: var(--brand-dark-matte);
    font-family: var(--font-stack);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.view-container {
    max-width: var(--layout-width-max);
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Scrollbar İşçiliği */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--brand-bg-clean);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--brand-grey-body);
}

/* ==========================================================================
   3. SÜPER SON DAKİKA BANDI (TICKER)
   ========================================================================== */
.ticker-strip {
    background-color: #ffffff;
    border-bottom: 1px solid var(--brand-border-line);
    height: 40px;
    display: flex;
    align-items: center;
}

.ticker-flex {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    width: 100%;
}

.ticker-label {
    background-color: var(--brand-editorial-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 12px;
    margin-right: 16px;
    letter-spacing: 0.5px;
}

.ticker-window {
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--brand-grey-body);
    animation: runTickerMarquee 50s linear infinite;
}

@keyframes runTickerMarquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* ==========================================================================
   4. PREMIUM HEADER: ORANSAL RESPONSIVE LOGO VE CANLI TV FONTLARI
   ========================================================================== */
.portal-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--brand-border-line);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Akıllı Her Boyuta Uygun Responsive Logo Alanı */
.brand-logo-holder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 180px; /* Mevcut text logosunun kapladığı alan sınırı */
    height: 36px;
    overflow: hidden;
}

.brand-logo-holder img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* İçine görsel atıldığında taşmadan tam oturmasını sağlar */
}

.micro-brand-text {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--brand-dark-matte);
    white-space: nowrap;
}

.micro-brand-text span {
    color: var(--brand-editorial-red);
}

.desktop-main-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--brand-dark-matte);
    letter-spacing: 0.2px;
    padding: 22px 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--brand-editorial-red);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 3px;
    background-color: var(--brand-editorial-red);
}

/* Header Sağ Yapısı & Canlı TV Yeni Şov Fontu */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px; /* Buradaki değeri düşürerek birbirlerine daha da yaklaştırabilirsiniz */
}

/* Mevcut Arama Kutusu Ayarları */
.search-box-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #cbd5e1;
    background-color: var(--brand-bg-clean);
    padding: 6px 14px;
    border-radius: 4px;
    width: 170px;
}

.search-box-wrapper input {
    border: none;
    background: transparent;
    font-size: 12.5px;
    width: 100%;
    outline: none;
}

.search-icon {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 8px; /* İkonu inputtan biraz ayırır */
}

.badge-live-tv {
    background-color: var(--brand-editorial-red);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(186, 20, 20, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.badge-live-tv:hover {
    background-color: #a01010;
    transform: scale(1.02);
}

/* İlgi Çekici Kalın ve İtalik Font Yapısı */
.live-tv-text {
    font-family: var(--font-stack);
    font-size: 12px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.5px;
}

/* Canlı Sinyal Efekti */
.live-ping-dot {
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
}

.live-ping-dot::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #ffffff;
    border-radius: 50%;
    animation: livePingEngine 1.4s infinite ease-in-out;
}

@keyframes livePingEngine {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

/* Sadece Mobilde Tetiklenecek Hamburger */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 14px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--brand-dark-matte);
}

/* MOBİL DRAWERS KATMANLARI */
.drawer-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    display: none;
}
.drawer-overlay.show { display: block; }

.mobile-drawer {
    position: fixed;
    top: 0; left: -280px;
    width: 280px; height: 100vh;
    background-color: #ffffff;
    z-index: 999;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 40px 24px;
}
.mobile-drawer.show { left: 0; }
.drawer-inner { display: flex; flex-direction: column; gap: 16px; }
.drawer-link { font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--brand-border-line); padding-bottom: 8px; }

/* ==========================================================================
   5. FİNANSAL VERİ BAR BİLEŞENİ
   ========================================================================== */
.finance-bar {
    background-color: var(--brand-dark-matte);
    color: #94a3b8;
    font-size: 12px;
    padding: 8px 0;
}

.finance-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.finance-list {
    display: flex;
    gap: 20px;
}

.f-item strong { color: #ffffff; }
.f-item .up { color: #4ade80; font-weight: 700; }
.f-item .down { color: #f87171; font-weight: 700; }
.geo-widget { font-weight: 600; color: #ffffff; }

/* ==========================================================================
   6. GEOMETRİK 3 SÜTUNLU MEDYA VİTRİNİ (GAZETE SİMETRİSİ)
   ========================================================================== */
.portal-showcase-grid {
    display: grid;
    grid-template-columns: 280px 1fr 300px;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 48px;
    align-items: start;
}

.block-section-title {
    font-size: 13px;
    font-weight: 900;
    border-bottom: 2px solid var(--brand-dark-matte);
    padding-bottom: 4px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

/* --- SOL SÜTUN MİMARİSİ (AKIŞ VE YAN PANELLER) --- */
.stream-container {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 16px;
    margin-bottom: 24px;
}

.stream-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px dashed var(--brand-border-line);
}
.stream-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.stream-time { font-size: 11px; font-weight: 900; color: var(--brand-editorial-red); display: block; }
.stream-item h3 { font-size: 13.5px; font-weight: 800; margin-top: 2px; margin-bottom: 2px; }
.stream-item p { font-size: 12px; color: var(--brand-grey-body); line-height: 1.4; }
.stream-item.breaking-node h3 { color: var(--brand-editorial-red); }

.stream-extra-panel {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 16px;
    margin-bottom: 24px;
}
.live-blog-teaser .teaser-badge {
    background-color: var(--brand-editorial-red);
    color: white; font-size: 9px; font-weight: 900;
    padding: 2px 6px; display: inline-block; margin-bottom: 6px;
}
.live-blog-teaser p { font-size: 12.5px; color: var(--brand-dark-matte); font-weight: 600; line-height: 1.4; }
.teaser-go-link { font-size: 11.5px; color: var(--brand-editorial-red); font-weight: 700; margin-top: 8px; display: block; }

.weather-report-widget {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 16px;
}
.weather-grid-mini .w-row {
    display: flex; justify-content: space-between; font-size: 12px;
    padding: 6px 0; border-bottom: 1px solid var(--brand-bg-clean);
}
.weather-grid-mini .w-row:last-child { border-bottom: none; }

/* --- ORTA SÜTUN --- */
.master-live-player {
    background-color: #000000;
    border: 1px solid var(--brand-border-line);
    margin-bottom: 24px;
}

.aspect-ratio-frame {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.aspect-ratio-frame img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}

.player-overlay-layer {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 600;
}

.player-top { display: flex; justify-content: space-between; }
.live-pulse-badge { background-color: var(--brand-editorial-red); padding: 2px 8px; font-weight: 900; font-size: 10.5px; }
.hq-badge { background: rgba(0,0,0,0.5); padding: 0 4px; border: 1px solid rgba(255,255,255,0.3); }

.center-play-btn {
    align-self: center;
    width: 50px; height: 50px;
    background-color: var(--brand-editorial-red);
    border: none; border-radius: 50%; cursor: pointer;
    position: relative;
}
.center-play-btn::after {
    content: ''; position: absolute;
    top: 15px; left: 20px;
    width: 0; height: 0;
    border-top: 10px solid transparent;
    border-left: 16px solid #ffffff;
    border-bottom: 10px solid transparent;
}
/*burda oklar csslendi*/
.slider-container {
    position: relative; /* Okların konumlanması için şart */
    display: flex;
    align-items: center;
    max-width: 800px; /* Veya kendi genişliğiniz */
    margin: 0 auto;
}

.slider-arrow {
    position: absolute;
    top: 35%; /* Resmin dikey ortasına yakın */
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover { background: rgba(0, 0, 0, 0.8); }

.prev { left: 10px; }
.next { right: 10px; }

/* Mevcut kart stilleriniz */
.hero-card {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    width: 100%;
}
.headline-hero-card {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    margin-bottom: 24px;
}

.hero-img-box { position: relative; }
.hero-img-box img { width: 100%; height: 340px; object-fit: cover; }
.hero-tag { position: absolute; bottom: 0; left: 0; background-color: var(--brand-editorial-red); color: #ffffff; font-size: 10px; font-weight: 900; padding: 4px 12px; }

.hero-body-box { padding: 20px; }
.hero-body-box h1 { font-size: 24px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.3px; }
.hero-body-box p { font-size: 13.5px; color: var(--brand-grey-body); line-height: 1.55; }
.hero-meta-row { font-size: 11px; color: #94a3b8; font-weight: 700; margin-top: 12px; }

.headline-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-card-item { background-color: #ffffff; border: 1px solid var(--brand-border-line); }
.grid-card-img img { width: 100%; height: 140px; object-fit: cover; }
.grid-card-body { padding: 12px; }
.c-tag { font-size: 9.5px; font-weight: 900; display: block; margin-bottom: 4px; }
.c-tag.text-blue { color: #2563eb; }
.c-tag.text-green { color: #16a34a; }
.grid-card-body h3 { font-size: 14px; font-weight: 700; line-height: 1.35; }

/* --- SAĞ SÜTUN MİMARİSİ --- */
.cards-stack-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.news-row-capsule {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 8px;
}

.capsule-img img { width: 100%; height: 60px; object-fit: cover; }
.badge-tag { font-size: 9px; font-weight: 900; color: #ffffff; padding: 1px 4px; display: inline-block; margin-bottom: 2px; }
.badge-tag.bg-blue { background-color: #2563eb; }
.badge-tag.bg-green { background-color: #16a34a; }
.badge-tag.bg-purple { background-color: #7c3aed; }
.badge-tag.bg-red { background-color: #dc2626; }
.capsule-caption h3 { font-size: 12.5px; font-weight: 700; line-height: 1.3; }

.cards-extra-panel {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 16px;
    margin-bottom: 24px;
}
.culture-agenda-box .agenda-item {
    display: flex; gap: 12px; align-items: center; margin-bottom: 12px;
}
.culture-agenda-box .agenda-item:last-child { margin-bottom: 0; }
.agenda-date {
    background-color: var(--brand-dark-matte); color: white;
    font-size: 10px; font-weight: 900; padding: 4px 8px; text-align: center;
}
.agenda-txt { font-size: 12px; font-weight: 700; line-height: 1.3; }


.video-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-decoration: none;
    color: #333;
    overflow: hidden; /* Kart içi taşmayı engeller */
}

.video-thumb {
    position: relative; /* İkonun kutu içinde hizalanması için gerekli */
    width: 100px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam merkezleme */
    
    /* İkonun görünürlüğü için stil */
    background: rgba(0, 0, 0, 0.6); /* Yarı şeffaf siyah arka plan */
    color: #fff; /* Beyaz ikon rengi */
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
    pointer-events: none; /* Mouse tıklamasının direkt resme gitmesi için */
    border: 1px solid rgba(255,255,255,0.3); /* İkon kenarına hafif çizgi */
}

.video-thumb iframe {
    width: 100%;
    height: 100%;
    pointer-events: none; /* Videonun üstüne tıklandığında hata vermemesi için */
}

.video-title {
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    white-space: normal;
    word-break: break-word; /* Çok uzun kelimeleri böler, taşırmaz */
}
/* NÖBETÇİ ECZANE PREMIUM PANEL MODÜLÜ */
.pharmacy-panel-box {
    background-color: #ffffff;
    border: 1px solid var(--brand-border-line);
    padding: 16px;
}

.pharmacy-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ph-node {
    border-bottom: 1px solid var(--brand-bg-clean);
    padding-bottom: 10px;
}
.ph-node:last-child { border-bottom: none; padding-bottom: 0; }

.ph-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.ph-icon { font-size: 12px; color: var(--brand-editorial-red); }
.ph-header h4 { font-size: 13.5px; font-weight: 800; color: #000; }
.ph-node p { font-size: 12px; color: var(--brand-grey-body); line-height: 1.4; margin-bottom: 4px; }
.ph-phone { font-size: 11.5px; font-weight: 700; color: var(--brand-editorial-red); }

/* ==========================================================================
   7. KATEGORİK DERİNLİK VE ALT SEGMENTLER
   ========================================================================== */
.extended-category-section {
    background-color: #ffffff;
    border-top: 1px solid var(--brand-border-line);
    border-bottom: 1px solid var(--brand-border-line);
    padding: 40px 0;
    margin-bottom: 40px;
}

.extended-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.extended-card { border: 1px solid var(--brand-border-line); background-color: var(--brand-bg-clean); }
.extended-card img { width: 100%; height: 160px; object-fit: cover; }
.ext-card-body { padding: 16px; }
.c-tag.text-red { color: #dc2626; }
.c-tag.text-purple { color: #7c3aed; }
.extended-card h3 { font-size: 15px; font-weight: 800; margin-bottom: 6px; }
.extended-card p { font-size: 12.5px; color: var(--brand-grey-body); line-height: 1.5; }
/* Kapsayıcı: Ekranı kaplar ve içindeki her şeyi ortalar */
.wrapper {
    display: flex;
    justify-content: center; /* Yatayda ortalar */
    align-items: center;     /* Dikeyde ortalar */
    width: 100%;
    padding: 20px;
}
/*küçük banner*/
/* CSS Yapısı */
/* CSS Yapısı */
.banner {
  /* MOBİL: class="stream-extra-panel" genişliğine uygun esneme */
  width: 100%; 
  max-width: 280px; /* Maksimum 280px */
  min-height: 185px;
  
  /* MOBİLDE ORTALAMA */
  margin: 0 auto; 
  
  /* FLEX İLE İÇERİK KONTROLÜ */
  display: flex;
  flex-direction: column;
  justify-content: center; 
  align-items: center; 
  
  /* Tasarım */
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  padding: 20px;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  text-align: center;
}

.banner h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  text-transform: uppercase;
  color: #222;
}

.banner p {
  margin: 0 0 15px 0;
  font-size: 13px;
  color: #666;
  width: 100%; /* İçeriğin taşmasını engelle */
}

.banner-btn {
  /* BUTONU KESİN ORTALAMA */
  display: block;            /* Blok eleman olarak davranması */
  width: fit-content;        /* Sadece yazı kadar yer kapla */
  margin: 0 auto;            /* Flex içinde kendi genişliğiyle ortalanmayı garanti et */
  
  border: 1px solid #333;
  color: #333;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 12px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  
  /* Yazıyı buton içinde ortala */
  text-align: center;
}

.banner-btn:hover {
  background: #333;
  color: #fff;
}
/* ==========================================================================
   8. YORUMLAR & FOOTER
   ========================================================================== */
.portal-opinion-section { margin-bottom: 48px; }
.opinion-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.opinion-node { background-color: #ffffff; border: 1px solid var(--brand-border-line); padding: 16px; }
.author-row { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; }
.auth-meta h4 { font-size: 13.5px; font-weight: 700; }
.auth-meta span { font-size: 11px; color: var(--brand-grey-body); }
.opinion-title { font-size: 15px; font-weight: 800; display: block; margin-bottom: 6px; color: #000; }
.opinion-desc { font-size: 12px; color: var(--brand-grey-body); line-height: 1.45; }

.portal-footer { background-color: var(--brand-dark-matte); color: #94a3b8; padding: 48px 0 24px 0; font-size: 12.5px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; border-bottom: 1px solid #1e293b; padding-bottom: 24px; }
.f-brand-block h2 { color: #ffffff; font-size: 20px; margin-bottom: 8px; }
.f-brand-block h2 span { color: var(--brand-editorial-red); }
.f-links-block h3, .f-form-block h3 { color: #ffffff; font-size: 11.5px; margin-bottom: 12px; }
.f-links-block ul li { margin-bottom: 6px; }
.f-newsletter-group { display: flex; gap: 6px; margin-top: 8px; }
.f-newsletter-group input { background: #1e293b; border: 1px solid #334155; padding: 8px 12px; color: #fff; flex: 1; font-size: 12px; }
.f-newsletter-group button { background: var(--brand-editorial-red); color: #fff; border: none; padding: 0 16px; font-weight: 700; cursor: pointer; }
.footer-copyright-strip { padding-top: 24px; font-size: 11px; }
.copy-flex { display: flex; justify-content: space-between; }
/* ==========================================================================
   9. KUSURSUZ RESPONSIVE MEKANİZMASI (MOBİL KORUMA)
   ========================================================================== */
@media (max-width: 1150px) {
    .portal-main-grid-layout { display: flex; flex-direction: column; }
    .portal-showcase-grid { grid-template-columns: 1fr; }
    .showcase-stream-column { order: 2; margin-top: 24px; }
    .showcase-center-column { order: 1; }
    .showcase-cards-column { order: 3; margin-top: 24px; }
    .cards-stack-wrapper { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 850px) {
    .desktop-main-nav, .finance-bar { display: none; }
    .mobile-menu-toggle { display: flex; }
    .extended-3col-grid, .opinion-grid, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .cards-stack-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .header-grid { height: 56px; }
    .hero-img-box img { height: 200px; }
    .hero-body-box h1 { font-size: 18px; }
    .headline-sub-grid { grid-template-columns: 1fr; }
    .copy-flex { flex-direction: column; gap: 12px; text-align: center; }
}
/* ==========================================================================
   BANERLARI VE BANNER GÖRSELLERİNİ KESİN ORTALAMA SETİ
   ========================================================================== */
.ad-centered-global {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
}

.ad-centered-global div {
    margin: 0 auto !important;
    display: inline-block !important;
}

.ad-centered-global img {
    margin: 0 auto !important;
    display: block !important;
}
/* Sadece Künye Tablosuna Özel Ekstra Kurumsal Satır Düzenlemesi */
        .masthead-table-wrapper {
            width: 100%;
            border-collapse: collapse;
            margin-top: 16px;
            font-size: 13.5px;
        }
        .masthead-row {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--brand-border-line);
        }
        .masthead-row:last-child {
            border-bottom: none;
        }
        .masthead-label {
            font-weight: 800;
            color: var(--brand-dark-matte);
        }
        .masthead-value {
            color: var(--brand-grey-body);
            text-align: right;
        }
        /* ==========================================================================
   FİNANSAL VERİ MOBİL TEK SATIR MİMARİSİ (MİKRO DÜZEN)
   ========================================================================== */
@media (max-width: 850px) {
    /* Gizleme kuralını ez, dikey yüksekliği daralt ve tek satıra zorla */
    body .finance-bar {
        display: block !important;
        padding: 6px 0 !important;
        background-color: var(--brand-dark-matte);
        overflow: hidden !important; /* Aşağı taşmayı tamamen engelle */
    }

    /* İçerideki flex yapısını tek satırda yan yana diz ve dikey yığılmayı önle */
    body .finance-flex {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: nowrap !important; /* Asla alt satıra geçme */
        padding: 0 10px !important;
        gap: 8px !important;
    }

    /* Finans listesini tek satırda yan yana sıkıştır */
    body .finance-list {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        gap: 8px !important; /* Mikro boşluk */
    }

    /* Yazıları ve rakamları okunaklı ama mikro boyuta getir */
    body .f-item {
        font-size: 10px !important; /* Mikro yazı boyutu */
        white-space: nowrap !important;
        color: #94a3b8 !important;
    }

    body .f-item strong {
        font-weight: 700 !important;
        color: #ffffff !important;
    }

    /* Ok işaretlerini ve yüzdeleri sıkıştır */
    body .f-item .up, 
    body .f-item .down {
        font-size: 10px !important;
        font-weight: 800 !important;
        margin-left: 2px !important;
    }

    /* Ankara ve hava durumunu da aynı satırın en sağına mikro boyutta sabitle */
    body .geo-widget {
        font-size: 10px !important;
        white-space: nowrap !important;
        color: #ffffff !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }
}