/* =========================================================
   Kayısı teması — Şehir Portalı
   Renk ve yazı tipleri yönetim panelinden :root değişkenleriyle ezilir.
   ========================================================= */

:root {
  --primary: #f39223;
  --ink: #0f1d2f;
  --accent: #47a447;
  --breaking: #e11d48;
  --bg: #f5f7fb;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --article-size: 18px;
  --radius: 14px;
  --container: 1280px;

  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: var(--ink);
  --muted: #64748b;
  --line: #e3e8ef;
  --shadow: 0 1px 2px rgba(15, 29, 47, .04), 0 8px 24px -12px rgba(15, 29, 47, .14);
  --shadow-lg: 0 20px 40px -20px rgba(15, 29, 47, .35);
  --primary-soft: color-mix(in srgb, var(--primary) 12%, transparent);
  --footer-bg: var(--ink);
  --overlay: linear-gradient(180deg, rgba(8, 14, 24, 0) 30%, rgba(8, 14, 24, .55) 60%, rgba(8, 14, 24, .92) 100%);
}

[data-mode="dark"] {
  --bg: #0b121c;
  --surface: #121c29;
  --surface-2: #1a2636;
  --text: #e6ebf2;
  --muted: #8d9bb0;
  --line: #233246;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --footer-bg: #070c13;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.25; letter-spacing: -.01em; }
.material-icons-round { font-size: 1.15em; line-height: 1; vertical-align: middle; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; padding-top: 24px; padding-bottom: 48px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--primary); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ---------- Düğmeler ---------- */
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; border-radius: 10px; font-weight: 700; font-size: .9rem; transition: .2s; white-space: nowrap; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(.94); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); transition: .2s; flex-shrink: 0; }
.icon-btn:hover { border-color: var(--primary); color: var(--primary); }
.icon-btn.sm { width: 32px; height: 32px; font-size: .78rem; font-weight: 800; }
.link-btn { color: var(--primary); font-weight: 700; font-size: .82rem; }

