/* Editorial photo-edge extension: strictly directional color bands, not radial
   paint blobs. The visible photo remains exactly the saved crisp 52% layout. */
@media(min-width:621px){
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready {
   background:var(--gs-seam-flow-image) center center / 100% 100% no-repeat !important;
 }
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready .gs-demo3__photo .story-media{
   background:transparent!important;
 }
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready[data-layout="left"]::after{
   background:linear-gradient(to right,rgba(0,0,0,.16) 0%,rgba(0,0,0,.07) 28%,transparent 52%)!important;
 }
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready[data-layout="right"]::after{
   background:linear-gradient(to left,rgba(0,0,0,.16) 0%,rgba(0,0,0,.07) 28%,transparent 52%)!important;
 }
}
/* 2026-11-19 photo-only repair: keep slide text, gradients, controls unchanged. */
@media(min-width:621px){
 .gs-demo3__slide .gs-demo3__photo{
  left:auto!important;right:0!important;top:0!important;bottom:0!important;
  width:52%!important;height:100%!important;overflow:hidden!important
 }
 .gs-demo3__slide[data-layout="right"] .gs-demo3__photo{left:0!important;right:auto!important}
 .gs-demo3__slide .gs-demo3__photo .story-media{
  display:block!important;width:100%!important;height:100%!important;overflow:hidden!important
 }
 .gs-demo3__slide .gs-demo3__photo .story-media>picture,
 .gs-demo3__slide .gs-demo3__photo .story-media>img,
 .gs-demo3__slide .gs-demo3__photo .story-media>picture>img{
  display:block!important;width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  min-width:0!important;min-height:0!important;
  object-fit:cover!important;object-position:center!important;aspect-ratio:auto!important
 }
}
@media(max-width:620px){
 .gs-demo3__slide .gs-demo3__photo .story-media>picture,
 .gs-demo3__slide .gs-demo3__photo .story-media>img,
 .gs-demo3__slide .gs-demo3__photo .story-media>picture>img{
  width:100%!important;height:100%!important;object-fit:cover!important;
  object-position:center!important;max-width:none!important;max-height:none!important
 }
}

/* Nested-media parser repair, 2026-11-19. Some slides have
   slide > figure.story-media > a.gs-demo3__photo > img, unlike
   slide > a.gs-demo3__photo > figure.story-media > img.
   Position ONLY the displaced media wrapper to prevent 18px photos. */
.gs-demo3__slide > figure.story-media {
 position:absolute!important;inset:0!important;margin:0!important;
 width:100%!important;height:100%!important;min-height:0!important;
 overflow:hidden!important;display:block!important;background:transparent!important;
}
@media(min-width:621px){
 .gs-demo3__slide > figure.story-media > a.gs-demo3__photo {
  position:absolute!important;top:0!important;bottom:0!important;
  left:auto!important;right:0!important;width:52%!important;height:100%!important;
  display:block!important;overflow:hidden!important
 }
 .gs-demo3__slide[data-layout="right"] > figure.story-media > a.gs-demo3__photo {
  left:0!important;right:auto!important
 }
}
@media(max-width:620px){
 .gs-demo3__slide > figure.story-media {height:clamp(205px,66.7vw,260px)!important;bottom:auto!important}
 .gs-demo3__slide > figure.story-media > a.gs-demo3__photo {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important
 }
}
.gs-demo3__slide > figure.story-media > a.gs-demo3__photo > img {
 display:block!important;width:100%!important;height:100%!important;
 min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;
 object-fit:cover!important;object-position:center!important;aspect-ratio:auto!important
}

/* 20 Nov 2026: smooth wave transition; crisp picture, feathered joining edge. */
@media(min-width:621px){
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready .gs-demo3__photo {
   -webkit-mask-image:linear-gradient(to right,transparent 0%,#000 18%);
   mask-image:linear-gradient(to right,transparent 0%,#000 18%);
 }
 .gs-demo3__slide[data-gs-tone-source="flow"].gs-seam-ready[data-layout="right"] .gs-demo3__photo {
   -webkit-mask-image:linear-gradient(to left,transparent 0%,#000 18%);
   mask-image:linear-gradient(to left,transparent 0%,#000 18%);
 }
}
