
/* LHT Results: quiet, seamless photographic strip under Patient results. */
.results-simple .lht-results-filmstrip{
  width:100%;min-width:0;overflow:hidden;
  margin-top:clamp(22px,3vw,38px);
  padding:0;
}
.lht-results-filmstrip-track{
  display:flex;width:max-content;align-items:stretch;
  animation:lht-results-glide 85s linear infinite;
  will-change:transform;
}
.lht-results-filmstrip-set{
  display:flex;align-items:stretch;gap:8px;
  flex:0 0 auto;padding-right:8px;
}
.lht-results-pair{display:flex;gap:2px;flex:0 0 auto;overflow:hidden;}
.lht-results-pair img{
  display:block;width:auto;height:130px;max-width:none;
  aspect-ratio:418/310;object-fit:cover;object-position:center;
  filter:none;border:0;border-radius:0;
}
@keyframes lht-results-glide {to{transform:translateX(-25%);}}
.lht-results-filmstrip:focus-within .lht-results-filmstrip-track,
.lht-results-filmstrip:hover .lht-results-filmstrip-track{animation-play-state:paused;}
/* Mobile: retain the same automatic four-set conveyor as desktop. */
@media (max-width:767px){
 .results-block.results-simple > .lht-results-filmstrip{
   box-sizing:border-box;width:100vw;max-width:none;min-width:0;
   margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw);
   overflow:hidden;grid-column:1 / -1;
 }
 .lht-results-filmstrip-track{
   animation:lht-results-glide 85s linear infinite;
   animation-play-state:running;
   will-change:transform;
 }
 .lht-results-filmstrip-set[aria-hidden="true"]{display:flex;}
 .results-simple .lht-results-filmstrip .lht-results-pair img{
   width:134.84px;height:100px;flex:0 0 134.84px;
 }
 .results-simple .lht-results-filmstrip:hover .lht-results-filmstrip-track,
 .results-simple .lht-results-filmstrip:focus-within .lht-results-filmstrip-track{
   animation-play-state:running;
 }
}
@media (prefers-reduced-motion:reduce){
 .lht-results-filmstrip-track{animation:none;will-change:auto;}
 .results-simple .lht-results-filmstrip{overflow-x:auto;}
 .lht-results-filmstrip-set[aria-hidden="true"]{display:none;}
}

/* Full-width results strip: preserve image sizing, movement, and section spacing. */
.results-block.results-simple{grid-template-columns:minmax(0,1fr);}
.results-block.results-simple > .lht-results-filmstrip{width:100%;min-width:0;}

/* Ensure filmstrip grid child overrides the legacy 780px content cap. */
.results-block.results-simple > .lht-results-filmstrip{max-width:none;width:100%;min-width:0;grid-column:1 / -1;}

/* Approved: desktop patient results run seamlessly to both viewport edges.
   Keep image dimensions, existing animation duration and section vertical spacing. */
@media (min-width:768px){
  .results-block.results-simple > .lht-results-filmstrip{
    box-sizing:border-box;
    width:100vw;
    max-width:none;
    min-width:0;
    margin-left:calc(50% - 50vw);
    margin-right:calc(50% - 50vw);
    overflow:hidden;
    grid-column:1 / -1;
  }
  .results-block.results-simple .lht-results-filmstrip-track{
    animation:lht-results-glide 85s linear infinite;
    animation-play-state:running;
  }
  .results-block.results-simple .lht-results-filmstrip:hover .lht-results-filmstrip-track,
  .results-block.results-simple .lht-results-filmstrip:focus-within .lht-results-filmstrip-track{
    animation-play-state:running;
  }
}

/* Final loop stability: fixed image geometry prevents asynchronous decode from
   changing the moving track width mid-animation. */
@media (min-width:768px){
 .results-simple .lht-results-filmstrip .lht-results-pair img{
   width:175.29px; height:130px; flex:0 0 175.29px;
 }
 .results-simple .lht-results-filmstrip .lht-results-filmstrip-set{
   flex-shrink:0;
 }
}

/* iPhone edge-to-edge correction: override the later 100% width declaration,
   and lock all four identical image sets to stable geometry. */
@media (max-width:767px){
  body.home .results-block.results-simple > .lht-results-filmstrip{
    box-sizing:border-box; width:100vw; max-width:none; min-width:100vw;
    margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw);
    overflow:hidden; grid-column:1 / -1;
  }
  body.home .results-block.results-simple .lht-results-filmstrip-track{
    display:flex; width:max-content; max-width:none;
    animation:lht-results-glide 85s linear infinite;
    animation-play-state:running;
  }
  body.home .results-block.results-simple .lht-results-filmstrip-set{
    display:flex; flex:0 0 auto; flex-shrink:0;
  }
  body.home .results-block.results-simple .lht-results-pair{flex:0 0 auto;}
  body.home .results-block.results-simple .lht-results-pair img{
    display:block; width:134.84px; min-width:134.84px; max-width:none;
    height:100px; flex:0 0 134.84px;
  }
}
