/* BD design layer — loaded after GeneratePress */
:root{
	--bd-blue:#00579b;
	--bd-blue-dark:#003f73;
	--bd-green:#0b8a5f;
	--bd-yellow:#fbbf24;
	--bd-bg:#f1f5f9;
	--bd-text:#1f2937;
	--bd-muted:#6b7280;
	--bd-card:#fff;
	--bd-radius:18px;
	--bd-shadow:0 2px 10px rgba(0,60,120,.08);
}

body.bd-design{
	font-family:'Hind Siliguri','Noto Sans Bengali',system-ui,sans-serif;
	background:var(--bd-bg);
	color:var(--bd-text);
}
body.bd-design h1,body.bd-design h2,body.bd-design h3,body.bd-design h4{font-family:inherit;color:var(--bd-blue-dark);font-weight:700}
body.bd-design a{color:var(--bd-blue)}

/* full-width bars, centered content */
body.bd-design .site.grid-container{max-width:100%;background:transparent}
body.bd-design .site-content{max-width:1100px;margin:0 auto;padding:0 14px}
body.bd-design .inside-header,
body.bd-design .inside-navigation{max-width:1100px;margin:0 auto}

/* header = white hero */
body.bd-design .site-header{background:#fff;text-align:center}
body.bd-design .inside-header{padding:22px 16px 14px;display:block}
body.bd-design .site-logo,body.bd-design .header-image{display:inline-block}
body.bd-design .main-title{font-size:clamp(26px,6vw,40px);line-height:1.25;font-weight:700}
body.bd-design .main-title a,body.bd-design .main-title a:hover{color:var(--bd-blue)!important}
body.bd-design .site-description{color:var(--bd-muted);font-size:16px}

/* navigation = blue bar of pills */
body.bd-design .main-navigation{background:var(--bd-blue)}
body.bd-design .inside-navigation{padding:14px 10px}
body.bd-design .main-navigation .main-nav>ul{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
body.bd-design .main-navigation .main-nav ul li a{
	background:rgba(255,255,255,.14);color:#fff;border-radius:999px;
	padding:0 16px;line-height:40px;font-size:15px;font-weight:600;
}
body.bd-design .main-navigation .main-nav ul li a:hover,
body.bd-design .main-navigation .main-nav ul li.current-menu-item>a,
body.bd-design .main-navigation .main-nav ul li:first-child>a{
	background:var(--bd-yellow);color:#1f2937;
}
body.bd-design .main-navigation .menu-toggle{color:#fff;background:transparent}
body.bd-design .main-navigation .menu-bar-items{display:none}

/* generic content cards (posts, pages, archives) */
body.bd-design .inside-article,
body.bd-design .comments-area,
body.bd-design .page-header,
body.bd-design .sidebar .widget{
	background:var(--bd-card);border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);
}
body.bd-design .separate-containers .site-main>*{margin-bottom:18px}
body.bd-design .entry-title a{color:var(--bd-blue-dark)}
body.bd-design .entry-content table{border-collapse:collapse;width:100%}
body.bd-design .entry-content th,body.bd-design .entry-content td{border:1px solid #dbe7f3;padding:10px}
body.bd-design .entry-content th{background:#eaf3fb}

/* footer = dark */
body.bd-design .site-footer{background:#111827}
body.bd-design .site-info{background:#111827;color:#d1d5db;text-align:center;padding:26px 16px}
body.bd-design .site-info strong{color:#fff}
body.bd-design .site-info a{color:#9ca3af}

/* ---------- Front page ---------- */
.bd-home{padding-top:16px}
.bd-tagline{text-align:center;color:var(--bd-muted);margin:4px 0 14px;font-size:17px}

.bd-search{display:flex;gap:10px;margin:0 0 22px}
.bd-search input[type=search]{
	flex:1;min-width:0;border:2px solid #cbd5e1;border-radius:14px;background:#fff;
	padding:12px 16px;font-size:16px;font-family:inherit;
}
.bd-search button{
	background:var(--bd-green);color:#fff;border:0;border-radius:14px;
	padding:0 22px;font-size:17px;font-weight:700;font-family:inherit;cursor:pointer;
}
.bd-search button:hover{background:#087048}

.bd-section{margin:0 0 26px}
.bd-section-head{
	display:flex;align-items:flex-end;justify-content:space-between;gap:12px;
	border-bottom:3px solid var(--bd-blue);padding-bottom:12px;margin-bottom:16px;
}
.bd-section-head h2{margin:0;font-size:24px;line-height:1.3}
.bd-section-head h2 small,.bd-box-title small{font-weight:600}
.bd-section-head p{margin:0;color:var(--bd-muted);font-size:14px;max-width:42%;text-align:left}
.bd-ico{margin-right:6px}
.bd-badge{background:#dbeafe;color:var(--bd-blue);border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600;white-space:nowrap}

.bd-cat-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.bd-cat-card{
	background:#fff;border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);
	border-bottom:5px solid var(--bd-blue);padding:22px 12px 18px;text-align:center;
	display:flex;flex-direction:column;align-items:center;gap:6px;text-decoration:none;
	transition:transform .15s ease;
}
.bd-cat-card:hover{transform:translateY(-3px)}
.bd-cat-card.is-green{border-bottom-color:var(--bd-green)}
.bd-cat-card strong{color:#111827;font-size:19px;line-height:1.35}
.bd-cat-icon{font-size:44px;line-height:1}
.bd-cat-count{color:var(--bd-muted);font-size:14px}

.bd-post-list{display:grid;grid-template-columns:1fr;gap:18px}
.bd-post-card{background:#fff;border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);overflow:hidden}
.bd-post-media{
	display:flex;align-items:center;justify-content:center;text-align:center;
	min-height:200px;padding:20px;color:#fff;text-decoration:none;
	font-size:22px;font-weight:700;line-height:1.4;
}
.bd-post-media.has-img{padding:0;min-height:0;display:block}
.bd-post-media.has-img img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.bd-post-media span{color:#fff}
.tone-blue{background:linear-gradient(135deg,#00579b,#0288d1)}
.tone-green{background:linear-gradient(135deg,#0b8a5f,#34b58a)}
.tone-orange{background:linear-gradient(135deg,#d9730d,#f5a524)}
.tone-purple{background:linear-gradient(135deg,#5b3cc4,#8b6cf0)}
.bd-post-body{padding:18px 20px 20px}
.bd-post-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px;font-size:14px}
.bd-chip{background:#dcfce7;color:#0b6b48;border-radius:999px;padding:3px 14px;font-weight:600;text-decoration:none}
.bd-date{color:var(--bd-muted)}
.bd-post-body h3{margin:0 0 8px;font-size:22px;line-height:1.4}
.bd-post-body h3 a{color:#111827;text-decoration:none}
.bd-post-body p{margin:0 0 14px;color:#4b5563;line-height:1.7}
.bd-more{display:block;border-top:1px solid #e5e7eb;padding-top:12px;font-weight:700;text-decoration:none}

.bd-box{background:#fff;border-radius:var(--bd-radius);box-shadow:var(--bd-shadow);padding:22px 20px;margin:0 0 22px}
.bd-box-title{margin:0 0 16px;padding-bottom:12px;border-bottom:3px solid var(--bd-blue);font-size:22px}

.bd-popular{list-style:none;margin:0;padding:0}
.bd-popular li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px dashed #e5e7eb}
.bd-popular li:last-child{border-bottom:0}
.bd-num{flex:0 0 32px;height:32px;border-radius:50%;background:var(--bd-blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:15px}
.bd-popular a{color:var(--bd-text);text-decoration:none;font-size:17px;line-height:1.5}
.bd-popular a:hover{color:var(--bd-blue)}

.bd-archives{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.bd-archives li{background:#f3f4f6;border-left:4px solid var(--bd-blue);border-radius:8px;padding:12px 14px;margin:0;font-size:16px}
.bd-archives a{text-decoration:none;color:var(--bd-text)}

/* ---------- Subscribe box (every page) ---------- */
.bd-subscribe-wrap{padding:8px 14px 28px;background:var(--bd-bg)}
.bd-subscribe{
	max-width:1100px;margin:0 auto;border-radius:22px;padding:30px 22px;text-align:center;
	background:linear-gradient(135deg,#003f73,#00579b);color:#fff;box-shadow:var(--bd-shadow);
}
body.bd-design .bd-subscribe h2{color:#fff;margin:0 0 10px;font-size:clamp(22px,5vw,30px);line-height:1.35}
.bd-subscribe p{margin:0 0 18px;color:#e0ecf8;line-height:1.7}
.bd-subscribe form{display:flex;flex-direction:column;gap:12px;max-width:560px;margin:0 auto}
.bd-subscribe input[type=email]{
	width:100%;border:0;border-radius:14px;padding:15px 18px;font-size:16px;font-family:inherit;background:#fff;color:#111827;
}
.bd-subscribe button{
	background:var(--bd-yellow);color:#111827;border:0;border-radius:14px;padding:15px 18px;
	font-size:18px;font-weight:700;font-family:inherit;cursor:pointer;
}
.bd-subscribe button:hover{background:#f59e0b}
.bd-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.bd-sub-msg{max-width:560px;margin:0 auto 14px;padding:10px 14px;border-radius:12px;font-weight:600}
.bd-sub-msg.is-ok{background:#dcfce7;color:#0b6b48}
.bd-sub-msg.is-err{background:#fee2e2;color:#991b1b}
@media(min-width:600px){
	.bd-subscribe form{flex-direction:row}
	.bd-subscribe input[type=email]{flex:1}
	.bd-subscribe button{padding:15px 28px;white-space:nowrap}
}

@media(min-width:768px){
	.bd-cat-grid{grid-template-columns:repeat(4,1fr)}
	.bd-post-list{grid-template-columns:repeat(2,1fr)}
	.bd-archives{grid-template-columns:repeat(4,1fr)}
}
@media(min-width:1000px){
	.bd-post-list{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:420px){
	.bd-section-head h2{font-size:21px}
	.bd-section-head p{display:none}
}
