/* ============================================================
   KESKİNGÜNDEM — Editorial Brutalist Design System v2
   Swiss/High-contrast aesthetic, no shadows, sharp edges.
   ============================================================ */

:root {
  --bg: #FCFCFA;
  --bg-card: #FFFFFF;
  --bg-dark: #111111;
  --bg-strip: #F5F5F2;
  --text: #111111;
  --text-mute: #555555;
  --text-soft: #888888;
  --border: #E5E5E5;
  --border-hard: #111111;
  --accent: #D90429;
  --hl-bg: #FFF3CD;
  --hl-border: #FFC107;

  /* Kategori renkleri */
  --cat-gundem: #D90429;
  --cat-ekonomi: #1D3557;
  --cat-spor: #E85D04;
  --cat-teknoloji: #0077B6;
  --cat-saglik: #2A9D8F;
  --cat-dunya: #495057;
  --cat-magazin: #E56B6F;
}

[data-theme="dark"] {
  --bg: #0E0E0E;
  --bg-card: #161616;
  --bg-dark: #050505;
  --bg-strip: #1A1A1A;
  --text: #F5F5F2;
  --text-mute: #B0B0B0;
  --text-soft: #888888;
  --border: #2B2B2B;
  --border-hard: #F5F5F2;
  --accent: #FF3344;
  --hl-bg: #2A2310;
  --hl-border: #FFC107;

  --cat-gundem: #FF3344;
  --cat-ekonomi: #5A9BFF;
  --cat-spor: #FF8C42;
  --cat-teknoloji: #3FB8FF;
  --cat-saglik: #4FCAB8;
  --cat-dunya: #B0B5BB;
  --cat-magazin: #FF8FA0;
}

html, body, .top-strip, .brand-row, .main-nav, .footer, .article-tile, .panel-head, .stat, .modal, .login-card, .field, .article-page, .breaking, .share-btn, .nav-links {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.font-heading { font-family: 'Playfair Display', Georgia, serif; }
.font-body { font-family: 'Source Serif 4', Georgia, serif; }
.font-ui { font-family: 'Outfit', system-ui, -apple-system, sans-serif; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ====================== TOP BAR ====================== */
.top-strip {
  background: var(--bg-strip);
  border-bottom: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.top-strip .container { display: flex; justify-content: space-between; align-items: center; height: 36px; }

/* ====================== HEADER UTIL: ARAMA + TEMA ====================== */
.header-utils {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header-utils .util-btn {
  background: transparent;
  border: 1.5px solid var(--border-hard);
  color: var(--text);
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  padding: 0;
}
.header-utils .util-btn:hover {
  background: var(--text);
  color: var(--bg);
}
.header-utils .util-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}
.search-form {
  display: none;
  align-items: center;
  border: 1.5px solid var(--border-hard);
  height: 38px;
  overflow: hidden;
}
.search-form.open { display: inline-flex; }
.search-form input {
  border: none;
  outline: none;
  padding: 0 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--bg-card);
  color: var(--text);
  width: 240px;
  height: 100%;
}
.search-form input::placeholder { color: var(--text-soft); text-transform: uppercase; letter-spacing: 0.18em; font-size: 11px; }
.search-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0 14px;
  height: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.search-form button svg { width: 14px; height: 14px; }
.theme-icon-dark, .theme-icon-light { width: 16px; height: 16px; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark, html:not([data-theme="dark"]) .theme-icon-dark { display: none; }

@media (max-width: 900px) {
  .search-form input { width: 160px; }
}
@media (max-width: 640px) {
  .search-form.open + .util-btn { display: none; }
  .search-form input { width: 130px; }
}

/* ====================== BREAKING NEWS ====================== */
.breaking {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-hard);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: stretch;
  height: 48px;
  overflow: hidden;
}
.breaking-label {
  background: var(--accent);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0 22px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
}
.breaking-label::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 0;
  bottom: 0;
  width: 0;
  height: 0;
  border-top: 24px solid transparent;
  border-bottom: 24px solid transparent;
  border-left: 12px solid var(--accent);
}
.breaking-label .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  margin-right: 10px;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: 0.3; transform: scale(0.75); } }

