/* Blog Detay – Hero, tipografi ve yan kolon modernizasyonu */

/* Hero */
.blog-hero {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 24px;
}
.blog-hero--noimage {
  background: linear-gradient(135deg, #f7f8fa 0%, #eef1f6 100%);
  min-height: 240px;
}
.blog-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,17,23,0.10) 0%, rgba(13,17,23,0.50) 100%);
}
.blog-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 28px;
}
.breadcrumb-light {
  color: #fff;
}
.breadcrumb-light a { color: #fff; opacity: 0.85; }
.breadcrumb-light a:hover { opacity: 1; }

.blog-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 40px);
  margin: 6px 0 10px;
  line-height: 1.2;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.blog-hero__meta {
  display: flex; flex-wrap: wrap; gap: 12px;
  list-style: none; margin: 0; padding: 0;
  font-weight: 600;
}
.blog-hero__meta li { display: inline-flex; align-items: center; gap: 8px; }

/* İçerik tipografisi */
/* --- Tipografi ve içerik stili geliştirmeleri --- */

/* İçerik konteyneri */
.blog-entry {
  font-size: 17px;
  line-height: 1.9;
  color: #2b2b2b;
}
.blog-entry p { margin: 0 0 1.2em; }

/* Dropcap (ilk paragrafın ilk harfi) */
.blog-entry p:first-of-type::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: 1;
  margin: 0 .18em 0 0;
  font-weight: 700;
  color: #d24040; /* markaya göre güncellenebilir */
}

/* Başlıklar */
.blog-entry h2, .blog-entry h3, .blog-entry h4 {
  margin: 1.3em 0 .6em;
  line-height: 1.3;
  font-weight: 700;
}
.blog-entry h2 { font-size: 28px; }
.blog-entry h3 { font-size: 24px; }
.blog-entry h4 { font-size: 20px; }

/* Alıntılar */
.blog-entry blockquote {
  position: relative;
  margin: 1.4em 0;
  padding: 18px 22px 18px 58px;
  background: #f7f9fb;
  border-left: 4px solid #2a6fd1;
  border-radius: 10px;
  color: #333;
}
.blog-entry blockquote::before {
  content: "\201C";
  position: absolute;
  left: 16px; top: 8px;
  font-size: 42px;
  color: #c7d7ef;
  line-height: 1;
}
.blog-entry blockquote cite {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  color: #6c757d;
}

/* Görseller */
.blog-entry img {
  display: block;
  margin: 12px auto;
  border-radius: 12px;
  width: 100%;
  height: auto;
}

/* Kod blokları */
.blog-entry pre, .blog-entry code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.blog-entry pre {
  background: #0f172a;
  color: #e2e8f0;
  padding: 16px;
  border-radius: 12px;
  overflow: auto;
}
.blog-entry code {
  background: #f1f5f9;
  color: #111827;
  padding: 2px 6px;
  border-radius: 6px;
}

/* Listeler */
.blog-entry ul { padding-left: 20px; }
.blog-entry li { margin-bottom: .5em; }

/* --- Etiketler ve paylaşım --- */
.blog-tags h6, .blog-share h6 { font-weight: 700; margin-bottom: 10px; }

.blog-tags .badge {
  background: #eef2ff;
  color: #1f2937;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 600;
}

.blog-share .social-share { display: flex; flex-wrap: wrap; gap: 10px; }
.blog-share .btn {
  border-radius: 999px;
  padding: 6px 12px;
}
.blog-share .btn i { margin-right: 6px; }

/* --- Sidebar kartları --- */
/* --- Sidebar kart modernizasyonu --- */
.card .card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card .card-header h5 {
  font-weight: 800;
  letter-spacing: .2px;
}

.recent-post, .popular-tour {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid #edf0f5;
  border-radius: 12px;
  background: #fff;
  transition: all .2s ease;
}
.recent-post:hover, .popular-tour:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(2,6,23,0.08);
  border-color: #e6eaf0;
}
.recent-post::after, .popular-tour::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,6,23,.04), rgba(2,6,23,.02));
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  border-radius: 12px;
}
.recent-post:hover::after, .popular-tour:hover::after { opacity: 1; }

