.home {
  background-color: #111111;
  width: 100vw;
}

.home-container {
  min-width: 1200px;
  margin: 0 auto;
}

.home-swiper {
  width: 100vw;
  height: 31vw;
  min-width: 1200px;
  min-height: 400px;
  /* max-height: 620px; */
  position: relative;
  margin-bottom: 48px;
}

.home-swiper__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 10;
}


.home-swiper__mask {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
  width: 100%;
  height: 100%;
}

.home-swiper__tabs {
  position: absolute;
  right: 160px;
  top: 0;
  z-index: 30;
  padding-top: 94px;
}

.home-swiper__tab {
  line-height: 16px;
  font-size: 16px;
  color: #888888;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.home-swiper__tab.is-active {
  min-width: 260px;
  color: #ffffff;
  background: linear-gradient(90deg, transparent 0, rgba(255, 41, 41, 0.2) 100%);
  padding: 14px 16px 9px 0;
  box-sizing: border-box;
  border-right: 3px solid #FF2929;
}

.home-swiper__tab+.home-swiper__tab {
  margin-top: 25px;
}

.home-swiper__tab-desc {
  display: none;
}

.home-swiper__tab.is-active .home-swiper__tab-name {
  line-height: 1;
  font-size: 30px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.home-swiper__tab.is-active .home-swiper__tab-desc {
  line-height: 1;
  font-size: 16px;
  font-weight: 400;
  color: #FFFFFF;
  display: block;
}

.home-theater {
  padding: 0 160px 50px;
}

.home-theater__title {
  line-height: 1;
  font-size: 28px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 28px;
  display: flex;
}

.home-theater__tags {
  display: flex;
  align-items: center;
  margin-left: 4px;
}

.home-theater__tag {
  line-height: 28px;
  font-size: 20px;
  color: #888888;
  padding: 0 20px;
  position: relative;
  cursor: pointer;
}

.home-theater__tag.is-active {
  color: #FF2929;
}

.home-theater__tag+.home-theater__tag::after {
  content: '';
  width: 1px;
  height: 16px;
  background: linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 0.99) 50%, transparent 100%);
  position: absolute;
  left: 0;
  top: 6px;
}

.home-theater__list {
  margin: -12px;
  display: flex;
  flex-wrap: wrap;
}

.home-theater__item {
  padding: 12px;
  width: 18%;
  /* box-sizing: border-box; */
  cursor: pointer;
}

.home-theater__cover {
  width: 100%;
  height: 0;
  padding-top: 133.33%;
  background: #f8f8f8;
  margin-bottom: 20px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.home-theater__cover img {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-theater__episode {
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  color: #FFFFFF;
  background: #999999;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 0 16px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 20;
}

.home-theater__name {
  line-height: 1;
  font-size: 24px;
  color: #FFFFFF;
}

.home-theater__item:hover .home-theater__name {
  color: #FF2929;
}

.home-theater__desc {
  margin-top: 7px;
  line-height: 1.4;
  font-size: 14px;
  color: #888888;
}

@media screen and (max-width: 1200px) {
  .home-theater__name {
    font-size: 18px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1600px) {
  .home-theater__name {
    font-size: 20px;
  }
}