/* Jamia Mahmoodia Core v70 — final public authority: faculty + facilities */
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-page,
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities{--jm70-green:#0b4f42;--jm70-deep:#063b32;--jm70-gold:#d4a33a;--jm70-ink:#173f35;--jm70-muted:#6d7f78;--jm70-line:#dce6e1;--jm70-paper:#f8f4ea;}

/* Faculty page: defeat old generic hero/dark overrides explicitly. */
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero{background:radial-gradient(circle at 86% 10%,rgba(215,166,57,.14),transparent 29%),linear-gradient(180deg,#fcfaf4,#f5efe4)!important;color:var(--jm70-ink)!important;border-bottom:1px solid #e5ded2!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero h1{color:#114a3d!important;font:600 clamp(48px,5vw,76px)/.96 Georgia,serif!important;letter-spacing:-.05em!important;text-shadow:none!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero-grid>div>p{color:#667970!important;font-size:15px!important;line-height:1.78!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero .jm68-kicker{color:#a87520!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero aside{min-height:294px!important;padding:30px!important;border-radius:24px!important;background:linear-gradient(155deg,#0a5a49,#063c33)!important;color:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero aside>b{font-size:66px!important;color:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero aside>strong{color:#f3cd66!important;font-size:11px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero aside>p{color:#c9d9d3!important;font-size:11px!important}

#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model{background:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model article{padding:22px 20px!important;grid-template-columns:44px 1fr!important;gap:12px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model article>span{width:42px!important;height:42px!important;border-radius:12px!important;background:#edf6f2!important;color:#0c705a!important;font-size:16px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model h2{margin:4px 0 5px!important;color:#173f35!important;font:600 23px/1.05 Georgia,serif!important;letter-spacing:-.02em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model p{color:#72847c!important;font-size:11px!important;line-height:1.55!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model small{color:#ab7620!important;font-size:8px!important}

#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-directory{padding:74px 0 84px!important;background:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-section-head h2{color:#173f35!important;font:600 clamp(36px,3.4vw,52px)/1 Georgia,serif!important;letter-spacing:-.035em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-section-head>p{color:#71847c!important;font-size:13px!important;line-height:1.7!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-grid{gap:16px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-card{grid-template-columns:205px minmax(0,1fr)!important;min-height:300px!important;border-radius:22px!important;background:#fff!important;box-shadow:0 12px 34px rgba(4,55,44,.055)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual{min-height:300px!important;padding:16px 10px 0!important;background:linear-gradient(180deg,#eff7f3,#dfece6)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-person img{width:100%!important;height:275px!important;max-width:195px!important;object-fit:contain!important;object-position:center bottom!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-mark{align-items:center!important;padding:26px!important;background:linear-gradient(180deg,#f3f8f5,#e6f0eb)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-mark img{width:auto!important;height:auto!important;max-width:142px!important;max-height:142px!important;object-fit:contain!important;padding:8px!important;border-radius:24px!important;background:#fff!important;box-shadow:0 12px 30px rgba(4,55,44,.08)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy{padding:27px 28px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy h3{margin:7px 0 6px!important;color:#153f35!important;font:600 clamp(24px,1.8vw,30px)/1.08 Georgia,serif!important;letter-spacing:-.02em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy>b{color:#0a6a55!important;font-size:9px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy>p{margin:13px 0 18px!important;color:#72827c!important;font-size:11.5px!important;line-height:1.65!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy footer>span{color:#8b9993!important;font-size:8.5px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy footer>a{color:#0b5f4d!important;font-size:9.5px!important}

#jm-site-root:not(.jm-portal-workspace-page) .jm68-scholarship-path{background:linear-gradient(135deg,#073f34,#032f28)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-scholarship-path .jm68-section-head h2{color:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-scholarship-path .jm68-section-head>p{color:#bed0c9!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-scholarship-steps strong{color:#fff!important;font:600 21px/1.15 Georgia,serif!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm68-scholarship-steps small{color:#acc4bb!important;font-size:10px!important}

/* Facilities: richer, photographic and structured. */
#jm-site-root:not(.jm-portal-workspace-page) .jm77-facilities-hero{padding:72px 0!important;min-height:0!important;background:linear-gradient(135deg,#073f34,#032f28)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm77-facilities-copy h1{color:#fff!important;font:600 clamp(46px,4.6vw,70px)/.98 Georgia,serif!important;letter-spacing:-.04em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm77-facilities-copy>p{color:#c6d8d1!important;font-size:14px!important;line-height:1.75!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm77-facilities-photo{border-radius:24px!important;box-shadow:0 22px 58px rgba(0,0,0,.2)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm77-facilities-photo img{height:390px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities{padding:76px 0 88px!important;background:#fbfaf6!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities .jm-prospectus-lead{margin-bottom:28px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities .jm-prospectus-grid{gap:14px!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities .jm-prospectus-card{min-height:260px!important;padding:22px!important;border-radius:20px!important;border:1px solid var(--jm70-line)!important;background:#fff!important;box-shadow:0 10px 30px rgba(4,55,44,.045)!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities .jm-prospectus-card h2{color:#173f35!important;font:600 25px/1.08 Georgia,serif!important;letter-spacing:-.02em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm-prospectus-page--facilities .jm-prospectus-card p{color:#71827b!important;font-size:11.5px!important;line-height:1.68!important}

#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase{margin-top:54px;padding:30px;border:1px solid var(--jm70-line);border-radius:26px;background:#fff;box-shadow:0 18px 50px rgba(4,55,44,.06)}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase>header{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(300px,.6fr);gap:36px;align-items:end;margin-bottom:22px}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase>header span,#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey>header>span{display:block;color:#a97620;font-size:9px;font-weight:900;letter-spacing:.17em}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase h2,#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey h2{margin:7px 0 0;color:#153f35!important;font:600 clamp(32px,3vw,46px)/1.02 Georgia,serif!important;letter-spacing:-.035em!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase>header>p{margin:0;color:#71827b!important;font-size:12.5px!important;line-height:1.7!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid{display:grid;grid-template-columns:1.45fr .8fr;grid-template-rows:220px 220px;gap:12px}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figure{position:relative;margin:0;overflow:hidden;border-radius:18px;background:#e8eee9}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figure.is-wide{grid-row:1/3}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid img{display:block;width:100%!important;height:100%!important;object-fit:cover!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figure:after{content:"";position:absolute;inset:42% 0 0;background:linear-gradient(transparent,rgba(1,32,26,.74))}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figcaption{position:absolute;z-index:2;left:18px;right:18px;bottom:16px;color:#fff}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figcaption small{display:block;color:#f2c85f;font-size:8px;font-weight:900;letter-spacing:.14em}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figcaption b{display:block;margin-top:4px;color:#fff;font:600 20px/1.1 Georgia,serif}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-actions a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid #d9e3de;border-radius:12px;color:#0b5949;background:#fff;font-size:10px;font-weight:900}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-actions a.is-primary{background:#0b5949;color:#fff;border-color:#0b5949}

#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey{margin-top:20px;padding:28px;border-radius:26px;background:linear-gradient(135deg,#083f35,#043029);color:#fff}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey h2{max-width:720px;color:#fff!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:22px}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey article{position:relative;min-height:190px;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:17px;background:rgba(255,255,255,.045)}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey article>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f0c45c;color:#153f35;font-size:16px}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey article>small{position:absolute;right:18px;top:18px;color:#f0c45c;font-weight:900}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey h3{margin:18px 0 6px;color:#fff!important;font:600 24px/1.05 Georgia,serif!important}
#jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey p{margin:0;color:#bed0c9!important;font-size:10.5px!important;line-height:1.6!important}

@media(max-width:1050px){
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-card{grid-template-columns:175px minmax(0,1fr)!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-person img{max-width:170px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero{padding:44px 0 42px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero-grid{gap:20px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero h1{font-size:clamp(39px,11vw,50px)!important;line-height:.98!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-hero aside{padding:22px!important;min-height:0!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model article{padding:17px 2px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-model h2{font-size:20px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-directory{padding:58px 0 64px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-card{grid-template-columns:1fr!important;min-height:0!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual{min-height:245px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-person img{height:232px!important;max-width:210px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-mark{min-height:210px!important;padding:28px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-visual.is-mark img{max-width:132px!important;max-height:132px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy{padding:22px 20px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm68-faculty-copy h3{font-size:27px!important}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase{margin-top:36px;padding:16px;border-radius:20px}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-showcase>header{grid-template-columns:1fr;gap:10px}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid{grid-template-columns:1fr;grid-template-rows:250px 190px 190px}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-photo-grid figure.is-wide{grid-row:auto}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-actions{display:grid;grid-template-columns:1fr}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-actions a{justify-content:center}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey{padding:20px 16px;border-radius:20px}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey>div{grid-template-columns:1fr}
 #jm-site-root:not(.jm-portal-workspace-page) .jm70-facility-journey article{min-height:0}
}
