/* rd-sun-v27: mobile hero uses the 3:4 portrait background */
@media (max-width: 1023px) {
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide__media,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide__bg,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero picture,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero responsive-image,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-image {
    aspect-ratio: 3 / 4 !important;
    height: auto !important;
    max-height: none !important;
  }
  #f-theme.rd-ref-site #f-slider-rd-ref-hero img,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero picture img,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide__bg img,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide__media img {
    object-fit: cover !important;
    object-position: center center !important;
    height: 100% !important;
    max-height: 100% !important;
  }
}
