/**
 * Marquee with Scroll Direction (Osmo Supply) — .marquee-advanced /
 * __scroll / __collection structure ported 1:1, unmodified (required for
 * dist/scripts/marquee.js's DOM targeting). .marquee-advanced__item-image
 * is new — this site's own image-item styling, since the resource's demo
 * ships a text item and an empty color-box item, neither used here.
 */
.marquee-section {
  width: 100%;
  overflow: hidden;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.marquee-advanced {
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.marquee-advanced__scroll {
  will-change: transform;
  width: 100%;
  display: flex;
  position: relative;
}

.marquee-advanced__collection {
  will-change: transform;
  display: flex;
  position: relative;
}

.marquee-advanced__item-image {
  flex: none;
  width: 20em;
  height: 13em;
  margin: 0 .75em;
  border-radius: .5em;
  overflow: hidden;
  background-color: #1c1e26;
}

.marquee-advanced__item-image__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 767px) {
  .marquee-advanced__item-image {
    width: 14em;
    height: 9.5em;
    margin: 0 .5em;
  }
}
