.mekka-pdf-slides{width:100%;max-width:1200px;margin:0 auto;background:#181a1b;border-radius:12px;overflow:hidden;color:#fff;font-family:inherit;box-shadow:0 12px 35px rgba(0,0,0,.12)}
.mekka-pdf-stage{position:relative;aspect-ratio:16/9;display:flex;align-items:center;justify-content:center;overflow:hidden;outline-offset:-3px;touch-action:pan-y;background:#252729}
.mekka-pdf-stage canvas{display:block;max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto}
.mekka-pdf-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:1.5rem;text-align:center;background:#252729;color:#eee;font-size:15px}
.mekka-pdf-message[hidden]{display:none}
.mekka-pdf-controls{min-height:56px;display:flex;align-items:center;gap:8px;padding:8px 14px;background:#181a1b}
.mekka-pdf-controls button,.mekka-pdf-controls a{appearance:none;border:0;background:transparent;color:#fff;text-decoration:none;display:grid;place-items:center;width:40px;height:40px;font-size:20px;cursor:pointer;border-radius:6px;transition:background .2s}
.mekka-pdf-controls button:hover,.mekka-pdf-controls a:hover{background:#34383a;color:#fff}
.mekka-pdf-controls button:focus-visible,.mekka-pdf-controls a:focus-visible{outline:2px solid #fff}
.mekka-pdf-controls button:disabled{opacity:.35;cursor:not-allowed}
.mekka-pdf-counter{font-size:13px;min-width:66px;text-align:center;font-variant-numeric:tabular-nums}
.mekka-pdf-spacer{flex:1}
.mekka-pdf-slides:fullscreen{max-width:none;border-radius:0;display:flex;flex-direction:column}
.mekka-pdf-slides:fullscreen .mekka-pdf-stage{flex:1;aspect-ratio:auto;min-height:0}
@media(max-width:600px){.mekka-pdf-controls{gap:2px;padding:5px 8px}.mekka-pdf-controls button,.mekka-pdf-controls a{width:36px;height:36px}}

/* Étnica 1.0.1: evitar filtros y opacidad heredados de Elementor/tema. */
.mekka-pdf-slides .mekka-pdf-stage,
.mekka-pdf-slides .mekka-pdf-stage canvas {
  filter: none !important; -webkit-filter: none !important;
  opacity: 1 !important; mix-blend-mode: normal !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
.mekka-pdf-slides .mekka-pdf-stage canvas { background: #fff; image-rendering: auto; }

/* v1.0.2: controles SVG uniformes con buen contraste. */
.mekka-pdf-slides .mekka-pdf-controls button[data-action="play"],
.mekka-pdf-slides .mekka-pdf-controls button[data-action="fullscreen"]{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:#313538!important;color:#fff!important;opacity:1!important;
  border:1px solid rgba(255,255,255,.13)!important;min-width:44px;width:44px;height:44px;
  padding:0!important;line-height:1!important;border-radius:9px!important;
  box-shadow:none!important;visibility:visible!important;
}
.mekka-pdf-slides .mekka-pdf-controls button[data-action="play"]:hover,
.mekka-pdf-slides .mekka-pdf-controls button[data-action="fullscreen"]:hover{background:#4c5155!important}
.mekka-pdf-slides .mekka-icon{display:block;width:23px;height:23px;flex-shrink:0;stroke:inherit}
.mekka-pdf-slides .mekka-icon-pause,
.mekka-pdf-slides .mekka-icon-collapse{display:none}
.mekka-pdf-slides .is-playing .mekka-icon-play,
.mekka-pdf-slides .is-expanded .mekka-icon-expand{display:none}
.mekka-pdf-slides .is-playing .mekka-icon-pause,
.mekka-pdf-slides .is-expanded .mekka-icon-collapse{display:block}
/* Pantalla completa nativa y alternativa para Safari iPhone. */
.mekka-pdf-slides:fullscreen,.mekka-pdf-slides.mekka-pdf-fullscreen-fallback{
  max-width:none!important;width:100%!important;height:100%!important;
  height:100dvh!important;margin:0!important;border-radius:0!important;
  display:flex!important;flex-direction:column!important;background:#090909!important;
}
.mekka-pdf-slides.mekka-pdf-fullscreen-fallback{
  position:fixed!important;inset:0!important;z-index:2147483647!important;
  padding-top:env(safe-area-inset-top,0px)!important;
  padding-bottom:env(safe-area-inset-bottom,0px)!important;
}
.mekka-pdf-slides:fullscreen .mekka-pdf-stage,
.mekka-pdf-slides.mekka-pdf-fullscreen-fallback .mekka-pdf-stage{
  flex:1 1 auto!important;min-height:0!important;height:auto!important;
  aspect-ratio:auto!important;background:#090909!important;
}
.mekka-pdf-slides.mekka-pdf-fullscreen-fallback .mekka-pdf-controls,
.mekka-pdf-slides:fullscreen .mekka-pdf-controls{flex-shrink:0!important}
html.mekka-pdf-lock-scroll,body.mekka-pdf-lock-scroll{overflow:hidden!important;overscroll-behavior:none!important}
@media(max-width:600px){
  .mekka-pdf-slides .mekka-pdf-controls button[data-action="play"],
  .mekka-pdf-slides .mekka-pdf-controls button[data-action="fullscreen"]{min-width:42px;width:42px;height:42px}
}
