/* Reserve the existing Instagram card geometry while its widget is deferred.
   Observed original iframe height: 1.25 × width + 206px, plus 12px margin.
   Keep this reservation if the widget fails: collapsing all ten slots can
   move an anchor thousands of pixels during Webflow's native smooth scroll.
   Only a real, visible ready iframe replaces the reserved geometry. */
.ig .instagram-lazy-slot[data-instagram-state="pending"]::before,
.ig .instagram-lazy-slot[data-instagram-state="loading"]::before,
.ig .instagram-lazy-slot[data-instagram-state="unavailable"]::before {
  content: "";
  display: block;
  padding-top: 125%;
  padding-bottom: 218px;
}

.ig .instagram-lazy-slot[data-instagram-state="pending"] > blockquote,
.ig .instagram-lazy-slot[data-instagram-state="loading"] > blockquote,
.ig .instagram-lazy-slot[data-instagram-state="unavailable"] > blockquote {
  position: absolute;
  inset: 0 0 auto;
}

.ig blockquote[data-instagram-deferred-permalink] > .instagram-fallback {
  color: var(--primary-1);
  text-decoration: underline;
  text-underline-offset: .2em;
}

@media screen and (max-width: 479px) {
  /* Preserve the original iframe's 302px intrinsic border-box width. */
  .ig > .team-member-wrapper[data-instagram-lazy-card] {
    width: min(100%, 302px);
  }
}
