*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:#171717;background:#fff;font-family:"Noto Sans Bengali",Arial,sans-serif;line-height:1.7}
.wrap{width:min(1160px,calc(100% - 32px));margin:auto}
a{color:inherit;text-decoration:none}

.topline{background:#f5f5f5;border-bottom:1px solid #e7e7e7;font-size:12px;color:#555}
.top-inner{display:flex;justify-content:space-between;align-items:center;padding:7px 0;gap:10px}
.sep{padding:0 8px;color:#aaa}

.masthead{display:flex;justify-content:space-between;align-items:center;padding:20px 0}
.brand{display:flex;align-items:center;gap:12px}
.brand-mark{display:grid;place-items:center;background:#d71920;color:#fff;font:800 22px Inter,sans-serif;width:48px;height:48px;letter-spacing:-2px;flex-shrink:0}
.brand strong{font:800 22px Inter,sans-serif;letter-spacing:-0.8px;display:block;line-height:1.1}
.brand small{font-size:11px;letter-spacing:1px;color:#666;display:block;margin-top:2px}

.head-actions{display:flex;gap:9px}
.lang-btn,.search-btn{border:1px solid #ddd;background:#fff;padding:8px 14px;font-weight:700;font-size:13px;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:5px}
.search-btn:hover,.lang-btn:hover{border-color:#d71920;color:#d71920}

.nav{border-top:1px solid #ddd;border-bottom:1px solid #ddd;background:#fff;position:sticky;top:0;z-index:20}
.nav-inner{display:flex;gap:24px;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}
.nav a{font-size:15px;font-weight:700;padding:11px 0;border-bottom:3px solid transparent;color:#222}
.nav a:hover,.nav a.active{color:#d71920;border-color:#d71920}

.search-panel{display:none;padding:14px 0;gap:8px}
.search-panel.show{display:flex}
.search-panel input{flex:1;padding:11px 14px;border:1px solid #ccc;font-size:15px;font-family:inherit}
.search-panel button{background:#171717;color:#fff;border:0;padding:0 16px;font-family:inherit;font-weight:600;cursor:pointer}

.breaking{display:flex;align-items:center;background:#f5f5f5;margin:18px 0 26px;min-height:40px;border-left:4px solid #d71920}
.breaking-label{background:#d71920;color:#fff;font-size:12px;font-weight:800;padding:10px 14px;white-space:nowrap}
.ticker{padding:7px 14px;font-size:14px;font-weight:600;color:#171717}
.ticker a:hover{color:#d71920;text-decoration:underline}

.filter-bar{background:#fff4f4;border:1px solid #f3c6c8;padding:10px 14px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:14px}
.filter-bar button{background:#d71920;color:#fff;border:0;padding:6px 12px;font-family:inherit;font-weight:700;cursor:pointer;font-size:12px}

.lead-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:30px}
.lead-card{display:block}
.photo{position:relative;background:linear-gradient(135deg,#1d1d1d,#4b4b4b);min-height:330px;overflow:hidden}
.photo img{width:100%;height:360px;object-fit:cover;display:block}
.photo-placeholder{min-height:240px;display:flex;align-items:flex-end;padding:20px;background:linear-gradient(135deg,#1b1b1b 0%,#3a1214 60%,#d71920 100%);color:#fff}
.photo-placeholder span{font-size:13px;opacity:0.85;font-weight:600}
.photo-tag{position:absolute;top:14px;left:14px;background:#d71920;color:#fff;padding:4px 10px;font-size:12px;font-weight:700}

.story-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#666;font-size:12px;margin-top:14px}
.kicker{color:#d71920;font-size:12px;font-weight:800}
.lead-story h1{font-size:clamp(25px,3.2vw,38px);line-height:1.35;margin:8px 0 10px;font-weight:800}
.lead-card:hover h1,.side-story:hover h3,.news-card:hover h3{color:#d71920}
.summary{color:#444;font-size:16px;margin:0 0 12px}
.read-more{font-size:14px;color:#d71920;font-weight:700;display:inline-block}

.section-heading{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.section-heading h2{font-size:18px;margin:0;white-space:nowrap;font-weight:800}
.section-heading i{height:1px;background:#ddd;flex:1}

.side-story{display:grid;grid-template-columns:104px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #eee;align-items:start}
.side-story.no-thumb{grid-template-columns:1fr}
.mini-photo{width:104px;height:76px;background:#2b2b2b;overflow:hidden}
.mini-photo img{width:100%;height:100%;object-fit:cover;display:block}
.side-story h3{font-size:15px;line-height:1.45;margin:2px 0 4px;font-weight:700}
.side-story small,.news-card small{font-size:11px;color:#777;display:block}

.latest-section{margin:46px 0}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.news-card{display:flex;flex-direction:column;border-bottom:1px solid #eee;padding-bottom:18px}
.card-photo{height:185px;background:#222;margin-bottom:12px;overflow:hidden}
.card-photo img{width:100%;height:100%;object-fit:cover;display:block}
.card-photo.fallback{background:linear-gradient(135deg,#202020,#4d1618);display:flex;align-items:flex-end;padding:14px;color:#fff;font-size:12px;font-weight:700}
.news-card h3{font-size:18px;line-height:1.45;margin:6px 0 8px;font-weight:700}
.news-card p{font-size:14px;color:#555;margin:0 0 10px;flex:1}

.about{padding:10px 0 44px}
.about p{max-width:850px;color:#444;font-size:15px}

/* Article Page */
.article-wrap{padding-top:26px}
.full-article{max-width:780px;margin:0 auto}
.full-article h1{font-size:clamp(26px,3.6vw,40px);line-height:1.35;margin:10px 0 14px;font-weight:800}
.article-meta{display:flex;flex-wrap:wrap;gap:10px;align-items:center;color:#666;font-size:13px;padding-bottom:16px;border-bottom:1px solid #e5e5e5;margin-bottom:22px}
.article-hero{margin:0 0 24px}
.article-hero img{width:100%;max-height:480px;object-fit:cover;display:block;background:#111}
.article-hero figcaption{font-size:12px;color:#666;background:#f7f7f7;padding:8px 12px;border-left:3px solid #d71920}
.article-body{font-size:18px;line-height:1.85;color:#1b1b1b}
.article-body p{margin:0 0 18px}
.article-body h2,.article-body h3{font-size:22px;margin:28px 0 12px;line-height:1.4}
.article-body ul,.article-body ol{margin:0 0 18px;padding-left:22px}
.article-body li{margin-bottom:8px}
.article-body blockquote{margin:20px 0;padding:12px 18px;background:#f7f7f7;border-left:4px solid #d71920;font-style:italic;color:#333}

.share-box{margin:32px 0 12px;padding:16px;background:#f7f7f7;border-top:2px solid #171717;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.share-box strong{font-size:14px;margin-right:6px}
.share-btn{padding:8px 14px;font-size:13px;font-weight:700;color:#fff;border:0;cursor:pointer;font-family:inherit;display:inline-block}
.share-wa{background:#1ebe5d}
.share-fb{background:#1877f2}
.share-cp{background:#333}

.empty-state{padding:36px 20px;text-align:center;background:#f9f9f9;border:1px solid #eee;color:#555}

footer{background:#171717;color:#eee;padding:30px 0;margin-top:30px}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-brand small{color:#aaa}
.footer-links{display:flex;gap:18px;font-size:13px;color:#ccc}
.footer-inner>small{color:#aaa;font-size:12px}

@media(max-width:760px){
  .wrap{width:min(100% - 26px,600px)}
  .masthead{padding:15px 0}
  .brand strong{font-size:17px}
  .brand-mark{width:40px;height:40px;font-size:19px}
  .brand small{font-size:10px}
  .nav-inner{gap:18px}
  .lead-grid{grid-template-columns:1fr;gap:26px}
  .photo{min-height:210px}
  .photo img{height:230px}
  .news-grid{grid-template-columns:1fr;gap:22px}
  .card-photo{height:190px}
  .article-body{font-size:17px}
}


/* Enhanced Social Share & Newspaper Cutting Bar */
.share-box{margin:34px 0 14px;padding:18px;background:#f8f8f8;border:1px solid #e4e4e4;border-top:3px solid #171717;display:flex;flex-direction:column;gap:12px}
.share-box-title{font-size:14px;font-weight:800;color:#171717;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}
.share-buttons{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.share-btn{padding:9px 14px;font-size:13px;font-weight:700;color:#fff;border:0;border-radius:4px;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;gap:6px;transition:opacity .15s}
.share-btn:hover{opacity:.9}
.share-fb{background:#1877f2}
.share-wa{background:#1ebe5d}
.share-tg{background:#229ed9}
.share-x{background:#14171a}
.share-cp{background:#555}
.share-cut{background:#d71920;box-shadow:0 2px 6px rgba(215,25,32,.25)}

/* Newspaper Cutting Modal */
.cutting-modal{position:fixed;inset:0;background:rgba(0,0,0,.78);z-index:100;display:none;align-items:center;justify-content:center;padding:14px}
.cutting-modal.open{display:flex}
.cutting-dialog{background:#fff;width:min(760px,100%);max-height:92vh;border-radius:8px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.cutting-header{padding:14px 18px;background:#171717;color:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}
.cutting-header strong{display:block;font-size:16px}
.cutting-header small{display:block;font-size:12px;color:#ccc}
.cutting-close{background:#333;color:#fff;border:0;width:34px;height:34px;border-radius:50%;font-size:16px;cursor:pointer;flex-shrink:0}
.cutting-actions{padding:12px 16px;background:#f4f4f4;border-bottom:1px solid #ddd;display:flex;flex-wrap:wrap;gap:8px}
.cut-btn{padding:9px 14px;border:0;border-radius:4px;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;color:#fff;display:inline-flex;align-items:center;gap:6px}
.cut-download{background:#d71920}
.cut-share{background:#1877f2}
.cut-print{background:#222}
.cutting-status{padding:14px;text-align:center;font-size:14px;color:#444;background:#fffbe6;border-bottom:1px solid #f0e6b2}
.cutting-preview-wrap{padding:16px;overflow-y:auto;background:#e5e2dc;text-align:center;flex:1}
.cutting-preview-wrap img{max-width:100%;height:auto;box-shadow:0 8px 24px rgba(0,0,0,.22);border:1px solid #bbb}

@media print{
  .no-print,.share-box,.cutting-modal{display:none!important}
  body{background:#fff;color:#000}
  .wrap{width:100%;max-width:100%}
  .masthead{border-bottom:3px double #000;padding-bottom:12px;margin-bottom:16px}
  .full-article{max-width:100%}
  .article-body{column-count:2;column-gap:26px;column-rule:1px solid #ccc;font-size:14px;line-height:1.65}
}


/* Official Main Logo Styles */
.brand-logo{height:68px;width:auto;display:block;object-fit:contain;filter:drop-shadow(0 1px 3px rgba(0,0,0,.22))}
.footer-logo{height:64px;width:auto;display:block;object-fit:contain}
.photo-placeholder{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px;background:linear-gradient(135deg,#141414 0%,#262b30 65%,#3b1214 100%);color:#fff;text-align:center}
.photo-placeholder img{width:auto;height:78px;max-width:80%;object-fit:contain;opacity:.95}
.card-photo.fallback{background:linear-gradient(135deg,#161616,#2c3238);display:flex;align-items:center;justify-content:center;padding:18px}
.card-photo.fallback img{width:auto;height:56px;max-width:78%;object-fit:contain;opacity:.92}
@media(max-width:760px){
  .brand-logo{height:52px}
  .footer-logo{height:52px}
}
