/* ===== fe-blog.css — Blog Bilgi Merkezi (hub) + okuma deneyimi ===== */

/* ---------- 1. Hero: makale nehri + arama ---------- */
.bh-hero{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--navy) 0%,var(--navy-2) 48%,#0a1b3c 100%);color:#fff;padding:clamp(38px,6vw,68px) 0 clamp(34px,5vw,54px);isolation:isolate}
.bh-hero::after{content:"";position:absolute;inset:0;z-index:1;background:radial-gradient(90% 70% at 50% 42%,rgba(11,26,56,.35) 0%,rgba(11,26,56,.88) 62%,var(--navy) 100%)}
.bh-hero>.container{position:relative;z-index:2}

.bh-river{position:absolute;inset:-8% -2%;z-index:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,3vw,42px);opacity:.5;pointer-events:none;
  -webkit-mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(180deg,transparent,#000 18%,#000 82%,transparent)}
.bh-river-col{overflow:hidden;position:relative}
.bh-river-track{display:flex;flex-direction:column;gap:14px;animation:bhFlow 68s linear infinite;will-change:transform}
.bh-river-col:nth-child(2) .bh-river-track{animation-duration:92s;animation-direction:reverse}
.bh-river-col:nth-child(3) .bh-river-track{animation-duration:78s}
.bh-river-track span{display:block;font:600 .84rem/1.45 var(--font-display);color:rgba(207,222,255,.5);letter-spacing:-.01em;padding:10px 14px;border:1px solid rgba(150,180,255,.16);border-radius:12px;background:rgba(255,255,255,.03);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bh-river-track span.is-lit{color:rgba(255,255,255,.82);border-color:rgba(120,160,255,.4);background:rgba(70,120,255,.12)}
@keyframes bhFlow{from{transform:translateY(0)}to{transform:translateY(-50%)}}
@media (prefers-reduced-motion:reduce){.bh-river-track{animation:none}}

.bh-hero-in{max-width:780px;margin:0 auto;text-align:center}
.bh-hero .eyebrow-mono{color:#9fc0ff;justify-content:center}
.bh-hero h1{color:#fff;font-size:clamp(1.85rem,4.4vw,3rem);line-height:1.1;letter-spacing:-.03em;margin:12px 0 12px}
.bh-hero h1 em{font-style:normal;background:linear-gradient(100deg,#7fb0ff,#c9a5ff 55%,#ff9b7a);-webkit-background-clip:text;background-clip:text;color:transparent}
.bh-hero-lede{color:#b9c8e4;font-size:1.02rem;line-height:1.6;margin:0 auto 22px;max-width:58ch}

/* arama */
.bh-search{position:relative;max-width:620px;margin:0 auto;z-index:5}
.bh-search-field{display:flex;align-items:center;gap:10px;height:58px;padding:0 8px 0 18px;border-radius:var(--r-pill);background:rgba(255,255,255,.07);border:1px solid rgba(160,190,255,.3);backdrop-filter:blur(8px);transition:.2s var(--ease-out)}
.bh-search-field:focus-within{background:rgba(255,255,255,.12);border-color:#7fb0ff;box-shadow:0 0 0 4px rgba(80,130,255,.22)}
.bh-search-field>.icon{width:20px;height:20px;color:#8fb3ff;flex:none}
.bh-search input{flex:1;min-width:0;background:none;border:0;outline:0;color:#fff;font:500 1rem var(--font-body)}
.bh-search input::placeholder{color:#7f93b8}
.bh-search-clear{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.1);color:#cdd9f0;display:none;place-items:center;cursor:pointer}
.bh-search-clear.is-on{display:grid}
.bh-search-clear:hover{background:rgba(255,255,255,.2)}
.bh-search-go{flex:none;height:42px;padding:0 18px;border-radius:var(--r-pill);border:0;background:linear-gradient(135deg,var(--brand),#5b8bff);color:#fff;font:700 .88rem var(--font-body);cursor:pointer;display:inline-flex;align-items:center;gap:6px}
.bh-search-go:hover{filter:brightness(1.08)}
.bh-sug{position:absolute;left:0;right:0;top:calc(100% + 10px);background:var(--surface);border:1px solid var(--line);border-radius:18px;box-shadow:var(--sh-lg);overflow:hidden;text-align:left;display:none;max-height:min(58vh,420px);overflow-y:auto}
.bh-sug.is-open{display:block}
.bh-sug-head{padding:10px 16px;font:700 .68rem var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);background:var(--surface-2);border-bottom:1px solid var(--line)}
.bh-sug a{display:flex;gap:12px;align-items:flex-start;padding:11px 16px;border-bottom:1px solid var(--line-2);text-decoration:none}
.bh-sug a:last-child{border-bottom:0}
.bh-sug a:hover,.bh-sug a.is-cur{background:var(--brand-050)}
.bh-sug .s-dot{flex:none;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:hsl(var(--h,218) 70% 94%);color:hsl(var(--h,218) 72% 38%)}
[data-theme="dark"] .bh-sug .s-dot{background:hsl(var(--h,218) 45% 20%);color:hsl(var(--h,218) 80% 74%)}
.bh-sug .s-dot .icon{width:16px;height:16px}
.bh-sug b{display:block;color:var(--ink);font-size:.9rem;font-weight:650;line-height:1.35}
.bh-sug small{color:var(--muted);font-size:.75rem}
.bh-sug mark{background:linear-gradient(transparent 62%,rgba(255,214,0,.55) 0);color:inherit;padding:0 1px}
[data-theme="dark"] .bh-sug mark{background:linear-gradient(transparent 62%,rgba(120,160,255,.4) 0)}
.bh-sug-none{padding:22px 16px;text-align:center;color:var(--muted);font-size:.9rem}

.bh-quick{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:18px}
.bh-quick span{font-size:.78rem;color:#8ea3c6;align-self:center;margin-right:2px}
.bh-quick button{border:1px solid rgba(160,190,255,.26);background:rgba(255,255,255,.05);color:#cfdcf5;border-radius:var(--r-pill);padding:6px 13px;font:600 .8rem var(--font-body);cursor:pointer;transition:.15s}
.bh-quick button:hover{background:rgba(120,160,255,.2);border-color:#7fb0ff;color:#fff}

.bh-stats{display:flex;flex-wrap:wrap;gap:8px 26px;justify-content:center;margin-top:24px;padding-top:20px;border-top:1px solid rgba(150,180,255,.16)}
.bh-stats div{display:flex;align-items:baseline;gap:7px}
.bh-stats b{font:800 1.22rem/1 var(--font-mono);color:#fff;font-variant-numeric:tabular-nums}
.bh-stats span{font-size:.78rem;color:#8ea3c6}

/* ---------- 2. Öğrenme rotaları ---------- */
.bh-paths{padding:clamp(40px,5vw,60px) 0 8px}
.bh-paths-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%, 238px),1fr));gap:16px;margin-top:22px}
.bh-path{position:relative;text-align:left;border:1px solid var(--line);border-radius:18px;background:var(--surface);padding:18px;cursor:pointer;overflow:hidden;transition:.22s var(--ease-out);font:inherit;color:inherit;display:flex;flex-direction:column;gap:10px}
.bh-path::before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,hsl(var(--h) 82% 58%),hsl(calc(var(--h) + 40) 82% 62%))}
.bh-path:hover{transform:translateY(-3px);border-color:hsl(var(--h) 70% 62%);box-shadow:var(--sh-md)}
.bh-path.is-open{border-color:hsl(var(--h) 74% 55%);box-shadow:0 0 0 3px hsl(var(--h) 80% 60%/.16)}
.bh-path-ico{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:hsl(var(--h) 76% 95%);color:hsl(var(--h) 68% 38%)}
[data-theme="dark"] .bh-path-ico{background:hsl(var(--h) 48% 18%);color:hsl(var(--h) 84% 72%)}
.bh-path-ico .icon{width:20px;height:20px}
.bh-path h3{font-size:1.02rem;margin:0;letter-spacing:-.02em;color:var(--ink);line-height:1.3}
.bh-path p{margin:0;font-size:.85rem;color:var(--text);line-height:1.5}
.bh-path-foot{margin-top:auto;display:flex;align-items:center;gap:10px;padding-top:4px}
.bh-prog{flex:1;height:6px;border-radius:3px;background:var(--surface-3);overflow:hidden}
.bh-prog i{display:block;height:100%;width:0;border-radius:3px;background:linear-gradient(90deg,hsl(var(--h) 82% 55%),hsl(calc(var(--h) + 36) 82% 60%));transition:width .5s var(--ease-out)}
.bh-path-foot small{font:700 .72rem var(--font-mono);color:var(--muted);white-space:nowrap}
.bh-path-meta{display:flex;gap:6px;flex-wrap:wrap;font-size:.72rem;color:var(--muted)}
.bh-path-meta i{font-style:normal;background:var(--surface-2);border:1px solid var(--line);border-radius:var(--r-pill);padding:3px 9px}

/* açılan rota paneli */
.bh-path-panel{margin-top:16px;border:1px solid var(--line);border-left:4px solid hsl(var(--h) 76% 56%);border-radius:16px;background:var(--surface);padding:22px clamp(16px,3vw,26px);display:none;animation:bhIn .3s var(--ease-out)}
.bh-path-panel.is-open{display:block}
@keyframes bhIn{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}
.bh-pp-head{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-start;justify-content:space-between;margin-bottom:18px}
.bh-pp-head h3{margin:0 0 6px;font-size:1.24rem;letter-spacing:-.02em;color:var(--ink)}
.bh-pp-head p{margin:0;font-size:.9rem;color:var(--text);max-width:62ch;line-height:1.55}
.bh-pp-out{display:inline-flex;align-items:center;gap:8px;margin-top:10px;font-size:.83rem;font-weight:600;color:hsl(var(--h) 66% 36%);background:hsl(var(--h) 80% 96%);border-radius:10px;padding:8px 12px}
[data-theme="dark"] .bh-pp-out{color:hsl(var(--h) 84% 76%);background:hsl(var(--h) 48% 16%)}
.bh-pp-out .icon{width:16px;height:16px;flex:none}
.bh-pp-close{flex:none;width:34px;height:34px;border-radius:50%;border:1px solid var(--line);background:var(--surface-2);color:var(--muted);display:grid;place-items:center;cursor:pointer}
.bh-pp-close:hover{color:var(--ink);border-color:var(--faint)}
.bh-steps{list-style:none;margin:0;padding:0;display:grid;gap:2px;counter-reset:st}
.bh-step{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 10px;border-radius:12px;position:relative;transition:.15s}
.bh-step:hover{background:var(--surface-2)}
.bh-step::before{content:"";position:absolute;left:27px;top:calc(50% + 18px);bottom:-14px;width:2px;background:var(--line);z-index:0}
.bh-step:last-child::before{display:none}
.bh-step-no{position:relative;z-index:1;width:36px;height:36px;border-radius:50%;flex:none;display:grid;place-items:center;border:2px solid var(--line);background:var(--surface);font:800 .84rem var(--font-mono);color:var(--muted);cursor:pointer;padding:0;transition:.2s}
.bh-step-no:hover{border-color:hsl(var(--h) 70% 58%);color:hsl(var(--h) 66% 44%)}
.bh-step.is-done .bh-step-no{background:hsl(var(--h) 74% 50%);border-color:hsl(var(--h) 74% 50%);color:#fff}
.bh-step.is-done .bh-step-no .icon{width:17px;height:17px}
.bh-step-b a{display:block;font-weight:650;color:var(--ink);font-size:.95rem;line-height:1.35;text-decoration:none}
.bh-step-b a:hover{color:var(--brand)}
.bh-step.is-done .bh-step-b a{color:var(--muted)}
.bh-step-b small{display:block;margin-top:3px;font-size:.76rem;color:var(--muted)}
.bh-step-go{flex:none;color:var(--faint);display:grid;place-items:center;width:32px;height:32px;border-radius:8px}
.bh-step:hover .bh-step-go{color:var(--brand);background:var(--brand-050)}
.bh-pp-foot{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:16px;padding-top:14px;border-top:1px solid var(--line)}
.bh-pp-foot .bh-prog{max-width:220px}

/* ---------- 3. Süzgeç barı ---------- */
.bh-browse{padding:clamp(30px,4vw,44px) 0 clamp(50px,6vw,74px)}
.bh-bar{position:sticky;top:var(--header-h);z-index:30;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(12px);border:1px solid var(--line);border-radius:18px;padding:12px 14px;margin-bottom:24px;box-shadow:var(--sh-sm)}
.bh-bar-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.bh-bar-row+.bh-bar-row{margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}
.bh-cats{display:flex;gap:7px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;flex:1;min-width:0}
.bh-cats::-webkit-scrollbar{display:none}
.bh-cat{flex:none;display:inline-flex;align-items:center;gap:7px;height:36px;padding:0 14px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);color:var(--text);font:600 .83rem var(--font-body);text-decoration:none;cursor:pointer;white-space:nowrap;transition:.15s}
.bh-cat .n{font:700 .7rem var(--font-mono);color:var(--faint)}
.bh-cat:hover{border-color:hsl(var(--h,218) 66% 62%);color:var(--ink)}
.bh-cat.is-active{background:hsl(var(--h,218) 70% 96%);border-color:hsl(var(--h,218) 70% 60%);color:hsl(var(--h,218) 62% 32%)}
.bh-cat.is-active .n{color:hsl(var(--h,218) 60% 44%)}
[data-theme="dark"] .bh-cat.is-active{background:hsl(var(--h,218) 48% 18%);border-color:hsl(var(--h,218) 58% 44%);color:hsl(var(--h,218) 86% 78%)}
[data-theme="dark"] .bh-cat.is-active .n{color:hsl(var(--h,218) 70% 68%)}

.bh-seg{display:inline-flex;border:1px solid var(--line);border-radius:var(--r-pill);background:var(--surface-2);padding:3px;gap:2px}
.bh-seg button{border:0;background:none;border-radius:var(--r-pill);padding:0 10px;height:30px;font:600 .77rem var(--font-body);color:var(--muted);cursor:pointer;white-space:nowrap;transition:.15s}
.bh-seg button:hover{color:var(--ink)}
.bh-seg button[aria-pressed="true"]{background:var(--surface);color:var(--brand);box-shadow:var(--sh-sm)}
.bh-bar label.bh-lbl{font:700 .68rem var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--faint)}
.bh-count{margin-left:auto;font-size:.82rem;color:var(--muted);white-space:nowrap}
.bh-count b{color:var(--ink);font-family:var(--font-mono)}
.bh-saved-btn{margin-left:auto;display:inline-flex;align-items:center;gap:7px;height:34px;padding:0 12px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);color:var(--text);font:600 .82rem var(--font-body);cursor:pointer}
.bh-saved-btn .icon{width:15px;height:15px}
.bh-saved-btn:hover{border-color:var(--signal);color:var(--signal)}
.bh-saved-btn[aria-pressed="true"]{background:var(--signal-050);border-color:var(--signal);color:var(--signal)}
.bh-saved-btn .n{font:700 .72rem var(--font-mono)}
.bh-reset{border:0;background:none;color:var(--brand);font:600 .8rem var(--font-body);cursor:pointer;text-decoration:underline;text-underline-offset:3px;display:none}
.bh-reset.is-on{display:inline}

/* ---------- 4. Kartlar ---------- */
.bh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%, 288px),1fr));gap:22px}
.bh-card{position:relative;display:flex;flex-direction:column;border:1px solid var(--line);border-radius:18px;background:var(--surface);overflow:hidden;transition:transform .25s var(--ease-out),box-shadow .25s var(--ease-out),border-color .2s}
.bh-card:hover{transform:translateY(-4px);box-shadow:var(--sh-md);border-color:hsl(var(--h) 60% 66%)}
.bh-grid .bh-card[hidden]{display:none}
.bh-card.is-read{opacity:.78}
.bh-card.is-read:hover{opacity:1}

/* prosedürel kapak */
.bh-cover{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:linear-gradient(145deg,hsl(var(--h) 76% 54%) 0%,hsl(calc(var(--h) - 12) 70% 38%) 56%,hsl(calc(var(--h) - 22) 64% 27%) 100%)}
.bh-cover::after{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.16) 1px,transparent 1px);background-size:14px 14px;opacity:.55}
.bh-cv-page{position:absolute;left:16px;right:38%;top:20px;bottom:18px;display:flex;flex-direction:column;gap:7px;justify-content:center;z-index:1}
.bh-cv-page i{display:block;height:7px;border-radius:4px;background:rgba(255,255,255,.82)}
.bh-cv-page i:nth-child(1){height:11px;width:var(--w1,72%);background:#fff}
.bh-cv-page i:nth-child(2){width:var(--w2,92%);opacity:.5}
.bh-cv-page i:nth-child(3){width:var(--w3,68%);opacity:.38}
.bh-cv-page i:nth-child(4){width:var(--w4,84%);opacity:.3}
.bh-cv-ico{position:absolute;right:-14px;bottom:-18px;width:132px;height:132px;color:#fff;opacity:.17;z-index:1;transition:transform .5s var(--ease-out)}
.bh-card:hover .bh-cv-ico{transform:scale(1.08) rotate(-6deg)}
.bh-cv-time{position:absolute;left:14px;bottom:12px;z-index:2;display:inline-flex;align-items:center;gap:5px;height:26px;padding:0 10px;border-radius:var(--r-pill);background:rgba(6,14,32,.55);backdrop-filter:blur(6px);color:#fff;font:700 .72rem var(--font-mono);border:1px solid rgba(255,255,255,.18)}
.bh-cv-time .icon{width:12px;height:12px}
.bh-cv-lv{position:absolute;right:12px;top:12px;z-index:2;height:24px;padding:0 10px;border-radius:var(--r-pill);background:rgba(255,255,255,.9);color:#0f1b33;font:700 .68rem var(--font-body);display:inline-flex;align-items:center;letter-spacing:.02em}
.bh-cv-lv.lv-baslangic{background:#d1fadf;color:#065f46}
.bh-cv-lv.lv-orta{background:#dbe7ff;color:#1e40af}
.bh-cv-lv.lv-ileri{background:#ffe4e0;color:#9f1239}

.bh-body{display:flex;flex-direction:column;gap:8px;padding:16px 18px 14px;flex:1}
.bh-kick{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:.75rem;color:var(--muted)}
.bh-kick .c{font-weight:700;color:hsl(var(--h) 62% 40%)}
[data-theme="dark"] .bh-kick .c{color:hsl(var(--h) 80% 72%)}
.bh-kick time{font-family:var(--font-mono);font-size:.72rem}
.bh-card h3{margin:0;font-size:1.03rem;line-height:1.35;letter-spacing:-.02em}
.bh-card h3 a{color:var(--ink);text-decoration:none;display:block}
.bh-card:hover h3 a{color:var(--brand)}
.bh-card p{margin:0;font-size:.87rem;line-height:1.55;color:var(--text);display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bh-foot{display:flex;align-items:center;gap:9px;margin-top:auto;padding:11px 18px;border-top:1px solid var(--line-2)}
.bh-foot .avatar,.bh-foot svg.avatar{flex:none}
.bh-foot .who{font-size:.79rem;color:var(--ink-2);font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bh-save{margin-left:auto;flex:none;width:34px;height:34px;border-radius:10px;border:1px solid var(--line);background:var(--surface);color:var(--faint);display:grid;place-items:center;cursor:pointer;transition:.15s}
.bh-save:hover{color:var(--signal);border-color:var(--signal)}
.bh-save[aria-pressed="true"]{background:var(--signal-050);border-color:var(--signal);color:var(--signal)}
.bh-save .icon{width:16px;height:16px}
.bh-readmark{position:absolute;left:12px;top:12px;z-index:3;display:none;align-items:center;gap:5px;height:24px;padding:0 9px;border-radius:var(--r-pill);background:rgba(16,185,129,.94);color:#fff;font:700 .68rem var(--font-body)}
.bh-readmark .icon{width:12px;height:12px}
.bh-card.is-read .bh-readmark{display:inline-flex}

/* liste görünümü */
.bh-grid.view-list{grid-template-columns:minmax(0,1fr);gap:12px}
.bh-grid.view-list .bh-card{flex-direction:row;align-items:stretch}
.bh-grid.view-list .bh-cover{width:216px;flex:none;aspect-ratio:auto}
.bh-grid.view-list .bh-cv-ico{width:96px;height:96px}
.bh-grid.view-list .bh-body{padding:16px 20px}
.bh-grid.view-list .bh-foot{border-top:0;padding:0 20px 16px}
.bh-grid.view-list .bh-card p{-webkit-line-clamp:2;line-clamp:2}
@media (max-width:640px){.bh-grid.view-list .bh-card{flex-direction:column}.bh-grid.view-list .bh-cover{width:auto;aspect-ratio:16/9}}

.bh-more{display:flex;justify-content:center;margin-top:28px}
.bh-more[hidden],.bh-empty[hidden]{display:none}
.bh-empty{text-align:center;padding:56px 20px;border:1px dashed var(--line);border-radius:18px;color:var(--muted)}
.bh-empty .icon{width:38px;height:38px;color:var(--faint);margin-bottom:10px}
.bh-empty h3{margin:0 0 6px;color:var(--ink);font-size:1.1rem}
.bh-empty p{margin:0 0 14px;font-size:.9rem}

/* ---------- 5. Alt bantlar ---------- */
.bh-news{margin-top:clamp(40px,5vw,60px);border-radius:22px;background:linear-gradient(135deg,var(--navy),var(--navy-3));color:#fff;padding:clamp(26px,4vw,40px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:26px;align-items:center;position:relative;overflow:hidden}
.bh-news::before{content:"";position:absolute;right:-60px;top:-60px;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(90,140,255,.35),transparent 70%)}
.bh-news>*{position:relative;z-index:1}
.bh-news .eyebrow-mono{color:#9fc0ff}
.bh-news h3{color:#fff;font-size:clamp(1.2rem,2.4vw,1.6rem);letter-spacing:-.02em;margin:8px 0 8px}
.bh-news p{color:#b9c8e4;margin:0;font-size:.92rem;line-height:1.55}
.bh-news form{display:flex;gap:8px;flex-wrap:wrap}
.bh-news .input{flex:1;min-width:180px;background:rgba(255,255,255,.1);border-color:rgba(160,190,255,.3);color:#fff}
.bh-news .input::placeholder{color:#8ea3c6}
.bh-news small{display:block;margin-top:10px;color:#8ea3c6;font-size:.76rem}
@media (max-width:800px){.bh-news{grid-template-columns:minmax(0,1fr)}}

.bh-tagcloud{margin-top:26px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.bh-tagcloud>span{font:700 .68rem var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--faint);margin-right:4px}

/* ---------- 6. Detay sayfası eklentileri ---------- */
.bd-series{display:flex;flex-wrap:wrap;align-items:center;gap:12px;max-width:1040px;margin:0 auto 22px;padding:12px 16px;border:1px solid var(--line);border-left:4px solid hsl(var(--h,218) 74% 56%);border-radius:14px;background:var(--surface-2)}
.bd-series .s-ico{width:34px;height:34px;border-radius:10px;flex:none;display:grid;place-items:center;background:hsl(var(--h,218) 76% 94%);color:hsl(var(--h,218) 66% 38%)}
[data-theme="dark"] .bd-series .s-ico{background:hsl(var(--h,218) 46% 18%);color:hsl(var(--h,218) 82% 74%)}
.bd-series .s-txt{min-width:0;flex:1}
.bd-series .s-txt b{display:block;font-size:.92rem;color:var(--ink)}
.bd-series .s-txt small{font-size:.78rem;color:var(--muted)}
.bd-series .s-dots{display:flex;gap:4px;flex-wrap:wrap}
.bd-series .s-dots i{width:22px;height:6px;border-radius:3px;background:var(--line);display:block}
.bd-series .s-dots i.is-done{background:hsl(var(--h,218) 70% 60%)}
.bd-series .s-dots i.is-cur{background:var(--signal)}

.bd-tldr{margin:0 0 26px;padding:18px 20px;border-radius:16px;background:var(--brand-050);border:1px solid var(--brand-100);position:relative}
.bd-tldr h2{font-size:.72rem!important;font-family:var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--brand);margin:0 0 10px!important;padding:0!important;border:0!important}
.bd-tldr ul{margin:0;padding-left:20px;display:grid;gap:7px}
.bd-tldr li{font-size:.93rem;line-height:1.55;color:var(--ink-2)}

.bd-meterbar{position:fixed;left:max(14px,calc((100vw - var(--container))/2 - 60px));bottom:26px;z-index:40;display:none;flex-direction:column;gap:8px;align-items:center}
@media (min-width:1180px){.bd-meterbar{display:flex}}
.bd-meter{width:46px;height:46px;border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh);display:grid;place-items:center;position:relative}
.bd-meter svg{width:46px;height:46px;transform:rotate(-90deg)}
.bd-meter circle{fill:none;stroke-width:3}
.bd-meter .trk{stroke:var(--line)}
.bd-meter .val{stroke:var(--brand);stroke-linecap:round;transition:stroke-dashoffset .2s linear}
.bd-meter b{position:absolute;font:700 .66rem var(--font-mono);color:var(--ink)}
.bd-mini{width:46px;height:46px;border-radius:50%;background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh);color:var(--muted);display:grid;place-items:center;cursor:pointer;transition:.15s}
.bd-mini:hover{color:var(--brand);border-color:var(--brand)}
.bd-mini[aria-pressed="true"]{background:var(--signal-050);border-color:var(--signal);color:var(--signal)}

.bd-helpful{margin-top:26px;padding:20px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2);text-align:center}
.bd-helpful b{display:block;color:var(--ink);font-size:1rem;margin-bottom:4px}
.bd-helpful p{margin:0 0 14px;font-size:.86rem;color:var(--muted)}
.bd-helpful-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.bd-helpful-btns button{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 20px;border-radius:var(--r-pill);border:1px solid var(--line);background:var(--surface);color:var(--ink-2);font:650 .88rem var(--font-body);cursor:pointer;transition:.15s}
.bd-helpful-btns button:hover{border-color:var(--brand);color:var(--brand);transform:translateY(-2px)}
.bd-helpful-btns button.is-sel{background:var(--brand);border-color:var(--brand);color:#fff}
.bd-helpful-btns .icon{width:17px;height:17px}
.bd-helpful-done{font-size:.9rem;color:var(--mint);font-weight:600}

.bd-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:26px}
.bd-next a{display:flex;flex-direction:column;gap:5px;padding:16px 18px;border:1px solid var(--line);border-radius:14px;background:var(--surface);text-decoration:none;transition:.18s}
.bd-next a:hover{border-color:var(--brand);transform:translateY(-2px);box-shadow:var(--sh-sm)}
.bd-next .k{font:700 .68rem var(--font-mono);letter-spacing:.1em;text-transform:uppercase;color:var(--muted);display:flex;align-items:center;gap:6px}
.bd-next .k .icon{width:13px;height:13px}
.bd-next b{color:var(--ink);font-size:.94rem;line-height:1.35;font-weight:650}
.bd-next a:hover b{color:var(--brand)}
.bd-next .nx{text-align:right}
.bd-next .nx .k{justify-content:flex-end}
@media (max-width:640px){.bd-next{grid-template-columns:minmax(0,1fr)}.bd-next .nx{text-align:left}.bd-next .nx .k{justify-content:flex-start}}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .bh-river{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bh-river-col:nth-child(3){display:none}
  .bh-bar{position:static;backdrop-filter:none}
  .bh-count{margin-left:0;width:100%}
}
@media (max-width:560px){
  .bh-search-field{height:52px;padding-left:14px}
  .bh-search-go{padding:0 13px}
  .bh-search-go .t{display:none}
  .bh-stats{gap:8px 18px}
  .bh-stats b{font-size:1.05rem}
  .bh-paths-grid{grid-template-columns:minmax(0,1fr)}
  .bh-grid{grid-template-columns:minmax(0,1fr)}
}

/* ---------- 7. Detay: editoryal başlık bandı ---------- */
.bd-top{position:relative;overflow:hidden;padding:clamp(24px,4vw,44px) 0 clamp(22px,3vw,34px);margin-bottom:clamp(20px,3vw,30px);
  background:linear-gradient(180deg,hsl(var(--h,218) 70% 97%) 0%,var(--bg) 100%);border-bottom:1px solid var(--line)}
[data-theme="dark"] .bd-top{background:linear-gradient(180deg,hsl(var(--h,218) 42% 13%) 0%,var(--bg) 100%)}
.bd-top::before{content:"";position:absolute;right:-4%;top:-40%;width:min(420px,46vw);height:min(420px,46vw);border-radius:50%;
  background:radial-gradient(circle,hsl(var(--h,218) 80% 62%/.20),transparent 68%);pointer-events:none}
.bd-top>.container{position:relative;z-index:1}
.bd-top-in{max-width:880px;margin:0 auto;text-align:center}
.bd-catline{display:inline-flex;align-items:center;gap:9px;padding:6px 14px 6px 8px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh-sm);font:700 .8rem var(--font-body);
  color:hsl(var(--h,218) 62% 36%);text-decoration:none;margin-bottom:14px}
[data-theme="dark"] .bd-catline{color:hsl(var(--h,218) 82% 74%)}
.bd-catline:hover{border-color:hsl(var(--h,218) 66% 60%)}
.bd-catline .ci{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:hsl(var(--h,218) 74% 93%);color:hsl(var(--h,218) 64% 36%)}
[data-theme="dark"] .bd-catline .ci{background:hsl(var(--h,218) 46% 20%);color:hsl(var(--h,218) 84% 74%)}
.bd-catline .ci .icon{width:15px;height:15px}
.bd-facts{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:16px}
.bd-facts span{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:var(--r-pill);
  background:var(--surface);border:1px solid var(--line);font-size:.78rem;color:var(--muted)}
.bd-facts span .icon{width:13px;height:13px;color:var(--faint)}
.bd-facts b{color:var(--ink-2);font-weight:650}
.bd-facts .lv-baslangic{background:var(--success-050);border-color:transparent;color:#0f7a4f}
.bd-facts .lv-orta{background:var(--brand-050);border-color:transparent;color:var(--brand-700)}
.bd-facts .lv-ileri{background:var(--signal-050);border-color:transparent;color:var(--signal-600)}
[data-theme="dark"] .bd-facts .lv-baslangic{color:#5eead4}
[data-theme="dark"] .bd-facts .lv-orta{color:#93b4ff}
[data-theme="dark"] .bd-facts .lv-ileri{color:#ffab90}

/* yazıda ne var — yatay çipler (mobil TOC) */
.bd-inthis{max-width:1040px;margin:0 auto 26px;padding:14px 16px;border:1px solid var(--line);border-radius:16px;background:var(--surface-2)}
.bd-inthis>b{display:flex;align-items:center;gap:8px;font:700 .68rem var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin-bottom:10px}
.bd-inthis>b .icon{width:14px;height:14px;color:var(--brand)}
.bd-inthis-chips{display:flex;flex-wrap:wrap;gap:7px}
.bd-inthis-chips a{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:var(--r-pill);background:var(--surface);
  border:1px solid var(--line);font-size:.8rem;color:var(--text);text-decoration:none;transition:.15s}
.bd-inthis-chips a:hover{border-color:var(--brand);color:var(--brand)}
.bd-inthis-chips a i{font-style:normal;font-family:var(--font-mono);font-size:.7rem;color:var(--faint)}
@media (min-width:1000px){.bd-inthis{display:none}}

/* ---------- 8. Yazı gövdesi: tablo, liste ve vurgu düzeni ---------- */
.bd-body h2{font-size:clamp(1.32rem,2.4vw,1.65rem);letter-spacing:-.02em;color:var(--ink);margin:38px 0 12px;padding-top:6px;position:relative}
.bd-body h2::before{content:"";position:absolute;left:0;top:-10px;width:44px;height:3px;border-radius:2px;background:linear-gradient(90deg,hsl(var(--h,218) 76% 56%),hsl(calc(var(--h,218) + 40) 76% 60%))}
.bd-body h2:first-child{margin-top:0}
.bd-body h3{font-size:1.1rem;color:var(--ink);margin:26px 0 8px;letter-spacing:-.01em}
.bd-body>p:first-of-type{font-size:1.1rem;color:var(--ink-2)}
.bd-body strong{color:var(--ink)}
.bd-body ul>li::marker{color:hsl(var(--h,218) 70% 52%)}
.bd-body ol>li::marker{color:hsl(var(--h,218) 68% 46%);font-weight:700}
.bd-body blockquote{border-left-color:hsl(var(--h,218) 74% 56%)}

/* Tablolar: kart görünümü, mobilde yatay kaydırma */
.bd-body table{width:100%;border-collapse:separate;border-spacing:0;margin:22px 0;font-size:.93rem;
  border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--surface)}
.bd-body thead th{background:var(--surface-2);color:var(--ink);font-weight:700;font-size:.82rem;letter-spacing:.01em;
  text-align:left;padding:11px 14px;border-bottom:1px solid var(--line);vertical-align:bottom}
.bd-body tbody td,.bd-body tbody th{padding:11px 14px;border-bottom:1px solid var(--line-2);vertical-align:top;color:var(--text)}
.bd-body tbody th{text-align:left;color:var(--ink-2);font-weight:650}
.bd-body tbody tr:last-child td,.bd-body tbody tr:last-child th{border-bottom:0}
.bd-body tbody tr:nth-child(even) td,.bd-body tbody tr:nth-child(even) th{background:color-mix(in srgb,var(--surface-2) 55%,transparent)}
.bd-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:22px 0;border-radius:14px}
.bd-table-wrap table{margin:0;min-width:520px}
.bd-table-wrap:focus-visible{outline:2px solid var(--brand);outline-offset:2px}
.bd-table-hint{display:none;font-size:.76rem;color:var(--muted);margin:-14px 0 18px}
@media (max-width:760px){.bd-table-hint{display:block}}

/* Kod ve satır içi vurgular */
.bd-body code{background:var(--surface-3);border-radius:6px;padding:2px 6px;font:600 .88em var(--font-mono);color:var(--ink-2)}
.bd-body pre{background:var(--navy);color:#dbe4fb;padding:16px 18px;border-radius:14px;overflow-x:auto;font:.86rem/1.6 var(--font-mono);margin:20px 0}
.bd-body pre code{background:none;color:inherit;padding:0}
.bd-body hr{border:0;border-top:1px solid var(--line);margin:30px 0}
.bh-trunc{flex-basis:100%;margin:6px 0 0;font-size:.78rem;color:var(--muted)}

/* Rota şeridi — dar ekranda ızgaraya geçsin (esnek kutuda metin sütunu eziliyordu) */
@media (max-width:900px){
  .bd-series{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 12px;align-items:center;padding:14px}
  .bd-series .s-ico{grid-column:1;grid-row:1;align-self:start}
  .bd-series .s-txt{grid-column:2;grid-row:1}
  .bd-series .s-txt b{font-size:.88rem;line-height:1.35}
  .bd-series .s-dots{grid-column:1/-1}
  .bd-series .s-dots i{width:100%;max-width:32px;flex:1}
  .bd-series .btn{grid-column:1/-1;justify-content:center;width:100%}
}

/* Süzgeç barı: sayaç ve görünüm anahtarı kategori şeridinden ayrılsın */
.bh-count{flex:none;border-left:1px solid var(--line);padding-left:14px;margin-left:14px}
.bh-seg--view{flex:none}
.bh-cats{position:relative;-webkit-mask-image:linear-gradient(90deg,#000 0,#000 92%,transparent);mask-image:linear-gradient(90deg,#000 0,#000 92%,transparent)}
@media (max-width:900px){
  .bh-count{border-left:0;padding-left:0;margin-left:0;order:3}
  .bh-seg--view{order:2;margin-left:auto}
  .bh-cats{-webkit-mask-image:none;mask-image:none}
}

/* Rota kartı: başlık artık <h3><button> — düğme kart yüzeyini kaplasın */
.bh-path{cursor:default}
.bh-path h3{margin:0}
.bh-path-toggle{all:unset;display:block;cursor:pointer;font:inherit;color:var(--ink);font-size:1.02rem;
  font-weight:700;letter-spacing:-.02em;line-height:1.3}
.bh-path-toggle::after{content:"";position:absolute;inset:0;border-radius:18px}
.bh-path-toggle:focus-visible::after{outline:2px solid var(--brand);outline-offset:2px}
.bh-path:hover .bh-path-toggle{color:hsl(var(--h) 62% 40%)}
[data-theme="dark"] .bh-path:hover .bh-path-toggle{color:hsl(var(--h) 82% 74%)}
/* Kontrast: bilgi taşıyan sayaç ve tek göstergeli buton --muted olmalı */
.bh-cat .n{color:var(--muted)}
.bh-save{color:var(--muted)}
.bh-step-go{color:var(--muted)}

/* =====================================================================
   Blog → ürün iç bağlantısı ("Bu yazıyla ilgili hazır scriptler")
   ===================================================================== */
.bd-products{border-top:1px solid var(--line);padding-top:30px}
.bd-products-head{max-width:60ch;margin-bottom:22px}
.bd-products-head .eyebrow-mono{display:block;margin-bottom:8px}
.bd-products-head .pg-h2{margin:0 0 8px}
.bd-products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,290px),1fr));gap:16px}
.bdp{
  display:flex;flex-direction:column;overflow:hidden;text-decoration:none;
  background:var(--bg);border:1px solid var(--line);border-radius:var(--r-lg);
  transition:transform .2s var(--ease),border-color .2s,box-shadow .2s;
}
.bdp:hover{transform:translateY(-3px);border-color:var(--brand-200);box-shadow:var(--sh-md)}
.bdp-img{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--bg-soft)}
.bdp-img img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.bdp-body{display:flex;flex-direction:column;gap:5px;padding:15px 16px 16px;flex:1}
.bdp-cat{font:600 .7rem var(--font-mono);letter-spacing:.04em;color:var(--brand);text-transform:uppercase}
.bdp-body b{font:800 .98rem/1.3 var(--font-display);color:var(--ink)}
.bdp-body small{font-size:.82rem;line-height:1.55;color:var(--muted);flex:1}
.bdp-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}
.bdp-foot .price-mono{font-weight:800;color:var(--ink)}
.bdp-go{
  width:28px;height:28px;border-radius:50%;display:grid;place-items:center;
  background:var(--brand-050);color:var(--brand);transition:.2s var(--ease);
}
.bdp:hover .bdp-go{background:var(--brand);color:#fff;transform:translateX(2px)}
[data-theme="dark"] .bdp{background:var(--bg);border-color:var(--line)}
[data-theme="dark"] .bdp-go{background:rgba(37,99,235,.16)}
@media (prefers-reduced-motion:reduce){.bdp,.bdp-go{transition:none}.bdp:hover{transform:none}}

/* =====================================================================
   Yazar profili (/yazar/{slug})
   ===================================================================== */
.au-wrap{display:grid;grid-template-columns:minmax(0,280px) minmax(0,1fr);gap:36px;align-items:start}
.au-card{
  position:sticky;top:calc(var(--header-h) + 20px);text-align:center;
  background:var(--bg);border:1px solid var(--line);border-radius:var(--r-xl);
  padding:26px 22px;box-shadow:var(--sh);
}
.au-photo{width:120px;height:120px;border-radius:50%;object-fit:cover;display:block;margin:0 auto 14px}
.au-photo--ph{display:grid;place-items:center;background:var(--bg-soft)}
.au-name{display:block;font:800 1.1rem var(--font-display);color:var(--ink)}
.au-role{display:block;font:600 .82rem var(--font-body);color:var(--brand);margin-top:4px}
.au-bio{font-size:.86rem;line-height:1.65;color:var(--text);margin-top:14px;text-align:left}
.au-links{display:flex;justify-content:center;gap:8px;margin-top:18px}
.au-links a{
  width:38px;height:38px;border-radius:10px;display:grid;place-items:center;
  background:var(--bg-soft);border:1px solid var(--line-2);color:var(--muted);transition:.16s;
}
.au-links a:hover{background:var(--brand);border-color:var(--brand);color:#fff}
.au-links .icon{width:18px;height:18px}
.au-list .section-head{margin-bottom:20px}

/* Yazı altındaki yazar künyesi bağlantısı */
.bd-author a{color:inherit;text-decoration:none;border-bottom:1px solid transparent;transition:.15s}
.bd-author a:hover{color:var(--brand);border-bottom-color:currentColor}

[data-theme="dark"] .au-card{background:var(--bg);border-color:var(--line)}
[data-theme="dark"] .au-links a{background:rgba(255,255,255,.05);border-color:var(--line)}
@media (max-width:900px){
  .au-wrap{grid-template-columns:minmax(0,1fr);gap:24px}
  .au-card{position:static;display:grid;grid-template-columns:auto minmax(0,1fr);gap:0 18px;text-align:left;align-items:center}
  .au-photo{width:84px;height:84px;margin:0;grid-row:span 2}
  .au-bio{grid-column:2;margin-top:8px}
  .au-links{grid-column:2;justify-content:flex-start;margin-top:12px}
}
