.layer {
  margin-top: 10px;
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.flex-between {
  justify-content: space-between;
}

.swiper {
  width: 640px;
}

.news-list-wrapper {
  width: 540px;
  line-height: 50px;
}

.news-list-wrapper .news-title {
  padding-left: 10px;
  color: white;
  height: 50px;
  background-color: var(--maincolor);
}

.news-list .news-item {
  padding: 0 10px;
  color: #666;
  font-size: 14px;
  height: 50px;
  border-bottom: 1px dashed #e5e5e5;
  box-sizing: border-box;
}

.news-list .news-item a {
  color: #666;
}

.news-list .news-item:last-child {
  border: none;
}

.news-list .news-item .title {
  padding-right: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.news-list .news-item .date {
  white-space: nowrap;
}

.tab-list {
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid var(--maincolor);
}

.tab-list .tab-item {
  margin-left: 20px;
  color: #666;
  padding: 0 20px;
  transition: .5s;
}

.tab-list .tab-item a {
  color: #666;
}

.tab-list .tab-item.selected {
  background-color: var(--maincolor);
}

.tab-list .tab-item.selected a {
  color: white;
}

.tab-pane-list {
  min-height: 270px;
}

.tab-pane-list .tab-pane-item {
  display: none;
  flex-wrap: wrap;
  padding: 10px;
}

.tab-pane-list .tab-pane-item.selected {
  display: flex;
}

.tab-pane-list .tab-pane-item .news-item {
  height: 50px;
  flex-basis: 30%;
  margin-right: 5%;
  padding: 0 10px;
  line-height: 50px;
  box-sizing: border-box;
  border-bottom: 1px dashed #e5e5e5;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.tab-pane-list .tab-pane-item .news-item a {
  color: #4b4b4b;
  font-size: 14px;
}

.tab-pane-list .tab-pane-item .news-item:nth-child(3n) {
  margin-right: 0;
}

.layer .swiper {
  position: relative;
  overflow: hidden;
}

.layer .swiper .swiper-pagination {
  position: absolute;
  width: auto;
  right: 10px;
  left: auto;
  z-index: 5;
}

.layer .swiper .swiper-pagination .swiper-pagination-bullet {
  transition: .3s;
}

.layer .swiper .swiper-pagination .swiper-pagination-bullet-active {
  transform: scale(1.4);
  background-color: white;
}

.layer .swiper .news-item a {
  height: 100%;
  width: 100%;
  background-position: center;
  background-size: cover;
  display: block;
  position: relative;
  top: 0;
}

.layer .swiper .news-item a .news-title {
  display: block;
  box-sizing: border-box;
  padding: 0 10px;
  line-height: 40px;
  color: #fff;
  height: 40px;
  width: 100%;
  margin: 0;
  bottom: 0;
  position: absolute;
  background-color: rgba(85, 85, 85, 0.3);
  padding-right: 40%;
}

.layer .swiper .news-item a .news-title::after {
  display: block;
  content: attr("title");
}

.layer .banner-title {
  color: white;
  height: 120px;
  font-size: 36px;
  font-weight: 500;
  line-height: 120px;
  text-align: center;
  background-image: url("/static/img/AD0I7InqCRACGAAg85aa7QUogtbyjgUwsAk4eA.jpg");
}

.layer-3 {
  justify-content: space-between;
}

.layer-3 > .left {
  margin-right: 10px;
  width: 400px;
  padding: 0 20px;
  box-sizing: border-box;
}

.layer-3 > .left .news-header {
  height: 50px;
  align-items: center;
}

.layer-3 > .left .news-header .title {
  text-indent: 15px;
  border-left: 4px solid var(--maincolor);
}

.layer-3 > .left .news-header a {
  color: #666;
  font-size: 12px;
}

.layer-3 > .left .news-list {
  line-height: 50px;
}

.layer-3 > .left .news-list .news-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.layer-3 > .left .news-list .news-date {
  white-space: nowrap;
}

.layer-3 .right {
  flex: 1;
}

.layer-3 .right .tab-pane-item .list-wrapper {
  padding: 0;
}

.layer-3 .right .tab-pane-item .list-wrapper .item {
  padding: 10px 0;
}