.breaking-track {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 24px;
}
.breaking-track .marquee {
  display: inline-flex;
  gap: 50px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}
.breaking-track .marquee a {
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
}
.breaking-track .marquee a:hover { color: var(--accent); }
.breaking-track .marquee span.sep {
  color: var(--accent);
  font-weight: 900;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====================== DARK MODE TWEAKS ====================== */
[data-theme="dark"] .breaking-label { color: #fff; }
[data-theme="dark"] .footer { background: #050505; border-top: 2px solid var(--border-hard); }
[data-theme="dark"] .footer ul a { color: #888; }
[data-theme="dark"] .footer ul a:hover { color: var(--accent); }
[data-theme="dark"] .nav-links a { color: var(--text); }
[data-theme="dark"] .img-wrap img,
[data-theme="dark"] .article-hero-img,
[data-theme="dark"] .article-thumb { opacity: 0.85; }
[data-theme="dark"] .img-wrap:hover img { opacity: 1; }
[data-theme="dark"] .field,
[data-theme="dark"] .modal input,
[data-theme="dark"] .modal textarea,
[data-theme="dark"] .modal select { background: var(--bg-card); color: var(--text); border-color: var(--border-hard); }
[data-theme="dark"] thead { background: #000; color: #fff; }
[data-theme="dark"] .admin-bar { border-bottom-color: var(--accent); }
[data-theme="dark"] .article-summary { color: var(--text); }
[data-theme="dark"] .article-body p { color: var(--text-mute); }
[data-theme="dark"] .article-body p:first-of-type::first-letter { color: var(--accent); }
[data-theme="dark"] .page-banner { background: var(--bg-card); }
[data-theme="dark"] .search-mark { background: var(--hl-bg); color: var(--text); }
.search-mark { background: var(--hl-bg); padding: 0 3px; border-radius: 2px; font-weight: 600; }


/* ====================== HEADER ====================== */
.brand-row {
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 32px 0 28px;
}
.brand-row .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.brand-row .side {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.brand-row .side.left { text-align: left; }
.brand-row .side.right { text-align: right; }
.brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
  display: block;
  color: var(--text);
}
.brand .accent { color: var(--accent); }
@media (max-width: 768px) {
  .brand-row .side { display: none; }
  .brand-row .container { grid-template-columns: 1fr; }
}

/* ====================== NAV ====================== */
.main-nav {
  background: var(--bg-card);
  border-top: 2px solid var(--border-hard);
  border-bottom: 2px solid var(--border-hard);
  position: sticky;
  top: 0;
  z-index: 50;
}
.main-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: wrap;
  align-items: center;
}
.nav-links a {
  display: block;
  padding: 18px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 12px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-search {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mute);
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-hard);
  color: var(--text);
  padding: 8px 14px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 1024px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 2px solid var(--border-hard);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; }
  .nav-links a::after { display: none; }
}

/* ====================== HERO BENTO ====================== */
.hero {
  padding: 32px 0 48px;
  background: var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero-main {
  border-right: 1px solid var(--border);
  padding: 0;
}
@media (max-width: 900px) {
  .hero-main { border-right: none; border-bottom: 1px solid var(--border); }
}
.hero-main a { display: block; height: 100%; }
.hero-main .img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #eee;
}
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s;
}
.hero-main:hover img { transform: scale(1.04); }
.hero-main .body { padding: 28px 32px 36px; }
.hero-main .cat-label {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 5px 12px;
  color: #fff;
  background: var(--accent);
  margin-bottom: 16px;
}
.hero-main h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-main h2 a:hover { color: var(--accent); }
.hero-main p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-mute);
  margin: 0 0 16px;
}
.hero-main .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-side { display: grid; grid-template-rows: repeat(4, 1fr); }
.hero-side-item {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.hero-side-item:last-child { border-bottom: none; }
.hero-side-item .cat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--accent);
}
.hero-side-item h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.hero-side-item h3 a:hover { color: var(--accent); }
.hero-side-item .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
}
.hero-side-item .img-wrap {
  width: 110px;
  height: 90px;
  overflow: hidden;
  background: #eee;
}
.hero-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.hero-side-item:hover img { transform: scale(1.06); }

