.category__new {
  margin-top: 8rem;
}
.cat_banner_service ul {
  display: flex;
  padding-left: 0;
  margin-bottom: 0;
  flex-direction: row;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cat_banner_service_px ul {
  display: flex;
  padding-left: 0;
  margin: 10px 0 5px 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.cat_banner_service_px ul li {
  list-style: none;
  flex: 1 1 calc(50% - 10px);
  height: 230px;
}
.cat__left {
  margin-top: 2rem;
}
.cat_banner_service ul li {
  flex-basis: calc(33% - 5px);
  overflow: hidden;
}
.cat_banner_service ul li {
  flex-basis: calc(50% - 5px);
  overflow: hidden;
}
.cat_banner_service {
  padding: 10px;
}
.cat_banner_service > *:not(:last-child) {
  margin-bottom: 20px;
}

.cat_banner_service_dtd {
  margin-top: 1.6rem;
  padding: 10px;
}
.cat_banner_service_dtd ul {
  display: flex;
  padding-left: 0;
  margin-bottom: 0;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.cat_banner_service_dtd ul li {
  flex-basis: calc(33.33% - 10px);
  margin-bottom: 10px;
  height: 250px;
  list-style: none;
}

.category-main {
  padding: 10px 0;
}

.category-main-btn-button-a-permalink.active {
  background-color: #054d7f;
  color: #fff;
  font-weight: 700;
  border-color: #0056b3;
}

.category-main-btn-button-a-permalink {
  display: inline-block;
  padding: 8px 12px;
  text-align: center;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  border-radius: 20px;
  color: #333;
  text-decoration: none;
  font-size: 16px;
  white-space: nowrap;
  margin-right: 10px;
}

.postview-home {
  clear: both;
}

.news_content ul li h4.postview-title {
  color: #4d4d4d;
  padding: 10px 0;
  font-size: 16px;
  margin: 0;
  line-height: 22px;
  min-height: 65px;
}
h3.title-postview {
  position: relative;
  width: 110px;
  color: #004250;
}
.line__postview,
.line_title_cat {
  background: #ccc;
  height: 1px;
  margin-top: -13px;
  z-index: 1;
  position: relative;
}
.number__posts {
  float: left;
  font-size: 42px;
  padding-right: 10px;
  color: #000;
  font-weight: 600;
}

.news_content ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-bottom: 0;
}
.line__news {
  background: #ccc;
  height: 1px;
  padding: 0 30px;
}

.news_content ul li {
  padding: 10px 15px;
}

li.postview__items:first-child,
li.postview__items:nth-child(3),
li.postview__items:nth-child(5) {
  border-right: 1px solid #ccc;
}

li.postview__items > a {
  text-decoration: none;
}

.news_content ul li h4.item-title {
  color: #4d4d4d;
  padding: 10px 0;
  font-size: 14px;
  margin: 0;
  line-height: 22px;
  min-height: 86px;
  text-transform: capitalize;
}
.postview-home {
  clear: both;
}
.news_content ul li h4.postview-title {
  color: #4d4d4d;
  padding: 10px 0;
  font-size: 16px;
  margin: 0;
  line-height: 22px;
  min-height: 65px;
}

@media (max-width: 1190px) {
  .cat_banner_service_px ul li {
    height: 190px;
  }
  .cat_banner_service_dtd ul li {
    height: 200px;
  }
}

@media (min-width: 960px) {
  .news_content {
    max-width: 85%;
    margin: 0 auto;
  }
}

@media (min-width: 480px) and (max-width: 768px) {
  .cat_banner_service_mb ul li {
    list-style: none;
  }

  .cat_banner_service_mb ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .cat_banner_service_mb img {
    margin: 0 auto;
  }

  .cat_banner_service_mb p {
    text-align: center;
  }

  span.title_service_cate {
    font-size: 17px;
    color: #000000;
    text-transform: capitalize;
    text-align: center;
  }
}

@media (max-width: 479px) {
  .cat_banner_service ul {
    display: flex;
    padding-left: 0;
    margin-bottom: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .cat_banner_service ul li,
  .cat_banner_service_dtd ul li {
    flex-basis: calc(50% - 5px);
    text-align: center;
  }

  .mt_service_mb {
    margin-top: 3rem;
  }

  .cat_banner_service_px {
    padding: 10px;
  }

  .cat_banner_service_px ul li,
  .cat_banner_service_dtd ul li {
    height: auto;
  }

  .category-main {
    padding-top: 20px;
    display: flex;
    overflow: auto;
  }

  .cat_banner_service_mb {
    padding-top: 15px;
  }
  .cat_banner_service_mb ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    padding-left: 0;
    padding-right: 0;
  }
  .cat_banner_service_mb ul li {
    list-style: none;
    padding: 5px 5px;
  }
  .cat_banner_service_mb p {
    text-align: center;
    padding-top: 5px;
  }

  .cat_banner_service_mb ul.banner__flex {
    display: flex;
  }
  span.title_service_cate {
    font-size: 15px;
    color: #004250;
    text-transform: capitalize;
    font-weight: 600;
  }
}
