/* Instagram profile shell — matches mobile IG profile layout */
.voc-ig-shell {
  background: #fff;
  border: 1px solid #dbdbdb;
  border-radius: 14px;
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.voc-ig-profile {
  padding: 0.85rem 0.85rem 0.7rem;
}

.voc-ig-profile__top {
  display: flex;
  gap: 0.9rem;
  align-items: center;
}

/* Story ring + circular logo (contain, not crop) */
.voc-ig-profile__avatar-wrap {
  flex-shrink: 0;
  display: block;
  width: 80px;
  height: 80px;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  text-decoration: none;
  box-sizing: border-box;
}

.voc-ig-profile__avatar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #fff;
  overflow: hidden;
}

.voc-ig-profile__avatar {
  display: block;
  width: 72%;
  height: 72%;
  max-width: 58px;
  max-height: 58px;
  object-fit: contain;
  object-position: center;
}

.voc-ig-profile__meta {
  flex: 1;
  min-width: 0;
}

.voc-ig-profile__identity {
  margin-bottom: 0.5rem;
}

.voc-ig-profile__username {
  font-size: 0.95rem;
  font-weight: 600;
  color: #262626;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.voc-ig-profile__username:hover {
  color: #262626;
  text-decoration: none;
}

.voc-ig-profile__stats {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.voc-ig-profile__stat {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
}

.voc-ig-profile__stat strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  color: #262626;
  line-height: 1.2;
}

.voc-ig-profile__stat span {
  display: block;
  font-size: 0.72rem;
  color: #262626;
  font-weight: 400;
}

.voc-ig-profile__bio {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #262626;
}

.voc-ig-profile__name {
  font-weight: 600;
  margin: 0 0 0.1rem;
  font-size: 0.84rem;
}

.voc-ig-profile__bio-text {
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.voc-ig-profile__link {
  display: inline-block;
  margin-top: 0.15rem;
  font-weight: 600;
  font-size: 0.8rem;
  color: #00376b;
  text-decoration: none;
}

.voc-ig-profile__link:hover {
  text-decoration: underline;
  color: #00376b;
}

.voc-ig-profile__actions {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.voc-ig-profile__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 0.6rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  border: none;
  font-family: inherit;
}

.voc-ig-profile__btn--follow {
  background: #0095f6;
  color: #fff;
}

.voc-ig-profile__btn--follow:hover {
  background: #1877f2;
  color: #fff;
}

.voc-ig-profile__btn--follow.is-following {
  background: #efefef;
  color: #262626;
  border: 1px solid #dbdbdb;
}

.voc-ig-profile__btn--follow.is-following:hover {
  background: #dbdbdb;
}

.voc-ig-profile__btn--follow.is-pending {
  background: #efefef;
  color: #262626;
}

.voc-ig-profile__btn--message {
  background: #efefef;
  color: #262626;
}

.voc-ig-profile__btn--message:hover {
  background: #dbdbdb;
  color: #262626;
  text-decoration: none;
}

.voc-ig-profile__btn--icon {
  flex: 0 0 28px;
  width: 28px;
  padding: 0;
  background: #efefef;
  color: #262626;
  font-size: 0.7rem;
}

.voc-ig-profile__btn--icon:hover {
  background: #dbdbdb;
}

.voc-ig-profile__toast {
  margin: 0.5rem 0 0;
  padding: 0.45rem 0.6rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #262626;
  background: #fafafa;
  border: 1px solid #efefef;
  border-radius: 8px;
}

.voc-ig-profile__toast:not([hidden]) {
  animation: vocIgToastIn 0.25s ease;
}

@keyframes vocIgToastIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.voc-ig-tabs {
  display: flex;
  border-top: 1px solid #dbdbdb;
  border-bottom: 1px solid #dbdbdb;
}

.voc-ig-tabs__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0;
  color: #8e8e8e;
  font-size: 0.7rem;
  border-top: 1px solid transparent;
  margin-top: -1px;
}

.voc-ig-tabs__item.is-active {
  color: #262626;
  border-top-color: #262626;
}

/* Post grid — 2 rows visible (3rd row hidden) */
.voc-ig-feed-clip {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #fafafa;
}

.voc-ig-embed {
  display: block;
  width: 100%;
  min-width: 280px;
  height: 520px;
  margin-top: -168px;
  border: 0;
  background: #fff;
  pointer-events: auto;
}

/* Paired with YouTube column on contact page */
.voc-ig-shell--paired {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.voc-ig-shell--paired .voc-ig-profile {
  padding: 0.65rem 0.75rem 0.55rem;
}

.voc-ig-shell--paired .voc-ig-profile__bio-text {
  -webkit-line-clamp: 1;
}

.voc-ig-shell--paired .voc-ig-profile__link {
  display: none;
}

.voc-ig-shell--paired .voc-ig-profile__toast {
  display: none;
}

.voc-ig-shell--paired .voc-ig-feed-clip {
  flex: 0 0 auto;
  min-height: 150px;
  height: auto;
}

.voc-ig-shell--paired .voc-ig-embed {
  min-height: 480px;
}

.voc-ig-section {
  max-width: 480px;
  margin: 0 auto;
}

.voc-ig-section--wide {
  max-width: none;
}

.voc-contact-social__col--ig .voc-ig-section {
  max-width: none;
}

.voc-social-home-section .voc-ig-feed-clip {
  height: auto;
}

@media (min-width: 768px) {
  .voc-ig-profile__avatar-wrap {
    width: 86px;
    height: 86px;
  }

  .voc-ig-profile__avatar {
    max-width: 64px;
    max-height: 64px;
  }

}

@media (max-width: 380px) {
  .voc-ig-profile__stats {
    gap: 0.65rem;
  }

  .voc-ig-profile__stat strong {
    font-size: 0.85rem;
  }

  .voc-ig-profile__avatar-wrap {
    width: 72px;
    height: 72px;
  }
}
