a {
  text-decoration: none;
}
.movie-item {
  position: relative;
  margin-bottom: 25px;
  transition: transform 0.3s;
  padding: 0 5px; /* 添加左右内边距 */
}
.movie-item:hover {
  transform: translateY(-5px);
}
.movie-poster {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 2/3;
  margin-bottom: 10px; /* 图片和标题之间的间隔 */
}
.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.movie-item:hover .movie-poster img {
  transform: scale(1.05);
}
.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  color: #ff0000;
  font-size: 20px;
}
.movie-item:hover .play-btn {
  opacity: 1;
}
.movie-title {
  font-weight: bold;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 5px; /* 标题和演员之间的间隔 */
}
.movie-actors {
  font-size: 0.8rem;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px; /* 标题和列表之间的间隔 */
  margin-top: 25px;
}
.list-header ul {
  flex: 1;
}
.list-header h2 i {
  margin-right: 0.5rem;
}
.list-header a.more {
  color: #333;
}
.list-header b {
  color: #ff0000;
}
.list-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}
.list-header nav {
  flex: 1;
  margin: 0 1rem;
}
.list-header nav .nav-tabs {
  border-bottom: 0;
}
.list-header nav .nav-tabs .nav-link {
  border: 0;
  color: #333;
}
.list-header nav .nav-tabs .active {
  color: darkgreen;
}
.movie-row {
  margin: 0 -5px; /* 抵消列的内边距 */
  display: flex;
  flex-direction: row !important;
}

.carousel-img {
  height: 200px;
  object-fit: cover;
}
.movie-card {
  margin-bottom: 15px;
  transition: transform 0.3s;
}
.movie-card:hover {
  transform: translateY(-5px);
}
.movie-img {
  height: 180px;
  object-fit: cover;
}
.text-list {
  list-style-type: none;
  padding-left: 0;
}
.text-list li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.8rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.link-list a {
  display: inline-block;
  margin-right: 15px;
  color: #333;
  text-decoration: none;
  font-size: 0.8rem;
}
.link-list a:hover {
  color: #0d6efd;
}
.card-body {
  padding: 0.3rem;
}
.card-body h5 {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 1rem;
  height: 1.2rem;
  line-height: 1.2rem;
  margin-bottom: 0.1rem;
}
.card-body p {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  font-size: 0.8rem;
  height: 0.8rem;
  line-height: 0.8rem;
}
.new-movie .tit .col-md-6 {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.new-movie .tit .col-md-6 a {
  margin-right: 1rem;
}
.new-movie .tit .col-md-2 {
  text-align: right;
}

@media (max-width: 990px) {
  /* .list-header a.more{display:none} */
  .list-header {
    flex-direction: column;
  }
  .hot-play {
    flex-direction: row;
  }
  .new-movie .tit {
    flex-direction: column;
  }
}
@media (min-width: 992px) {
  .list-header a.more {
    display: block;
  }
}
