/* =========================================================
   Carousel Video — base + desktop defaults
   ========================================================= */

.vidlo-carousel-section {
  box-sizing: border-box;
}

.vidlo-carousel-section *,
.vidlo-carousel-section *::before,
.vidlo-carousel-section *::after {
  box-sizing: border-box;
}

.vidlo-carousel-description {
  display: block;
  color: #262626;
  font-family: Mulish, sans-serif;
  font-size: 20px;
  font-weight: 600;
  font-style: normal;
  line-height: 28px;
  text-align: center;
  margin: 0 auto 32px;
  max-width: 800px;
}

.carousel-video .video-wrapper {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 24px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

.carousel-video .video-wrapper video,
.carousel-video .vidlo-carousel-player {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
  background: transparent !important;
  pointer-events: none !important;
  border-radius: 24px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.carousel-video .vidlo-video-hitbox {
  position: absolute;
  inset: 0;
  z-index: 5;
  cursor: pointer;
  background: transparent;
}

.carousel-video .video-wrapper .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  display: block !important;
  width: 50px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  line-height: 0;
  cursor: pointer;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  opacity: 1 !important;
  visibility: visible !important;
}

.carousel-video .video-wrapper .play-btn svg {
  display: block;
  width: 50px;
  height: 34px;
}

.carousel-video .video-wrapper.is-playing .play-btn {
  opacity: 0 !important;
  visibility: hidden !important;
}

.carousel-video .single-video {
  width: 268px;
  flex: 0 0 auto;
  height: auto;
  filter: none !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (min-width: 768px) {
  .vidlo-carousel-section .carousel-video.slick-initialized .slick-list {
    margin: 0 -10px;
  }
  .vidlo-carousel-section .carousel-video.slick-initialized .slick-slide {
    padding: 0 10px;
    box-sizing: border-box;
  }
  .vidlo-carousel-section .carousel-video.slick-initialized .slick-slide > .single-video,
  .vidlo-carousel-section .carousel-video.slick-initialized .single-video {
/*     width: 100% !important; */
    max-width: 100%;
  }
  .vidlo-carousel-section .carousel-video:not(.slick-initialized) {
    gap: 20px;
  }
}
.carousel-video .single-video-cap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  text-align: left;
}

.carousel-video .single-video-cap .icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin-top: 2px;
}

.carousel-video .single-video-cap .icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.carousel-video .single-video-cap .caption-info {
  min-width: 0;
  flex: 1;
}

.carousel-video .single-video-cap .caption-info a {
  text-decoration: none;
  color: inherit;
}

.carousel-video .single-video-cap .caption-info h4 {
  margin: 0 0 2px;
  color: #111;
  font-family: Mulish, sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.carousel-video .single-video-cap .caption-info p,
.carousel-video .single-video-cap .caption-info .tags {
  margin: 0;
  color: #3a3a3a;
  font-family: Mulish, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}

.carousel-video .single-video-cap .caption-info .tags {
  display: block;
  margin-top: 2px;
}

.vidlo-carousel-funfact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 775px;
  margin: 52px auto 0;
}

.vidlo-carousel-funfact__icon {
  width: 55px;
  height: 55px;
  margin: 20px 20px 25px 0;
}

.vidlo-carousel-funfact__label {
  color: #262626;
  font-family: Mulish, sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 2.72px;
  text-transform: uppercase;
}

.vidlo-carousel-funfact__percent {
  color: #262626;
  font-family: Mulish, sans-serif;
  font-size: 54px;
  font-style: normal;
  margin-right: 17px;
  font-weight: 900;
  line-height: normal;
}

/* =========================================================
   Mobile — match design mockup (native scroll, no Slick UI)
   ========================================================= */

