/* Jamia Mahmoodia v93 — leadership portraits, scholarly contrast and clean mobile hero navigation. */
:root{--jm93-green:#073f35;--jm93-deep:#04332c;--jm93-gold:#efbf55;--jm93-cream:#f6f1e7;--jm93-ink:#123e35;--jm93-muted:#63776f;--jm93-line:rgba(7,63,53,.12)}

/* --------------------------------------------------------------------------
   Leadership / legacy — larger portraits without oversized cards.
   -------------------------------------------------------------------------- */
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-legacy{
  padding-top:68px!important;padding-bottom:72px!important;background:#f6f1e7!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-legacy .jm70-section-head{margin-bottom:25px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid{gap:16px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article{
  min-height:286px!important;grid-template-columns:250px minmax(0,1fr)!important;
  border-radius:23px!important;background:#fff!important;border:1px solid rgba(7,63,53,.10)!important;
  box-shadow:0 15px 42px rgba(4,48,40,.065)!important;overflow:hidden!important;align-items:stretch!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo{
  height:auto!important;min-height:0!important;margin:9px!important;border-radius:17px!important;
  background:linear-gradient(160deg,#edf5f0,#e2ece6)!important;border:1px solid rgba(7,63,53,.075)!important;
  overflow:hidden!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo:after{height:22%!important;opacity:.36!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo img{
  width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;padding:0!important;
  object-fit:contain!important;object-position:center bottom!important;transform:scale(1.04);transform-origin:center bottom;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article>div:last-child{
  padding:24px 28px 24px 22px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid small{font-size:7.5px!important;letter-spacing:.15em!important;color:#a87925!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid h3{margin:8px 0 8px!important;font-size:28px!important;line-height:1.04!important;color:#143f36!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid p{margin:0!important;font-size:11px!important;line-height:1.58!important;color:#667a73!important;max-width:560px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid a{margin-top:13px!important;font-size:8px!important;color:#0a5d4d!important;font-weight:850!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid a i{color:#b27b1d!important}

/* --------------------------------------------------------------------------
   Scholarly public service — repair low-contrast text/icons and trim mass.
   -------------------------------------------------------------------------- */
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholarly{padding-top:82px!important;padding-bottom:84px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-grid{gap:16px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card{
  min-height:390px!important;padding:28px!important;border-radius:24px!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-top{gap:16px!important;margin-bottom:22px!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-top>img{
  width:84px!important;height:84px!important;padding:8px!important;border-radius:18px!important;object-fit:contain!important;background:#fff!important;
  box-shadow:0 9px 24px rgba(4,48,40,.08)!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-top small{font-size:8.5px!important;color:#c28b28!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card h3{font-size:36px!important;line-height:1!important;color:inherit!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card>p{margin-top:20px!important;font-size:13px!important;line-height:1.68!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta>p{color:#d3e2dd!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research>p{color:#62776f!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics{gap:8px!important;margin:22px 0!important}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics>span{min-height:78px!important;padding:12px!important;border-radius:15px!important}

/* Dark Dar-ul-Ifta card: icons/numbers and labels must remain readable. */
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-scholar-metrics>span{
  background:rgba(255,255,255,.075)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-scholar-metrics :is(b,i){
  color:#f0c45f!important;opacity:1!important;text-shadow:none!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-scholar-metrics small{
  color:#dbe7e3!important;opacity:1!important;font-weight:650!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-inline-actions>a{
  color:#fff!important;border-color:rgba(255,255,255,.22)!important;background:rgba(255,255,255,.035)!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-inline-actions>a.is-primary{
  background:#032b25!important;border-color:#032b25!important;color:#fff!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-ifta .jm70-inline-actions>a i{color:#efc45f!important}

/* Light Research card: labels no longer wash out into the cream background. */
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-scholar-metrics>span{
  background:#f6f3ea!important;border-color:rgba(7,63,53,.12)!important;color:#143f36!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-scholar-metrics :is(b,i){
  color:#c58d27!important;opacity:1!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-scholar-metrics small{
  color:#61756e!important;opacity:1!important;font-weight:650!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-inline-actions>a{
  color:#0a5a4a!important;border-color:rgba(7,63,53,.17)!important;background:#f7faf8!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-inline-actions>a.is-primary{
  background:#efbb4e!important;border-color:#efbb4e!important;color:#153e34!important;
}
body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card.is-research .jm70-inline-actions>a i{color:currentColor!important}

/* --------------------------------------------------------------------------
   Mobile hero navigation — status + six understated dots + three clear actions.
   No horizontal mini-card strip.
   -------------------------------------------------------------------------- */
@media(max-width:900px){
  body#jm-site-root.jm-ui-v93 .jm71-slider-console{
    display:grid!important;grid-template-columns:auto minmax(62px,1fr) auto!important;align-items:center!important;
    gap:11px!important;padding:10px 12px 11px!important;background:linear-gradient(180deg,#04342d,#032a24)!important;
    border-top:1px solid rgba(255,255,255,.08)!important;overflow:hidden!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slide-status{
    display:flex!important;align-items:center!important;gap:5px!important;min-width:43px!important;color:#fff!important;
    font:800 8px/1 Manrope,system-ui,sans-serif!important;letter-spacing:.04em!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slide-status i{display:block!important;width:12px!important;height:1px!important;background:rgba(255,255,255,.32)!important}
  body#jm-site-root.jm-ui-v93 .jm71-slide-status span:first-child{color:#efc45e!important}
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs{
    display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;
    overflow:visible!important;padding:0!important;min-width:0!important;scroll-snap-type:none!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs button{
    flex:0 0 9px!important;min-width:9px!important;width:9px!important;height:9px!important;min-height:9px!important;
    padding:0!important;border:0!important;border-radius:999px!important;background:rgba(255,255,255,.28)!important;
    box-shadow:none!important;overflow:hidden!important;transition:width .22s ease,background .22s ease!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs button:is(.is-active,[aria-current="true"]){
    width:24px!important;min-width:24px!important;flex-basis:24px!important;background:#efbf55!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs button :is(.jm79-tab-icon,.jm79-tab-copy){display:none!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows{display:flex!important;align-items:center!important;gap:6px!important;justify-content:flex-end!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows .jm-slide-pause{display:none!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows :is(button,.jm91-slider-gallery){
    width:38px!important;height:38px!important;min-width:38px!important;padding:0!important;border-radius:11px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;border:1px solid rgba(255,255,255,.13)!important;
    background:rgba(255,255,255,.055)!important;color:#fff!important;box-shadow:none!important;
  }
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows .jm91-slider-gallery{background:rgba(239,191,85,.14)!important;border-color:rgba(239,191,85,.28)!important;color:#efc45f!important}
  body#jm-site-root.jm-ui-v93 .jm91-slider-gallery span{display:none!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows i{font-size:12px!important}
}

@media(min-width:901px) and (max-width:1240px){
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article{grid-template-columns:210px minmax(0,1fr)!important;min-height:280px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article>div:last-child{padding:22px 22px 22px 16px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid h3{font-size:25px!important}
}

@media(max-width:900px){
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article{grid-template-columns:185px minmax(0,1fr)!important;min-height:265px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo{margin:8px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article>div:last-child{padding:20px 18px 20px 10px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid h3{font-size:24px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card{min-height:0!important;padding:22px!important}
}

@media(max-width:600px){
  body#jm-site-root.jm-ui-v93 .jm71-slider-console{grid-template-columns:auto 1fr auto!important;gap:8px!important;padding-inline:10px!important}
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs{gap:5px!important}
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs button{width:7px!important;min-width:7px!important;height:7px!important;min-height:7px!important;flex-basis:7px!important}
  body#jm-site-root.jm-ui-v93 .jm71-slide-tabs button:is(.is-active,[aria-current="true"]){width:20px!important;min-width:20px!important;flex-basis:20px!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-arrows :is(button,.jm91-slider-gallery){width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article{display:grid!important;grid-template-columns:1fr!important;min-height:0!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo{height:250px!important;margin:9px 9px 0!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-photo img{height:100%!important;transform:scale(1.02)!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid>article>div:last-child{padding:18px 19px 21px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid h3{font-size:25px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-leader-grid p{font-size:10.5px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholarly{padding-top:54px!important;padding-bottom:56px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-top>img{width:72px!important;height:72px!important;border-radius:16px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-card h3{font-size:30px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics>span{grid-column:auto!important;min-height:74px!important;padding:9px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics :is(b,i){font-size:20px!important}
  body#jm-site-root.jm-ui-v93 .jm72-home .jm70-scholar-metrics small{font-size:6.8px!important;line-height:1.25!important}
}

@media(max-width:380px){
  body#jm-site-root.jm-ui-v93 .jm71-slide-status{display:none!important}
  body#jm-site-root.jm-ui-v93 .jm71-slider-console{grid-template-columns:1fr auto!important}
}
