/* ══════════════════════════════════════════════════════════════
   ULUSAL HABER PORTALI — Hürriyet Stili Kurumsal Tasarım
   Font: Inter | Accent: Kırmızı | Layout: Grid & Flex
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --accent: #dc0000;
  --accent-dark: #b30000;
  --accent-light: #ff3333;
  --bg: #f4f4f4;
  --bg-white: #ffffff;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-muted: #888888;
  --border: #e0e0e0;
  --border-light: #f0f0f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, .1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1240px;
  --header-height: 56px;
}

/* ── RESET & BASE ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color .2s;
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

/* ══════════════════════════════════════
   HEADER — 3 KATMANLI
   ══════════════════════════════════════ */

/* ── Üst İnce Bar ── */
.top-bar {
  background: #1a1a1a;
  color: #ccc;
  font-size: 12px;
  padding: 4px 0;
  border-bottom: 1px solid #333;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-left span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar a {
  color: #ccc;
  font-size: 12px;
}

.top-bar a:hover {
  color: #fff;
}

.top-bar .social-icons {
  display: flex;
  gap: 10px;
}

.top-bar .social-icons a {
  font-size: 14px;
}

/* ── Orta Alan (Logo + Arama) ── */
.mid-header {
  background: var(--bg-white);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.mid-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-logo .logo-text {
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -1px;
  line-height: 1;
}

.site-logo .logo-text span {
  color: var(--text-primary);
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
}

.header-search input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 2px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  font-family: var(--font);
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.header-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220, 0, 0, .1);
}

