/* =========================================================
   dasTECHNO — Teknoloji Haber Sitesi Tasarım Prototipi
   Türkiye haber sitesi düzeni: üst bar, son dakika, manşet
   slider (numaralı), sürmanşet, kategori blokları, sidebar.
   ========================================================= */

:root {
  --brand: #e30613;
  --brand-dark: #b8000c;
  --accent: #0a66ff;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-2: #f8f9fb;
  --text: #111827;
  --text-2: #4b5563;
  --muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --radius: 10px;
  --container: 1240px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Kategori renkleri */
  --c-ai: #7c3aed;
  --c-mobil: #0ea5e9;
  --c-donanim: #f97316;
  --c-yazilim: #10b981;
  --c-oyun: #ec4899;
  --c-bilim: #2563eb;
  --c-otomobil: #14b8a6;
  --c-fintech: #eab308;
  --c-gundem: #e30613;
  --c-inceleme: #334155;
  --c-guvenlik: #dc2626;
}

[data-theme="dark"] {
  --bg: #0b0f17;
  --surface: #131a26;
  --surface-2: #1a2231;
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --muted: #94a3b8;
  --border: #243044;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  transition: background .2s, color .2s;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brand); color: #fff; padding: 8px 14px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Demo uyarısı ---------- */
.demo-banner {
  background: repeating-linear-gradient(45deg, #fff7d6, #fff7d6 12px, #fff1b8 12px, #fff1b8 24px);
  color: #6b4e00; font-size: 12.5px; text-align: center; padding: 6px 12px; border-bottom: 1px solid #f0d67a;
}
[data-theme="dark"] .demo-banner { background: #2a2208; color: #f5d56b; border-color: #4a3b0b; }

/* ---------- Üst bar ---------- */
.topbar { background: #0f172a; color: #cbd5e1; font-size: 12.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }
.market { display: flex; gap: 14px; overflow: hidden; white-space: nowrap; }
.market span b { color: #fff; font-weight: 600; margin-left: 4px; }
.market .up { color: #22c55e; }
.market .down { color: #f87171; }
.lang-select { background: transparent; color: #cbd5e1; border: 1px solid #334155; border-radius: 6px; padding: 2px 6px; font-size: 12px; }
.lang-select option { color: #111; }

/* ---------- Header ---------- */
.header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header .container { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 28px; letter-spacing: -1px; color: var(--text); }
.logo:hover { color: var(--text); }
.logo-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--brand); display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(227,6,19,.35); }
.logo em { font-style: normal; color: var(--brand); }
.logo small { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: .4px; color: var(--muted); margin-top: -4px; }
.header-search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.header-search input {
  width: 100%; height: 42px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text); padding: 0 44px 0 18px; font-size: 14px;
}
.header-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--brand); color: var(--brand); }
.btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--brand); color: #fff; font-weight: 600; font-size: 14px; }
.btn:hover { background: var(--brand-dark); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface-2); color: var(--brand); }
.menu-toggle { display: none; }

/* ---------- Navigasyon ---------- */
.nav { background: var(--surface); border-bottom: 3px solid var(--brand); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a { display: block; padding: 13px 13px; font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .2px; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px; }
.nav a:hover, .nav a.active { color: var(--brand); border-bottom-color: var(--brand); }
.nav a.nav-jobs { color: var(--c-yazilim); }
.nav a .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); margin-right: 6px; vertical-align: middle; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }

/* ---------- Son dakika ---------- */
.breaking { background: var(--surface); border-bottom: 1px solid var(--border); }
.breaking .container { display: flex; align-items: center; gap: 12px; height: 44px; overflow: hidden; }
.breaking-label { flex-shrink: 0; background: var(--brand); color: #fff; font-weight: 800; font-size: 12.5px; padding: 5px 12px; border-radius: 4px; letter-spacing: .5px; text-transform: uppercase; }
.ticker { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(90deg, transparent, #000 30px, #000 calc(100% - 30px), transparent); }
.ticker-track { display: inline-flex; gap: 40px; white-space: nowrap; animation: ticker 60s linear infinite; padding-left: 20px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { font-weight: 600; font-size: 14px; }
.ticker-track time { color: var(--brand); font-weight: 800; margin-right: 8px; }
@keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }

/* ---------- Görsel (telifsiz üretilmiş kapak) ---------- */
.thumb {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/9;
  background: var(--g, linear-gradient(135deg,#334155,#0f172a)); color: #fff; isolation: isolate;
}
.thumb::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.45) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 60%, rgba(255,255,255,.3) 0 1.5px, transparent 2.5px);
  background-size: 28px 28px, 42px 42px;
}
.thumb::after {
  content: ""; position: absolute; width: 70%; aspect-ratio: 1; right: -18%; bottom: -35%; border-radius: 50%;
  background: rgba(255,255,255,.12); z-index: -1; box-shadow: 0 0 0 30px rgba(255,255,255,.05), 0 0 0 60px rgba(255,255,255,.03);
}
.thumb-icon { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); width: 34%; max-width: 150px; opacity: .9; }
.thumb-icon svg { width: 100%; height: auto; stroke: #fff; fill: none; stroke-width: 1.4; }
.thumb-credit { position: absolute; right: 8px; bottom: 6px; font-size: 10px; opacity: .7; }

.g-ai { --g: linear-gradient(135deg, #7c3aed, #2e1065); }
.g-mobil { --g: linear-gradient(135deg, #0ea5e9, #0c4a6e); }
.g-donanim { --g: linear-gradient(135deg, #f97316, #7c2d12); }
.g-yazilim { --g: linear-gradient(135deg, #10b981, #064e3b); }
.g-oyun { --g: linear-gradient(135deg, #ec4899, #500724); }
.g-bilim { --g: linear-gradient(135deg, #2563eb, #172554); }
.g-otomobil { --g: linear-gradient(135deg, #14b8a6, #134e4a); }
.g-fintech { --g: linear-gradient(135deg, #eab308, #713f12); }
.g-gundem { --g: linear-gradient(135deg, #e30613, #450a0a); }
.g-inceleme { --g: linear-gradient(135deg, #475569, #020617); }
.g-guvenlik { --g: linear-gradient(135deg, #dc2626, #1e1b4b); }

/* ---------- Kategori etiketi ---------- */
.cat { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--cc, var(--brand)); }
.cat-pill { display: inline-block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; background: var(--cc, var(--brand)); color: #fff; padding: 3px 8px; border-radius: 4px; }
.cc-ai { --cc: var(--c-ai); } .cc-mobil { --cc: var(--c-mobil); } .cc-donanim { --cc: var(--c-donanim); }
.cc-yazilim { --cc: var(--c-yazilim); } .cc-oyun { --cc: var(--c-oyun); } .cc-bilim { --cc: var(--c-bilim); }
.cc-otomobil { --cc: var(--c-otomobil); } .cc-fintech { --cc: var(--c-fintech); } .cc-gundem { --cc: var(--c-gundem); }
.cc-inceleme { --cc: var(--c-inceleme); } .cc-guvenlik { --cc: var(--c-guvenlik); }
.meta { font-size: 12.5px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.badge-ai { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--c-ai); background: rgba(124,58,237,.1); padding: 2px 7px; border-radius: 999px; }

/* ---------- Manşet ---------- */
.section { margin: 20px 0; }
.headline-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; }
.slider { position: relative; display: flex; flex-direction: column; background: #0f172a; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.slides { position: relative; aspect-ratio: 16/9; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .5s ease; }
.slide.active { opacity: 1; visibility: visible; }
.slide .thumb { border-radius: 0; height: 100%; aspect-ratio: auto; }
.slide .thumb-icon { top: 38%; }
.slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 22px; background: linear-gradient(transparent, rgba(0,0,0,.88)); color: #fff; }
.slide-caption h2 { font-size: clamp(20px, 2.6vw, 32px); font-weight: 800; margin: 8px 0 6px; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.slide-caption p { margin: 0; opacity: .88; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.slide a:hover { color: #fff; }
.slider-pager { display: flex; background: #0f172a; }
.slider-pager button {
  flex: 1; height: 36px; border: 0; background: transparent; color: #94a3b8; font-weight: 700; font-size: 13px;
  border-right: 1px solid #1e293b; position: relative;
}
.slider-pager button:last-child { border-right: 0; }
.slider-pager button:hover { color: #fff; background: #1e293b; }
.slider-pager button.active { background: var(--brand); color: #fff; }
.slider-arrow { position: absolute; top: calc(50% - 38px); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; z-index: 3; display: grid; place-items: center; opacity: 0; transition: opacity .2s; }
.slider:hover .slider-arrow { opacity: 1; }
.slider-arrow.prev { left: 12px; } .slider-arrow.next { right: 12px; }

.side-headlines { display: grid; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 12px; height: 0; min-height: 100%; } /* satır yüksekliğini slider belirler, yan kartlar ona sığar */
.side-card { display: grid; grid-template-columns: 42% 1fr; gap: 12px; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.side-card .thumb { border-radius: 0; aspect-ratio: auto; height: 100%; min-height: 92px; }
.side-card .thumb-icon { width: 46%; right: 26%; }
.side-card-body { padding: 10px 12px 10px 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.side-card h3 { font-size: 14.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Trend etiketleri ---------- */
.trends { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding: 4px 0; scrollbar-width: none; }
.trends::-webkit-scrollbar { display: none; }
.trends strong { font-size: 13px; flex-shrink: 0; display: flex; align-items: center; gap: 6px; }
.trends a { flex-shrink: 0; background: var(--surface); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.trends a:hover { border-color: var(--brand); }
.trends a span { color: var(--brand); }

/* ---------- Ana düzen ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.block { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin-bottom: 24px; }
.block-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid var(--border); margin: -2px 0 16px; }
.block-head h2 { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .3px; padding-bottom: 10px; margin-bottom: -2px; border-bottom: 2px solid var(--cc, var(--brand)); display: flex; align-items: center; gap: 8px; }
.block-head a { font-size: 13px; font-weight: 600; color: var(--muted); }
.block-head a:hover { color: var(--brand); }
.tabs { display: flex; gap: 4px; }
.tabs button { border: 0; background: transparent; color: var(--muted); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 6px; }
.tabs button.active, .tabs button:hover { background: var(--surface-2); color: var(--brand); }

/* Kart ızgarası */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; gap: 8px; }
.card h3 { font-size: 15.5px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card:hover h3 { color: var(--brand); }
.card .thumb-icon { width: 30%; }

/* Liste (son haberler) */
.news-list { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: 0; }
.news-item h3 { font-size: 17px; font-weight: 800; margin: 4px 0 6px; }
.news-item p { margin: 0 0 8px; color: var(--text-2); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item:hover h3 { color: var(--brand); }
.load-more { display: block; width: 100%; margin-top: 14px; }

/* Kategori bloğu: 1 büyük + liste */
.cat-block { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; }
.cat-block .big h3 { font-size: 20px; font-weight: 800; }
.cat-block .big p { color: var(--text-2); margin: 0; font-size: 14px; }
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; align-items: center; }
.mini .thumb { border-radius: 8px; }
.mini .thumb-icon { width: 40%; right: 30%; }
.mini h4 { font-size: 14px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mini:hover h4 { color: var(--brand); }

/* İnceleme kartları */
.review-score { position: absolute; left: 10px; top: 10px; width: 48px; height: 48px; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-weight: 900; font-size: 17px; box-shadow: 0 2px 10px rgba(0,0,0,.25); border: 3px solid var(--c-yazilim); }

/* Yapay zeka koyu bant */
.ai-band { background: linear-gradient(135deg, #1e1045, #0b0f17 70%); color: #fff; border-radius: var(--radius); padding: 22px; margin-bottom: 24px; position: relative; overflow: hidden; }
.ai-band::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(rgba(124,58,237,.55), transparent 65%); }
.ai-band .block-head { border-color: rgba(255,255,255,.12); position: relative; z-index: 1; }
.ai-band .block-head h2 { border-color: #a78bfa; }
.ai-band .block-head a { color: #c4b5fd; }
.ai-band .grid-3 { position: relative; z-index: 1; }
.ai-band .card h3 { color: #fff; }
.ai-band .card:hover h3 { color: #c4b5fd; }
.ai-band .meta { color: #a5b4fc; }

/* ---------- Sidebar ---------- */
.sidebar { position: sticky; top: 64px; }
.most-read { list-style: none; margin: 0; padding: 0; counter-reset: mr; }
.most-read li { counter-increment: mr; display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--border); align-items: start; }
.most-read li:last-child { border-bottom: 0; padding-bottom: 0; }
.most-read li::before { content: counter(mr); font-size: 30px; font-weight: 900; line-height: 1; color: var(--brand); opacity: .9; font-style: italic; }
.most-read a { font-weight: 700; font-size: 14px; }

.job-mini { display: block; padding: 11px 0; border-bottom: 1px solid var(--border); }
.job-mini:last-of-type { border-bottom: 0; }
.job-mini strong { display: block; font-size: 14px; }
.job-mini span { font-size: 12.5px; color: var(--muted); }
.job-tag { display: inline-block; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: rgba(16,185,129,.12); color: #059669; margin-left: 4px; }

.newsletter { background: linear-gradient(135deg, var(--brand), #7f1d1d); color: #fff; }
.newsletter h2 { font-size: 18px; margin-bottom: 6px; }
.newsletter p { margin: 0 0 12px; font-size: 13.5px; opacity: .92; }
.newsletter form { display: flex; flex-direction: column; gap: 8px; }
.newsletter input[type=email] { height: 42px; border-radius: 8px; border: 0; padding: 0 12px; font-size: 14px; }
.newsletter button { height: 42px; border-radius: 8px; border: 0; background: #0f172a; color: #fff; font-weight: 700; }
.newsletter label { font-size: 11.5px; opacity: .85; display: flex; gap: 6px; align-items: flex-start; }
.newsletter .ok { font-weight: 700; }

.follow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.follow a { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 8px; background: var(--surface-2); font-weight: 700; font-size: 13px; border: 1px solid var(--border); }
.follow a:hover { border-color: var(--brand); }

.ad-slot { border: 1px dashed var(--border); border-radius: var(--radius); display: grid; place-items: center; color: var(--muted); font-size: 12px; background: var(--surface-2); margin-bottom: 24px; }
.ad-slot.h-90 { min-height: 90px; } .ad-slot.h-250 { min-height: 250px; }

/* ---------- Footer ---------- */
.footer { background: #0b1120; color: #94a3b8; margin-top: 40px; padding: 44px 0 0; font-size: 14px; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer .logo { color: #fff; }
.footer p { font-size: 13px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid #1e293b; margin-top: 34px; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Çerez (KVKK) ---------- */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 720px; margin: 0 auto; background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: 0 10px 40px rgba(0,0,0,.2); border-radius: 12px; padding: 16px; display: none; gap: 14px; align-items: center; z-index: 100; font-size: 13.5px; }
.cookie.show { display: flex; }
.cookie p { margin: 0; flex: 1; }
.cookie .btns { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- Arama overlay ---------- */
.search-results { position: absolute; top: 48px; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.15); z-index: 60; max-height: 420px; overflow: auto; display: none; }
.search-results.show { display: block; }
.search-results a { display: block; padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; }
.search-results a small { display: block; font-weight: 500; color: var(--muted); }
.search-results .empty { padding: 14px; color: var(--muted); font-size: 14px; }

.to-top { position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; font-size: 20px; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 90; box-shadow: 0 6px 18px rgba(227,6,19,.4); }
.to-top.show { opacity: 1; pointer-events: auto; }

/* =========================================================
   HABER DETAY SAYFASI
   ========================================================= */
.breadcrumb { font-size: 13px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; margin: 18px 0 10px; }
.breadcrumb a:hover { color: var(--brand); }
.article { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 32px; }
.article h1 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; letter-spacing: -.5px; margin: 10px 0 12px; }
.article .spot { font-size: 18px; color: var(--text-2); font-weight: 500; margin: 0 0 16px; line-height: 1.55; }
.article-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.author { display: flex; align-items: center; gap: 10px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), #7c3aed); color: #fff; display: grid; place-items: center; font-weight: 800; }
.author strong { display: block; font-size: 14px; }
.author span { font-size: 12.5px; color: var(--muted); }
.share { display: flex; gap: 6px; }
.share a, .share button { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 12px; font-weight: 800; }
.share a:hover, .share button:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.article figure { margin: 0 0 22px; }
.article figure .thumb { aspect-ratio: 16/8; }
.article figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.summary-box { background: var(--surface-2); border-left: 4px solid var(--brand); border-radius: 8px; padding: 14px 18px; margin: 0 0 22px; }
.summary-box h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 8px; }
.summary-box ul { margin: 0; padding-left: 18px; }
.summary-box li { margin: 4px 0; }
.article-body { font-size: 17.5px; line-height: 1.75; }
.article-body h2 { font-size: 23px; margin: 28px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body blockquote { margin: 22px 0; padding: 12px 20px; border-left: 4px solid var(--c-ai); background: rgba(124,58,237,.06); font-style: italic; border-radius: 0 8px 8px 0; }
.article-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 20px; }
.article-body th, .article-body td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.article-body th { background: var(--surface-2); }
.sources { border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; margin: 26px 0; background: var(--surface-2); }
.sources h2 { font-size: 15px; margin-bottom: 8px; display: flex; gap: 8px; align-items: center; }
.sources ol { margin: 0; padding-left: 20px; font-size: 14px; }
.sources a { color: var(--accent); text-decoration: underline; }
.transparency { font-size: 13px; color: var(--text-2); background: rgba(124,58,237,.06); border: 1px solid rgba(124,58,237,.2); border-radius: 10px; padding: 12px 16px; margin: 0 0 22px; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 0; }
.tags a { background: var(--surface-2); border: 1px solid var(--border); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.lang-alt { display: flex; gap: 8px; flex-wrap: wrap; font-size: 13px; margin-top: 16px; color: var(--muted); align-items: center; }
.lang-alt a { border: 1px solid var(--border); padding: 3px 10px; border-radius: 6px; font-weight: 600; color: var(--text); }
.reading-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--brand); width: 0; z-index: 200; }

/* =========================================================
   İŞ İLANLARI
   ========================================================= */
.jobs-hero { background: linear-gradient(135deg, #064e3b, #0f172a); color: #fff; border-radius: var(--radius); padding: 30px; margin: 20px 0; }
.jobs-hero h1 { font-size: 30px; font-weight: 900; margin-bottom: 6px; }
.jobs-hero p { margin: 0 0 18px; opacity: .85; }
.job-filters { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 10px; }
.job-filters input, .job-filters select { height: 44px; border-radius: 8px; border: 0; padding: 0 12px; font-size: 14px; background: #fff; color: #111; }
.job-card { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.job-card:last-child { border-bottom: 0; }
.job-logo { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 20px; }
.job-card h3 { font-size: 16.5px; font-weight: 800; }
.job-card .meta { margin-top: 4px; }
.job-card .chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chip { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); font-weight: 600; }
.job-right { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.job-right small { color: var(--muted); font-size: 12px; }
.jobs-count { color: var(--muted); font-size: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .headline-grid { grid-template-columns: minmax(0, 1fr); }
  .side-headlines { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; height: auto; min-height: 0; }
  .side-card { grid-template-columns: minmax(0, 1fr); }
  .side-card .thumb { aspect-ratio: 16/9; height: auto; }
  .side-card-body { padding: 0 12px 12px; }
  .header-search { display: none; }
  .menu-toggle { display: grid; }
  .header .container { position: relative; }
  .header-search.open { display: block; position: absolute; left: 16px; right: 16px; top: 80px; max-width: none; z-index: 70; }
  .market { display: none; }
  .job-filters { grid-template-columns: 1fr 1fr; }
  .job-filters input { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 14.5px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-block { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: 130px minmax(0, 1fr); gap: 12px; }
  .news-item h3 { font-size: 15px; }
  .news-item p { display: none; }
  .sidebar { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .header .container { min-height: 64px; gap: 10px; }
  .logo { font-size: 23px; } .logo small { display: none; }
  .header-actions .btn { display: none; }
  .header-search.open { top: 68px; }
  .slider-pager button:nth-child(n+7) { display: none; }
  .article { padding: 20px 16px; }
  .article-body { font-size: 16.5px; }
  .job-card { grid-template-columns: 48px minmax(0, 1fr); }
  .job-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .cookie { flex-direction: column; align-items: stretch; }
  .topbar-left .hide-sm { display: none; }
}
@media (max-width: 460px) {
  .grid-3, .grid-2, .side-headlines { grid-template-columns: minmax(0, 1fr); }
  .news-item { grid-template-columns: 110px minmax(0, 1fr); }
  .side-headlines { gap: 10px; }
  .side-card { grid-template-columns: 120px minmax(0, 1fr); }
  .side-card .thumb { aspect-ratio: auto; height: 100%; min-height: 84px; }
  .side-card-body { padding: 10px 12px 10px 0; }
  .block-head h2 { font-size: 16px; }
  #latestTabs button:nth-child(n+3) { display: none; }
}
@media (max-width: 720px) {
  .slide .thumb-icon { top: 10%; transform: none; width: 24%; opacity: .55; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   ÜRETİCİ (build.mjs) EKLERİ
   ========================================================= */
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.thumb:has(img)::before, .thumb:has(img)::after { display: none; }
.headline-grid.single { grid-template-columns: minmax(0, 1fr); }
.block-head .h2 { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .3px; padding-bottom: 10px; margin: 0 0 -2px; border-bottom: 2px solid var(--cc, var(--brand)); }
a.cat, a.cat-pill { text-decoration: none; }
a.cat:hover { color: var(--cc, var(--brand)); text-decoration: underline; }
a.cat-pill:hover { color: #fff; filter: brightness(1.1); }
.topbar .langs { display: flex; gap: 6px; }
.topbar .langs a { border: 1px solid #334155; border-radius: 6px; padding: 1px 7px; font-weight: 700; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; font-weight: 700; font-size: 14px; }
.pagination a { border: 1px solid var(--border); padding: 8px 14px; border-radius: 999px; }
.pagination span { color: var(--muted); }
.toc { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; }
.toc h2 { font-size: 15px; text-transform: uppercase; letter-spacing: .4px; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 3px 0; }
.toc a:hover { text-decoration: underline; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 24px 0; }
.pros-cons > div { border-radius: 10px; padding: 14px 18px; border: 1px solid var(--border); }
.pros-cons .pros { background: rgba(16,185,129,.08); border-color: rgba(16,185,129,.35); }
.pros-cons .cons { background: rgba(220,38,38,.06); border-color: rgba(220,38,38,.3); }
.pros-cons h3 { font-size: 15px; margin-bottom: 6px; }
.pros-cons ul { margin: 0; padding-left: 18px; }
.affiliate-note { font-size: 13px; color: var(--text-2); background: rgba(234,179,8,.1); border: 1px solid rgba(234,179,8,.35); border-radius: 8px; padding: 10px 14px; }
.welcome { text-align: center; padding: 50px 20px; }
.welcome h1, .welcome h2 { font-size: 28px; margin-bottom: 10px; }
.search-page h1 { margin-bottom: 14px; }
.search-big { display: flex; gap: 8px; margin-bottom: 18px; }
.search-big input { flex: 1; height: 46px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); padding: 0 18px; font-size: 15px; }
.search-big .btn { height: 46px; }
.table-wrap { overflow-x: auto; margin: 0 0 20px; }
.table-wrap table { margin: 0; }
.article-body img { border-radius: 10px; height: auto; }
.article-body figure { margin: 0 0 20px; }
.article-body figcaption { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.article-body a { color: var(--accent); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 18px; }
.article-body li { margin: 6px 0; }
.article-body h3 { font-size: 19px; margin: 22px 0 8px; }
.article-body pre { background: #0f172a; color: #e2e8f0; padding: 14px; border-radius: 8px; overflow-x: auto; font-size: 14px; }
.article-body code { font-size: .9em; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; }
.article-body pre code { background: none; padding: 0; }
.article .cover .thumb { aspect-ratio: 16/9; }
.cat-block .big p { color: var(--text-2); margin: 0; font-size: 14px; }
.cookie .btn { flex-shrink: 0; }
.header-actions .menu-toggle { text-decoration: none; }
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }

/* X (Twitter) gömmeleri — betik yüklenmeden de okunur kart */
.x-embed { margin: 24px 0; max-width: 560px; }
.x-embed blockquote.twitter-tweet { margin: 0; padding: 16px 18px; border: 1px solid var(--border); border-left: 4px solid #0f1419; border-radius: 12px; background: var(--surface-2); font-style: normal; font-size: 15.5px; line-height: 1.55; }
[data-theme="dark"] .x-embed blockquote.twitter-tweet { border-left-color: #e7e9ea; }
.x-embed blockquote.twitter-tweet p { margin: 0 0 8px; }
.x-embed blockquote.twitter-tweet a { color: var(--accent); }
.x-load { margin-top: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.x-load small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.x-load:hover { border-color: var(--text); }

/* Metin içi "Bunları da okuyun" kutusu */
.read-also { border: 1px solid var(--border); border-left: 4px solid var(--brand); border-radius: 10px; padding: 12px 16px; margin: 26px 0; background: var(--surface-2); }
.read-also strong { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; color: var(--brand); margin-bottom: 6px; }
.read-also ul { margin: 0; padding-left: 18px; }
.read-also li { margin: 4px 0; font-size: 16px; font-weight: 600; }
.read-also a { text-decoration: none !important; color: var(--text) !important; }
.read-also a:hover { color: var(--brand) !important; }
.article-body figure img { border: 1px solid var(--border); }
