/* ================================================================
   বাংলা বার্তা — Main Stylesheet
   Theme: Editorial Newspaper | Irish Green + Bengali Red
   Irish flag: #169B62 / #FF883E  Bangladesh: #F42A41 / #006A4E
   ================================================================ */
:root {
  --red:         #c8102e;
  --red-d:       #a00d24;
  --red-glow:    rgba(200,16,46,.12);
  --green:       #169B62;
  --green-d:     #0f7a4d;
  --bg:          #f5f3ee;
  --bg-card:     #ffffff;
  --ink:         #171412;
  --ink-2:       #3b3330;
  --ink-muted:   #7a736d;
  --line:        #e0dbd4;
  --line-2:      #cdc7c0;
  --font-ui:     'Noto Sans Bengali','Segoe UI',sans-serif;
  --font-serif:  'Noto Serif Bengali',Georgia,serif;
  --w:           1240px;
  --r:           8px;
  --r-lg:        12px;
  --shadow-xs:   0 1px 2px rgba(0,0,0,.06);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,.11);
  --dur:         .18s;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{font-size:17px;scroll-behavior:smooth;-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-family:var(--font-ui);background:var(--bg);color:var(--ink);line-height:1.65;-webkit-font-smoothing:antialiased;overscroll-behavior-y:none}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;font-family:var(--font-ui);border:none;background:none}
input,textarea,select{font-family:var(--font-ui)}
.container{max-width:var(--w);margin:0 auto;padding:0 1.25rem}

