/* ============================================================
   VELORA — Blog listesi + yazı sayfası
   ============================================================ */

/* ---------- Ortak: meta satırı ---------- */
.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--gold-dark); font-size: 16px; }

/* ---------- Ortak: devamını oku ---------- */
.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  transition: gap .25s var(--ease), color .2s;
}
.read-more i { transition: transform .25s var(--ease); }
.read-more:hover { color: var(--ink); gap: 12px; }
.read-more:hover i { transform: translateX(3px); }

/* ============================================================
   Liste sayfası
   ============================================================ */

/* ---------- Öne çıkan kart ---------- */
.blog-featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  overflow: hidden;
  margin-bottom: clamp(34px, 4.5vw, 56px);
  border-radius: var(--radius-lg);
}
.blog-featured:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 106, .5);
  box-shadow: var(--shadow-lg);
}
.bf-media {
  position: relative;
  display: block;
  min-height: 320px;
  background: var(--ink-2);
  overflow: hidden;
}
.bf-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  transition: transform .7s var(--ease);
}
.blog-featured:hover .bf-media img { transform: scale(1.05); }
.bf-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 18, 32, .4));
}
.bf-badge { position: absolute; top: 18px; left: 18px; z-index: 2; }
.bf-body {
  padding: clamp(26px, 3.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
.bf-title { font-size: clamp(24px, 2.6vw, 34px); margin: 0; }
.bf-title a:hover { color: var(--gold-dark); }
.bf-excerpt { color: var(--muted); font-size: 16px; margin: 0; }
@media (max-width: 900px) {
  .blog-featured { grid-template-columns: 1fr; }
  .bf-media { min-height: 0; aspect-ratio: 16/9; }
  .bf-media img { position: static; }
}

/* ---------- Yazı kartları ---------- */
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(201, 169, 106, .5);
  box-shadow: var(--shadow-lg);
}
.pc-media {
  position: relative;
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--ink-2);
}
.pc-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.post-card:hover .pc-media img { transform: scale(1.06); }
.pc-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 18, 32, .45));
}
.pc-chip {
  position: absolute;
  bottom: 14px; left: 14px;
  z-index: 2;
  background: rgba(10, 18, 32, .55);
  color: var(--gold-2);
  border-color: rgba(201, 169, 106, .4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pc-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.pc-title { font-size: 20px; margin: 0; }
.pc-title a { display: block; transition: color .2s; }
.pc-title a:hover { color: var(--gold-dark); }
.pc-excerpt {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pc-body .read-more { margin-top: auto; padding-top: 6px; }

/* ============================================================
   Yazı (makale) sayfası
   ============================================================ */

/* ---------- Görsel hero ---------- */
.post-hero {
  position: relative;
  background: var(--ink);
  color: var(--bone);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: clamp(420px, 56vh, 620px);
}
.post-hero-bg { position: absolute; inset: 0; }
.post-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.post-hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 32, .55) 0%, rgba(10, 18, 32, .25) 40%, rgba(10, 18, 32, .92) 100%);
}
.post-hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 169, 106, .55), transparent);
}
.post-hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(120px, 16vw, 180px) 0 clamp(38px, 5vw, 60px);
  max-width: 900px;
}
.post-hero-inner h1 {
  font-size: clamp(28px, 3.6vw, 46px);
  margin: 0 0 18px;
  text-wrap: balance;
}
.post-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.post-hero-tags .chip {
  background: rgba(10, 18, 32, .45);
  color: var(--gold-2);
  border-color: rgba(201, 169, 106, .4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.post-hero-meta { color: var(--muted-2); }
.post-hero-meta i { color: var(--gold); }

/* ---------- Makale gövdesi ---------- */
.post-article { padding-top: clamp(44px, 5.5vw, 72px); }
.post-narrow { max-width: 780px; }

.prose { font-size: 17px; line-height: 1.85; color: var(--ink-3); }
.prose p { margin: 0 0 1.25em; }

/* İlk paragraf: gömme baş harf */
.prose > p:first-child {
  font-size: 18.5px;
  color: var(--ink-2);
}
.prose > p:first-child::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 4.15em;
  line-height: .82;
  float: left;
  padding: 8px 14px 0 0;
  color: var(--gold-dark);
}

/* Altın cetvelli h2 */
.prose h2 {
  font-size: clamp(23px, 2.4vw, 29px);
  margin: 1.9em 0 .7em;
  padding-bottom: 12px;
  position: relative;
}
.prose h2::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 54px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px;
}
.prose h3 {
  font-size: 19.5px;
  margin: 1.6em 0 .5em;
  color: var(--ink-2);
}

