/* MUSASHI KURUME v2.3.0 | protected LP /musashi/ | mobile HERO photo only.
 * Specific to the first real staff photo (asset ID) and page body class.
 * No global img/figure, no content replacement, no image file rewriting.
 */
@media screen and (max-width: 767px) {
  body.mkuf-musashi-hero-mobile-fix img.mkuf-musashi-hero-image,
  body.mkuf-musashi-hero-mobile-fix img[src*="ec089f8e-1994-4f2e-b1db-12c5eb6cb0df"] {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center top !important;
    transform: none !important;
    position: static !important;
    margin: 0 !important;
    vertical-align: top !important;
  }
  /* The image may live inside a fixed-height figure/picture/div, so release the clip.
     Only marked ancestors surrounding the exact lead photo are modified. */
  body.mkuf-musashi-hero-mobile-fix .mkuf-musashi-photo-holder,
  body.mkuf-musashi-hero-mobile-fix .mkuf-musashi-photo-outer {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    flex-basis: auto !important;
    object-fit: initial !important;
  }
  body.mkuf-musashi-hero-mobile-fix .mkuf-musashi-photo-holder {
    overflow: hidden !important;
    margin-bottom: 0 !important;
  }
  body.mkuf-musashi-hero-mobile-fix .mkuf-musashi-photo-outer {
    overflow: visible !important;
  }
  /* CSS-only fallback when the exact asset is present but JS is deferred. */
  body.mkuf-musashi-hero-mobile-fix figure:has(> img[src*="ec089f8e-1994-4f2e-b1db-12c5eb6cb0df"]),
  body.mkuf-musashi-hero-mobile-fix picture:has(> img[src*="ec089f8e-1994-4f2e-b1db-12c5eb6cb0df"]) {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }
}
