/* KW Qurbani: styles for the blog grid (blogs.html) and single posts (/blogs/your-post). Loaded after style.css, uses the same colours. */
.bgrid{grid-template-columns:repeat(auto-fill,minmax(285px,1fr))}
.bgrid .pc .ph{height:auto;aspect-ratio:16/10}
.bgrid .pc .b{display:flex;flex-direction:column;flex:1}.bgrid .pc .b .btn{margin-top:auto;align-self:flex-start}
.bc .ph{height:auto;aspect-ratio:16/10;text-decoration:none;display:block}
.bc .ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.bc .bph{position:absolute;inset:0;display:grid;place-items:center;font-size:4.5rem}
.bc .b{display:flex;flex-direction:column;gap:2px;flex:1;padding:18px 20px 22px}
.bc .b .btn{align-self:flex-start;margin-top:auto}
.bc h3{font-size:1.18rem;line-height:1.25;margin:2px 0 8px}
.bc h3 a{text-decoration:none;color:inherit}.bc h3 a:hover{color:var(--g)}
.bc .bm{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 4px;font-size:.82rem;color:var(--muted)}
.bc .bcat{background:var(--cream);color:var(--gd);font-weight:700;padding:2px 10px;border-radius:99px}
.bc .bx{color:var(--muted);font-size:.96rem;margin:0 0 16px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .bc .bcat{color:var(--ink)}}
:root[data-theme="dark"] .bc .bcat{color:var(--ink)}
/* pager */
.bpg{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:36px}
.bpg a,.bpg span{min-width:42px;height:42px;display:inline-grid;place-items:center;padding:0 12px;border-radius:99px;border:1px solid var(--line);text-decoration:none;font-weight:700}
.bpg a:hover{border-color:var(--g);color:var(--g)}.bpg span{background:var(--g);border-color:var(--g);color:#fff}
/* single post */
.bpb{padding-bottom:56px}.bpb h1{max-width:900px;margin:0 auto 14px;font-size:clamp(1.9rem,4.4vw,3rem)}
.bcr{font-size:.88rem;opacity:.9;margin-bottom:18px}.bcr a{text-decoration:none;border-bottom:1px solid rgba(255,255,255,.4)}.bcr span{opacity:.7;margin:0 3px}
.bmeta{opacity:.92;margin:0;font-size:.95rem}
.bart{padding-top:48px}.bart .prose{max-width:780px}
.bhero{margin:0 0 30px;border-radius:18px;overflow:hidden;box-shadow:0 10px 28px rgba(10,50,30,.14)}
.bhero img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.bbody{font-size:1.06rem;line-height:1.8}
.bbody h2{font-size:1.65rem;margin:1.7em 0 .5em}.bbody h3{font-size:1.3rem;margin:1.5em 0 .4em}.bbody h4{font-size:1.1rem;margin:1.3em 0 .3em}
.bbody a{color:var(--g);font-weight:600;text-underline-offset:3px}
.bbody ul,.bbody ol{padding-left:1.3em;margin:0 0 1.2em}.bbody li{margin-bottom:.4em}
.bbody blockquote{margin:1.4em 0;padding:14px 20px;border-left:5px solid var(--g);background:var(--cream);border-radius:0 12px 12px 0;font-style:italic}
.bbody img{max-width:100%;height:auto;border-radius:14px;display:block;margin:1.2em auto}
.bbody hr{border:0;border-top:1px solid var(--line);margin:2em 0}
.btags{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:28px 0 0}
.btags li{background:var(--cream);border-radius:99px;padding:3px 12px;font-size:.84rem;font-weight:600;color:var(--muted)}
.bcta{margin-top:40px;padding:26px;border-radius:18px;background:var(--cream);border:1px solid var(--line)}.bcta h2{font-size:1.4rem;margin-bottom:.3em}.bcta .row{margin-top:16px}
.bprev{position:fixed;left:0;right:0;bottom:0;z-index:60;background:#f2b632;color:#201400;text-align:center;padding:10px 16px;font-weight:600;font-size:.92rem}
