:root {
  --red: #d0021b;
  --red-dark: #a30115;
  --black: #111111;
  --yellow: #ffcc00;
  --bg: #f4f4f5;
  --card-bg: #ffffff;
  --text: #1a1a1a;
  --muted: #666666;
  --border: #e5e5e5;
  --max-width: 1600px;
  --font-head: "Roboto Condensed", -apple-system, "Segoe UI", Arial, sans-serif;
  --font-display: "Archivo Black", "Roboto Condensed", -apple-system, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* Category accent colors */
.cat-gundem, .cat-default { --cat-color: var(--red); }
.cat-spor { --cat-color: #0a8f3c; }
.cat-ekonomi { --cat-color: #0a5fc4; }
.cat-magazin { --cat-color: #b3159c; }
.cat-dunya { --cat-color: #0a8f8f; }

/* Header — bold solid-color bar (TRT Haber-style masthead) instead of a plain black bar */
.site-header {
  background: var(--red);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.site-header .top-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 32px; width: auto; display: block; }

.weather-badge {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .weather-badge { font-size: 12px; padding: 3px 10px; }
}

.top-bar-spacer { flex: 1; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
  flex-shrink: 0;
}

.search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.search-toggle:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

.main-nav {
  display: flex;
  gap: 2px;
}

.main-nav a {
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--font-head);
  border-radius: 4px;
}
.main-nav a:hover { background: rgba(0,0,0,0.22); color: #fff; text-decoration: none; }

.search-overlay {
  background: #1a1a1a;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.search-overlay .container { padding: 14px 16px; }
.search-form { display: flex; }
.search-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #444;
  background: #1e1e1e;
  color: #fff;
  border-radius: 20px 0 0 20px;
  font-size: 14px;
}
.search-form input::placeholder { color: #999; }
.search-form button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 20px 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
}

/* Sub-bar: trending hashtag + quick links */
.sub-bar {
  background: #f7f7f8;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.sub-bar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 16px;
  flex-wrap: wrap;
}
.hashtag-pill {
  font-weight: 800;
  color: var(--red);
  font-family: var(--font-head);
  letter-spacing: 0.01em;
}
.hashtag-pill:hover { text-decoration: none; opacity: 0.85; }
.quick-links { display: flex; gap: 18px; margin-left: auto; }
.quick-links a { color: var(--muted); font-weight: 600; }
.quick-links a:hover { color: var(--red); text-decoration: none; }

/* Finance ticker (Döviz/Altın/Borsa) */
.finance-bar {
  background: #1a1a1a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.finance-bar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 7px 16px;
  overflow-x: auto;
}
.finance-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-size: 12.5px;
  flex-shrink: 0;
}
.finance-label {
  color: #999;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.02em;
}
.finance-value { color: #fff; font-weight: 700; }
.finance-change { font-weight: 700; }
.finance-change.up { color: #2bd47d; }
.finance-change.down { color: #ff5a5a; }

@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--black);
    flex-direction: column;
    padding: 6px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.25);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .site-header .top-bar { flex-wrap: nowrap; position: relative; gap: 10px; }
  .quick-links { display: none; }
}

/* Breaking bar */
.breaking-bar {
  background: #fff;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
}
.breaking-bar .label {
  background: var(--red);
  color: #fff;
  font-weight: 900;
  padding: 10px 18px;
  flex-shrink: 0;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.02em;
  font-family: var(--font-head);
  border-radius: 0 12px 12px 0;
}
.ticker-track {
  overflow: hidden;
  display: flex;
  flex: 1;
}
.ticker-content {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  padding: 8px 0;
  font-weight: 600;
  font-size: 14px;
  animation: ticker-scroll 45s linear infinite; /* overridden per-page by JS based on content width, for a constant speed */
}
.ticker-track:hover .ticker-content {
  animation-play-state: paused;
}
.breaking-bar .ticker-content a {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
  margin-right: 40px;
  padding-left: 20px;
}
.ticker-time {
  color: var(--red);
  font-weight: 800;
  margin-right: 8px;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-content { animation: none; }
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 24px 0;
}
.hero-carousel { display: flex; flex-direction: column; }
.hero-main {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 16/10;
  display: block;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide a { display: block; width: 100%; height: 100%; }
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}
.hero-main .hero-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 10%, rgba(0,0,0,0.55) 55%, transparent 100%);
  color: #fff;
}
.hero-main h2 {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.2;
  margin: 8px 0 0;
  font-weight: 400;
}
.hero-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  padding-top: 14px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c3c3cc;
  border: none;
  cursor: pointer;
  padding: 0;
  color: transparent;
  font-size: 0;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}
.hero-dot.active {
  width: 26px;
  height: 26px;
  background: var(--red);
  color: #fff;
  font-size: 13px;
}
.hero-side { display: flex; flex-direction: column; gap: 14px; }
.hero-side-item {
  display: flex;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.hero-side-item h4 {
  margin: 2px 0 0;
  font-size: 14.5px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .hero-main h2 { font-size: 19px; }
}

/* Category tag badges */
.cat-tag {
  display: inline-block;
  color: #fff;
  background: var(--cat-color, var(--red));
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-family: var(--font-head);
}
.hero-main .cat-tag { margin-bottom: 4px; }
a.cat-tag:hover { text-decoration: none; opacity: 0.9; }

/* Cards */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); margin: 24px 0; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  text-decoration: none;
}
.card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; background: #eee; }
.card .card-body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  margin: 0 0 8px;
  line-height: 1.3;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .summary {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 56px 0 10px;
  font-size: 56px;
  font-family: var(--font-display);
  font-weight: 400;
  border-left: 12px solid var(--cat-color, var(--red));
  padding-left: 18px;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.section-title a { margin-left: auto; font-size: 14px; color: var(--red); font-weight: 600; text-transform: none; font-family: var(--font-head); flex-shrink: 0; }
@media (max-width: 640px) {
  .section-title { font-size: 42px; margin: 40px 0 8px; border-left-width: 9px; padding-left: 14px; }
}

/* Feature row — photo beside text (not overlaid on it), used by "Çok Okunanlar" and the
   per-category homepage sections. .reverse flips which side the photo sits on, so blocks don't
   all look identical down the page. */
.feature-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
}
.feature-row.reverse { grid-template-columns: 1fr 1.3fr; }
.feature-row.reverse .feature-photo { order: 2; }
.feature-row.reverse .feature-text { order: 1; }
.feature-photo {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
  display: block;
}
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.feature-text h3 {
  font-family: var(--font-head);
  font-size: 25px;
  line-height: 1.25;
  margin: 10px 0 12px;
  font-weight: 800;
  color: var(--text);
}
.feature-text .summary {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Çok Okunanlar — big feature + numbered 1-10 list beside it, small-thumb row below */
.most-read-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin: 20px 0 24px;
  align-items: start;
}
.numbered-list { list-style: none; margin: 0; padding: 0; }
.numbered-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.numbered-list li:last-child { border-bottom: none; }
.numbered-list .num {
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-family: var(--font-head);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  flex-shrink: 0;
}
.numbered-list a { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--text); }

