/* ==========================================================================
   Bengali (bn) locale overrides
   Loaded only by index-no-bgd.html, after style.css
   Focus: Bengali glyph metrics are taller/wider than Latin, so line-height,
   font-size and wrapping need tuning to prevent overflow in tight containers.
   ========================================================================== */

/* ---------- Font faces (local subsets, Bengali range only) ---------- */
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/hind-siliguri-400.woff2') format('woff2');
  unicode-range: U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/hind-siliguri-600.woff2') format('woff2');
  unicode-range: U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}
@font-face {
  font-family: 'Hind Siliguri';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/hind-siliguri-700.woff2') format('woff2');
  unicode-range: U+0980-09FF, U+200C-200D, U+20B9, U+25CC;
}

/* ---------- Bengali-first font stack ---------- */
body,
.hero-copy h1,
.logo,
.sect-title h2,
.stats .num,
.stats .lbl,
.feat .ft,
.feat .fs,
.tag,
.card-info,
.slide-info,
.urgency .txt,
.foot-hint,
.cta,
.online-pill,
.badge-item,
.slide-verified,
.slide-online,
.card-badge,
.more {
  font-family: 'Hind Siliguri', 'Kohinoor Bangla', 'Noto Sans Bengali',
               -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Global line-height: Bengali needs more vertical room ---------- */
body { line-height: 1.6; }

/* ---------- Hero ---------- */
.hero-copy h1 { line-height: 1.45; }
.hero-copy p { line-height: 1.7; }

/* ---------- Header badges: keep both on one line, allow shrink ---------- */
.badge-item {
  line-height: 1.55;
  white-space: normal;          /* allow wrap instead of clipping */
  max-width: 100%;
}

/* ---------- Online pill: shorter Bengali string, keep on one line ---------- */
.online-pill {
  line-height: 1.45;
  white-space: nowrap;
  font-size: 10.5px;            /* 11px Bengali was tight against the border */
  padding: 6px 9px 6px 8px;
}

/* ---------- Stats: 3 equal columns, labels must not clip ---------- */
.stats .num { line-height: 1.35; font-size: 17px; }
.stats .lbl {
  font-size: 10.5px;
  line-height: 1.4;
  padding-bottom: 1px;
  word-break: break-word;
}

/* ---------- Section title: h2 + "see all" share one row ---------- */
.sect-title h2 {
  font-size: 18px;
  line-height: 1.45;
  min-width: 0;                 /* allow shrink so .more is not pushed out */
}
.sect-title .more {
  flex-shrink: 0;
  line-height: 1.5;
  white-space: nowrap;
  font-size: 11.5px;
}

/* ---------- Feature cards: 3 across, text must stay inside ---------- */
.feat .ft {
  font-size: 11.5px;
  line-height: 1.45;
  word-break: break-word;
}
.feat .fs {
  font-size: 9.5px;
  line-height: 1.45;
  word-break: break-word;
}

/* ---------- Urgency strip ---------- */
.urgency .txt { line-height: 1.6; }

/* ---------- Footer ---------- */
.foot-hint { line-height: 1.6; }

/* ---------- CTA: longest string in the layout ---------- */
.cta {
  font-size: 15px;              /* 17px overflowed at 360px width */
  letter-spacing: 0;
  padding: 15px 24px;
  line-height: 1.5;
  max-width: calc(100vw - 32px);
  white-space: nowrap;
}

/* ---------- Slides / cards ---------- */
.slide-verified,
.slide-online {
  line-height: 1.5;
  font-size: 10.5px;
}
.slide-info .name { line-height: 1.4; }
.slide-info .loc {
  line-height: 1.45;
  font-size: 11.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;               /* was flex; block allows ellipsis */
}

/* Tags: Bengali labels run longer, let them wrap inside the row */
.tag-row { row-gap: 5px; }
.tag {
  line-height: 1.5;
  font-size: 10.5px;
  padding: 3px 9px;
  white-space: nowrap;
}

.card-badge {
  line-height: 1.5;
  font-size: 10px;
  white-space: nowrap;
  max-width: 78%;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-info .nm { line-height: 1.4; }
.card-info .tg span {
  line-height: 1.45;
  font-size: 9.5px;
  word-break: break-word;
}

/* ---------- Narrow screens (<=360px) ---------- */
@media (max-width: 360px) {
  .cta { font-size: 13.5px; padding: 14px 18px; }
  .sect-title h2 { font-size: 16px; }
  .stats .lbl { font-size: 9.5px; }
  .feat .ft { font-size: 10.5px; }
  .feat .fs { font-size: 9px; }
  .online-pill { font-size: 10px; }
}
