.mmz-pdf-first-page-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 24px auto;
  border: 1px solid #ddd;
  background: #f2f2f2;
}

/* Desktop */
@media (min-width: 992px) {
  .mmz-pdf-first-page-preview {
    width: 80%;
  }
}

.mmz-pdf-first-page-preview canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  z-index: 0;
}

.mmz-pdf-first-page-preview::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  top: 50%;
  height: clamp(86px, 18%, 132px);
  transform: translateY(-50%);
  background: linear-gradient(
    to right,
    rgba(12, 36, 40, 0) 0%,
    rgba(12, 36, 40, 0.72) 16%,
    rgba(12, 36, 40, 0.88) 50%,
    rgba(12, 36, 40, 0.72) 84%,
    rgba(12, 36, 40, 0) 100%
  );
  border-top: 2px solid rgba(0, 92, 104, 0.9);
  border-bottom: 2px solid rgba(0, 92, 104, 0.9);
  z-index: 1;
  pointer-events: none;
}

.mmz-pdf-first-page-preview::before {
  content: "Previsualización\A del contenido";
  white-space: pre-line;
  position: absolute;
  top: 50%;
  left: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: #fff;
  font-size: clamp(18px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.6px;
  text-align: center;
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: none;
}

.mmz-pdf-first-page-preview > p {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-top: 20px;
}

.mmz-pdf-first-page-preview {
  cursor: pointer;
}

/* Contenidos mínimos: mismo ancho que el cuerpo, letra pequeña */

.mmz-products-outer {
  display: block;
  width: 100%;
  margin: 24px 0;
  padding: 0;
  position: static;
  left: auto;
  transform: none;
  clear: both;
}

.mmz-products-band {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mmz-products-band-inner {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 13px;
  line-height: 1.45;
  color: inherit;
}
/* Preview Vimeo */
.mmz-video-preview-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin: 24px auto;
}

.mmz-video-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border: 1px solid #ddd;
  overflow: hidden;
}

@media (min-width: 992px) {
  .mmz-video-preview {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  }
}

.mmz-video-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255,255,255,0.95) 0%,
    rgba(230,230,230,0.65) 35%,
    rgba(0,0,0,0.25) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mmz-video-play {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1;
  text-shadow:
    0 0 6px rgba(255,255,255,0.9),
    0 2px 5px rgba(0,0,0,0.35);
}

.mmz-video-text {
  margin-top: 10px;
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  text-align: center;
  color: #333;
  text-shadow:
    0 0 4px rgba(255,255,255,0.95),
    0 0 10px rgba(255,255,255,0.9),
    0 2px 3px rgba(0,0,0,0.25);
}

/* Vimeo responsive embed */
.mmz-video-embed-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 28px auto;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border: 1px solid #ddd;
  background: #000;
}

.mmz-video-embed-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Referencia de revisión / Veeva */
.mmz-reference-review {
  text-align: right;
  font-size: 0.9rem;
  margin-top: 24px;
  color: #555;
}

.mmz-products-title {
  margin-top: 28px;
  margin-bottom: 12px;
  font-size: 1.05rem;
  color: #222;
}


/* Ajustes mobile contenidos mínimos */
@media (max-width: 767px) {
  .mmz-products-title {
    font-size: 0.95rem;
    margin-top: 22px;
    margin-bottom: 8px;
  }

  .mmz-products-band-inner {
    font-size: 11.5px;
    line-height: 1.35;
    margin-bottom: 14px;
  }
}

/* Etiquetas superiores del artículo */
.mmz-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 20px 0;
}

.mmz-article-tag {
  display: inline-block;
  border: 1px solid #28A8F2;
  color: #28A8F2;
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.4px;
}

.mmz-article-tag:hover {
  background: #eaf7ff;
  text-decoration: none;
}
