/* Homepage-only campus illustration; shared portal rules stay unchanged. */
body.nh-portal.nh-home .nh-intro {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 480px;
  overflow: hidden;
}
body.nh-portal.nh-home .nh-intro > div {
  position: relative;
  z-index: 2;
  width: 46%;
  max-width: 510px;
}
body.nh-portal.nh-home .nh-intro p { max-width: 490px; }
body.nh-portal.nh-home .nh-intro .nh-campus {
  position: absolute;
  z-index: 1;
  right: 0;
  top: 50%;
  width: min(72vw, 960px);
  margin: 0;
  transform: translateY(-50%);
  animation: none;
}
body.nh-portal.nh-home .nh-campus a { display: block; position: relative; }
body.nh-portal.nh-home .nh-campus img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
body.nh-portal.nh-home .nh-campus a::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #f4f7fa 0%, rgba(244,247,250,.84) 13%, rgba(244,247,250,0) 40%);
}
body.nh-portal.nh-home .nh-campus a:focus-visible {
  outline: 3px solid #245b88;
  outline-offset: -3px;
}
@media (max-width: 900px) {
  body.nh-portal.nh-home .nh-intro {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 24px 16px 0;
  }
  body.nh-portal.nh-home .nh-intro > div { width: 100%; max-width: 640px; }
  body.nh-portal.nh-home .nh-intro .nh-campus {
    position: relative;
    right: auto;
    top: auto;
    width: calc(100% + 32px);
    margin: 22px -16px 0;
    transform: none;
  }
  body.nh-portal.nh-home .nh-campus a::after {
    background: linear-gradient(180deg, #f4f7fa, rgba(244,247,250,0) 24%);
  }
}
