/* BD News Flash Kit */
:root{--bnf-navy:#0B3B6F;--bnf-dark:#0A1F3C;--bnf-red:#E0141E;--bnf-green:#0E9F4F;--bnf-text:#1B2333;--bnf-muted:#6B7280;--bnf-line:#E6E9EF;--bnf-soft:#F4F6FA}
body{font-family:"Hind Siliguri",system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--bnf-text);background:#fff;-webkit-font-smoothing:antialiased}
body a{text-decoration:none}
.bnf-img{display:block;width:100%;height:100%;object-fit:cover}
.bnf-noimg{display:block;width:100%;height:100%;min-height:80px;background:linear-gradient(135deg,var(--bnf-navy),#2a5d98)}
.bnf-empty{padding:20px;border:1px dashed #c9ced8;border-radius:8px;color:var(--bnf-muted);text-align:center}

/* ব্যাজ ও মেটা */
.bnf-badge{display:inline-block;background:var(--bnf-c,var(--bnf-red));color:#fff!important;font-size:12px;font-weight:600;line-height:1;padding:5px 9px 4px;border-radius:4px;margin-bottom:8px}
.bnf-meta{display:flex;flex-wrap:wrap;gap:4px 12px;color:var(--bnf-muted);font-size:13px;line-height:1.4;margin-top:6px}
.bnf-meta span+span::before{content:"";display:inline-block;width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.6;margin-right:10px;vertical-align:middle}

/* গ্রিড */
.bnf-grid{display:grid;grid-template-columns:repeat(var(--bnf-cols,3),minmax(0,1fr));gap:var(--bnf-gap,20px)}
.bnf-grid--2{--bnf-cols:2}.bnf-grid--3{--bnf-cols:3}.bnf-grid--4{--bnf-cols:4}

/* কার্ড */
.bnf-card{position:relative;min-width:0}
.bnf-card__thumb{display:block;overflow:hidden;border-radius:8px;background:var(--bnf-soft)}
.bnf-card__thumb img{transition:transform .4s ease}
.bnf-card:hover .bnf-card__thumb img{transform:scale(1.04)}
.bnf-card__title{margin:0;font-size:17px;line-height:1.45;font-weight:700}
.bnf-card__title a{color:var(--bnf-text);transition:color .2s}
.bnf-card__title a:hover{color:var(--bnf-red)}
.bnf-card__excerpt{margin:6px 0 0;color:#4B5563;font-size:15px;line-height:1.6}

.bnf-card--grid .bnf-card__thumb{aspect-ratio:100/62}
.bnf-card--grid .bnf-card__body{padding-top:12px}

.bnf-card--overlay{display:flex;min-height:460px;border-radius:12px;overflow:hidden;background:var(--bnf-dark)}
.bnf-card--overlay .bnf-card__thumb{position:absolute;inset:0;border-radius:0}
.bnf-card--overlay .bnf-card__thumb::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.85) 100%)}
.bnf-card--overlay .bnf-card__body{position:relative;margin-top:auto;padding:24px;z-index:1;width:100%}
.bnf-card--overlay .bnf-card__title{font-size:30px;line-height:1.35}
.bnf-card--overlay .bnf-card__title a,.bnf-card--overlay .bnf-card__excerpt,.bnf-card--overlay .bnf-meta{color:#fff}
.bnf-card--overlay .bnf-card__title a:hover{color:#fff;text-decoration:underline}
.bnf-card--overlay .bnf-card__excerpt{opacity:.9}

.bnf-card--list,.bnf-card--numbered{display:flex;gap:14px;align-items:flex-start}
.bnf-card--list .bnf-card__thumb{flex:0 0 120px;width:120px;aspect-ratio:100/72}
.bnf-card--list .bnf-card__body,.bnf-card--numbered .bnf-card__body{flex:1;min-width:0}
.bnf-card--list .bnf-card__title{font-size:16px}
.bnf-card--list .bnf-badge{font-size:11px;padding:4px 7px 3px;margin-bottom:6px}

.bnf-card--numbered{align-items:center}
.bnf-card--numbered .bnf-card__num{flex:0 0 26px;font-size:24px;font-weight:700;color:var(--bnf-red);line-height:1;text-align:center}
.bnf-card--numbered .bnf-card__thumb{flex:0 0 84px;width:84px;aspect-ratio:1/1}
.bnf-card--numbered .bnf-card__title{font-size:15px}
.bnf-card--numbered .bnf-badge{display:none}
.bnf-posts--numbered .bnf-card+.bnf-card,.bnf-list--numbered .bnf-card+.bnf-card{padding-top:14px;border-top:1px solid var(--bnf-line)}
.bnf-posts--numbered,.bnf-posts--list{--bnf-gap:14px}

.bnf-card--strip{display:flex;gap:12px;align-items:center}
.bnf-card--strip .bnf-card__thumb{flex:0 0 64px;width:64px;height:64px;border-radius:50%!important;border:3px solid #fff;box-shadow:0 0 0 2px var(--bnf-red)}
.bnf-card--strip .bnf-card__title{font-size:15px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bnf-card--strip .bnf-badge{background:none;color:var(--bnf-c)!important;padding:0;margin:0 0 2px;font-size:12px}
.bnf-card--strip .bnf-meta{font-size:12px;margin-top:2px}

/* টিকার */
.bnf-ticker{display:flex;align-items:center;gap:12px;min-width:0;overflow:hidden}
.bnf-ticker__label{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;padding:5px 10px 4px;border-radius:4px;background:var(--bnf-red);color:#fff}
.bnf-ticker__dot{width:7px;height:7px;border-radius:50%;background:#fff;animation:bnfPulse 1.4s infinite}
@keyframes bnfPulse{50%{opacity:.25}}
.bnf-ticker__items{position:relative;flex:1;min-width:0;height:24px}
.bnf-ticker__item{position:absolute;inset:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:24px;color:#fff;opacity:0;transform:translateY(8px);transition:opacity .4s,transform .4s;pointer-events:none}
.bnf-ticker__item.is-active{opacity:1;transform:none;pointer-events:auto}
.bnf-ticker__item:hover{text-decoration:underline}

/* তারিখ */
.bnf-date{display:inline-flex;align-items:center;gap:6px;font-size:14px;white-space:nowrap}
.bnf-date svg{width:15px;height:15px;fill:currentColor}

/* চিপস */
.bnf-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:2px}
.bnf-chips::-webkit-scrollbar{display:none}
.bnf-chips a{flex:0 0 auto;font-size:14px;font-weight:600;color:var(--bnf-text);background:var(--bnf-soft);border:1px solid var(--bnf-line);border-radius:999px;padding:6px 14px 5px;white-space:nowrap}
.bnf-chips a.is-active{background:var(--bnf-red);border-color:var(--bnf-red);color:#fff}

/* হেডিং ডট (Elementor হেডিং-এ CSS class: bnf-dot) */
.bnf-dot .elementor-heading-title::after{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--bnf-red);margin-left:8px;vertical-align:middle}
/* স্টিকি (Elementor কন্টেইনারে CSS class: bnf-sticky) */
.bnf-sticky{position:sticky!important;top:0;z-index:99}
.admin-bar .bnf-sticky{top:32px}
@media(max-width:782px){.admin-bar .bnf-sticky{top:0}}

/* বিজ্ঞাপন */
.bnf-ad{margin:18px auto;text-align:center;max-width:100%;overflow:hidden;clear:both}
.bnf-ad__label{display:block;font-size:10px;letter-spacing:.5px;color:#9AA1AD;margin-bottom:4px;line-height:1}
.bnf-ad__box{display:flex;justify-content:center;min-height:var(--bnf-dh,90px)}
.bnf-ad__box iframe{border:0;display:block;max-width:100%;background:transparent}
.bnf-ad.is-empty{display:none}
.bnf-ad--direct .bnf-ad__box{min-height:0}
.bnf-ad--inarticle{padding:10px 0;border-top:1px solid var(--bnf-line);border-bottom:1px solid var(--bnf-line);margin:22px 0}
.bnf-ad-placeholder{padding:18px;text-align:center;border:2px dashed #f0b4b7;background:#fff6f6;color:#b4232a;border-radius:8px;font-size:14px}
@media(max-width:767px){
	.bnf-ad__box{min-height:var(--bnf-mh,50px)}
	.bnf-ad--no-m{display:none!important}
}
@media(min-width:768px){.bnf-ad--no-d{display:none!important}}

/* ---------- আর্টিকেল ও ক্যাটাগরি পেজ ---------- */
.bnf-wrap{max-width:1200px;margin:0 auto;padding:20px 15px 40px}
.bnf-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:36px;align-items:start}
.bnf-crumb{font-size:14px;color:var(--bnf-muted);margin-bottom:12px;display:flex;gap:8px;flex-wrap:wrap}
.bnf-crumb a{color:var(--bnf-navy);font-weight:600}
.bnf-article__title{font-size:34px;line-height:1.35;margin:4px 0 12px;font-weight:700;color:var(--bnf-text)}
.bnf-article__meta{display:flex;flex-wrap:wrap;gap:6px 16px;color:var(--bnf-muted);font-size:14px;margin-bottom:12px}
.bnf-article__meta .bnf-meta__author{color:var(--bnf-navy);font-weight:600}
.bnf-article__img{margin:16px 0 20px}
.bnf-article__img img{width:100%;height:auto;border-radius:10px;display:block}
.bnf-article__img figcaption{font-size:13px;color:var(--bnf-muted);margin-top:6px}
.bnf-article__content{font-size:19px;line-height:1.85;color:#222a37;overflow-wrap:break-word}
.bnf-article__content p{margin:0 0 1.1em}
.bnf-article__content img{max-width:100%;height:auto;border-radius:8px}
.bnf-article__content a{color:var(--bnf-navy);text-decoration:underline}
.bnf-article__content h2,.bnf-article__content h3{line-height:1.4;margin:1.4em 0 .6em}
.bnf-article__content hr{border:0;border-top:1px solid var(--bnf-line);margin:28px 0 18px}
.bnf-article__content .nb-sources{background:var(--bnf-soft);border-left:4px solid var(--bnf-navy);border-radius:6px;padding:14px 16px;font-size:15px;line-height:1.7}
.bnf-article__content .nb-sources h4{margin:0 0 6px;font-size:16px}
.bnf-article__content .nb-sources ul{margin:0;padding-left:18px}
.bnf-article__content .nb-photo-credit{margin:8px 0 0;color:var(--bnf-muted);font-size:14px}
.bnf-tags{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.bnf-tags a{background:var(--bnf-soft);color:var(--bnf-navy);padding:5px 12px;border-radius:999px;font-size:14px}
.bnf-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.bnf-share__label{font-size:14px;color:var(--bnf-muted);font-weight:600}
.bnf-share__btn{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border-radius:6px;border:0;color:#fff!important;font-size:14px;font-weight:600;cursor:pointer;font-family:inherit}
.bnf-share__btn svg{width:18px;height:18px;fill:currentColor}
.bnf-share--fb{background:#1877F2}.bnf-share--wa{background:#25D366}.bnf-share--ms{background:#0084FF}.bnf-share--cp{background:#4B5563}
.bnf-share--cp.is-copied{background:var(--bnf-green)}
.bnf-article__share-bottom{margin:26px 0;padding:16px;border-radius:10px;background:var(--bnf-soft);text-align:center}
.bnf-article__share-bottom .bnf-share{justify-content:center}
.bnf-share__cta{margin:0 0 10px;font-weight:700}
.bnf-section-title,.bnf-box__title{position:relative;font-size:22px;font-weight:700;margin:0 0 16px;padding-left:12px;color:var(--bnf-text)}
.bnf-section-title::before,.bnf-box__title::before{content:"";position:absolute;left:0;top:4px;bottom:6px;width:4px;border-radius:2px;background:var(--bnf-red)}
.bnf-related{margin-top:30px}
.bnf-comments{margin-top:30px}
.bnf-sidebar{position:sticky;top:20px}
.admin-bar .bnf-sidebar{top:52px}
.bnf-box{border:1px solid var(--bnf-line);border-radius:10px;padding:16px;margin-bottom:20px;background:#fff}
.bnf-box__title{font-size:19px}
.bnf-list{display:grid;gap:14px}
.bnf-sticky-ad .bnf-ad{margin-top:0}
.bnf-archive__title{font-size:30px;margin:0 0 20px;padding-bottom:10px;border-bottom:3px solid var(--bnf-c,var(--bnf-red));display:inline-block}
.bnf-archive__lead{margin-bottom:24px}
.bnf-archive__lead .bnf-card--overlay{min-height:420px}
.bnf-pagination{margin:30px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.bnf-pagination .page-numbers{min-width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid var(--bnf-line);border-radius:6px;color:var(--bnf-text);font-weight:600}
.bnf-pagination .page-numbers.current{background:var(--bnf-red);border-color:var(--bnf-red);color:#fff}
.bnf-404{text-align:center}.bnf-404 .bnf-grid{text-align:left;margin-top:24px}

/* ট্যাবলেট */
@media(max-width:1024px){
	.bnf-layout{grid-template-columns:minmax(0,1fr)}
	.bnf-sidebar{position:static}
	.bnf-sticky-ad{display:none}
	.bnf-grid--4{--bnf-cols:2}
	.bnf-card--overlay .bnf-card__title{font-size:24px}
}

/* মোবাইল */
@media(max-width:767px){
	.bnf-wrap{padding:14px 12px 30px}
	.bnf-grid--2,.bnf-grid--3,.bnf-grid--4{--bnf-cols:1}
	.bnf-card__title{font-size:16px}
	.bnf-card--overlay{min-height:300px}
	.bnf-card--overlay .bnf-card__body{padding:16px}
	.bnf-card--overlay .bnf-card__title{font-size:21px}
	.bnf-card--overlay .bnf-card__excerpt{display:none}
	/* গ্রিড কার্ড মোবাইলে তালিকা */
	.bnf-m-list{--bnf-cols:1!important;--bnf-gap:14px!important}
	.bnf-m-list .bnf-card--grid{display:flex;gap:12px;align-items:flex-start}
	.bnf-m-list .bnf-card--grid+.bnf-card--grid{padding-top:14px;border-top:1px solid var(--bnf-line)}
	.bnf-m-list .bnf-card--grid .bnf-card__thumb{flex:0 0 112px;width:112px;aspect-ratio:100/72!important}
	.bnf-m-list .bnf-card--grid .bnf-card__body{padding-top:0;flex:1;min-width:0}
	.bnf-m-list .bnf-card--grid .bnf-card__excerpt{display:none}
	.bnf-m-list .bnf-card--grid .bnf-badge{font-size:11px;padding:3px 6px 2px;margin-bottom:4px}
	.bnf-m-list .bnf-card__title{font-size:16px;line-height:1.45}
	/* ট্রেন্ডিং স্ট্রিপ আঙুলে স্ক্রল */
	.bnf-posts--strip{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;scrollbar-width:none;padding-bottom:2px}
	.bnf-posts--strip::-webkit-scrollbar{display:none}
	.bnf-posts--strip .bnf-card{flex:0 0 78%;scroll-snap-align:start}
	.bnf-article__title{font-size:25px;line-height:1.4}
	.bnf-article__content{font-size:18px;line-height:1.8}
	.bnf-share__btn span{display:none}
	.bnf-share__btn{width:40px;justify-content:center;padding:0}
	.bnf-archive__title{font-size:24px}
	.bnf-archive__lead .bnf-card--overlay{min-height:280px}
}

/* fixes */
.bnf-card__thumb img.bnf-img{width:100%!important;height:100%!important;max-width:none}
.e-con:has(>.e-con-inner>.elementor-widget-bnf-ad:only-child):not(:has(.bnf-ad)),.e-con:has(>.elementor-widget-bnf-ad:only-child):not(:has(.bnf-ad)){display:none}
.bnf-share .bnf-share__btn{border:0!important;color:#fff!important}.bnf-share .bnf-share--cp{background:#4B5563!important}.bnf-share .bnf-share--cp.is-copied{background:#0E9F4F!important}.bnf-share .bnf-share--cp:hover,.bnf-share .bnf-share--cp:focus{background:#374151!important}
.hfe-site-logo-container img{max-width:100%}
