/* ============================================================
   BLOG — liste kartları + yazı sayfası
   Ortak bileşenler styles.css/pages.css'ten gelir.
   ============================================================ */

.bgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.bcard {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.bcard:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 28px 50px -34px rgba(13, 26, 31, 0.45);
}
.bcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bone); }
.bcard__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bcard__img--empty { background: linear-gradient(155deg, var(--moss-2), var(--moss)); }
.bcard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bcard__date, .bcard__meta { font-size: 12.5px; color: var(--muted); }
.bcard__title { font-size: 21px; font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin: 0; }
.bcard__excerpt { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; }
.bcard__more {
  margin-top: auto; padding-top: 12px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--terracotta);
}

.bempty {
  text-align: center;
  padding: 64px 24px;
  border: 1px dashed var(--line);
  border-radius: 28px;
  background: var(--paper);
}
.bempty h2 { font-size: 26px; font-weight: 600; margin: 0 0 10px; }
.bempty p { color: var(--muted); margin: 0 0 24px; }

/* ---- yazı sayfası ---- */
.bpost { padding: 56px 0 24px; background: var(--paper); }
.bpost__shell { max-width: 780px; }
.bpost__date { display: block; margin: 20px 0 10px; font-size: 13px; color: var(--muted); }
.bpost__title { font-size: clamp(34px, 4.4vw, 54px); margin: 0 0 18px; }
.bpost__lede { margin: 0 0 32px; }
.bpost__cover { border-radius: 24px; overflow: hidden; margin-bottom: 40px; }
.bpost__img { width: 100%; display: block; }
.bpost__img--empty { aspect-ratio: 16 / 9; background: linear-gradient(155deg, var(--moss-2), var(--moss)); }

.bpost__body { font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.bpost__body h2 { font-size: 27px; font-weight: 600; line-height: 1.25; margin: 44px 0 14px; color: var(--ink); }
.bpost__body h3 { font-size: 21px; font-weight: 600; margin: 32px 0 10px; color: var(--ink); }
.bpost__body p { margin: 0 0 20px; }
.bpost__body ul, .bpost__body ol { margin: 0 0 20px; padding-left: 22px; }
.bpost__body li { margin-bottom: 8px; }
.bpost__body a { color: var(--terracotta); text-decoration: underline; text-underline-offset: 3px; }
.bpost__body blockquote {
  margin: 28px 0; padding: 20px 26px;
  border-left: 3px solid var(--terracotta);
  background: var(--bone); border-radius: 0 18px 18px 0;
  color: var(--ink-2);
}

.bpost__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 36px 0 0; }
.bchip {
  padding: 6px 14px; border-radius: 100px;
  background: var(--bone); border: 1px solid var(--line);
  font-size: 12.5px; color: var(--muted);
}

.bpost__cta {
  margin: 48px 0 8px; padding: 30px 32px;
  background: var(--bone); border-radius: 26px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.bpost__cta p { margin: 0; font-size: 18px; font-weight: 600; color: var(--ink); }

@media (max-width: 760px) {
  .bgrid { grid-template-columns: 1fr; gap: 22px; }
  .bpost { padding: 36px 0 16px; }
  .bpost__body { font-size: 16px; }
  .bpost__cta { padding: 24px; }
}

/* ============================================================
   17 Ağustos 2026 müşteri revizesi
   "blog sayfası çok basit ve minimal olmuş ... daha dolu dolu yapmalıyız"

   Eklenenler: öne çıkan büyük kart, etiket süzgeci, künye şeridi
   (tarih · yazar · okuma süresi), içindekiler, paylaşım, ilgili yazılar.
   Ortak değişkenler styles.css'ten geliyor; burada yeni renk icat edilmedi.
   ============================================================ */

/* ---- öne çıkan yazı ---- */
.bhero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  margin-bottom: 34px;
  transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease;
}
.bhero:hover {
  transform: translateY(-3px);
  border-color: var(--ink-3);
  box-shadow: 0 34px 60px -40px rgba(13, 26, 31, 0.5);
}
.bhero__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bone); }
.bhero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bhero__img--empty { background: linear-gradient(155deg, var(--moss-2), var(--moss)); }
.bhero__body {
  padding: 40px 44px;
  display: flex; flex-direction: column; gap: 12px;
  justify-content: center;
}
.bhero__badge {
  align-self: flex-start;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta);
  border: 1px solid color-mix(in srgb, var(--terracotta) 45%, transparent);
  border-radius: 999px; padding: 5px 12px;
}
.bhero__title {
  font-size: clamp(24px, 2.6vw, 34px); font-weight: 650; line-height: 1.18;
  letter-spacing: -0.02em; margin: 0;
}
.bhero__excerpt {
  font-size: 15.5px; line-height: 1.65; color: var(--muted); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- etiket süzgeci ---- */
.bfilter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.bfilter__chip {
  font: inherit; font-size: 13px; font-weight: 500;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bfilter__chip:hover { border-color: var(--ink-3); }
.bfilter__chip.is-active {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.bfilter__n { opacity: 0.55; font-size: 11.5px; margin-inline-start: 3px; }

/* ---- kart altı ---- */
.bcard__foot {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.bcard__foot .bcard__more { margin-top: 0; padding-top: 0; }
.bcard__tags { display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; }
.bchip--sm { font-size: 10.5px; padding: 3px 9px; }
/* Uzun özet kartı şişirmesin — eskiden 500 karakterlik bir excerpt kartı
   tek başına iki katına çıkarıyordu. */
.bcard__excerpt {
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- içindekiler ---- */
.btoc {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 22px 26px; margin: 30px 0 34px;
  background: var(--bone);
}
.btoc__title {
  display: block; font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px;
}
.btoc__list { margin: 0; padding-inline-start: 20px; display: grid; gap: 7px; }
.btoc__list a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.btoc__list a:hover { color: var(--terracotta); text-decoration: underline; }

/* ---- paylaşım ---- */
.bshare {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line);
}
.bshare__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.bshare__link {
  font-size: 13px; font-weight: 500; text-decoration: none; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.bshare__link:hover { border-color: var(--terracotta); color: var(--terracotta); }

.bempty__none { text-align: center; color: var(--muted); padding: 40px 0; }

@media (max-width: 900px) {
  .bhero { grid-template-columns: 1fr; }
  .bhero__body { padding: 28px 26px 32px; }
  .bhero__media { aspect-ratio: 16 / 9; }
}
