/* Only the replacement behavior for captured source components lives here. */
wow-image,
wix-image {
  display: block;
}

[data-migration-popup][hidden],
[data-migration-mobile-menu][hidden] {
  display: none !important;
}

[data-migration-popup] {
  position: fixed;
  inset: 0;
  z-index: 10000;
  overflow: auto;
}

html.both-menu-open,
html.both-menu-open body {
  overflow: hidden;
}

/* Keep the existing mobile Close control above the full-height menu after
   removing the hosting banner's reserved space. No closed-page geometry changes. */
html.both-menu-open body.device-mobile-optimized #MENU_AS_CONTAINER_TOGGLE {
  z-index: 100000 !important;
}

.both-slideshow {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
}

.both-slideshow-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% center;
  opacity: 0;
  /* Captured jQuery Easing 1.3 selects easeOutQuad: y = 2x - x². */
  transition: opacity var(--both-slide-transition, 700ms) cubic-bezier(0.3333333333333333, 0.6666666666666666, 0.6666666666666666, 1);
}

.both-slideshow-image.is-active {
  opacity: 1;
}

.both-slideshow-image.is-incoming {
  transition: none;
}

/* Source StripSlideshow pager rules, scoped to its former iframe width. */
.both-slideshow-pager {
  display: flex;
  align-items: flex-start;
  flex-direction: row;
  justify-content: center;
  box-sizing: border-box;
  text-align: center;
  min-width: 100%;
  z-index: 500;
  position: absolute;
  bottom: 32px;
  overflow: hidden;
  transition: transform 1s;
}

.both-slideshow-pager span {
  margin-top: 5px;
  font-family: Arial, sans-serif;
  font-size: 44px;
  width: 11px;
  height: 11px;
  line-height: 12px;
  display: inline-block;
  color: rgba(255, 255, 255, 0);
  cursor: pointer;
  margin-right: 5px;
  user-select: none;
}

.both-slideshow-pager span.is-current {
  color: rgba(47, 46, 46, 0);
}

@container (min-width: 320px) and (max-width: 678px) {
  .both-slideshow-pager { bottom: 10px; }
  .both-slideshow-pager span {
    font-size: 80px;
    min-width: 40px;
    min-height: 40px;
    line-height: 60px;
    vertical-align: baseline;
    color: #ddd;
    margin: 0 3px;
  }
}

.both-native-video,
[data-migration-youtube],
[data-migration-youtube] iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.both-native-video {
  object-fit: contain;
  background: #000;
}

@media (prefers-reduced-motion: reduce) {
  .both-slideshow-image {
    transition-duration: 0ms;
  }
}
