/* Photo strip above the footer on every page except home (inc/footerstrip.php).
 * Same look as the home page's strip (editorial.css, vw-e-strip): square
 * photos edge to edge, scrolled sideways, white around it, 60px above and
 * below on desktop. */

.vw-fstrip {
  background: #FFFFFF;
  padding: 60px 0 34px;
}

.vw-fstrip__scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(170px, 17vw, 270px);
  column-gap: clamp(6px, 0.6vw, 10px);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  cursor: grab;
}
.vw-fstrip__scroller::-webkit-scrollbar { display: none; }
.vw-fstrip__scroller.is-mouse { scroll-snap-type: none; }
.vw-fstrip__scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.vw-fstrip__scroller.is-dragging a { pointer-events: none; }

.vw-fstrip__photo {
  display: block;
  scroll-snap-align: start;
  border: 0 !important;
}
.vw-fstrip__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  -webkit-user-drag: none;
  transition: opacity 300ms ease;
}
.vw-fstrip__photo:hover img,
.vw-fstrip__photo:focus-visible img { opacity: 0.86; }

/* Phones: as on the home page, 60px above, little below (the footer's own
 * top space follows). */
@media (max-width: 780px) {
  .vw-fstrip { padding: 60px 0 6px; }
}
