/* ================================================================
   The homepage's cards (Oct 2026): an official statement, the Course
   Fees card, the YouTube list and the social links. Used by the
   homepage itself (/login.html) and by its editor (/homepage.html),
   whose preview is drawn with the very same rules — so what he sees
   while writing is what a visitor will see.

   Everything is a portal token (shared/portal.css), so the four
   themes come for free.
   ================================================================ */

/* ---- Bangla, the same on every phone and laptop (Oct 2026) ----
   Aiyaz: "does the bold and italic work with Bangla font? make sure."
   Inter has no Bangla letters, so until now a Bangla statement was
   drawn in whatever Bangla font the device happened to have — some
   with a real bold, some without. Noto Sans Bengali is served from
   this site, like Inter, and carries every weight from 100 to 900, so
   **bold** is a true bold everywhere. Bangla has no italic letters in
   any font; *italic* is the same letters slanted, which every browser
   does by itself (font-synthesis is never switched off in the portal).

   Only the Bangla range points at it (the unicode-range below), so a
   page with no Bangla on it never downloads it — 108 KB, once, when it
   does. English keeps Inter. ৳ (U+09F3) is a Bangla letter too, so it
   comes from here inside these cards. */
@font-face{font-family:'GA Bangla';font-style:normal;font-weight:100 900;font-display:swap;
  src:url(/fonts/noto-sans-bengali-wght-normal.woff2) format('woff2-variations'),
      url(/fonts/noto-sans-bengali-wght-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}
:root{--disp-bn:'Inter','GA Bangla','Segoe UI',system-ui,-apple-system,'Helvetica Neue',Arial,sans-serif}
.hm-st,.hm-fees,.hm-list,.hm-pills,.hm-h{font-family:var(--disp-bn)}

/* section headings: the hub's course headings, the same voice */
.hm-h{margin:0 0 9px;font:800 11px/1.2 var(--disp-bn);letter-spacing:1.9px;text-transform:uppercase;color:var(--muted)}

/* ---- an official statement: always the whole of it ---- */
.hm-st{background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--gold);
  border-radius:14px;padding:15px 18px 16px;box-shadow:var(--shadow-sm)}
.hm-st + .hm-st{margin-top:10px}
.hm-st .k{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 10px;
  font:800 10.5px/1.3 var(--disp-bn);letter-spacing:1.6px;text-transform:uppercase;color:var(--gold-text)}
.hm-st .k time{font:600 12px/1.3 var(--disp-bn);letter-spacing:.2px;text-transform:none;color:var(--grey)}
/* Bangla sits taller than English (marks above and below the line), so
   the title gets a little more room between its lines than Inter needs */
.hm-st h3{margin:7px 0 0;font:800 16.5px/1.45 var(--disp-bn);color:var(--ink)}
.hm-st .bd{margin-top:7px;font-size:14.5px;line-height:1.7;color:var(--ink);overflow-wrap:anywhere}
.hm-st .bd > * + *{margin-top:8px}
.hm-st .bd strong{font-weight:700}
.hm-st .bd em{font-style:italic}
.hm-st .bd ul,.hm-st .bd ol{padding-left:20px}
.hm-st .bd li + li{margin-top:3px}
.hm-st .bd h2,.hm-st .bd h3,.hm-st .bd h4,.hm-st .bd h5{font-size:15px;font-weight:800}
.hm-st .bd blockquote{padding-left:12px;border-left:2px solid var(--gold-line);color:var(--grey)}
.hm-st .bd hr{border:0;border-top:1px solid var(--line)}
.hm-st .bd a{color:var(--gold-ink);font-weight:600;text-decoration:none;
  border-bottom:1px solid color-mix(in srgb,currentColor 40%,transparent)}
.hm-st .bd a:hover{border-bottom-color:currentColor}
.hm-st .bd code{font:13px ui-monospace,SFMono-Regular,Menlo,monospace;background:var(--surface-2);
  border:1px solid var(--line);border-radius:5px;padding:0 4px}
.hm-st .bd .tw{overflow-x:auto}
.hm-st .bd table{border-collapse:collapse;font-size:13.5px}
.hm-st .bd th,.hm-st .bd td{padding:5px 10px 5px 0;text-align:left;border-bottom:1px solid var(--line-soft)}

/* ---- the older statements arrive as the visitor scrolls ---- */
.hm-load{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;min-height:36px;
  font:600 13px/1.3 var(--disp-bn);color:var(--grey)}
