/**
 * CETIN IKYS - Blog Tasarım Sistemi (assets/blog.css)
 * Uyumlu Değişkenler: --p, --bg, --sur, --tx, --bd, --rad, --sh-s/m/l, --font-h, --font-b
 */

/* ─── 1. GENEL BLOG YERLEŞİMİ & KAP ───────────────────────────────── */
.blog-page-wrapper {
  min-height: calc(100vh - var(--nav-h));
  padding-top: calc(var(--nav-h) + 24px);
  padding-bottom: 80px;
}

.blog-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── 2. ARŞİV HERO ALANI & CANLI ARAMA ───────────────────────────── */
.blog-hero {
  text-align: center;
  padding: 40px 0 28px;
  position: relative;
}

.blog-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--p-lite);
  color: var(--p);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  border: 1px solid rgba(78, 140, 134, 0.2);
}

.blog-hero-title {
  font-family: var(--font-h);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--tx);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.blog-hero-desc {
  font-family: var(--font-b);
  font-size: 1.125rem;
  color: var(--tx2);
  max-width: 640px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.blog-search-bar {
  max-width: 540px;
  margin: 0 auto;
  position: relative;
}

.blog-search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.blog-search-input {
  width: 100%;
  height: 52px;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: 999px;
  padding: 0 50px 0 48px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--tx);
  box-shadow: var(--sh-s);
  outline: none;
  transition: all 0.2s var(--ease);
}

.blog-search-input:focus {
  border-color: var(--p);
  box-shadow: 0 0 0 3px var(--p-lite), var(--sh-m);
}

.blog-search-icon {
  position: absolute;
  left: 18px;
  color: var(--tx3);
  pointer-events: none;
  display: flex;
  align-items: center;
}

.blog-search-clear {
  position: absolute;
  right: 14px;
  background: none;
  border: none;
  color: var(--tx3);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.15s;
}

.blog-search-clear:hover {
  color: var(--tx);
}

/* ─── 3. KATEGORİ PİLL BAR ───────────────────────────────────────── */
.category-pill-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 32px 0 40px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--sur);
  border: 1px solid var(--bd);
  color: var(--tx2);
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--sh-s);
  transition: all 0.2s var(--ease);
  cursor: pointer;
  user-select: none;
}

.category-pill:hover {
  border-color: var(--p);
  color: var(--p);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--p);
  border-color: var(--p);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(78, 140, 134, 0.35);
}

.category-pill .pill-count {
  font-size: 0.75rem;
  padding: 2px 7px;
  border-radius: 10px;
  background: var(--p-lite);
  color: var(--p);
}

.category-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ─── 4. ÖNE ÇIKAN YAZI (FEATURED POST HERO) ─────────────────────── */
.featured-post-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--sh-m);
  margin-bottom: 48px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
  color: inherit;
}

.featured-post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-l);
}

.featured-post-cover {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: var(--bg2);
}

.featured-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.featured-post-card:hover .featured-post-img {
  transform: scale(1.03);
}

.featured-post-content {
  padding: 36px 36px 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.badge-featured {
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

[data-theme="dark"] .badge-featured {
  background: rgba(245, 158, 11, 0.2);
  color: #FBBF24;
}

.category-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--p);
  background: var(--p-lite);
  padding: 4px 10px;
  border-radius: 6px;
}

.featured-post-title {
  font-family: var(--font-h);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.28;
  color: var(--tx);
  margin-bottom: 14px;
}

.featured-post-excerpt {
  font-family: var(--font-b);
  font-size: 0.98rem;
  color: var(--tx2);
  line-height: 1.65;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--tx3);
  font-family: var(--font-b);
  margin-top: auto;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ─── 5. 3'LÜ YAZI GRİDİ (POSTS GRID) ────────────────────────────── */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 50px;
}

.blog-card {
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--sh-s);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-m);
  border-color: rgba(78, 140, 134, 0.4);
}

