.breakdance .instagram-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
  width: 100%;
}

.breakdance .instagram-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #fff;
  color: #111827;
  text-decoration: none;
  text-align: left;
  transition: border-color 180ms ease-out;
}

.breakdance .instagram-card:hover {
  border-color: #111827;
  color: #111827;
}

.breakdance .instagram-card:focus-visible {
  outline: 3px solid #111827;
  outline-offset: 4px;
}

.instagram-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}

.instagram-card__avatar {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.instagram-card__account {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #384250;
}

.instagram-card__account strong {
  color: #111827;
  font-weight: 600;
}

.instagram-card__header > svg,
.instagram-card__footer svg {
  flex: none;
  width: 24px;
  height: 24px;
}

.instagram-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #f9f7f4;
}

.breakdance .instagram-card__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instagram-card__reel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 4px;
  background: #111827;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
}

.instagram-card__reel svg {
  width: 18px;
  height: 18px;
}

.instagram-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 600;
}

.instagram-card:hover .instagram-card__footer {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 1023px) {
  .breakdance .instagram-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .breakdance .instagram-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .breakdance .instagram-card {
    transition: none;
  }
}

.breakdance .instagram-card__caption { padding: 14px 16px 0; font-size: 16px; line-height: 1.5; font-weight: 400; }
.breakdance .instagram-gallery--featured { grid-template-columns: minmax(0, 400px); justify-content: center; }
.breakdance .landing-related-heading { margin-top: 40px; margin-bottom: 16px; }
.breakdance .landing-gallery-note { margin-bottom: 24px; }

.breakdance .bde-text a[href^="/"], .breakdance .bde-faq__answer a[href^="/"], .breakdance .landing-gallery-note a { color: #111827; text-decoration: underline; text-underline-offset: 3px; }

.breakdance .landing-related-heading[id] { scroll-margin-top: 100px; }
