.news-wrap {
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}
.news-filter {
  margin-bottom: 60px;
  font-size: 0.875rem;
}
.news-filter a {
  position: relative;
  display: inline-block;
  padding: 0 10px;
  border: rgba(255, 255, 255, 0.2) solid 1px;
  border-radius: 5px;
  text-align: center;
  margin-left: 15px;
}
.news-filter a .tw {
  position: absolute;
  left: 0;
  width: 100%;
  white-space: nowrap;
  clip-path: polygon(0% -40px, 0% -40px, 0% 100%, 0% 100%);
  opacity: 0;
}
.news-filter a .en {
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}
.news-filter a .en, .news-filter a .tw {
  -moz-transition: clip-path 0.6s, opacity 0.6s;
  -o-transition: clip-path 0.6s, opacity 0.6s;
  -webkit-transition: clip-path 0.6s, opacity 0.6s;
  transition: clip-path 0.6s, opacity 0.6s;
}
.news-filter a:hover .en {
  opacity: 0;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 100% 100%);
}
.news-filter a:hover .tw {
  opacity: 1;
  clip-path: polygon(0% -40px, 100% -40px, 100% 100%, 0% 100%);
}
.news-filter a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
}
.news-list {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(3, 1fr);
}
.news-item {
  display: block;
}
.news-img {
  position: relative;
  overflow: hidden;
}
.news-img img {
  width: 100%;
}
.news-mask {
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: #111;
  opacity: 0.3;
}
.news-info {
  color: #FFF;
}
.news-source {
  margin: 20px 0 10px;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  white-space: nowrap;
}
.news-source span {
  font-size: 0.75rem;
  padding-right: 10px;
  line-height: 20px;
  border-right: rgba(255, 255, 255, 0.2) solid 1px;
}
.news-source:after {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
}

@media screen and (max-width: 1200px) {
  .news-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media screen and (max-width: 900px) {
  .news-wrap {
    display: block;
  }
  .news-list {
    display: block;
  }
  .news-item {
    margin-bottom: 60px;
  }
  .news-item:last-child {
    margin-bottom: 0;
  }
}
@media screen and (max-width: 640px) {
  .news-filter {
    margin-right: 0;
  }
  .news-filter-text {
    display: none;
  }
  .news-filter a {
    margin: 0 10px 0 0;
  }

  .news-item {
    margin-bottom: 40px;
  }
}
