/* =============================================================
   AtakentOS Theme — assets/css/blog.css
   Blog Arşiv + Tekil Yazı + Sidebar + SEO Bileşenleri
   ============================================================= */

/* ── BLOG HERO ─────────────────────────────────────────── */
.blog-hero {
  background: linear-gradient(160deg, #0a0c14 0%, #1a1d2e 65%, #0f1520 100%);
  padding: 56px 0 40px;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.1), transparent 70%);
  pointer-events: none;
}
.blog-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.blog-hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 10px;
}
.blog-hero-title span { color: var(--gold); }
.blog-hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.7;
}
.blog-hero-search { min-width: 280px; flex: 0 0 320px; }

/* Search form override */
.search-form {
  display: flex;
  gap: 8px;
}
.search-form label { flex: 1; }
.search-form .search-field {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 11px 16px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.search-form .search-field:focus { border-color: rgba(201,168,76,.5); }
.search-form .search-field::placeholder { color: var(--text-muted); }
.search-form .search-submit {
  background: var(--gold);
  border: none;
  border-radius: 10px;
  padding: 11px 18px;
  color: #0a0c14;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  white-space: nowrap;
}

/* ── TOPBAR ─────────────────────────────────────────────── */
.blog-topbar {
  position: sticky;
  top: 66px; /* header yüksekliği */
  background: rgba(24,27,36,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  z-index: 90;
  padding: 10px 0;
}
.blog-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.blog-cats-scroll {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.blog-cats-scroll::-webkit-scrollbar { display: none; }
.blog-cats-scroll .filter-pill { flex-shrink: 0; }
.cat-count {
  background: rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 1px 6px;
  font-size: 10px;
  margin-left: 2px;
}
.blog-controls {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}
.blog-ctrl-btn {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  transition: all .2s;
}
.blog-ctrl-btn:hover,
.blog-ctrl-btn.active {
  border-color: rgba(201,168,76,.5);
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

/* ── LAYOUT ──────────────────────────────────────────────── */
.blog-layout { padding: 32px 0 60px; }
.blog-layout-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}
.blog-layout-inner.sidebar-hidden {
  grid-template-columns: 1fr;
}
.blog-layout-inner.fullscreen-mode {
  grid-template-columns: 1fr;
  max-width: 100%;
  padding: 0 24px;
}

/* ── META BAR ───────────────────────────────────────────── */
.blog-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--card-border);
  gap: 12px;
  flex-wrap: wrap;
}
.blog-result-count { font-size: 13px; color: var(--text-muted); }
.blog-sort-select {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 7px 12px;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  cursor: pointer;
}

/* ── POSTS GRID ─────────────────────────────────────────── */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.blog-posts-grid.list-view {
  grid-template-columns: 1fr;
}
.blog-posts-grid.list-view .blog-card {
  flex-direction: row;
}
.blog-posts-grid.list-view .blog-card-img-wrap {
  flex: 0 0 240px;
  aspect-ratio: 4/3;
}
.blog-posts-grid.list-view .blog-card-body {
  flex: 1;
}
@media (max-width: 900px) {
  .blog-posts-grid { grid-template-columns: 1fr; }
  .blog-layout-inner { grid-template-columns: 1fr; }
  .blog-sidebar { display: none; }
  .blog-sidebar.sidebar-open { display: block; }
}

/* ── BLOG CARD ──────────────────────────────────────────── */
.blog-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, transform .2s;
}
.blog-card:hover {
  border-color: rgba(201,168,76,.35);
  transform: translateY(-3px);
}

/* Öne çıkan kart (ilk yazı) */
.blog-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
}
.blog-card--featured .blog-card-img-wrap {
  flex: 0 0 48%;
  aspect-ratio: 16/9;
}
.blog-card--featured .blog-card-body { flex: 1; padding: 24px; }
.blog-card--featured .blog-card-title { font-size: 22px; }
.blog-card--featured .blog-card-excerpt p { font-size: 14px; }
@media (max-width: 700px) {
  .blog-card--featured { flex-direction: column; }
  .blog-card--featured .blog-card-img-wrap { flex: none; aspect-ratio: 16/9; width: 100%; }
}