.prose ul, .prose ol { margin: 0 0 1.4em; padding-left: 6px; list-style: none; }
.prose ul li, .prose ol li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.prose ul li::before {
  content: '\25C6';
  position: absolute;
  left: 4px; top: 1px;
  font-size: 9px;
  color: var(--gold-dark);
}
.prose ol { counter-reset: prose-ol; }
.prose ol li::before {
  counter-increment: prose-ol;
  content: counter(prose-ol) '.';
  position: absolute;
  left: 0; top: 0;
  font-weight: 800;
  color: var(--gold-dark);
}

.prose a {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 106, .45);
  text-underline-offset: 3px;
  transition: color .2s, text-decoration-color .2s;
}
.prose a:hover { color: var(--ink); text-decoration-color: var(--gold); }

.prose blockquote {
  margin: 2em 0;
  padding: 24px 28px 24px 32px;
  background: var(--paper);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
  font-family: var(--font-display);
  font-size: 18.5px;
  font-style: italic;
  color: var(--ink-2);
  position: relative;
}
.prose blockquote::before {
  content: '\201C';
  position: absolute;
  top: -22px; right: 20px;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 1;
  color: rgba(201, 169, 106, .18);
  pointer-events: none;
}
.prose blockquote p { margin: 0; }
.prose img { border-radius: var(--radius); }
.prose strong { color: var(--ink); }

/* ---------- Paylaşım satırı ---------- */
.post-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(36px, 4.5vw, 52px);
  padding-top: 28px;
  border-top: 1px dashed var(--line);
}
.share-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  margin-right: 4px;
}
.share-label i { font-size: 19px; color: var(--gold-dark); }
.share-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all .25s var(--ease);
}
.share-btn:hover { transform: translateY(-3px); color: #fff; }
.share-btn.wa:hover { background: #25D366; border-color: #25D366; box-shadow: 0 10px 26px rgba(37, 211, 102, .35); }
.share-btn.tw:hover { background: var(--ink); border-color: var(--ink); }
.share-btn.fb:hover { background: #1877F2; border-color: #1877F2; box-shadow: 0 10px 26px rgba(24, 119, 242, .3); }

/* ---------- Yazar kutusu ---------- */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 28px;
  margin-top: 34px;
  border-radius: var(--radius-lg);
}
.author-box:hover { transform: none; }
.author-mark {
  width: 58px; height: 58px;
  flex-shrink: 0;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold-2);
  background: linear-gradient(140deg, var(--ink-3), var(--ink));
  border: 1px solid rgba(201, 169, 106, .5);
  box-shadow: inset 0 0 18px rgba(201, 169, 106, .16);
}
.author-box b {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}
.author-tagline {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 3px 0 8px;
}
.author-box p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- CTA bandı ---------- */
.blog-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}
.blog-cta-inner h2 { margin-bottom: 8px; }
.blog-cta-inner p { color: var(--muted-2); margin: 0; max-width: 520px; }
.blog-cta-inner .btn { flex-shrink: 0; }

/* ---------- Okuma ilerleme çubuğu ---------- */
.read-progress {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold-2), var(--gold-dark));
  box-shadow: 0 0 12px rgba(201, 169, 106, .55);
  transition: width .1s linear;
  pointer-events: none;
}

@media (max-width: 640px) {
  .post-hero { min-height: 380px; }
  .author-box { flex-direction: column; gap: 14px; }
  .blog-cta-inner { flex-direction: column; align-items: flex-start; }
}
