/* Silent product films (inc/film.php): the homepage hero and the /free/ hero.
   The page sets the space above it; the pause button shows on hover, on focus, when paused and on touch screens. */
.mk-film {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  isolation: isolate;
  border-radius: 28px;
  background: #0E1311;
  box-shadow: 0 44px 90px -54px rgb(14 19 17 / 0.6);
}
.mk-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.mk-film-btn {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.88);
  color: #141A18;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.mk-film-btn svg { width: 16px; height: 16px; }
.mk-film-btn .i-play,
.mk-film.is-paused .mk-film-btn .i-pause { display: none; }
.mk-film.is-paused .mk-film-btn .i-play { display: block; }
.mk-film:hover .mk-film-btn,
.mk-film-btn:focus-visible,
.mk-film.is-paused .mk-film-btn { opacity: 1; }
.mk-film-btn:hover { background: #fff; }
@media (hover: none) {
  .mk-film-btn { opacity: 1; }
}
@media (max-width: 640px) {
  .mk-film { border-radius: 18px; }
  .mk-film-btn { right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 8px; }
  .mk-film-btn svg { width: 13px; height: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .mk-film-btn { transition: none; }
}