@media (max-width: 767px) {
  .vidlo-carousel-section.watch-video-section,
  .elementor-widget-carousel-video .watch-video-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0px 0 0px 20px !important
    text-align: left !important;
    overflow: visible !important;
  }

  .vidlo-carousel-section .vidlo-carousel-title,
  .vidlo-carousel-section .seven-section-title {
    margin: 0 20px 24px !important;
    padding: 0 !important;
    max-width: calc(100% - 40px);
    color: #1a1a1a;
    font-family: Mulish, sans-serif;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em;
  }

  .vidlo-carousel-section .vidlo-carousel-description,
  .vidlo-carousel-section .carousel-description {
    display: none !important;
  }

  /* Kill theme Slick chrome on mobile */
  .vidlo-carousel-section .slick-arrow,
  .vidlo-carousel-section .slick-prev,
  .vidlo-carousel-section .slick-next,
  .vidlo-carousel-section .prev,
  .vidlo-carousel-section .next,
  .vidlo-carousel-section .btn-start-7 {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .vidlo-carousel-section .slick-list,
  .vidlo-carousel-section .slick-track {
    display: block !important;
    width: auto !important;
    transform: none !important;
    margin: 0 !important;
  }

  .vidlo-carousel-section .slick-slide {
    width: auto !important;
    float: none !important;
  }

  .vidlo-carousel-section .vidlo-carousel-track,
  .vidlo-carousel-section .carousel-video.scroll-videos,
  .vidlo-carousel-section .carousel-video.vidlo-carousel-native,
  .vidlo-carousel-section .carousel-video.slick-initialized,
  .vidlo-carousel-section .carousel-video {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 14px;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 20px 12px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    transform: none !important;
  }

  .vidlo-carousel-section .vidlo-carousel-track::-webkit-scrollbar,
  .vidlo-carousel-section .carousel-video::-webkit-scrollbar {
    display: none;
  }

  .vidlo-carousel-section .carousel-video .single-video,
  .vidlo-carousel-section .carousel-video .slick-slide .single-video,
  .vidlo-carousel-section .carousel-video .slick-slide {
    width: min(78vw, 300px) !important;
    max-width: 300px !important;
    height: auto !important;
    flex: 0 0 min(78vw, 300px) !important;
    scroll-snap-align: start;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    filter: none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: 0 !important;
  }

  /* Card media — soft rounded rect, no black pill frame */
  .vidlo-carousel-section .carousel-video .video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4.2;
    border-radius: 28px !important;
    overflow: hidden !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: #e8e4f2 !important;
    filter: none !important;
  }

  .vidlo-carousel-section .carousel-video .video-wrapper video,
  .vidlo-carousel-section .carousel-video .vidlo-carousel-player,
  .vidlo-carousel-section .carousel-video .video-wrapper::before,
  .vidlo-carousel-section .carousel-video .video-wrapper::after {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
  }

  .vidlo-carousel-section .carousel-video .video-wrapper video,
  .vidlo-carousel-section .carousel-video .vidlo-carousel-player {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: cover !important;
    border-radius: 28px !important;
    background: transparent !important;
  }

  .vidlo-carousel-section .carousel-video .video-wrapper .play-btn {
    z-index: 7;
    width: 50px !important;
    height: 34px !important;
  }

  .vidlo-carousel-section .carousel-video .vidlo-video-hitbox {
    z-index: 6;
    border-radius: 28px;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 0 2px;
    text-align: left;
    overflow: visible;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap .icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap .icon img {
    width: 26px;
    height: 26px;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap .caption-info {
    overflow: hidden;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap .caption-info h4 {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .vidlo-carousel-section .carousel-video .single-video-cap .caption-info p,
  .vidlo-carousel-section .carousel-video .single-video-cap .caption-info .tags {
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .vidlo-carousel-section .vidlo-carousel-funfact {
    margin-top: 36px;
    padding: 0 20px;
    justify-content: flex-start;
  }

  .vidlo-carousel-funfact__percent {
    font-size: 40px;
  }
}

@media (min-width: 480px) and (max-width: 767px) {
  .vidlo-carousel-section .vidlo-carousel-title,
  .vidlo-carousel-section .seven-section-title {
    font-size: 40px !important;
  }

  .vidlo-carousel-section .carousel-video .single-video,
  .vidlo-carousel-section .carousel-video .slick-slide {
    width: min(70vw, 320px) !important;
    flex-basis: min(70vw, 320px) !important;
  }
}
