/* Bottom-anchored motion keeps images, copy and the next section in their normal layout. */
.hero.hero--connected::after,
.about-mainfreight .am-hero::after,
.dn-hero::after,
.sv-hero > .sv-curve,
.support-hero > .support-hero-curve,
.journal-cinema-hero > .journal-cinema-hero-edge,
.da-hero > .da-hero-edge,
.dq-hero > .dq-hero-edge,
.sd-hero > .sd-curve {
  transform:scaleY(var(--hero-edge-scale,1));
  transform-origin:center bottom;
  pointer-events:none;
}
.about-mainfreight .am-hero::after {
  content:""; position:absolute; left:-1px; right:-1px; bottom:-1px; height:32px; z-index:1;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H190C224 0 236 25 272 25H1168C1204 25 1216 0 1250 0H1440V32H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
@media(max-width:900px) {
  .about-mainfreight .am-hero::after { height:24px; }
  .dn-hero::after {
    content:""; position:absolute; left:-1px; right:-1px; bottom:-1px; height:24px; z-index:2;
    background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 32' preserveAspectRatio='none'%3E%3Cpath fill='white' d='M0 0H190C224 0 236 25 272 25H1168C1204 25 1216 0 1250 0H1440V32H0Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  }
}
@media(prefers-reduced-motion:reduce) {
  :is(.hero--connected,.am-hero,.sv-hero,.support-hero,.dn-hero,.journal-cinema-hero,.dq-hero,.sd-hero) { --hero-edge-scale:1!important; }
}