.blog-card-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark3);
  color: var(--card-border);
  font-size: 48px;
}
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  background: var(--gold);
  color: #0a0c14;
  font-size: 11px; font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-decoration: none;
  z-index: 2;
}

.blog-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px;
}
.blog-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--gold); }

.blog-card-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.blog-meta-item {
  display: flex; align-items: center; gap: 4px;
  font-size: 11px; color: var(--text-muted);
}
.blog-meta-item i { font-size: 13px; }

.blog-card-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 12px;
}
.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}
.blog-read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center; gap: 4px;
  transition: gap .2s;
}
.blog-read-more:hover { gap: 8px; text-decoration: none; }
.blog-card-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.blog-tag {
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.2);
  color: var(--gold);
  font-size: 10px; font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  text-decoration: none;
}
.blog-tag:hover { background: rgba(201,168,76,.2); text-decoration: none; }

/* ── SAYFALAMA ──────────────────────────────────────────── */
.blog-pagination { margin-top: 40px; }
.blog-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pagination .page-numbers li {}
.blog-pagination .page-numbers a,
.blog-pagination .page-numbers span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px; font-weight: 700;
  text-decoration: none;
  transition: all .2s;
}
.blog-pagination .page-numbers a:hover {
  border-color: rgba(201,168,76,.5);
  color: var(--gold);
}
.blog-pagination .page-numbers .current {
  background: var(--gold);
  border-color: var(--gold);
  color: #0a0c14;
}

/* ── BOŞKEN ─────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}
.blog-empty i { font-size: 56px; opacity: .3; display: block; margin-bottom: 16px; }
.blog-empty h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }

/* ── SIDEBAR ─────────────────────────────────────────────── */
.blog-sidebar { display: flex; flex-direction: column; gap: 16px; }
.blog-sidebar--sticky { position: sticky; top: 110px; }

.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 18px;
}
.sidebar-widget-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
}
.sidebar-widget-title i { font-size: 16px; color: var(--gold); }

.sidebar-widget--cta {
  background: linear-gradient(135deg, rgba(201,168,76,.12), rgba(201,168,76,.04));
  border-color: rgba(201,168,76,.25);
  text-align: center;
}
.sidebar-cta-icon { font-size: 36px; margin-bottom: 8px; }
.sidebar-cta-title { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.sidebar-cta-text { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* Kategoriler */
.sidebar-cat-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-cat-list li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(42,46,62,.5);
  transition: color .2s;
}
.sidebar-cat-list li a:hover { color: var(--gold); }
.sidebar-cat-list .children { padding-left: 16px; }
.sidebar-cat-list .cat-item > a::after { content: '›'; color: var(--card-border); }

/* Popüler */
.sidebar-popular-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sidebar-popular-item { display: flex; align-items: flex-start; gap: 10px; }
.popular-rank {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold);
  opacity: .5;
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
}
.popular-content { flex: 1; }
.popular-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; display: block; line-height: 1.4;
  margin-bottom: 3px;
}
.popular-title:hover { color: var(--gold); }
.popular-date { font-size: 11px; color: var(--text-muted); }

/* Son yazılar */
.sidebar-recent-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.sidebar-recent-item { display: flex; gap: 10px; align-items: flex-start; }
.recent-thumb {
  flex-shrink: 0;
  width: 60px; height: 60px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
  background: var(--dark3);
}
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-info { flex: 1; }
.recent-title {
  font-size: 13px; font-weight: 700; color: var(--text);
  text-decoration: none; display: block; line-height: 1.4; margin-bottom: 4px;
}
.recent-title:hover { color: var(--gold); }
.recent-date { font-size: 11px; color: var(--text-muted); }