.header-search button {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--accent);
  border: none;
  color: #fff;
  height: 34px;
  padding: 0 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.header-search button:hover {
  background: var(--accent-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-live {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}

.btn-live:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-live .pulse {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .5;
    transform: scale(1.4);
  }
}

/* ── Ana Menü ── */
.main-nav {
  background: var(--accent);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow .3s;
}

.main-nav.scrolled {
  box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
}

.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.nav-menu>li {
  position: relative;
}

.nav-menu>li>a {
  display: block;
  color: #fff;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.nav-menu>li>a:hover,
.nav-menu>li.active>a {
  background: rgba(0, 0, 0, .15);
  color: #fff;
}

.nav-menu>li>a .nav-icon {
  margin-right: 4px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  z-index: 1001;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.nav-menu>li:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-menu a {
  display: block;
  padding: 8px 12px;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background .2s;
}

.mega-menu a:hover {
  background: #fef0f0;
  color: var(--accent);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

/* ══════════════════════════════════════
   SON DAKİKA TİCKER
   ══════════════════════════════════════ */
.breaking-ticker {
  background: linear-gradient(90deg, #1a1a1a, #2d2d2d);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.breaking-label {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .4px;
  flex-shrink: 0;
  animation: flashBg 2s infinite;
  z-index: 1;
}

@keyframes flashBg {

  0%,
  100% {
    background: var(--accent);
  }

  50% {
    background: var(--accent-dark);
  }
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: #eee;
  font-size: 13px;
  padding: 10px 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ticker-item::before {
  content: '•';
  color: var(--accent);
  font-size: 18px;
}

.ticker-item a {
  color: #eee;
}

.ticker-item a:hover {
  color: #fff;
  text-decoration: underline;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ══════════════════════════════════════
   ANA SAYFA — HERO ALAN
   ══════════════════════════════════════ */
.hero-section {
  margin: 20px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  min-height: 420px;
}

/* Büyük Manşet */
.hero-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hero-main:hover img {
  transform: scale(1.03);
}

.hero-main .hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

.hero-main .badge-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.hero-main .hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.hero-main .hero-title a {
  color: #fff;
}

.hero-main .hero-title a:hover {
  color: #fff;
  text-decoration: underline;
}

.hero-main .hero-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, .7);
}

/* Yan Manşetler */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-side-item {
  flex: 1;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.hero-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hero-side-item:hover img {
  transform: scale(1.05);
}

.hero-side-item .hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .8));
}

.hero-side-item .badge-cat {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-side-item .hero-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.hero-side-item .hero-title a {
  color: #fff;
}

.hero-side-item .hero-title a:hover {
  text-decoration: underline;
}

/* ══════════════════════════════════════
   REKLAM ALANLARI
   ══════════════════════════════════════ */
.ad-slot {
  text-align: center;
  padding: 10px 0;
  margin: 16px 0;
}

.ad-slot-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ad-slot-header {
  margin: 0 0 16px;
}

.ad-slot-sidebar {
  margin: 0 0 20px;
}

.ad-slot-footer {
  margin: 20px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.ad-slot-inline {
  margin: 24px 0;
  padding: 16px;
  background: #fafafa;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
}

/* ══════════════════════════════════════
   HABER KATEGORİ BAŞLIĞI
   ══════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 0 16px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: .3px;
}

.section-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

/* ══════════════════════════════════════
   HABER KARTLARi — 3 KOLON GRİD
   ══════════════════════════════════════ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.news-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.news-card-img {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #eee;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.news-card:hover .news-card-img img {
  transform: scale(1.05);
}

.news-card-img .badge-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.news-card-body {
  padding: 16px;
}

.news-card-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-title a {
  color: var(--text-primary);
}

.news-card-title a:hover {
  color: var(--accent);
}

.news-card-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Küçük Haber Listesi */
.news-list-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.news-list-item:last-child {
  border-bottom: none;
}

.news-list-item .list-img {
  width: 110px;
  height: 75px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
}

.news-list-item .list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-item .list-body {
  flex: 1;
}

.news-list-item .list-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.news-list-item .list-title a {
  color: var(--text-primary);
}

.news-list-item .list-title a:hover {
  color: var(--accent);
}

.news-list-item .list-meta {
  font-size: 12px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   ANA SAYFA DÜZEN
   ══════════════════════════════════════ */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  margin: 20px 0 40px;
}

.main-content {
  min-width: 0;
}

.main-sidebar {
  min-width: 0;
}

/* ══════════════════════════════════════
   SIDEBAR
   ══════════════════════════════════════ */
.sidebar-widget {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
}

.widget-header {
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.widget-body {
  padding: 16px;
}

/* En Çok Okunanlar */
.popular-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: flex-start;
}

.popular-item:last-child {
  border-bottom: none;
}

.popular-rank {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  min-width: 28px;
  flex-shrink: 0;
}

.popular-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

.popular-title a {
  color: var(--text-primary);
}

.popular-title a:hover {
  color: var(--accent);
}

/* E-bülten Widget */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  outline: none;
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  background: var(--accent);
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  font-family: var(--font);
}

.newsletter-form button:hover {
  background: var(--accent-dark);
}

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-cloud a {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all .2s;
}

.tag-cloud a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ══════════════════════════════════════
   HABER DETAY SAYFASI
   ══════════════════════════════════════ */
.article-header {
  margin-bottom: 24px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.article-category {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 12px;
}

.article-title {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-secondary);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-light);
}

.article-meta .author-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.article-meta .author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero Görsel */
.article-hero {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  background: #eee;
}

.article-hero img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
}

/* İçerik */
.article-content {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}

.article-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin: 32px 0 16px;
  padding-left: 14px;
  border-left: 4px solid var(--accent);
  color: var(--text-primary);
}

.article-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 24px 0 12px;
  color: var(--text-primary);
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul,
.article-content ol {
  margin: 16px 0;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-content strong {
  font-weight: 700;
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
}

.article-content img {
  border-radius: var(--radius-md);
  margin: 20px 0;
}

/* Sosyal Paylaşım */
.social-share {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 0;
  margin: 24px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.social-share span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  transition: transform .2s, opacity .2s;
  text-decoration: none;
}

.share-btn:hover {
  transform: scale(1.1);
  color: #fff;
  opacity: .9;
}

.share-facebook {
  background: #3b5998;
}

.share-twitter {
  background: #1da1f2;
}

.share-whatsapp {
  background: #25d366;
}

.share-linkedin {
  background: #0077b5;
}

.share-copy {
  background: #555;
  cursor: pointer;
  border: none;
}

/* Etiketler */
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}

.article-tags a {
  display: inline-block;
  padding: 5px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all .2s;
}

.article-tags a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Yazar Kutusu */
.author-box {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg);
  border-radius: var(--radius-md);
  margin: 24px 0;
  border: 1px solid var(--border-light);
}

