/* BusBD blog — shared by the Bangla and English posts. Colours follow the busbd.com sales page. */
/* Hind Siliguri, self-hosted (same files the app bundles via @fontsource) — no third-party font requests. */
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 400; src: url(/blog/fonts/hind-siliguri-bengali-400-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 400; src: url(/blog/fonts/hind-siliguri-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 600; src: url(/blog/fonts/hind-siliguri-bengali-600-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 600; src: url(/blog/fonts/hind-siliguri-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 700; src: url(/blog/fonts/hind-siliguri-bengali-700-normal.woff2) format('woff2'); unicode-range: U+0951-0952,U+0964-0965,U+0980-09FE,U+1CD0,U+1CD2,U+1CD5-1CD6,U+1CD8,U+1CE1,U+1CEA,U+1CED,U+1CF2,U+1CF5-1CF7,U+200C-200D,U+20B9,U+25CC,U+A8F1; }
@font-face { font-family: 'Hind Siliguri'; font-style: normal; font-display: swap; font-weight: 700; src: url(/blog/fonts/hind-siliguri-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --ink: #0f172a;
  --ink-soft: #475569;
  --brand: #0e6b8c;
  --brand-deep: #0b4f72;
  --brand-soft: #e2f1f5;
  --sun-soft: #fff1e0;
  --sun-ink: #9a3412;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --card: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 18px/1.8 "Hind Siliguri", "Noto Sans Bengali", "Kohinoor Bangla", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: system-ui, -apple-system, "Segoe UI", "Hind Siliguri", sans-serif; line-height: 1.75; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; height: auto; display: block; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* top bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(248, 250, 252, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.bar-in { max-width: 1080px; margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.bar-right { display: flex; align-items: center; gap: 10px; }
.lang { font-weight: 600; text-decoration: none; padding: 8px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.lang:hover { border-color: var(--brand); color: var(--brand-deep); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 14px; background: var(--brand); color: #fff !important; font-weight: 600; text-decoration: none; box-shadow: 0 8px 20px rgba(14, 107, 140, 0.25); transition: transform 0.15s, background 0.15s; }
.btn:hover { background: var(--brand-deep); transform: translateY(-1px); }
.btn.ghost { background: #fff; color: var(--ink) !important; border: 1px solid var(--line); box-shadow: none; }
.bar .btn { min-height: 42px; padding: 0 16px; }

/* layout */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
header.post { padding: 40px 0 8px; }
.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin: 0 0 14px; }
.crumbs a { color: var(--ink-soft); }
h1 { font-size: clamp(1.9rem, 4.6vw, 2.9rem); line-height: 1.25; margin: 0 0 16px; letter-spacing: -0.01em; }
html[lang="en"] h1 { letter-spacing: -0.02em; line-height: 1.15; }
.meta { color: var(--ink-soft); font-size: 0.95rem; display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 22px; }
.lead { font-size: 1.2rem; color: #1e293b; margin: 0 0 8px; }

h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); line-height: 1.3; margin: 56px 0 14px; letter-spacing: -0.01em; }
h3 { font-size: 1.28rem; line-height: 1.4; margin: 32px 0 8px; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 1.3em; margin: 0 0 18px; }
li { margin-bottom: 8px; }
strong { font-weight: 700; }

/* figures */
figure { margin: 28px 0; }
figure.wide-fig { max-width: 1080px; margin-left: auto; margin-right: auto; padding: 0 20px; }
figure img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(11, 79, 114, 0.35); background: #fff; }
figure.narrow img { max-width: 560px; margin: 0 auto; }
figcaption { font-size: 0.92rem; color: var(--ink-soft); margin-top: 10px; text-align: center; line-height: 1.55; }

/* boxes */
.box { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; margin: 26px 0; }
.box h2, .box h3 { margin-top: 0; }
.box.key { background: linear-gradient(135deg, #e8f4f8, #f4fafc); border-color: #c9e3ec; }
.box.key ul { margin-bottom: 0; }
.box.note { background: var(--sun-soft); border-color: #fed7aa; color: #431407; }
.box.note p:last-child { margin-bottom: 0; }
.toc ol { margin: 0; columns: 2; column-gap: 28px; }
.toc li { break-inside: avoid; margin-bottom: 6px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
@media (max-width: 640px) { .toc ol { columns: 1; } }

/* table */
.tablewrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 0.98rem; line-height: 1.55; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* cards */
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin: 22px 0; padding: 0; list-style: none; }
.cards li { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; }
.cards b { display: block; color: var(--brand-deep); margin-bottom: 2px; }

/* faq */
.faq h3 { margin-top: 26px; }

/* cta */
.cta { text-align: center; background: linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; border-radius: 26px; padding: 40px 24px; margin: 56px 0 24px; }
.cta h2 { margin: 0 0 10px; color: #fff; }
.cta p { color: #e2f1f5; max-width: 560px; margin: 0 auto 22px; }
.cta .btn { background: #fff; color: var(--brand-deep) !important; box-shadow: none; }
.cta .btn.ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.45); }
.cta .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

footer.site { border-top: 1px solid var(--line); margin-top: 48px; padding: 28px 0 48px; color: var(--ink-soft); font-size: 0.95rem; }
footer.site .wide { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; }
footer.site a { color: var(--ink-soft); }

@media (max-width: 520px) {
  body { font-size: 17px; }
  .bar .btn { display: none; }
}

/* blog index */
.posts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 22px; }
.post-card { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); transition: box-shadow 0.2s, transform 0.2s; }
.post-card:hover { box-shadow: 0 18px 40px -18px rgba(11, 79, 114, 0.35); transform: translateY(-2px); }
.post-card img { width: 100%; height: 100%; object-fit: cover; border: 0; }
.post-card .body { padding: 22px 24px; }
.post-card h2 { margin: 0 0 8px; font-size: 1.35rem; line-height: 1.35; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--brand-deep); }
.post-card h2 a::after { content: ''; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card p { margin: 0 0 10px; color: var(--ink-soft); }
.post-card .more { font-weight: 600; color: var(--brand); }
@media (max-width: 680px) { .post-card { grid-template-columns: 1fr; } .post-card img { aspect-ratio: 1200 / 630; height: auto; } }