/* Tag cloud */
.sidebar-tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.sidebar-tag-cloud a {
  font-size: 12px !important; /* wp_tag_cloud override */
  background: var(--dark3);
  border: 1px solid var(--card-border);
  color: var(--text-muted) !important;
  padding: 4px 10px;
  border-radius: 20px;
  text-decoration: none;
  transition: all .2s;
}
.sidebar-tag-cloud a:hover {
  background: rgba(201,168,76,.12);
  border-color: rgba(201,168,76,.3);
  color: var(--gold) !important;
}

/* Bülten */
.sidebar-widget--newsletter { background: linear-gradient(135deg,rgba(74,144,226,.08),rgba(74,144,226,.03)); border-color: rgba(74,144,226,.2); }
.newsletter-form { display: flex; gap: 6px; }
.newsletter-input {
  flex: 1;
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--text);
  font-family: var(--font);
  font-size: 13px;
  outline: none;
}
.newsletter-input:focus { border-color: rgba(74,144,226,.5); }
.newsletter-btn {
  background: var(--blue);
  border: none;
  border-radius: 8px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* Sosyal */
.sidebar-social { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.social-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
}
.social-btn:hover { opacity: .85; text-decoration: none; }
.social-fb { background: #1877f2; color: #fff; }
.social-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.social-yt { background: #ff0000; color: #fff; }
.social-wa { background: #25D366; color: #fff; }

/* Site listesi */
.sidebar-site-list { list-style: none; display: flex; flex-direction: column; }
.sidebar-site-link {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 0;
  color: var(--text-muted);
  font-size: 13px;
  text-decoration: none;
  border-bottom: 1px solid rgba(42,46,62,.4);
  transition: color .2s;
  cursor: pointer;
  background: none; border-top: none; border-left: none; border-right: none;
  font-family: var(--font);
  width: 100%;
  text-align: left;
}
.sidebar-site-link:hover { color: var(--gold); text-decoration: none; }
.sidebar-site-link i:first-child { color: var(--gold); font-size: 14px; }

/* ── OKUMA ÇUBUĞU ────────────────────────────────────────── */
#reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 9999;
}
#reading-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  width: 0%;
  transition: width .1s linear;
}

/* ── TOOLBAR (tekil sayfa) ───────────────────────────────── */
.single-toolbar {
  position: sticky;
  top: 66px;
  background: rgba(24,27,36,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 0;
  z-index: 90;
}
.single-toolbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.single-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.single-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color .2s; }
.single-breadcrumb a:hover { color: var(--gold); }
.single-breadcrumb i { font-size: 14px; }
.single-tools { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.read-time-badge {
  display: flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--text-muted);
  margin-right: 6px;
}

/* ── SINGLE LAYOUT ───────────────────────────────────────── */
.single-layout { padding: 0 0 60px; }
.single-layout-inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
  padding-top: 32px;
}
.single-layout-inner.fullscreen-mode {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  .single-layout-inner { grid-template-columns: 1fr; }
  .single-layout-inner .blog-sidebar { display: none; }
}

/* ── SINGLE ARTICLE ──────────────────────────────────────── */
.single-article { grid-column: 1; }
.single-hero-img {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16/7;
  margin-bottom: 28px;
}
.single-cover { width: 100%; height: 100%; object-fit: cover; }
.single-cat-badge {
  position: absolute; bottom: 16px; left: 16px;
  background: var(--gold); color: #0a0c14;
  font-size: 12px; font-weight: 800;
  padding: 4px 14px; border-radius: 20px;
  text-decoration: none;
}

.single-header { margin-bottom: 28px; }
.single-title {
  font-family: var(--font);
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  margin-bottom: 16px;
}
.single-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}
.single-author {
  display: flex; align-items: center; gap: 8px;
  color: var(--text-muted); text-decoration: none;
  font-weight: 700;
}
.single-author:hover { color: var(--gold); }
.author-avatar-sm {
  width: 36px; height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--card-border);
}
.meta-sep { color: var(--card-border); }