.author-box-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--border);
}

.author-box-info {
  flex: 1;
}

.author-box-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-box-name a {
  color: var(--text-primary);
}

.author-box-name a:hover {
  color: var(--accent);
}

.author-box-bio {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.author-box-social {
  display: flex;
  gap: 10px;
}

.author-box-social a {
  color: var(--text-muted);
  font-size: 18px;
  transition: color .2s;
}

.author-box-social a:hover {
  color: var(--accent);
}

/* İlgili Haberler */
.related-news {
  margin: 32px 0;
}

.related-news h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Yorumlar */
.comments-section {
  margin: 32px 0;
}

.comments-section h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--accent);
}

.comment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-author {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

.comment-date {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.comment-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Yorum Formu */
.comment-form {
  margin-top: 20px;
}

.comment-form .form-group {
  margin-bottom: 14px;
}

.comment-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-secondary);
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--accent);
}

.comment-form textarea {
  resize: vertical;
  min-height: 100px;
}

.comment-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ══════════════════════════════════════
   KATEGORİ SAYFASI
   ══════════════════════════════════════ */
.category-header {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  padding: 32px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.category-header h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 6px;
}

.category-header p {
  font-size: 14px;
  opacity: .85;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.site-footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 48px 0 0;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #333;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: #999;
}

.footer-col a {
  display: block;
  color: #999;
  font-size: 14px;
  padding: 4px 0;
  transition: color .2s;
}

.footer-col a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #333;
  color: #ccc;
  font-size: 16px;
  transition: all .2s;
}

.footer-social a:hover {
  background: var(--accent);
  color: #fff;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom a {
  color: #888;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-dark {
  background: #333;
  color: #fff;
}

.btn-dark:hover {
  background: #555;
  color: #fff;
}

/* ══════════════════════════════════════
   PAGINATION
   ══════════════════════════════════════ */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 32px 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  background: var(--bg-white);
  color: var(--text-primary);
  transition: all .2s;
}

.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.pagination .active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ══════════════════════════════════════
   CARD (genel)
   ══════════════════════════════════════ */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════
   ADMIN PANEL STİLLERİ
   ══════════════════════════════════════ */
.admin-wrapper {
  min-height: 100vh;
  background: #f5f6fa;
}

.admin-header {
  background: #1a1a1a;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.admin-header .admin-logo {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}

.admin-header .admin-logo span {
  color: var(--accent);
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.admin-nav a {
  color: #ccc;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  font-weight: 500;
}

.admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
}

.admin-nav a.active {
  color: #fff;
  background: var(--accent);
}

.admin-nav .btn-logout {
  background: transparent;
  color: #ff6b6b;
  border: 1px solid #ff6b6b33;
}

.admin-nav .btn-logout:hover {
  background: #ff6b6b22;
}

.admin-body {
  padding: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

/* Dashboard Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.stat-card:nth-child(1)::after {
  background: var(--accent);
}

.stat-card:nth-child(2)::after {
  background: #2ecc71;
}

.stat-card:nth-child(3)::after {
  background: #3498db;
}

.stat-card:nth-child(4)::after {
  background: #f39c12;
}

.stat-card:nth-child(5)::after {
  background: #9b59b6;
}

.stat-card:nth-child(6)::after {
  background: #1abc9c;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 8px;
}

.stat-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
}

/* Admin Tables */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .5px;
  background: #fafafa;
  border-bottom: 1px solid var(--border);
}

.admin-table td {
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: #fafafa;
}

.admin-table .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.badge-success {
  background: #d4edda;
  color: #155724;
}

.badge-warning {
  background: #fff3cd;
  color: #856404;
}

.badge-danger {
  background: #f8d7da;
  color: #721c24;
}

.badge-info {
  background: #d1ecf1;
  color: #0c5460;
}

.badge-secondary {
  background: #e2e3e5;
  color: #383d41;
}

/* Admin Forms — class-based */
.admin-form {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control,
.form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--bg-white);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(220, 0, 0, .08);
}