.hm-load .sp{width:14px;height:14px;border-radius:50%;border:2px solid var(--gold-line);border-top-color:var(--gold);
  animation:hm-spin .8s linear infinite}
@keyframes hm-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.hm-load .sp{animation:none}}
.hm-load button{padding:8px 14px;border-radius:999px;border:1px solid var(--gold-line);background:var(--surface);
  color:var(--gold-text);font:700 13px/1.2 var(--disp-bn);cursor:pointer}
.hm-load button:hover{border-color:var(--gold);background:var(--gold-bg)}

/* ---- Course Fees: the one card that is always there ---- */
.hm-fees{display:flex;align-items:center;gap:15px;text-decoration:none;color:inherit;
  background-color:var(--surface);background-image:linear-gradient(100deg,var(--gold-bg) 0%,transparent 75%);
  border:1.5px solid var(--wel-line,#d9bf72);border-radius:16px;padding:16px 18px;box-shadow:var(--shadow-sm);
  transition:border-color .15s,box-shadow .15s,transform .15s}
.hm-fees:hover{border-color:var(--gold);box-shadow:var(--shadow-h);transform:translateY(-2px)}
:root[data-theme="dark"] .hm-fees{border-color:color-mix(in srgb,var(--gold-deep) 40%,var(--surface))}
:root[data-theme="dark"] .hm-fees:hover{border-color:var(--gold)}
.hm-fees .tx{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.hm-fees .t{font:800 17px/1.25 var(--disp-bn);color:var(--ink)}
.hm-fees .b{font-size:14px;line-height:1.5;color:var(--grey)}
.hm-fees .go{flex:none;font:800 11.5px/1 var(--disp-bn);letter-spacing:1px;text-transform:uppercase;
  color:var(--gold-text);white-space:nowrap}
@media (max-width:520px){
  .hm-fees{flex-wrap:wrap;gap:12px;padding:15px}
  .hm-fees .go{width:100%;padding-left:58px}
}

/* the brand's icon chip: a gold glyph on a black squircle, as on the hub */
.hm-ic{width:44px;height:44px;flex:none;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:var(--tile,linear-gradient(155deg,#221d15,#100e0b));color:var(--gold-light,#eecd84);
  border:1px solid var(--tile-line,#352d1d);box-shadow:0 4px 12px rgba(30,22,6,.26),inset 0 1px 0 rgba(255,255,255,.06)}
.hm-ic svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}

/* ---- YouTube: the channel, then the playlists, as one list ---- */
.hm-list{background:var(--surface);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:var(--shadow-sm)}
.hm-row{display:flex;align-items:center;gap:13px;padding:12px 16px;text-decoration:none;color:inherit;
  border-top:1px solid var(--line-soft);transition:background-color .15s}
.hm-row:first-child{border-top:0}
.hm-row:hover{background:var(--gold-bg)}
.hm-row .tx{flex:1;min-width:0}
.hm-row .t{display:block;font:700 15px/1.4 var(--disp-bn);color:var(--ink)}
.hm-row .s{display:block;margin-top:2px;font-size:13px;line-height:1.45;color:var(--grey);
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hm-row .ar{flex:none;width:16px;height:16px;color:var(--gold-text);fill:none;stroke:currentColor;stroke-width:2;
  stroke-linecap:round;stroke-linejoin:round}
.hm-row.pl .hm-ic{width:36px;height:36px;border-radius:11px;box-shadow:none}
.hm-row.pl .hm-ic svg{width:17px;height:17px}
.hm-row.pl .t{font-size:14.5px;font-weight:600}

/* ---- social links: named, never drawn as somebody else's logo ---- */
.hm-pills{display:flex;flex-wrap:wrap;gap:8px}
.hm-pill{display:inline-flex;align-items:center;gap:7px;padding:9px 14px 9px 15px;border-radius:999px;
  background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow-sm);
  text-decoration:none;color:var(--ink);font:700 14px/1.2 var(--disp-bn);transition:border-color .15s,background-color .15s}
.hm-pill:hover{border-color:var(--gold-line);background:var(--gold-bg)}
.hm-pill svg{width:13px;height:13px;color:var(--gold-text);fill:none;stroke:currentColor;stroke-width:2.2;
  stroke-linecap:round;stroke-linejoin:round}
