.video-home {
  position: relative;
  overflow: hidden;
  background: var(--gray-soft);
}

.video-home.section {
  padding: 5rem 0;
}

.video-home .video-card {
  position: relative;
  max-width: 56rem;
  margin: 2.5rem auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.video-home .video-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-home .video-overlay {
  position: absolute;
  inset: 0;
  background: hsl(221 86% 20% / .55);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: initial;
  color: inherit;
  transition: background .2s ease;
}

.video-home .video-card:hover > .video-overlay {
  background: hsl(221 86% 20% / .45);
}

.video-home .video-play-button {
  width: 5rem;
  height: 5rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
  transition: background .2s ease, transform .2s ease;
}

.video-home .video-card:hover .video-play-button {
  background: var(--yellow);
  transform: scale(1.1);
}

.video-home .video-play-button svg {
  width: 2rem;
  height: 2rem;
  color: var(--navy);
  margin-left: .25rem;
}

.video-home .video-caption {
  position: absolute;
  inset: auto 1.5rem 1.5rem 1.5rem;
  top: auto;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  height: auto;
  min-height: 0;
  z-index: 1;
  background: transparent;
  display: block;
  text-align: left;
  color: #fff;
  transition: none;
}

.video-home .video-card:hover > .video-caption {
  background: transparent;
}

.video-home .video-caption p:first-child {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.video-home .video-caption p:last-child {
  color: rgba(255, 255, 255, .7);
  font-size: .875rem;
  line-height: 1.5;
  margin: 0;
}