/* Small thumbnail row — a few more same-section items below the main feature */
.mini-row { display: grid; gap: 16px; margin: 0 0 36px; }
.mini-row-3 { grid-template-columns: repeat(3, 1fr); }
.mini-row-4 { grid-template-columns: repeat(4, 1fr); }
.mini-card { display: block; }
.mini-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; background: #eee; margin-bottom: 8px; }
.mini-card .cat-tag { margin-bottom: 6px; }
.mini-card h4 { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--text); }

/* Per-category homepage block — main feature-row + a secondary side feature/list column */
.category-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 0 0 16px;
}
.category-hero.no-side { grid-template-columns: 1fr; }
.category-side { display: flex; flex-direction: column; }

/* All side-column items use the same small-thumbnail treatment — mixing one bigger "featured"
   photo with plain photo-less text links looked inconsistent, so every item here is a uniform
   small card (thumb + title + one-line summary), clearly subordinate to the big feature-row photo. */
.side-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.side-card:first-child { padding-top: 0; }
.side-card:last-child { border-bottom: none; }
.side-card img {
  width: 92px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
  flex-shrink: 0;
}
.side-card h4 { margin: 0; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--text); }
.mini-summary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .most-read-hero { grid-template-columns: 1fr; }
  .category-hero { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-photo, .feature-row.reverse .feature-text { order: initial; }
  .mini-row-3, .mini-row-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Per-category block: one big feature + a small list, mirrors the hero layout */
.category-block {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 24px;
  margin: 0 0 8px;
}
.category-feature {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--black);
  aspect-ratio: 3/2;
  display: block;
}
.category-feature img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.category-feature-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 15%, rgba(0,0,0,0.5) 60%, transparent 100%);
  color: #fff;
}
.category-feature-overlay h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1.2;
  margin: 0;
}
.category-feature-overlay .summary {
  color: #ddd;
  font-size: 13.5px;
  margin: 8px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.category-list { display: flex; flex-direction: column; gap: 12px; }
.category-block.no-list { grid-template-columns: 1fr; }

@media (max-width: 780px) {
  .category-block { grid-template-columns: 1fr; }
  .category-feature-overlay h3 { font-size: 22px; }
}

/* Videos */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 20px 0 12px;
}
.video-card h4 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0 0;
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  padding: 0;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--black);
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  background: rgba(0,0,0,0.15);
  transition: background 0.15s ease;
}
.video-play::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(208,2,27,0.9);
  z-index: -1;
}
.video-thumb:hover .video-play { background: rgba(0,0,0,0.35); }
.video-card iframe { width: 100%; aspect-ratio: 16/9; border-radius: 8px; }