.blog-card-cover {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
  background: var(--bg2);
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.blog-card:hover .blog-card-img {
  transform: scale(1.05);
}

/* Gradient Fallback (Kapak Yoksa) */
.cover-gradient-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  position: relative;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, var(--cat-color, #4E8C86) 0%, #1e293b 100%);
  user-select: none;
}

.cover-fallback-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cover-fallback-text {
  font-family: var(--font-h);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.95;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.blog-card-body {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.blog-card-title {
  font-family: var(--font-h);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--tx);
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
}

.blog-card:hover .blog-card-title {
  color: var(--p);
}

.blog-card-excerpt {
  font-family: var(--font-b);
  font-size: 0.88rem;
  color: var(--tx2);
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--tx3);
  font-family: var(--font-b);
}

/* ─── 6. SAYFALAMA (PAGINATION) ──────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: var(--rad-s);
  border: 1px solid var(--bd);
  background: var(--sur);
  color: var(--tx);
  font-family: var(--font-b);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--sh-s);
  transition: all 0.15s var(--ease);
}

.page-btn:hover:not(.disabled) {
  border-color: var(--p);
  color: var(--p);
  transform: translateY(-1px);
}

.page-btn.active {
  background: var(--p);
  border-color: var(--p);
  color: #ffffff;
}

.page-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── 7. TEK YAZI (SINGLE POST) SAYFASI ──────────────────────────── */
/* Okuma Progress Bar */
.reading-progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1000;
}

.reading-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--p);
  box-shadow: 0 0 10px rgba(78, 140, 134, 0.6);
  transition: width 0.08s linear;
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--tx3);
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--tx2);
  text-decoration: none;
  transition: color 0.15s;
}

.breadcrumbs a:hover {
  color: var(--p);
}

.breadcrumbs .bc-sep {
  opacity: 0.5;
}

/* Single Post Header */
.post-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.post-header-title {
  font-family: var(--font-h);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--tx);
  letter-spacing: -0.02em;
  margin: 16px 0 24px;
}

.post-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--tx2);
}

.author-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.author-pill-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--p);
}

.author-monogram-small {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--p-lite);
  color: var(--p);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  border: 2px solid var(--p);
}

/* Post Hero Cover */
.post-single-cover-wrap {
  width: 100%;
  max-width: 960px;
  height: 440px;
  margin: 0 auto 48px;
  border-radius: var(--rad);
  overflow: hidden;
  box-shadow: var(--sh-m);
  border: 1px solid var(--bd);
  background: var(--bg2);
}

.post-single-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 2-Column Content Layout (TOC + Content) */
.single-post-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 50px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}

/* Sticky TOC (İçindekiler) */
.post-toc-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  padding: 20px;
  box-shadow: var(--sh-s);
}

.toc-title {
  font-family: var(--font-b);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--tx3);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--tx2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1.4;
  border-left: 2px solid transparent;
  transition: all 0.15s var(--ease);
}

.toc-link:hover {
  color: var(--p);
  background: var(--p-lite);
}

.toc-link.active {
  color: var(--p);
  background: var(--p-lite);
  border-left-color: var(--p);
  font-weight: 600;
}

.toc-link.toc-h3 {
  padding-left: 20px;
  font-size: 0.8rem;
}

/* Font Boyutu Kontrol Araç Çubuğu */
.font-resizer-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.font-size-btn {
  background: var(--sur);
  border: 1px solid var(--bd);
  color: var(--tx2);
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.font-size-btn:hover {
  border-color: var(--p);
  color: var(--p);
}

/* 720px İçerik Alanı */
.post-article-content {
  max-width: 720px;
  font-family: var(--font-b);
  font-size: 1.06rem;
  line-height: 1.85;
  color: var(--tx);
  transition: font-size 0.15s;
}

.post-article-content[data-fsize="sm"] {
  font-size: 0.96rem;
}

.post-article-content[data-fsize="lg"] {
  font-size: 1.18rem;
}

.post-article-content h2 {
  font-family: var(--font-h);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--tx);
  margin: 40px 0 16px;
  line-height: 1.3;
  scroll-margin-top: 100px;
}

