﻿.newslist-img {
  width: 100%;
  padding-top: 5.25rem;
  position: relative;
}
.newslist-img > img {
  width: 100%;
  height: auto;
}
.newslist-tab-wrap {
  padding: 1.5rem;
}
.newslist-tab-list {
  width: 100%;
  display: flex;
  justify-content: center;
}
.newslist-tab-item {
  padding: 1.125rem 1.5rem;
  color: #333;
  font-size: 1.25rem;
  text-align: center;
  position: relative;
  border-bottom: .125rem solid transparent;
  margin: 0 1.5rem;
  cursor: pointer;
}
.newslist-tab-item-active {
  color: #ff1200;
  border-bottom: .125rem solid #ff1200;
}
.newslist-tab-item:hover {
  color: #ff1200;
}
.newslist-tab-view {
  width: 100%;
  display: none;
}
.newslist-tab-view.active {
  display: block;
}
.latest-news-box {
  margin-top: 4.375rem;
}

.latest-news-single-box {
  position: relative;
  margin-bottom: 2rem;
  display: block;
}

.latest-news-single-box:hover span {
  color: #fff;
}

.new-single-box-thumb {
  height: 16rem;
  overflow: hidden;
  border-radius: .5rem .5rem 0 0;
  display: flex;
  justify-content: center;
}

.new-single-box-thumb img {
  width: 100%;
  transition: .5s;
}

.latest-news-single-box:hover .new-single-box-thumb img {
  transform: scale(1.1);
}

.news-single-box-content {
  padding: 2rem 2rem;
  border-radius:0 0 .5rem .5rem;
  position: relative;
  background: #fff;
  filter: drop-shadow(0 0 1.6875rem rgba(88,88,88,0.11));
  z-index: 1;
}

.news-single-box-content:before {
  position: absolute;
  content: '';
  top: 0;
  right: 0;
  background: #ff1200;
  width: 0;
  height: 100%;
  opacity: 70%;
  z-index: -1;
  border-radius: 0 0 .5rem .5rem;
  transition: .5s;
}

.latest-news-single-box:hover .news-single-box-content:before {
  width: 100%;
  left: 0;
}

.news-single-box-title h6 {
  line-height: 1.875rem;
  font-size:18px;
  color: #1f1f1f;
  font-weight: 400;
  margin: 0;
  transition: .5s;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-news-single-box:hover .news-single-box-title h6 {
  color: #fff;
}

.news-single-content-desc {
  padding: .625rem 0 1.375rem;
  min-height: 6.875rem;
  border-bottom: .0625rem solid rgb(0 0 0 / 20%);
}

.news-single-content-desc p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #616161;
  opacity: .8;
  transition:  .5s;
}

.latest-news-single-box:hover .news-single-content-desc p {
  color: #fff;
  opacity: .8s;
}

.latest-news-single-box:hover .news-single-content-desc {
  border-bottom: .0625rem solid rgba(255, 255, 255, 0.2);
}

.news-single-box-btn {
  padding-top: .75rem;
}

.news-single-box-btn span {
  font-size: 1rem;
  line-height: 1.6875rem;
  color: #616161;
  font-weight: 400;
  display: inline-block;
  position: relative;
  transition: .5s;
}

.latest-news-single-box:hover .news-single-box-btn span {
  color: #fff;
}

.news-single-box-btn a i {
  position: absolute;
  right: 0;
  visibility: hidden;
  opacity: 0;
  transition: .5s;
  color: #fff;
}

.latest-news-single-box:hover .news-single-box-btn span i {
  right: -1.5625rem;
  visibility: visible;
  opacity: 1;
}

.latest-news-btn {
  text-align: center;
  margin-top: 3rem;
}

.latest-news-btn a {
  display: inline-block;
  padding: .5rem 1.75rem;
  line-height: 1.875rem;
  position: relative;
  font-size: 1.0625rem;
  color: #ffffff;
  font-weight: 400;
  border: .0625rem solid #ff1200;
  background: transparent;
  border-radius: .3125rem;
  z-index: 1;
  text-transform: uppercase;
}

.latest-news-btn a::before {
  position: absolute;
  content: '';
  top: .1875rem;
  left: .1875rem;
  width: 100%;
  height: 100%;
  background: #ff1200;
  border-radius: .25rem;
  z-index: -1;
  transition: .3s;
}

.latest-news-btn a:hover:before {
  top: 0;
  left: 0;
  filter: hue-rotate(360deg);
}
.news-detail-con {
  width: 100%;
  padding-top: 2rem;
}
.news-detail-con img {
  width: 100% !important;
}
.news-detail-title {
  font-size: 1.75rem;
  line-height: 2rem;
  text-align: center;
}
.news-detail-date {
  color: #999;
  font-size: .875rem;
  text-align: center;
  padding-top: .5rem;
}
.news-detail-content {
  padding-top: 1.5rem;
}
.go-back-btn {
  width: 7.5rem;
  height: 2.5rem;
  border-radius: 2.5rem;
  background-color: #ff1200;
  color: #fff;
  font-size: 1rem;
  text-align: center;
  line-height: 2.5rem;
  margin: 2rem auto;
  cursor: pointer;
}
.tab-nav-wrap {
  padding-top: 2.625rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}
.tab-nav-wrap > a,
.tab-nav-wrap > span {
  color: #333;
  text-decoration: none;
  padding: 0 .5rem;
}
.tab-nav-wrap > a:hover,
.tab-nav-wrap > .active{
  color: #ff1200;
}

.product-img {
  width: 100%;
  max-height: 32.375rem;
  margin-top: 5.25rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.product-img > img {
  width: 100%;
}

.case-img {
  width: 100%;
  max-height: 32.375rem;
  position: relative;
  margin-top: 5.25rem;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.case-img > img {
  width: 100%;
  height: auto;
}

@media only screen and (max-width: 870px) {
  .product-img {
    max-height: 12.375rem;
  }
  .newslist-img {
    display: flex;
    justify-content: center;
    overflow: hidden;
  }
  .newslist-img > img {
    width: auto;
    height: 12.375rem;
  }
  .case-img {
    max-height: 12.375rem;
  }
  .case-img > img {
    width: 100%;
    height: auto;
  }
  .latest-news-box {
    margin-top: 1rem;
  }
  .newslist-tab-item {
    padding-bottom: .5rem;
  }
  .latest-news-single-box {
    margin-bottom: 1rem;
  }
  .newslist-tab-wrap {
    padding: 0 1.5rem;
  }
}

@media (min-width: 2000px) {
  .product-img {
    max-height: 43.25rem;
  }
  .new-single-box-thumb {
    height: 17.25rem;
  }
  .news-single-box-title h6 {
    font-size: 1.375rem;
  }
  .news-single-content-desc p {
    font-size: 1rem;
  }
  .newslist-tab-item {
    font-size: 1.5rem;
  }
  .tab-nav-wrap {
    font-size: 1.25rem;
  }
  .case-img {
    max-height: 43.25rem;
  }
}