.banner {
  height: 40vh !important;
}
.banner .p_box {
  height: 40vh;
}
.banner .p_box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.newslist_box .newslist {
  margin: 0.6rem 0;
}
.newslist_box .newslist ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
}
.newslist_box .newslist ul li a .p_box img {
  display: block;
  width: 100%;
  object-fit: contain;
  height: 100%;
}
.newslist_box .newslist ul li a h4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin: 0.15rem 0 0.1rem 0;
}
.newslist_box .newslist .more_btnbox {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0.4rem;
}

.banner .p_box {
  position: relative;
}
.banner .p_box .text_box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-transform: capitalize;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .newslist_box .newslist ul {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.3rem;
  }

  .newslist_box .newslist ul li a h4 {
    font-size: 16px;
  }

  .newslist_box .newslist ul li a p {
    font-size: 12px;
  }
}