@import url(./common.css);

.news .list {
  margin: 0 -30px 80px -30px;
}
.news .list::after {
  content: '';
  display: block;
  clear: both;
}
.news .list .item {
  padding: 0 30px;
  width: 50%;
  float: left;
  margin-bottom: 0;
  cursor: pointer;
  text-decoration: none;
}
.news .list .item:nth-child(even) {
  margin-top: 80px;
}
.news .list .item .img {
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  margin-bottom: 20px;
  position: relative;
}
.news .list .item:hover .img::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.3;
  z-index: 2;
}
.news .list .item:hover .img::after {
  content: attr(data-title);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  color: #fff;
  font-size: 1.5rem;
  z-index: 3;
  padding: 5px;
}
.news .list .item .name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #b28146;
}
.news .list .item .desc {
  font-size: 1.25rem;
  color: #777777;
  font-weight: 600;
  height: 90px;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.news .info {
  max-width: 721px;
  margin: 0 auto;
}
.news .info .banner {
  margin-bottom: 70px;
}
.news .info .banner img {
  width: 100%;
}
.news .info .title {
  color: #b28146;
  font-size: 1.75rem;
  margin-bottom: 50px;
  font-weight: 600;
}
.news .info .date {
  color: #707070;
  font-size: 1.25rem;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid #707070;
}
@media (max-width: 1200px) {
  .news .list {
    margin: 0 -15px;
  }
  .news .list .item {
    width: 100%;
    padding: 0 15px;
    margin-bottom: 40px !important;
    margin-top: 0 !important;
  }
  .news .list .item .img {
    margin-bottom: 10px;
  }
  .news .list .item .name {
    margin-bottom: 10px;
    font-size: 1.25rem;
  }
  .news .list .item .desc{
    font-size: 1rem;
    height: 72px;
  }

  .news .info .banner {
    margin-bottom: 30px;
  }
  .news .info .title{
    margin-bottom: 20px;
    font-size: 1.5rem;
  }
  .news .info .date{
    font-size: 1rem;
  }
}
