/* Campaign Video Block Styles */

.campaign-video {
  background-color: rgba(65, 182, 230, 0.15);
  padding: 4rem 0;
}

@media only screen and (min-width: 768px) {
  .campaign-video {
    padding: 6rem;
  }
}

.campaign-video__card .card_header {
  position: relative;
}

.campaign-video__card .card_header figure {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0;
}

.campaign-video__card .card_header figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.campaign-video__card .card_header .testimonial_badge-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 60px;
  display: flex;
  flex-direction: row;
}

.campaign-video__card .card_header .testimonial_badge-wrapper .badge_wrapper {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
}

.campaign-video__card .card_header .testimonial_badge-wrapper .badge_wrapper svg {
  width: 40px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.campaign-video__card .card_header .testimonial_badge-wrapper .text_wrapper {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  background: #000;
  padding: 0 1rem;
  justify-content: center;
}

@media only screen and (max-width: 600px) {
  .campaign-video__card .card_header .testimonial_badge-wrapper .text_wrapper {
    font-size: 10px;
  }
}

.campaign-video__card .card_header .testimonial_badge-wrapper .text_wrapper .name {
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.campaign-video__card .card_header .testimonial_badge-wrapper .text_wrapper .title {
  color: #15BEF0;
}

.campaign-video__card .card_body {
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.campaign-video__card .card_body h2 {
  font-weight: 400;
  font-size: 36px;
  line-height: 1.1em;
  color: #000 !important;
  margin-bottom: 10px;
  margin-top: 20px;
}

.campaign-video__card .card_body p {
  font-weight: 400;
  font-size: 20px;
  line-height: 22px;
  color: #111323;
}

.campaign-video__card .card_footer svg {
  fill: #15BEF0;
  color: #15BEF0;
}

.campaign-video .ceo_question-cta-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.campaign-video .testimonial_cta {
  font-size: 20px;
  line-height: 22px;
  color: #41b6e6;
  text-decoration: underline;
  font-weight: 700;
}

.campaign-video .testimonial_cta:hover {
  color: #31809fff;
  text-decoration: underline;
}

/* Video Modal Styles */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.video-modal.show-modal {
  display: flex;
  opacity: 1;
}

.video-modal__container {
  position: relative;
  width: 90vw;
  max-width: 1200px;
  background: #000;
  padding: 20px;
  border-radius: 8px;
}

@media only screen and (max-width: 768px) {
  .video-modal__container {
    width: 85vw;
  }
}

.video-modal .close-modal {
  position: absolute;
  top: -40px;
  right: -40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  transition: transform 0.2s ease;
}

.video-modal .close-modal:hover {
  transform: scale(1.1);
}

@media only screen and (max-width: 768px) {
  .video-modal .close-modal {
    top: -35px;
    right: 0;
  }
}

.video-modal .video {
  position: relative;
  width: 100%;
}

.video-modal .video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-modal .video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Body scroll lock when modal is open */
body.lock-scroll {
  overflow: hidden;
}
