#sb_instagram {
  display: none !important;
}

.eberhardt-ig-feed {
  width: 100%;
  color: #222;
}

.eberhardt-ig-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
  color: inherit;
  text-decoration: none;
}

.eberhardt-ig-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.eberhardt-ig-profile {
  display: grid;
  gap: 4px;
}

.eberhardt-ig-profile strong {
  font-size: 20px;
  line-height: 1.2;
}

.eberhardt-ig-count,
.eberhardt-ig-bio {
  font-size: 14px;
  line-height: 1.35;
}

.eberhardt-ig-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.eberhardt-ig-card {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.eberhardt-ig-photo {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f5f5f5;
}

.eberhardt-ig-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.eberhardt-ig-photo:hover img {
  transform: scale(1.04);
}

.eberhardt-ig-type {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.eberhardt-ig-info {
  padding: 12px;
}

.eberhardt-ig-caption {
  max-height: 120px;
  margin: 0 0 10px;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.45;
}

.eberhardt-ig-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.eberhardt-ig-actions {
  margin: 22px 0 0;
  text-align: center;
}

.eberhardt-ig-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 18px;
  border-radius: 4px;
  background: rgb(64, 139, 209);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 1024px) {
  .eberhardt-ig-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .eberhardt-ig-header {
    align-items: flex-start;
  }

  .eberhardt-ig-grid {
    grid-template-columns: 1fr;
  }
}
