/* rd-sun-v24: mobile hero frames the full floor lamp, not a shade close-up */
@media (max-width: 1023px) {
  #f-theme.rd-ref-site .section_id_rd-ref-hero,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .container-full,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero f-slideshow,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .swiper-container,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .swiper-wrapper,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .swiper-slide,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background-image: none !important;
  }
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-slide {
    display: flex !important;
    flex-direction: column !important;
    background: #fbf7f1 !important;
  }
  #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 {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
    padding: 0 !important;
    background: none !important;
  }
  #f-theme.rd-ref-site #f-slider-rd-ref-hero responsive-image::before,
  #f-theme.rd-ref-site #f-slider-rd-ref-hero .f-image::before {
    display: none !important;
    padding: 0 !important;
    content: none !important;
  }
  #f-theme.rd-ref-site #f-slider-rd-ref-hero img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: right center !important;
    transform: none !important;
  }

  #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 {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: right center !important;
    transform: none !important;
  }

}