/* ── İÇİNDEKİLER ─────────────────────────────────────────── */
.toc-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 20px;
}
.toc-header {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  font-size: 13px; font-weight: 800;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.toc-header i:first-child { color: var(--gold); }
.toc-chevron { margin-left: auto; transition: transform .25s; }
.toc-header.collapsed .toc-chevron { transform: rotate(180deg); }
.toc-list {
  list-style: none;
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: toc;
}
.toc-list.collapsed { display: none; }
.toc-list li { counter-increment: toc; }
.toc-list a {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--text-muted);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.4;
  transition: color .2s;
}
.toc-list a::before {
  content: counter(toc) '.';
  color: var(--gold);
  font-weight: 700;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 2px;
}
.toc-list a:hover { color: var(--gold); }
.toc-list a.toc-active { color: var(--gold); font-weight: 700; }
.toc-list--sidebar { font-size: 12px; }
.sidebar-toc-sticky .toc-list a { font-size: 12px; }

/* ── İÇERİK TİPOGRAFİSİ ─────────────────────────────────── */
.single-content {
  font-size: var(--content-font-size, 16px);
  line-height: 1.85;
  color: var(--text);
}
.single-content h2,
.single-content h3,
.single-content h4 {
  color: var(--text);
  margin: 2em 0 .6em;
  line-height: 1.3;
  font-weight: 800;
  scroll-margin-top: 130px;
}
.single-content h2 {
  font-size: 1.5em;
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}
.single-content h3 { font-size: 1.25em; }
.single-content h4 { font-size: 1.1em; color: var(--gold); }
.single-content p { margin-bottom: 1.4em; }
.single-content a { color: var(--gold); }
.single-content a:hover { text-decoration: underline; }
.single-content ul,
.single-content ol {
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}
.single-content li { margin-bottom: .4em; line-height: 1.7; }
.single-content blockquote {
  border-left: 4px solid var(--gold);
  background: rgba(201,168,76,.06);
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  margin: 1.6em 0;
  color: var(--text-muted);
  font-style: italic;
}
.single-content blockquote p { margin: 0; }
.single-content code {
  background: var(--dark3);
  border: 1px solid var(--card-border);
  border-radius: 5px;
  padding: 2px 7px;
  font-size: .88em;
  color: var(--gold-light);
  font-family: 'Courier New', monospace;
}
.single-content pre {
  background: var(--dark3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  overflow-x: auto;
  margin: 1.4em 0;
}
.single-content pre code { background: none; border: none; padding: 0; font-size: .85em; color: var(--text); }
.single-content img {
  max-width: 100%;
  border-radius: var(--radius-sm);
  margin: 1.2em 0;
}
.single-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 14px;
}
.single-content th {
  background: var(--dark3);
  color: var(--text);
  font-weight: 800;
  padding: 10px 14px;
  border: 1px solid var(--card-border);
  text-align: left;
}
.single-content td {
  padding: 9px 14px;
  border: 1px solid var(--card-border);
  color: var(--text-muted);
}
.single-content tr:nth-child(even) td { background: rgba(255,255,255,.02); }
.single-content hr {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 2em 0;
}

/* Sayfa linkleri (çok sayfalı yazı) */
.page-links {
  display: flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: 13px; font-weight: 700;
}
.page-link-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  color: var(--text);
}