/* ---------- Üst şerit ---------- */
.topbar { background: var(--ink); color: #c5cfdc; font-size: .78rem; font-weight: 600; }
[data-mode="dark"] .topbar { background: #070c13; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; height: 36px; gap: 16px; }
.topbar-date { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.topbar-date .material-icons-round { font-size: 15px; color: var(--primary); }
.topbar-date .sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .2); margin: 0 6px; }
.topbar-links { display: flex; gap: 14px; align-items: center; overflow: hidden; }
.topbar-links a:hover { color: #fff; }
.social-mini { font-weight: 800; opacity: .8; }

/* ---------- Üst alan ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); z-index: 900; }
.site-header.is-sticky { position: sticky; top: 0; }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-main { display: flex; align-items: center; gap: 20px; height: 84px; transition: height .25s; }
.site-header.scrolled .header-main { height: 68px; }
.logo { display: flex; align-items: center; height: 56px; flex-shrink: 0; }
.logo img { height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.logo .logo-dark { display: none; }
[data-mode="dark"] .logo .logo-light { display: none; }
[data-mode="dark"] .logo .logo-dark { display: block; }
.logo-text { font-family: var(--font-heading); font-weight: 800; font-size: 1.6rem; color: var(--text); }
.header-search { flex: 1; max-width: 460px; margin-left: auto; position: relative; }
.header-search input { width: 100%; height: 44px; padding: 0 16px 0 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); outline: none; transition: .2s; }
.header-search input:focus { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 4px var(--primary-soft); }
.header-search .material-icons-round { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle, .search-toggle { display: none; }
.mode-light { display: none; }
[data-mode="dark"] .mode-light { display: inline; }
[data-mode="dark"] .mode-dark { display: none; }

.is-centered .header-main { justify-content: center; }
.is-centered .logo { position: absolute; left: 50%; transform: translateX(-50%); }
.is-centered .header-search { margin-left: 0; max-width: 300px; }
.is-centered .header-actions { margin-left: auto; }
.is-centered .main-nav-in { justify-content: center; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav-in { display: flex; }
.drawer-head { display: none; }
.nav-list { list-style: none; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.nav-list::-webkit-scrollbar { display: none; }
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 6px; padding: 13px 14px; font-weight: 700; font-size: .9rem; white-space: nowrap; position: relative; transition: color .2s; }
.nav-item > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .2s; }
.nav-item:hover > a, .nav-item.active > a { color: var(--primary); }
.nav-item.active > a::after, .nav-item:hover > a::after { transform: scaleX(1); }
.nav-item .material-icons-round { font-size: 18px; }
.nav-item .caret { font-size: 18px; color: var(--muted); }
.sub-menu { list-style: none; position: absolute; top: 100%; left: 0; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; z-index: 50; }
.sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: .88rem; font-weight: 600; }
.sub-menu a:hover { background: var(--primary-soft); color: var(--primary); }
@media (min-width: 993px) {
  .nav-list { overflow: visible; }
  .nav-item.has-sub:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
}
.drawer-overlay { display: none; }

/* ---------- Son dakika ---------- */
.breaking { background: var(--surface); border-bottom: 1px solid var(--line); }
.breaking-in { display: flex; align-items: center; gap: 14px; height: 46px; }
.breaking-label { display: inline-flex; align-items: center; gap: 8px; background: var(--breaking); color: #fff; font-weight: 800; font-size: .75rem; letter-spacing: .04em; padding: 6px 12px; border-radius: 8px; white-space: nowrap; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); } 70% { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.breaking-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.breaking-items { display: inline-flex; gap: 40px; white-space: nowrap; animation: ticker var(--ticker-duration, 40s) linear infinite; padding-left: 100%; }
.breaking-track:hover .breaking-items { animation-play-state: paused; }
.breaking-items a { font-weight: 700; font-size: .9rem; }
.breaking-items a:hover { color: var(--breaking); }
.breaking-items time { color: var(--breaking); margin-right: 8px; font-weight: 800; }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .breaking-items { animation: none; padding-left: 0; } .breaking-track { overflow-x: auto; } }

.header-ad { padding-top: 16px; }

/* ---------- Ortak ---------- */
.block { margin: 32px 0; }
.block-manset { margin-top: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.with-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 336px; gap: 32px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.sticky-side { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 24px; }
.list-stack { display: flex; flex-direction: column; gap: 14px; }

.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; --sec: var(--primary); }
.section-head h2 { font-size: 1.35rem; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-head h2::before { content: ""; width: 6px; height: 24px; border-radius: 4px; background: var(--sec); }
.section-head .more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .85rem; color: var(--muted); transition: .2s; }
.section-head .more:hover { color: var(--sec); gap: 8px; }
.section-head .more .material-icons-round { font-size: 18px; }

.chip { --chip: var(--primary); display: inline-flex; align-items: center; font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--chip); background: color-mix(in srgb, var(--chip) 12%, transparent); padding: 4px 9px; border-radius: 6px; line-height: 1.2; }
.meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.district { display: inline-flex; align-items: center; gap: 2px; color: var(--muted); font-weight: 700; }
.district .material-icons-round { font-size: 15px; color: var(--accent); }

/* ---------- Kartlar ---------- */
.news-card, .news-row, .widget, .author-card, .author-tile, .district-tile, .comment-form, .author-box, .popular-card {
  background: var(--surface); border-radius: var(--radius);
}
.cards-shadow .news-card, .cards-shadow .news-row, .cards-shadow .widget, .cards-shadow .author-card, .cards-shadow .author-tile,
.cards-shadow .district-tile, .cards-shadow .comment-form, .cards-shadow .author-box, .cards-shadow .popular-card { box-shadow: var(--shadow); }
.cards-border .news-card, .cards-border .news-row, .cards-border .widget, .cards-border .author-card, .cards-border .author-tile,
.cards-border .district-tile, .cards-border .comment-form, .cards-border .author-box, .cards-border .popular-card { border: 1px solid var(--line); }
.cards-flat .news-card, .cards-flat .news-row, .cards-flat .author-card, .cards-flat .popular-card { background: transparent; }

.thumb { display: block; position: relative; overflow: hidden; background: var(--surface-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .3, 1); }
.news-card:hover .thumb img, .news-row:hover .thumb img, .news-overlay:hover img, .popular-card:hover img { transform: scale(1.05); }
.type-badge { position: absolute; left: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(0, 0, 0, .55); backdrop-filter: blur(4px); color: #fff; display: flex; align-items: center; justify-content: center; }
.type-badge.lg { width: 48px; height: 48px; left: 50%; top: 40%; bottom: auto; transform: translate(-50%, -50%); background: var(--primary); }
.type-badge.lg .material-icons-round { font-size: 28px; }

.news-card { overflow: hidden; display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 16 / 10; }
.news-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card h3 { font-size: 1rem; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-card h3 a:hover, .news-row h3 a:hover, .news-mini h4 a:hover { color: var(--primary); }
.news-card time { font-size: .76rem; color: var(--muted); font-weight: 600; margin-top: auto; }
.cards-flat .news-card .body { padding: 12px 0 0; }
.cards-flat .news-card .thumb { border-radius: var(--radius); }

.news-row { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px; overflow: hidden; }
.news-row .thumb { aspect-ratio: 16 / 10; border-radius: calc(var(--radius) - 4px); }
.news-row .body { display: flex; flex-direction: column; gap: 6px; justify-content: center; min-width: 0; }
.news-row h3 { font-size: 1.08rem; font-weight: 700; }
.news-row p { color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.district-news .news-row { grid-template-columns: 110px 1fr; padding: 10px; }
.district-news .news-row h3 { font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cat-split .news-row { grid-template-columns: 130px 1fr; padding: 10px; }
.cat-split .news-row h3 { font-size: .95rem; }

.news-mini { display: grid; grid-template-columns: 84px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.news-mini:first-of-type { border-top: 0; padding-top: 0; }
.news-mini .thumb { aspect-ratio: 4 / 3; border-radius: 8px; }
.news-mini h4 { font-size: .88rem; font-weight: 700; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-mini time { font-size: .72rem; color: var(--muted); }

.news-overlay { position: relative; border-radius: var(--radius); overflow: hidden; background: #111; aspect-ratio: 16 / 10; }
.news-overlay a { display: block; height: 100%; }
.news-overlay img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-overlay::after { content: ""; position: absolute; inset: 0; background: var(--overlay); pointer-events: none; }
.overlay-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; z-index: 1; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.overlay-body h3 { color: #fff; font-size: 1.1rem; font-weight: 800; text-shadow: 0 1px 8px rgba(0, 0, 0, .3); }
.overlay-body .chip { background: var(--chip); color: #fff; }

/* ---------- Manşet ---------- */
.manset-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; }
.manset-grid.no-side { grid-template-columns: 1fr; }
.manset-side { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.manset-side .news-overlay { aspect-ratio: auto; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9.5; background: #0b121c; box-shadow: var(--shadow-lg); }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.03); transition: transform 6s ease-out; }
.slide.active img { transform: scale(1); }
.slide::after { content: ""; position: absolute; inset: 0; background: var(--overlay); }
.slide-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 32px 64px; z-index: 1; color: #fff; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.slide-body .chip { background: var(--chip); color: #fff; }
.slide-body h2 { font-size: clamp(1.35rem, 2.6vw, 2.2rem); font-weight: 800; max-width: 90%; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.slide-body p { color: rgba(255, 255, 255, .85); max-width: 80%; font-size: .98rem; }
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .15); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .2s; }
.slider:hover .slider-nav { opacity: 1; }
.slider-nav:hover { background: var(--primary); }
.slider-nav.prev { left: 16px; } .slider-nav.next { right: 16px; }
.slider-dots { position: absolute; left: 32px; right: 32px; bottom: 18px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; }
.slider-dots button { min-width: 30px; height: 30px; padding: 0 6px; border-radius: 8px; background: rgba(255, 255, 255, .16); color: rgba(255, 255, 255, .85); font-weight: 800; font-size: .8rem; backdrop-filter: blur(4px); transition: .2s; }
.slider-dots button.active, .slider-dots button:hover { background: var(--primary); color: #fff; }

/* ---------- Bileşenler ---------- */
.widget { padding: 18px; }
.widget-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
.widget-title .material-icons-round { color: var(--primary); }
.popular-list { list-style: none; display: flex; flex-direction: column; }
.popular-list li { display: flex; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.popular-list li:first-child { border-top: 0; padding-top: 0; }
.popular-list .rank { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; color: var(--primary); line-height: 1; min-width: 26px; opacity: .9; }
.popular-list a { font-weight: 700; font-size: .9rem; line-height: 1.4; display: block; }
.popular-list a:hover { color: var(--primary); }
.popular-list small { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .72rem; margin-top: 4px; }
.link-list { list-style: none; }
.link-list li { padding: 10px 0; border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; padding-top: 0; }
.link-list a { font-weight: 700; font-size: .9rem; display: block; }
.link-list a:hover { color: var(--primary); }
.link-list small { color: var(--muted); font-size: .74rem; }

.popular-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.popular-card { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 14px; padding: 12px; align-items: center; overflow: hidden; }
.popular-card img { width: 96px; height: 72px; object-fit: cover; border-radius: 8px; }
.popular-card h3 { font-size: .92rem; font-weight: 700; }
.popular-card .rank { position: absolute; left: 4px; top: 4px; z-index: 1; width: 26px; height: 26px; border-radius: 8px; background: var(--primary); color: #fff; font-weight: 800; font-size: .8rem; display: flex; align-items: center; justify-content: center; }

.authors-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.author-card { display: flex; align-items: center; gap: 14px; padding: 16px; scroll-snap-align: start; transition: transform .2s; }
.author-card:hover { transform: translateY(-2px); }
.author-card strong { display: block; font-size: .95rem; }
.author-card span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .85rem; color: var(--muted); font-weight: 600; }
.author-card:hover span { color: var(--primary); }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--ink))); color: #fff; font-weight: 800; }

.district-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.district-pills a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: .84rem; transition: .2s; }
.district-pills a:hover { border-color: var(--accent); color: var(--accent); }

.cat-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; }
.cat-split .news-overlay { aspect-ratio: auto; min-height: 340px; }

.ad-slot { position: relative; text-align: center; padding: 18px 0 8px; display: flex; justify-content: center; }
.ad-slot img { border-radius: 8px; margin: 0 auto; }
.ad-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font-size: .62rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Haber sayfası ---------- */
.read-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--primary); z-index: 1000; transition: width .1s; }
.article-wrap { padding-top: 24px; padding-bottom: 48px; }
.article { min-width: 0; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--primary); }
.article-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.article-head h1 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; letter-spacing: -.02em; }
.spot { font-size: 1.18rem; color: var(--muted); font-weight: 500; line-height: 1.55; }
.article-meta { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline .author-name { display: block; color: var(--text); font-weight: 800; }
.byline .author-name:hover { color: var(--primary); }
.article-tools { display: flex; align-items: center; gap: 10px; }
.tool-info { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; }
.article-image { margin: 0 0 20px; }
.article-image img { width: 100%; border-radius: var(--radius); }
.article-image figcaption { font-size: .8rem; color: var(--muted); padding-top: 8px; }
.video-embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.share-label { font-weight: 800; font-size: .8rem; color: var(--muted); margin-right: 4px; }
.share a, .share button { padding: 8px 14px; border-radius: 10px; color: #fff; font-weight: 700; font-size: .8rem; transition: .2s; display: inline-flex; align-items: center; }
.share a:hover, .share button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.s-wa { background: #25d366; } .s-x { background: #111; } .s-fb { background: #1877f2; } .s-tg { background: #229ed9; }
.s-copy { background: var(--surface-2); color: var(--text) !important; }
[data-mode="dark"] .s-x { background: #2a2a2a; }

.article-body { font-size: var(--article-size); line-height: 1.8; overflow-wrap: break-word; }
.article-body > * + * { margin-top: 1.1em; }
.article-body h2 { font-size: 1.45em; margin-top: 1.6em; }
.article-body h3 { font-size: 1.2em; margin-top: 1.4em; }
.article-body a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: 10px; height: auto; }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body blockquote { border-left: 4px solid var(--primary); background: var(--primary-soft); padding: 16px 20px; border-radius: 0 12px 12px 0; font-style: italic; font-weight: 500; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .9em; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body figure figcaption { font-size: .8rem; color: var(--muted); }

.gallery { display: flex; flex-direction: column; gap: 24px; margin-top: 28px; }
.gallery figure { position: relative; }
.gallery img { width: 100%; border-radius: var(--radius); }
.gallery-no { position: absolute; top: 12px; left: 12px; background: rgba(0, 0, 0, .6); color: #fff; padding: 4px 10px; border-radius: 8px; font-weight: 800; font-size: .8rem; }
.gallery figcaption { padding-top: 8px; font-size: .95rem; }

.source { margin-top: 24px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.source a { color: var(--primary); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tags a { background: var(--surface-2); padding: 6px 12px; border-radius: 8px; font-size: .82rem; font-weight: 700; color: var(--muted); }
.tags a:hover { background: var(--primary-soft); color: var(--primary); }
.author-box { display: flex; gap: 18px; padding: 20px; margin-top: 32px; align-items: flex-start; }
.author-box span { display: block; color: var(--muted); font-size: .82rem; font-weight: 600; }
.author-box p { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.related { margin-top: 40px; }

.column-author { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.column-author strong { display: block; font-size: 1.15rem; }
.column-author span { color: var(--primary); font-weight: 700; font-size: .85rem; }

/* ---------- Yorumlar ---------- */
.comments { margin-top: 40px; }
.comment-form { padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); outline: none; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--primary); background: var(--surface); }
.comment-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.comment-foot small { color: var(--muted); font-size: .75rem; }
.replying { font-size: .85rem; color: var(--muted); }
.comment-list { margin-top: 20px; display: flex; flex-direction: column; gap: 4px; }
.comment { padding: 14px 0; border-top: 1px solid var(--line); }
.comment.reply { margin-left: 24px; border-top: 0; border-left: 2px solid var(--line); padding: 10px 0 0 16px; }
.comment-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.comment-head time { color: var(--muted); font-size: .76rem; }
.comment p { font-size: .95rem; margin-bottom: 4px; }

/* ---------- Liste sayfaları ---------- */
.page-hero { --sec: var(--primary); background: var(--surface); border-bottom: 1px solid var(--line); padding: 28px 0 24px; margin-bottom: 28px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--sec); }
.page-hero h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; }
.page-hero p { color: var(--muted); margin-top: 6px; }
.page-hero .breadcrumb { margin-bottom: 8px; }
.page-hero .district-pills { margin: 14px 0 0; }
.listing { padding-bottom: 48px; }
.listing-lead { margin-bottom: 18px; }
.listing-lead .news-overlay { aspect-ratio: 16 / 8; }
.listing-lead .overlay-body h3 { font-size: 1.5rem; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty .material-icons-round { font-size: 48px; opacity: .5; margin-bottom: 8px; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; padding: 0 10px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; background: var(--surface); border: 1px solid var(--line); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .dots { border: 0; background: none; }

.author-hero-in { display: flex; gap: 24px; align-items: center; }
.author-hero p { margin-top: 10px; max-width: 720px; color: var(--muted); }
.author-hero .footer-social a { color: var(--primary); }
.authors-grid { padding-bottom: 48px; }
.author-tile { padding: 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.author-tile .author-name { font-weight: 800; font-size: 1.05rem; margin-top: 8px; }
.author-tile .author-name:hover { color: var(--primary); }
.last-column { font-weight: 700; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); width: 100%; }
.last-column:hover { color: var(--primary); }
.district-grid { padding-bottom: 48px; }
.district-tile { padding: 22px; display: flex; flex-direction: column; gap: 4px; transition: .2s; }
.district-tile:hover { transform: translateY(-2px); }
.district-tile .material-icons-round { font-size: 28px; color: var(--accent); margin-bottom: 6px; }
.district-tile strong { font-size: 1.05rem; }
.district-tile small { color: var(--muted); font-weight: 600; }

.search-big { position: relative; display: flex; gap: 8px; max-width: 640px; margin: 16px 0 10px; }
.search-big .material-icons-round { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-big input { flex: 1; height: 52px; padding: 0 16px 0 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); outline: none; font-size: 1rem; }
.search-big input:focus { border-color: var(--primary); }
.search-big .btn { height: 52px; padding: 0 24px; }
.not-found { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.not-found .big { font-family: var(--font-heading); font-size: 7rem; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.not-found .search-big { width: 100%; }

.flash { margin: 16px 0; padding: 12px 16px; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.flash-success { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.flash-error { background: color-mix(in srgb, var(--breaking) 12%, transparent); color: var(--breaking); }
.flash-warning { background: #fef3c7; color: #92400e; }

/* ---------- Alt alan ---------- */
.site-footer { background: var(--footer-bg); color: #9fb0c4; margin-top: 56px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 48px; padding-bottom: 40px; }
.footer-logo { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 800; color: #fff; display: inline-block; margin-bottom: 12px; }
.footer-brand p { line-height: 1.7; max-width: 380px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-cats { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.footer-cats a:hover, .footer-contact a:hover, .footer-bottom a:hover { color: var(--primary); }
.footer-contact { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; }
.footer-contact .material-icons-round { color: var(--primary); }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-social a { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .06); font-weight: 700; font-size: .8rem; display: inline-flex; align-items: center; gap: 4px; }
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; font-size: .8rem; flex-wrap: wrap; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border-radius: 14px; background: var(--primary); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s; z-index: 800; display: flex; align-items: center; justify-content: center; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }

/* ---------- Duyarlı tasarım ---------- */
@media (max-width: 1100px) {
  .with-sidebar { grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .popular-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 992px) {
  .menu-toggle { display: inline-flex; }
  .header-main { height: 68px; gap: 12px; }
  .logo { height: 44px; }
  .is-centered .logo { position: static; transform: none; }
  .header-search { display: none; position: absolute; left: 0; right: 0; top: 100%; max-width: none; padding: 10px 20px; background: var(--surface); border-bottom: 1px solid var(--line); z-index: 5; }
  .header-search .material-icons-round { left: 34px; }
  .site-header.search-open .header-search { display: block; }
  .search-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .is-centered .header-actions { margin-left: auto; }

  .main-nav { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86vw); background: var(--surface); border: 0; transform: translateX(-100%); transition: transform .3s cubic-bezier(.4, 0, .2, 1); z-index: 1001; overflow-y: auto; }
  .main-nav.open { transform: none; box-shadow: var(--shadow-lg); }
  .main-nav-in { flex-direction: column; padding: 0 16px 24px; }
  .drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
  .nav-list { flex-direction: column; overflow: visible; }
  .nav-item > a { padding: 12px 8px; border-radius: 8px; }
  .nav-item > a::after { display: none; }
  .nav-item .caret { margin-left: auto; padding: 4px; }
  .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; display: none; background: none; }
  .nav-item.sub-open .sub-menu { display: block; }
  .nav-item.sub-open .caret { transform: rotate(180deg); }
  .drawer-overlay { position: fixed; inset: 0; background: rgba(8, 14, 24, .5); z-index: 1000; opacity: 0; visibility: hidden; transition: .3s; display: block; }
  .drawer-overlay.open { opacity: 1; visibility: visible; }

  .with-sidebar { grid-template-columns: 1fr; }
  .sticky-side { position: static; }
  .manset-grid { grid-template-columns: 1fr; }
  .manset-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .manset-side .news-overlay { aspect-ratio: 16 / 10; }
  .cat-split { grid-template-columns: 1fr; }
  .cat-split .news-overlay { min-height: 0; aspect-ratio: 16 / 9; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar-links { display: none; }
  .hide-sm { display: none; }
  .header-main { gap: 8px; }
  .logo { height: 38px; min-width: 0; flex-shrink: 1; }
  .logo img { max-width: 150px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 36px; height: 36px; }
  .header-actions .btn { padding: 0; width: 36px; height: 36px; justify-content: center; }
  .block { margin: 24px 0; }
  .block-manset { margin-top: 16px; }
  .block-manset .container { padding: 0; }
  .slider { border-radius: 0; aspect-ratio: 4 / 3.4; }
  .slide-body { padding: 20px 16px 58px; }
  .slide-body p { display: none; }
  .slider-dots { left: 16px; right: 16px; bottom: 14px; }
  .slider-dots button { min-width: 24px; height: 24px; font-size: .72rem; }
  .manset-side { padding: 0 16px; grid-template-columns: 1fr; gap: 14px; }
  .grid-4, .grid-3, .popular-grid, .grid-2 { grid-template-columns: 1fr; gap: 14px; }
  .block-surmanset .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .block-surmanset .news-card h3 { font-size: .9rem; }
  .block-surmanset .news-card .body { padding: 10px 12px 12px; }
  .block-surmanset .meta-line .district { display: none; }
  .news-row { grid-template-columns: 120px 1fr; gap: 12px; padding: 10px; }
  .news-row h3 { font-size: .95rem; }
  .news-row p { display: none; }
  .article-head h1 { font-size: 1.6rem; }
  .spot { font-size: 1.05rem; }
  .article-image, .video-embed { margin-left: -16px; margin-right: -16px; }
  .article-image img, .video-embed { border-radius: 0; }
  .article-image figcaption { padding: 8px 16px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .author-hero-in { flex-direction: column; text-align: center; }
  .comment-foot { flex-direction: column; align-items: stretch; }
  .search-big .btn { padding: 0 16px; }
  .listing-lead .news-overlay { aspect-ratio: 16 / 10; }
  .listing-lead .overlay-body h3 { font-size: 1.15rem; }
}

@media print {
  .topbar, .site-header, .breaking, .sidebar, .site-footer, .share, .comments, .related, .ad-slot, .to-top, .read-progress { display: none !important; }
  .with-sidebar { display: block; }
}
