.wp-block-embed {
  position: relative;
}
.wp-block-embed:not(.ska-loaded)::before {
  content: "";
  width: 93px;
  height: 93px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 93px;
  background: rgba(4, 25, 38, 0.4);
  backdrop-filter: blur(8.4px);

  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzYiIHZpZXdCb3g9IjAgMCAzMCAzNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTMwIDE4TC0xLjYzMTMzZS0wNiAzNS4zMjA1TC0xLjE3MTI0ZS0wNyAwLjY3OTQ5TDMwIDE4WiIgZmlsbD0iI0U0RUVGRSIvPgo8L3N2Zz4K");
  background-repeat: no-repeat;
  background-position: calc(50% + 5px) center;

  pointer-events: none;
  position: absolute;
  z-index: 100;
}
.wp-block-embed:not(.ska-loaded)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;

  background-image: inherit;
  background-repeat: no-repeat;
  background-size: cover;
  cursor: pointer;
}

.ska-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: rgba(34, 34, 34, 0.5);
  backdrop-filter: blur(6px);
  padding: 0 var(--horizontal-spacing);
  display: flex;
  justify-content: center;
  align-items: center;

  transition: all 200ms ease-out;
}

.ska-modal.closed {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ska-modal__content {
  width: min(100%, 1100px);
  position: relative;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.25) 100%
  );
  padding: 2px;
}

.ska-modal__close {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  border: 1.2px solid var(--wp--preset--color--grey-200);
  background: rgba(34, 34, 34, 0.2);
  color: #fff;
  backdrop-filter: blur(8.3px);
  width: 48px;
  height: 48px;
  cursor: pointer;
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 100;
}

.ska-modal__close svg {
  pointer-events: none;
}