/* ── Utility bar ─────────────────────────────────────────────── */
/* ── Utility Bar ─────────────────────────────────────────── */
.util-bar{
  background:linear-gradient(90deg,#1a0008 0%,#2d0010 50%,#1a0008 100%);
  border-bottom:1px solid rgba(200,16,46,.4);
}
.util-inner{
  display:flex;align-items:center;justify-content:space-between;
  height:38px;padding:0 1.25rem;gap:1rem;
}
/* Left section */
.util-left{display:flex;align-items:center;gap:0;flex-wrap:nowrap;min-width:0;flex-shrink:0;line-height:1}
.util-left svg{display:block;flex-shrink:0;vertical-align:middle}
.util-date-block{
  display:flex;align-items:center;gap:.375rem;
  font-size:.73rem;color:#fff;
  font-weight:700;white-space:nowrap;line-height:1;
}
.util-date-text{white-space:nowrap;color:#fff;font-weight:700}
.util-sep{
  width:1px;height:14px;background:rgba(255,255,255,.25);
  margin:0 .625rem;flex-shrink:0;
}
.util-clock{
  display:flex;align-items:center;gap:.35rem;
  font-size:.73rem;color:#fff;
  font-weight:800;white-space:nowrap;font-variant-numeric:tabular-nums;line-height:1;
}
.util-location{
  display:flex;align-items:center;gap:.35rem;
  font-size:.73rem;color:#fff;
  font-weight:700;white-space:nowrap;line-height:1;
}
/* Date flip in util bar */
.util-date-block .date-flip-wrap{overflow:visible;display:flex;align-items:center}
.util-date-block .date-flip-item{color:#fff;font-weight:700;font-size:.73rem;white-space:nowrap}
/* Right: social */
.util-right{display:flex;align-items:center;gap:.375rem}
.util-soc{
  display:inline-flex;align-items:center;gap:.3rem;
  padding:4px 10px;border-radius:5px;
  font-size:.7rem;font-weight:700;
  text-decoration:none;transition:all .18s;
  border:1px solid transparent;white-space:nowrap;
}
.util-soc svg{width:13px;height:13px;flex-shrink:0}
.util-soc span{display:none}
.util-soc-fb{color:#fff;font-weight:700;background:rgba(24,119,242,.15);border-color:rgba(24,119,242,.3)}
.util-soc-fb:hover{background:#1877f2;border-color:#1877f2;color:#fff}
.util-soc-x{color:#fff;font-weight:700;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.15)}
.util-soc-x:hover{background:#000;border-color:#555;color:#fff}
.util-soc-yt{color:#fff;font-weight:700;background:rgba(255,0,0,.12);border-color:rgba(255,0,0,.25)}
.util-soc-yt:hover{background:#ff0000;border-color:#ff0000;color:#fff}
@media(min-width:640px){.util-soc span{display:inline}}
@media(max-width:520px){.util-location{display:none}.util-hide-mob{display:none}}
@media(max-width:400px){.util-sep:last-of-type,.util-clock{display:none}}
/* Keep old classes for compat */
.util-date{display:flex;align-items:center;gap:.4rem;font-size:.72rem;color:#fff;font-weight:700;white-space:nowrap}
.util-cal-icon{width:13px;height:13px;flex-shrink:0}
/* Date flip animation */
.date-flip-wrap{
  position:relative;
  display:inline-block;
  height:1.1em;
  overflow:hidden;
  vertical-align:middle;
}
.date-flip-item{
  display:block;
  position:absolute;top:0;left:0;
  white-space:nowrap;
  opacity:0;
  transform:translateY(100%);
  transition:transform .45s cubic-bezier(.4,0,.2,1), opacity .45s ease;
  pointer-events:none;
}
.date-flip-item.date-flip-active{
  opacity:1;
  transform:translateY(0);
  position:relative;
  pointer-events:auto;
}
.date-flip-item.date-flip-exit{
  opacity:0;
  transform:translateY(-100%);
  position:absolute;
}
.util-links{
  display:flex;align-items:center;gap:.25rem;
}
.util-icon{
  display:flex;align-items:center;justify-content:center;
  width:32px;height:32px;border-radius:7px;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  transition:all .15s;
  flex-shrink:0;
}
.util-icon svg{
  width:16px;height:16px;
  fill:currentColor;
  display:block;
}
.util-icon:hover{background:var(--red);border-color:var(--red);color:#fff;transform:scale(1.08)}
.util-icon-dim{opacity:.3;pointer-events:none}

.masthead{
  background:var(--bg-card);
  padding:1.125rem 0 1rem;
  border-bottom:1px solid var(--line);
}
.masthead-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
}
.masthead-deco{display:none}
.flag-pills{display:flex;gap:3px;align-items:center}
.flag-pill{height:38px;border-radius:4px;width:14px;display:block}
.fp-ie-g{background:#169B62}.fp-ie-w{background:#fff;border:1px solid #e5e5e5}
.fp-ie-o{background:#FF883E}.fp-gap{width:6px}
.fp-bd-g{background:#006A4E}.fp-bd-r{background:#F42A41}
.masthead-logo{display:flex;align-items:center;gap:1rem;text-decoration:none;}

.logo-name{
  font-family:var(--font-serif);
  font-size:2.5rem;font-weight:900;color:var(--red);
  line-height:1;letter-spacing:-.02em;white-space:nowrap;
}
.masthead-logo-sep{
  width:2px;height:2.5rem;background:var(--line-2);
  flex-shrink:0;border-radius:2px;
}
/* Masthead right: search */
.masthead-search-wrap{flex-shrink:0}
.masthead-search-form{
  display:flex;align-items:center;
  background:var(--bg);
  border:1.5px solid var(--line-2);
  border-radius:100px;
  width:280px;
  transition:border-color var(--dur),box-shadow var(--dur);
  position:relative;overflow:visible;
}
.masthead-search-form:focus-within{
  border-color:var(--red);
  box-shadow:0 0 0 3px rgba(200,16,46,.08);
}
.masthead-search-inp{
  flex:1;border:none;outline:none;background:transparent;
  padding:.55rem .75rem .55rem 1.1rem;
  font-size:.875rem;color:var(--ink);min-width:0;
}
.masthead-search-inp::placeholder{color:var(--ink-muted);font-size:.85rem}
.masthead-search-badge{
  position:absolute;right:38px;top:50%;transform:translateY(-50%);
  padding:1px 6px;border-radius:4px;font-size:.65rem;font-weight:800;
  background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;
  cursor:pointer;display:none;white-space:nowrap;user-select:none;
}
.masthead-search-badge.bn-on{background:#fef3c7;color:#92400e;border-color:#fcd34d}
.masthead-search-btn{
  background:var(--red);border:none;cursor:pointer;
  width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;flex-shrink:0;margin:2px 2px 2px 0;
  transition:background var(--dur);
}
.masthead-search-btn:hover{background:var(--red-d)}
.masthead-search-btn svg{width:15px;height:15px}
@media(max-width:900px){.masthead-search-wrap{display:none}}
.logo-tagline{
  font-size:.9rem;color:var(--ink-muted);
  letter-spacing:.08em;font-weight:500;
  white-space:nowrap;
}
@media(max-width:600px){
  .logo-name{font-size:1.75rem}
  .logo-tagline{font-size:.78rem}
  .masthead-logo-sep{height:1.8rem}
  .masthead-logo{gap:.625rem}
}
@media(max-width:380px){
  .logo-name{font-size:1.5rem}
  .logo-tagline{font-size:.7rem;letter-spacing:.04em}
}
@media(max-width:480px){
  .logo-tagline{font-size:.78rem;letter-spacing:.08em}
  .masthead-logo{gap:.75rem}
}
.masthead-actions{display:none}
/* Search pill */
.search-pill{
  display:flex;align-items:center;
  border:1.5px solid var(--line-2);border-radius:100px;
  background:var(--bg);overflow:visible;
  transition:border-color var(--dur);
  position:relative;
}
.search-pill:focus-within{border-color:var(--red)}
.search-field{
  background:transparent;border:none;outline:none;
  padding:.45rem .875rem .45rem 1rem;
  font-size:.85rem;color:var(--ink);width:200px;
}
.search-btn{
  background:none;border:none;cursor:pointer;
  padding:.45rem .875rem .45rem .375rem;
  color:var(--ink-muted);display:flex;align-items:center;
  transition:color var(--dur);
}
.search-btn:hover{color:var(--red)}
.search-btn svg{width:16px;height:16px}
.search-bijoy-badge{
  position:absolute;right:36px;top:50%;transform:translateY(-50%);
  padding:1px 7px;border-radius:4px;font-size:.67rem;font-weight:800;
  background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;
  cursor:pointer;display:none;white-space:nowrap;user-select:none;
  -webkit-tap-highlight-color:transparent;
  transition:all .15s;
}
.search-bijoy-badge.bn-on{background:#fef3c7;color:#92400e;border-color:#fcd34d}

/* ── Ticker ────────────────────────────────────────────────────── */
.ticker-bar{
  background:var(--red);display:flex;align-items:stretch;
  height:34px;overflow:hidden;
}
.ticker-label{
  background:var(--red-d);display:flex;align-items:center;
  padding:0 1.125rem;font-size:.72rem;font-weight:800;
  letter-spacing:.1em;text-transform:uppercase;color:#fff;
  white-space:nowrap;gap:.4rem;flex-shrink:0;position:relative;
}
.ticker-label::after{
  content:'';position:absolute;right:-8px;top:0;bottom:0;
  border-left:8px solid var(--red-d);
  border-top:17px solid transparent;border-bottom:17px solid transparent;
}
.ticker-pulse{width:6px;height:6px;border-radius:50%;background:#fff;animation:blink 1.4s ease-in-out infinite}
@keyframes blink{0%,100%{opacity:1}50%{opacity:.3}}
.ticker-scroll{flex:1;overflow:hidden;display:flex;align-items:center}
.ticker-track{
  display:flex;align-items:center;white-space:nowrap;
  animation:ticker linear infinite;
  animation-duration:var(--ticker-speed,32s);
}
.ticker-track:hover{animation-play-state:paused}
.ticker-track a{
  color:#fff;font-size:.9rem;padding:0 2rem;opacity:.95;
  transition:opacity var(--dur);
}
.ticker-track a:hover{opacity:1;text-decoration:underline}
.ticker-sep{color:rgba(255,255,255,.3);margin:0 .25rem}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}


/* ── Navigation ─────────────────────────────────────────────────── */
.nav-bar{
  background:var(--ink);
  border-bottom:3px solid var(--red);
  position:sticky;top:0;z-index:200;
}
.nav-inner{
  display:flex;align-items:center;height:44px;
  overflow:hidden;
}
.nav-links-desktop{
  display:flex;align-items:center;height:100%;
  flex:1;min-width:0;
  overflow-x:auto;overflow-y:hidden;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
  touch-action:pan-x;
}
.nav-links-desktop::-webkit-scrollbar{display:none}
.nav-link{
  display:flex;align-items:center;height:100%;
  padding:0 .875rem;color:rgba(255,255,255,.75);
  font-size:.875rem;font-weight:600;white-space:nowrap;
  border-bottom:3px solid transparent;
  margin-bottom:-3px;
  transition:color var(--dur),border-color var(--dur),background var(--dur);
  text-decoration:none;
  /* Prevent text selection on touch swipe */
  user-select:none;-webkit-user-select:none;
}
.nav-link:hover{color:#fff;background:rgba(255,255,255,.06)}
.nav-link.active{color:#fff;border-bottom-color:var(--red)}
.nav-spacer{flex-shrink:0}
.nav-search-btn{
  color:rgba(255,255,255,.65);padding:0 1rem;height:100%;
  display:none;align-items:center;gap:.4rem;font-size:.85rem;
  transition:color var(--dur);
}
.nav-search-btn:hover{color:#fff}
.nav-search-btn svg{width:16px;height:16px}
@media(max-width:900px){
  .nav-search-btn{display:flex}
}
.nav-menu-btn{
  display:none;flex-direction:column;justify-content:center;
  align-items:center;gap:5px;
  padding:0 .875rem;height:100%;
  border:none;background:none;cursor:pointer;flex-shrink:0;
}
.bgl1,.bgl2,.bgl3{display:block;width:22px;height:2px;background:rgba(255,255,255,.85);border-radius:2px;transition:transform .25s,opacity .2s,width .2s}
.nav-menu-btn.open .bgl1{transform:translateY(7px) rotate(45deg)}
.nav-menu-btn.open .bgl2{opacity:0;width:0}
.nav-menu-btn.open .bgl3{transform:translateY(-7px) rotate(-45deg)}
@media(max-width:900px){.nav-menu-btn{display:flex}}

/* Mobile search button in masthead */
.mob-srch-btn{
  display:none;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:10px;
  border:1px solid rgba(0,0,0,.12);background:var(--surface2);
  color:var(--ink);cursor:pointer;flex-shrink:0;margin-left:.5rem;
}
@media(max-width:900px){.mob-srch-btn{display:flex}}
/* Mobile drawer */
.nav-drawer{display:none} /* replaced by mob-panel */
/* ── Mobile overlay ────────────────────────────────────────────── */
.mob-overlay{display:none;position:fixed;inset:0;z-index:490;background:rgba(0,0,0,.3);backdrop-filter:blur(2px)}
.mob-overlay.open{display:block}
/* ── Mobile panel ──────────────────────────────────────────────── */
.mob-panel{position:fixed;top:0;left:0;bottom:0;z-index:500;width:min(82vw,300px);background:#ffffff;transform:translateX(-100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;overflow:hidden;box-shadow:8px 0 40px rgba(0,0,0,.12)}
.mob-panel.open{transform:translateX(0)}
.mob-panel-head{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.125rem;background:linear-gradient(135deg,#a00000 0%,#c8102e 60%,#8b0000 100%);border-bottom:1px solid rgba(255,255,255,.1);flex-shrink:0}
.mob-panel-brand{font-size:1.1rem;font-weight:800;color:#fff;font-family:var(--font-serif,var(--font))}
.mob-panel-close{width:34px;height:34px;border-radius:8px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.18);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .15s}
.mob-panel-close:hover{background:rgba(255,255,255,.18)}
.mob-panel-search{padding:.75rem 1rem;border-bottom:1px solid #f1f5f9;flex-shrink:0}
.mob-panel-srch-row{display:flex;align-items:center;gap:.5rem;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:10px;padding:.45rem .75rem}
.mob-panel-srch-row svg{color:#94a3b8;flex-shrink:0}
.mob-panel-srch-row input{flex:1;border:none;background:none;color:#0f172a;font-family:var(--font);font-size:.88rem;outline:none;min-width:0}
.mob-panel-srch-row input::placeholder{color:#94a3b8}
.mob-panel-srch-row button{background:var(--red);color:#fff;border:none;border-radius:6px;padding:5px 8px;cursor:pointer;flex-shrink:0;display:flex;align-items:center;justify-content:center}
.mob-panel-bijoy-badge{padding:3px 8px;border-radius:5px;font-size:.68rem;font-weight:800;background:#f1f5f9;color:#64748b;border:1px solid #e2e8f0;cursor:pointer;user-select:none;flex-shrink:0;transition:all .15s;white-space:nowrap}
.mob-panel-bijoy-badge.bn-on{background:#fef3c7;color:#92400e;border-color:#fcd34d}
.mob-panel-nav{flex:1;overflow-y:auto;padding:.5rem 0;background:#fff}
.mob-panel-link{display:flex;align-items:center;gap:.75rem;padding:.8rem 1.125rem;color:#374151;font-size:.93rem;font-weight:600;font-family:var(--font);text-decoration:none;border-left:3px solid transparent;transition:all .15s}
.mob-panel-link:hover{color:#111827;background:#f3f4f6;border-left-color:#d1d5db}
.mob-panel-link.mob-panel-active{color:var(--red);background:rgba(200,16,46,.06);border-left-color:var(--red)}
.mob-panel-num{min-width:26px;height:26px;border-radius:7px;background:#f1f5f9;color:#9ca3af;font-size:.72rem;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.mob-panel-link.mob-panel-active .mob-panel-num{background:var(--red);color:#fff}
.mob-panel-footer{padding:.875rem 1.125rem;border-top:1px solid #f1f5f9;display:flex;gap:1rem;flex-wrap:wrap;flex-shrink:0;background:#f9fafb}
.mob-panel-footer a{font-size:.75rem;color:#9ca3af;text-decoration:none}
.mob-panel-footer a:hover{color:#374151}
@media(max-width:768px){
  .nav-inner{overflow:hidden}
  .nav-links-desktop{touch-action:pan-x}
}
/* ── Layout ─────────────────────────────────────────────────────── */
.site-main{padding:1.5rem 0 3rem}
.layout-grid{
  display:grid;grid-template-columns:1fr 300px;
  gap:2rem;align-items:start;
}
.main-col{min-width:0}
.sidebar-col{display:flex;flex-direction:column;gap:1.5rem}

/* ── Section headers ─────────────────────────────────────────────── */
.sec-head{
  display:flex;align-items:center;justify-content:space-between;
  margin-bottom:1.125rem;
  border-bottom:2px solid var(--line);padding-bottom:.625rem;
  position:relative;
}
.sec-head::before{content:'';position:absolute;bottom:-2px;left:0;width:48px;height:2px;background:var(--red)}
.sec-title{
  font-family:var(--font-serif);font-size:1.15rem;font-weight:700;
  color:var(--ink);display:flex;align-items:center;gap:.5rem;
}
.sec-dot{width:7px;height:7px;border-radius:50%;background:var(--red);flex-shrink:0}
.sec-more{
  font-size:.75rem;font-weight:700;color:var(--red);
  border:1.5px solid currentColor;padding:.2rem .6rem;
  border-radius:4px;transition:all var(--dur);white-space:nowrap;
}
.sec-more:hover{background:var(--red);color:#fff}

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.breadcrumb{
  display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;
  font-size:.82rem;color:var(--ink-muted);
  padding:.5rem 0;
  margin-bottom:0;
  border-bottom:1px solid var(--line);
}
.breadcrumb a{
  color:var(--ink-muted);transition:color var(--dur);
  display:inline-flex;align-items:center;gap:.25rem;
}
.breadcrumb a:hover{color:var(--red)}
.bc-sep{
  color:var(--line-2);font-size:.9rem;
  user-select:none;flex-shrink:0;
}
.bc-now{
  color:var(--ink);font-weight:600;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  max-width:min(320px, 40vw);display:inline-block;
  vertical-align:middle;
}
.bc-mobile{display:none!important}
@media(max-width:768px){
  .bc-desktop{display:none!important}
  .bc-mobile{display:inline-block!important}
}

/* ── Hero grid ───────────────────────────────────────────────────── */
.hero-section{margin-bottom:1.75rem}
.hero-grid{display:grid;grid-template-columns:1.6fr 1fr;gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.hero-lead{background:var(--bg-card);position:relative;display:flex;flex-direction:column}
.hero-img-wrap{overflow:hidden;position:relative;flex-shrink:0}
.hero-img-wrap-ratio{aspect-ratio:16/9}
.hero-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease}
.hero-lead:hover .hero-img{transform:scale(1.025)}
.hero-badge{position:absolute;top:.75rem;left:.75rem;background:var(--red);color:#fff;font-size:.67rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;padding:.2rem .6rem;border-radius:3px}
.hero-body{padding:1.125rem 1.375rem 1.375rem}
.hero-cat-link{font-size:.68rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem;display:block}
.hero-h1{font-family:var(--font-serif);font-size:1.65rem;font-weight:700;line-height:1.35;margin-bottom:.5rem}
.hero-h1 a{color:var(--ink)}
.hero-h1 a:hover{color:var(--red)}
.hero-meta{font-size:.82rem;color:var(--ink-muted);display:flex;align-items:center;gap:.4rem}
.hero-meta-dot{opacity:.35}
.hero-side{background:var(--bg-card);display:flex;flex-direction:column}
.hero-side-item{flex:1;padding:.875rem 1.125rem;border-bottom:1px solid var(--line);transition:background var(--dur);display:flex;flex-direction:column;gap:.375rem}
.hero-side-item:last-child{border-bottom:none}
.hero-side-item:hover{background:#fbf9f6}
.side-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:5px;display:block;transition:transform .3s;margin-bottom:.375rem}
.hero-side-item:hover .side-img{transform:scale(1.02)}
.side-cat{font-size:.75rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.06em}
.side-title{font-family:var(--font-serif);font-size:.88rem;font-weight:700;line-height:1.4}
.side-title a{color:var(--ink)}
.side-title a:hover{color:var(--red)}
.side-meta{font-size:.77rem;color:var(--ink-muted)}

/* ── Article cards ───────────────────────────────────────────────── */
.card-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.125rem;margin-bottom:1.75rem}
.card-grid-2{grid-template-columns:repeat(2,1fr)}
.art-card{
  background:var(--bg-card);border:1px solid var(--line);
  border-radius:var(--r-lg);overflow:hidden;display:flex;flex-direction:column;
  transition:box-shadow var(--dur),transform var(--dur);
}
.art-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.card-img-wrap{overflow:hidden;aspect-ratio:16/9}
.card-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.art-card:hover .card-img{transform:scale(1.04)}
.card-body{padding:.875rem 1rem 1rem;flex:1;display:flex;flex-direction:column}
.card-cat{font-size:.75rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.06em;margin-bottom:.325rem;display:block}
.card-title{font-family:var(--font-serif);font-size:1rem;font-weight:700;line-height:1.45;flex:1;margin-bottom:.375rem}
.card-title a{color:var(--ink)}
.card-title a:hover{color:var(--red)}
.card-excerpt{font-size:.875rem;color:var(--ink-muted);line-height:1.55;margin-bottom:.5rem}
.card-meta{font-size:.78rem;color:var(--ink-muted);display:flex;align-items:center;gap:.35rem;padding-top:.5rem;border-top:1px solid var(--bg);margin-top:auto}
/* List card */
.list-card{display:flex;gap:.875rem;padding:.875rem 0;border-bottom:1px solid var(--line);align-items:flex-start}
.list-card:first-child{border-top:1px solid var(--line)}
.list-thumb{width:105px;height:74px;object-fit:cover;border-radius:6px;flex-shrink:0}
.list-body{flex:1;min-width:0}
@media(max-width:640px){
  .list-card{gap:.625rem;padding:.75rem 0}
  .list-thumb{width:90px;height:64px;border-radius:5px}
  .list-title{font-size:.85rem!important;line-height:1.35!important;-webkit-line-clamp:3;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}
  .list-meta{font-size:.72rem!important}
}
.list-cat{font-size:.67rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.05em}
.list-title{font-family:var(--font-serif);font-size:.95rem;font-weight:700;line-height:1.4;margin:.3rem 0 .25rem}
.list-title a{color:var(--ink)}
.list-title a:hover{color:var(--red)}
.list-meta{font-size:.78rem;color:var(--ink-muted)}
/* Numbered */
.num-list{counter-reset:nl}
.num-item{counter-increment:nl;display:flex;gap:.75rem;align-items:flex-start;padding:.7rem 0;border-bottom:1px solid var(--bg)}
.num-item:last-child{border-bottom:none}
.num-badge{
  width:26px;height:26px;border-radius:5px;
  background:var(--red);color:#fff;font-size:.73rem;font-weight:800;
  display:flex;align-items:center;justify-content:center;flex-shrink:0;margin-top:.1rem;
}

.num-title{font-family:var(--font-serif);font-size:.95rem;font-weight:600;line-height:1.45}
.num-title a{color:var(--ink)}
.num-title a:hover{color:var(--red)}
.num-meta{font-size:.7rem;color:var(--ink-muted);margin-top:.15rem}

/* ── Sidebar widgets ─────────────────────────────────────────────── */
.widget{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--r-lg);overflow:hidden}
.widget-head{
  padding:.7rem 1.1rem;border-bottom:1px solid var(--line);
  background:linear-gradient(135deg,#faf8f4,var(--bg-card));
  position:relative;
}
.widget-head::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--red)}
.widget-title{font-family:var(--font-serif);font-size:1rem;font-weight:700;padding-left:.35rem}
.widget-body{padding:.875rem 1.1rem}
/* Newsletter widget */
.wl-desc{font-size:.81rem;color:var(--ink-muted);line-height:1.65;margin-bottom:.875rem}
.wl-inp{width:100%;padding:.55rem .875rem;border:1.5px solid var(--line-2);border-radius:6px;font-size:.875rem;background:var(--bg);color:var(--ink);outline:none;margin-bottom:.5rem}
.wl-inp:focus{border-color:var(--red)}
.wl-btn{width:100%;padding:.55rem;background:var(--red);color:#fff;border:none;border-radius:6px;font-size:.875rem;font-weight:700;cursor:pointer;transition:background var(--dur)}
.wl-btn:hover{background:var(--red-d)}
/* Tags */
.tag-cloud{display:flex;flex-wrap:wrap;gap:.375rem}
.tag-pill{padding:.25rem .65rem;background:var(--bg);border:1px solid var(--line);border-radius:100px;font-size:.77rem;color:var(--ink-muted);transition:all var(--dur);text-decoration:none;display:block}
.tag-pill:hover{background:var(--red);color:#fff;border-color:var(--red)}

/* ── Article page ────────────────────────────────────────────────── */

.art-header{margin-bottom:1.375rem}
.art-cat-link{font-size:.72rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.65rem;display:block}
.art-h1{font-family:var(--font-serif);font-size:2.1rem;font-weight:700;line-height:1.3;margin-bottom:.875rem;color:var(--ink);letter-spacing:-.01em}
.art-meta{
  display:flex;align-items:center;gap:.625rem;flex-wrap:wrap;
  padding:.875rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  margin-bottom:1.375rem;font-size:.8rem;color:var(--ink-muted);
}
.art-meta-author{font-weight:700;color:var(--ink)}
.art-featured-img{width:100%;border-radius:var(--r-lg);margin-bottom:.625rem;aspect-ratio:16/9;object-fit:cover;box-shadow:var(--shadow-md)}
.art-figure{margin:0 0 1.5rem;text-align:center}
.art-figure .art-featured-img{width:100%;display:block;border-radius:8px}
.art-img-caption{font-size:.77rem;color:var(--ink-muted);text-align:center;margin-top:.5rem;font-style:italic;display:block;padding:0 1rem}
/* ── Article Gallery — Thumbnail Grid + Lightbox ─────────── */
.art-gallery-block{margin:1.75rem 0;clear:both}
.art-gal-thumb-grid{
  display:grid;gap:3px;
  grid-template-columns:repeat(3,1fr);
  grid-template-rows:auto;
}
.art-gal-thumb{overflow:hidden;position:relative;aspect-ratio:4/3;background:var(--surface2)}
.art-gal-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.art-gal-thumb:hover img{transform:scale(1.06)}
/* First image spans 2 rows when 3+ images */
.art-gal-thumb:first-child{grid-row:span 2;aspect-ratio:auto}
.art-gal-thumb:first-child img{height:100%}
/* "More" overlay on last visible thumb */
.art-gal-more::after{
  content:"আরো " attr(data-more) " টি";
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  background:rgba(0,0,0,.55);color:#fff;font-size:1.1rem;font-weight:800;
  font-family:var(--font);backdrop-filter:blur(2px);
}
.art-gal-meta{
  display:flex;align-items:center;gap:.4rem;
  font-size:.75rem;color:var(--ink-muted);margin-top:.5rem;
  font-style:italic;
}
/* ── Lightbox ────────────────────────────────────────────────── */
.artlb{
  display:none;position:fixed;top:0;left:0;right:0;bottom:0;
  width:100%;height:100%;
  z-index:9999;
  background:rgba(0,0,0,.96);
  flex-direction:column;align-items:center;justify-content:center;
  -webkit-overflow-scrolling:touch;
  touch-action:none;
}
.artlb.open{display:flex}
/* iOS scroll lock */
body.artlb-lock{overflow:hidden;position:fixed;width:100%;height:100%}
.artlb-bar{
  position:absolute;top:0;left:0;right:0;
  display:flex;align-items:center;justify-content:space-between;
  padding:.75rem 1.25rem;z-index:10;
  background:linear-gradient(rgba(0,0,0,.7),transparent);
}
.artlb-counter{color:#fff;font-size:.88rem;font-weight:700;letter-spacing:.05em}
.artlb-btns{display:flex;align-items:center;gap:.375rem}
.artlb-btn{
  width:36px;height:36px;border-radius:8px;border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.1);color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .15s;
  backdrop-filter:blur(4px);
}
.artlb-btn:hover{background:rgba(255,255,255,.25)}
.artlb-btn svg{width:16px;height:16px;pointer-events:none}
.artlb-img-wrap{
  flex:1;display:flex;align-items:center;justify-content:center;
  width:100%;padding:56px 64px 40px;position:relative;
}
.artlb-img-wrap img{
  max-width:100%;max-height:100%;object-fit:contain;
  border-radius:4px;box-shadow:0 8px 40px rgba(0,0,0,.6);
  transition:opacity .2s;user-select:none;
}
.artlb-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;border:1.5px solid rgba(255,255,255,.3);
  background:rgba(0,0,0,.5);color:#fff;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:all .15s;backdrop-filter:blur(4px);
}
.artlb-nav:hover{background:rgba(255,255,255,.2);border-color:#fff}
.artlb-nav svg{width:20px;height:20px}
.artlb-prev{left:12px}
.artlb-next{right:12px}
.artlb-cap{
  position:absolute;bottom:0;left:0;right:0;
  background:linear-gradient(transparent,rgba(0,0,0,.8));
  color:rgba(255,255,255,.85);font-size:.8rem;text-align:center;
  padding:1.5rem 2rem .75rem;font-style:italic;min-height:2.5rem;
}
.artlb-thumbs{
  position:absolute;bottom:0;left:0;right:0;
  display:none;background:rgba(0,0,0,.9);padding:.5rem;
  overflow-x:auto;scrollbar-width:none;
}
.artlb-thumbs::-webkit-scrollbar{display:none}
.artlb-thumbs.open{display:flex;gap:4px;justify-content:center}
.artlb-tn{
  width:64px;height:48px;flex-shrink:0;border-radius:4px;overflow:hidden;
  border:2px solid transparent;cursor:pointer;transition:border-color .15s;opacity:.6;
}
.artlb-tn.active,.artlb-tn:hover{border-color:#fff;opacity:1}
.artlb-tn img{width:100%;height:100%;object-fit:cover;display:block}
@media(max-width:640px){
  /* Thumb grid stays 3-col on mobile too */
  .art-gal-thumb-grid{grid-template-columns:repeat(3,1fr)}
  /* Lightbox fills full screen perfectly */
  .artlb-bar{padding:.5rem .75rem}
  .artlb-btn{width:32px;height:32px}
  .artlb-nav{width:38px;height:38px;background:rgba(0,0,0,.7)}
  .artlb-prev{left:4px}
  .artlb-next{right:4px}
  .artlb-img-wrap{padding:48px 48px 32px}
  .artlb-counter{font-size:.8rem}
  .artlb-tn{width:52px;height:40px}
}


/* ── Single ── */
.art-gal-single figure{height:460px}

/* ── 2 images: equal columns ── */
.art-gal-row2{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.art-gal-row2 figure{height:320px}

/* ── 3 images: 1 tall left + 2 right ── */
.art-gal-feature{display:grid;grid-template-columns:3fr 2fr;gap:3px}
.art-gal-main figure{height:480px}
.art-gal-stack{display:grid;gap:3px}
.art-gal-stack figure{height:238px}  /* (480-3)/2 */

/* ── 4 images: 2×2 ── */
.art-gal-grid2{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:3px}
.art-gal-grid2 figure{height:260px}

/* ── 5+ strip: feature + row ── */
.art-gal-strip{display:grid;gap:3px;margin-top:3px}
.art-gal-strip-2{grid-template-columns:1fr 1fr}
.art-gal-strip-3{grid-template-columns:1fr 1fr 1fr}
.art-gal-strip figure{height:200px}

/* Rounded corners only on outer edges */
.art-gal-single figure{border-radius:0}
.art-gal-row2 figure:first-child{border-radius:0}
.art-gal-row2 figure:last-child{border-radius:0}

@media(max-width:640px){
  .art-gallery-block{margin:1.5rem -1rem}
  .art-gal-feature{grid-template-columns:1fr}
  .art-gal-main figure{height:260px}
  .art-gal-stack{grid-template-columns:1fr 1fr}
  .art-gal-stack figure{height:160px}
  .art-gal-row2 figure{height:200px}
  .art-gal-grid2 figure{height:180px}
  .art-gal-strip figure{height:150px}
  .art-gal-strip-3{grid-template-columns:1fr 1fr}
}
.art-body{font-family:var(--font-serif);font-size:1.05rem;line-height:1.65;color:var(--ink-2)}
.art-body p{margin:0 0 .75em}
.art-body h2{font-size:1.3rem;font-weight:700;margin:1.625rem 0 .7rem;color:var(--ink)}
.art-body h3{font-size:1.1rem;font-weight:700;margin:1.375rem 0 .55rem;color:var(--ink)}
.art-body ul,.art-body ol{padding-left:1.75rem;margin-bottom:1.2rem}
.art-body li{margin-bottom:.4rem;list-style:disc}
.art-body ol li{list-style:bengali}
/* ── Code Block — matches site theme ────────────────────── */
.art-code-wrap{
  margin:1.75rem 0;border-radius:8px;overflow:hidden;
  border:1px solid #d1c9c0;
  box-shadow:0 2px 8px rgba(23,20,18,.08);
  font-family:'SFMono-Regular',Consolas,'Liberation Mono',Menlo,monospace;
}
/* Header — red accent matching site nav */
.art-code-header{
  display:flex;align-items:center;justify-content:space-between;
  background:var(--red);
  padding:.5rem 1rem;gap:1rem;
}
.art-code-header-left{display:flex;align-items:center;gap:.625rem}
.art-code-lang{
  font-size:.7rem;font-weight:800;text-transform:uppercase;
  letter-spacing:.1em;color:#fff;
  font-family:'SFMono-Regular',Consolas,monospace;
  background:rgba(0,0,0,.18);
  padding:2px 9px;border-radius:4px;
}
/* Copy button */
.art-code-copy{
  display:inline-flex;align-items:center;gap:.35rem;
  font-size:.72rem;font-weight:700;color:#fff;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.3);
  border-radius:5px;padding:4px 10px;cursor:pointer;
  transition:all .15s;font-family:var(--font-ui);
  white-space:nowrap;
}
.art-code-copy:hover{background:rgba(255,255,255,.28);border-color:rgba(255,255,255,.5)}
.art-code-copy.copied{background:rgba(255,255,255,.9);color:var(--red);border-color:#fff}
/* Code area — warm off-white matching site bg */
.art-code-pre{
  margin:0!important;border-radius:0!important;
  padding:1.25rem 1.375rem!important;
  font-size:.875rem!important;line-height:1.75!important;
  overflow-x:auto;
  background:#1c1917!important;   /* warm near-black, not cold blue */
  max-height:520px;
}
.art-code-pre code{font-size:inherit!important;background:none!important;padding:0!important}
@media(max-width:640px){
  .art-code-pre{font-size:.78rem!important;padding:1rem!important}
  .art-code-header{padding:.45rem .75rem}
}

/* Facebook video embed */
.art-fb-wrap{
  position:relative;width:100%;margin:1.75rem 0;
  border-radius:10px;overflow:hidden;background:#000;
  aspect-ratio:16/9;
}
.art-fb-inner{position:absolute;top:0;left:0;width:100%;height:100%}
.art-fb-inner iframe{width:100%;height:100%;border:0}

/* YouTube embed */
.art-yt-wrap{position:relative;width:100%;margin:1.75rem 0;border-radius:10px;overflow:hidden;background:#000;aspect-ratio:16/9}
.art-yt-wrap iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}
/* Article table */
/* ── Article Table ───────────────────────────────────────── */
.art-table-wrap{
  overflow-x:auto;margin:1.75rem 0;
  border-radius:10px;border:1px solid var(--border);
  -webkit-overflow-scrolling:touch;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.art-table{
  width:100%;border-collapse:collapse;
  font-size:.9rem;font-family:var(--font);min-width:320px;
}
/* Header row — site red */
.art-table thead tr{background:var(--red)}
.art-table th{
  color:#fff;padding:.7rem 1rem;text-align:left;
  font-weight:700;font-size:.82rem;white-space:nowrap;
  border-right:1px solid rgba(255,255,255,.15);
}
.art-table th:last-child{border-right:none}
/* Body rows */
.art-table tbody tr{transition:background .12s}
.art-table tbody tr:nth-child(even){background:rgba(204,0,0,.03)}
.art-table tbody tr:hover{background:rgba(204,0,0,.07)}
.art-table td{
  padding:.65rem 1rem;
  border-bottom:1px solid var(--border);
  border-right:1px solid var(--border);
  color:var(--ink-2);vertical-align:top;
  line-height:1.5;
}
.art-table td:last-child{border-right:none}
.art-table tbody tr:last-child td{border-bottom:none}
/* Scroll hint on mobile */
.art-table-wrap::after{
  content:'';display:none;
  position:absolute;top:0;right:0;bottom:0;width:32px;
  background:linear-gradient(to right,transparent,rgba(255,255,255,.8));
  pointer-events:none;border-radius:0 10px 10px 0;
}
@media(max-width:600px){
  .art-table th,.art-table td{padding:.5rem .625rem;font-size:.82rem}
}
.art-body blockquote{border-left:4px solid var(--red);padding:.875rem 1.25rem;background:#fef2f2;margin:1.375rem 0;border-radius:0 6px 6px 0;font-style:italic;color:var(--ink-2)}
.art-body a{color:var(--red);text-decoration:underline;text-decoration-color:rgba(200,16,46,.3)}
.art-body a:hover{text-decoration-color:var(--red)}
.art-body img{border-radius:var(--r);margin:1rem 0;box-shadow:var(--shadow-sm)}
.art-body strong{color:var(--ink);font-weight:700}
/* Share */
.art-share{display:flex;align-items:center;gap:.625rem;flex-wrap:nowrap;padding:1.125rem 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:1.375rem 0;overflow-x:auto}
.share-lbl{font-size:.8rem;font-weight:700;color:var(--ink-muted);white-space:nowrap;flex-shrink:0}
.share-icon-btn{
  width:40px;height:40px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  border:1.5px solid;transition:all var(--dur);cursor:pointer;
  background:none;text-decoration:none;flex-shrink:0;
  -webkit-tap-highlight-color:transparent;
}
.share-fb{color:#1877f2;border-color:#1877f2}.share-fb:hover{background:#1877f2;color:#fff}
.share-tw{color:#000;border-color:#000}.share-tw:hover{background:#000;color:#fff}
.share-wa{color:#25d366;border-color:#25d366}.share-wa:hover{background:#25d366;color:#fff}
.share-copy{color:var(--ink-muted);border-color:var(--line)}.share-copy:hover{background:var(--ink-muted);color:#fff}
/* Author box */
/* Related articles section */
.related-section{margin:2.25rem 0 1rem}
.related-head{
  display:flex;align-items:center;gap:.75rem;
  margin-bottom:1.25rem;padding-bottom:.75rem;
  border-bottom:2px solid var(--line);position:relative;
}
.related-head::after{
  content:'';position:absolute;bottom:-2px;left:0;
  width:56px;height:2px;background:var(--red);
}
.related-head-bar{
  display:inline-block;width:4px;height:1.25rem;
  background:var(--red);border-radius:2px;flex-shrink:0;
}
.related-head-title{
  font-family:var(--font-serif);font-size:1.15rem;
  font-weight:700;color:var(--ink);
}
.related-grid-wrap{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.125rem;
}
.related-card{
  background:var(--bg-card);border:1px solid var(--line);
  border-radius:var(--r-lg);overflow:hidden;
  display:flex;flex-direction:column;
  transition:box-shadow var(--dur),transform var(--dur);
}
.related-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.related-card-img-wrap{display:block;overflow:hidden;aspect-ratio:16/9}
.related-card-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s}
.related-card:hover .related-card-img{transform:scale(1.04)}
.related-card-body{padding:.75rem .875rem .875rem;flex:1;display:flex;flex-direction:column;gap:.3rem}
.related-card-cat{font-size:.68rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.06em}
.related-card-title{font-family:var(--font-serif);font-size:.92rem;font-weight:700;line-height:1.45;flex:1}
.related-card-title a{color:var(--ink)}
.related-card-title a:hover{color:var(--red)}
.related-card-date{font-size:.72rem;color:var(--ink-muted);margin-top:.2rem}
@media(max-width:560px){
  .related-grid-wrap{grid-template-columns:1fr}
}
/* Tags */
.art-tags{display:flex;flex-wrap:wrap;gap:.375rem;margin:1.375rem 0}
.art-tag{padding:.25rem .65rem;background:var(--bg);border:1px solid var(--line);border-radius:100px;font-size:.77rem;color:var(--ink-muted);transition:all var(--dur)}
.art-tag:hover{background:var(--red);color:#fff;border-color:var(--red)}
/* Related */
.related-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1rem}

/* ── Category page ───────────────────────────────────────────────── */
.cat-header{
  display:flex;align-items:center;gap:.875rem;
  padding:.75rem 0 1rem;border-bottom:2px solid var(--line);margin-bottom:1.25rem;
}
.cat-swatch{width:5px;height:42px;border-radius:3px;flex-shrink:0}
.cat-name{font-family:var(--font-serif);font-size:1.7rem;font-weight:700}
.cat-count{font-size:.82rem;color:var(--ink-muted);margin-top:.2rem}

/* ── Search page ─────────────────────────────────────────────────── */
.search-hero{
  background:linear-gradient(135deg,var(--ink),#2d2422);
  padding:2.5rem 0;color:#fff;margin-bottom:1.75rem;
}
.search-hero-title{font-family:var(--font-serif);font-size:1.6rem;font-weight:700;text-align:center;margin-bottom:1rem}
.search-hero-form{
  display:flex;align-items:center;max-width:560px;margin:0 auto;
  background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.2);
  border-radius:100px;overflow:hidden;position:relative;
}
.search-hero-inp{
  flex:1;background:transparent;border:none;outline:none;
  padding:.7rem 1.125rem;color:#fff;font-size:.95rem;
}
.search-hero-inp::placeholder{color:rgba(255,255,255,.45)}
.search-hero-btn{background:var(--red);color:#fff;border:none;padding:.7rem 1.5rem;font-size:.875rem;font-weight:700;cursor:pointer;white-space:nowrap;transition:background var(--dur)}
.search-hero-btn:hover{background:var(--red-d)}
.search-hero-badge{position:absolute;right:105px;top:50%;transform:translateY(-50%);padding:1px 7px;border-radius:4px;font-size:.67rem;font-weight:800;background:rgba(255,255,255,.15);color:rgba(255,255,255,.8);cursor:pointer;user-select:none}
.search-hero-badge.bn-on{background:#fef3c7;color:#92400e}
.result-item{display:flex;gap:1.125rem;padding:1.125rem 0;border-bottom:1px solid var(--line)}
.result-img{width:130px;height:85px;object-fit:cover;border-radius:6px;flex-shrink:0}
.result-body{flex:1;min-width:0}
.result-cat{font-size:.68rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.06em}
.result-title{font-family:var(--font-serif);font-size:1.1rem;font-weight:700;margin:.375rem 0;line-height:1.4}
.result-title a{color:var(--ink)}
.result-title a:hover{color:var(--red)}
.result-excerpt{font-size:.9rem;color:var(--ink-muted);line-height:1.6}
.result-meta{font-size:.73rem;color:var(--ink-muted);margin-top:.35rem}
.no-results{text-align:center;padding:3rem 1rem;color:var(--ink-muted)}

/* ── Contact ─────────────────────────────────────────────────────── */
.contact-page-head{text-align:center;padding:2.25rem 0 1.75rem;border-bottom:1px solid var(--line);margin-bottom:1.75rem}
.contact-page-head h1{font-family:var(--font-serif);font-size:1.9rem;font-weight:700;margin-bottom:.5rem}
.contact-page-head p{font-size:.9rem;color:var(--ink-muted)}
.contact-layout{display:grid;grid-template-columns:1fr 1.5fr;gap:1.75rem;align-items:start}
@media(max-width:768px){
  .contact-layout{grid-template-columns:1fr;}
  .contact-layout .contact-info-card{order:2;}
  .contact-layout .contact-form-card{order:1;}
}
.contact-info-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.625rem}
.contact-info-title{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;margin-bottom:1.125rem}
.contact-item{display:flex;align-items:flex-start;gap:.875rem;padding:.7rem 0;border-bottom:1px solid var(--bg)}
.contact-item:last-child{border-bottom:none}
.contact-icon{width:34px;height:34px;border-radius:8px;background:var(--red-glow);color:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.contact-icon svg{width:16px;height:16px}
.contact-lbl{font-size:.72rem;font-weight:700;color:var(--ink-muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.15rem}
.contact-val{font-size:.95rem;color:var(--ink)}
.contact-val a{color:var(--red)}
.social-row{display:flex;gap:.5rem;margin-top:1.125rem;flex-wrap:wrap}
.social-btn{display:flex;align-items:center;gap:.4rem;padding:.45rem .9rem;border-radius:6px;border:1.5px solid var(--line);font-size:.78rem;font-weight:700;color:var(--ink-muted);transition:all var(--dur)}
.social-btn:hover{border-color:var(--red);color:var(--red)}
.social-btn svg{width:14px;height:14px}
/* Form */
.contact-form-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.625rem}
.form-section-title{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;margin-bottom:1.375rem}
.form-group{margin-bottom:.875rem}
.form-row-2{display:grid;grid-template-columns:1fr 1fr;gap:.875rem}
.form-label{display:block;font-size:.85rem;font-weight:700;color:var(--ink-muted);margin-bottom:.375rem}
.form-label .req{color:var(--red)}
.field-wrap{position:relative}
.form-inp{width:100%;padding:.7rem .95rem;border:1.5px solid var(--line-2);border-radius:6px;background:var(--bg);color:var(--ink);font-size:.95rem;outline:none;transition:border-color var(--dur)}
.form-inp:focus{border-color:var(--red);background:#fff}
.form-textarea{min-height:150px;resize:vertical}
.bijoy-badge-inp{
  position:absolute;right:10px;top:50%;transform:translateY(-50%);
  padding:3px 9px;border-radius:4px;font-size:.67rem;font-weight:800;
  background:#f1f5f9;color:#475569;border:1px solid #e2e8f0;
  cursor:pointer;display:none;user-select:none;-webkit-tap-highlight-color:transparent;
  min-width:36px;min-height:26px;text-align:center;
  touch-action:manipulation;z-index:10;
}
.form-inp:focus ~ .bijoy-badge-inp{display:inline-block}
.bijoy-badge-inp.badge-visible{display:inline-block}
.bijoy-badge-inp.bn-on{background:#fef3c7;color:#92400e;border-color:#fcd34d}
/* For textarea badge — different positioning */
.field-wrap-ta .bijoy-badge-inp{top:10px;transform:none}
.form-submit{width:100%;padding:.7rem;background:var(--red);color:#fff;border:none;border-radius:6px;font-size:.95rem;font-weight:700;cursor:pointer;transition:background var(--dur)}
.form-submit:hover{background:var(--red-d)}
.form-msg{padding:.6rem .875rem;border-radius:6px;font-size:.83rem;margin-top:.75rem;display:none}
.form-msg.ok{background:#f0fdf4;color:#16a34a;display:block}
.form-msg.err{background:#fef2f2;color:#dc2626;display:block}

/* ── Static pages ─────────────────────────────────────────────────── */
.static-wrap{max-width:800px;margin:0 auto;padding:2rem 0 3.5rem}
.static-head{margin-bottom:1.75rem;padding-bottom:1.375rem;border-bottom:2px solid var(--line);position:relative}
.static-head::after{content:'';position:absolute;bottom:-2px;left:0;width:48px;height:2px;background:var(--red)}
.static-h1{font-family:var(--font-serif);font-size:2.1rem;font-weight:700;margin-bottom:.4rem}
.static-sub{font-size:.875rem;color:var(--ink-muted)}
.static-body{font-size:1rem;line-height:1.85;color:var(--ink-2)}
.static-body h2{font-family:var(--font-serif);font-size:1.2rem;font-weight:700;color:var(--ink);margin:1.875rem 0 .7rem;padding-bottom:.5rem;border-bottom:1px solid var(--line)}
.static-body h3{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;color:var(--ink);margin:1.5rem 0 .5rem}
.static-body p{margin-bottom:.95rem}
.static-body ul{padding-left:1.5rem;margin-bottom:.95rem}
.static-body ul li{margin-bottom:.35rem;list-style:disc}
.static-body a{color:var(--red)}
.static-body strong{color:var(--ink);font-weight:700}
.static-highlight{background:linear-gradient(135deg,#fff5f5,#fef2f2);border:1px solid rgba(200,16,46,.15);border-left:4px solid var(--red);border-radius:0 var(--r) var(--r) 0;padding:.95rem 1.25rem;margin:1.5rem 0}
/* Advertise packages */
.pkg-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin:1.25rem 0}
.pkg-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.375rem;transition:box-shadow var(--dur)}
.pkg-card:hover{box-shadow:var(--shadow-md)}
.pkg-card.featured{border-color:var(--red);box-shadow:var(--shadow-sm)}
.pkg-badge{font-size:.68rem;font-weight:800;color:var(--red);text-transform:uppercase;letter-spacing:.08em;margin-bottom:.5rem}
.pkg-name{font-family:var(--font-serif);font-size:1.05rem;font-weight:700;margin-bottom:.5rem}
.pkg-price{font-size:1.5rem;font-weight:800;color:var(--ink);margin-bottom:.875rem}
.pkg-price span{font-size:.85rem;font-weight:400;color:var(--ink-muted)}
.pkg-features{padding-left:1.25rem}
.pkg-features li{margin-bottom:.35rem;font-size:.85rem;color:var(--ink-2);list-style:'✓ '}

/* ── Newsletter page ─────────────────────────────────────────────── */
.nl-page{max-width:600px;margin:0 auto;padding:2.5rem 0 3.5rem;text-align:center}
.nl-page-icon{font-size:3.25rem;margin-bottom:1.125rem}
.nl-page-h1{font-family:var(--font-serif);font-size:1.875rem;font-weight:700;margin-bottom:.625rem}
.nl-page-sub{font-size:.9rem;color:var(--ink-muted);line-height:1.7;margin-bottom:1.75rem}
.nl-benefits{display:flex;flex-direction:column;gap:.7rem;margin-bottom:1.75rem;text-align:left}
.nl-benefit{display:flex;align-items:center;gap:.875rem;font-size:.88rem;color:var(--ink-2)}
.nl-icon{width:34px;height:34px;border-radius:8px;background:var(--red-glow);color:var(--red);display:flex;align-items:center;justify-content:center;flex-shrink:0}
.nl-icon svg{width:17px;height:17px}
.nl-form-card{background:var(--bg-card);border:1px solid var(--line);border-radius:var(--r-lg);padding:1.75rem;text-align:left}
.nl-form-title{font-family:var(--font-serif);font-size:1rem;font-weight:700;margin-bottom:1rem}
.nl-inp{width:100%;padding:.65rem 1rem;border:1.5px solid var(--line-2);border-radius:6px;font-size:.9rem;background:var(--bg);color:var(--ink);outline:none;margin-bottom:.625rem}
.nl-inp:focus{border-color:var(--red)}
.nl-submit{width:100%;padding:.7rem;background:var(--red);color:#fff;border:none;border-radius:6px;font-size:.9rem;font-weight:700;cursor:pointer;transition:background var(--dur)}
.nl-submit:hover{background:var(--red-d)}

/* ── Sitemap ─────────────────────────────────────────────────────── */
.sitemap-page{padding:2rem 0 3.5rem}
.sitemap-h1{font-family:var(--font-serif);font-size:1.75rem;font-weight:700;margin-bottom:1.75rem;border-bottom:2px solid var(--line);padding-bottom:.875rem;position:relative}
.sitemap-h1::after{content:'';position:absolute;bottom:-2px;left:0;width:48px;height:2px;background:var(--red)}
.sitemap-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.sitemap-col-h{font-family:var(--font-serif);font-size:.95rem;font-weight:700;margin-bottom:.875rem;padding-bottom:.5rem;border-bottom:2px solid var(--red)}
.sitemap-list{display:flex;flex-direction:column;gap:.4rem}
.sitemap-list a{font-size:.875rem;color:var(--ink-muted);transition:color var(--dur);display:flex;align-items:center;gap:.35rem}
.sitemap-list a::before{content:'›';color:var(--red);font-weight:700}
.sitemap-list a:hover{color:var(--red)}

/* ── Pagination ───────────────────────────────────────────────────── */
.pagination{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:center;margin:1.75rem 0}
.pg-link{padding:.4rem .8rem;border:1.5px solid var(--line);border-radius:6px;font-size:.85rem;color:var(--ink-muted);background:var(--bg-card);transition:all var(--dur)}
.pg-link:hover{border-color:var(--red);color:var(--red)}
.pg-current{background:var(--red);color:#fff!important;border-color:var(--red);font-weight:700}

/* ── Empty / 404 ──────────────────────────────────────────────────── */
.empty-state{text-align:center;padding:3.5rem 1rem;color:var(--ink-muted)}
.err-num{font-size:5.5rem;color:var(--red);font-family:var(--font-serif);font-weight:700;line-height:1}

/* ── Footer ───────────────────────────────────────────────────────── */
.site-footer{background:var(--ink);color:rgba(255,255,255,.7);border-top:3px solid var(--red)}
.footer-main{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.25fr;gap:2.25rem;padding:2.75rem 0 2rem}
.ft-brand-name{font-family:var(--font-serif);font-size:1.6rem;font-weight:700;color:#fff;margin-bottom:.3rem}
.ft-brand-tag{font-size:.8rem;color:rgba(255,255,255,.45);margin-bottom:.875rem}
.ft-brand-desc{font-size:.875rem;line-height:1.7;color:rgba(255,255,255,.45);margin-bottom:1.125rem}
.ft-social{display:flex;gap:.4rem}
.ft-social a{width:32px;height:32px;border-radius:7px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.55);transition:all var(--dur)}
.ft-social a:hover{background:var(--red);border-color:var(--red);color:#fff}
.ft-social svg{width:14px;height:14px}
.ft-col-h{font-size:.73rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:.875rem;padding-bottom:.5rem;border-bottom:1px solid rgba(255,255,255,.07)}
.ft-col ul{display:flex;flex-direction:column;gap:.45rem}
.ft-col a{font-size:.9rem;color:rgba(255,255,255,.55);transition:color var(--dur);display:flex;align-items:center;gap:.35rem}
.ft-col a::before{content:'›';color:var(--red);opacity:0;transition:opacity var(--dur)}
.ft-col a:hover{color:#fff}
.ft-col a:hover::before{opacity:1}
.ft-nl-inp{width:100%;padding:.5rem .875rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:6px;color:#fff;font-size:.83rem;margin-bottom:.45rem;outline:none}
.ft-nl-inp:focus{border-color:rgba(255,255,255,.3)}
.ft-nl-inp::placeholder{color:rgba(255,255,255,.3)}
.ft-nl-btn{width:100%;padding:.5rem;background:var(--red);color:#fff;border:none;border-radius:6px;font-size:.83rem;font-weight:700;cursor:pointer;transition:background var(--dur)}
.ft-nl-btn:hover{background:var(--red-d)}

.footer-editorial p{
  font-size:.75rem;
  color:rgba(255,255,255,.38);
  line-height:1.65;
}
.footer-editorial p:first-child{
  font-weight:600;color:rgba(255,255,255,.5);
}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding:1rem 0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.625rem}
.ft-copy{font-size:.75rem;color:rgba(255,255,255,.35)}
.ft-links{display:flex;gap:1.125rem}
.ft-links a{font-size:.75rem;color:rgba(255,255,255,.35);transition:color var(--dur)}
.ft-links a:hover{color:rgba(255,255,255,.75)}

/* ── Mobile bottom nav ─────────────────────────────────────────────── */
.mobile-nav{display:none;position:fixed;bottom:0;left:0;right:0;background:var(--bg-card);border-top:1px solid var(--line);z-index:200;box-shadow:0 -4px 16px rgba(0,0,0,.08);padding-bottom:env(safe-area-inset-bottom)}
.mobile-nav-inner{display:flex;justify-content:space-around;padding:.5rem 0}
.mn-item{display:flex;flex-direction:column;align-items:center;gap:3px;color:var(--ink-muted);font-size:.63rem;font-weight:600;padding:.35rem .75rem;border-radius:8px;text-decoration:none;transition:color var(--dur);-webkit-tap-highlight-color:transparent}
.mn-item.active,.mn-item:hover{color:var(--red)}
.mn-item svg{width:21px;height:21px}

/* ── Responsive ─────────────────────────────────────────────────────── */
@media(max-width:1024px){
  .layout-grid{grid-template-columns:1fr 270px;gap:1.5rem}
  .card-grid{grid-template-columns:1fr 1fr}
  .related-grid{grid-template-columns:1fr 1fr}
  .footer-main{grid-template-columns:1fr 1fr}
  .sitemap-grid{grid-template-columns:1fr 1fr}
  .pkg-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .masthead-inner{grid-template-columns:1fr;justify-items:center;gap:.875rem}
  .masthead-deco{display:none}
  .masthead-actions{justify-content:center;width:100%}
  .logo-name{font-size:2.25rem}
  .hero-grid{grid-template-columns:1fr}
  .hero-side{display:grid;grid-template-columns:1fr 1fr}
  .layout-grid{grid-template-columns:1fr}
  .sidebar-col{display:grid;grid-template-columns:1fr 1fr}
  .contact-layout{grid-template-columns:1fr}
}
@media(max-width:768px){
  .mobile-nav{display:block}
  body{padding-bottom:68px}
  .footer-main{grid-template-columns:1fr;gap:1.5rem}
  .card-grid{grid-template-columns:1fr}
  .form-row-2{grid-template-columns:1fr}
  .search-field{width:160px}
  .result-item{flex-direction:column}
  .result-img{width:100%;height:180px}
}
@media(max-width:560px){
  .logo-name{font-size:1.9rem}
  .hero-h1{font-size:1.25rem}
  .art-h1{font-size:1.5rem}
  .hero-side{grid-template-columns:1fr}
  .sidebar-col{grid-template-columns:1fr}
  .sitemap-grid{grid-template-columns:1fr}
  .util-links{display:flex;gap:.375rem}
  .masthead{padding:.875rem 0 .75rem}
}
/* Native-app feel */
@media(hover:none){
  .art-card:hover,.hero-lead:hover{transform:none;box-shadow:none}
  .art-card:active{transform:scale(.98);box-shadow:var(--shadow-sm)}
}
/* ── Reading progress bar ────────────────────────────────── */
.read-progress{
  position:fixed;top:0;left:0;z-index:9999;
  height:3px;width:0%;
  background:linear-gradient(90deg,var(--red),#ff6b6b);
  transition:width .1s linear;
  border-radius:0 2px 2px 0;
  box-shadow:0 1px 4px rgba(200,16,46,.4);
}

/* ── Back to top button ──────────────────────────────────── */
.back-top{
  position:fixed;bottom:1.5rem;right:1.5rem;z-index:999;
  width:44px;height:44px;border-radius:12px;
  background:var(--red);color:#fff;border:none;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:0 4px 14px rgba(200,16,46,.35);
  opacity:0;transform:translateY(12px);
  transition:opacity .25s,transform .25s,box-shadow .2s;
  pointer-events:none;
}
.back-top.show{opacity:1;transform:translateY(0);pointer-events:auto}
.back-top:hover{box-shadow:0 6px 20px rgba(200,16,46,.5);transform:translateY(-2px)}
.back-top:active{transform:translateY(0)}
.back-top svg{width:18px;height:18px;stroke:#fff;fill:none;stroke-width:2.5}
@media(max-width:1024px){
  .back-top{bottom:calc(5rem + env(safe-area-inset-bottom));right:1rem}
}
@media(max-width:600px){
  .back-top{width:40px;height:40px;border-radius:10px}
}

/* ── Lazy load ──────────────────────────────────────────────── */
.lazy-card{animation:fadeInUp .35s ease both}
@keyframes fadeInUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}


/* ── Ticker & util alignment ── */
.util-inner{max-width:var(--w);margin:0 auto;width:100%}
.ticker-inner{display:flex;align-items:stretch;height:100%;width:100%}

/* ── Mobile: burger in masthead, hide nav bar ───────────────────── */
@media(max-width:900px){
  .nav-bar{display:none}
  .mob-burger-mast{
    display:flex;flex-direction:column;justify-content:center;
    align-items:center;gap:5px;
    width:38px;height:38px;border-radius:10px;
    border:1px solid rgba(0,0,0,.12);background:var(--surface2);
    cursor:pointer;flex-shrink:0;margin-left:.5rem;
    padding:0;
  }
  .mob-burger-mast .bgl1,
  .mob-burger-mast .bgl2,
  .mob-burger-mast .bgl3{background:var(--ink)}
  .mob-burger-mast.open .bgl1{transform:translateY(7px) rotate(45deg)}
  .mob-burger-mast.open .bgl2{opacity:0;width:0}
  .mob-burger-mast.open .bgl3{transform:translateY(-7px) rotate(-45deg)}
}
@media(min-width:901px){
  .mob-burger-mast{display:none}
}

/* ── Mobile: sticky util-bar + masthead + ticker ───────────────── */
@media(max-width:900px){
  .util-bar{
    position:sticky;
    top:0;
    z-index:300;
  }
  .masthead{
    position:sticky;
    top:38px; /* height of util-bar */
    z-index:299;
  }
  .ticker-bar{
    position:sticky;
    top:122px; /* util-bar(38px) + masthead(~84px) */
    z-index:298;
  }
}

/* ── Mobile: remove gap between masthead and ticker ────────────── */
@media(max-width:900px){
  .masthead{
    border-bottom:none;
    padding-bottom:.5rem;
  }
}

/* ── Mobile: sticky header wrapper (no pixel guessing) ─────────── */
@media(max-width:900px){
  .sticky-header{
    position:sticky;
    top:0;
    z-index:300;
  }
  .util-bar{position:static}
  .masthead{position:static;border-bottom:none;margin-bottom:0;padding-bottom:.625rem}
  .ticker-bar{position:static}
}

/* ── Hide article excerpt on frontend cards ─────────────────── */
.card-excerpt{display:none}

/* ── Logo split colours ─────────────────────────────────────── */
.logo-black{color:var(--ink);-webkit-text-fill-color:var(--ink)}
.logo-red{color:var(--red);-webkit-text-fill-color:var(--red)}

/* ── Logo font weight match maintenance mode ────────────────── */
.logo-name{font-weight:900!important}
.logo-black{color:var(--ink);-webkit-text-fill-color:var(--ink);font-weight:900}
.logo-red{color:var(--red);-webkit-text-fill-color:var(--red);font-weight:900}

/* ── Hero lead: reduce bottom gap since excerpt is hidden ───── */

/* ── Logo bold + colour fix (override gradient) ─────────────── */
.logo-name{font-weight:900!important;background:none!important;-webkit-text-fill-color:unset!important;background-clip:unset!important}
.logo-name .logo-black{font-weight:900;color:#111!important;-webkit-text-fill-color:#111!important;background:none!important}
.logo-name .logo-red{font-weight:900;color:var(--red)!important;-webkit-text-fill-color:var(--red)!important;background:none!important}

/* ── Hero lead tighter bottom gap ───────────────────────────── */



/* ── Category colour coding ─────────────────────────────────── */
:root{--cat-color:#cc0000}
.art-card{border-top:3px solid var(--cat-color)}
.card-cat{color:var(--cat-color)!important}
.hero-lead{border-top:3px solid var(--cat-color)}
.hero-cat-link{color:var(--cat-color)!important}
.hero-side-item{border-left:3px solid var(--cat-color)}
.side-cat{color:var(--cat-color)!important}

/* ── Category colour coding fix ─────────────────────────────── */
.art-card{border-top:3px solid var(--cat-color,#cc0000)!important}
.card-cat{color:var(--cat-color,#cc0000)!important}
.hero-cat-link{color:var(--cat-color,#cc0000)!important}
.hero-side-item{border-left:3px solid var(--cat-color,#cc0000)}
.side-cat{color:var(--cat-color,#cc0000)!important}

/* ── Remove top border from cat-lead (large featured card) ─── */
.art-card.cat-lead{border-top:1px solid var(--line)!important}

/* ── Remove line under section header ───────────────────────── */
.sec-head{border-bottom:none!important;padding-bottom:.375rem}
.sec-head::before{display:none!important}

/* ── Test: restore cat-lead top border ──────────────────────── */
.art-card.cat-lead{border-top:3px solid var(--cat-color,#cc0000)!important}

/* ── Remove left border from hero-side-item ─────────────────── */
.hero-side-item{border-left:none!important}

/* ── Logo font — use sans-serif for bolder appearance ───────── */
.logo-name{font-family:var(--font-ui)!important}

/* ── Mobile: fix logo width causing horizontal scroll ───────── */
@media(max-width:900px){
  .logo-name{font-size:1.75rem!important}
  .masthead{overflow:hidden}
  body{overflow-x:hidden}
}

/* ── Remove card-meta top border line ───────────────────────── */
.card-meta{border-top:none!important;padding-top:.375rem!important}

/* ── Card body: space between title and meta ────────────────── */
.card-body{justify-content:space-between}
.card-title{flex:1;margin-bottom:0}

/* ── Card grid: don't stretch cards to equal height ────────── */
.card-grid{align-items:start}

/* ── Revert card-grid align-items ───────────────────────────── */
.card-grid{align-items:stretch}

/* ── Remove line above card meta ────────────────────────────── */
.card-meta{border-top:none!important;padding-top:.25rem!important}

/* ── Limit card title to 3 lines max ────────────────────────── */
.card-title{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
  flex:none;
}

/* ── Card title min height = 3 lines ────────────────────────── */
.card-title{min-height:calc(1.45em * 3)}