.form-text {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

/* ── Admin — bare element styling (for admin.php inline forms) ── */
.admin-wrapper .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
  text-transform: capitalize;
}

.admin-wrapper input[type="text"],
.admin-wrapper input[type="email"],
.admin-wrapper input[type="password"],
.admin-wrapper input[type="number"],
.admin-wrapper input[type="url"],
.admin-wrapper input[type="date"],
.admin-wrapper input[type="search"],
.admin-wrapper input[type="tel"],
.admin-wrapper input[type="file"],
.admin-wrapper textarea,
.admin-wrapper select {
  width: 100%;
  padding: 11px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  background: #fff;
  color: var(--text-primary);
  transition: border-color .2s, box-shadow .2s, background .2s;
  -webkit-appearance: none;
}

.admin-wrapper input[type="text"]:hover,
.admin-wrapper input[type="email"]:hover,
.admin-wrapper input[type="password"]:hover,
.admin-wrapper input[type="number"]:hover,
.admin-wrapper input[type="url"]:hover,
.admin-wrapper input[type="date"]:hover,
.admin-wrapper input[type="search"]:hover,
.admin-wrapper input[type="tel"]:hover,
.admin-wrapper textarea:hover,
.admin-wrapper select:hover {
  border-color: #cbd5e1;
  background: #fafbfc;
}

.admin-wrapper input[type="text"]:focus,
.admin-wrapper input[type="email"]:focus,
.admin-wrapper input[type="password"]:focus,
.admin-wrapper input[type="number"]:focus,
.admin-wrapper input[type="url"]:focus,
.admin-wrapper input[type="date"]:focus,
.admin-wrapper input[type="search"]:focus,
.admin-wrapper input[type="tel"]:focus,
.admin-wrapper textarea:focus,
.admin-wrapper select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 0, 0, .1);
  background: #fff;
}

.admin-wrapper textarea {
  min-height: 120px;
  resize: vertical;
}

.admin-wrapper select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23555' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.admin-wrapper input[type="color"] {
  width: 60px;
  height: 44px;
  padding: 4px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
}

.admin-wrapper input[type="color"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(220, 0, 0, .1);
}

.admin-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  accent-color: var(--accent);
  cursor: pointer;
  vertical-align: middle;
}

.admin-wrapper input[type="file"] {
  padding: 8px 12px;
  background: #f8fafc;
  cursor: pointer;
}

/* Admin Buttons — bare */
.admin-wrapper button[type="submit"],
.admin-wrapper .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  letter-spacing: .3px;
}

.admin-wrapper .btn-primary,
.admin-wrapper button[type="submit"] {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(220, 0, 0, .25);
}

.admin-wrapper .btn-primary:hover,
.admin-wrapper button[type="submit"]:hover {
  background: linear-gradient(135deg, var(--accent-dark), #900);
  box-shadow: 0 4px 16px rgba(220, 0, 0, .35);
  transform: translateY(-1px);
}

.admin-wrapper .btn-primary:active,
.admin-wrapper button[type="submit"]:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(220, 0, 0, .2);
}

/* Admin h3 inside cards */
.admin-wrapper .card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: var(--text-primary);
}

/* Alert */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.5;
}

.alert-info {
  background: #e8f4fd;
  color: #0c5460;
  border: 1px solid #b8daf0;
}

.alert-success {
  background: #e8f8ef;
  color: #155724;
  border: 1px solid #b7e4c7;
}

.alert-warning {
  background: #fef9e7;
  color: #856404;
  border: 1px solid #f5e79e;
}

.alert-danger {
  background: #fde8ea;
  color: #721c24;
  border: 1px solid #f1b3b8;
}

/* ══════════════════════════════════════
   HERO SLIDER (Hürriyet style)
   ══════════════════════════════════════ */
.hero-slider-section {
  margin: 0 0 16px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.hero-slider-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.4fr;
  min-height: 440px;
}

/* — Big slider left — */
.slider-main {
  position: relative;
  background: #111;
  overflow: hidden;
}

.slider-main .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}

.slider-main .slide.active {
  opacity: 1;
  position: relative;
}

.slider-main .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 440px;
}

.slider-main .slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 24px 24px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
}

.slider-main .slide-category {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}

