/* Supplied social marks replace only the nine photographic interiors.
   Preserve the original 5:7 media footprint, fan geometry and interaction layers. */
[data-social-block] .social-card__media--final {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

[data-social-block] .social-card__media--final .social-final-mark {
  display: block;
  width: 42%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

[data-social-block] .social-final-head-logo {
  aspect-ratio: 1;
  object-fit: contain;
}

[data-social-block] .social-final-head-logo--tiktok {
  background: #000;
  border-radius: 22%;
  padding: 2px;
}

/* Narrow fans overlap more. Keep side marks fully within the exposed black
   portion, without moving or resizing the three original cards. Percentages
   here are relative to the 42%-wide mark, not to the whole media panel. */
@media (max-width: 1024px) {
  [data-social-block] .social-card--instagram .social-final-mark {
    transform: translateX(-16.67%);
  }
  [data-social-block] .social-card--tiktok .social-final-mark {
    transform: translateX(16.67%);
  }
}

@media (max-width: 767px) {
  [data-social-block] .social-card--instagram .social-final-mark {
    transform: translateX(-28.58%);
  }
  [data-social-block] .social-card--tiktok .social-final-mark {
    transform: translateX(28.58%);
  }
}
