.photo-ribbon {
  position: relative;
  width: 100%;
  height: 70vh;
  height: 70dvh;
  min-height: 420px;
  background: transparent;
  overflow: hidden;
  pointer-events: none;
}

.photo-ribbon-canvas,
.photo-ribbon-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: transparent;
}

.photo-ribbon-fallback svg {
  width: 100%;
  height: 100%;
  display: block;
}

.photo-ribbon.is-webgl .photo-ribbon-fallback {
  visibility: hidden;
}

/* Keep a Webflow collection list in the DOM without display:none, so img src can still be read. */
.photo-ribbon-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 991px) {
  .photo-ribbon {
    height: 64vh;
    height: 64dvh;
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .photo-ribbon {
    height: 82vh;
    height: 82dvh;
    min-height: 520px;
  }
}
