.deensimc-marquee-main-container.deensimc-media-marquee {
  --video-min-width: 100px;
  --video-width: 300px;
}

.deensimc-media-marquee .deensimcpro-figure-wrapper {
  min-width: var(--video-min-width);
  width: var(--video-width);
  max-width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  cursor: pointer;
  display: block;
  overflow: hidden;
  position: relative;
}

.deensimc-media-marquee .deensimcpro-media-marquee-img {
  display: block;
}

.deensimcpro-media-marquee-figure {
  display: flex;
  flex-direction: column;
  max-width: min-content;
  pointer-events: none;
}

.deensimc-media-marquee .deensimcpro-media-marquee-img .deensimcpro-video-thumb,
.deensimc-media-marquee
  .deensimcpro-media-marquee-frame
  .deensimcpro-video-thumb,
.deensimc-media-marquee
  .deensimcpro-media-marquee-img
  .deensimcpro-media-marquee-image,
.deensimc-media-marquee
  .deensimcpro-media-marquee-frame
  .deensimcpro-media-marquee-image {
  transition: all 200ms ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deensimc-media-marquee
  .deensimcpro-media-marquee-img
  .deensimcpro-media-marquee-caption,
.deensimc-media-marquee
  .deensimcpro-media-marquee-frame
  .deensimcpro-media-marquee-caption {
  color: #333333;
  align-self: center;
  text-align: center;
  line-height: 1.2;
}

.deensimc-media-marquee .deensimcpro-media-marquee-img {
  cursor: pointer;
}

.deensimc-media-marquee .deensimcpro-media-marquee-link {
  display: none;
}

.deensimcpro-media-marquee-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.deensimcpro-media-marquee-play-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}
.deensimcpro-media-marquee-play-icon i {
  font-size: 24px;
  color: #fff;
}

/* custom lightbox styles */

.deensimcpro-custom-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
}
.deensimcpro-custom-lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
}
.deensimcpro-cl-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  aspect-ratio: 16/9;
}

.deensimcpro-cl-content:has(iframe),
.deensimcpro-cl-content:has(video) {
  width: 90%;
}

.deensimcpro-cl-content iframe,
.deensimcpro-cl-content video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.deensimcpro-cl-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.deensimcpro-figure-wrapper {
  iframe.deensimcpro-media-marquee-inline-player {
    position: absolute;
    inset: 0;
    object-fit: cover;
    height: 100%;
    width: 100%;
  }
}
