/* SunucumFix Blog — tema
   Ana sitenin style.css + dark.css dosyalarının üstüne yüklenir; ana sitenin
   renkleri (#1d66ff, #045de9 → #1d66ff geçişi, koyu lacivert zemin) kullanılır.
   Karanlık mod: html.sf-dark (ana site ile aynı anahtar). */

:root {
  --b-bg: #f4f7fc;
  --b-surface: #ffffff;
  --b-surface-2: #f3f6fb;
  --b-border: #e3e8f2;
  --b-border-strong: #d5dcea;
  --b-head: #0e1424;
  --b-text: #414a66;
  --b-muted: #6f7894;
  --b-blue: #1d66ff;
  --b-blue-2: #045de9;
  --b-link: #1557e0;
  --b-grad: linear-gradient(135deg, #045de9, #1d66ff);
  --b-shadow: 0 1px 2px rgba(14, 20, 36, .04), 0 8px 24px rgba(14, 20, 36, .06);
  --b-shadow-hover: 0 14px 36px rgba(14, 20, 36, .10), 0 0 0 1px rgba(29, 102, 255, .35);
  --b-hero: linear-gradient(135deg, #eaf1ff 0%, #f5f9ff 55%, #e8f7fd 100%);
  --b-hero-border: #dbe5f7;
  --b-grid-line: rgba(29, 102, 255, .07);
  --b-code-bg: #0d1426;
  --b-code-head: #141d36;
  --b-code-text: #e3e8fb;
  --b-inline-code: #edf1f9;
  --b-radius: 16px;
}
html.sf-dark {
  --b-bg: transparent;
  --b-surface: rgba(255, 255, 255, .045);
  --b-surface-2: rgba(255, 255, 255, .06);
  --b-border: rgba(255, 255, 255, .09);
  --b-border-strong: rgba(255, 255, 255, .14);
  --b-head: #eef1fb;
  --b-text: #c1c8e2;
  --b-muted: #8d97bb;
  --b-link: #8ab4ff;
  --b-shadow: 0 8px 32px rgba(0, 0, 0, .35);
  --b-shadow-hover: 0 16px 42px rgba(0, 0, 0, .5), 0 0 0 1px rgba(29, 102, 255, .5), 0 0 30px rgba(29, 102, 255, .12);
  --b-hero: linear-gradient(135deg, rgba(29, 102, 255, .20) 0%, rgba(17, 26, 48, .55) 55%, rgba(9, 198, 249, .10) 100%);
  --b-hero-border: rgba(109, 154, 255, .22);
  --b-grid-line: rgba(255, 255, 255, .045);
  --b-code-bg: #080d1b;
  --b-code-head: #10172c;
  --b-inline-code: rgba(120, 135, 190, .2);
}

/* Kategori tonları */
.tone-blue   { --t1: #1d66ff; --t2: #0b2a72; --tc: #1d66ff; }
.tone-teal   { --t1: #12b5a5; --t2: #073f45; --tc: #0e9a8c; }
.tone-violet { --t1: #8b5cf6; --t2: #2d1a6b; --tc: #7c4ff0; }
.tone-indigo { --t1: #5b6cf0; --t2: #1c2260; --tc: #4d5de0; }
.tone-cyan   { --t1: #09c6f9; --t2: #07405c; --tc: #0598c4; }
.tone-green  { --t1: #19b86f; --t2: #07432c; --tc: #129a5b; }
.tone-amber  { --t1: #f5a524; --t2: #5c3a07; --tc: #c77d0a; }
.tone-rose   { --t1: #f0527a; --t2: #5c1128; --tc: #d93a63; }
html.sf-dark .tone-blue { --tc: #7ea8ff; } html.sf-dark .tone-teal { --tc: #4fd8c9; }
html.sf-dark .tone-violet { --tc: #b39bff; } html.sf-dark .tone-indigo { --tc: #97a2ff; }
html.sf-dark .tone-cyan { --tc: #5fdcff; } html.sf-dark .tone-green { --tc: #5ad79b; }
html.sf-dark .tone-amber { --tc: #ffc15e; } html.sf-dark .tone-rose { --tc: #ff8fab; }

/* ---------- Temel ---------- */
.sfb-body { background: var(--b-bg); }
.sfb-main [hidden], .sfb-sidebar [hidden] { display: none !important; }
.sfb-main { display: block; min-height: 50vh; }
.sfb-main *, .sfb-main *::before, .sfb-main *::after { box-sizing: border-box; }
.sfb-ico { flex: 0 0 auto; vertical-align: middle; }
.sfb-skip { position: absolute; left: -9999px; top: 0; z-index: 9999; background: var(--b-blue); color: #fff; padding: 10px 16px; }
.sfb-skip:focus { left: 0; }
.sfb-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sfb-main a:focus-visible, .sfb-main button:focus-visible, .sfb-main input:focus-visible, .sfb-main summary:focus-visible, .sfb-main pre:focus-visible, .sfb-main [tabindex]:focus-visible {
  outline: 2px solid var(--b-blue); outline-offset: 2px; border-radius: 6px;
}
.sfb-center { text-align: center; margin-top: 32px; }

/* ---------- Üst alan (hero) ---------- */
.sfb-hero { padding: 28px 0 0; }
.sfb-hero-box { position: relative; overflow: hidden; background: var(--b-hero); border: 1px solid var(--b-hero-border); border-radius: 22px; padding: 26px 36px 34px; }
.sfb-hero-box::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--b-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--b-grid-line) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 55%); mask-image: linear-gradient(90deg, transparent 0%, #000 55%); }
.sfb-hero-box::after { content: ""; position: absolute; width: 380px; height: 380px; right: -120px; top: -180px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(29, 102, 255, .22), transparent 70%); }
.sfb-hero-box > * { position: relative; z-index: 1; }
.sfb-hero-grid { display: flex; gap: 32px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; margin-top: 18px; }
.sfb-hero-text { flex: 1 1 420px; min-width: 0; }
.sfb-hero-side { flex: 0 1 420px; min-width: 280px; display: flex; flex-direction: column; gap: 14px; }
.sfb-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--b-link); background: rgba(29, 102, 255, .1); border: 1px solid rgba(29, 102, 255, .2); padding: 4px 11px; border-radius: 999px; }
.sfb-hero h1 { font-size: 38px; line-height: 1.18; font-weight: 700; letter-spacing: -.02em; color: var(--b-head); margin: 14px 0 10px; }
.sfb-hero p { color: var(--b-text); font-size: 15.5px; line-height: 1.65; margin: 0; max-width: 620px; }

.sfb-breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; font-size: 13px; color: var(--b-muted); }
.sfb-breadcrumb li { display: flex; align-items: center; gap: 6px; min-width: 0; }
.sfb-breadcrumb li + li::before { content: "›"; opacity: .6; }
.sfb-breadcrumb a { color: var(--b-muted); text-decoration: none; }
.sfb-breadcrumb a:hover { color: var(--b-link); }
.sfb-breadcrumb li[aria-current] { color: var(--b-head); max-width: 60ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sfb-search { display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 16px; border-radius: 14px; background: var(--b-surface); border: 1px solid var(--b-border-strong); box-shadow: var(--b-shadow); }
html.sf-dark .sfb-search { background: rgba(10, 15, 30, .55); }
.sfb-search:focus-within { border-color: var(--b-blue); box-shadow: 0 0 0 4px rgba(29, 102, 255, .15); }
.sfb-search > .sfb-ico { color: var(--b-muted); }
.sfb-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 8px; font: inherit; font-size: 14.5px; color: var(--b-head); outline: none; }
.sfb-search input::placeholder { color: var(--b-muted); }
.sfb-search button { border: 0; background: var(--b-grad); color: #fff; font: inherit; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 10px; cursor: pointer; box-shadow: 0 4px 14px rgba(29, 102, 255, .35); }
.sfb-search button:hover { filter: brightness(1.08); }
.sfb-stats { display: flex; gap: 18px; font-size: 13.5px; color: var(--b-muted); padding-left: 4px; }
.sfb-stats strong { color: var(--b-head); font-size: 15px; margin-right: 3px; }

/* Kategori şeridi */
.sfb-cats { margin-top: 20px; }
.sfb-cats ul { list-style: none; display: flex; gap: 8px; padding: 2px 2px 6px; margin: 0; overflow-x: auto; scrollbar-width: thin; }
.sfb-cats a { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500;
  color: var(--b-text); background: var(--b-surface); border: 1px solid var(--b-border); text-decoration: none; transition: border-color .15s, color .15s, background .15s; }
.sfb-cats a .sfb-ico { color: var(--tc, var(--b-muted)); }
.sfb-cats a:hover { border-color: var(--tc, var(--b-blue)); color: var(--b-head); }
.sfb-cats a[aria-current] { background: var(--b-grad); border-color: transparent; color: #fff; box-shadow: 0 4px 14px rgba(29, 102, 255, .3); }
.sfb-cats a[aria-current] .sfb-ico { color: #fff; }

/* ---------- Yerleşim ---------- */
.sfb-wrap { padding-top: 30px; padding-bottom: 64px; }
.sfb-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.sfb-section-title { font-size: 20px; font-weight: 700; color: var(--b-head); margin: 0; display: flex; align-items: center; gap: 10px; }
.sfb-section-title::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: var(--b-grad); }
.sfb-count { font-size: 13.5px; color: var(--b-muted); }
.sfb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.sfb-content { min-width: 0; }

/* ---------- Kartlar ---------- */
.sfb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sfb-card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--b-surface); border: 1px solid var(--b-border);
  border-radius: var(--b-radius); overflow: hidden; box-shadow: var(--b-shadow); transition: transform .2s, box-shadow .2s, border-color .2s; }
.sfb-card:hover { transform: translateY(-4px); box-shadow: var(--b-shadow-hover); border-color: transparent; }
.sfb-card-media { position: relative; display: block; }
.sfb-card-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 18px; flex: 1; min-width: 0; }
.sfb-card-title { font-size: 17.5px; line-height: 1.4; font-weight: 700; margin: 0; letter-spacing: -.005em; }
.sfb-card-title a { color: var(--b-head); text-decoration: none; }
.sfb-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* tüm kart tıklanabilir */
.sfb-card:hover .sfb-card-title a { color: var(--b-link); }
.sfb-card-excerpt { color: var(--b-text); font-size: 14px; line-height: 1.65; margin: 0; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sfb-card-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--b-border); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sfb-chip, .sfb-read { position: relative; z-index: 2; }
.sfb-chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; text-decoration: none; line-height: 1.3;
  color: var(--tc, var(--b-link)); background: color-mix(in srgb, var(--tc, #1d66ff) 12%, transparent); padding: 5px 10px; border-radius: 999px; }
.sfb-card .sfb-chip { color: var(--b-link); background: rgba(29, 102, 255, .1); }
.sfb-chip:hover { text-decoration: underline; }
.sfb-read { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; height: 34px; padding: 0 9px; border-radius: 10px;
  color: var(--b-link); background: rgba(29, 102, 255, .08); text-decoration: none; font-size: 13.5px; font-weight: 600; transition: background .15s, color .15s; }
.sfb-card:hover .sfb-read { background: var(--b-grad); color: #fff; }

/* Kapak */
.sfb-cover { position: relative; display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: #0b1224; }
.sfb-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sfb-card:hover .sfb-cover img { transform: scale(1.03); }
.sfb-cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--t1) 70%, transparent) 0, transparent 55%),
              radial-gradient(circle at 10% 110%, color-mix(in srgb, var(--t1) 35%, transparent) 0, transparent 50%),
              linear-gradient(140deg, var(--t2) 0%, #0a1020 100%); }
.sfb-cover-ph::before { content: ""; position: absolute; inset: 0; opacity: .55;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 80%); mask-image: radial-gradient(circle at 50% 50%, #000 20%, transparent 80%); }
.sfb-cover-ico { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 20px; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 10px 30px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255,255,255,.15);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sfb-flag { position: absolute; left: 16px; top: 16px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #fff;
  background: rgba(10, 15, 30, .55); border: 1px solid rgba(255,255,255,.2); padding: 5px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sfb-flag .sfb-ico { color: #ffd75e; }

.sfb-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--b-muted); }
.sfb-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.sfb-meta-item .sfb-ico { opacity: .8; }

/* Öne çıkan */
.sfb-featured { margin-bottom: 40px; }
.sfb-card-large { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.sfb-card-large .sfb-cover { height: 100%; min-height: 300px; aspect-ratio: auto; }
.sfb-card-large .sfb-cover-ico { width: 96px; height: 96px; border-radius: 26px; }
.sfb-card-large .sfb-cover-ico svg { width: 44px; height: 44px; }
.sfb-card-large .sfb-card-body { padding: 34px 36px; justify-content: center; gap: 14px; }
.sfb-card-large .sfb-card-title { font-size: 27px; line-height: 1.3; letter-spacing: -.015em; }
.sfb-card-large .sfb-card-excerpt { font-size: 15.5px; -webkit-line-clamp: 4; }
.sfb-card-large .sfb-card-foot { margin-top: 8px; }
.sfb-card-large .sfb-read { padding: 0 16px; height: 40px; background: var(--b-grad); color: #fff; box-shadow: 0 6px 18px rgba(29, 102, 255, .35); }

/* Daha fazla / sayfalama */
.sfb-more { text-align: center; margin-top: 36px; }
.sfb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--b-grad); color: #fff !important;
  font: inherit; font-size: 14px; font-weight: 600; padding: 12px 24px; border-radius: 12px; cursor: pointer; text-decoration: none; box-shadow: 0 6px 18px rgba(29, 102, 255, .3); transition: filter .15s; }
.sfb-btn:hover { filter: brightness(1.08); }
.sfb-btn-ghost { background: var(--b-surface); color: var(--b-head) !important; border: 1px solid var(--b-border-strong); box-shadow: none; }
.sfb-btn-ghost:hover { border-color: var(--b-blue); color: var(--b-link) !important; filter: none; }
.sfb-btn[disabled] { opacity: .6; cursor: progress; }
.sfb-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; padding: 0; margin: 36px 0 0; }
.sfb-pagination a, .sfb-pagination span { display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px;
  border-radius: 10px; border: 1px solid var(--b-border); background: var(--b-surface); color: var(--b-text); text-decoration: none; font-size: 14px; }
.sfb-pagination a:hover { border-color: var(--b-blue); color: var(--b-link); }
.sfb-pagination span[aria-current] { background: var(--b-grad); border-color: transparent; color: #fff; font-weight: 600; }
.sfb-pagination .gap { border: 0; background: none; }

.sfb-empty { text-align: center; padding: 48px 24px; color: var(--b-muted); background: var(--b-surface); border: 1px dashed var(--b-border-strong); border-radius: var(--b-radius); }
.sfb-empty p { margin: 10px 0 18px; font-size: 15px; }

/* Çok okunanlar */
.sfb-popular { margin-top: 56px; }
.sfb-mini-list { list-style: none; padding: 0; margin: 0; counter-reset: mini; }
.sfb-mini { counter-increment: mini; }
.sfb-mini a { display: grid; grid-template-columns: 38px 1fr; column-gap: 12px; align-items: start; padding: 12px 0; text-decoration: none; }
.sfb-mini a::before { content: counter(mini, decimal-leading-zero); grid-row: span 2; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 11px; font-weight: 700; font-size: 14px; color: var(--b-link); background: rgba(29, 102, 255, .1); }
.sfb-mini-title { color: var(--b-head); font-size: 14.5px; font-weight: 600; line-height: 1.45; }
.sfb-mini a:hover .sfb-mini-title { color: var(--b-link); }
.sfb-mini-meta { color: var(--b-muted); font-size: 12.5px; margin-top: 3px; }
.sfb-mini-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 24px; background: var(--b-surface); border: 1px solid var(--b-border);
  border-radius: var(--b-radius); padding: 14px 22px; box-shadow: var(--b-shadow); }

/* ---------- Paneller / yan menü ---------- */
.sfb-panel { background: var(--b-surface); border: 1px solid var(--b-border); border-radius: var(--b-radius); padding: 20px; box-shadow: var(--b-shadow); }
.sfb-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 96px; min-width: 0; }
.sfb-box-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--b-muted); margin: 0 0 12px; }
.sfb-sidebar .sfb-mini a { padding: 9px 0; }
.sfb-toc ol { list-style: none; padding: 0; margin: 0; }
.sfb-toc li a { display: block; padding: 6px 0 6px 14px; border-left: 2px solid var(--b-border); color: var(--b-text); font-size: 13.5px; line-height: 1.45; text-decoration: none; transition: color .15s, border-color .15s; }
.sfb-toc li.lvl-3 a { padding-left: 26px; font-size: 13px; color: var(--b-muted); }
.sfb-toc li a:hover, .sfb-toc li a.is-active { color: var(--b-link); border-left-color: var(--b-blue); }
.sfb-toc-side { max-height: calc(100vh - 160px); overflow: auto; }
.sfb-toc-inline { display: none; margin-bottom: 20px; padding: 0; }
.sfb-toc-inline summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--b-head); font-size: 15px; list-style: none; }
.sfb-toc-inline summary::-webkit-details-marker { display: none; }
.sfb-toc-inline summary::after { content: "+"; float: right; color: var(--b-muted); font-weight: 400; }
.sfb-toc-inline[open] summary::after { content: "–"; }
.sfb-toc-inline summary span { color: var(--b-muted); font-weight: 400; font-size: 13px; }
.sfb-toc-inline ol { padding: 0 18px 14px; }

/* ---------- Yazı detayı ---------- */
.sfb-post-hero .sfb-hero-box { padding: 26px 40px 36px; }
.sfb-post-head-inner { max-width: 860px; margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sfb-post-head-inner h1 { font-size: 36px; margin: 2px 0 0; }
.sfb-lead { font-size: 17px !important; color: var(--b-text) !important; max-width: 760px !important; }
.sfb-post-meta { margin-top: 4px; font-size: 13.5px; gap: 8px 18px; }
.sfb-post-cover { margin: 0 0 24px; border-radius: var(--b-radius); overflow: hidden; border: 1px solid var(--b-border); box-shadow: var(--b-shadow); }
.sfb-article-card { background: var(--b-surface); border: 1px solid var(--b-border); border-radius: var(--b-radius); padding: 36px 44px; box-shadow: var(--b-shadow); }

.sfb-prose { color: var(--b-text); font-size: 16.5px; line-height: 1.8; overflow-wrap: break-word; }
.sfb-prose > :first-child { margin-top: 0; }
.sfb-prose p, .sfb-prose ul, .sfb-prose ol, .sfb-prose blockquote, .sfb-prose figure, .sfb-prose .sfb-table-wrap, .sfb-prose .sfb-code, .sfb-prose .sfb-callout { margin: 0 0 22px; }
.sfb-prose h2, .sfb-prose h3, .sfb-prose h4 { color: var(--b-head); line-height: 1.35; font-weight: 700; scroll-margin-top: 100px; letter-spacing: -.01em; }
.sfb-prose h2 { font-size: 24px; margin: 44px 0 14px; padding-top: 22px; border-top: 1px solid var(--b-border); }
.sfb-prose > h2:first-child { border-top: 0; padding-top: 0; }
.sfb-prose h3 { font-size: 19px; margin: 30px 0 10px; }
.sfb-prose h4, .sfb-prose h5, .sfb-prose h6 { font-size: 16.5px; margin: 24px 0 8px; color: var(--b-head); }
.sfb-prose a { color: var(--b-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.sfb-prose strong { color: var(--b-head); font-weight: 600; }
.sfb-prose ul, .sfb-prose ol { padding-left: 24px; }
.sfb-prose ul { list-style: disc; }
.sfb-prose ol { list-style: decimal; }
.sfb-prose li { margin: 7px 0; }
.sfb-prose li::marker { color: var(--b-blue); }
.sfb-prose li > ul, .sfb-prose li > ol { margin: 6px 0 0; }
.sfb-prose img { max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--b-border); }
.sfb-prose figure { text-align: center; }
.sfb-prose figcaption { font-size: 13px; color: var(--b-muted); margin-top: 8px; }
.sfb-prose hr { border: 0; border-top: 1px solid var(--b-border); margin: 36px 0; }
.sfb-prose mark { background: rgba(255, 213, 79, .35); color: inherit; padding: 0 3px; border-radius: 3px; }
.sfb-prose blockquote { border-left: 3px solid var(--b-blue); background: var(--b-surface-2); border-radius: 0 10px 10px 0; padding: 14px 18px; color: var(--b-text); font-style: italic; }
.sfb-prose blockquote > :last-child { margin-bottom: 0; }
.sfb-prose :not(pre) > code { font-family: "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: .86em; background: var(--b-inline-code);
  color: var(--b-head); padding: 2px 6px; border-radius: 6px; overflow-wrap: anywhere; border: 1px solid var(--b-border); }

/* Kod blokları (terminal görünümü) */
.sfb-code { background: var(--b-code-bg); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 10px 30px rgba(8, 13, 27, .25); }
.sfb-code-head { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px 9px 14px; background: var(--b-code-head); border-bottom: 1px solid rgba(255,255,255,.06); }
.sfb-code-head::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: 16px 0 0 #febc2e, 32px 0 0 #28c840; margin-right: 44px; flex: 0 0 auto; }
.sfb-code-lang { flex: 1; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #8e9ac4; font-weight: 600; }
.sfb-copy { border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: #c8d0ee; font: inherit; font-size: 12px; padding: 4px 11px; border-radius: 7px; cursor: pointer; }
.sfb-copy:hover { background: rgba(255,255,255,.1); color: #fff; }
.sfb-copy.is-done { color: #57d68d; border-color: rgba(87,214,141,.5); }
.sfb-code pre { margin: 0; padding: 16px 18px; overflow-x: auto; max-width: 100%; }
.sfb-code code { font-family: "JetBrains Mono", SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace; font-size: 13.5px; line-height: 1.7; color: var(--b-code-text); white-space: pre; background: none; padding: 0; border: 0; }
.sfb-code.is-terminal code { color: #d6f5e3; }

/* Tablo */
.sfb-table-wrap { overflow-x: auto; border: 1px solid var(--b-border); border-radius: 12px; }
.sfb-prose table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.55; }
.sfb-prose th, .sfb-prose td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--b-border); vertical-align: top; }
.sfb-prose th { background: var(--b-surface-2); color: var(--b-head); font-weight: 600; white-space: nowrap; }
.sfb-prose tr:last-child td { border-bottom: 0; }
.sfb-prose tbody tr:hover td { background: rgba(29, 102, 255, .04); }

/* Bilgi kutuları */
.sfb-callout { --c: #1d66ff; position: relative; border: 1px solid color-mix(in srgb, var(--c) 30%, transparent); background: color-mix(in srgb, var(--c) 8%, transparent);
  border-radius: 12px; padding: 14px 18px 14px 20px; font-size: 15px; }
.sfb-callout::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--c); }
.sfb-callout > :last-child { margin-bottom: 0; }
.sfb-callout p { margin-bottom: 8px; }
.sfb-callout-title { font-weight: 700; color: var(--c); margin-bottom: 4px !important; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.sfb-callout-tip { --c: #12a36a; } .sfb-callout-warning { --c: #e08a12; } .sfb-callout-important { --c: #8b5cf6; }
html.sf-dark .sfb-callout-tip { --c: #3fd08e; } html.sf-dark .sfb-callout-warning { --c: #ffb84d; } html.sf-dark .sfb-callout-important { --c: #b39bff; } html.sf-dark .sfb-callout-note { --c: #7ea8ff; }

/* Etiketler, CTA, önceki/sonraki */
.sfb-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.sfb-tags a { display: inline-block; font-size: 13px; color: var(--b-text); background: var(--b-surface-2); border: 1px solid var(--b-border); padding: 4px 11px; border-radius: 999px; text-decoration: none; }
.sfb-tags a:hover { color: var(--b-link); border-color: var(--b-blue); }
.sfb-post-tags { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--b-border); }
.sfb-post-tags > span { font-size: 12.5px; color: var(--b-muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.sfb-cta { position: relative; overflow: hidden; display: flex; gap: 18px 22px; align-items: center; flex-wrap: wrap; margin: 24px 0; padding: 24px 26px; border-radius: var(--b-radius);
  background: linear-gradient(135deg, #0b2a72 0%, #1d66ff 100%); color: #fff; box-shadow: 0 14px 36px rgba(29, 102, 255, .28); }
.sfb-cta::after { content: ""; position: absolute; width: 260px; height: 260px; right: -80px; top: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(9,198,249,.45), transparent 70%); pointer-events: none; }
.sfb-cta-ico { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); flex: 0 0 auto; }
.sfb-cta > div { position: relative; z-index: 1; flex: 1 1 280px; min-width: 0; }
.sfb-cta p { margin: 0; color: rgba(255,255,255,.85); font-size: 14.5px; line-height: 1.6; }
.sfb-cta .sfb-cta-title { color: #fff; font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.sfb-cta .sfb-btn { position: relative; z-index: 1; background: #fff; color: #0b2a72 !important; box-shadow: 0 6px 18px rgba(0,0,0,.2); flex: 0 0 auto; }

.sfb-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sfb-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--b-border); border-radius: 14px; background: var(--b-surface); text-decoration: none; min-width: 0; transition: border-color .15s, transform .15s; }
.sfb-prevnext a:hover { border-color: var(--b-blue); transform: translateY(-2px); }
.sfb-prevnext .next { text-align: right; grid-column: 2; }
.sfb-prevnext small { color: var(--b-muted); font-size: 12.5px; }
.sfb-prevnext span { color: var(--b-head); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.sfb-related { margin-top: 56px; }

.sfb-preview-bar { background: #fff4d6; color: #5c4400; font-size: 14px; padding: 10px 0; border-bottom: 1px solid #f0d58a; }
.sfb-preview-bar a { color: #1d4ed8; margin-left: 8px; font-weight: 600; }

/* ---------- Duyarlı ---------- */
@media (max-width: 1199px) {
  .sfb-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 28px; }
  .sfb-article-card { padding: 32px 34px; }
}
@media (max-width: 991px) {
  .sfb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .sfb-mini-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sfb-layout { grid-template-columns: minmax(0, 1fr); }
  .sfb-sidebar { position: static; }
  .sfb-toc-side { display: none; }
  .sfb-toc-inline { display: block; }
  .sfb-card-large { grid-template-columns: minmax(0, 1fr); }
  .sfb-card-large .sfb-cover { min-height: 0; aspect-ratio: 1200 / 560; }
  .sfb-card-large .sfb-card-body { padding: 24px 26px; }
  .sfb-card-large .sfb-card-title { font-size: 23px; }
  .sfb-hero h1 { font-size: 31px; }
  .sfb-post-head-inner h1 { font-size: 30px; }
  .sfb-hero-side { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .sfb-grid, .sfb-mini-cols { grid-template-columns: minmax(0, 1fr); }
  .sfb-hero { padding-top: 16px; }
  .sfb-hero-box, .sfb-post-hero .sfb-hero-box { padding: 20px 18px 24px; border-radius: 18px; }
  .sfb-hero h1 { font-size: 26px; }
  .sfb-post-head-inner h1 { font-size: 25px; }
  .sfb-hero p { font-size: 15px; }
  .sfb-hero-side { min-width: 0; }
  .sfb-search button { padding: 10px 14px; }
  .sfb-wrap { padding-top: 22px; padding-bottom: 44px; }
  .sfb-card-large .sfb-card-body { padding: 20px; }
  .sfb-card-default .sfb-cover.is-empty { aspect-ratio: 1200 / 440; }
  .sfb-card-default .sfb-cover-ico { width: 60px; height: 60px; border-radius: 16px; }
  .sfb-card-foot .sfb-meta { gap: 4px 10px; }
  .sfb-card-large .sfb-card-title { font-size: 20px; }
  .sfb-card-large .sfb-cover-ico { width: 72px; height: 72px; }
  .sfb-article-card { padding: 22px 18px; border-radius: 14px; }
  .sfb-prose { font-size: 15.5px; line-height: 1.75; }
  .sfb-prose h2 { font-size: 21px; margin-top: 34px; }
  .sfb-prose h3 { font-size: 17.5px; }
  .sfb-code code { font-size: 12.5px; }
  .sfb-code-head::before { margin-right: 40px; }
  .sfb-prevnext { grid-template-columns: minmax(0, 1fr); }
  .sfb-prevnext .next { grid-column: auto; text-align: left; }
  .sfb-mini-cols { padding: 8px 16px; }
  .sfb-cta { padding: 20px; }
  .sfb-breadcrumb li[aria-current] { max-width: 60vw; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .sfb-card, .sfb-cover img, .sfb-prevnext a { transition: none; }
  .sfb-card:hover, .sfb-prevnext a:hover { transform: none; }
  .sfb-card:hover .sfb-cover img { transform: none; }
}
@media print {
  .top-bar, header, footer, .mobile-menu, .sfb-sidebar, .sfb-cta, .sfb-prevnext, .sfb-related, .sfb-copy, .sfb-hero-box::before, .sfb-hero-box::after { display: none !important; }
  .sfb-layout { display: block; }
  .sfb-article-card { border: 0; box-shadow: none; padding: 0; }
}
