/* Blog listesi + yazı sayfası (HK) */

/* Kategori filtresi */
.bl-filter{display:flex;flex-wrap:wrap;gap:10px;margin:-24px 0 48px}
.hk .bl-filter button{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px;border:2px solid #000;border-radius:24px;font-size:15px;font-weight:600;transition:background .2s,color .2s}
.bl-filter button span{font-size:12px;font-weight:700;min-width:22px;height:22px;border-radius:11px;display:inline-grid;place-items:center;background:#000;color:#fff;padding:0 6px}
.hk .bl-filter button:hover,.hk .bl-filter button.on{background:#000;color:#fff}
.bl-filter button.on span,.bl-filter button:hover span{background:var(--hk-accent)}
.bl-filter button:focus-visible{outline:3px solid var(--hk-accent);outline-offset:2px}
.bl-empty{font-size:17px;color:var(--hk-muted);padding:40px 0}

/* Kartlar: kalın çerçeveli bento */
.bl-list{gap:28px}
.hk .bl-list .az-post{gap:0;border:3px solid #000;background:#fff;transition:background .25s,color .25s}
.bl-list .az-post .ph{border-radius:0;border-bottom:3px solid #000;position:relative}
.bl-list .az-post .bd{display:flex;flex-direction:column;gap:12px;padding:26px 26px 24px;flex:1}
.bl-list .az-post .cat{text-transform:uppercase;letter-spacing:1.4px;font-size:12px;font-weight:700}
.bl-list .az-post .mt{gap:0;margin-top:2px}
.bl-list .az-post .mt>*+*::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;margin:0 10px 2px;opacity:.6;vertical-align:middle}
.bl-list .az-post .more{margin-top:auto;padding-top:14px;display:inline-flex;align-items:center;gap:10px;font-weight:600;font-size:15px}
.bl-list .az-post .more .hk-arrow{background:#000;color:#fff;width:32px;height:32px;transition:background .2s,transform .3s}
.hk .bl-list a.az-post:hover{background:#000;color:#fff}
.bl-list a.az-post:hover p,.bl-list a.az-post:hover .mt{color:#bbb}
.bl-list a.az-post:hover .more .hk-arrow{background:var(--hk-accent);transform:translateX(3px)}
.bl-list a.az-post:focus-visible{outline:3px solid var(--hk-accent);outline-offset:3px}

/* Öne çıkan yazı */
.az-posts.bl-list .az-post.feat{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:0;align-items:stretch}
.bl-list .az-post.feat .ph{aspect-ratio:auto;min-height:420px;border-bottom:0;border-right:3px solid #000}
.bl-list .az-post.feat .bd{padding:44px 44px 40px;justify-content:center;gap:18px}
.bl-list .az-post.feat h2{font-size:clamp(28px,2.8vw,44px);line-height:1.1;letter-spacing:-.6px}
.bl-list .az-post.feat p{font-size:17px;line-height:1.65}
.bl-list .az-post.feat .more{margin-top:10px}
.bl-list .az-post.feat .ph::after{content:"";position:absolute;left:0;top:0;width:96px;height:8px;background:var(--hk-accent)}

/* Yazı sayfası */
.bp-sec{padding-top:88px}
.az-article.no-toc{grid-template-columns:minmax(0,760px)}
.az-article.no-toc .bp-side{display:none}
.bp-side{position:sticky;top:150px;display:flex;flex-direction:column;gap:28px}
.bp-side .az-toc{position:static;border-top:3px solid #000;padding-top:20px}
.az-toc a{display:flex;gap:12px}
.az-toc a span{font-size:12px;font-weight:700;color:var(--hk-accent);padding-top:2px;flex:none}
.az-toc a.on{font-weight:600}
.bp-back{display:inline-flex;align-items:center;gap:12px;font-size:15px;font-weight:600}
.bp-back .hk-arrow{width:34px;height:34px;background:#000;color:#fff;transform:rotate(180deg);transition:background .2s}
.bp-back:hover .hk-arrow{background:var(--hk-accent)}
.bp-meta li{border-color:rgba(255,255,255,.35)!important}

/* Makale tipografisi */
.bp-prose{counter-reset:bp;font-size:19px;line-height:1.78;color:#1d1d1d}
.bp-prose>p:first-child{font-size:22px;line-height:1.6;color:#000;font-weight:500}
.bp-prose h2{border-top:3px solid #000;padding-top:22px;margin-top:2.2em}
.bp-prose h2::before{counter-increment:bp;content:counter(bp,decimal-leading-zero);display:block;font-size:14px;letter-spacing:1.5px;color:var(--hk-accent);margin-bottom:10px}
.bp-prose h2+p{margin-top:.8em}
.bp-prose p strong:first-child{color:#000}
.bp-prose a{font-weight:600}
.bp-prose a:hover{color:#000}
.bp-foot{display:grid;grid-template-columns:auto 1fr;gap:8px 24px;margin-top:3em!important;padding-top:22px;border-top:3px solid #000;font-size:15px;line-height:1.5}
.bp-foot span{font-size:12px;font-weight:700;letter-spacing:1.4px;text-transform:uppercase;color:var(--hk-muted);padding-top:2px}
.bp-foot b{font-weight:600;color:#000}

@media (max-width:1100px){
  .az-posts.bl-list .az-post.feat{grid-column:1/-1;grid-template-columns:1fr}
  .bl-list .az-post.feat .ph{min-height:0;aspect-ratio:16/9;border-right:0;border-bottom:3px solid #000}
  .bl-list .az-post.feat .bd{padding:30px 28px 28px}
  .bp-side{position:static;gap:20px}
  .bp-side .az-toc{border:3px solid #000;padding:20px 22px 12px}
  .az-article{gap:44px}
}
@media (max-width:700px){
  .bl-filter{margin:-16px 0 32px;gap:8px}
  .hk .bl-filter button{height:40px;padding:0 14px;font-size:14px}
  .bl-list{gap:20px}
  .bl-list .az-post .bd{padding:22px 20px 20px}
  .bl-list .az-post.feat .bd{padding:24px 20px 22px}
  .bl-list .az-post.feat h2{font-size:28px}
  .bl-list .az-post.feat p{font-size:16px}
  .bl-list .az-post h3{font-size:21px}
  .bp-sec{padding-top:48px}
  .bp-prose{font-size:17px;line-height:1.75}
  .bp-prose>p:first-child{font-size:19px}
  .bp-prose h2{font-size:25px;padding-top:18px}
  .bp-back{order:-1}
}
