/* Lịch chiếu dự kiến — scope .zoro-schedule-scope, tránh đụng Swiper/global (.swiper-slide, .btn, a:hover) */

.zoro-schedule-scope {
  width: 100%;
  clear: both;
  isolation: isolate;
}

.zoro-schedule-scope *,
.zoro-schedule-scope *::before,
.zoro-schedule-scope *::after {
  box-sizing: border-box;
}

.zoro-schedule-scope .clearfix::after {
  display: block;
  clear: both;
  content: "";
}
.zoro-schedule-scope .float-left {
  float: left !important;
}
.zoro-schedule-scope .mr-4 {
  margin-right: 1.5rem !important;
}

/* Font Awesome (reset *::before font-family từ index.css) */
.zoro-schedule-scope .fas,
.zoro-schedule-scope .fa-solid {
  font-family: "Font Awesome 6 Free" !important;
  font-style: normal !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  display: inline-block !important;
}
.zoro-schedule-scope .fas::before,
.zoro-schedule-scope .fa-solid::before {
  font-family: inherit !important;
}

/* block_area */
.zoro-schedule-scope .block_area {
  position: relative;
  display: block;
  margin-bottom: 30px;
}
.zoro-schedule-scope .block_area .block_area-header {
  margin-bottom: 15px;
  display: block;
  width: 100%;
}
.zoro-schedule-scope .block_area .block_area-header .cat-heading {
  font-size: 22px !important;
  line-height: 40px;
  font-weight: 400 !important;
  padding: 0;
  margin: 0 !important;
  color: #cae962;
}

