/* mss-narrow-b4e81c: tablet hero beside copy, shorter mobile, stacked story panels */
@media (min-width: 768px) and (max-width: 1099px) {
  #f-theme .mss-hero .container-full,
  #f-theme .mss-hero .swiper,
  #f-theme .mss-hero .swiper-container,
  #f-theme .mss-hero .swiper-wrapper,
  #f-theme .mss-hero .swiper-slide,
  #f-theme .mss-hero .f-slide,
  #f-theme .mss-hero .f-slide__wrapper,
  #f-theme .mss-hero .f-slide__media {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  #f-theme .mss-hero .f-slide {
    display: grid !important;
    grid-template-columns: minmax(236px, 300px) minmax(0, 1fr) !important;
    flex-direction: row !important;
    align-items: stretch !important;
  }
  #f-theme .mss-hero .f-slide__media {
    order: 0;
    grid-column: 2;
    grid-row: 1;
    width: 100% !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    align-self: stretch;
  }
  #f-theme .mss-hero .f-slide__bg,
  #f-theme .mss-hero .f-slide__media picture {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }
  #f-theme .mss-hero .f-slide__bg img,
  #f-theme .mss-hero .f-slide__media img,
  #f-theme .mss-hero .f-slide__media picture img {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
  }
  #f-theme .mss-hero .f-slide__wrapper {
    order: 0;
    grid-column: 1;
    grid-row: 1;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 24px 20px 24px 24px !important;
    box-shadow: none !important;
    align-self: stretch;
  }
  #f-theme .mss-hero .f-slide__content {
    max-width: none !important;
  }
  #f-theme .mss-hero .f-slide__title {
    max-width: 7.5em !important;
    font-size: 28px !important;
    line-height: 1.12 !important;
  }
  #f-theme .mss-hero .f-slide__description,
  #f-theme .mss-hero .f-slide__description p {
    margin-top: 10px !important;
    font-size: 14px !important;
  }
  #f-theme .mss-hero .f-slide__button,
  #f-theme .mss-hero .f-richtext__button {
    margin-top: 16px !important;
    gap: 8px !important;
  }
  #f-theme .mss-hero .f-slide__button .f-button,
  #f-theme .mss-hero .f-richtext__button .f-button {
    min-height: 40px !important;
    padding: 10px 12px !important;
  }
}

@media (max-width: 767px) {
  #f-theme .mss-hero .container-full,
  #f-theme .mss-hero .swiper,
  #f-theme .mss-hero .swiper-container,
  #f-theme .mss-hero .swiper-wrapper,
  #f-theme .mss-hero .swiper-slide,
  #f-theme .mss-hero .f-slide,
  #f-theme .mss-hero .f-slide__wrapper,
  #f-theme .mss-hero .f-slide__media {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }
  #f-theme .mss-hero .f-slide {
    display: flex !important;
    flex-direction: column !important;
  }
  #f-theme .mss-hero .f-slide__media {
    order: 0;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: 420px !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
  }
  #f-theme .mss-hero .f-slide__bg,
  #f-theme .mss-hero .f-slide__media picture,
  #f-theme .mss-hero .f-slide__bg img,
  #f-theme .mss-hero .f-slide__media img,
  #f-theme .mss-hero .f-slide__media picture img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 42% !important;
    transform: none !important;
  }
  #f-theme .mss-hero .f-slide__wrapper {
    order: 1;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 20px 18px 22px !important;
    align-items: flex-start !important;
    box-shadow: none !important;
  }
  #f-theme .mss-hero .f-slide__content {
    max-width: none !important;
  }
  #f-theme .mss-hero .f-slide__title {
    max-width: 7.6em !important;
    font-size: 28px !important;
  }
  #f-theme .mss-hero .f-slide__description,
  #f-theme .mss-hero .f-slide__description p {
    margin-top: 8px !important;
    font-size: 14px !important;
  }
  #f-theme .mss-hero .f-slide__button,
  #f-theme .mss-hero .f-richtext__button {
    margin-top: 14px !important;
  }
}

@media (max-width: 1099px) {
  #f-theme .mss-panel-clay .f-image-with-text__inner,
  #f-theme .mss-panel-ink .f-image-with-text__inner {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    grid-template-columns: none !important;
    width: 100% !important;
    gap: 0 !important;
  }
  #f-theme .mss-panel-clay .f-image-with-text__image,
  #f-theme .mss-panel-ink .f-image-with-text__image,
  #f-theme .mss-panel-clay .f-image-with-text__content,
  #f-theme .mss-panel-ink .f-image-with-text__content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    float: none !important;
  }
  #f-theme .mss-panel-clay .f-image-with-text__image,
  #f-theme .mss-panel-ink .f-image-with-text__image {
    order: 0;
  }
  #f-theme .mss-panel-clay .f-image-with-text__content,
  #f-theme .mss-panel-ink .f-image-with-text__content {
    order: 1;
    position: relative !important;
    z-index: 1 !important;
    height: auto !important;
    min-height: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 26px 22px 24px !important;
    box-shadow: none !important;
    align-self: stretch !important;
  }
  #f-theme .mss-panel-clay f-image-layer,
  #f-theme .mss-panel-ink f-image-layer,
  #f-theme .mss-panel-clay .f-image-with-text__image-wrapper,
  #f-theme .mss-panel-ink .f-image-with-text__image-wrapper,
  #f-theme .mss-panel-clay .f-image-with-text__image-first,
  #f-theme .mss-panel-ink .f-image-with-text__image-first,
  #f-theme .mss-panel-clay .f-image-with-text__image-first .f-image,
  #f-theme .mss-panel-ink .f-image-with-text__image-first .f-image,
  #f-theme .mss-panel-clay responsive-image,
  #f-theme .mss-panel-ink responsive-image {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }
  #f-theme .mss-panel-clay responsive-image::before,
  #f-theme .mss-panel-ink responsive-image::before,
  #f-theme .mss-panel-clay .f-image::before,
  #f-theme .mss-panel-ink .f-image::before {
    display: none !important;
    padding: 0 !important;
    content: none !important;
  }
  #f-theme .mss-panel-clay .f-image-with-text__image-first img,
  #f-theme .mss-panel-ink .f-image-with-text__image-first img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  #f-theme .mss-panel-clay .f-content-box,
  #f-theme .mss-panel-ink .f-content-box {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }
  #f-theme .mss-panel-clay .f-richtext__title,
  #f-theme .mss-panel-ink .f-richtext__title {
    font-size: 28px !important;
    line-height: 1.15 !important;
  }
  #f-theme .mss-panel-clay .f-richtext__description,
  #f-theme .mss-panel-ink .f-richtext__description {
    max-width: none !important;
  }
}

@media (max-width: 767px) {
  #f-theme .mss-panel-clay .f-image-with-text__content,
  #f-theme .mss-panel-ink .f-image-with-text__content {
    padding: 20px 16px 20px !important;
  }
  #f-theme .mss-panel-clay .f-richtext__title,
  #f-theme .mss-panel-ink .f-richtext__title {
    font-size: 26px !important;
  }
  #f-theme .mss-panel-clay .f-image-with-text__image-first,
  #f-theme .mss-panel-ink .f-image-with-text__image-first,
  #f-theme .mss-panel-clay responsive-image,
  #f-theme .mss-panel-ink responsive-image,
  #f-theme .mss-panel-clay f-image-layer,
  #f-theme .mss-panel-ink f-image-layer {
    aspect-ratio: 3 / 2 !important;
  }
}