.post-article-content h3 {
  font-family: var(--font-h);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--tx);
  margin: 32px 0 14px;
  line-height: 1.35;
  scroll-margin-top: 100px;
}

.post-article-content p {
  margin-bottom: 22px;
}

.post-article-content blockquote {
  border-left: 4px solid var(--p);
  background: var(--p-lite);
  padding: 18px 24px;
  border-radius: 0 var(--rad-s) var(--rad-s) 0;
  margin: 30px 0;
  font-style: italic;
  font-family: var(--font-h);
  font-size: 1.15rem;
  color: var(--tx);
}

.post-article-content ul,
.post-article-content ol {
  margin: 0 0 24px 28px;
}

.post-article-content li {
  margin-bottom: 8px;
}

.post-article-content img {
  max-width: 100%;
  border-radius: var(--rad-s);
  margin: 24px 0;
  box-shadow: var(--sh-m);
}

.post-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad-s);
  overflow: hidden;
}

.post-article-content th,
.post-article-content td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bd);
  font-size: 0.92rem;
}

.post-article-content th {
  background: var(--bg2);
  font-weight: 700;
  text-align: left;
}

/* Etiketler (Tags) */
.post-tags-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 40px 0 24px;
  padding-top: 24px;
  border-top: 1px solid var(--bd);
}

.tag-pill {
  font-size: 0.82rem;
  color: var(--tx2);
  background: var(--sur);
  border: 1px solid var(--bd);
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.15s;
}

.tag-pill:hover {
  border-color: var(--p);
  color: var(--p);
}

/* Alkış & Paylaşım Çubuğu (Clap & Share) */
.interaction-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  padding: 16px 24px;
  margin: 32px 0 48px;
  box-shadow: var(--sh-s);
}

.clap-btn-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.clap-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--p-lite);
  border: 2px solid var(--p);
  color: var(--p);
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  transition: all 0.2s var(--ease);
  position: relative;
  overflow: hidden;
}

.clap-btn:hover {
  background: var(--p);
  color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(78, 140, 134, 0.4);
}

.clap-btn:active {
  transform: scale(0.96);
}

.clap-btn.clapped {
  animation: clapPop 0.35s ease;
}

@keyframes clapPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); }
  100% { transform: scale(1.04); }
}

.share-btn-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--bd);
  color: var(--tx2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.share-btn:hover {
  background: var(--p);
  border-color: var(--p);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Yazar Bilgi Kartı */
.author-box-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  padding: 24px;
  margin-bottom: 48px;
  box-shadow: var(--sh-s);
}

.author-box-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--p);
  flex-shrink: 0;
}

.author-box-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 4px;
}

.author-box-role {
  font-size: 0.85rem;
  color: var(--p);
  font-weight: 600;
  margin-bottom: 8px;
}

.author-box-bio {
  font-size: 0.9rem;
  color: var(--tx2);
  line-height: 1.5;
}

/* E-Bülten Kutusu (Single Post) */
.blog-newsletter-card {
  background: linear-gradient(135deg, var(--sur) 0%, var(--p-lite) 100%);
  border: 1px solid rgba(78, 140, 134, 0.3);
  border-radius: var(--rad);
  padding: 32px;
  margin-bottom: 48px;
  text-align: center;
  box-shadow: var(--sh-m);
}

.blog-newsletter-title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 8px;
}

.blog-newsletter-desc {
  font-size: 0.95rem;
  color: var(--tx2);
  max-width: 500px;
  margin: 0 auto 20px;
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 12px;
}

.newsletter-input {
  flex: 1;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--bd);
  background: var(--sur);
  padding: 0 20px;
  font-size: 0.9rem;
  color: var(--tx);
  outline: none;
  box-shadow: var(--sh-s);
}

.newsletter-input:focus {
  border-color: var(--p);
}

.newsletter-submit-btn {
  height: 46px;
  border-radius: 999px;
  background: var(--p);
  color: #ffffff;
  border: none;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.newsletter-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(78, 140, 134, 0.4);
}

/* İlgili Yazılar (Related Posts) */
.related-posts-section {
  margin-bottom: 60px;
}

