
.vivo-video-sc-media-wrapper {
    overflow: hidden;
}


/* control the visibility of the diffent components */
.vivo-video-sc-media-wrapper.is-placeholder .vivo-placeholder-wrapper { display: block; }



.vivo-video-sc-chapter-wrapper {}
.vivo-video-sc-note-wrapper {}

.aspect-ratio-169 { aspect-ratio: 16 / 9; }
.aspect-ratio-43  { aspect-ratio: 4 / 3; }
.aspect-ratio-916 { aspect-ratio: 9 / 16; }
.aspect-ratio-11  { aspect-ratio: 1 / 1; }


.vivo-resume-wrapper {
    background: #0000001f;
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
}


.resume-card {
  position: absolute;
  z-index: 10;
  left: 14px;
  right: 14px;
  bottom: 14px;

  background: var(--glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px;

  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;

  transition:
    opacity 0.28s var(--ease),
    transform 0.28s var(--ease);
}

.resume-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.resume-close {
  position: absolute;
  top: 10px;
  right: 10px;

  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;

  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.62);

  font-size: 18px;
  line-height: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.resume-close:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.resume-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.96);
  margin-bottom: 4px;
}

.resume-title {
  font-size: 17px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
  padding-right: 32px;
  color: #fff
}

.resume-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 14px;
}

.resume-actions {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

button {
  appearance: none;
  font-family: var(--font);
  cursor: pointer;
}

.btn {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  padding: 12px 16px;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;

  border: 0;
  font-size: 15px;
  font-weight: 600;

  transition:
    transform 0.15s ease,
    background 0.15s ease,
    border-color 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: var( --vivo-video-on-primary );
  background: var( --vivo-video-primary);
}

.btn-primary:hover {
  background: var( --vivo-video-primary);
}

.btn-secondary {
  color: rgba(255,255,255,0.82);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.11);
}

.vivo-video-sc-media-wrapper[data-layout="lg"] .resume-card {
    width: 62%;
}


/*  PLACEHOLDER  */



.vivo-placeholder-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: none;
}

.vivo-placeholder-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.vivo-placeholder-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vivo-placeholder-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 2;
}

.vivo-placeholder-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    z-index: 3;
}

.vivo-placeholder-button {
    color: var(--vivo-video-primary);
    cursor: pointer;
    width: 48px;
}


.vivo-placeholder-disclaimer {
    max-width: 500px;
    text-align: center;
    color: white;
    font-size: .7em;
    font-weight: bold;

    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);

    position: absolute;
    bottom: 10px;
    left: 10%;
    right: 10%;
    border-radius: 6px;
    padding: .3em 1em;
}

.vivo_video_disclaimer a {
    color: white;
    text-decoration: underline !important;
}

.vivo_video_disclaimer a:hover {
    color: white;
}


/*
@media (min-width: 560px) {
  .resume-card {
    left: auto;
    right: 20px;
    bottom: 20px;
    width: min(420px, calc(100% - 40px));
    padding: 18px;
  }

  .resume-actions {
    flex-direction: row;
  }

  .btn {
    min-height: 42px;
    font-size: 14px;
    white-space: nowrap;
  }

  .btn-primary {
    flex: 1.15;
  }

  .btn-secondary {
    flex: 1;
  }
}

@media (min-width: 768px) {
  .resume-card {
    width: 420px;
    right: 24px;
    bottom: 24px;
  }

  .resume-title {
    font-size: 18px;
  }

  .resume-chip {
    left: auto;
    right: 24px;
    bottom: 24px;
  }
}

@media (max-width: 420px) {
  body {
    padding: 10px;
  }

  .player {
    border-radius: 16px;
  }

  .resume-card {
    padding: 15px;
  }

  .resume-title {
    font-size: 16px;
  }

  .resume-meta {
    font-size: 10px;
  }

  .info {
    flex-direction: column;
    gap: 8px;
  }
}

*/
