/* Home hero image visibility tuning.
 * Scope only to the main homepage hero so other pages remain untouched.
 */

.home-hero-visual {
  z-index: 0 !important;
}

.home-hero-content {
  position: relative !important;
  z-index: 1 !important;
}

/* Desktop: keep the same consultation photo, but render it smaller and aligned
 * to the right so the doctor's head and more of the consultation scene remain visible. */
.home-hero-image, #autonomic-digestion-care > img {
  opacity: 1 !important;
  filter: none !important;
  -webkit-filter: none !important;
  display: block !important;
  object-fit: contain !important;
  object-position: right center !important;
  width: 90% !important;
  height: 90% !important;
  margin-left: auto !important;
  margin-top: 5% !important;
}

.home-hero-image + div, #autonomic-digestion-care > img + div {
  background: linear-gradient(
    90deg,
    rgba(248,247,243,0.96) 0%,
    rgba(248,247,243,0.90) 28%,
    rgba(248,247,243,0.54) 42%,
    rgba(248,247,243,0.08) 56%,
    rgba(248,247,243,0) 70%
  ) !important;
}

@media (max-width: 1023px) {
  .home-hero-image, #autonomic-digestion-care > img {
    object-fit: cover !important;
    object-position: 64% center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
  }

  .home-hero-image + div, #autonomic-digestion-care > img + div {
    background: linear-gradient(
      180deg,
      rgba(248,247,243,0.96) 0%,
      rgba(248,247,243,0.88) 34%,
      rgba(248,247,243,0.44) 54%,
      rgba(248,247,243,0.06) 68%,
      rgba(248,247,243,0) 78%
    ) !important;
  }
}
