/* Scoped to the original product banner section. No typography or image replacements. */
#redtop-g400-landing-v2.g400-soft-seams > figure {
  position:relative;
  container-type:inline-size;
  isolation:isolate;
}
#redtop-g400-landing-v2 .g400-seam-in,
#redtop-g400-landing-v2 .g400-seam-out {
  position:absolute;
  inset-inline:0;
  pointer-events:none;
  z-index:1;
}
#redtop-g400-landing-v2 .g400-seam-in {
  top:0;
  height:calc(var(--g400-top-depth) * 100cqw / 1853);
  mask-image:linear-gradient(to bottom,#000 0%,#000b 22%,#0005 52%,#0001 78%,transparent 100%);
}
#redtop-g400-landing-v2 .g400-seam-out {
  bottom:calc(var(--g400-bridge-depth) * 100cqw / 1853);
  height:calc(var(--g400-bottom-depth) * 100cqw / 1853);
  mask-image:linear-gradient(to bottom,transparent 0%,#0001 22%,#0005 48%,#000b 73%,#000 100%);
}
#redtop-g400-landing-v2 .g400-seam-bridge {
  position:relative;
  height:calc(var(--g400-bridge-depth) * 100cqw / 1853);
  overflow:hidden;
  pointer-events:none;
}
#redtop-g400-landing-v2 .g400-seam-arrival,
#redtop-g400-landing-v2 .g400-seam-departure,
#redtop-g400-landing-v2 .g400-seam-sample {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}
#redtop-g400-landing-v2 .g400-seam-departure {
  mask-image:linear-gradient(to bottom,#000 0%,#000e 16%,#000b 32%,#0008 50%,#0004 68%,#0001 84%,transparent 100%);
}
/* Preview comparison switches the layers off without changing original pictures. */
#redtop-g400-landing-v2.g400-seams-off .g400-seam-in,
#redtop-g400-landing-v2.g400-seams-off .g400-seam-out,
#redtop-g400-landing-v2.g400-seams-off .g400-seam-bridge { display:none; }
@media(max-width:1023px) {
  #redtop-g400-landing-v2 .g400-seam-in { height:calc(32 * 100cqw / var(--g400-mobile-width)); }
  #redtop-g400-landing-v2 .g400-seam-out { height:calc(var(--g400-mobile-bottom) * 100cqw / var(--g400-mobile-width)); bottom:14px; }
  #redtop-g400-landing-v2 .g400-seam-bridge { height:14px; }
  #redtop-g400-landing-v2 > figure[data-g400-id="7"] .g400-seam-bridge { height:4px; }
  #redtop-g400-landing-v2 > figure[data-g400-id="7"] .g400-seam-out { bottom:4px; }
  #redtop-g400-landing-v2 > figure[data-g400-id="4"] .g400-seam-bridge,
  #redtop-g400-landing-v2 > figure[data-g400-id="3"] .g400-seam-bridge,
  #redtop-g400-landing-v2 > figure[data-g400-id="6"] .g400-seam-bridge,
  #redtop-g400-landing-v2 > figure[data-g400-id="8"] .g400-seam-bridge { height:28px; }
  #redtop-g400-landing-v2 > figure[data-g400-id="4"] .g400-seam-out,
  #redtop-g400-landing-v2 > figure[data-g400-id="3"] .g400-seam-out,
  #redtop-g400-landing-v2 > figure[data-g400-id="6"] .g400-seam-out,
  #redtop-g400-landing-v2 > figure[data-g400-id="8"] .g400-seam-out { bottom:28px; }
  #redtop-g400-landing-v2 > figure[data-g400-id="3"] .g400-seam-out,
  #redtop-g400-landing-v2 > figure[data-g400-id="3"] .g400-seam-departure { background:#fdfdfc!important; }
}
