/* blog/show.blade.php, full redesign (2 sutun + sag sticky sidebar, kohezyon: site mavisi)
   Renk: cs2.css token'lari miras alinir. --cookie = birincil aksan (mavi). */

.bp-shell { --acc: var(--cookie, #1070d9); --acc-d: #0b57ab; --acc-soft: #eef3fd;
    --ink: #0f172a; --body: #384457; --mut: #64748b; --line: #e6e9ef; --paper: #fbfbfd; }

/* ── Okuma ilerleme cubugu ─────────────────────────────── */
.bp-prog { position: fixed; top: 0; left: 0; width: 0%; height: 3px;
    background: var(--cookie, #1070d9); z-index: 9999; transition: width .1s linear; }

/* ── HERO ──────────────────────────────────────────────── */
.bp-hero { position: relative; padding: 60px 0 66px; overflow: hidden; color: #fff;
    background:
        radial-gradient(760px 320px at 15% 12%, rgba(16,112,217,.28) 0%, transparent 60%),
        radial-gradient(680px 300px at 88% 90%, rgba(14,165,164,.16) 0%, transparent 58%),
        linear-gradient(150deg, #0d1526 0%, #0f172a 52%, #101f38 100%); }
.bp-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 26px 26px; }
.bp-hero-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.bp-cat { display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
    color: #fff; padding: 6px 14px; border-radius: 99px; backdrop-filter: blur(6px);
    font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
    text-decoration: none; transition: background .16s; }
.bp-cat:hover { background: rgba(255,255,255,.18); color: #fff; }

.bp-h1 { font-family: 'Mulish', -apple-system, sans-serif; font-weight: 800;
    font-size: clamp(28px, 4.4vw, 47px); line-height: 1.13; letter-spacing: -.6px;
    color: #fff; margin: 18px 0 0; max-width: 920px; }
.bp-sub { font-size: clamp(15.5px, 1.7vw, 19px); line-height: 1.58;
    color: rgba(255,255,255,.75); margin: 16px 0 0; max-width: 720px; font-weight: 400; }

.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin-top: 26px; }
.bp-mi { display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 99px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
    font-size: 12.5px; color: rgba(255,255,255,.82); }
.bp-mi strong { color: #fff; font-weight: 600; }
.bp-mi svg { opacity: .6; flex-shrink: 0; }
.bp-av { width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, var(--cookie, #1070d9), #0b3f78);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 11px; flex-shrink: 0; }

/* ── KAPAK GORSELI (hero'nun ALTINDA, nefes birakan bosluk) ─ */
.bp-cover-wrap { max-width: 940px; margin: 44px auto 0; padding: 0 24px; }
.bp-cover { width: 100%; height: auto; max-height: 470px; object-fit: cover;
    border-radius: 18px; box-shadow: 0 20px 50px rgba(15,23,42,.16); display: block;
    border: 1px solid var(--line); }
.bp-cover-fallback { width: 100%; height: 280px; border-radius: 18px;
    background: linear-gradient(135deg, #e8eefc 0%, #dbe7fb 48%, #d7f0ee 100%);
    display: flex; align-items: center; justify-content: center; font-size: 92px;
    box-shadow: 0 20px 50px rgba(15,23,42,.1); border: 1px solid var(--line); }
.bp-cover-cap { text-align: center; color: #94a3b8; font-size: 12.5px; font-style: italic;
    margin-top: 12px; }

/* ── ANA IZGARA: icerik + sag sticky sidebar ───────────── */
.bp-grid { max-width: 1180px; margin: 0 auto; padding: 48px 24px 24px;
    display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.bp-main { min-width: 0; }

/* ── Makale tipografisi ────────────────────────────────── */
.bp-body { font-size: 18px; line-height: 1.8; color: #384457; letter-spacing: -.002em; }
.bp-body > p:first-of-type::first-letter { font-family: 'Fraunces', Georgia, serif;
    font-size: 60px; line-height: 1; font-weight: 700; float: left; margin: 6px 12px 0 0;
    color: var(--cookie, #1070d9); }
.bp-body h2 { font-family: 'Mulish', -apple-system, sans-serif; font-size: 27px; line-height: 1.25;
    color: #0f172a; font-weight: 800; margin: 2em 0 .6em; padding-top: .2em;
    scroll-margin-top: 96px; letter-spacing: -.3px; }
.bp-body h2::before { content: ''; display: block; width: 42px; height: 3px; border-radius: 3px;
    background: var(--cookie, #1070d9); margin-bottom: 16px; }
.bp-body h3 { font-family: 'Mulish', -apple-system, sans-serif; font-size: 20.5px; line-height: 1.32;
    color: #0f172a; font-weight: 700; margin: 1.7em 0 .5em; scroll-margin-top: 96px; }
.bp-body h4 { font-size: 17.5px; font-weight: 700; color: #0f172a; margin: 1.4em 0 .5em; }
.bp-body p { margin: 0 0 1.25em; }
.bp-body ul, .bp-body ol { margin: 0 0 1.3em; padding-left: 1.5em; }
.bp-body li { margin: .4em 0; padding-left: .2em; }
.bp-body li::marker { color: var(--cookie, #1070d9); }
.bp-body a { color: var(--cookie, #1070d9); text-decoration: underline;
    text-decoration-thickness: 1.5px; text-underline-offset: 3px; font-weight: 500; }
.bp-body a:hover { background: var(--acc-soft, #eef3fd); }
.bp-body strong { color: #0f172a; font-weight: 700; }
.bp-body blockquote { position: relative; border-left: 3px solid var(--cookie, #1070d9);
    padding: 6px 22px; margin: 1.8em 0; color: #475569; font-style: italic;
    font-size: 18.5px; line-height: 1.7; background: #f6f8fd; border-radius: 0 12px 12px 0; }
.bp-body blockquote p:last-child { margin-bottom: 0; }
.bp-body code { background: #eef3fd; padding: 2px 7px; border-radius: 6px; font-size: .86em;
    color: #1d4ed8; font-family: ui-monospace, 'Menlo', monospace; font-weight: 600; }
.bp-body pre { background: #0f172a; color: #e2e8f0; padding: 20px 22px; border-radius: 14px;
    overflow-x: auto; margin: 1.8em 0; font-size: 13.5px; line-height: 1.65;
    box-shadow: 0 10px 30px rgba(15,23,42,.16); }
.bp-body pre code { background: none; color: inherit; padding: 0; font-weight: 400; }
.bp-body table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 14.5px;
    border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.bp-body table thead { background: #0f172a; color: #fff; }
.bp-body table th, .bp-body table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #eef1f6; }
.bp-body table th { font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .4px; }
.bp-body table tr:nth-child(even) td { background: #f8fafc; }
.bp-body img { max-width: 100%; border-radius: 12px; display: block; margin: 1.8em auto;
    box-shadow: 0 10px 30px rgba(15,23,42,.1); }
.bp-body hr { border: none; height: 1px; background: var(--line); margin: 2.4em auto; max-width: 280px; }

/* ── Icerik arasi CTA ──────────────────────────────────── */
.bp-icta { margin: 40px 0 8px; padding: 26px 28px; border-radius: 16px;
    background: linear-gradient(135deg, #f2f6fe 0%, #eaf6f5 100%);
    border: 1px solid #dde7f7; display: grid; grid-template-columns: auto 1fr auto;
    gap: 20px; align-items: center; }
.bp-icta-ic { width: 46px; height: 46px; border-radius: 12px; flex-shrink: 0; color: var(--cookie, #1070d9);
    background: #fff; border: 1px solid #dde7f7; display: flex; align-items: center; justify-content: center; }
.bp-icta h4 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0 0 4px; }
.bp-icta p { font-size: 14px; color: #475569; margin: 0; line-height: 1.55; }
.bp-icta-btn { background: var(--cookie, #1070d9); color: #fff; padding: 12px 22px; border-radius: 10px;
    font-weight: 700; text-decoration: none; font-size: 13.5px; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 7px; transition: background .16s, transform .16s; }
.bp-icta-btn:hover { background: var(--acc-d, #0b57ab); color: #fff; transform: translateY(-1px); }
@media (max-width: 560px) { .bp-icta { grid-template-columns: 1fr; text-align: left; } }

/* ── Etiketler ─────────────────────────────────────────── */
.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
    margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.bp-tags-lbl { font-size: 11.5px; color: #64748b; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.2px; margin-right: 4px; }
.bp-tag { display: inline-block; background: #f1f5f9; color: #475569; padding: 5px 13px;
    border-radius: 99px; font-size: 12.5px; text-decoration: none; font-weight: 500; transition: all .14s; }
.bp-tag:hover { background: var(--cookie, #1070d9); color: #fff; }

/* ── Paylasim (kompakt) ────────────────────────────────── */
.bp-share { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; margin: 22px 0 0; }
.bp-share-lbl { font-size: 13px; color: #64748b; font-weight: 700; margin-right: 4px; }
.bp-share-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px;
    border: 1px solid var(--line); background: #fff; color: #475569; text-decoration: none;
    border-radius: 10px; font-weight: 600; font-size: 13px; cursor: pointer; transition: all .14s; }
.bp-share-btn:hover { transform: translateY(-1px); border-color: #cdd5e1; }
.bp-share-btn.tw:hover { background: #000; color: #fff; border-color: #000; }
.bp-share-btn.li:hover { background: #0a66c2; color: #fff; border-color: #0a66c2; }
.bp-share-btn.wa:hover { background: #25d366; color: #fff; border-color: #25d366; }
.bp-share-btn.cp:hover { background: var(--cookie, #1070d9); color: #fff; border-color: var(--cookie, #1070d9); }

/* ── Yazar bio ─────────────────────────────────────────── */
.bp-author { display: flex; gap: 20px; align-items: flex-start; margin: 40px 0 0;
    padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcfe; }
.bp-author-av { width: 66px; height: 66px; border-radius: 50%; flex-shrink: 0;
    background: linear-gradient(135deg, var(--cookie, #1070d9), #0b3f78);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 28px; box-shadow: 0 8px 22px rgba(16,112,217,.22); }
.bp-author-info { min-width: 0; }
.bp-author-info .lbl { font-size: 10.5px; color: #64748b; text-transform: uppercase;
    letter-spacing: 1.2px; margin-bottom: 3px; font-weight: 700; }
.bp-author-info .nm { font-size: 19px; color: #0f172a; font-weight: 800; margin: 0 0 6px; }
.bp-author-info .bio { font-size: 14px; color: #475569; margin: 0 0 12px; line-height: 1.6; }
.bp-author-info .links { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-author-info .links a { font-size: 12.5px; color: var(--cookie, #1070d9); text-decoration: none;
    font-weight: 700; padding: 4px 12px; background: var(--acc-soft, #eef3fd); border-radius: 99px; transition: background .14s; }
.bp-author-info .links a:hover { background: #dde8fb; }

/* ═══ SAG STICKY SIDEBAR ═══════════════════════════════ */
.bp-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 18px;
    min-width: 0; }

/* Sticky TOC */
.bp-toc { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px;
    box-shadow: 0 2px 10px rgba(15,23,42,.04); }
.bp-toc-title { display: flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800;
    color: #0f172a; text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 14px; }
.bp-toc-title svg { color: var(--cookie, #1070d9); flex-shrink: 0; }
.bp-toc-list { list-style: none; padding: 0; margin: 0; counter-reset: bptoc;
    display: flex; flex-direction: column; }
.bp-toc-list li { counter-increment: bptoc; }
.bp-toc-list li.lvl3 { padding-left: 16px; }
.bp-toc-list a { display: block; color: #64748b; text-decoration: none; font-size: 13.5px;
    font-weight: 500; line-height: 1.4; padding: 6px 0 6px 12px; border-left: 2px solid #eef1f6;
    transition: color .14s, border-color .14s; }
.bp-toc-list a:hover { color: #0f172a; }
.bp-toc-list a.active { color: var(--cookie, #1070d9); font-weight: 700; border-left-color: var(--cookie, #1070d9); }
.bp-toc-list li.lvl3 a { font-size: 12.5px; }

/* Sidebar urun CTA */
.bp-side-cta { background: linear-gradient(150deg, #0f172a 0%, #101f38 100%);
    border-radius: 16px; padding: 22px; color: #fff; }
.bp-side-cta .h { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
    color: rgba(255,255,255,.55); margin-bottom: 9px; display: flex; align-items: center; gap: 7px; }
.bp-side-cta .h svg { color: var(--cookie, #1070d9); }
.bp-side-cta p { font-size: 13.5px; color: rgba(255,255,255,.8); line-height: 1.55; margin: 0 0 14px; }
.bp-side-cta a { display: block; text-align: center; background: var(--cookie, #1070d9); color: #fff;
    padding: 11px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 13.5px;
    transition: background .16s; }
.bp-side-cta a:hover { background: #1b7ee6; color: #fff; }

/* Sidebar bulten */
.bp-side-nl { background: var(--acc-soft, #eef3fd); border: 1px solid #dde7f7; border-radius: 16px; padding: 20px 22px; }
.bp-side-nl .h { font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.1px;
    color: #0f172a; margin-bottom: 8px; display: flex; align-items: center; gap: 7px; }
.bp-side-nl .h svg { color: var(--cookie, #1070d9); }
.bp-side-nl p { font-size: 12.5px; color: #475569; line-height: 1.55; margin: 0 0 12px; }
.bp-side-nl form { display: flex; flex-direction: column; gap: 8px; }
.bp-side-nl input { width: 100%; padding: 10px 13px; border: 1px solid #cdd9ee; border-radius: 9px;
    font-size: 13px; background: #fff; box-sizing: border-box; font-family: inherit; }
.bp-side-nl input:focus { outline: none; border-color: var(--cookie, #1070d9); }
.bp-side-nl button { width: 100%; padding: 10px; background: var(--cookie, #1070d9); color: #fff; border: none;
    border-radius: 9px; font-weight: 700; cursor: pointer; font-size: 13px; transition: background .16s; }
.bp-side-nl button:hover { background: var(--acc-d, #0b57ab); }
.bp-side-nl .ok { font-size: 13px; color: #065f46; margin: 0; font-weight: 600; }

/* ── Alt CTA bolumu (tam genislik) ─────────────────────── */
.bp-cta { margin-top: 40px; padding: 66px 24px; text-align: center; position: relative; overflow: hidden;
    color: #fff;
    background:
        radial-gradient(600px 260px at 12% 30%, rgba(255,255,255,.06) 0%, transparent 55%),
        radial-gradient(600px 260px at 88% 70%, rgba(14,165,164,.16) 0%, transparent 52%),
        linear-gradient(140deg, #0f2a52 0%, #0f172a 60%, #101f38 100%); }
.bp-cta-in { position: relative; z-index: 2; max-width: 660px; margin: 0 auto; }
.bp-cta-badge { display: inline-block; background: rgba(16,112,217,.2); border: 1px solid rgba(16,112,217,.4);
    color: #cfe0fb; padding: 5px 15px; border-radius: 99px; font-size: 11px; font-weight: 700;
    letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 16px; }
.bp-cta h2 { font-size: clamp(23px, 3.6vw, 34px); font-weight: 800; line-height: 1.2; margin: 0 0 13px; color: #fff; }
.bp-cta p { font-size: 16px; line-height: 1.6; opacity: .88; margin: 0 0 26px; }
.bp-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.bp-cta-btn { padding: 14px 30px; border-radius: 11px; font-weight: 800; text-decoration: none;
    font-size: 14.5px; transition: transform .15s; display: inline-block; }
.bp-cta-btn.pri { background: #fff; color: #0f2a52; box-shadow: 0 10px 26px rgba(0,0,0,.2); }
.bp-cta-btn.sec { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.bp-cta-btn:hover { transform: translateY(-2px); }
.bp-cta-trust { margin-top: 20px; font-size: 12.5px; opacity: .66; }

/* ── Ilgili yazilar (tam genislik) ─────────────────────── */
.bp-related { background: #f7f9fc; padding: 64px 24px; border-top: 1px solid var(--line); }
.bp-related-in { max-width: 1180px; margin: 0 auto; }
.bp-related-head { text-align: center; margin-bottom: 34px; }
.bp-related-head .kick { display: inline-block; font-size: 11px; color: var(--cookie, #1070d9); font-weight: 800;
    text-transform: uppercase; letter-spacing: 1.6px; margin-bottom: 8px; }
.bp-related-head h2 { font-size: 29px; color: #0f172a; margin: 0 0 6px; font-weight: 800; }
.bp-related-head p { color: #64748b; font-size: 14px; margin: 0; }
.bp-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.bp-rel-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px;
    transition: transform .22s, box-shadow .22s, border-color .22s; text-decoration: none; color: inherit;
    display: flex; flex-direction: column; }
.bp-rel-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15,23,42,.09); border-color: #d5deec; }
.bp-rel-card .r-cat { font-size: 10.5px; font-weight: 800; color: var(--cookie, #1070d9);
    text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.bp-rel-card h3 { font-size: 18px; line-height: 1.35; color: #0f172a; font-weight: 700; margin: 0 0 10px; flex: 1; }
.bp-rel-card p { font-size: 13.5px; line-height: 1.55; color: #64748b; margin: 0 0 16px; }
.bp-rel-card .r-foot { display: flex; justify-content: space-between; align-items: center;
    padding-top: 14px; border-top: 1px solid #eef1f6; font-size: 12px; color: #94a3b8; }
.bp-rel-card .r-foot strong { color: var(--cookie, #1070d9); font-weight: 700; }
.bp-rel-all { text-align: center; margin-top: 32px; }
.bp-rel-all a { display: inline-block; padding: 12px 30px; border: 1.5px solid var(--cookie, #1070d9);
    color: var(--cookie, #1070d9); border-radius: 11px; font-weight: 700; text-decoration: none;
    font-size: 14px; transition: all .16s; }
.bp-rel-all a:hover { background: var(--cookie, #1070d9); color: #fff; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1000px) {
    .bp-grid { grid-template-columns: 1fr; gap: 40px; max-width: 760px; }
    .bp-sidebar { position: static; flex-direction: column; }
    .bp-toc { order: -1; }
}
@media (max-width: 680px) {
    .bp-hero { padding: 44px 0 52px; }
    .bp-cover-wrap { margin-top: 32px; }
    .bp-grid { padding: 36px 20px 16px; gap: 32px; }
    .bp-cta { padding: 52px 20px; }
    .bp-related { padding: 52px 20px; }
    .bp-author { flex-direction: column; gap: 16px; padding: 22px; }
}

/* ── Yazdir ────────────────────────────────────────────── */
@media print {
    .bp-prog, .bp-sidebar, .bp-share, .bp-icta, .bp-related, .bp-cta, .bp-author { display: none; }
    .bp-grid { display: block; max-width: 100%; }
    .bp-body { font-size: 11pt; }
    .bp-hero { background: #fff; color: #000; }
    .bp-h1, .bp-sub { color: #000; }
}
