/* Complemento para que las publicaciones sigan siendo utilizables si una red
   social o una extensión del navegador bloquea contenido de terceros. */
.social-grid .embed {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  background: linear-gradient(145deg, #12394a 0%, #06131d 72%);
}

.social-grid .embed iframe {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

.social-fallback {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 32px;
  color: #fff;
  text-align: center;
  text-decoration: none;
}

.social-fallback b {
  color: #aaff00;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.social-fallback span {
  font-size: 1.15rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.social-fallback small {
  color: #9eb4c1;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-grid .embed-fallback-only .social-fallback {
  z-index: 3;
}

.social-grid .embed-photo .social-fallback {
  display: none;
}

.social-photo-link {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: block;
  overflow: hidden;
  background: #06131d;
  text-decoration: none;
}

.social-photo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.social-photo-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 19, 29, 0.08), rgba(6, 19, 29, 0.6));
}

.social-photo-link:hover img {
  transform: scale(1.025);
  filter: brightness(1.08);
}

.social-photo-badge {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  padding: 9px 14px;
  border-radius: 4px;
  background: #1877f2;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-photo-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: grid;
  width: 78px;
  height: 78px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(24, 119, 242, 0.9);
  color: #fff;
  font-size: 1.7rem;
  font-style: normal;
  place-items: center;
  transform: translate(-50%, -50%);
}

@media (max-width: 720px) {
  .social-grid .embed {
    min-height: 520px;
  }
}
