.listener-card {
  overflow: hidden;
}

.offer-profile-details {
  display: grid;
  gap: .65rem;
  margin: 0 .9rem .9rem;
  padding-top: .85rem;
  border-top: 1px solid color-mix(in srgb, var(--gray) 18%, transparent);
}

.offer-profile-details.is-loading {
  color: var(--gray);
  font-size: .76rem;
  font-weight: 700;
}

.offer-profile-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .38rem;
}

.offer-profile-gallery.count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.offer-profile-gallery.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.offer-profile-gallery.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.offer-profile-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .7rem;
  background: var(--gray-light);
}

.offer-profile-gallery.count-1 img {
  aspect-ratio: 16 / 8;
}

.offer-profile-meta {
  color: var(--charcoal) !important;
  font-size: .78rem !important;
  font-weight: 800;
}

.offer-profile-bio {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.offer-profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.offer-profile-interests span {
  padding: .28rem .52rem;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: .7rem;
  font-weight: 800;
}

@media (max-width: 520px) {
  .offer-profile-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offer-profile-gallery.count-3 img:first-child {
    grid-column: span 2;
    aspect-ratio: 16 / 8;
  }
}
