/* Blog post template — JharkhandExams.com (loaded only on /blog pages) */
.bp-wrap{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start;padding:6px 4px 10px}
@media(max-width:980px){.bp-wrap{grid-template-columns:minmax(0,1fr)}}

/* breadcrumb */
.bp-crumb{font-size:13px;color:#5b6b5b;margin:4px 0 12px;display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.bp-crumb a{color:#1a7a1a;text-decoration:none;font-weight:600}
.bp-crumb a:hover{text-decoration:underline}
.bp-crumb span.sep{color:#9aa99a}
.bp-crumb span.cur{color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60ch}

/* article header */
.bp-article{min-width:0}
.bp-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}
.bp-chip{background:#e8f5e9;color:#1a7a1a;border:1px solid #c6e6c8;font-size:12px;font-weight:800;padding:3px 11px;border-radius:20px;text-decoration:none;letter-spacing:.2px}
.bp-title{font-size:30px;line-height:1.28;font-weight:900;color:#111;margin:0 0 14px}
@media(max-width:600px){.bp-title{font-size:23px}}
.bp-summary{background:#eef8ee;border:1px solid #cfe9cf;border-left:5px solid #1a7a1a;border-radius:10px;padding:13px 16px;font-size:15.5px;line-height:1.65;color:#1d2b1d;font-style:italic;margin:0 0 14px}
.bp-meta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid #e6efe6;border-bottom:1px solid #e6efe6;padding:10px 0;margin-bottom:16px}
.bp-by{display:flex;align-items:center;gap:10px;font-size:13.5px;color:#4a5a4a}
.bp-by img{width:38px;height:38px;border-radius:50%;border:2px solid #e8f5e9}
.bp-by b{color:#111;display:block;font-size:14px}
.bp-share{display:flex;gap:7px;flex-wrap:wrap}
.bp-share a,.bp-share button{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;border:0;cursor:pointer;color:#fff;text-decoration:none;transition:transform .12s,opacity .12s}
.bp-share a:hover,.bp-share button:hover{transform:translateY(-2px);opacity:.9}
.bp-share svg{width:18px;height:18px;fill:currentColor}
.bp-share .wa{background:#25d366}.bp-share .tg{background:#229ed9}.bp-share .fb{background:#1877f2}.bp-share .x{background:#111}.bp-share .cp{background:#5f6b5f}
.bp-hero{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:12px;margin:0 0 18px;box-shadow:0 6px 22px rgba(0,0,0,.14)}

/* table of contents */
.bp-toc{background:#fafdf9;border:1px solid #d9ecd9;border-radius:10px;margin:0 0 20px;overflow:hidden}
.bp-toc summary{cursor:pointer;list-style:none;padding:12px 16px;font-weight:800;font-size:15px;color:#145f14;display:flex;justify-content:space-between;align-items:center;background:#eef8ee}
.bp-toc summary::-webkit-details-marker{display:none}
.bp-toc summary::after{content:'−';font-size:20px;line-height:1}
.bp-toc:not([open]) summary::after{content:'+'}
.bp-toc ol{margin:0;padding:10px 16px 12px 36px;counter-reset:none}
.bp-toc li{margin:5px 0;font-size:14.5px;line-height:1.45}
.bp-toc a{color:#0b57d0;text-decoration:none}
.bp-toc a:hover{text-decoration:underline}

/* article body (works with legacy .jx-art markup) */
.bp-content{font-size:16px;line-height:1.8;color:#111}
.bp-content .jx-art{font-size:16px !important}
.bp-content p,.bp-content li{font-size:16px !important;color:#1a1a1a !important}
.bp-content p{margin:0 0 14px}
.bp-content ul,.bp-content ol{margin:0 0 16px 22px}
.bp-content li{margin-bottom:6px}
.bp-content li::marker{color:#1a7a1a;font-weight:700}
.bp-content h2{font-size:22px !important;line-height:1.3;color:#0d4f0d !important;font-weight:900 !important;margin:30px 0 12px !important;padding:2px 0 8px 14px;border-left:5px solid #1a7a1a;border-bottom:1px solid #e3efe3;scroll-margin-top:120px}
.bp-content h3{font-size:18px !important;color:#1a7a1a !important;font-weight:800 !important;margin:20px 0 8px !important}
.bp-content a{color:#0b57d0 !important;text-decoration:underline;text-underline-offset:2px}
.bp-content b,.bp-content strong{color:#000}
.bp-content img{max-width:100%;height:auto;border-radius:10px;margin:8px 0 16px}

/* tables */
.bp-tbl{overflow-x:auto;margin:6px 0 20px;border-radius:10px;border:1px solid #cfe3cf;box-shadow:0 2px 10px rgba(0,0,0,.05)}
.bp-content table{width:100%;border-collapse:collapse !important;margin:0 !important;font-size:15px !important;background:#fff}
.bp-content th,.bp-content td{border:0 !important;border-bottom:1px solid #e3efe3 !important;padding:11px 14px !important;text-align:left;vertical-align:top;font-size:15px !important;color:#1a1a1a !important}
.bp-content tr:first-child th,.bp-content thead th{background:#1a7a1a !important;color:#fff !important;font-weight:800;font-size:15px !important;white-space:nowrap}
.bp-content tr:not(:first-child) th{background:#eef8ee !important;color:#0d4f0d !important}
.bp-content tbody tr:nth-child(even) td{background:#f6fbf6}
.bp-content tbody tr:hover td{background:#eaf6ea}
.bp-content td:first-child{font-weight:600}
.bp-content tr:last-child td{border-bottom:0 !important}
.bp-content .tbl-wrap{overflow:visible !important}

/* callouts */
.bp-content .note{background:#fff8e1 !important;border:1px solid #ffe08a;border-left:5px solid #f5b400 !important;border-radius:10px !important;padding:13px 16px !important;margin:0 0 18px !important;font-size:15px !important;color:#3b3000}
.bp-content .note b{color:#5a4300}

/* FAQ (legacy .faq block: <b>question</b><p>answer</p>) */
.bp-content .faq{background:#fafdf9;border:1px solid #d9ecd9;border-radius:12px;padding:6px 18px 10px;margin:26px 0 10px}
.bp-content .faq h2{border:0;padding-left:0;margin-top:14px !important}
.bp-content .faq b{display:block;font-size:16px;color:#0d4f0d !important;margin:16px 0 4px;padding-left:28px;position:relative}
.bp-content .faq b::before{content:'Q';position:absolute;left:0;top:1px;width:20px;height:20px;border-radius:50%;background:#1a7a1a;color:#fff;font-size:12px;display:flex;align-items:center;justify-content:center}
.bp-content .faq p{padding-left:28px;color:#333 !important;border-bottom:1px dashed #d9ecd9;padding-bottom:12px}
.bp-content .faq p:last-child{border-bottom:0}

/* tags + CTA */
.bp-tags{display:flex;flex-wrap:wrap;gap:7px;margin:22px 0 4px}
.bp-tags a{background:#f1f5f1;border:1px solid #dbe6db;color:#2f4a2f;font-size:13px;font-weight:600;padding:5px 12px;border-radius:20px;text-decoration:none}
.bp-tags a:hover{background:#1a7a1a;color:#fff;border-color:#1a7a1a}
.bp-cta{margin:22px 0;background:linear-gradient(135deg,#0f5c1a,#1a7a1a);border-radius:14px;padding:18px 20px;color:#fff;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.bp-cta-t{font-size:17px;font-weight:900;line-height:1.35}
.bp-cta-t small{display:block;font-size:13.5px;font-weight:500;opacity:.9;margin-top:3px}
.bp-cta-b{display:flex;gap:8px;flex-wrap:wrap}
.bp-btn{display:inline-flex;align-items:center;gap:7px;font-weight:800;font-size:14px;padding:10px 16px;border-radius:30px;text-decoration:none;white-space:nowrap}
.bp-btn svg{width:17px;height:17px;fill:currentColor}
.bp-btn.wa{background:#25d366;color:#fff}.bp-btn.tg{background:#fff;color:#1a7a1a}

/* related */
.bp-sec-t{font-size:19px;font-weight:900;color:#111;margin:26px 0 12px;padding-bottom:8px;border-bottom:3px solid #1a7a1a;display:inline-block}
.bp-rel{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media(max-width:700px){.bp-rel{grid-template-columns:1fr}}
.bp-rel a{display:flex;flex-direction:column;border:1px solid #e1ebe1;border-radius:10px;overflow:hidden;text-decoration:none;background:#fff;transition:transform .12s,box-shadow .12s}
.bp-rel a:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.1)}
.bp-rel img{width:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.bp-rel span{padding:10px 12px;font-size:14.5px;font-weight:700;color:#0b57d0;line-height:1.4}

/* sidebar */
.bp-side{position:sticky;top:120px;display:flex;flex-direction:column;gap:16px}
@media(max-width:980px){.bp-side{position:static}}
.bp-box{border:1px solid #e1ebe1;border-radius:12px;overflow:hidden;background:#fff}
.bp-box h3{margin:0;background:#1a7a1a;color:#fff;font-size:15px;font-weight:800;padding:10px 14px}
.bp-box ul{list-style:none;margin:0;padding:4px 0}
.bp-box li{border-bottom:1px solid #eef3ee}
.bp-box li:last-child{border-bottom:0}
.bp-box li a{display:flex;gap:10px;align-items:flex-start;padding:9px 14px;text-decoration:none;color:#0b57d0;font-size:14px;font-weight:600;line-height:1.4}
.bp-box li a:hover{background:#f6fbf6;text-decoration:underline}
.bp-box li a::before{content:'›';color:#1a7a1a;font-weight:900;font-size:18px;line-height:1}
.bp-box li img{width:64px;height:43px;object-fit:cover;border-radius:6px;flex-shrink:0}
.bp-box.thumbs li a::before{display:none}
.bp-box .bp-more{display:block;text-align:center;padding:9px;font-size:13.5px;font-weight:800;color:#1a7a1a;text-decoration:none;background:#f6fbf6}
.bp-join{background:linear-gradient(160deg,#e8f5e9,#fff);border:1px solid #c6e6c8;border-radius:12px;padding:16px;text-align:center}
.bp-join b{display:block;font-size:16px;color:#0d4f0d;margin-bottom:4px}
.bp-join p{font-size:13.5px;color:#3b4a3b;margin:0 0 12px}
.bp-join .bp-btn{width:100%;justify-content:center;margin-top:7px}
.bp-join .bp-btn.tg{background:#229ed9;color:#fff}

/* listing page: featured first post */
.blog-feature{display:grid;grid-template-columns:1.2fr 1fr;gap:0;border:1px solid #e1ebe1;border-radius:12px;overflow:hidden;text-decoration:none;background:#fff;margin-bottom:16px;transition:box-shadow .15s}
.blog-feature:hover{box-shadow:0 8px 22px rgba(0,0,0,.1)}
.blog-feature img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;display:block}
.blog-feature div{padding:18px 20px;display:flex;flex-direction:column;gap:8px;justify-content:center}
.blog-feature .bf-tag{align-self:flex-start;background:#ffd400;color:#0b4a14;font-size:12px;font-weight:900;padding:3px 10px;border-radius:20px}
.blog-feature .bf-t{font-size:22px;font-weight:900;line-height:1.3;color:#0b57d0}
.blog-feature .bf-e{font-size:15px;color:#333;line-height:1.55}
.blog-feature .bf-m{font-size:13px;color:#5f7f5f}
@media(max-width:760px){.blog-feature{grid-template-columns:1fr}.blog-feature .bf-t{font-size:19px}}

/* tables on small screens: no mid-word breaks, scroll sideways inside the frame */
.bp-content table,.bp-content th,.bp-content td{overflow-wrap:normal !important;word-break:normal !important;hyphens:none}
@media(max-width:600px){
  .bp-content table{min-width:520px}
  .bp-content th,.bp-content td{padding:9px 10px !important;font-size:14px !important}
  .bp-content td:first-child{min-width:140px}
  .bp-tbl{position:relative}
  .bp-content h2{font-size:20px !important}
}
