.video-card {
  --vc-play-size: 50px;
  --vc-gap: 20px;
  position: relative;
  display: block;
  aspect-ratio: 16/9;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid transparent;
  border-radius: 0;
  background: var(--primary-main);
  color: var(--white);
  text-decoration: none;
}

.video-card__bg {
  opacity: 0.5;
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card:hover .video-card__bg {
  opacity: 1;
}

.video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(6, 20, 43, 0) 10%,
    rgba(6, 20, 43, 0.9) 100%
  );
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: var(--vc-play-size);
  height: var(--vc-play-size);
  border: 1px solid var(--white);
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  transform: translate(-50%, -50%);
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}

.video-card__play svg {
  width: 40%;
  height: 40%;
  margin-left: 4%;
  fill: currentColor;
}

.video-card:hover .video-card__play,
.video-card:focus-visible .video-card__play {
  border-color: var(--white);
  background: var(--white);
  color: var(--primary-main);
}

.video-card:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}


.video-card__info {
  position: absolute;
  left: var(--vc-gap);
  bottom: calc(var(--vc-gap) + 2px);
  right: calc(var(--vc-gap) + 2px); 
}

.video-card__title {
  display: block;
  margin-bottom: 0;
}

.video-card__meta {
  display: block;
  margin-bottom: 0;
  color: var(--white);
  text-transform: uppercase;
}

.video-card__meta,
.video-card__title {
  text-shadow: var(--primary-main) 1px 0 10px;
}


@media (max-width: 480px) {
  .video-card {
    --vc-play-size: 40px;
    --vc-gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .video-card__play {
    transition: none;
  }
}

/* ==========================================================================
   Dentro do slider "focus" (desktop/tablet) o card é bem maior, por isso o
   texto e o play acompanham a largura do card (cqw = 1% da largura do card).
   Os mínimos garantem que nunca fica mais pequeno do que o tamanho normal.
   ========================================================================== */
@media (min-width: 768px) {
  .gpc-slider--effect-focus .video-card {
    container-type: inline-size;
  }

  .gpc-slider--effect-focus .video-card__play {
    --vc-play-size: clamp(50px, 9cqw, 80px);
  }

  .gpc-slider--effect-focus .video-card__info {
    --vc-gap: clamp(20px, 3.2cqw, 32px);
  }

  .gpc-slider--effect-focus .video-card__meta {
    font-size: clamp(0.75rem, 1.9cqw, 1rem);
  }

  .gpc-slider--effect-focus .video-card__title {
    font-size: clamp(1.125rem, 3.2cqw, 1.75rem);
    line-height: 1.3;
  }
}