/* #occasion {
  position: relative;
  z-index: 1;
} */

#modal-mobile-video-wrapper-1 {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(245, 192, 110, 0.2),
              0 8px 20px rgba(245, 192, 110, 0.15);
  display: none;
}

#dynamicModalPlayer{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  outline: none;
  border: none;
  transition: border-radius 0.3s ease;
}

/* Rotate video 90 degrees in portrait fullscreen mode */
#modal-mobile-video-wrapper-1.is-fullscreen.is-portrait #dynamicModalPlayer {
  transform: rotate(90deg);
  transform-origin: center center;
  width: 100vh;
  height: 100vw;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -50vh;
  margin-top: -50vw;
  object-fit: contain;
}

.fullscreen-controls-occasion {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  flex-direction: row;
  gap: 15px;
  z-index: 999999;
  pointer-events: auto;
  transition: opacity 0.3s;
  opacity: 1;
}

.fullscreen-controls-occasion .fullscreen-exit-btn {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
}

.fullscreen-controls-occasion .fullscreen-mute-btn {
  position: fixed;
  right: 1rem;
  top: 1rem;
}

#modal-mobile-video-wrapper-1.is-fullscreen.is-portrait .fullscreen-controls-occasion .fullscreen-mute-btn {
  transform: rotate(90deg);
}

#modal-mobile-video-wrapper-1.is-fullscreen.is-landscape .fullscreen-controls-occasion .fullscreen-mute-btn {
  position: fixed;
  left: 1rem;
  top: 1rem;
}

#modal-mobile-video-wrapper-1.is-fullscreen.is-landscape .fullscreen-controls-occasion .fullscreen-exit-btn {
  position: fixed;
  right: 1rem;
  top: 1rem;
}

.fullscreen-controls-occasion .fullscreen-mute-btn,
.fullscreen-controls-occasion .fullscreen-exit-btn {
  background: rgba(245, 192, 110, 0.8);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #6d3a1b;
  font-size: 21.5px;
  padding: 0px;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  border: 0;
  outline: 0;
}