.cfa-video-hero-section {
  padding: 80px 0;
  background-image: linear-gradient(to bottom right, #eff6ff, rgb(238 242 255 / 0.4), rgb(250 245 255 / 0.3));
}

.cfa-video-hero-title {
  font-size: 60px;
  line-height: 1;
  color: #020b36;
  font-weight: 500;
  margin-bottom: 64px;
  text-align: center;
}

.cfa-video-hero-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: flex-start;
}

.cfa-video-hero-list {
  margin-bottom: 40px;
}

.cfa-video-hero-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.cfa-video-hero-list__item:last-child {
  margin-bottom: 0;
}

.cfa-video-hero-list__item svg {
  width: 28px;
  height: 28px;
  color: #0282f2;
  flex-shrink: 0;
  margin-top: 4px;
}

.cfa-video-hero-list__item-text {
  font-size: 20px;
  line-height: 28px;
  color: #52587a;
}

.cfa-video-hero-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
}

.cfa-video-hero-action.primary-action {
  font-size: 18px;
  line-height: 28px;
  padding: 14px 48px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  color: #fff;
  font-weight: 600;
  background-color: #3acb95;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cfa-video-hero-action.primary-action:hover,
.cfa-video-hero-action.primary-action:active,
.cfa-video-hero-action.primary-action:focus {
  color: #fff;
  background-color: hsl(158 58% 51% / 0.9);
}

.cfa-video-hero-action.secondary-action {
  font-size: 18px;
  line-height: 28px;
  padding: 14px 48px;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  color: #0282f2;
  font-weight: 600;
  background-color: #fff;
  outline: 2px solid #0282f2;
  border: 0;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cfa-video-hero-action.secondary-action:hover,
.cfa-video-hero-action.secondary-action:active,
.cfa-video-hero-action.secondary-action:focus {
  color: #fff;
  background-color: hsl(208 98% 48% / 0.9);
}

.cfa-video-hero-video__preview {
  box-shadow: 0 0 #0000, 0 0 #0000, 0 25px 50px -12px rgb(0 0 0 / 0.25);
  background-color: #fff;
  border-radius: 12px;
  border: 1px solid #dadee7;
  cursor: pointer;
  position: relative;
  background-image: linear-gradient(to bottom right, #dbeafe, #e0e7ff);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.cfa-video-hero-video__preview img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.cfa-video-hero-video__preview-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 20%);
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
}

.cfa-video-hero-video__preview-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgb(255 255 255 / 90%);
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 0.15s;
  width: 80px;
  height: 80px;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: #0282f2;
}

.cfa-video-hero-video__preview-play:hover,
.cfa-video-hero-video__preview-play:active,
.cfa-video-hero-video__preview-play:focus {
  background-color: rgb(255 255 255 / 90%);
  color: #0282f2;
}

.cfa-video-hero-video__preview-play svg {
  color: #0282f2;
  width: 32px;
  height: 32px;
}

.cfa-video-hero-video__preview:hover .cfa-video-hero-video__preview-bg {
  background-color: rgb(0 0 0 / 30%);
}

.cfa-video-hero-video__preview:hover .cfa-video-hero-video__preview-play {
  transform: translate(-50%, -50%) rotate(0) skew(0, 0) scale(1.1, 1.1);
}

.cfa-video-hero-video__preview iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.cfa-video-hero-video__preview.active iframe {
  opacity: 1;
}

.cfa-video-hero-video__preview.active img,
.cfa-video-hero-video__preview.active .cfa-video-hero-video__preview-bg,
.cfa-video-hero-video__preview.active .cfa-video-hero-video__preview-play {
  display: none;
}

.cfa-video-hero-video__caption {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  line-height: 20px;
  color: #52587a;
}

@media screen and (max-width: 1023px) {
  .cfa-video-hero-title {
    font-size: 48px;
    line-height: 1;
  }

  .cfa-video-hero-grid {
    gap: 32px;
    grid-template-columns: auto;
  }
}

@media screen and (max-width: 767px) {
  .cfa-video-hero-section {
    padding: 48px 0;
  }

  .cfa-video-hero-title {
    margin-bottom: 48px;
    font-size: 30px;
    line-height: 1.25;
  }

  .cfa-video-hero-list {
    margin-bottom: 32px;
  }

  .cfa-video-hero-list__item {
    gap: 12px;
    margin-bottom: 16px;
  }

  .cfa-video-hero-list__item:last-child {
    margin-bottom: 0;
  }

  .cfa-video-hero-list__item svg {
    width: 24px;
    height: 24px;
  }

  .cfa-video-hero-list__item-text {
    font-size: 16px;
    line-height: 1.625;
  }

  .cfa-video-hero-action.primary-action,
  .cfa-video-hero-action.secondary-action {
    font-size: 16px;
    line-height: 24px;
    padding: 12px 32px;
  }
}

@media screen and (max-width: 639px) {
  .cfa-video-hero-actions {
    flex-direction: column;
  }
}
