/* Blog Publish by Helal – frontend. Copyright (c) HELAL - Web & Ads (www.helalwebandads.com) */
.bph-wrap,.bph-modal{
	--bph-w:1300px;--bph-primary:#e60012;--bph-bg:#fbfbfd;--bph-card:#fff;--bph-title:#111827;--bph-text:#4a5578;--bph-radius:12px;
	font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Noto Sans Bengali',sans-serif;
	color:var(--bph-text);line-height:1.5;
}
.bph-wrap *,.bph-modal *{box-sizing:border-box}
.bph-wrap{background:var(--bph-bg);padding:40px 0 64px;width:100%}
.bph-wrap.bph-full{width:100vw;position:relative;left:50%;margin-left:-50vw}
.bph-container{max-width:var(--bph-w);margin:0 auto;padding:0 20px}
.bph-layout{display:flex;align-items:flex-start}
.bph-main{flex:1;min-width:0;padding-right:30px}
.bph-nosidebar .bph-main{padding-right:0}
.bph-sidebar{width:320px;flex:none;padding-left:30px;border-left:1px solid #e8eaf1}
.bph-ico{flex:none;vertical-align:middle}

/* Headings */
.bph-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.bph-h2{margin:0;padding:0;font-size:28px;font-weight:800;line-height:1.2;color:var(--bph-title);display:flex;align-items:center;gap:12px;letter-spacing:-.3px}
.bph-dash{display:inline-block;width:28px;height:3px;border-radius:3px;background:var(--bph-primary);flex:none}
.bph-sub{margin:6px 0 22px;font-size:14px;color:var(--bph-text)}
.bph-viewall{display:inline-flex;align-items:center;gap:6px;margin-top:8px;font-size:13px;font-weight:700;color:var(--bph-primary);text-decoration:none;white-space:nowrap}
.bph-viewall:hover{text-decoration:underline}
.bph-latest{margin-top:44px;scroll-margin-top:90px}
.bph-featured+.bph-latest{margin-top:44px}
.bph-wrap:not(:has(.bph-featured)) .bph-latest{margin-top:0}

/* Grids */
.bph-grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.bph-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:16px}
.bph-latest .bph-grid-3{margin-top:0}

