/* Scoped corrections for the existing private Fixus Enark preview. */

/* The two Stock component images must not use the old full-scene crop. */
#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-sp,
#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-flat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: auto;
  min-height: 220px;
  aspect-ratio: auto;
  padding: 18px 20px 12px;
  overflow: visible;
  background: var(--fx2-soft);
  -webkit-mask-image: none;
  mask-image: none;
}

#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-sp > img,
#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-flat > img {
  display: block;
  position: static;
  flex: 0 0 auto;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 145px !important;
  margin: 0 auto;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
  mix-blend-mode: multiply;
}

#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-sp > .fx2-stock-visual-caption,
#fixus-site-proposal .fx2-system-grid .fx2-application-media.fx2-media-flat > .fx2-stock-visual-caption {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
  unicode-bidi: plaintext;
}

/* Base mobile nav rules must affect the header menu, not content breadcrumbs. */
#fixus-site-proposal .fx2-legacy-content > nav.fx2-breadcrumb {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  order: initial;
  width: auto;
  min-width: 0;
  gap: 8px;
  margin: 0 0 28px;
  border: 0;
  padding: 0;
}

#fixus-site-proposal .fx2-legacy-content > nav.fx2-breadcrumb a {
  margin: 0;
  border: 0;
  padding: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
