/* This gallery follows a timer; page scrolling never selects its photograph. */
.problem-story.photo-autoplay-ready{height:auto;overflow:visible}
.photo-autoplay-ready .story-pin{position:static;height:auto}
.problem .photo-scene.is-auto-gallery{position:relative;display:block;min-width:0;width:100%;height:620px;max-width:none;margin:0;overflow:visible}
.problem .photo-scene.is-auto-gallery .scene-photo{position:absolute;left:0;top:0;grid-column:auto;grid-row:auto;width:70%;height:auto;aspect-ratio:4/5;transform-origin:top left;transition:transform .9s cubic-bezier(.22,.7,.24,1)}
.is-auto-gallery .scene-photo figcaption{opacity:0;transition:opacity .5s}
.is-auto-gallery .scene-photo.is-active figcaption{opacity:1}
@media(min-width:681px) and (max-width:999px){.problem .photo-scene.is-auto-gallery{height:650px;max-width:650px;margin-inline:auto}}
@media(max-width:680px){
  .problem .photo-scene.is-auto-gallery{height:clamp(210px,58vw,260px);overflow:hidden;margin:0 0 32px;scroll-snap-type:none;scrollbar-width:none}
  .problem .photo-scene.is-auto-gallery::-webkit-scrollbar{display:none}
  .problem .photo-scene.is-auto-gallery .scene-photo{width:100%;height:100%;aspect-ratio:auto;opacity:0;z-index:0!important;transform:none!important;border:0;pointer-events:none;transition:opacity .65s ease}
  .problem .photo-scene.is-auto-gallery .scene-photo.is-active{opacity:1;z-index:1!important;pointer-events:auto}
  .problem .photo-scene.is-auto-gallery .scene-photo figcaption{opacity:1}
}
@media(prefers-reduced-motion:reduce){.is-auto-gallery .scene-photo,.is-auto-gallery .scene-photo figcaption{transition:none!important}}