.slider-main .slide-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 6px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.slider-main .slide-title a {
  color: #fff;
}

.slider-main .slide-title a:hover {
  text-decoration: underline;
}

.slider-main .slide-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, .65);
}

/* Pagination dots (numbered) */
.slider-pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
  z-index: 3;
}

.slider-pagination button {
  width: 28px;
  height: 28px;
  border: none;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background .2s;
  border-radius: 2px;
}

.slider-pagination button:hover {
  background: rgba(255, 255, 255, .4);
}

.slider-pagination button.active {
  background: var(--accent);
  color: #fff;
}

/* — Middle column — */
.slider-middle {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
}

.slider-mid-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  cursor: pointer;
}

.slider-mid-item:last-child {
  border-bottom: none;
}

.slider-mid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .3s;
}

.slider-mid-item:hover img {
  transform: scale(1.05);
}

.slider-mid-item .mid-overlay {
  position: relative;
  z-index: 1;
  padding: 16px;
  background: linear-gradient(transparent 20%, rgba(0, 0, 0, .75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 140px;
}

.slider-mid-item .mid-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.slider-mid-item .mid-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.slider-mid-item .mid-title a {
  color: #fff;
}

.slider-mid-item .mid-title a:hover {
  text-decoration: underline;
}

/* — Right column — */
.slider-right {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-light);
}

.slider-right-item {
  flex: 1;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
}

.slider-right-item:last-child {
  border-bottom: none;
}

.slider-right-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform .3s;
}

.slider-right-item:hover img {
  transform: scale(1.05);
}

.slider-right-item .right-overlay {
  position: relative;
  z-index: 1;
  padding: 12px;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, .75));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  min-height: 140px;
}

.slider-right-item .right-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  margin-bottom: 3px;
}

.slider-right-item .right-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.slider-right-item .right-title a {
  color: #fff;
}

.slider-right-item .right-title a:hover {
  text-decoration: underline;
}

/* ── Financial Ticker ── */
.finance-ticker {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin: 12px 0 20px;
  overflow: hidden;
}

.finance-item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-right: 1px solid var(--border-light);
  font-size: 14px;
}

.finance-item:last-child {
  border-right: none;
}

.finance-name {
  font-weight: 700;
  color: var(--text-primary);
}

.finance-value {
  font-weight: 600;
  color: var(--text-primary);
}

.finance-change {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.finance-up {
  background: #e8f8ef;
  color: #15803d;
}

.finance-down {
  background: #fde8ea;
  color: #dc2626;
}

.finance-neutral {
  background: #f1f5f9;
  color: #64748b;
}

/* ══════════════════════════════════════
   HORIZONTAL NEWS CARDS (Son Haberler)
   ══════════════════════════════════════ */
.news-list-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.news-horizontal {
  display: flex;
  gap: 16px;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}

.news-horizontal:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.news-h-img {
  position: relative;
  width: 280px;
  min-height: 160px;
  flex-shrink: 0;
  overflow: hidden;
  background: #eee;
}

.news-h-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.news-horizontal:hover .news-h-img img {
  transform: scale(1.05);
}

.news-h-img .badge-cat {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  z-index: 1;
}

.news-h-body {
  flex: 1;
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-h-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.news-h-title a {
  color: var(--text-primary);
}

.news-h-title a:hover {
  color: var(--accent);
}

.news-h-excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-h-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
}

/* ══════════════════════════════════════
   CATEGORY WIDGET SECTIONS
   ══════════════════════════════════════ */
.category-widget-section {
  margin-bottom: 28px;
}

.cat-widget-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 16px;
}

.cat-widget-big {
  grid-row: 1 / span 3;
}

.cat-widget-big .cat-big-img {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 10px;
  height: 220px;
  background: #eee;
}

.cat-widget-big .cat-big-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s;
}

.cat-widget-big:hover .cat-big-img img {
  transform: scale(1.03);
}

.cat-widget-big h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.cat-widget-big h3 a {
  color: var(--text-primary);
}

.cat-widget-big h3 a:hover {
  color: var(--accent);
}

