/* UIB VSL helpers — CTA reveal (works with image CTAs + ?showbt=1) */

body .thrv_content_reveal:not(.is-revealed):not(.button_under_video_show):not(.uib-force-show),
body .content_reveal_main:not(.is-revealed):not(.button_under_video_show):not(.uib-force-show),
body #showbt:not(.is-revealed):not(.button_under_video_show):not(.uib-force-show) {
  display: none !important;
}

body .thrv_content_reveal.is-revealed,
body .thrv_content_reveal.button_under_video_show,
body .thrv_content_reveal.uib-force-show,
body .content_reveal_main.is-revealed,
body .content_reveal_main.button_under_video_show,
body .content_reveal_main.uib-force-show,
body #showbt.is-revealed,
body #showbt.button_under_video_show,
body #showbt.uib-force-show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 24px auto 0 !important;
  max-width: 920px;
  text-align: center;
}

body .content_reveal_main .tve_reveal_container,
body #showbt .tve_reveal_container,
body .thrv_content_reveal.is-revealed .tve_reveal_container {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
}

body .content_reveal_main .button_under_video:not(.button_under_video_show):not(.is-revealed),
body .content_reveal_main .thrv-button:not(.button_under_video_show):not(.is-revealed) {
  display: none !important;
}

body .content_reveal_main .button_under_video_show,
body .content_reveal_main .uib-cta-btn.button_under_video_show,
body .content_reveal_main .uib-cta-btn.is-revealed,
body #showbt .button_under_video_show,
body #showbt .uib-cta-btn,
body #showbt.is-revealed .uib-cta-btn,
body .uib-force-show .uib-cta-btn {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 18px auto !important;
  max-width: min(100%, 720px) !important;
  animation: uibCtaPop 0.45s ease-out;
}

body .content_reveal_main .uib-cta-btn img,
body #showbt .uib-cta-btn img,
body .uib-force-show .uib-cta-btn img,
img.uib-cta-img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  max-width: min(100%, 720px) !important;
  height: auto !important;
  margin: 0 auto !important;
}

/* Thrive's responsive shell uses height:0 + overflow:hidden and clips VTurb */
.thrv_responsive_video,
.thrv_responsive_video.tcb-lazy-load {
  display: block !important;
  width: 100% !important;
  max-width: 960px !important;
  margin: 12px auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.thrv_responsive_video .tve_responsive_video_container {
  position: relative !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  width: 100% !important;
}

.thrv_responsive_video .tcb-video-float-container,
.thrv_responsive_video .uib-vturb-wrap,
.uib-vturb-wrap,
vturb-smartplayer {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 960px !important;
  height: auto !important;
  margin: 0 auto !important;
  inset: auto !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.vturb-player-placeholder {
  display: block !important;
  width: 100% !important;
}

@keyframes uibCtaPop {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
