/* EDUINS Blog v1.0 */
:root{--blue:#0756C9;--blue-d:#0546A6;--navy:#092B63;--light:#EAF4FF;--grey:#F5F7FA;--ink:#202124;--muted:#5B6576;--line:#DCE5F2;--yellow:#FFC928;--wa:#25D366;
--head:"Poppins","Noto Sans Bengali",Inter,system-ui,sans-serif;--body:"Inter","Noto Sans Bengali",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;--r:14px;--sh:0 6px 20px rgba(9,43,99,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font-family:var(--body);color:var(--ink);background:#fff;font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
[lang="bn"],:lang(bn){font-family:"Noto Sans Bengali",var(--body)}
img{max-width:100%;height:auto;display:block}a{color:var(--blue);text-decoration:none}a:hover{color:var(--blue-d)}
.ic{width:1.1em;height:1.1em;flex:none}
h1,h2,h3{font-family:var(--head);color:var(--navy);line-height:1.25;margin:0 0 .5em}
.wrap{width:100%;max-width:1200px;margin:0 auto;padding:0 20px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:10px 16px;z-index:99}.skip:focus{left:0}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px;border-radius:6px}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font:600 .95rem/1.2 var(--head);padding:11px 20px;border-radius:10px;border:2px solid transparent;cursor:pointer;min-height:44px;transition:background .15s,transform .15s}
.btn:hover{transform:translateY(-1px)}
.btn-blue{background:var(--blue);color:#fff}.btn-blue:hover{background:var(--blue-d);color:#fff}
.btn-amber{background:var(--yellow);color:var(--navy)}.btn-amber:hover{background:#FFD54F;color:var(--navy)}
.btn-outline{border-color:var(--blue);color:var(--blue);background:#fff}.btn-outline:hover{background:var(--blue);color:#fff}
.btn-wa{background:var(--wa);color:#fff}.btn-wa:hover{background:#1DA851;color:#fff}
.btn-soon{background:#E8EDF5;color:#5B6576;cursor:default}.btn-soon:hover{transform:none}
.btn-lg{padding:14px 26px;font-size:1.05rem}
/* hero banner */
.bhero{background:linear-gradient(90deg,#EAF4FF 0%,#E0EEFF 60%,#D8E9FF 100%);overflow:hidden}
.bhero-in{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:20px;min-height:170px}
.bhero-txt{padding:26px 0}
.bhero-h{font:800 clamp(2.2rem,5vw,3.4rem)/1.05 var(--head);color:var(--navy);margin:0 0 8px}.bhero-h span{color:var(--blue)}
.bhero-sub{font-size:clamp(1rem,2vw,1.3rem);margin:0 0 12px;color:var(--ink)}
.bar{display:block;width:70px;height:5px;border-radius:5px;background:var(--blue)}
.bhero-img{justify-self:end;max-height:170px;width:auto;object-fit:contain}
/* breadcrumb */
.crumbs ol{list-style:none;margin:0;padding:14px 0;display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:.9rem;border-bottom:1px solid var(--line)}
.crumbs li{display:inline-flex;align-items:center;gap:6px}.crumbs li+li:before{content:"›";color:var(--muted);font-size:1.1rem}
.crumbs a{color:var(--navy);font-weight:500;display:inline-flex;align-items:center;gap:6px}.crumbs a .ic{color:var(--blue)}
.crumbs li[aria-current]{color:var(--muted);max-width:60ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* category strip */
.ccats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:22px 0 6px}
.ccat{display:flex;align-items:center;gap:10px;padding:14px;border-radius:12px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh);color:var(--navy);font:700 .98rem var(--head);transition:transform .15s,border-color .15s}
.ccat:hover{transform:translateY(-2px);border-color:var(--c);color:var(--navy)}
.ccat-ic{flex:none;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 12%,#fff);color:var(--c)}.ccat-ic .ic{width:24px;height:24px}
/* layout */
.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px;align-items:start;padding-top:22px;padding-bottom:30px}
.main-col{min-width:0}
.sec{margin-top:30px}
.sec-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}
.sec-h{font-size:1.4rem;margin:0;padding-left:12px;border-left:5px solid var(--blue)}
.more{display:inline-flex;align-items:center;gap:6px;font-weight:700}
.note{display:flex;gap:8px;align-items:flex-start;font-size:.92rem;color:var(--muted);margin:0 0 12px}.note .ic{margin-top:3px;color:var(--blue)}
/* featured */
.feat{display:grid;grid-template-columns:1fr 1.25fr;gap:0;border-radius:var(--r);overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:var(--sh)}
.feat-img img{width:100%;height:100%;object-fit:cover;min-height:240px}
.feat-body{padding:22px 24px;display:flex;flex-direction:column;gap:10px}
.feat-h{font-size:clamp(1.25rem,2.4vw,1.65rem);margin:0}.feat-h a{color:var(--navy)}.feat-h a:hover{color:var(--blue)}
.feat-body p{margin:0;color:#3a4250}
.feat-f{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;flex-wrap:wrap}
.meta{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.9rem}
.badge{align-self:flex-start;display:inline-block;background:var(--c,var(--blue));color:#fff;font:700 .85rem var(--head);padding:4px 14px;border-radius:999px}
.badge.sm{font-size:.72rem;padding:2px 10px}
/* virtual lab banner */
.vlb{display:grid;grid-template-columns:auto 1fr;gap:12px 16px;align-items:center;background:linear-gradient(120deg,#F2F8FF,#E2EFFF);border:1px solid #CFE2FA;border-radius:var(--r);padding:18px}
.vlb img{width:56px}.vlb-h{font:800 1.45rem var(--head);color:var(--navy);margin:0}.vlb-h span{color:var(--blue)}.vlb-s{margin:2px 0 0;color:#3a4250;font-size:.92rem}
.vlb .btn{grid-column:1/-1;justify-self:center}
.vlb.wide{grid-template-columns:auto 1fr auto;margin-top:22px;padding:18px 24px}.vlb.wide .btn{grid-column:auto}.vlb.wide .vlb-h{font-size:clamp(1.4rem,3vw,2rem)}
/* rows */
.rows{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.row{display:flex;align-items:center;gap:14px;padding:10px;border:1px solid var(--line);border-radius:12px;background:#fff;box-shadow:var(--sh);color:var(--ink)}
.row img{width:120px;height:63px;object-fit:cover;border-radius:8px;flex:none}
.row-t{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.row-t strong{font:700 1rem var(--head);color:var(--navy)}
.row-t small{display:flex;align-items:center;gap:8px;color:var(--muted);flex-wrap:wrap}
.row .go{color:var(--blue);width:22px;height:22px}a.row:hover strong{color:var(--blue)}
.is-soon{opacity:.82}.soon{display:inline-block;background:#FFF3CD;color:#7A5A00;font-size:.75rem;font-weight:700;padding:2px 9px;border-radius:999px}
/* official links */
.offlinks{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.offlinks a{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.offlinks .ic{color:var(--blue);width:22px;height:22px}.offlinks span{flex:1;display:flex;flex-direction:column}.offlinks strong{font-size:.92rem;color:var(--navy)}.offlinks small{color:var(--muted);font-size:.78rem}
/* category grid */
.cgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:12px}
.cbox{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--sh);color:var(--ink)}
.cbox img{aspect-ratio:1200/630;object-fit:cover}.cbox-b{padding:12px 14px;display:flex;flex-direction:column;gap:4px}
.cbox strong{font:700 1.05rem var(--head);color:var(--navy)}.cbox small{color:var(--muted);font-size:.84rem;line-height:1.45}.cbox em{font-style:normal;font-size:.78rem;font-weight:700;color:var(--c)}
/* article cards */
.agrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.acard{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--sh)}
.acard[hidden]{display:none}
.acard-img img{aspect-ratio:1200/630;object-fit:cover;width:100%}
.acard-body{display:flex;flex-direction:column;gap:8px;padding:14px 16px 16px;flex:1}
.acard-h{font-size:1rem;margin:0;line-height:1.4}.acard-h a{color:var(--navy)}.acard-h a:hover{color:var(--blue)}
.acard-p{margin:0;font-size:.88rem;color:var(--muted);flex:1}
.acard-f{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap;font-size:.85rem}
/* tools */
.tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center;background:var(--grey);border:1px solid var(--line);border-radius:12px;padding:12px;margin:12px 0}
.tsearch{flex:1 1 240px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:10px;padding:0 10px}
.tsearch .ic{color:var(--muted)}.tsearch input{border:0;outline:0;font:inherit;padding:10px 0;width:100%;min-height:42px;background:transparent}
.tools select{font:inherit;border:1px solid var(--line);border-radius:10px;padding:9px 10px;min-height:44px;background:#fff}
.tchk{display:inline-flex;align-items:center;gap:6px;font-size:.9rem;font-weight:600;min-height:44px}
.tcount{font-size:.88rem;color:var(--muted);font-weight:600;margin:0 0 10px}
.empty{background:#FFF8E1;border:1px solid #FFE08A;border-radius:12px;padding:14px 16px}
.pager{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:22px}
.pager a{display:inline-flex;align-items:center;gap:4px;min-width:44px;min-height:44px;justify-content:center;padding:0 14px;border:1px solid var(--line);border-radius:10px;font-weight:700;color:var(--navy);background:#fff}
.pager a[aria-current]{background:var(--blue);color:#fff;border-color:var(--blue)}
/* category head */
.cat-head{display:flex;gap:16px;align-items:flex-start;background:linear-gradient(120deg,#fff,color-mix(in srgb,var(--c) 8%,#fff));border:1px solid var(--line);border-left:6px solid var(--c);border-radius:var(--r);padding:20px;margin-bottom:20px}
.cat-ic{flex:none;width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:var(--c);color:#fff}.cat-ic .ic{width:30px;height:30px}
.cat-head h1{font-size:clamp(1.5rem,3vw,2.1rem);margin:0 0 6px}.cat-head h1 small{font-size:.6em;color:var(--muted)}.cat-head p{margin:0 0 6px;color:#3a4250}
.cat-count{font-weight:700;color:var(--c)!important;font-size:.9rem}
/* sidebar */
.sidebar{display:grid;gap:20px;position:sticky;top:90px}
.sbox{border:1px solid var(--line);border-radius:var(--r);overflow:hidden;background:#fff;box-shadow:var(--sh)}
.sbox-h{display:flex;align-items:center;gap:8px;background:var(--blue);color:#fff;font-size:1.05rem;margin:0;padding:12px 16px}.sbox-h .ic{width:20px;height:20px}
.slist{list-style:none;margin:0;padding:6px 14px}
.slist li{border-bottom:1px solid var(--line)}.slist li:last-child{border:0}
.slist a,.slist li>div{display:flex;gap:10px;align-items:flex-start;padding:10px 0;color:var(--ink)}
.slist img{width:84px;height:44px;object-fit:cover;border-radius:6px;flex:none}
.slist span{display:flex;flex-direction:column;gap:3px;min-width:0}.slist strong{font-size:.9rem;line-height:1.35;color:var(--navy)}
.slist small{display:inline-flex;align-items:center;gap:5px;color:var(--muted);font-size:.78rem}
.slist.slim{padding-top:0}
.sbox .offlinks{grid-template-columns:1fr;padding:12px 14px 0}.sbox .offlinks a{padding:8px 10px}
.scats{list-style:none;margin:0;padding:6px 14px}
.scats a{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid var(--line);color:var(--navy);font-weight:600}
.scats li:last-child a{border:0}.scats span{flex:1}.scats b{color:var(--muted);font-weight:600}.scats a[aria-current]{color:var(--blue)}
.sbox-note{margin:0;padding:0 14px 12px;font-size:.75rem;color:var(--muted)}
/* newsletter */
.newsletter{background:var(--navy);color:#fff;border-radius:18px;padding:24px 28px;margin:10px 0 40px}
.nl-in{display:grid;grid-template-columns:auto 1fr 1.1fr;gap:18px;align-items:center}
.nl-ic{width:46px;height:46px;color:#fff}.nl-txt h2{color:#fff;font-size:1.35rem;margin:0 0 4px}.nl-txt p{margin:0;color:#D6E3F7}
.nl-form{display:flex;gap:10px;flex-wrap:wrap}
.nl-field{flex:1 1 220px;display:flex;align-items:center;gap:8px;background:#fff;border-radius:10px;padding:0 12px;color:var(--muted)}
.nl-field input{border:0;outline:0;font:inherit;width:100%;min-height:46px;color:var(--ink)}
.nl-msg{flex-basis:100%;margin:0;font-size:.9rem;color:#FFE08A;min-height:1px}.nl-msg a{color:#fff;text-decoration:underline}
/* article page */
.post-head{margin-bottom:14px}.post-head h1{font-size:clamp(1.6rem,3.6vw,2.4rem);margin:10px 0}
.post-meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:var(--muted);font-size:.92rem;margin:0}.post-meta>span{display:inline-flex;align-items:center;gap:6px}
.post-img{border-radius:var(--r);width:100%;aspect-ratio:1200/630;object-fit:cover;box-shadow:var(--sh);margin-bottom:18px}
.post-body{font-size:var(--fs,1.04rem);line-height:1.8}
.post-body p,.post-body li{color:#2b3140}
.intro p{font-size:1.06em}
.toc{background:var(--light);border:1px solid #CFE2FA;border-radius:var(--r);padding:14px 18px;margin:18px 0}
.toc summary{display:flex;align-items:center;gap:10px;font:800 1.15rem var(--head);color:var(--navy);cursor:pointer;list-style:none}.toc summary::-webkit-details-marker{display:none}
.toc summary .ic{color:var(--blue);width:24px;height:24px}
.toc ol{list-style:none;margin:10px 0 0;padding:0;columns:2;column-gap:28px}
.toc li{break-inside:avoid}.toc a{display:flex;gap:8px;align-items:flex-start;padding:4px 0;color:var(--navy);font-size:.95rem}.toc a .ic{color:var(--blue);margin-top:5px}
.asec{scroll-margin-top:90px}.asec h2{font-size:clamp(1.2rem,2.4vw,1.5rem);color:var(--blue);padding-bottom:6px;border-bottom:2px solid #D5E5FA;margin:28px 0 12px}
.asec h3{font-size:1.08rem;margin:18px 0 6px}
.formula{background:var(--light);border-left:4px solid var(--blue);padding:10px 14px;border-radius:8px;font-family:var(--head);font-weight:700;color:var(--navy)}
.tbl{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:12px 0;border-radius:10px;border:1px solid var(--line)}
.tbl table{border-collapse:collapse;width:100%;min-width:420px;font-size:.95em}.tbl th,.tbl td{border-bottom:1px solid var(--line);padding:9px 12px;text-align:left}.tbl th{background:var(--light);color:var(--navy)}
.keypts{background:#F2FBF5;border:1px solid #BFE6CC;border-radius:var(--r);padding:16px 20px;margin:26px 0;scroll-margin-top:90px}.keypts h2{font-size:1.2rem;color:#11663F;margin:0 0 8px}
.keypts ul{list-style:none;margin:0;padding:0;display:grid;gap:6px}.keypts li{display:flex;gap:8px;align-items:flex-start}.keypts .ic{color:#1E8E4F;margin-top:6px}
.faq{border:1px solid var(--line);border-radius:12px;margin-bottom:10px;background:#fff}
.faq summary{cursor:pointer;padding:12px 16px;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:10px}.faq summary::-webkit-details-marker{display:none}
.faq summary:after{content:"+";font:700 1.4rem var(--head);color:var(--blue)}.faq[open] summary:after{content:"−"}
.faq summary h3{font-size:1rem;margin:0}.faq p{margin:0;padding:0 16px 14px}
.tryit{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;background:linear-gradient(120deg,#FFF6D6,#FFE9A6);border:1px solid #F5D774;border-radius:var(--r);padding:16px 20px;margin:20px 0}
.tryit strong{font:800 1.15rem var(--head);color:var(--navy)}.tryit p{margin:2px 0 0;font-size:.9rem;color:#4A3B00}
.tryit.soon{background:var(--grey);border-color:var(--line)}
.acta{margin:20px 0}
.post-foot{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:26px 0 18px}
.share{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.share>span:first-child{font-weight:700;color:var(--navy)}
.sh{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;border:0;cursor:pointer}.sh .ic{width:22px;height:22px}
.sh.fb{background:#1877F2}.sh.wa{background:var(--wa)}.sh.tg{background:#2AA3E0}.sh.cp{background:#6B7A99}.sh:hover{color:#fff;opacity:.9}
.copied{font-size:.85rem;color:#1E8E4F;font-weight:600}
.rtools{display:flex;gap:4px;border:1px solid var(--line);border-radius:12px;padding:4px}
.rtools button{min-width:44px;min-height:40px;border:0;background:#fff;border-radius:8px;font:700 1rem var(--head);color:var(--navy);cursor:pointer;display:grid;place-items:center}.rtools button:hover{background:var(--light)}
.pn{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:26px}
.pn a{display:flex;flex-direction:column;gap:4px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;color:var(--navy);background:#fff}
.pn small{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-weight:600}.pn span{font-weight:700;line-height:1.4}.pn-next{text-align:right;align-items:flex-end}
.related{margin-bottom:22px}.related .agrid{margin-top:12px}
/* help band, footer, whatsapp */
.help-band{background:linear-gradient(100deg,#FFF6D6,#FFE9A6);border-top:1px solid #F5D774;padding:22px 0}
.help-in{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}.help-in h2{font-size:1.2rem;margin:0 0 2px}.help-in p{margin:0;color:#4A3B00}
.help-btns{display:flex;gap:10px;flex-wrap:wrap}
.site-footer{background:#071F48;color:#B9C7DD;padding-top:40px;font-size:.92rem}
.foot-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.3fr;gap:28px}
.foot-logo{display:inline-flex;flex-direction:column;align-items:center;background:#fff;border-radius:12px;padding:8px 14px;margin-bottom:14px}.foot-logo img{width:150px}.foot-logo .brand-tag{margin:3px 0 0}
.foot-h{color:#fff;font-size:1rem;margin:0 0 10px}
.site-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.site-footer a{color:#B9C7DD;display:inline-flex;align-items:center;gap:6px}.site-footer a:hover{color:#fff}
.foot-contact li{display:flex;gap:6px;align-items:flex-start}.foot-contact address{font-style:normal}
.foot-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:30px;padding:16px 0;text-align:center;font-size:.85rem}
.wa-float{position:fixed;right:18px;bottom:18px;z-index:70;display:flex;align-items:center;gap:8px;background:var(--wa);color:#fff;border-radius:999px;padding:10px 16px 10px 12px;font:700 .95rem var(--head);box-shadow:0 10px 26px rgba(0,0,0,.25)}
.wa-float .ic{width:26px;height:26px}.wa-float:hover{color:#fff;background:#1DA851}
/* responsive */
@media (max-width:1150px){.ccats{grid-template-columns:repeat(3,1fr)}}
@media (max-width:1023px){
 .layout{grid-template-columns:1fr}.sidebar{position:static;grid-template-columns:1fr 1fr}
 .foot-grid{grid-template-columns:1fr 1fr}.cgrid{grid-template-columns:repeat(2,1fr)}.agrid{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:767px){
 .wrap{padding:0 16px}.hide-s{display:none!important}.topbar-in{justify-content:center;gap:8px;font-size:.8rem}
 .bhero-in{grid-template-columns:1fr 120px;min-height:0}.bhero-img{max-height:90px;object-fit:cover;object-position:left}
 .ccats{grid-template-columns:repeat(2,1fr);gap:8px}.ccat{padding:10px;font-size:.88rem}.ccat-ic{width:34px;height:34px}
 .feat{grid-template-columns:1fr}.feat-img img{min-height:0;aspect-ratio:16/9}
 .vlb.wide{grid-template-columns:auto 1fr}.vlb.wide .btn{grid-column:1/-1;justify-self:stretch}
 .row img{width:84px;height:46px}.offlinks{grid-template-columns:1fr}
 .sidebar{grid-template-columns:1fr}.agrid,.cgrid{grid-template-columns:1fr}
 .nl-in{grid-template-columns:1fr}.nl-ic{display:none}.nl-form{flex-direction:column}.nl-form .btn{width:100%}
 .toc ol{columns:1}.pn{grid-template-columns:1fr}.pn-next{text-align:left;align-items:flex-start}
 .post-foot{flex-direction:column;align-items:flex-start}
 .foot-grid{grid-template-columns:1fr}.foot-bottom{padding-bottom:76px}
 .wa-float span{display:none}.wa-float{padding:12px}.help-btns{width:100%}.help-btns .btn{flex:1}
 .crumbs li[aria-current]{max-width:28ch}
}
@media (max-width:380px){.brand img{height:34px}.brand-tag{font-size:.64rem}.tools select{flex:1}}
@media print{.topbar,.site-header,.bhero,.crumbs,.sidebar,.newsletter,.help-band,.site-footer,.wa-float,.post-foot,.pn,.related,.tryit,.acta,.lab-back{display:none!important}
 .layout{display:block}.post-body{font-size:12pt}.toc{break-inside:avoid}a{color:#000}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* social */
.follow{margin-left:auto;gap:8px!important}.so{width:26px;height:26px;border-radius:6px;display:grid!important;place-items:center;color:#fff}
.so .ic{width:16px;height:16px}.so.yt{background:#FF0000}.so.fb{background:#1877F2}.so.in{background:#0A66C2}
.social{margin-top:18px}.soc-list{gap:6px!important;font-size:.86rem}.soc-list .ic{width:18px;height:18px}
/* YouTube buttons */
.ytb{display:inline-flex;align-items:center;gap:6px;background:#FF0000;color:#fff!important;font:700 .8rem var(--head);padding:6px 12px;border-radius:999px;min-height:34px}
.ytb .ic{width:16px;height:16px}.ytb:hover{background:#CC0000}
.btn-yt{background:#FF0000;color:#fff}.btn-yt:hover{background:#CC0000;color:#fff}.btn-yt .ic{width:20px;height:20px}
.ytbox{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border:1px solid #FFD0D0;background:#FFF5F5;border-radius:var(--r);padding:16px 18px;margin:20px 0}
.ytbox>div{flex:1;min-width:200px}.ytbox strong{font:800 1.08rem var(--head);color:var(--navy)}.ytbox p{margin:2px 0 0;font-size:.9rem}
.ytbox-ic{width:46px;height:46px;border-radius:12px;background:#FF0000;color:#fff;display:grid;place-items:center}.ytbox-ic .ic{width:26px;height:26px}

/* Top bar */
.topbar {
    background: #123e79;
    color: #fff;
    font-size: 12px;
}

.topbar .topbar-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 9px;
    padding-bottom: 9px;
}

.topbar .topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.topbar .topbar-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    text-decoration: none;
}

.topbar .topbar-links a:hover {
    color: #ffd16b;
}

.topbar .topbar-links svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    border-bottom: 1px solid #e5edf6;
    box-shadow: 0 5px 22px rgba(18, 62, 121, .07);
}

.site-header .nav-in {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 86px;
}

.site-header .brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header .brand img {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
}

.site-header .brand-tag {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .3px;
}

/* Navigation */
.site-header .site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-header .menu,
.site-header .drop {
    list-style: none;
    margin: 0;
}

.site-header .menu {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0;
}

.site-header .menu > li {
    position: relative;
    margin: 0;
}

.site-header .menu > li > a,
.site-header .menu > li > .drop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 9px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #334155;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.site-header .menu-icon {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    color: #1878c7;
}

.site-header .drop-chevron {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transition: transform .2s ease;
}

.site-header .menu > li > a:hover,
.site-header .menu > li > .drop-btn:hover,
.site-header .menu > li > a.active {
    background: #edf6ff;
    color: #105da2;
}

/* Virtual Lab */
.site-header .menu > li > .virtual-lab-link {
    gap: 7px;
    padding: 10px 12px;
    border: 1px solid #b8d9fa;
    background: linear-gradient(120deg, #edf7ff, #e5efff);
    color: #105da2;
    box-shadow: 0 3px 10px rgba(24, 120, 199, .08);
}

.site-header .menu > li > .virtual-lab-link:hover,
.site-header .menu > li > .virtual-lab-link.active {
    border-color: #1878c7;
    background: linear-gradient(120deg, #1878c7, #123e79);
    color: #fff;
}

.site-header .virtual-lab-link:hover .menu-icon,
.site-header .virtual-lab-link.active .menu-icon {
    color: #fff;
}

.site-header .lab-dot {
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #f2b632;
    box-shadow: 0 0 0 3px rgba(242, 182, 50, .16);
}

/* Courses dropdown */
.site-header .has-drop > .drop {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: none;
    width: 270px;
    padding: 8px;
    border: 1px solid #e2ebf5;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(18, 62, 121, .13);
}

.site-header .has-drop:hover > .drop,
.site-header .has-drop:focus-within > .drop,
.site-header .has-drop > .drop-btn[aria-expanded="true"] + .drop {
    display: block;
}

.site-header .has-drop > .drop-btn[aria-expanded="true"] .drop-chevron {
    transform: rotate(180deg);
}

.site-header .drop li {
    margin: 0;
}

.site-header .drop a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #334155;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.site-header .drop a:hover {
    background: #edf6ff;
    color: #105da2;
}

.site-header .drop .drop-all {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid #e8eef5;
}

.site-header .drop-all a {
    color: #105da2;
    font-weight: 700;
}

/* Enroll */
.site-header .site-nav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 11px 13px;
    border: 1px solid #f2b632;
    border-radius: 11px;
    background: linear-gradient(125deg, #ffdb80, #f7bd43);
    color: #493307;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(242, 182, 50, .16);
}

.site-header .site-nav .nav-cta:hover {
    background: #f7bd43;
    color: #493307;
}

.site-header .nav-cta svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

/* Student login */
.site-header .site-nav .student-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 11px;
    background: linear-gradient(125deg, #1878c7 0%, #105da2 55%, #123e79 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 93, 162, .22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.site-header .student-login-btn svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.site-header .student-login-btn .login-arrow {
    width: 15px;
    height: 15px;
    color: #ffd16b;
    transition: transform .2s ease;
}

.site-header .site-nav .student-login-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(16, 93, 162, .3);
}

.site-header .student-login-btn:hover .login-arrow {
    transform: translateX(3px);
}

/* Language switch */
.site-header .lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
    padding: 3px;
    border: 1px solid #dce8f5;
    border-radius: 9px;
    background: #f5f9fe;
}

.site-header .lang-switch button {
    padding: 6px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.site-header .lang-switch button.active {
    background: #1878c7;
    color: #fff;
}

.site-header .ls-short {
    display: none;
}

/* Mobile toggle */
.site-header .nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
    width: 43px;
    height: 43px;
    padding: 10px;
    border: 1px solid #dce8f5;
    border-radius: 11px;
    background: #f4f8fd;
    cursor: pointer;
}

.site-header .nav-toggle span {
    display: block;
    width: 21px;
    height: 2px;
    margin: 0;
    border-radius: 2px;
    background: #123e79;
    transition: transform .2s ease, opacity .2s ease;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.site-header .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Keyboard focus */
.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 3px solid #f2c200;
    outline-offset: 4px;
}

/* Switch to mobile navigation before the menu becomes crowded */
@media (max-width: 1279px) {
    .site-header .nav-in {
        min-height: 76px;
        flex-wrap: wrap;
        gap: 12px;
    }

    .site-header .brand {
        margin-right: auto;
    }

    .site-header .brand img {
        width: 140px;
    }

    .site-header .nav-toggle {
        display: inline-flex;
    }

    .site-header .site-nav {
        position: static;
        display: none;
        flex: 0 0 100%;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-height: calc(100dvh - 130px);
        overflow-y: auto;
        padding: 14px 0 18px;
        border-top: 1px solid #e5edf6;
        background: #fff;
        box-shadow: none;
    }

    .site-header .nav-toggle[aria-expanded="true"] + .site-nav {
        display: flex;
    }

    .site-header .menu {
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        width: 100%;
    }

    .site-header .menu > li > a,
    .site-header .menu > li > .drop-btn {
        justify-content: flex-start;
        width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        font-size: 14px;
    }

    .site-header .menu > li > .virtual-lab-link {
        padding: 12px 14px;
    }

    .site-header .drop-chevron,
    .site-header .lab-dot {
        margin-left: auto;
    }

    .site-header .has-drop > .drop {
        position: static;
        width: auto;
        margin: 5px 0 5px 20px;
        border-radius: 10px;
        background: #f8fbff;
        box-shadow: none;
    }

    .site-header .has-drop:hover > .drop,
    .site-header .has-drop:focus-within > .drop {
        display: none;
    }

    .site-header .has-drop > .drop-btn[aria-expanded="true"] + .drop {
        display: block;
    }

    .site-header .site-nav .nav-cta,
    .site-header .site-nav .student-login-btn {
        flex: 1 1 140px;
        padding: 13px 16px;
        margin: 0;
    }

    .site-header .ls-long {
        display: none;
    }

    .site-header .ls-short {
        display: inline;
    }
}

@media (max-width: 600px) {
    .topbar .topbar-in {
        justify-content: center;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .topbar .topbar-message {
        display: none;
    }

    .topbar .topbar-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 14px;
        font-size: 11px;
    }

    .site-header .nav-in {
        min-height: 72px;
        gap: 8px;
    }

    .site-header .brand img {
        width: 128px;
    }

    .site-header .brand-tag {
        font-size: 9px;
    }

    .site-header .lang-switch button {
        padding: 5px 6px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-header *,
    .site-header *::before,
    .site-header *::after {
        transition: none !important;
    }

    .site-header .site-nav .student-login-btn:hover,
    .site-header .student-login-btn:hover .login-arrow {
        transform: none;
    }
}

.site-header .nav-in { max-width: 1360px; }
.site-header .blog-search-link {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    height: 42px;
    width: 42px;
    border-radius: 10px;
    background: #edf6ff;
    color: #123e79;
}
.site-header .blog-search-link:hover { background: #dceeff; }
.site-header .blog-search-link .ic { width: 20px; height: 20px; }
.skip:focus { z-index: 1100; }