.cat-widget-big p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cat-widget-small {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.cat-widget-small:last-child {
  border-bottom: none;
}

.cat-widget-small .cat-sm-img {
  width: 100px;
  height: 70px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #eee;
}

.cat-widget-small .cat-sm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-widget-small h4 {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 4px;
}

.cat-widget-small h4 a {
  color: var(--text-primary);
}

.cat-widget-small h4 a:hover {
  color: var(--accent);
}

.cat-widget-small .cat-sm-meta {
  font-size: 11px;
  color: var(--text-muted);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-side {
    flex-direction: row;
  }

  .hero-side-item {
    height: 200px;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-slider-grid {
    grid-template-columns: 1fr 1fr;
  }

  .slider-right {
    display: none;
  }

  .finance-ticker {
    flex-wrap: wrap;
  }

  .finance-item {
    flex: 0 0 50%;
    border-bottom: 1px solid var(--border-light);
  }
}

@media (max-width: 768px) {
  :root {
    --container: 100%;
  }

  .top-bar {
    display: none;
  }

  .mid-header .container {
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-live span:not(.pulse) {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--accent-dark);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu>li>a {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .mega-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0, 0, 0, .1);
    display: none;
  }

  .nav-menu>li:hover .mega-menu,
  .nav-menu>li.submenu-open .mega-menu {
    display: block;
  }

  .mega-menu a {
    color: #fff;
  }

  .mega-menu a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
  }

  .hero-main .hero-title {
    font-size: 20px;
  }

  .hero-side {
    flex-direction: column;
  }

  .hero-side-item {
    height: 150px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  /* Slider mobile */
  .hero-slider-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .slider-middle,
  .slider-right {
    display: none;
  }

  .slider-main .slide img {
    min-height: 260px;
  }

  .slider-main .slide-title {
    font-size: 18px;
  }

  /* Horizontal news cards → stack */
  .news-horizontal {
    flex-direction: column;
  }

  .news-h-img {
    width: 100%;
    min-height: 180px;
  }

  .news-h-body {
    padding: 14px;
  }

  /* Category widgets → single column */
  .cat-widget-grid {
    grid-template-columns: 1fr;
  }

  .cat-widget-big {
    grid-row: auto;
  }

  /* Finance ticker */
  .finance-ticker {
    flex-wrap: wrap;
  }

  .finance-item {
    flex: 0 0 50%;
    font-size: 12px;
  }

  .article-title {
    font-size: 24px;
  }

  .article-content {
    font-size: 16px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .author-box-avatar {
    margin: 0 auto;
  }

  .author-box-social {
    justify-content: center;
  }

  .social-share {
    flex-wrap: wrap;
  }

  .comment-form .form-row {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Sticky Bottom Nav (Mobil) */
  .mobile-nav {
    display: flex !important;
  }
}

@media (max-width: 480px) {
  .hero-main .hero-overlay {
    padding: 16px;
  }

  .hero-main .hero-title {
    font-size: 18px;
  }

  .news-card-img {
    height: 180px;
  }

  .breaking-label {
    padding: 10px 12px;
    font-size: 11px;
  }
}

/* Desktop'ta mobile nav gizle */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .1);
  z-index: 1000;
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 10px;
  color: var(--text-muted);
  padding: 4px 8px;
}

.mobile-nav a .nav-emoji {
  font-size: 20px;
}

.mobile-nav a.active,
.mobile-nav a:hover {
  color: var(--accent);
}

/* Login Page */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a1a, #333);
}

.login-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
}

.login-card h2 {
  font-size: 24px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 24px;
}

.login-card .logo-accent {
  color: var(--accent);
}

/* Utility */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.text-small {
  font-size: 13px;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.mt-3 {
  margin-top: 24px;
}

.mb-1 {
  margin-bottom: 8px;
}

.mb-2 {
  margin-bottom: 16px;
}

.mb-3 {
  margin-bottom: 24px;
}

.d-flex {
  display: flex;
}

.gap-2 {
  gap: 16px;
}

.flex-wrap {
  flex-wrap: wrap;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.table-responsive {
  overflow-x: auto;
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: all .2s;
}

.scroll-top.visible {
  display: flex;
}

.scroll-top:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
}

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #eee 25%, #ddd 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}