#news {
  padding-top: 90px;
  padding-bottom: 90px;
}
#news #news-slider {
  overflow: hidden;
}

#news h2 {
  font-size: 40px;
  border-bottom: 1px solid #dadada;
  display: inline-block;
  margin-bottom: 45px;
  font-family: var(--title-font-family);
  text-align: center;
}

#news h2 .divider-left {
  height: 4px;
  width: 70px;
  background: #ffb600;
  display: block;
  margin: 10px auto -2px;
}

#news h4 {
  font-size: 24px;
}

#news p {
  font-size: 16px;
  margin: 0;
}

#news .slider_wrapper {
  width: 100%;
  position: relative;
}

#news .swiper-button-next,
#news .swiper-button-prev {
  background: #fff;
  border: 1px solid #b1bec7;
  border-radius: 5px;
  color: #555555;
  font-size: 20px;
  height: 36px;
  line-height: 36px;
  opacity: 1;
  padding: 0;
  position: absolute;
  text-align: center;
  top: -88px;
  width: 36px;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#news .swiper-button-next {
  right: 15px;
}
#news .swiper-button-prev {
  left: auto;
  right: 60px;
}

#news .swiper-button-prev:after,
#news .swiper-button-next:after {
  font-size: 20px;
}
#news .swiper-pagination {
  position: initial !important;
}
#news .swiper-pagination-bullet {
  font-size: 20px;
}

#news .swiper-slide {
  padding: 0 10px;
}

#news .content_wrap .image {
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
}
#news .content_wrap .image > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
#news .content_wrap:hover .image > img {
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  -o-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  transition: all 0.5s ease 0.2s;
}

#news .content_wrap .news_box {
  background: #fff;
  margin: -50px auto 0;
  padding: 20px 15px;
  padding-bottom: 0;
  position: relative;
  width: 92%;
  z-index: 1;
}

#news .content_wrap .commment li {
  display: inline-block;
  margin: 10px 0 10px 10px;
}
#news .content_wrap .commment li:first-child {
  margin-left: 0;
}

#news .content_wrap h3 > a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--title-text-color);
}
#news .swiper-slide:hover h3 > a {
  color: var(--color-primary);
}

#news .content_wrap p {
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#news .content_wrap a.readmore {
  font-size: 13px;
  color: #6c6c6c;
  font-family: var(--font-family2);
  text-decoration: underline;
  text-transform: uppercase;
}
#news .content_wrap a.readmore:hover,
#news .content_wrap a.readmore:focus,
#news .content_wrap .commment li a:hover,
#news .content_wrap .commment li a:focus {
  color: #002e5b;
  text-decoration: underline;
}

/* Button */
#news .btn-light {
  padding: 10px 30px;
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  overflow: hidden;
  color: #fff;
  background: #ffb600;
  border: 1px solid transparent;
}
#news .border-radius {
  border-radius: 5px;
}

/*Button Hover*/
#news .button-hover,
#news .swiper-button-next,
#news .swiper-button-prev {
  -webkit-transition: border-color 0.4s, color 0.4s;
  -ms-transition: border-color 0.4s, color 0.4s;
  -o-transition: border-color 0.4s, color 0.4s;
  -moz-transition: border-color 0.4s, color 0.4s;
  transition: border-color 0.4s, color 0.4s;
  z-index: 1;
}

#news .button-hover:before,
#news .swiper-button-next:before,
#news .swiper-button-prev:before {
  background: #002e5b;
}

#news .button-hover:before,
#news .swiper-button-next:before,
#news .swiper-button-prev:before {
  content: "";
  position: absolute;
  border-radius: 4px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0;
  -moz-transform: scale3d(0.7, 1, 1);
  -ms-transform: scale3d(0.7, 1, 1);
  -o-transform: scale3d(0.7, 1, 1);
  -webkit-transform: scale3d(0.7, 1, 1);
  transform: scale3d(0.7, 1, 1);
  -webkit-transition: -webkit-transform 0.4s, opacity 0.4s;
  -transition: transform 0.4s, opacity 0.4s;
  -ms-transition: transform 0.4s, opacity 0.4s;
  -o-transition: transform 0.4s, opacity 0.4s;
  transition: transform 0.4s, opacity 0.4s;
}
#news .button-hover,
#news .button-hover:before,
#news .swiper-button-next,
#news .swiper-button-next:before,
#news .swiper-button-prev,
#news .swiper-button-prev:before {
  -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
  transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}

#news .button-hover:hover,
#news .button-hover:focus,
#news .swiper-button-next:hover,
#news .swiper-button-prev:hover,
#news .swiper-button-next:focus,
#news .swiper-button-prev:focus {
  color: #fff;
  border-color: #002e5b;
}
#news .button-hover:hover::before,
#news .button-hover:focus::before,
#news .swiper-button-next:hover::before,
#news .swiper-button-prev:hover:before,
#news .swiper-button-next:focus::before,
#news .swiper-button-prev:focus:before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

@media screen and (max-width: 992px) {
  #news h3 {
    font-size: 20px;
  }
  #news p {
    font-size: 14px;
  }
  #news {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

@media screen and (max-width: 1440px) {
  #news h2 {font-size: 36px;}
}
@media screen and (max-width: 1281px) {
  #news h2 {font-size: 34px;}
}
@media screen and (max-width: 1171px) {
  #news h2 {font-size: 30px;}
}
@media screen and (max-width: 992px) {
  #news h2 {font-size: 26px;}
}
@media screen and (max-width: 768px) {
  #news h2 {font-size: 24px;}
}
@media screen and (max-width: 480px) {
  #news h2 {font-size: 22px;}
}
