.kb-blog,
.kb-blog-article {
    color: #17213a;
    font-family: 'Noto Sans Bengali', 'Nirmala UI', 'Hind Siliguri', 'Inter', sans-serif;
}

.kb-blog a,
.kb-blog-article a { text-decoration: none; }
.kb-blog a:focus-visible,
.kb-blog-article a:focus-visible { outline: 3px solid #2454e8; outline-offset: 3px; }

.kb-blog-shell,
.kb-blog-article-shell { max-width: 1152px; margin: 0 auto; padding: 42px 28px 72px; }
.kb-blog-eyebrow { margin: 0 0 10px; color: #2454e8; font: 750 11px/1.4 'Inter', sans-serif; letter-spacing: .15em; }
.kb-blog-heading { padding-bottom: 28px; border-bottom: 1px solid #e7ebf3; }
.kb-blog-heading h1 { margin: 0; font-size: clamp(30px, 4vw, 46px); font-weight: 750; line-height: 1.35; letter-spacing: -.02em; }
.kb-blog-intro { margin: 10px 0 0; color: #64748b; font-size: 16px; line-height: 1.75; }

.kb-blog-categories { display: flex; flex-wrap: wrap; gap: 10px; padding: 22px 0 30px; }
.kb-blog-chip { display: inline-flex; align-items: center; gap: 9px; min-height: 39px; padding: 7px 15px; border: 1px solid #dfe5f0; border-radius: 999px; color: #334155; font-size: 14px; font-weight: 650; background: #fff; transition: background .2s, border-color .2s, color .2s; }
.kb-blog-chip span { font: 700 11px/1 'Inter', sans-serif; opacity: .7; }
.kb-blog-chip:hover { border-color: #2454e8; color: #2454e8; }
.kb-blog-chip.is-active { color: #fff; background: #2454e8; border-color: #2454e8; }

.kb-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 22px; }
.kb-blog-card { display: flex; min-width: 0; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid #e7ebf3; border-radius: 16px; background: #fff; box-shadow: 0 5px 22px rgba(23, 33, 58, .055); transition: transform .2s, box-shadow .2s; }
.kb-blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(23, 33, 58, .1); }
.kb-blog-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #eef3fc; }
.kb-blog-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.kb-blog-card:hover .kb-blog-card-image img { transform: scale(1.035); }
.kb-blog-card-placeholder { display: grid; height: 100%; place-items: center; color: #2454e8; background: linear-gradient(135deg, #e5ecff, #f5f8ff); font: 700 17px 'Inter', sans-serif; }
.kb-blog-card-body { display: flex; flex: 1; flex-direction: column; padding: 20px 20px 22px; }
.kb-blog-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: #718096; font: 600 12px/1.5 'Inter', 'Nirmala UI', sans-serif; }
.kb-blog-card-meta a { color: #2454e8; font-weight: 750; }
.kb-blog-card-meta a:hover { text-decoration: underline; }
.kb-blog-card h2 { margin: 11px 0 9px; font-size: 20px; font-weight: 750; line-height: 1.5; }
.kb-blog-card h2 a { color: #17213a; }
.kb-blog-card h2 a:hover { color: #2454e8; }
.kb-blog-card-body > p { margin: 0 0 18px; color: #64748b; font-size: 14px; line-height: 1.75; }
.kb-blog-card-more { display: inline-flex; align-items: center; gap: 7px; width: fit-content; margin-top: auto; color: #2454e8; font-size: 14px; font-weight: 750; }
.kb-blog-card-more span { transition: transform .2s; }
.kb-blog-card-more:hover span { transform: translateX(3px); }
.kb-blog-empty { grid-column: 1 / -1; padding: 55px 20px; text-align: center; border: 1px dashed #cbd5e1; border-radius: 16px; }
.kb-blog-empty h2 { font-size: 22px; font-weight: 750; }
.kb-blog-empty p { margin: 8px 0 20px; color: #64748b; }
.kb-blog-empty a { color: #2454e8; font-weight: 700; }
.kb-blog-pagination { margin-top: 34px; }

.kb-blog-article-shell { padding-top: 26px; }
.kb-blog-breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 32px; color: #94a3b8; font-size: 13px; }
.kb-blog-breadcrumb a { color: #64748b; }
.kb-blog-breadcrumb a:hover { color: #2454e8; }
.kb-blog-article-header { max-width: 820px; margin: 0 auto 30px; text-align: center; }
.kb-blog-label { display: inline-block; padding: 7px 13px; border-radius: 999px; background: #eaf0ff; color: #2454e8; font-size: 13px; font-weight: 750; }
.kb-blog-article-header h1 { margin: 18px 0 12px; font-size: clamp(30px, 4vw, 43px); font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
.kb-blog-deck { max-width: 700px; margin: 0 auto 16px; color: #52627a; font-size: 17px; line-height: 1.75; }
.kb-blog-article-meta { display: flex; justify-content: center; align-items: center; gap: 10px; color: #718096; font: 600 13px/1.6 'Inter', 'Nirmala UI', sans-serif; }
.kb-blog-hero { margin: 0 auto 40px; overflow: hidden; border-radius: 18px; background: #eef3fc; }
.kb-blog-hero img { display: block; width: 100%; max-height: 470px; aspect-ratio: 12 / 5; object-fit: cover; }
.kb-blog-prose { max-width: 760px; margin: 0 auto; color: #26364f; font-size: 17px; line-height: 1.95; overflow-wrap: anywhere; }
.kb-blog-prose > :first-child { margin-top: 0; }
.kb-blog-prose p { margin: 0 0 22px; }
.kb-blog-prose h2 { margin: 36px 0 13px; color: #17213a; font-size: 24px; font-weight: 780; line-height: 1.45; }
.kb-blog-prose h3 { margin: 28px 0 11px; color: #17213a; font-size: 21px; font-weight: 750; line-height: 1.5; }
.kb-blog-prose h4 { margin: 24px 0 10px; color: #17213a; font-size: 19px; font-weight: 700; }
.kb-blog-prose a { color: #2454e8; text-decoration: underline; text-underline-offset: 3px; }
.kb-blog-prose a:hover { color: #183da9; }
.kb-blog-prose ul, .kb-blog-prose ol { margin: 0 0 22px; padding-left: 27px; }
.kb-blog-prose ul { list-style: disc; }
.kb-blog-prose ol { list-style: decimal; }
.kb-blog-prose li { padding-left: 4px; margin-bottom: 9px; }
.kb-blog-prose strong { color: #17213a; font-weight: 780; }
.kb-blog-prose img { max-width: 100%; height: auto; border-radius: 12px; }
.kb-blog-prose blockquote { margin: 25px 0; padding: 5px 20px; border-left: 3px solid #2454e8; color: #52627a; }
.kb-blog-article-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; max-width: 760px; margin: 40px auto 0; padding-top: 22px; border-top: 1px solid #e7ebf3; }
.kb-blog-back { color: #2454e8; font-size: 14px; font-weight: 750; }
.kb-blog-share { display: flex; align-items: center; gap: 10px; color: #64748b; font-size: 13px; }
.kb-blog-share a { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dfe5f0; border-radius: 50%; color: #2454e8; }
.kb-blog-share a:hover { color: #fff; background: #2454e8; border-color: #2454e8; }
.kb-blog-related { margin-top: 70px; padding-top: 35px; border-top: 1px solid #e7ebf3; }
.kb-blog-related-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.kb-blog-related-heading h2 { margin: 0; font-size: 28px; font-weight: 780; line-height: 1.4; }
.kb-blog-related-heading > a { flex: none; color: #2454e8; font-size: 14px; font-weight: 750; }
.kb-blog-related-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.kb-blog-related-grid .kb-blog-card { max-width: 520px; }

@media (max-width: 900px) {
    .kb-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .kb-blog-shell, .kb-blog-article-shell { padding: 27px 16px 52px; }
    .kb-blog-heading { padding-bottom: 20px; }
    .kb-blog-categories { flex-wrap: nowrap; overflow-x: auto; padding: 18px 0 23px; scrollbar-width: none; }
    .kb-blog-categories::-webkit-scrollbar { display: none; }
    .kb-blog-chip { flex: none; }
    .kb-blog-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
    .kb-blog-card-image { aspect-ratio: 16 / 9; }
    .kb-blog-card-body { padding: 17px 18px 20px; }
    .kb-blog-breadcrumb { margin-bottom: 24px; }
    .kb-blog-article-header { margin-bottom: 24px; }
    .kb-blog-deck { font-size: 15px; }
    .kb-blog-hero { margin-bottom: 30px; border-radius: 12px; }
    .kb-blog-hero img { aspect-ratio: 16 / 10; max-height: none; }
    .kb-blog-prose { font-size: 16px; line-height: 1.9; }
    .kb-blog-prose h2 { font-size: 21px; margin-top: 30px; }
    .kb-blog-prose h3 { font-size: 19px; }
    .kb-blog-article-bottom { flex-wrap: wrap; }
    .kb-blog-related { margin-top: 50px; }
    .kb-blog-related-heading h2 { font-size: 24px; }
}
