/* V233: render the COMPLETE uploaded PC / mobile image without cropping.
   The legacy banner used a fixed-height container and object-fit:cover. */
.portal-home .portal-hero.adm-has-managed-banner {
  height:auto!important;
  align-items:start;
}
.portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner {
  width:100%;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:3/1;
  overflow:hidden;
  align-self:start;
  background:#061b48;
  border-radius:18px;
}
.portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner a,
.portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner picture {
  display:block;
  width:100%;
  height:100%;
}
.portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner img {
  display:block;
  width:100%!important;
  height:100%!important;
  aspect-ratio:3/1!important;
  object-fit:contain!important;
  object-position:center!important;
}
/* The image already carries the full campaign copy; do not cover text. */
.portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner figcaption {
  position:absolute;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  height:1px;width:1px;overflow:hidden;
  padding:0;border:0;white-space:nowrap;
}
@media(max-width:720px) {
  .portal-home .portal-hero.adm-has-managed-banner {display:block;height:auto!important;}
  .portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner {
    aspect-ratio:4/5;
    height:auto!important;
    min-height:0!important;
    border-radius:17px;
  }
  .portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner img {
    aspect-ratio:4/5!important;
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
  }
  /* If no mobile artwork was uploaded, show the complete PC image instead. */
  .portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner[data-has-mobile="false"] {aspect-ratio:3/1;}
  .portal-home .portal-hero.adm-has-managed-banner .adm-feature-banner[data-has-mobile="false"] img {aspect-ratio:3/1!important;}
}
@media(prefers-reduced-motion:reduce){.portal-home .adm-feature-banner img{transition:none!important}}