/* Cards */
.bph-card{background:var(--bph-card);border-radius:var(--bph-radius);box-shadow:0 6px 24px rgba(30,40,90,.07);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease;min-width:0}
.bph-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(30,40,90,.14)}
.bph-card__link{display:flex;flex-direction:column;height:100%;text-decoration:none!important;color:inherit!important;box-shadow:none!important}
.bph-card__img{position:relative;aspect-ratio:2/1;overflow:hidden;background:linear-gradient(135deg,#1c2541,#3a1c71)}
.bph-card--big .bph-card__img{aspect-ratio:16/8}
.bph-card__img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;transition:transform .5s ease}
.bph-card:hover .bph-card__img img{transform:scale(1.06)}
.bph-noimg{position:absolute;inset:0}
.bph-badge{position:absolute;left:12px;bottom:12px;background:var(--bph-primary);color:#fff;font-size:11px;font-weight:600;line-height:1.2;padding:6px 13px;border-radius:20px;letter-spacing:.2px}
.bph-badge--static{position:static;display:inline-block;margin-bottom:12px}
.bph-card__body{padding:15px 16px 16px;display:flex;flex-direction:column;flex:1}
.bph-card__body h3{margin:0 0 7px;padding:0;font-size:14.5px;font-weight:700;line-height:1.38;color:var(--bph-title);letter-spacing:-.1px}
.bph-card--big .bph-card__body h3{font-size:17px}
.bph-card--mid .bph-card__body h3{font-size:15px}
.bph-card__excerpt{margin:0 0 14px;font-size:13px;line-height:1.55;color:var(--bph-text);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.bph-meta{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:auto;font-size:12px;color:var(--bph-text)}
.bph-meta span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.bph-empty{grid-column:1/-1;padding:40px 0;text-align:center;font-size:15px}

/* Pagination */
.bph-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;margin-top:32px}
.bph-page{min-width:38px;height:38px;padding:0 6px;border-radius:8px;border:1px solid #e3e6ef;background:#fff;color:var(--bph-title);font-size:14px;font-weight:600;cursor:pointer;font-family:inherit;transition:.2s}
.bph-page:hover{border-color:var(--bph-primary);color:var(--bph-primary)}
.bph-page.is-active{background:var(--bph-primary);border-color:var(--bph-primary);color:#fff}
.bph-dots{color:var(--bph-text);padding:0 2px}
.bph-latest.is-loading .bph-latest-grid{opacity:.4;pointer-events:none;transition:opacity .2s}

/* Sidebar */
.bph-search{display:flex;margin:0 0 30px;border:1px solid #dfe3ee;border-radius:8px;overflow:hidden;background:#fff}
.bph-search input{flex:1;min-width:0;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;padding:12px 14px;font-size:13px;font-family:inherit;color:var(--bph-title);height:auto}
.bph-search button{width:46px;border:0;background:var(--bph-primary);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0}
.bph-side-title{margin:0 0 16px;padding:0;font-size:18px;font-weight:800;color:var(--bph-title)}
.bph-popular{margin-bottom:30px}
.bph-pop{display:flex;gap:12px;align-items:center;margin-bottom:16px;text-decoration:none!important;color:inherit!important}
.bph-pop__img{flex:none;width:62px;height:62px;border-radius:10px;background:#1c2541 center/cover no-repeat}
.bph-pop__txt strong{display:block;font-size:13px;font-weight:700;line-height:1.35;color:var(--bph-title);transition:color .2s}
.bph-pop:hover strong{color:var(--bph-primary)}
.bph-pop__txt em{display:block;margin-top:3px;font-size:11.5px;font-style:normal;color:var(--bph-text)}
.bph-cats{list-style:none;margin:0 0 30px;padding:0}
.bph-cats li{margin:0;padding:0}
.bph-cat{display:flex;align-items:center;gap:12px;width:100%;padding:11px 0;background:none;border:0;border-bottom:1px solid #eceef5;cursor:pointer;text-align:left;font-family:inherit;font-size:13.5px;font-weight:500;color:var(--bph-title);transition:.2s;border-radius:0}
.bph-cat:hover,.bph-cat.is-active{color:var(--bph-primary);background:none}
.bph-cat.is-active .bph-cat__name{font-weight:700}
.bph-cat__ico{flex:none;width:22px;height:22px;display:flex;align-items:center;justify-content:center;color:var(--bph-primary)}
.bph-cat__ico img{width:22px;height:22px;object-fit:contain}
.bph-cat__name{flex:1}
.bph-cat__cnt{color:var(--bph-text);font-size:13px}
.bph-nl{background:color-mix(in srgb,var(--bph-primary) 6%,#fff);border-radius:16px;padding:26px 18px;text-align:center}
.bph-nl__ico{color:var(--bph-primary);line-height:0;margin-bottom:8px}
.bph-nl h4{margin:0 0 6px;font-size:18px;font-weight:800;color:var(--bph-title)}
.bph-nl p{margin:0 0 16px;font-size:12px;line-height:1.55;color:var(--bph-text)}
.bph-nl-form input[type=email]{width:100%;padding:13px 18px;border:1px solid #eceef5;border-radius:30px;background:#fff;font-size:13px;font-family:inherit;margin:0 0 12px;outline:0;color:var(--bph-title);height:auto}
.bph-nl-form input[type=email]:focus{border-color:var(--bph-primary)}
.bph-nl-form button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;padding:14px;border:0;border-radius:30px;background:var(--bph-primary);color:#fff;font-size:14px;font-weight:700;font-family:inherit;cursor:pointer;transition:.2s}
.bph-nl-form button:hover{filter:brightness(.92)}
.bph-hp{position:absolute!important;left:-9999px!important;opacity:0!important;height:0!important;width:0!important}
.bph-nl-msg{margin-top:10px;font-size:12px;font-weight:600}
.bph-nl-msg.ok{color:#15803d}.bph-nl-msg.err{color:#b91c1c}

/* Modal */
html.bph-lock,html.bph-lock body{overflow:hidden!important}
.bph-modal{position:fixed;inset:0;z-index:999999;display:none;align-items:center;justify-content:center;padding:24px}
.bph-modal.is-open{display:flex}
.bph-modal__overlay{position:absolute;inset:0;background:rgba(10,14,30,.72);backdrop-filter:blur(4px);animation:bphFade .25s ease}
.bph-modal__dialog{position:relative;width:100%;max-width:880px;max-height:92vh;background:#fff;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 30px 80px rgba(0,0,0,.35);animation:bphIn .3s ease}
.bph-modal__close{position:absolute;top:14px;right:14px;z-index:5;width:40px;height:40px;border-radius:50%;border:0;background:#fff;color:#111;box-shadow:0 4px 14px rgba(0,0,0,.2);cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;transition:.2s}
.bph-modal__close:hover{background:var(--bph-primary);color:#fff}
.bph-modal__body{overflow-y:auto;flex:1;-webkit-overflow-scrolling:touch}
.bph-loader{display:flex;justify-content:center;padding:90px 0}
.bph-loader span{width:38px;height:38px;border:4px solid #eee;border-top-color:var(--bph-primary);border-radius:50%;animation:bphSpin .8s linear infinite}
.bph-err{padding:60px 30px;text-align:center}
.bph-article__hero{display:block;width:100%;max-height:380px;object-fit:cover;margin:0}
.bph-article__inner{padding:30px 40px 40px}
.bph-article__title{margin:0 0 14px;padding:0;font-size:30px;font-weight:800;line-height:1.25;color:var(--bph-title);letter-spacing:-.4px}
.bph-article .bph-meta{margin:0 0 24px;padding-bottom:20px;border-bottom:1px solid #eceef5;font-size:13px}
.bph-article__content{font-size:16px;line-height:1.8;color:#2d3552;word-wrap:break-word}
.bph-article__content p{margin:0 0 1.15em}
.bph-article__content h2,.bph-article__content h3,.bph-article__content h4{color:var(--bph-title);margin:1.6em 0 .6em;line-height:1.3;font-weight:800}
.bph-article__content h2{font-size:24px}.bph-article__content h3{font-size:20px}
.bph-article__content img{max-width:100%;height:auto;border-radius:10px}
.bph-article__content a{color:var(--bph-primary)}
.bph-article__content ul,.bph-article__content ol{margin:0 0 1.15em 1.4em;padding:0}
.bph-article__content li{margin-bottom:.4em}
.bph-article__content blockquote{margin:1.4em 0;padding:14px 20px;border-left:4px solid var(--bph-primary);background:color-mix(in srgb,var(--bph-primary) 6%,#fff);border-radius:0 10px 10px 0}
.bph-article__content iframe,.bph-article__content video{max-width:100%}
.bph-article__foot{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px;padding-top:22px;border-top:1px solid #eceef5}
.bph-copy,.bph-fullpage{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:30px;font-size:13px;font-weight:600;font-family:inherit;cursor:pointer;text-decoration:none!important;transition:.2s}
.bph-copy{background:#fff;border:1px solid #dfe3ee;color:var(--bph-title)}
.bph-copy:hover{border-color:var(--bph-primary);color:var(--bph-primary)}
.bph-fullpage{background:var(--bph-primary);border:1px solid var(--bph-primary);color:#fff!important}
.bph-fullpage:hover{filter:brightness(.92)}
@keyframes bphIn{from{opacity:0;transform:translateY(24px) scale(.97)}to{opacity:1;transform:none}}
@keyframes bphFade{from{opacity:0}to{opacity:1}}
@keyframes bphSpin{to{transform:rotate(360deg)}}

/* Responsive */
@media (max-width:1100px){
	.bph-layout{flex-direction:column}
	.bph-main{width:100%;padding-right:0}
	.bph-sidebar{width:100%;padding-left:0;border-left:0;margin-top:44px;padding-top:32px;border-top:1px solid #e8eaf1}
}
@media (max-width:900px){
	.bph-grid-3{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:640px){
	.bph-wrap{padding:28px 0 44px}
	.bph-grid-2,.bph-grid-3{grid-template-columns:1fr}
	.bph-h2{font-size:23px}
	.bph-head{flex-direction:column;gap:0}
	.bph-viewall{margin:-10px 0 18px}
	.bph-modal{padding:0;align-items:flex-end}
	.bph-modal__dialog{max-height:94vh;border-radius:18px 18px 0 0}
	.bph-article__inner{padding:22px 20px 30px}
	.bph-article__title{font-size:23px}
}
