/* Alt sayfalar (yasal içerikler, blog) ve çerez çubuğu — site.css'in üzerine ek; ana sayfa düzenine dokunmaz. */

.subpage .section { padding: 64px 0 96px; }
.subpage .section-head { text-align: center; margin-bottom: 44px; }
.subpage .section-head h1 { font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.15; margin: 0; }
.subpage .section-head .lead { margin: 16px auto 0; }
.wrap--narrow { width: min(760px, calc(100% - 100px)); margin: auto; }

/* ---------- Metin gövdesi ---------- */
.prose { font-size: 17px; line-height: 1.75; color: var(--ink); }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 1.15rem; font-weight: 700; margin: 34px 0 10px; line-height: 1.3; }
.prose h3 { font-size: 1rem; font-weight: 700; margin: 26px 0 8px; }
.prose h4 { font-size: 1rem; font-weight: 600; margin: 20px 0 6px; }
.prose p { margin: 0 0 16px; color: #2f3f55; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 22px; color: #2f3f55; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 22px 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; color: var(--ink); font-weight: 600; }
.prose--post { font-size: 18px; }
.prose--post h2 { font-size: 1.45rem; margin-top: 44px; }
.prose--post h3 { font-size: 1.15rem; }

/* ---------- Yasal sayfa düzeni: menü · içerik · özet ---------- */
.legal-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.legal-menu { position: sticky; top: 96px; }
.legal-menu h2, .legal-summary h2 { font-size: 1.05rem; font-weight: 600; margin: 0 0 14px; }
.legal-menu nav { display: flex; flex-direction: column; border-left: 2px solid var(--border); }
.legal-menu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: 14px; text-decoration: none; transition: color .15s, border-color .15s; }
.legal-menu a span { opacity: 0; transition: opacity .15s; }
.legal-menu a:hover { color: var(--ink); }
.legal-menu a[aria-current="page"] { color: var(--ink); border-left-color: var(--accent); font-weight: 600; }
.legal-menu a[aria-current="page"] span, .legal-menu a:hover span { opacity: 1; }
.legal-updated { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 7px 14px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.legal-updated span { color: var(--muted); }
.legal-updated span::after { content: '·'; margin-left: 12px; color: var(--border); }
.legal-summary { position: sticky; top: 96px; padding: 24px 26px; border-radius: 18px; border: 1px solid var(--border); background: #f3f6fa; font-size: 14px; line-height: 1.65; color: var(--muted); }
.legal-summary p { margin: 0 0 12px; }
.legal-summary p:last-child { margin: 0; }

/* ---------- Blog listesi ---------- */
.post-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 18px; background: var(--soft); }
.post-cover--empty { background: linear-gradient(135deg, var(--soft), #dfe7f7); }
.post-featured { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; margin-bottom: 56px; padding: 22px; border-radius: 26px; border: 1px solid var(--border); background: #fff; color: inherit; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.post-featured:hover { box-shadow: 0 22px 60px #10244018; transform: translateY(-2px); }
.post-featured .post-cover { aspect-ratio: 16 / 10; }
.post-featured__copy { display: flex; flex-direction: column; gap: 14px; padding: 8px 8px 8px 0; }
.post-featured__copy h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; margin: 0; }
.post-featured__copy p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.6; }
.post-featured__copy .button { align-self: flex-start; margin-top: 8px; }
.post-featured time, .post-card time, .post-head time { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.post-card a { display: flex; flex-direction: column; gap: 12px; color: inherit; text-decoration: none; height: 100%; }
.post-card .post-cover { border-radius: 16px; transition: transform .3s; }
.post-card a:hover .post-cover { transform: translateY(-3px); }
.post-card h3 { font-size: 1.3rem; line-height: 1.25; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.post-card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--accent); font-size: 14px; }
.post-card__more svg { width: 18px; height: 18px; }

/* ---------- Blog yazısı ---------- */
.post-breadcrumb { margin: 0 0 26px; font-size: 14px; color: var(--muted); }
.post-breadcrumb a { color: var(--muted); text-decoration: none; }
.post-breadcrumb a:hover { color: var(--ink); }
.post-breadcrumb span { margin: 0 6px; }
.post-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.post-head h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; margin: 0; }
.post-head .lead { margin: 0; max-width: none; }
.post-hero { margin: 0 0 40px; }
.post-hero .post-cover { aspect-ratio: 16 / 9; border-radius: 22px; box-shadow: 0 24px 60px #10244014; }
.post-cta { margin: 56px 0 0; padding: 32px; border-radius: 22px; background: var(--dark); color: #fff; display: flex; flex-direction: column; gap: 10px; }
.post-cta h2 { font-size: 1.5rem; margin: 0; }
.post-cta p { margin: 0; color: #b8c4d4; max-width: 560px; }
.post-cta .button { align-self: flex-start; margin-top: 10px; }
.post-related__title { font-size: 1.5rem; margin: 72px 0 24px; }

/* ---------- Footer yasal satırı ---------- */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 22px 0 0; font-size: 13px; }
.footer-legal a, .footer-legal__consent { color: #b8c4d4; text-decoration: none; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal__consent:hover { color: #fff; }

/* ---------- Çerez çubuğu ---------- */
.consent { position: fixed; inset: auto 0 0 0; z-index: 60; padding: 0 16px 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; max-width: 920px; margin: 0 auto; padding: 20px 24px; border-radius: 18px; background: #fff; color: var(--ink); border: 1px solid var(--border); box-shadow: 0 18px 50px #10244026; display: flex; flex-direction: column; gap: 14px; }
.consent__text { margin: 0; font-size: 14px; line-height: 1.6; color: #2f3f55; }
.consent__text a { color: var(--accent); }
.consent__prefs { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 12px 14px; border-radius: 12px; background: var(--soft); font-size: 14px; }
.consent__prefs label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.consent__prefs small { color: var(--muted); }
.consent__prefs input { accent-color: var(--accent); width: 16px; height: 16px; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: flex-end; }
.consent__actions .button { padding: 11px 18px; font-size: 14px; gap: 10px; }
.consent__actions .button-line { background: transparent; color: var(--ink); border-color: var(--border); }
.consent__actions .button-line:hover { border-color: var(--ink); }
.consent__link { margin-right: auto; background: none; border: 0; padding: 0; font: 600 14px Hanken, Arial, sans-serif; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__link:hover { color: var(--ink); }

/* ---------- Demo formu Turnstile ---------- */
.demo-turnstile { margin: -8px 0 18px; min-height: 0; }
.demo-turnstile__hint { margin: 8px 0 0; font-size: 13px; color: #ad2727; }

/* ---------- 404 ---------- */
.page-404 { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.page-404 h1 { margin: 0; }
.page-404 .lead { margin: 0 0 16px; }

/* ---------- Dar ekran ---------- */
@media (max-width: 1100px) {
  .legal-grid { grid-template-columns: 220px minmax(0, 1fr); }
  .legal-summary { grid-column: 2; position: static; }
}
@media (max-width: 800px) {
  .subpage .section { padding: 36px 0 64px; }
  .wrap--narrow { width: calc(100% - 40px); }
  .legal-grid { grid-template-columns: 1fr; gap: 28px; }
  .legal-menu { position: static; }
  .legal-menu nav { flex-direction: row; flex-wrap: wrap; border-left: 0; gap: 6px; }
  .legal-menu a { margin: 0; padding: 7px 12px; border: 1px solid var(--border); border-radius: 999px; font-size: 13px; }
  .legal-menu a span { display: none; }
  .legal-menu a[aria-current="page"] { border-color: var(--accent); background: var(--soft); }
  .legal-summary { grid-column: auto; }
  .post-featured { grid-template-columns: 1fr; gap: 18px; padding: 14px; }
  .post-featured__copy { padding: 4px 8px 10px; }
  .post-cta { padding: 24px; }
  .consent { padding: 0 10px 10px; }
  .consent__box { padding: 16px; }
  .consent__actions .button { flex: 1 1 auto; }
  .consent__link { width: 100%; margin: 0; text-align: left; }
}