/* ====================== SECTION HEADER ====================== */
.section-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border-hard);
}
.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: capitalize;
}
.section-head .tag {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-left: auto;
}
.section-head .tag a:hover { text-decoration: underline; }

/* ====================== MAIN LAYOUT ====================== */
.main-layout {
  padding: 24px 0 60px;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
}
@media (max-width: 1024px) {
  .main-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ====================== ARTICLE CARDS ====================== */
.article-list { display: grid; gap: 32px; }
.article-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 28px;
}
.article-row:last-child { border-bottom: none; }
.article-row .img-wrap {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #eee;
}
.article-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-row:hover img { transform: scale(1.06); }
.article-row .cat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
  padding-bottom: 3px;
  border-bottom: 2px solid currentColor;
}
.article-row h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.article-row h3 a:hover { color: var(--accent); }
.article-row p {
  font-size: 16px;
  color: var(--text-mute);
  line-height: 1.55;
  margin: 0 0 12px;
}
.article-row .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (max-width: 600px) {
  .article-row { grid-template-columns: 1fr; gap: 14px; }
  .article-row h3 { font-size: 22px; }
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
@media (max-width: 700px) {
  .article-grid { grid-template-columns: 1fr; }
}
.article-tile {
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px;
  background: var(--bg-card);
  transition: background .2s;
}
.article-tile:hover { background: var(--bg-strip); }
.article-tile .img-wrap {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #eee;
  margin-bottom: 16px;
}
.article-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.article-tile:hover img { transform: scale(1.05); }
.article-tile .cat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 8px;
  padding-bottom: 2px;
  border-bottom: 2px solid currentColor;
}
.article-tile h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 10px;
}
.article-tile h3 a:hover { color: var(--accent); }
.article-tile .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ====================== SIDEBAR ====================== */
.sidebar { display: grid; gap: 40px; align-self: start; position: sticky; top: 80px; }
@media (max-width: 1024px) { .sidebar { position: static; } }
.sidebar h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-hard);
  margin: 0 0 16px;
}
.popular-list { list-style: none; padding: 0; margin: 0; counter-reset: pop; }
.popular-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  counter-increment: pop;
}
.popular-list li:last-child { border-bottom: none; }
.popular-list li::before {
  content: counter(pop, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}
.popular-list .body { display: flex; flex-direction: column; gap: 4px; }
.popular-list h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  margin: 0;
}
.popular-list h5 a:hover { color: var(--accent); }
.popular-list .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ====================== KATEGORI BÖLÜMLERİ ====================== */
.cat-section { margin-top: 64px; }
.cat-section + .cat-section { margin-top: 56px; }

/* ====================== KATEGORI RENKLERI ====================== */
.cat-gundem .cat-label, .cat-gundem .cat-color { color: var(--cat-gundem); }
.cat-ekonomi .cat-label, .cat-ekonomi .cat-color { color: var(--cat-ekonomi); }
.cat-spor .cat-label, .cat-spor .cat-color { color: var(--cat-spor); }
.cat-teknoloji .cat-label, .cat-teknoloji .cat-color { color: var(--cat-teknoloji); }
.cat-saglik .cat-label, .cat-saglik .cat-color { color: var(--cat-saglik); }
.cat-dunya .cat-label, .cat-dunya .cat-color { color: var(--cat-dunya); }
.cat-magazin .cat-label, .cat-magazin .cat-color { color: var(--cat-magazin); }

/* ====================== PAGE BANNER (kategori sayfası) ====================== */
.page-banner {
  border-top: 2px solid var(--border-hard);
  border-bottom: 2px solid var(--border-hard);
  padding: 56px 0;
  margin-bottom: 48px;
  background: var(--bg-card);
}
.page-banner .crumb {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 18px;
}
.page-banner .crumb a:hover { color: var(--accent); }
.page-banner h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin: 0;
}