.recent-post-image img, .tour-image img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(2,6,23,0.08);
}
.recent-post-content h6, .tour-content h6 { font-weight: 700; margin-bottom: 4px; }
.recent-post-content h6 a, .tour-content h6 a {
  color: #0f172a;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  box-orient: vertical;
  overflow: hidden;
}
.recent-post-content h6 a:hover, .tour-content h6 a:hover { color: #2a6fd1; }

.recent-post-content small { color: #64748b; font-weight: 500; }
.tour-price strong {
  display: inline-block;
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid rgba(3,105,161,.16);
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 800;
}

@media (max-width: 576px) {
  .recent-post, .popular-tour { padding: 8px; gap: 10px; }
  .recent-post-image img, .tour-image img { width: 56px; height: 56px; }
}
.recent-post-content h6 a, .tour-content h6 a { color: #1f2937; }
.recent-post-content h6 a:hover, .tour-content h6 a:hover { color: #2a6fd1; }

/* --- Hero ile çakışan eski breadcrumb/title gizleme --- */
.page-wrapper .breadcrumb, .section-title.border-bottom.w-100.mb-4 { display: none !important; }
.blog-featured-image { display: none !important; }


.blog-entry h2, .blog-entry h3, .blog-entry h4 {
  font-family: 'Playfair Display', Georgia, serif;
  margin: 1.2em 0 0.6em;
}
.blog-entry h2 { font-size: 28px; }
.blog-entry h3 { font-size: 24px; }
.blog-entry h4 { font-size: 20px; }

/* Dropcap */
.blog-entry p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  float: left;
  font-size: 64px;
  line-height: 48px;
  padding: 8px 10px 0 2px;
  margin-right: 10px;
  color: #b22b2b;
}

/* Görsel stilleri */
.blog-entry img {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 18px 0;
}

/* Blockquote */
.blog-entry blockquote {
  position: relative;
  font-style: italic;
  background: #fafafa;
  border-left: 4px solid #b22b2b;
  padding: 18px 18px 18px 22px;
  margin: 18px 0;
  border-radius: 12px;
}
.blog-entry blockquote::before {
  content: "\201C";
  position: absolute; left: 10px; top: -6px;
  font-size: 56px; color: rgba(178,43,43,0.18);
}

/* Kod blokları */
.blog-entry pre, .blog-entry code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
}
.blog-entry pre {
  background: #0d1117;
  color: #c9d1d9;
  border-radius: 12px;
  padding: 16px;
  overflow-x: auto;
}
.blog-entry code { background: #f3f5f7; padding: 2px 6px; border-radius: 6px; }

/* Etiketler */
.blog-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.blog-tags h6 { width: 100%; margin-bottom: 6px; }
/* Tag chips modern style */
.blog-tags .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--chip-bg, #f1f5f9);
  color: var(--chip-text, #0f172a);
  font-weight: 500;
  font-size: 0.85rem;
  border: 1px solid rgba(2, 6, 23, 0.08);
  transition: all 0.2s ease;
}
.blog-tags .badge:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}
.blog-tags i {
  font-size: 0.9rem;
  color: #64748b;
}

/* Social share buttons */
.btn-share {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: all 0.2s ease;
  border: 1px solid rgba(2, 6, 23, 0.08);
  background: #fff;
  color: #0f172a;
}
.btn-share i { font-size: 1rem; }
.btn-share:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 6, 23, 0.12);
}
.btn-share.btn-facebook { color: #1877f2; border-color: rgba(24, 119, 242, 0.2); }
.btn-share.btn-twitter { color: #1da1f2; border-color: rgba(29, 161, 242, 0.2); }
.btn-share.btn-whatsapp { color: #25d366; border-color: rgba(37, 211, 102, 0.2); }
.btn-share.btn-facebook:hover { background: rgba(24, 119, 242, 0.08); }
.btn-share.btn-twitter:hover { background: rgba(29, 161, 242, 0.08); }
.btn-share.btn-whatsapp:hover { background: rgba(37, 211, 102, 0.08); }

/* Section headers align with chips */
.blog-tags h6, .blog-share h6 {
  font-weight: 700;
  letter-spacing: .2px;
  color: #0f172a;
}

/* Minor spacing tweaks */
.blog-tags .badge { margin-right: 6px; margin-bottom: 6px; }
.social-share .btn { margin-bottom: 6px; }

/* fix: remove orphaned closing brace */