.zoro-schedule-scope .schedule-full {
  position: relative;
  margin-bottom: 12px;
}
.zoro-schedule-scope .schedule-full::after {
  display: block;
  clear: both;
  content: "";
}
.zoro-schedule-scope .schedule-full .bah-time {
  line-height: 28px;
  padding: 0 10px;
  background: #613559;
  border-radius: 40px;
  margin: 6px 0;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.zoro-schedule-scope .schedule-full .current-time {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  line-height: 28px;
  display: inline-block;
  margin: 6px 0;
}

.zoro-schedule-scope .schedule-day-link{
  display:inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  background: #cae962;
  color: #111 !important;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none !important;
  border: 1px solid #cae962;
}
.zoro-schedule-scope .schedule-day-link:hover{
  background: #cae962;
  color: #111 !important;
}

/* Link trong list: không áp dụng hover xanh cho toàn hàng (chỉ giờ + nền đổi như ref) */
.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link {
  color: #fff;
  text-decoration: none !important;
  outline: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link:hover {
  text-decoration: none !important;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link:hover .film-name,
.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link:hover .airing-status {
  color: #fff;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link:hover .countdown {
  color: #e74c3c;
}

.zoro-schedule-scope .ulclear,
.zoro-schedule-scope .ulclear li {
  list-style: none;
  margin: 0;
  padding: 0;
}
.zoro-schedule-scope ul.table_schedule-list.ulclear {
  margin-bottom: 0 !important;
}

.zoro-schedule-scope .table_schedule {
  background: #2a2c31;
}

/* —— Chỉ strip ngày: override mọi .swiper-slide width:100% từ thư viện Swiper —— */
.zoro-schedule-scope .table_schedule .table_schedule-date {
  padding: 20px 30px;
  position: relative;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .swiper-container {
  border-radius: 6px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .swiper-wrapper {
  position: relative;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  box-sizing: border-box;
  /* chừa chỗ cho nút prev/next (tránh đè lên item đầu/cuối) */
  padding: 0 46px;
}

@media screen and (max-width: 480px) {
  .zoro-schedule-scope .table_schedule .table_schedule-date {
    padding: 16px 12px;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-date .swiper-wrapper {
    padding: 0 12px;
  }
  .zoro-schedule-scope .ts-navigation .btn {
    left: 8px;
  }
  .zoro-schedule-scope .ts-navigation .btn.tsn-next {
    right: 8px;
  }
}
.zoro-schedule-scope .table_schedule .table_schedule-date .swiper-slide {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  position: relative;
  transform: none;
}

.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item {
  background: #2f3137;
  text-align: center;
  padding: 10px 5px;
  border-radius: 6px;
  cursor: pointer;
  min-width: 84px;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item:hover {
  background: #3e4048;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item.active {
  background: #cae962;
  color: #fff;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item.active .date {
  color: #fff;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item span {
  font-weight: 600;
  font-size: 14px;
  display: block;
  color: #fff;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item .date {
  font-size: 12px;
  color: #aaa;
}
.zoro-schedule-scope .table_schedule .table_schedule-date .tsd-item.active span {
  color: #fff;
}

.zoro-schedule-scope .ts-navigation .btn {
  position: absolute;
  top: 50%;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-50%);
  left: 15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff !important;
  color: #111 !important;
  padding: 0 !important;
  text-align: center;
  z-index: 9;
  border: 0 !important;
  cursor: pointer;
  margin: 0;
  font-family: inherit !important;
  font-size: 0 !important;
  line-height: 0 !important;
  /* chắc chắn không che mất click vùng item */
  pointer-events: auto;
}
.zoro-schedule-scope .ts-navigation .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.zoro-schedule-scope .ts-navigation .btn i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px !important;
  line-height: 1 !important;
}
.zoro-schedule-scope .ts-navigation .btn.tsn-next {
  left: auto;
  right: 15px;
}

/* —— List: flex hàng, tránh chồng absolute + padding trùng —— */
.zoro-schedule-scope .table_schedule .table_schedule-list li {
  position: relative;
  padding: 0;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li:nth-of-type(2n) {
  background: #2a2c31;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li:nth-of-type(2n + 1) {
  background: #2f3137;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 20px;
  gap: 12px;
  min-height: 76px;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .time {
  flex: 0 0 70px;
  width: 70px;
  text-align: center;
  font-weight: 600;
  color: #868a97;
  font-size: 14px;
  line-height: 1.2;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-poster {
  flex: 0 0 55px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: #3e4048;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li .film-poster img {
  object-fit: cover;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  padding-right: 120px;
  padding-left: 0;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .film-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4em;
  margin: 0 0 5px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .countdown {
  font-size: 0.9em;
  font-weight: 500;
  color: #e74c3c;
  margin: 0 0 4px;
  line-height: 1.2;
  min-height: 1.2em;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .airing-status {
  display: block;
  font-size: 0.8em;
  color: #666;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .fd-play {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

/* Chỉ .btn-play — không dùng class .btn Bootstrap (tránh border-radius/padding lệch) */
.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .fd-play .btn-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  background: #3d404a;
  color: #fff !important;
  font-size: 12px;
  padding: 5px 8px;
  width: 110px;
  border: none;
  border-radius: 0;
  line-height: 1.4;
  cursor: pointer;
  transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
  white-space: nowrap;
  gap: 6px;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .fd-play .btn-play i {
  font-size: 8px;
  position: relative;
  top: -2px;
  color: #888;
  margin-right: 0;
  flex: 0 0 auto;
}

.zoro-schedule-scope .table_schedule .table_schedule-list li:hover {
  background: #3e4048 !important;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li:hover .time {
  color: #cae962;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li:hover .film-detail .fd-play .btn-play {
  background: #cae962;
  color: #fff !important;
}
.zoro-schedule-scope .table_schedule .table_schedule-list li:hover .film-detail .fd-play .btn-play i {
  color: #111;
}

/* Show more: thứ tự specificity giống ref (.table_schedule .btn-showmore ăn padding/nền) */
.zoro-schedule-scope .btn-showmore {
  font-size: 12px;
  padding: 10px 12px;
  background: #3d3e44;
  color: #fff !important;
  box-shadow: none !important;
  border: 0;
  width: 100%;
  cursor: pointer;
  display: block;
}
.zoro-schedule-scope .btn-showmore:hover {
  background: #4b4c53;
}
.zoro-schedule-scope .table_schedule .btn-showmore {
  border-radius: 0;
  background: #2a2c31 !important;
  padding: 15px;
}
.zoro-schedule-scope .table_schedule .btn-showmore:hover {
  color: #cae962 !important;
}
.zoro-schedule-scope .btn-showmore::before {
  content: "Show more";
}
.zoro-schedule-scope .btn-showmore.active::before {
  content: "Show less";
}

.zoro-schedule-scope .table_schedule-list.limit-8 li:nth-of-type(n + 8) {
  display: none;
}
.zoro-schedule-scope .table_schedule-list.limit-8.active li {
  display: block !important;
}

@media screen and (max-width: 1299px) {
  .zoro-schedule-scope .block_area .block_area-header .cat-heading {
    font-size: 22px !important;
  }
}

@media screen and (max-width: 759px) {
  .zoro-schedule-scope .block_area {
    margin-bottom: 30px;
  }
  .zoro-schedule-scope .schedule-full .bah-time {
    position: absolute;
    float: none;
    border-radius: 0;
    bottom: -20px;
    left: 0;
    right: 0;
    padding: 6px 10px;
    text-align: center;
    margin: 0;
  }
  .zoro-schedule-scope .schedule-full {
    padding-bottom: 28px;
  }
}

@media screen and (max-width: 480px) {
  .zoro-schedule-scope .block_area .block_area-header .cat-heading {
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 36px;
  }
  .zoro-schedule-scope .block_area .block_area-header {
    margin-bottom: 5px;
  }
}

@media screen and (max-width: 479px) {
  .zoro-schedule-scope .block_area .block_area-header {
    position: relative;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .tsl-link {
    display: grid;
    grid-template-columns: 1fr 48px;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 8px;
    align-items: start;
    padding: 15px;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .time {
    grid-column: 1 / -1;
    width: auto;
    text-align: left;
    margin-bottom: 0;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail {
    grid-column: 1;
    grid-row: 2;
    padding-right: 100px;
    min-width: 0;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .film-poster {
    grid-column: 2;
    grid-row: 2;
    width: 44px;
    height: 44px;
    flex: none;
    align-self: start;
    justify-self: end;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .fd-play {
    right: -5px;
  }
  .zoro-schedule-scope .table_schedule .table_schedule-list li .film-detail .fd-play .btn-play {
    padding: 3px 5px;
    width: auto;
    min-width: 0;
  }
}
