/* Sport Media Embeds Pro Styles v1.0.0 */
.sme-embed-responsive {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  margin: 25px 0;
  border-radius: 8px;
  background-color: #000;
}

.sme-embed-responsive iframe,
.sme-embed-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contenedores para formato vertical (Shorts, TikTok, Reels) */
.sme-embed-vertical {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 25px 0;
  clear: both;
}

.sme-embed-vertical-inner {
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
}

.sme-embed-vertical-inner.sme-short-frame {
  width: 340px;
  aspect-ratio: 9 / 16;
  max-height: 600px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  background: #000;
}

.sme-embed-vertical-inner.sme-short-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Centrado automatico de los widgets de terceros */
.sme-embed-vertical-inner .twitter-tweet,
.sme-embed-vertical-inner .instagram-media,
.sme-embed-vertical-inner .tiktok-embed,
.sme-embed-vertical-inner .fb-video {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Estilo para el reproductor superior anadido por metabox */
.sme-featured-embed-container {
  margin-bottom: 30px;
  clear: both;
}
