.video-player {
    position: relative;
    max-width: 900px;
    /* change as needed */
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
}

.video-el {
    width: 90%;
    height: auto;
    display: block;
    background: #000;
    margin: 0 auto;
}

/* Close button */
.video-close-btn {
  position: absolute;
  top: 12px;                 /* distance from top of modal */
  left: 50%;                 /* center horizontally */
  transform: translateX(-50%);
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  padding: 6px;

  border: none;
  border-radius: 999px;

  background: rgba(0, 0, 0, 0.7);  /* dark background */
  color: #fff;

  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}


/* -----------------------------------------------------------
   OVERLAY (used by BOTH seed module & partner module)
------------------------------------------------------------*/
.seed-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1000;
    padding: 24px;
    /* keeps it off edges on small screens */
}

/* -----------------------------------------------------------
   SEED MODULE (original)
------------------------------------------------------------*/
.seed-modal {
    position: relative;
    /* so close button is positioned inside */
    background: #2f6ea5;
    /* blue panel */
    color: #ffffff;
    border-radius: 10px;
    padding: 2rem .8rem;
    max-width: 720px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    top: -80px;
}


.play-icon {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.2);
    font-size: 26px;
    line-height: 1;
}

.video-player.is-playing .video-overlay {
    display: none;
}

/* Visible state */
.video-el.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* DESKTOP & LARGE TABLET */
@media (min-width: 1024px) {
    .seed-modal-overlay {
        padding: 40px;
    }

    .seed-modal {
        width: 900px;
        max-width: 900px;
        max-height: calc(180vh - 80px);
    }

    .video-el {
        width: 40%;
        height: auto;
        display: block;
        background: #000;
        margin: 0 auto;
    }
}