/* --- Cinema Slider Layout (Transparent Slides, Final Responsive Version) --- */
.cs-wrapper {
  position: relative;
  background: transparent;   /* main container background */
  color: #ccc;
  overflow: hidden;
  /* padding: 2rem 0; */
  font-family: 'Poppins', sans-serif;
}

/* --- Track --- */
.cs-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

/* --- Slide --- */
.cs-slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr; /* text left, image right */
  align-items: center;
  justify-content: space-between;
  gap: 2rem;

  max-width: 1320px;
  margin: 0 auto;
  background: transparent;   /* ✅ transparent slide */
  box-sizing: border-box;
  padding: 50px;  
  padding: 50px !important;           /* equal padding on all sides */
  overflow: hidden;
}

/* --- Content Side --- */
.cs-content {
  width: 100%;
  max-width: 100%;
  text-align: left;
  color: #CCCCCC;
}

/* Title */
.cs-title {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  line-height: 60px;
  font-weight: 400;
  color: #CCCCCC;
  margin: 0 0 1rem;
}

/* Text */
.cs-text {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  line-height: 27px;
  color: #CCCCCC;
  margin-bottom: 1rem;
}

/* Read More link */
.cs-link {
  display: inline-block;
  margin-top: 1rem;
  text-decoration: underline;
  color: #B70E00;
  font-weight: 600;
  transition: color 0.3s ease;
}
.cs-link:hover {
  color: #fff;
}

/* --- Image Side --- */
.cs-media {
  position: relative;
  text-align: right;
}

.cs-image {
  /* width: 400px;           
  height: 500px;           */
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

/* --- Remove Arrows --- */
.cs-arrow {
  display: none !important;
}

/* --- Dots --- */
.cs-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 12px;
  position: relative;
}
.cs-dots button {
  width: 37px;
  height: 10px;
  border-radius: 10px;
  border: none;
  background: #3a3a3a;
  opacity: 0.7;
  cursor: pointer;
  transition: background 0.3s ease, opacity 0.3s ease;
}
.cs-dots button[aria-current="true"] {
  background: #B70E00;
  opacity: 1;
}

/* --- Responsive Behavior --- */
@media (max-width: 1024px) {
  .cs-slide {
    gap: 1.5rem;
    padding: 40px 30px;
  }

  .cs-title {
    font-size: 32px;
    line-height: 48px;
  }

  .cs-text {
    font-size: 16px;
    line-height: 24px;
  }

  .cs-image {
    width: 320px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .cs-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .cs-media {
    order: -1;
    text-align: center;
  }

  .cs-title {
    font-size: 26px;
    line-height: 38px;
  }

  .cs-text {
    font-size: 15px;
    line-height: 22px;
  }

  .cs-image {
    width: 280px;
    height: 360px;
  }
}

@media (max-width: 480px) {
  .cs-slide {
    padding: 20px;
  }

  .cs-title {
    font-size: 22px;
    line-height: 32px;
  }

  .cs-text {
    font-size: 14px;
    line-height: 20px;
  }

  .cs-image {
    width: 240px;
    height: 300px;
  }
}
.cs-archive-scroll {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
}

.cs-archive-item img {
    border-radius: 6px;
    width: 120px;
    height: auto;
}
.cs-heading {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-align: center;
}
/* TMDB Attribution */
.tmdb-attribution {
    text-align: center;
    font-size: 12px;
    padding: 15px 10px;
    margin-top: 30px;
    opacity: 0.75;
    background-color: #000;
    color: #ccc;
}
/* Lightbox overlay */
.cs-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

/* Container */
.cs-lightbox-container {
  position: relative;
  max-width: 96vw;
  max-height: 96vh;
}

/* Enlarged image */
.cs-lightbox-image {
  max-width: 96vw;
  max-height: 96vh;
  width: auto;
  height: auto;
  display: block;
  /* width:00px; */
}

/* Close button */
.cs-lightbox-close {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #333333;
  font-size: 20px;
  font-weight: bold;
  line-height: 36px;
  cursor: pointer;
  padding: 0px;
}
/* Lightbox overlay */
.ff-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Lightbox image */
.ff-lightbox-overlay img {
  max-width: 100vw;
  max-height: 100vh;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  cursor: zoom-out;
}
