.video {
  width: 100%;
  text-align: center;
  max-width: 1230px;
  margin: 32px auto;
}

@media (width >= 1024px) {
  .section .video.video-small {
    display: block;
    max-width: 40%;
  }

  .section .video.video-medium {
    display: block;
    max-width: 75%;
  }

  .section .video.video-large {
    display: block;
    max-width: 100%;
  }
}

.video.lazy-loading {
  /* reserve an approximate space to avoid extensive layout shifts */
  aspect-ratio: 16 / 9;
}

.video > div {
  display: flex;
  justify-content: center;
}

.video video {
  max-width: 100%;
}

.video video[data-loading] {
  /* reserve an approximate space to avoid extensive layout shifts */
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video .video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
}

.video.video-mobile-only video[data-loading],
.video.video-mobile-only .video-placeholder {
  aspect-ratio: 9 / 16;
}

.video .video-placeholder > * {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}

.video .video-placeholder picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video .video-placeholder-play button {
  background-color: red;
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(3);
  width: 22px;
  height: 22px;
  border: 2px solid red;
  border-radius: 20px;
  padding: 0;
}

.video .video-placeholder-play button::before {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  width: 0;
  height: 10px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid white;
  top: 4px;
  left: 7px;
}

.video .button-mute {
  background:none;
  border: none;
  bottom: 3%;
  right: 1%;
  position: absolute;
  background-color: #c91245;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem;
}

.video.autoplay {
  position: relative;
}

.video.autoplay.hide-volume-button .button-mute {
  display: none;
}

html:not(.adobe-ue-edit, .adobe-ue-preview) .video.video-desktop-only {
  display: none;
}

html:not(.adobe-ue-edit, .adobe-ue-preview) .video.video-mobile-only {
  display: block;
}

@media (width <= 767px) {
  .video .button-mute {
    bottom: 8%;
    right: 2%;
    width: 18px;
    height: 18px;
    padding: 0.1rem;
  }
}

@media (width >= 768px) {
  html:not(.adobe-ue-edit, .adobe-ue-preview) .video.video-desktop-only {
    display: block;
  }

  html:not(.adobe-ue-edit, .adobe-ue-preview) .video.video-mobile-only {
    display: none;
  }
}

/* brand specific - special k */
.theme-special-k .section.tertiary-bg-section .video {
  width: 50%;
  text-align: center;
  min-width: 200px;
  max-width: 700px;
  margin: 32px auto;
}

.theme-special-k.stand-alone .custom-layout .video {
  width: 100%;
  margin: 0;
}

.theme-special-k .video .video-placeholder-play button {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* mission tiger */
.theme-mission-tiger .video {
  margin: 0 0 4rem;
}

.theme-mission-tiger .video::before {
  content: "";
  display: block;
  position: relative;
  z-index: 1;
  height: 1rem;
  width: 100%;
  margin-bottom: 2rem;
  border-width: 6px 0;
  border-style: solid;
  border-color: var(--secondary-color) transparent var(--primary-color);
}