.wrap-news {
  /*max-width: 1000px;*/
  margin: 0 auto;
}

ul.news {
  padding-left: 0;
}
ul.news li {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  max-width: 100%;
  margin: 0 auto 5% auto;
  background: #fff;
  border: solid 1px #E2E0E0;
  border-radius: 6px 0px 6px 6px;
  transition: all 0.2s;
}
ul.news li figure {
  width: 48%; padding-bottom: 32%; height: 0;
  position: relative;
  overflow: hidden;
}
ul.news li figure img {
  max-height: 100%;
  border-radius: 6px 0 0 0;
}
ul.news li figure .img-center {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
ul.news li .inner {
  width: 52%;
  padding: 15px;
}
ul.news li .inner .time {
  display: inline-flex;
  flex-direction: column;
  width: 20%;
  margin-right: 10px;
  padding: 5px 10px;
  text-align: center;
  background: #eee;
  font-size: 26px;
  color: #2a4d9c;
  font-weight: 700;
  transition: background 0.2s linear 0s;
}
ul.news li .inner .time small {
  display: block;
  margin-bottom: 0;
  font-size: 15px;
  text-transform: capitalize;
}
ul.news li .inner .time small:before {
  content: "";
  display: block;
  margin: 5px 0 0 0;
  border-top: 1px solid #d6d6d6;
}
ul.news li .inner .title {
  display: inline-flex;
  flex-direction: column;
  width: calc(80% - 15px);
  margin-bottom: 6px;
  font-size: 1rem;
  color: #282828;
  text-align: left;
  font-weight: 600; 
}
ul.news li .inner .title a { color: #2a4d9c;}
ul.news li .inner .title a:hover {
  color: #00659e;
}
ul.news li .inner .text {
  /*display: inline-flex;
  flex-direction: column;*/
  width: 100%;
  padding: 0 10px;
  margin: 20px 0;
  font-size: 1rem;
  font-weight: 200;
  line-height: 1.5rem;
  color: #333;
  overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical;
}
ul.news li:hover {
  transform: scale(0.98);
  box-shadow: 0px 5px 6px #d6d6d6;
}
ul.news li:hover .inner .time {
  background: #eee;
}
@media only screen and (max-width: 1200px) {
   ul.news li .inner .text {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;} 
}
@media only screen and (max-width: 1024px) {
   ul.news li .inner .text {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4; -webkit-box-orient: vertical;} 
}
@media only screen and (max-width: 992px) {
   ul.news li .inner .text {overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical;} 
}

.news-btnbox {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}
.news-btnbox a {margin: 0;}

.btn-news-readmore {
  margin-top: 16px;
  padding: 3px 25px;
  font-weight: 200;
  color: #fff;
  background-color: #2e96cd;
  border: solid 1px #2e96cd;
  border-radius: 3px;
  border-radius: 50px;
  transition: all 0.5s;
}
.btn-news-readmore:hover {
  background: #00659e;
  color: #fff;
}

@media only screen and (max-width: 768px) {
 ul.news li {border-radius: 6px;}
 ul.news li figure {
    width: 100%; padding-bottom: 66.67%;
  }
 ul.news li figure img {border-radius: 6px 6px 0 0;}
  ul.news li .inner {
    width: 100%;
  }
  /*ul.news li .inner .time { width: auto; }
  ul.news li .inner .title { width: 100%; }*/
  ul.news li .inner .text { width: 100%; padding: 0; }
}
@media only screen and (max-width: 430px) {
    ul.news li .inner {padding: 10px;}
    ul.news li .inner .time {width: 100%; font-size: 20px; border-radius: 0; padding: 5px 10px; margin: 0;}
    ul.news li .inner .time small {font-size: 13px; line-height: 1.5;}
    ul.news li .inner .time small::before {margin: 0;}
    ul.news li .inner .title {width: 100%; padding: 10px; margin: 0;}
    ul.news li .inner .text {padding: 0 10px; margin: 0 0 10px 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;}
    .news-btnbox {justify-content: center;}
}
/* News Detail ============================================================== */
h1.title-news {
  display: block;
  margin: 0.5% auto 3% auto;
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
}
h1.title-news:before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 10%;
  margin-left: -5%;
  height: 2px;
  background-image: linear-gradient(135deg, #2a4d9c 10%, #91cded 100%);
  display: none;
}
h1.title-news:after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  margin: 10px auto;
  border-bottom: 1px solid #f0f0f0;
}
@media (max-width: 1024px) {
    h1.title-news {font-size: 1.3rem; margin: 7px auto 20px auto;}
    ul.news {padding-top: 10px;}
}

.news-show img {
  margin: 2% auto;
  max-width: 100% !important;
  height: auto;
  display: block;
}

.news-btnbox-detail {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.btn-news-back {
  text-align: center;
  color: #fff !important;
  font-size: 15px;
  background: #2e96cd;
  padding: 7px 20px;
  border-radius: 50px;
  transition: all 0.25s ease;
}
.btn-news-back:before {
  content: "";
  background: url(icons/icon-back-2.svg) no-repeat;
  padding: 0px 10px;
  margin-right: 5px;
}
.btn-news-back:hover {
  color: #fff; background: #00659e;
}
