.second-card-body {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}
.second-card-body-news a {
  text-decoration: none;
  overflow: hidden;
  display: inline-block;
  position: relative;
}
.second-card-body-news {
  position: relative;
  width: 31%;
  /* height: 480px; */
  overflow: hidden;
  background-color: #fff;
  margin-bottom: 20px;
  padding: 15px;
}
.news-more {
  padding: 6px 12px;
  color: #666;
  border: 1px solid #ccc;
  display: inline-block;
  margin-top: 15px;
}
.news-more:hover {
  color: #fff;
  background-color: var(--main-color);
  border-color: var(--main-color);
}
.news-date {
  position: absolute;
  z-index: 1;
  right: 10px;
  top: 10px;
  background-color: var(--main-color);
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 4px 6px;
}
.news-date p:first-child {
  font-size: 20px;
  margin-bottom: -3px;
}
.second-card-body-news .news-img img {
  width: 100%;
  /* height: 130px; */
  display: block;
  transition: transform 1s ease;
}

.second-card-body-news .news-img {
  transition: transform 1s ease;
  overflow: hidden;
}
.news-img img:hover {
  transform: translate(0, -10px);
  transform: scale(1.2);
}
.news-text {
  font-size: 14px;
  margin-top: 13px;
  color: #aaa;
}

.second-card-body-news .news-title {
  line-height: 23px;
  font-size: 16px;
  margin-top: 23px;
  color: #262626;
  font-weight: bold;
}

.second-card-body-news .news-soto {
  line-height: 22px;
  font-size: 12px;
  color: #ffa780;
  margin-bottom: 44px;
}

@media (max-width: 992px) {
  .second-card-body-news {
    width: 46%;
  }
}
@media (max-width: 576px) {
  .second-card-body-news {
    width: 100%;
  }

  .header-img {
    background-image: url("../img/111.jpg");
  }
  .nav-btn a {
    font-size: 12px;
  }
}

@media (min-width: 992px) {
  .nav-left .item:hover {
    background-color: var(--main-color);
    color: #eee;
  }
}
