/* ============================================================
   ATAVAL — Blog (/bilgi-bankasi/blog/)
   Article prose comes from kb.css (.content, .kb-layout, .toc); this file
   adds only what blog pages need on top: byline, checklist items, source
   list, FAQ block, prev/next navigation. Loaded together with kb.css.
   ============================================================ */

/* ---------- Article header (byline under the hero) ---------- */
.blog-article{ background: var(--cream); }
.blog-article .kb-layout{ padding-top: 40px; }
.byline{
  display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center;
  font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-muted); margin: 0 0 28px; padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.byline .author{ color: var(--ink); font-weight: 500; }
.byline .cat{ color: var(--accent); }

/* ---------- Prose extras on top of kb.css .content ---------- */
.content h2{ scroll-margin-top: 24px; }
.content p.lede-p{ font-size: 18px; color: var(--ink); }
.content li.todo{ list-style: none; position: relative; padding-left: 4px; }
.content ul.todo-list{ padding-left: 26px; }
.content li.todo::before{
  content: ""; position: absolute; left: -24px; top: 7px; width: 12px; height: 12px;
  border: 1px solid var(--brand); background: var(--paper);
}
.content blockquote p:last-child{ margin-bottom: 0; }
.content .sources{ margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--rule); }
.content .sources h2{ font-size: 14px; font-family: "IBM Plex Mono", monospace; letter-spacing: 0.14em;
  text-transform: uppercase; border-bottom: 0; padding-bottom: 0; margin-bottom: 12px; color: var(--ink-muted); }
.content .sources ol{ font-size: 14px; color: var(--ink-soft); }
.content .sources li{ margin-bottom: 8px; line-height: 1.55; }
.content .sources a{ color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.content a{ color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.content a:hover{ color: var(--accent); }

/* ---------- FAQ block (no accordion, answers stay in the DOM) ---------- */
.content .faq h2{ border-bottom: 2px solid var(--accent); }
.content .faq h3{ font-size: 17px; margin: 22px 0 8px; }
.content .faq p{ font-size: 15.5px; }

/* ---------- Aside: contents + other posts ---------- */
.toc .other{ margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--rule); }
.toc .other a{ font-size: 13px; }
.toc .back{ display: block; margin-top: 18px; font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding: 0 12px; }

/* ---------- Prev / next ---------- */
.post-nav{ display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 48px 0 0; padding-top: 24px; border-top: 1px solid var(--rule); }
.post-nav a{ display: block; }
.post-nav .lbl{ display: block; font-family: "IBM Plex Mono", monospace; font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.post-nav .ttl{ font-weight: 600; color: var(--ink); line-height: 1.35; }
.post-nav a:hover .ttl{ color: var(--accent); }
.post-nav .next{ text-align: right; }

/* ---------- Blog index: extra meta line under the excerpt ---------- */
.kb-page .post .sub{ margin-top: 10px; font-family: "IBM Plex Mono", monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

@media (max-width: 920px){
  .post-nav{ grid-template-columns: 1fr; }
  .post-nav .next{ text-align: left; }
}

/* links inside the article are underlined; navigation blocks are not */
.content .post-nav a{ text-decoration: none; }
