/* =========================================================
   MERIDIAN V2.11 — HOME VISUAL PREMIUM
   6 editorial visuals, integrated as part of the narrative.
   ========================================================= */
.mg-h211-hero-photo,
.mg-h211-process-photo,
.mg-h211-commerce-photo,
.mg-h211-door-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.mg-h211-hero-photo {
  margin-top: 34px;
  min-height: 430px;
  border-radius: 30px;
  background: #10243d;
}
.mg-h211-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(11,28,48,.94) 0%, rgba(11,28,48,.66) 42%, rgba(11,28,48,.10) 78%);
  pointer-events: none;
}
.mg-h211-hero-photo img,
.mg-h211-process-photo img,
.mg-h211-commerce-photo img,
.mg-h211-door-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.mg-h211-hero-photo img {
  position: absolute;
  inset: 0;
  object-position: center 45%;
}
.mg-h211-hero-photo figcaption {
  position: relative;
  z-index: 2;
  width: min(610px, 64%);
  min-height: 430px;
  padding: 52px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
}
.mg-h211-hero-photo figcaption span,
.mg-h211-process-photo figcaption span,
.mg-h211-commerce-photo figcaption span {
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .15em;
  color: #52c9b5;
}
.mg-h211-hero-photo figcaption strong {
  margin-top: 16px;
  max-width: 600px;
  font-size: clamp(30px, 3.3vw, 49px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.mg-h211-hero-photo figcaption small {
  margin-top: 18px;
  font-size: 14px;
  letter-spacing: .04em;
  color: rgba(255,255,255,.73);
}

/* Visuals inside the two business doors */
.mg-h211-door-photo {
  z-index: 1;
  height: 185px;
  margin: 24px 0 10px;
  border-radius: 20px;
}
.mg-h211-door-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(7,20,36,.76) 100%);
  z-index: 1;
}
.mg-h211-door-photo img { object-position: center; transition: transform .55s ease; }
.mg-v2-door:hover .mg-h211-door-photo img { transform: scale(1.025); }
.mg-h211-door-photo figcaption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  color: #fff;
}
.mg-h211-door-photo--sap::after { background: linear-gradient(180deg, transparent 42%, rgba(16,36,61,.72) 100%); }

/* Data / process editorial bridge */
.mg-h211-process-photo {
  margin-top: 48px;
  min-height: 370px;
  border-radius: 28px;
  background: #e9eef9;
}
.mg-h211-process-photo img {
  position: absolute;
  inset: 0;
  object-position: center 44%;
}
.mg-h211-process-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(245,242,234,.96) 0%, rgba(245,242,234,.82) 43%, rgba(245,242,234,.08) 76%);
}
.mg-h211-process-photo figcaption {
  position: relative;
  z-index: 2;
  min-height: 370px;
  width: min(600px, 58%);
  padding: 46px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #10243d;
}
.mg-h211-process-photo figcaption strong {
  margin-top: 14px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

/* Commerce proof image inside the use case copy */
.mg-h211-commerce-photo {
  margin: 30px 0 26px;
  height: 235px;
  border-radius: 22px;
  background: #10243d;
}
.mg-h211-commerce-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11,28,48,.02) 30%, rgba(11,28,48,.88) 100%);
}
.mg-h211-commerce-photo img { object-position: center 44%; }
.mg-h211-commerce-photo figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  color: #fff;
}
.mg-h211-commerce-photo figcaption strong {
  font-size: 19px;
  line-height: 1.18;
}

/* Make the existing method image use the new photo naturally */
.mg-v2-method-visual img { object-position: center 42%; }

@media (max-width: 980px) {
  .mg-h211-hero-photo,
  .mg-h211-hero-photo figcaption { min-height: 390px; }
  .mg-h211-hero-photo figcaption { width: 72%; padding: 38px; }
  .mg-h211-process-photo figcaption { width: 67%; }
  .mg-h211-door-photo { height: 210px; }
}

@media (max-width: 680px) {
  .mg-h211-hero-photo {
    min-height: 500px;
    border-radius: 24px;
  }
  .mg-h211-hero-photo img { object-position: 62% center; }
  .mg-h211-hero-photo::after {
    background: linear-gradient(0deg, rgba(11,28,48,.95) 0%, rgba(11,28,48,.58) 55%, rgba(11,28,48,.08) 100%);
  }
  .mg-h211-hero-photo figcaption {
    width: 100%;
    min-height: 500px;
    padding: 28px;
  }
  .mg-h211-door-photo { height: 190px; margin-top: 18px; }
  .mg-h211-process-photo { min-height: 500px; }
  .mg-h211-process-photo img { object-position: 58% center; }
  .mg-h211-process-photo::after {
    background: linear-gradient(0deg, rgba(245,242,234,.98) 0%, rgba(245,242,234,.78) 48%, rgba(245,242,234,.06) 100%);
  }
  .mg-h211-process-photo figcaption {
    width: 100%;
    min-height: 500px;
    padding: 28px;
  }
  .mg-h211-commerce-photo { height: 250px; }
}