/* ── ETİKETLER ───────────────────────────────────────────── */
.single-tags {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  margin: 28px 0;
  padding: 16px 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.single-tags > i { color: var(--text-muted); font-size: 16px; }

/* ── PAYLAŞIM ─────────────────────────────────────────────── */
.single-share {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}
.share-label {
  font-size: 13px; font-weight: 800;
  color: var(--text);
  display: flex; align-items: center; gap: 6px;
  flex-shrink: 0;
}
.share-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: opacity .2s;
  border: none; cursor: pointer; font-family: var(--font);
}
.share-btn:hover { opacity: .85; text-decoration: none; }
.share-fb { background: #1877f2; color: #fff; }
.share-tw { background: #000; color: #fff; }
.share-wa { background: #25D366; color: #fff; }
.share-li { background: #0a66c2; color: #fff; }
.share-copy { background: var(--dark3); border: 1px solid var(--card-border); color: var(--text); }
.share-copy.copied { background: rgba(46,204,138,.15); border-color: rgba(46,204,138,.4); color: var(--green); }

/* ── YAZAR KUTUSU ─────────────────────────────────────────── */
.single-author-box {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 28px 0;
}
.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  flex-shrink: 0;
}
.author-box-label {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--gold);
  margin-bottom: 4px;
}
.author-box-name {
  font-size: 18px; font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: block; margin-bottom: 8px;
}
.author-box-name:hover { color: var(--gold); }
.author-box-bio { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin-bottom: 10px; }
.author-box-posts {
  font-size: 13px; font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}
@media (max-width: 600px) {
  .single-author-box { flex-direction: column; }
}

/* ── İLGİLİ YAZILAR ──────────────────────────────────────── */
.related-posts { margin: 32px 0; }
.related-title {
  font-size: 18px; font-weight: 800;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--card-border);
}
.related-title i { color: var(--gold); }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .related-grid { grid-template-columns: 1fr; } }

/* ── ÖNCEKI/SONRAKİ ──────────────────────────────────────── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 32px 0;
}
.post-nav-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: flex; flex-direction: column; gap: 4px;
  text-decoration: none;
  transition: border-color .2s;
}
.post-nav-item:hover { border-color: rgba(201,168,76,.4); text-decoration: none; }
.post-nav-next { text-align: right; }
.post-nav-dir {
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .6px;
  color: var(--gold);
  display: flex; align-items: center; gap: 4px;
}
.post-nav-next .post-nav-dir { justify-content: flex-end; }
.post-nav-title { font-size: 13px; font-weight: 700; color: var(--text); line-height: 1.4; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } }

/* ── YORUMLAR ─────────────────────────────────────────────── */
.comments-area {
  margin: 32px 0;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
}
.comments-title {
  font-size: 20px; font-weight: 800;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--card-border);
}
.comment-list { list-style: none; display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }
.comment { background: var(--dark2); border: 1px solid var(--card-border); border-radius: var(--radius-md); padding: 16px; }
.comment-body { }
.comment-author { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.comment-author img { border-radius: 50%; border: 2px solid var(--card-border); }
.comment-author .fn { font-weight: 700; color: var(--text); font-size: 14px; font-style: normal; }
.comment-metadata { font-size: 11px; color: var(--text-muted); }
.comment-metadata a { color: var(--text-muted); }
.comment-content p { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.comment-reply-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700;
  color: var(--gold);
  margin-top: 8px;
  cursor: pointer;
}
.children { margin-top: 14px; padding-left: 20px; border-left: 2px solid var(--card-border); display: flex; flex-direction: column; gap: 12px; }

/* Yorum Formu */
.atakent-comment-form {}
.comment-reply-title {
  font-size: 18px; font-weight: 800;
  color: var(--text);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 18px;
}
.comment-notes { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.comment-fields-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; margin-bottom: 12px; }
@media (max-width: 600px) { .comment-fields-row { grid-template-columns: 1fr; } }
.comment-field { display: flex; flex-direction: column; gap: 5px; }
.comment-field--full { margin-bottom: 12px; }
.comment-field label {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 5px;
  text-transform: uppercase; letter-spacing: .4px;
}
.comment-input,
.comment-textarea {
  background: var(--dark2);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  width: 100%;
}
.comment-input:focus,
.comment-textarea:focus { border-color: rgba(201,168,76,.5); }
.comment-textarea { resize: vertical; min-height: 110px; }
.comment-form-cookies-consent { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 13px; color: var(--text-muted); }

/* Yorum Nav */
.comment-nav {
  display: flex; justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--card-border);
}
.comment-nav a {
  font-size: 13px; font-weight: 700;
  color: var(--gold); text-decoration: none;
  display: flex; align-items: center; gap: 4px;
}

/* ── SR-ONLY ──────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
