/* Crea Brand Works — alt sayfalar: blog listesi, blog yazısı, yasal metinler (tools/sayfa-uret.mjs üretir).
   Yasal sayfa düzeni prdio'dan (Osman 2026-10-05): ortalı başlık, sayfalar arası geçiş, numaralı bölümler.
   Anasayfanın XD ölçeği (--u) burada yok: okuma sayfası, sabit tipografi + konteyner genişliği. */

/* ---------- Sayfa başı ---------- */

.page-hero {
  padding-top: 48px;
  padding-bottom: 40px;
}

.page-hero--center {
  text-align: center;
}

/* Yazı başlığı görselle aynı kolonda (900) */
.page-hero--article {
  max-width: 900px;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  color: var(--c-subtle);
  font-size: 14px;
  line-height: 20px;
}

.page-hero--center .breadcrumb ol {
  justify-content: center;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 10px;
  color: var(--c-border);
}

.breadcrumb a {
  transition: color var(--duration-fast) var(--ease-move);
}

.breadcrumb a:hover {
  color: var(--c-text);
}

.page-hero__title {
  margin-top: 24px;
  font-size: 36px;
  font-weight: 300;
  line-height: 44px;
  text-wrap: balance;
}

.page-hero__title .serif {
  display: block;
}

/* ---------- Yasal sayfalar arası geçiş ---------- */

.legal-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.legal-nav a {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap-min);
  padding: 0 20px;
  border: 1px solid var(--c-rule-strong);
  border-radius: 22px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  transition: border-color var(--duration-fast) var(--ease-move), background-color var(--duration-fast) var(--ease-move), color var(--duration-fast) var(--ease-move);
}

.legal-nav a:hover {
  border-color: var(--c-text);
}

.legal-nav a[aria-current="page"] {
  border-color: var(--c-text);
  background: var(--c-text);
  color: var(--c-bg);
}

/* ---------- Blog yazısı ---------- */

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  color: var(--c-subtle);
  font-size: 14px;
  line-height: 20px;
}

.article__cat {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--c-text);
  font-weight: 700;
}

.article__cat::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
}

.article__media img {
  width: 100%;
  max-width: 900px;
  margin-inline: auto;
  border-radius: 15px;
}

/* ---------- Okuma metni (yazı + yasal) ---------- */

.prose {
  max-width: 760px;
  margin: 48px auto 0;
  color: var(--c-muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 30px;
}

.prose > * + * {
  margin-top: 20px;
}

.prose h2 {
  margin-top: 56px;
  color: var(--c-text);
  font-size: 26px;
  font-weight: 700;
  line-height: 34px;
}

.prose h3 {
  margin-top: 36px;
  color: var(--c-text);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.prose h2 + *,
.prose h3 + * {
  margin-top: 12px;
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li + li {
  margin-top: 8px;
}

.prose li::marker {
  color: var(--c-accent);
}

.prose strong {
  color: var(--c-text);
  font-weight: 700;
}

.prose a {
  color: var(--c-text);
  text-decoration: underline;
  text-decoration-color: var(--c-accent);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--duration-fast) var(--ease-move);
}

.prose a:hover {
  text-decoration-color: currentColor;
}

.prose code {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--c-surface);
  color: var(--c-text);
  font-size: .88em;
}

/* Hukukçunun dolduracağı bilgi (ör. yurt dışı aktarım dayanağı): yayından önce tamamlanmalı */
.prose .yer-tutucu {
  padding: 0 4px;
  border-radius: 3px;
  background: var(--c-highlight);
  color: var(--c-bg);
}

.prose__updated {
  padding-top: 24px;
  border-top: 1px solid var(--c-rule-strong);
  color: var(--c-subtle);
  font-size: 14px;
  line-height: 20px;
}

.prose > .prose__updated {
  margin-top: 48px;
}

/* ---------- Sayfa sonu çağrısı ---------- */

.page-cta {
  margin-top: 96px;
  padding-block: 64px;
  border-block: 1px solid var(--c-rule-strong);
}

.page-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.page-cta__slash {
  width: 44px;
}

.page-cta__title {
  max-width: 640px;
  font-size: 28px;
  font-weight: 300;
  line-height: 38px;
}

/* ---------- Kart ızgarası (blog listesi, diğer yazılar) ---------- */

.post-grid {
  display: grid;
  gap: 48px 24px;
  margin-top: 16px;
}

.related {
  margin-top: 96px;
}

.related__title {
  font-size: 28px;
  font-weight: 300;
  line-height: 36px;
}

.related .post-grid {
  margin-top: 32px;
}

@media (min-width: 768px) {
  .page-hero {
    padding-top: 72px;
    padding-bottom: 48px;
  }

  .page-hero__title {
    font-size: 52px;
    line-height: 62px;
  }

  .page-cta__title {
    font-size: 36px;
    line-height: 48px;
  }

  .page-cta__slash {
    width: 64px;
  }

  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related__title {
    font-size: 36px;
    line-height: 46px;
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .page-hero__title {
    font-size: 62px;
    line-height: 74px;
  }

  .page-hero--article .page-hero__title {
    font-size: 52px;
    line-height: 64px;
  }

  .prose {
    font-size: 18px;
    line-height: 32px;
  }
}