@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }

/* Article page */
.article-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 8px 40px;
  align-items: start;
}
.article-page { max-width: 780px; margin: 28px 0; padding: 0; }

/* Son Haberler sidebar (article page) — TRT Haber style clickable recent-news list */
.article-sidebar {
  margin: 28px 0;
  position: sticky;
  top: 84px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.sidebar-title {
  background: var(--red);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 12px 16px;
}
.latest-news-list { display: flex; flex-direction: column; }
.latest-news-item {
  display: flex;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.latest-news-item:last-child { border-bottom: none; }
.latest-news-item:hover { background: var(--bg); text-decoration: none; }
.latest-news-time {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--red);
  font-size: 13px;
  flex-shrink: 0;
}
.latest-news-title {
  font-size: 13.5px;
  line-height: 1.35;
  color: var(--text);
  font-weight: 600;
}

@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}
.article-page h1 {
  font-family: var(--font-head);
  font-size: 32px;
  line-height: 1.2;
  margin: 8px 0 14px;
  font-weight: 700;
}
.article-page .meta { color: var(--muted); font-size: 13px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.article-page .cover { width: 100%; border-radius: 10px; margin-bottom: 20px; }
.share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.share-label { font-size: 13px; color: var(--muted); font-weight: 600; margin-right: 2px; }
.share-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #fff !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.share-btn:hover { text-decoration: none; opacity: 0.9; }
.share-whatsapp { background: #25D366; }
.share-x { background: #000; }
.share-facebook { background: #1877f2; }
.share-copy { background: var(--muted); }
.article-page .body { font-size: 18px; line-height: 1.7; }
.article-page .body p { margin: 0 0 18px; }
.source-note {
  margin-top: 24px;
  padding: 10px 14px;
  background: #fff8db;
  border: 1px solid var(--yellow);
  border-radius: 6px;
  font-size: 13px;
  color: #555;
}

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin: 32px 0; }
.pagination a, .pagination span {
  padding: 8px 14px; border: 1px solid var(--border); border-radius: 4px; font-size: 14px;
  background: var(--card-bg);
}
.pagination .current { background: var(--red); color: #fff; border-color: var(--red); }

/* Footer */
.site-footer {
  background: var(--black);
  color: #ccc;
  margin-top: 48px;
  padding: 32px 0;
  font-size: 14px;
}
.site-footer .container { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; }
.site-footer a { color: #fff; }
.site-footer .col h4 { color: #fff; margin: 0 0 10px; font-size: 14px; text-transform: uppercase; font-family: var(--font-head); }
.whatsapp-btn {
  display: inline-block; background: #25D366; color: #fff !important; padding: 8px 16px;
  border-radius: 20px; font-weight: 700; margin-top: 8px;
}
.contact-page { max-width: 640px; margin: 40px auto; padding: 0 16px; }
.contact-page .card { padding: 16px; margin-bottom: 12px; }

.privacy-page { max-width: 760px; margin: 40px auto; padding: 0 16px; line-height: 1.65; }
.privacy-page h1 { font-family: var(--font-head); }
.privacy-page h2 { font-family: var(--font-head); font-size: 19px; margin-top: 32px; }
.privacy-page .updated { color: var(--muted); font-size: 13px; margin-top: -8px; }

.consent-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000;
  background: var(--black); color: #eee; font-size: 13.5px;
  box-shadow: 0 -2px 14px rgba(0,0,0,0.25);
}
.consent-banner .container {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 14px 16px;
}
.consent-banner a { color: #fff; text-decoration: underline; }
.consent-banner button {
  background: var(--red); color: #fff; border: none; padding: 8px 18px;
  border-radius: 20px; font-weight: 700; cursor: pointer; flex-shrink: 0; margin-left: auto;
}
.consent-banner button:hover { opacity: 0.9; }

.empty-state { text-align: center; padding: 60px 16px; color: var(--muted); }

/* Archive ("Dosyalı Haberler") — small thumbnail + title only, no summary, infinite-scroll grid */
.archive-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin: 20px 0; }
@media (max-width: 900px) { .archive-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .archive-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.archive-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.archive-card:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,0.08); text-decoration: none; }
.archive-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: #eee; }
.archive-card-body { padding: 8px 10px 10px; }
.archive-card h4 {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.archive-status {
  text-align: center;
  padding: 24px 0 8px;
  color: var(--muted);
  font-size: 13.5px;
}

.ad-slot { display: flex; justify-content: center; align-items: center; overflow: hidden; margin: 20px 0; }
