/* v9.02 — Demo High School (template high-school-premium-v1). সব নিয়ম .edu-site.hs এর ভিতরে — College/মূল সাইটে প্রভাব নেই। */
.edu-site.hs{--n:#124C3B;--n2:#0e3b2d;--g:#CBA65B;--gd:#8a6a1f;--iv:#F7F8F4;--tx:#20352E;--t2:#64748B;--bd:#E5EBE6;--pg:#EAF1EB;--r:10px;--sh:0 2px 10px rgba(18,76,59,.07);--sh2:0 8px 24px rgba(18,76,59,.12)}
.edu-site.hs .edu-wrap{max-width:1240px}
.edu-site.hs h1{font-size:clamp(28px,3.6vw,46px)}
.edu-site.hs .edu-ph1 h1{font-size:clamp(24px,2.6vw,30px)}
.edu-site.hs h2{font-size:clamp(20px,2.1vw,27px)}
.edu-site.hs h3{font-size:clamp(17px,1.5vw,19px)}
.edu-site.hs .edu-btn{min-height:42px;border-radius:7px;font-size:13.5px}
.edu-site.hs .edu-btn.sm{min-height:36px;font-size:13px}
.edu-site.hs .edu-card{border-radius:10px}
.edu-site.hs .edu-hd .edu-wrap{min-height:76px}
.edu-site.hs .edu-hd .edu-brand img{border-radius:0;background:none}
.edu-site.hs .edu-tag.o{background:var(--pg);color:var(--n);border-color:transparent}
.edu-site.hs .edu-badge.approved{background:#e3f3e8;color:#126b3a}
.edu-site.hs .edu-badge.rejected{background:#fde8e6;color:#b42318}
.edu-site.hs .edu-badge.pending{background:#fff4d6;color:#8a6a1f}
.edu-site.hs .edu-badge.waitlisted{background:#e8f0fe;color:#1d4ed8}

/* হিরো */
.edu-site.hs .hs-hero .edu-slide{min-height:clamp(400px,34vw,480px)}
.edu-site.hs .hs-hero .edu-slide::before{background:linear-gradient(90deg,rgba(10,45,34,.72) 0%,rgba(10,45,34,.38) 42%,rgba(10,45,34,0) 66%)}
.edu-site.hs .hs-hero .tx{max-width:560px}
.edu-site.hs .hs-hero .eb{color:var(--g);letter-spacing:.2px}

/* হেডার: ডেস্কটপে স্পেক-মেনু (৮টি); পোর্টাল লিংক শুধু মোবাইল ড্রয়ারে */
.edu-site.hs .edu-nav li.mob{display:none}
.edu-site.hs .edu-hd .edu-wrap{gap:12px}
.edu-site.hs .edu-nav>ul>li>a,.edu-site.hs .edu-nav>ul>li>button{padding:9px 9px;font-size:13.5px}
@media (max-width:1240px){.edu-site.hs .edu-nav li.mob{display:block}}
/* গ্রিড আইটেম ছোট হতে পারে (টেবিল স্ক্রল করবে, পেজ নয়) */
.edu-site.hs .edu-2c>*,.edu-site.hs .hs-ach>*,.edu-site.hs .edu-grid>*{min-width:0}
.edu-site.hs .edu-tw{max-width:100%;overflow-x:auto}
/* হিরো ছবি (picture র‍্যাপার) */
.edu-site.hs .hs-hero .edu-slide>picture{position:absolute;inset:0;display:block}
@media (min-width:721px){
 .edu-site.hs .hs-hero .edu-slide>picture{inset:0 0 0 34%}
 .edu-site.hs .hs-hero .edu-slide::before{background:linear-gradient(90deg,var(--n) 0%,var(--n) 34%,rgba(18,76,59,.78) 40%,rgba(18,76,59,0) 62%)}
 .edu-site.hs .hs-hero .tx{max-width:min(520px,38vw)}
 .edu-site.hs .hs-hero .edu-slide h1{font-size:clamp(28px,3.1vw,44px)}
}
.edu-site.hs .hs-hero .edu-slide>picture img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ৮টি সার্ভিস কার্ড */
.hs-svc-w{padding:22px 0 4px}
.hs-svc{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}
.hs-svc a{background:#fff;border:1px solid var(--bd);border-radius:10px;box-shadow:var(--sh);padding:16px 8px;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-weight:600;font-size:13.5px;line-height:1.35;color:var(--n);transition:.18s;min-height:98px;justify-content:center}
.hs-svc a svg{width:28px;height:28px;color:var(--g)}
.hs-svc a:hover{transform:translateY(-3px);box-shadow:var(--sh2);border-color:var(--g)}

/* শ্রেণি কার্ড */
.hs-cls{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}
.hs-cls.wide{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))}
.hs-cc{overflow:hidden;display:flex;flex-direction:column;transition:.18s}
.hs-cc:hover{transform:translateY(-3px);box-shadow:var(--sh2)}
.hs-cc img{width:100%;aspect-ratio:16/10;object-fit:cover}
.hs-cc .bd{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px}
.hs-cc h3{font-size:18px;margin:0}
.hs-cc small{color:var(--t2);font-size:12.5px;display:block}
.hs-cc .go{width:30px;height:30px;border-radius:50%;background:var(--pg);color:var(--n);display:grid;place-items:center;flex:none}

/* রিসোর্স */
.hs-res .edu-chips{margin-bottom:14px}
.hs-resg{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.hs-rc{display:flex;align-items:center;gap:12px;padding:14px 16px}
.hs-rc>svg:first-child{width:30px;height:30px;color:var(--g);flex:none}
.hs-rc>div{flex:1;min-width:0}
.hs-rc b{display:block;font-size:14.5px;line-height:1.4;color:var(--n)}
.hs-rc small{color:var(--t2);font-size:12.5px}
.hs-rc>svg:last-child{width:20px;height:20px;color:var(--n);flex:none}
.hs-rc:hover{border-color:var(--g)}
.hs-rc[hidden]{display:none}
.hs-flt{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px;align-items:center}
.hs-flt .edu-in{flex:1 1 200px;min-width:0}
.hs-flt .edu-sel{flex:0 1 160px;min-width:0}
.hs-sscb{display:flex;gap:18px;align-items:center;background:var(--pg);border:1px solid var(--bd);border-radius:10px;padding:16px;margin-bottom:20px}
.hs-sscb img{width:70px;height:auto;border-radius:6px;flex:none}
.hs-sscb h2{font-size:20px;margin-bottom:4px}.hs-sscb p{margin:0;color:var(--t2)}

/* ফলাফল চার্ট ও অর্জন */
.hs-ach{display:grid;grid-template-columns:1.05fr 1fr;gap:20px;align-items:stretch}
.hs-chart{padding:20px}
.hs-chart h3{font-size:17px;margin-bottom:14px}
.hs-chart .bars{display:flex;align-items:flex-end;gap:14px;height:190px;padding:22px 4px 26px;border-bottom:1px solid var(--bd);position:relative}
.hs-chart .b{flex:1;position:relative;height:100%;display:flex;align-items:flex-end;justify-content:center}
.hs-chart .b{padding-top:24px}
.hs-chart .b i{display:block;height:calc((100% - 24px) * var(--h,0));width:70%;max-width:54px;background:linear-gradient(180deg,var(--g),var(--n));border-radius:5px 5px 0 0;min-height:4px}
.hs-chart .b .v{position:absolute;top:0;left:0;right:0;text-align:center;font-weight:700;font-size:13px;color:var(--n);transform:translateY(-4px)}
.hs-chart .b .y{position:absolute;bottom:-24px;left:0;right:0;text-align:center;font-size:12.5px;color:var(--t2)}
.hs-chart .note{font-size:12.5px;color:var(--t2);margin:12px 0 0}
.hs-al{display:grid;gap:12px;align-content:start}
.hs-al .edu-ach{padding:14px 16px}

/* অভিভাবক কর্নার */
.hs-gc{background:var(--n);color:#fff;border-radius:12px;padding:26px}
.hs-gc .hd{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.hs-gc h2{color:#fff;margin:0 0 4px}.hs-gc p{margin:0;color:#cfe3d8}
.hs-gc .g{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.hs-gc .c{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:10px;padding:14px;display:flex;gap:10px;align-items:flex-start}
.hs-gc .c svg{color:var(--g);width:24px;height:24px;flex:none}
.hs-gc .c b{display:block;font-size:14.5px;line-height:1.35}.hs-gc .c small{display:block;color:#cfe3d8;font-size:12.5px;line-height:1.5;margin-top:2px}

/* শিক্ষক কার্ড: ছবি ও ইনিশিয়াল-টাইল একই উচ্চতা */
.edu-site.hs .edu-fcard{align-self:start}
.edu-site.hs .edu-fcard .pt,.edu-site.hs .edu-fcard .pt.no{aspect-ratio:1/1;height:auto;overflow:hidden}
.edu-site.hs .edu-fcard .pt img{width:100%;height:100%;object-fit:cover;object-position:50% 20%}

/* পাঠক্রমের বাইরে / কল্যাণ / গ্যালারি */
.hs-life{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.edu-site.hs .edu-ph{background:linear-gradient(135deg,var(--n),#1b6a52)}
.hs-life .it{overflow:hidden;position:relative;display:block}
.hs-life .it img,.hs-life .it .edu-ph{width:100%;aspect-ratio:4/3;object-fit:cover}
.hs-life .it .t{display:flex;gap:6px;align-items:center;padding:10px 12px;font-weight:600;font-size:14px;color:var(--n)}
.hs-life .it .t svg{color:var(--g);flex:none}
.hs-wb{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hs-wb .edu-ach{padding:16px}
.hs-gal{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.hs-gal .t{position:relative;border-radius:10px;overflow:hidden;display:block;aspect-ratio:4/3;background:var(--pg)}
.hs-gal .t img{width:100%;height:100%;object-fit:cover;transition:.3s}
.hs-gal .t:hover img{transform:scale(1.05)}
.hs-gal .t>span:last-child{position:absolute;left:0;right:0;bottom:0;padding:22px 10px 8px;background:linear-gradient(0deg,rgba(8,40,30,.82),transparent);color:#fff;font-size:13px;font-weight:600;line-height:1.35}
.hs-gal .pl{position:absolute;inset:0;margin:auto;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.92);color:var(--n);display:grid;place-items:center}

/* ভর্তি ব্যানার, পোর্টাল */
.edu-site.hs .hs-adm{background:linear-gradient(100deg,var(--n),#1b6a52);border-radius:12px}
.hs-h3{font-size:19px;margin:26px 0 12px}
.hs-login{max-width:460px;margin:0 auto;padding:24px}
.hs-att{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-top:10px}
.hs-att div{background:var(--pg);border-radius:8px;padding:10px 6px;text-align:center}
.hs-att b{display:block;font-size:22px;color:var(--n);line-height:1.2}.hs-att span{font-size:12.5px;color:var(--t2)}
.hs-st.p{background:#e3f3e8}.hs-st.a{background:#fde8e6}.hs-st.l{background:#fff4d6}.hs-st.e{background:#e8f0fe}
.edu-site.hs .hs-ft{background:#0d3a2d}

/* মোবাইল নিচের নেভিগেশন (শুধু High School) */
.hs-bn{display:none}
@media (max-width:1180px){
 .hs-svc{grid-template-columns:repeat(4,1fr)}
 .hs-cls{grid-template-columns:repeat(3,1fr)}
 .hs-gc .g{display:grid;grid-template-columns:repeat(3,1fr)}
 .hs-life{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:900px){
 .hs-ach{grid-template-columns:1fr}
 .hs-wb{grid-template-columns:1fr 1fr}
}
@media (max-width:720px){
 .edu-site.hs{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
 .edu-site.hs .edu-hd .edu-wrap{min-height:64px}
 .edu-site.hs h1{font-size:clamp(26px,7.4vw,32px)}
 .edu-site.hs .edu-ph1 h1{font-size:clamp(22px,6vw,26px)}
 .edu-site.hs h2{font-size:clamp(20px,5.6vw,22px)}
 .edu-site.hs h3{font-size:17px}
 .edu-site.hs .hs-hero .edu-slide{min-height:420px;align-items:flex-end}
 .edu-site.hs .hs-hero .edu-slide::before{background:linear-gradient(0deg,rgba(10,45,34,.85) 0%,rgba(10,45,34,.45) 55%,rgba(10,45,34,.05) 100%)}
 .edu-site.hs .hs-hero .edu-wrap{padding-bottom:56px}
 .hs-svc-w{padding:16px 0 2px}
 .edu-site.hs .hs-hero .edu-arr{display:none}
 .edu-site.hs .hs-hero .tx{padding-bottom:6px}
 .hs-svc{grid-template-columns:repeat(4,1fr);gap:8px}
 .hs-svc a{padding:12px 4px;font-size:12px;min-height:84px;gap:6px}
 .hs-svc a svg{width:24px;height:24px}
 .hs-cls{grid-template-columns:repeat(2,1fr);gap:12px}
 .hs-cc .bd{padding:10px}.hs-cc h3{font-size:16.5px}.hs-cc .go{display:none}
 .hs-resg{grid-template-columns:1fr}
 .hs-gc{padding:18px}.hs-gc .g{display:grid;grid-template-columns:1fr 1fr}
 .hs-life{grid-template-columns:repeat(2,1fr);gap:10px}
 .hs-gal{grid-template-columns:repeat(2,1fr);gap:10px}
 .hs-wb{grid-template-columns:1fr}
 .hs-sscb{flex-direction:row}
 .hs-flt .edu-sel{flex:1 1 45%}
 .hs-bn{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--bd);box-shadow:0 -4px 14px rgba(18,76,59,.1);padding:4px 4px calc(4px + env(safe-area-inset-bottom))}
 .hs-bn a,.hs-bn button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:52px;background:none;border:0;color:var(--t2);font:600 11px/1.2 var(--fb);cursor:pointer;padding:4px 2px}
 .hs-bn svg{width:22px;height:22px}
 .hs-bn a:hover,.hs-bn a:focus-visible,.hs-bn button:hover{color:var(--n)}
}
@media (max-width:380px){
 .hs-svc{grid-template-columns:repeat(2,1fr)}
 .hs-cls{grid-template-columns:1fr}
 .hs-gc .g{display:grid;grid-template-columns:1fr}
 .hs-att{grid-template-columns:repeat(2,1fr)}
 .hs-life,.hs-gal{grid-template-columns:1fr 1fr}
}
@media print{.hs-bn{display:none!important}}