/* ====================== SINGLE ARTICLE ====================== */
.article-page { padding: 48px 0 80px; background: var(--bg-card); border-top: 1px solid var(--border); }
.article-page .container { max-width: 920px; }
.article-header { margin-bottom: 32px; }
.article-header .crumb {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 24px;
}
.article-header .crumb a { color: var(--accent); }
.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--text);
}
.article-header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.article-header .meta strong { color: var(--text); font-weight: 700; }

.article-hero-img {
  width: 100%;
  margin: 0 0 40px;
  max-height: 540px;
  object-fit: cover;
}

.article-summary {
  background: var(--hl-bg);
  border-left: 4px solid var(--hl-border);
  padding: 22px 28px;
  margin: 0 0 36px;
  font-family: 'Source Serif 4', serif;
  font-size: 20px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text);
}

.article-body { font-family: 'Source Serif 4', Georgia, serif; }
.article-body p {
  font-size: 19px;
  line-height: 1.75;
  margin: 0 0 24px;
  color: #222;
}
.article-body p:first-of-type::first-letter {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 72px;
  float: left;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--accent);
}

.article-source {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.article-source a { color: var(--accent); }

/* ====================== ADSENSE REKLAM SLOTLARI ====================== */
.ad-slot {
  display: block;
  margin: 32px 0;
  text-align: center;
  background: var(--bg-strip);
  border: 1px dashed var(--border);
  min-height: 100px;
  position: relative;
  overflow: hidden;
}
.ad-slot.ad-leaderboard { min-height: 90px; }
.ad-slot.ad-in-article { min-height: 250px; margin: 40px auto; max-width: 728px; }
.ad-slot.ad-sidebar { min-height: 250px; max-width: 300px; margin: 0 auto 32px; }
.ad-slot .ad-label-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  opacity: 0.6;
}
.ad-slot .ad-label-placeholder .small {
  font-size: 9px;
  letter-spacing: 0.16em;
  opacity: 0.6;
}
.ad-slot.is-active { background: transparent; border: none; min-height: 0; }
.ad-slot.is-active .ad-label-placeholder { display: none; }
.ad-slot .ad-tag {
  position: absolute;
  top: 4px;
  right: 4px;
  font-family: 'Outfit', sans-serif;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: var(--bg-card);
  padding: 2px 6px;
  border: 1px solid var(--border);
  z-index: 2;
}
[data-theme="dark"] .ad-slot { background: #1A1A1A; border-color: var(--border); }
.share-block {
  margin-top: 48px;
  padding: 28px 0;
  border-top: 2px solid var(--border-hard);
  border-bottom: 2px solid var(--border-hard);
}
.share-label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.share-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: stretch;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-hard);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.share-btn:hover {
  background: var(--text);
  color: var(--bg);
  transform: translateY(-2px);
}
.share-btn.share-twitter:hover { background: #000; border-color: #000; }
.share-btn.share-facebook:hover { background: #1877F2; border-color: #1877F2; }
.share-btn.share-whatsapp:hover { background: #25D366; border-color: #25D366; }
.share-btn.share-telegram:hover { background: #229ED9; border-color: #229ED9; }
.share-btn.share-linkedin:hover { background: #0A66C2; border-color: #0A66C2; }
.share-btn.share-email:hover { background: #555; border-color: #555; }
.share-btn.share-copy:hover { background: var(--accent); border-color: var(--accent); }
.share-btn .copied {
  position: absolute;
  inset: 0;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(100%);
  transition: transform .25s;
}
.share-btn.is-copied .copied { transform: translateY(0); }

@media (max-width: 500px) {
  .share-btn { padding: 10px 14px; font-size: 11px; }
}

.related-block {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 2px solid var(--border-hard);
}
.related-block h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 24px;
  color: var(--text-mute);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .related-grid { grid-template-columns: 1fr; } }
.related-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; background: #eee; margin-bottom: 12px; }
.related-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.related-card:hover img { transform: scale(1.06); }
.related-card h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
  margin: 0 0 6px;
}
.related-card h4 a:hover { color: var(--accent); }
.related-card .meta {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ====================== FOOTER ====================== */
.footer {
  background: var(--bg-dark);
  color: #ccc;
  margin-top: 80px;
  padding: 64px 0 28px;
}
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .footer .container { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer .container { grid-template-columns: 1fr; } }
.footer h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 16px;
  color: #fff;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { padding: 6px 0; }
.footer ul a {
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: #aaa;
  transition: color .2s;
}
.footer ul a:hover { color: var(--accent); }
.footer .brand-block .brand { text-align: left; color: #fff; font-size: 42px; }
.footer .brand-block p {
  font-family: 'Source Serif 4', serif;
  color: #999;
  font-size: 15px;
  max-width: 380px;
  margin-top: 16px;
  line-height: 1.55;
}
.footer-bottom {
  border-top: 1px solid #333;
  margin-top: 56px;
  padding-top: 24px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #666;
}

/* ====================== UTILITIES ====================== */
.text-center { text-align: center; }
.py-12 { padding: 48px 0; }
.empty-state {
  padding: 60px 20px;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.skeleton {
  background: linear-gradient(90deg, #f2f2f0 0%, #e9e9e7 50%, #f2f2f0 100%);
  background-size: 200% 100%;
  animation: skeleton 1.4s ease-in-out infinite;
}
@keyframes skeleton {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Focus ring (accessibility) */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ====================== MOBİL UYUM (genel iyileştirmeler) ====================== */

/* Yatay taşmayı kesin engelle (mobilde sağa kayma sorununu önler) */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 768px) {
  /* Dokunma hedeflerini büyüt (parmakla rahat dokunma, min ~44px) */
  .header-utils .util-btn { width: 44px; height: 44px; }
  .nav-toggle { padding: 11px 16px; }
  .nav-links a { padding: 16px 24px; }

  /* Üst şerit ve marka satırını sıkıştır */
  .top-strip .container { font-size: 11px; flex-wrap: wrap; gap: 4px; }
  .brand-row .side { display: none; }            /* yan etiketler mobilde gizli */
  .brand-row .brand { font-size: 30px; }

  /* Header araç çubuğu taşmasın */
  .main-nav .container { flex-wrap: wrap; gap: 8px; }
  .header-utils { gap: 6px; }

  /* Paylaş butonları mobilde tam genişlik akışı */
  .share-buttons { gap: 8px; }
  .share-btn { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 560px) {
  /* Tipografi ölçekleme — mobilde başlıklar taşmasın */
  .hero-main h2, .article-page h1 { font-size: clamp(26px, 7vw, 38px); line-height: 1.15; }
  .section-head h2 { font-size: 22px; }

  /* Breaking news bandı mobilde daha kompakt */
  .breaking { height: auto; min-height: 44px; }

  /* Form alanları ve butonlar tam genişlik, rahat dokunma */
  input, textarea, select, button { font-size: 16px; }  /* iOS zoom engeli */
  .share-btn .label-text { display: inline; }            /* etiketleri geri getir, ortalı */
}

/* ======================================================================
   EK BİLEŞENLER (çerez onayı, back-to-top, okuma çubuğu, skeleton,
   daha-fazla, 404, yasal sayfa) — tasarım sistemiyle uyumlu.
   ====================================================================== */

/* --- Okuma ilerleme çubuğu (makale sayfası) --- */
#kg-reading-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--accent); z-index: 1200; transition: width .1s linear;
}

/* --- Back-to-top butonu --- */
#kg-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1100;
  width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); color: #fff; border: 2px solid var(--border-hard);
  cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, background .2s;
}
#kg-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#kg-to-top:hover { background: var(--accent); border-color: var(--accent); }
#kg-to-top svg { width: 22px; height: 22px; }

/* --- Çerez / KVKK onay bandı --- */
#kg-cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1300;
  max-width: 720px; margin: 0 auto;
  background: var(--bg-card); color: var(--text);
  border: 2px solid var(--border-hard); box-shadow: 8px 8px 0 rgba(17,17,17,0.12);
  padding: 18px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
}
#kg-cookie p { margin: 0; font-size: 13.5px; line-height: 1.55; flex: 1 1 280px; color: var(--text-mute); }
#kg-cookie p a { color: var(--accent); font-weight: 600; }
#kg-cookie .actions { display: flex; gap: 10px; flex-wrap: wrap; }
#kg-cookie button {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 18px; cursor: pointer;
  border: 1.5px solid var(--border-hard); background: var(--bg-card); color: var(--text);
}
#kg-cookie button.accept { background: var(--accent); border-color: var(--accent); color: #fff; }
#kg-cookie button.accept:hover { background: #B0021F; }
#kg-cookie button.reject:hover { background: var(--text); color: var(--bg-card); }
@media (max-width: 540px) { #kg-cookie { flex-direction: column; align-items: stretch; } #kg-cookie .actions button { flex: 1 1 auto; } }

/* --- Skeleton (yükleniyor) iskeletleri --- */
.kg-skel { position: relative; overflow: hidden; background: var(--bg-strip); border: 1px solid var(--border); }
.kg-skel::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
  animation: kg-shimmer 1.3s infinite;
}
[data-theme="dark"] .kg-skel::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent); }
@keyframes kg-shimmer { 100% { transform: translateX(100%); } }
.skel-row { display: grid; grid-template-columns: 200px 1fr; gap: 18px; margin-bottom: 22px; }
.skel-row .skel-img { aspect-ratio: 4/3; }
.skel-row .skel-lines > div { height: 14px; margin-bottom: 10px; }
.skel-row .skel-lines > div:first-child { height: 22px; width: 85%; }
.skel-row .skel-lines > div:nth-child(2) { width: 95%; }
.skel-row .skel-lines > div:nth-child(3) { width: 60%; }
@media (max-width: 600px) { .skel-row { grid-template-columns: 1fr; } .skel-row .skel-img { aspect-ratio: 16/9; } }

/* --- "Daha fazla yükle" butonu --- */
.kg-loadmore-wrap { text-align: center; margin: 32px 0 8px; }
.kg-loadmore {
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 36px; cursor: pointer;
  background: var(--bg-card); color: var(--text); border: 2px solid var(--border-hard);
  transition: background .2s, color .2s;
}
.kg-loadmore:hover { background: var(--text); color: var(--bg-card); }
.kg-loadmore:disabled { opacity: .55; cursor: default; }

/* --- 404 sayfası --- */
.kg-404 { text-align: center; padding: 90px 20px 110px; }
.kg-404 .code { font-family: 'Playfair Display', serif; font-weight: 900; font-size: clamp(90px, 20vw, 180px); line-height: 1; color: var(--accent); }
.kg-404 h1 { font-family: 'Playfair Display', serif; font-size: 30px; margin: 8px 0 14px; }
.kg-404 p { color: var(--text-mute); font-size: 17px; max-width: 460px; margin: 0 auto 28px; }
.kg-404 a.home-btn {
  display: inline-block; background: var(--accent); color: #fff; padding: 14px 30px;
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
}
.kg-404 a.home-btn:hover { background: #B0021F; }

/* --- Footer sosyal linkleri --- */
.footer .social { display: flex; gap: 12px; margin-top: 14px; }
.footer .social a {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.25); color: #fff; transition: background .2s, border-color .2s;
}
.footer .social a:hover { background: var(--accent); border-color: var(--accent); }
.footer .social svg { width: 17px; height: 17px; }

/* --- Yasal/statik sayfa içerik tipografisi --- */
.legal-body h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 800; margin: 36px 0 12px; }
.legal-body p, .legal-body li { font-size: 16.5px; line-height: 1.8; color: var(--text); }
.legal-body ul { padding-left: 22px; }
.legal-body li { margin-bottom: 8px; }
.legal-body .updated { font-size: 13px; color: var(--text-soft); letter-spacing: 0.04em; }