.related-section-title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 24px;
}

/* Yorumlar Bölümü */
.comments-section {
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  padding: 36px;
  margin-bottom: 40px;
  box-shadow: var(--sh-s);
}

.comments-header-title {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comment-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.comment-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bd);
}

.comment-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.comment-body {
  flex: 1;
}

.comment-top-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.comment-author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--tx);
}

.comment-date {
  font-size: 0.8rem;
  color: var(--tx3);
}

.comment-text {
  font-size: 0.92rem;
  color: var(--tx2);
  line-height: 1.6;
}

/* Yönetici Yanıtı */
.comment-replies {
  margin-top: 14px;
  margin-left: 20px;
  border-left: 2px solid var(--p);
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-badge {
  background: var(--p-lite);
  color: var(--p);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}

/* Yorum Formu */
.comment-form {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: var(--rad-s);
  padding: 24px;
}

.comment-form-title {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--tx);
  margin-bottom: 16px;
}

.comment-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.comment-input,
.comment-textarea {
  width: 100%;
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad-s);
  padding: 12px 14px;
  font-family: var(--font-b);
  font-size: 0.9rem;
  color: var(--tx);
  outline: none;
  transition: border-color 0.15s;
}

.comment-input:focus,
.comment-textarea:focus {
  border-color: var(--p);
}

.comment-textarea {
  height: 110px;
  resize: vertical;
  margin-bottom: 14px;
}

/* Back to top butonu */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--sur);
  border: 1px solid var(--bd);
  color: var(--tx);
  box-shadow: var(--sh-m);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s var(--ease);
  z-index: 900;
}

.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--p);
  border-color: var(--p);
  color: #ffffff;
  transform: translateY(-3px);
}

/* Toast Bildirim */
.blog-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: #ffffff;
  font-size: 0.88rem;
  padding: 10px 20px;
  border-radius: 999px;
  box-shadow: var(--sh-l);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s var(--ease);
  z-index: 2000;
}

.blog-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ─── 8. MOBİL UYUMLULUK (RESPONSIVE) ────────────────────────────── */
@media (max-width: 992px) {
  .featured-post-card {
    grid-template-columns: 1fr;
  }
  .featured-post-cover {
    height: 240px;
    min-height: auto;
  }
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-post-layout {
    grid-template-columns: 1fr;
  }
  .post-toc-sidebar {
    display: none; /* Mobilde sade okuma deneyimi */
  }
}

@media (max-width: 640px) {
  .blog-hero-title {
    font-size: 2rem;
  }
  .post-header-title {
    font-size: 2rem;
  }
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }
  .featured-post-content {
    padding: 24px 20px;
  }
  .post-single-cover-wrap {
    height: 240px;
    margin-bottom: 30px;
  }
  .comment-form-grid {
    grid-template-columns: 1fr;
  }
  .interaction-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    text-align: center;
  }
  .clap-btn-wrap,
  .share-btn-group {
    justify-content: center;
  }
}

/* 13. YÜKLEME İSKELETİ (SKELETON LOADER) */
.skeleton {
  background: linear-gradient(90deg, rgba(200, 205, 210, 0.18) 25%, rgba(200, 205, 210, 0.38) 50%, rgba(200, 205, 210, 0.18) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.5s infinite;
  border-radius: var(--rad-s);
}
[data-theme="dark"] .skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
}
@keyframes skeletonShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.skeleton-card {
  background: var(--sur);
  border: 1px solid var(--bd);
  border-radius: var(--rad);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.skeleton-cover {
  width: 100%;
  aspect-ratio: 16/9;
}
.skeleton-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.skeleton-line {
  height: 14px;
  width: 100%;
}
.skeleton-line.title {
  height: 24px;
  width: 80%;
}
.skeleton-line.short {
  width: 40%;
}

/* Lucide & Brand Icon Styles */
svg.lucide, svg.lucide * {
  display: inline-block;
  vertical-align: middle;
}
.icon-linkedin, .icon-twitter {
  display: inline-block;
  vertical-align: middle;
}

