/* Steel Shakti - shared blog components (listing + single post) */
:root{--bp-p:#15803d;--bp-pl:#22c55e;--bp-txt:#0f172a;--bp-mut:#64748b;--bp-brd:#e2e8f0;--bp-bg:#f8fafc;}

/* Main / sidebar */
.blog-main{background:var(--bp-bg)}
.blog-widget{background:#fff;border:1px solid var(--bp-brd);border-radius:16px;padding:1.2rem 1.3rem;box-shadow:0 4px 16px rgba(15,23,42,.05)}
.blog-widget+.blog-widget{margin-top:1.1rem}
.blog-widget h3{font-size:.82rem;font-weight:800;text-transform:uppercase;letter-spacing:.8px;color:var(--bp-p);border-bottom:2px solid #dcfce7;padding-bottom:.5rem;margin:0 0 .8rem;display:flex;align-items:center;gap:8px}
.blog-widget h3 i{font-size:.95rem}

/* Filter chips */
.blog-chips{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.chip{display:inline-flex;align-items:center;gap:7px;background:#fff;color:var(--bp-txt);border:1px solid var(--bp-brd);border-radius:999px;padding:.32rem .8rem;font-size:.78rem;font-weight:700;text-decoration:none}
.chip i{color:var(--bp-p)}
.chip .x{color:#dc2626;font-weight:800;cursor:pointer}
.chip .x:hover{color:#b91c1c}

/* Post cards */
.blog-card{background:#fff;border:1px solid var(--bp-brd);border-radius:16px;overflow:hidden;height:100%;display:flex;flex-direction:column;box-shadow:0 4px 16px rgba(15,23,42,.05);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,23,42,.12);border-color:#86efac}
.blog-card-img{position:relative;aspect-ratio:16/9;overflow:hidden;background:#f1f5f9;display:block}
.blog-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .5s ease}
.blog-card:hover .blog-card-img img{transform:scale(1.06)}
.blog-card-img .img-badge{position:absolute;top:12px;left:12px;z-index:2}
.blog-card-body{padding:1.2rem 1.3rem;display:flex;flex-direction:column;flex:1}
.blog-card-title{font-size:1.12rem;font-weight:800;line-height:1.35;margin:0 0 .4rem}
.blog-card-title a{color:var(--bp-txt);text-decoration:none}
.blog-card:hover .blog-card-title a{color:var(--bp-p)}
.blog-meta{font-size:.78rem;color:var(--bp-mut);display:flex;flex-wrap:wrap;gap:4px 14px;margin-bottom:.5rem}
.blog-meta a{color:var(--bp-p);text-decoration:none;font-weight:600}
.blog-excerpt{color:#334155;font-size:.92rem;line-height:1.65;margin:0 0 1rem}
.blog-card-link{margin-top:auto;font-weight:700;font-size:.88rem;color:var(--bp-p);text-decoration:none;display:inline-flex;align-items:center;gap:7px}
.blog-card-link i{transition:transform .2s ease}
.blog-card-link:hover i{transform:translateX(4px)}
.cat-badge{display:inline-flex;align-items:center;gap:5px;background:rgba(21,128,61,.92);color:#fff;padding:.25rem .7rem;border-radius:999px;font-size:.72rem;font-weight:700}

/* Sidebar lists */
.blog-cat-list{list-style:none;margin:0;padding:0}
.blog-cat-list li a{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:.45rem .1rem;color:#334155;text-decoration:none;font-size:.9rem;font-weight:600;border-bottom:1px dashed #eef2f7}
.blog-cat-list li:last-child a{border-bottom:none}
.blog-cat-list li a:hover{color:var(--bp-p)}
.blog-cat-list .cnt{background:#f0fdf4;color:var(--bp-p);border:1px solid #bbf7d0;border-radius:999px;font-size:.7rem;font-weight:800;padding:.06rem .55rem;min-width:26px;text-align:center;flex-shrink:0}
.recent-item{display:flex;gap:12px;align-items:center;padding:.45rem 0;text-decoration:none}
.recent-item+.recent-item{border-top:1px dashed #eef2f7}
.recent-thumb{width:64px;height:48px;border-radius:9px;object-fit:cover;background:#f1f5f9;flex-shrink:0;border:1px solid var(--bp-brd)}
.recent-thumb-ph{width:64px;height:48px;border-radius:9px;background:linear-gradient(135deg,#f0fdf4,#dcfce7);flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;color:var(--bp-p);border:1px solid #bbf7d0}
.recent-item .rt{font-size:.88rem;font-weight:700;color:var(--bp-txt);line-height:1.35;margin:0 0 2px}
.recent-item:hover .rt{color:var(--bp-p)}
.recent-item .rd{font-size:.74rem;color:var(--bp-mut)}

/* Tag cloud */
.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
.tag-cloud a{background:#f8fafc;border:1px solid var(--bp-brd);color:#334155;border-radius:999px;padding:.28rem .75rem;font-size:.78rem;font-weight:600;text-decoration:none}
.tag-cloud a:hover{background:#f0fdf4;border-color:#86efac;color:var(--bp-p)}

/* CTA widget */
.blog-cta{background:linear-gradient(135deg,#0f172a,#14532d);border-radius:16px;color:#fff;padding:1.4rem}
.blog-cta h3{color:#fff;font-size:1.05rem;font-weight:800;text-transform:none;letter-spacing:0;border:none;padding:0;margin:0 0 .4rem}
.blog-cta p{color:#bbf7d0;font-size:.85rem;line-height:1.6;margin:0 0 1rem}
.blog-cta .btn{border-radius:10px;font-weight:700}

/* Pagination */
.blog-pagination .page-link{border:1px solid var(--bp-brd);color:var(--bp-p);font-weight:700;border-radius:10px;margin:0 3px;padding:.45rem .85rem}
.blog-pagination .page-item.active .page-link{background:linear-gradient(135deg,#22c55e,#15803d);border-color:transparent;color:#fff}
.blog-pagination .page-item.disabled .page-link{color:#cbd5e1}

/* Empty state */
.blog-empty{background:#fff;border:1px solid var(--bp-brd);border-radius:16px;padding:3.5rem 1.5rem;text-align:center}
.blog-empty i{font-size:3rem;color:#86efac;opacity:.7}

/* Bottom CTA */
.blog-bottom-cta{background:linear-gradient(135deg,#0f172a 0%,#0b1220 50%,#14532d 100%);color:#fff}
.blog-bottom-cta .btn{border-radius:10px;font-weight:700}

/* -------------------- Single post page -------------------- */
.blog-post-kicker{display:inline-flex;align-items:center;gap:7px;font-size:.74rem;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;color:var(--bp-p);background:#f0fdf4;border:1px solid #bbf7d0;padding:.32rem .85rem;border-radius:999px}
.blog-post-title{font-size:clamp(1.6rem,3vw,2.35rem);font-weight:800;color:var(--bp-txt);line-height:1.22;letter-spacing:-.4px;margin:.9rem 0 .7rem}
.post-meta{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.8rem;color:var(--bp-mut);align-items:center}
.post-meta i{color:var(--bp-p)}
.post-meta a{color:var(--bp-p);text-decoration:none;font-weight:600}
.post-meta a:hover{text-decoration:underline}
.post-hero-img{width:100%;aspect-ratio:16/9;object-fit:cover;object-position:center;border-radius:16px;margin:0 0 1.5rem;border:1px solid var(--bp-brd);background:#f1f5f9}

/* Post body typography */
.post-content{font-size:1rem;line-height:1.85;color:#1e293b}
.post-content h2{font-size:1.45rem;font-weight:800;color:var(--bp-txt);margin:2rem 0 .9rem;padding-bottom:.45rem;border-bottom:2px solid #e2e8f0}
.post-content h3{font-size:1.2rem;font-weight:800;color:var(--bp-txt);margin:1.7rem 0 .7rem}
.post-content h4{font-size:1.05rem;font-weight:700;color:var(--bp-txt);margin:1.4rem 0 .6rem}
.post-content p{margin:0 0 1.1rem}
.post-content ul,.post-content ol{margin:0 0 1.1rem;padding-left:1.3rem}
.post-content li{margin-bottom:.4rem}
.post-content img{border-radius:12px;margin:.5rem 0 1.1rem}
.post-content a{color:var(--bp-p)}
.post-content blockquote{border-left:4px solid var(--bp-p);background:#f0fdf4;padding:.9rem 1.2rem;border-radius:0 10px 10px 0;margin:0 0 1.2rem;font-style:italic}
.post-content table{width:100%;margin:0 0 1.2rem;border-collapse:collapse}
.post-content th,.post-content td{border:1px solid var(--bp-brd);padding:.55rem .8rem;font-size:.9rem}
.post-content thead th{background:#f0fdf4;color:var(--bp-p);font-weight:700}
.post-content pre{background:#0f172a;color:#e2e8f0;border-radius:10px;padding:1rem;overflow:auto;font-size:.85rem;line-height:1.6}

/* Section heading */
.sec-heading{font-weight:800;color:var(--bp-txt);display:flex;align-items:center;gap:9px;margin:0 0 1rem}
.sec-heading i{color:var(--bp-p)}

/* Post tags */
.post-tags{display:flex;flex-wrap:wrap;gap:7px}
.post-tags a{background:#f8fafc;border:1px solid var(--bp-brd);color:#334155;border-radius:999px;padding:.3rem .8rem;font-size:.8rem;font-weight:600;text-decoration:none}
.post-tags a:hover{background:#f0fdf4;border-color:#86efac;color:var(--bp-p)}

/* Share buttons */
.post-share{display:inline-flex;gap:8px}
.post-share a{width:40px;height:40px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;text-decoration:none;transition:transform .2s ease,filter .2s ease}
.post-share a:hover{transform:translateY(-2px);filter:brightness(.92)}
.share-fb{background:#1877f2}
.share-x{background:#0f172a}
.share-li{background:#0a66c2}
.share-wa{background:#25d366}

/* Author box */
.blog-author{background:#fff;border:1px solid var(--bp-brd);border-radius:16px;padding:1.3rem;box-shadow:0 4px 16px rgba(15,23,42,.05)}
.blog-author .ba-ava{width:60px;height:60px;border-radius:50%;background:linear-gradient(135deg,#22c55e,#15803d);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.4rem;flex-shrink:0}
.blog-author p{color:#475569;font-size:.9rem;line-height:1.7;margin:.35rem 0 .9rem}

/* Comments */
.comment-item{background:#fff;border:1px solid var(--bp-brd);border-radius:12px;padding:1rem 1.2rem}
.comment-item+.comment-item{margin-top:.8rem}

/* Responsive sidebar */
@media (max-width:991px){.blog-sidebar{position:static !important;margin-top:1.4rem}}
