.dee-pearls-page-content .dee-instagram-feed,
.dee-instagram-feed-mount,
.dee-elfsight-instagram-feed {
  width: 100%;
}

/* Hide Elfsight free-plan badge + owner toolbar */
.dee-elfsight-instagram-feed .eapps-link,
.dee-elfsight-instagram-feed .eapps-widget-toolbar,
.dee-elfsight-instagram-feed a[href*="elfsight.com"],
.dee-elfsight-instagram-feed [class*="eapps-link"],
[class*="elfsight-app-"] .eapps-link,
[class*="elfsight-app-"] .eapps-widget-toolbar,
[class*="elfsight-app-"] a[href*="elfsight.com"],
[class*="elfsight-app-"] [class*="eapps-link"] {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

/* Hidden until Instagram API is configured */
.dee-instagram-feed-mount {
  display: none !important;
}

.dee-instagram-feed__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 4px;
}

.dee-instagram-feed__item {
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
  transition: opacity 0.2s ease;
}

.dee-instagram-feed__item:hover {
  opacity: 0.85;
}

.dee-instagram-feed__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dee-instagram-feed__follow {
  display: inline-block;
  margin-top: 24px;
  color: #fff;
  font-family: "Times Now", "Times New Roman", Times, serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.dee-instagram-feed__follow:hover {
  opacity: 0.75;
}

.dee-instagram-feed__message {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.72);
  font-family: "Times Now", "Times New Roman", Times, serif;
  font-size: 14px;
}

@media (max-width: 1024px) {
  .dee-instagram-feed__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .dee-instagram-feed__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .dee-pearls-page-content .dee-instagram-feed {
    box-sizing: border-box;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 479px) {
  .dee-instagram-feed__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
