
.news-container {
  width: 100%;
}

.news-list {
  display: flex;
  flex-direction: column;
}

.news-list-item {
  width: 100%;
  margin-bottom: 2rem;
  cursor: pointer;
  border-bottom: .0625rem solid rgb(222, 222, 222);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.news-list-item-img {
  width: 25%;
  overflow: hidden;
  height: 8rem;
}

.news-list-item:hover > .news-list-item-img > img {
  transform: scale(1.2);
}

.news-list-item-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all .3s;
}

.news-list-item:hover > .news-list-item-text {
  color: rgb(254, 108, 34);
}

.news-list-item-text {
  width: 72%;
}

.news-list-item-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.25rem;
  margin-bottom: .375rem;
  font-weight: bold;
  letter-spacing: .0625rem;
}

.news-list-item-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-size: .75rem;
  color: #868686;
  line-height: 1.5;
  letter-spacing: .0125rem;
  text-indent: 2em;
}

.news-list-item-time {
  font-size: .75rem;
  color: #353535;
  line-height: 1.5;
  margin-top: .625rem;
}

.news-pagination {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  margin-top: 2rem;
}

.news-pagination > div {
  font-size: .75rem;
  padding-left: .75rem;
  padding-right: .75rem;
  padding-top: .375rem;
  padding-bottom: .375rem;
  background-color: rgb(231, 231, 231);
  cursor: pointer;
  margin-bottom: 2rem;
}

.news-pagination > div:not(:last-child) {
  margin-right: .5rem;
}

.news-pagination > div:hover {
  transition: all .3s;
  color: white;
  background-color: rgb(254, 108, 34);
}

.news-pagination-item-active {
  color: white;
  background-color: rgb(254, 108, 34) !important;
}

@media screen and (max-width: 1920px) {
  .news-list-item {
    margin-bottom: 40px;
    border-bottom: 1px solid rgb(222, 222, 222);
  }
  
  .news-list-item-img {
    height: 160px;
  }
  
  .news-list-item-title {
    font-size: 22px;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  
  .news-list-item-content {
    font-size: 14px;
    letter-spacing: .2px;
  }
  
  .news-list-item-time {
    font-size: 14px;
    margin-top: 12px;
  }
  
  .news-pagination {
    margin-top: 20px;
  }
  
  .news-pagination > div {
    font-size: 14px;
    padding-left: 14px;
    padding-right: 14px;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  
  .news-pagination > div:not(:last-child) {
    margin-right: 10px;
  }
}

@media screen and (max-width: 1550px) {
  .news-list-item-img {
    width: 30%;
    overflow: hidden;
    height: 140px;
  }

  .news-list-item-text {
    width: 67%;
  }
}

@media screen and (max-width: 1000px) {
  .news-list-item-img {
    width: 35%;
    height: 140px;
  }

  .news-list-item-text {
    width: 62%;
  }
}

@media screen and (max-width: 888px) {
  .news-pagination {
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 600px) {
  .news-list-item {
    flex-wrap: wrap;
  }

  .news-list-item-img {
    width: 100%;
    height: 280px;
    margin-bottom: 20px;
  }

  .news-list-item-text {
    width: 100%;
  }

  .news-list-item-time {
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 500px) {
  .news-list-item-img {
    width: 100%;
    height: 230px;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 400px) {
  .news-list-item-img {
    width: 100%;
    height: 200px;
    margin-bottom: 20px;
  }
}

.news-detail-container {
  width: 70%;
  padding-left: 15%;
  padding-right: 15%;
  margin-top: 3rem;
}

.news-detail-title {
  text-align: center;
  font-size: 1.125rem;
  color: #0066cb;
  letter-spacing: .0625rem;
  font-weight: bold;
  margin-bottom: .5rem;
}

.news-detail-date-and-views {
  font-size: .6875rem;
  color: #666;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-bottom: .0625rem solid rgb(231, 231, 231);
}

.news-detail-date {
  margin-right: 2rem;
}

.news-detail-content {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

