body.monpasie-site .mp-video__mobile-note,
body.monpasie-site .mp-video [hidden] { display: none; }

body.monpasie-site .mp-video-gallery { width: 100%; min-width: 0; }
body.monpasie-site .mp-video-gallery [hidden] { display: none; }
body.monpasie-site .mp-video-gallery .mp-video__grid { width: min(var(--mp-video-gallery-width, 880px), 100%); grid-template-columns: repeat(var(--mp-video-columns, 3), minmax(0, 1fr)); gap: var(--mp-video-gap, 14px); }
body.monpasie-site .mp-video-gallery .mp-video-card { min-width: 0; grid-column: span min(var(--mp-video-card-span, 1), var(--mp-video-columns, 3)); }
body.monpasie-site .mp-video-gallery .mp-video-card__preview { aspect-ratio: var(--mp-video-card-aspect, 3 / 4); }
body.monpasie-site .mp-video-gallery .mp-video-card__preview img { object-fit: var(--mp-video-poster-fit, cover); object-position: var(--mp-video-poster-position, center center); }
body.monpasie-site .mp-video-card__no-poster { display: grid; height: 100%; padding: 24px; place-items: center; background: #34464e; color: white; }
body.monpasie-site .mp-video-gallery .mp-video-card__caption h3 { overflow-wrap: anywhere; }
/* Approved VIP section surface uses the existing editable Elementor shell. */
body.monpasie-site.page-id-5423 .mp-video--vip,
body.monpasie-site.page-id-5341 .mp-video--royal {
  padding: 24px 24px 32px;
  background: var(--mp-ice);
}
body.monpasie-site.page-id-5423 .mp-video--vip > .mp-shell,
body.monpasie-site.page-id-5341 .mp-video--royal > .mp-shell {
  box-sizing: border-box;
  width: min(1360px, 100%);
  margin-inline: auto;
  padding: 48px 32px;
  border: 1px solid var(--mp-line);
  border-radius: 28px;
  background: #fff;
}
body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__heading { display: block; width: min(640px, 100%); margin: 0 auto 28px; }
body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__subtitle { margin: 8px 0 0; color: var(--mp-muted); font-size: 16px; }
body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__subtitle p { margin: 0; }
body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__footer { justify-content: center; margin-top: 24px; }

body.monpasie-site .mp-video__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body.monpasie-site .mp-video-dialog {
  width: fit-content;
  max-width: calc(100% - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 8px;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: #182329;
  color: #fff;
  box-shadow: none;
}

body.monpasie-site .mp-video-dialog[open] { animation: mp-video-open 160ms ease-out; }
body.monpasie-site .mp-video-dialog::backdrop { background: rgba(13, 27, 30, .85); }
body.monpasie-site .mp-video-dialog__header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; background: #182329; }
body.monpasie-site .mp-video-dialog__header h3 { min-width: 0; margin: 0; padding-left: 8px; color: inherit; font-size: 14px; line-height: 1.3; }
body.monpasie-site .mp-video-dialog__close { flex: 0 0 44px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; }
body.monpasie-site .mp-video-dialog__close svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; }
body.monpasie-site .mp-video-dialog__frame { display: flex; justify-content: center; margin-top: 8px; }
body.monpasie-site .mp-video-dialog__player { display: block; width: min(calc(100vw - 48px), calc((100dvh - 112px) * var(--mp-video-aspect, 1.77778))); max-width: 100%; max-height: calc(100dvh - 112px); aspect-ratio: var(--mp-video-aspect, 1.77778); height: auto; object-fit: contain; background: #182329; border-radius: 12px; }
body.monpasie-site .mp-video-dialog__error { padding: 16px; text-align: center; }
body.monpasie-site .mp-video-dialog__error p { margin: 0 0 12px; font-size: 14px; }
body.monpasie-site .mp-video-dialog button:focus-visible { outline: 3px solid #fff; outline-offset: -3px; }
@keyframes mp-video-open { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 761px) and (max-width: 1100px) {
  body.monpasie-site .mp-video-gallery { --mp-video-gap: 12px; }
}

@media (max-width: 760px) {
  body.monpasie-site .mp-video-gallery { --mp-video-gap: 16px; }
  body.monpasie-site.page-id-5423 .mp-video.mp-video--vip,
  body.monpasie-site.page-id-5341 .mp-video.mp-video--royal { padding: 16px 16px 24px; }
  body.monpasie-site.page-id-5423 .mp-video--vip > .mp-shell,
  body.monpasie-site.page-id-5341 .mp-video--royal > .mp-shell {
    padding: 24px 0 32px;
    border-radius: 24px;
  }
  body.monpasie-site.page-id-5423 .mp-video--vip :is(.mp-video__heading, .mp-video__footer),
  body.monpasie-site.page-id-5341 .mp-video--royal :is(.mp-video__heading, .mp-video__footer) { padding-inline: 16px; }
  body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__heading { margin-bottom: 16px; }
  body.monpasie-site :is(.mp-video--vip, .mp-video--royal) .mp-video__subtitle { font-size: 14px; }
  body.monpasie-site .mp-video {
    overflow: clip;
    padding: 24px 0;
    background: linear-gradient(180deg, #f7fbfc 0, var(--mp-ice) 120px, #f7fbfc 100%);
  }
  body.monpasie-site .mp-video > .mp-shell { width: 100%; padding-inline: 16px; }
  body.monpasie-site .mp-video__heading { display: block; margin: 0 0 16px; text-align: center; }
  body.monpasie-site .mp-video__heading .mp-kicker,
body.monpasie-site .mp-video__desktop-note { display: none; }
  body.monpasie-site .mp-video__heading h2 { margin: 0; font-size: clamp(26px, 7.1vw, 28px); line-height: 1.2; }
  body.monpasie-site .mp-video__mobile-note { display: block; width: auto; margin: 8px 0 0; color: var(--mp-muted); font-size: 14px; line-height: 1.5; }
  body.monpasie-site .mp-video__deck { position: relative; isolation: isolate; padding: 8px 0; touch-action: pan-y pinch-zoom; }
  body.monpasie-site .mp-video__deck::before { content: ''; display: block; width: min(var(--mp-video-mobile-width, 60%), var(--mp-video-mobile-max, 220px)); aspect-ratio: 9 / 16; margin: 0 auto; }
  body.monpasie-site .mp-video__deck .mp-video-card {
    position: absolute;
    top: 8px;
    left: 50%;
    z-index: var(--mp-video-layer, 1);
    width: min(var(--mp-video-mobile-width, 60%), var(--mp-video-mobile-max, 220px));
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    transform: translate3d(calc(-50% + var(--mp-video-shift, 0px)), 0, 0) scale(var(--mp-video-scale, 1));
    opacity: var(--mp-video-opacity, 1);
    transition: transform 280ms cubic-bezier(.22, 1, .36, 1), opacity 220ms ease;
  }
  body.monpasie-site .mp-video__deck .mp-video-card__caption,
body.monpasie-site .is-mobile-videos .mp-video-card__context,
body.monpasie-site .is-mobile-videos .mp-video-card__veil { display: none; }
  body.monpasie-site .mp-video-gallery.is-mobile-videos .mp-video-card__preview img { object-fit: var(--mp-video-poster-fit, contain); transform: none; filter: none; transition: none; }
  body.monpasie-site .mp-video-gallery .mp-video__deck .mp-video-card__preview { aspect-ratio: 9 / 16; }
  body.monpasie-site .is-mobile-videos .mp-video-card__play { top: 50%; left: 50%; bottom: auto; width: 48px; height: 48px; margin: -24px 0 0 -24px; box-shadow: none; transform: none; }
  body.monpasie-site .is-mobile-videos .mp-video-card__preview:focus-visible { outline: 3px solid var(--mp-burgundy); outline-offset: -3px; }
  body.monpasie-site .mp-video__selected-caption { display: grid; gap: 4px; margin: 12px 0 0; text-align: center; }
  body.monpasie-site .mp-video__selected-caption p { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
  body.monpasie-site .mp-video__selected-caption span { color: var(--mp-muted); font-size: 12px; line-height: 1.5; }
  body.monpasie-site .mp-video__landscapes { display: grid; grid-template-columns: repeat(var(--mp-video-landscape-columns, 1), minmax(0, 1fr)); gap: var(--mp-video-gap, 16px); margin-top: 24px; }
  body.monpasie-site .mp-video__deck[hidden] ~ .mp-video__landscapes { margin-top: 0; }
  body.monpasie-site .mp-video-gallery .mp-video__landscapes .mp-video-card { width: 100%; grid-column: auto; border: 0; border-radius: 0; background: transparent; box-shadow: none; transform: none; }
  body.monpasie-site .mp-video-gallery .mp-video__landscapes .mp-video-card__preview { aspect-ratio: 16 / 9; border-radius: 20px; }
  body.monpasie-site .mp-video__landscapes .mp-video-card__caption { min-height: 0; padding: 12px 0 0; gap: 4px; }
  body.monpasie-site .mp-video__landscapes .mp-video-card__caption h3 { grid-row: 1; font-size: 14px; font-weight: 700; line-height: 1.4; }
  body.monpasie-site .mp-video__landscapes .mp-video-card__caption span { color: var(--mp-muted); font-size: 12px; font-weight: 400; letter-spacing: normal; text-transform: none; }
  body.monpasie-site .mp-video__footer { margin-top: 24px; padding-top: 0; border: 0; }
  body.monpasie-site .mp-video__footer p { display: none; }
  body.monpasie-site .mp-video__footer .mp-button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  body.monpasie-site .mp-video-dialog[open] { animation: none; }
  body.monpasie-site .mp-video__deck .mp-video-card { transition: none; }
}
