/* KOKO performance enhancements: bounded page loader and click-to-play video. */
html.koko-page-ready body #load {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 180ms ease-out, visibility 0s linear 180ms !important;
}

.wpb_video_wrapper > .koko-lite-youtube {
  position: absolute !important;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0 !important;
  overflow: hidden;
  background: #171512;
}

.koko-lite-youtube__button {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #fff;
  background-color: #171512;
  background-image:
    linear-gradient(180deg, rgba(12, 10, 8, 0.08), rgba(12, 10, 8, 0.58)),
    url("/wp-content/uploads/2022/05/%E5%9B%BE%E7%89%875-Large.jpeg");
  background-position: center;
  background-size: cover;
  cursor: pointer;
  appearance: none;
}

.koko-lite-youtube__button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.koko-lite-youtube__button:hover::after {
  background: rgba(0, 0, 0, 0.08);
}

.koko-lite-youtube__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}

.koko-lite-youtube__button:focus-visible::after {
  border-color: #c5ab6b;
}

.koko-lite-youtube__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.72);
}

.koko-lite-youtube__play {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #c5ab6b;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
  transform: scale(1);
  transition: transform 160ms ease-out, background-color 160ms ease-out;
}

.koko-lite-youtube__play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 53%;
  width: 0;
  height: 0;
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
  border-left: 21px solid #fff;
  transform: translate(-50%, -50%);
}

.koko-lite-youtube__button:hover .koko-lite-youtube__play,
.koko-lite-youtube__button:focus-visible .koko-lite-youtube__play {
  background: #b99a50;
  transform: scale(1.06);
}

.koko-lite-youtube__label {
  font-family: Poppins, Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.koko-lite-youtube > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.koko-lite-youtube noscript {
  position: absolute;
  inset: auto 16px 16px;
  z-index: 2;
}

.koko-lite-youtube noscript a {
  color: #fff;
  background: #171512;
  padding: 8px 12px;
}

@media (max-width: 600px) {
  .koko-lite-youtube__content {
    transform: translateX(-12%);
  }

  .koko-lite-youtube__play {
    width: 62px;
    height: 62px;
  }

  .koko-lite-youtube__label {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.koko-page-ready body #load,
  .koko-lite-youtube__button::after,
  .koko-lite-youtube__play {
    transition: none !important;
  }
}
