/* h1 顶部导航 */
.navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.5);
}
.navbar-toggler .icon-list {
  color: #243855;
}
/* h1 顶部导航 */

/* h1 海报 */
.news-banner {
  background: url(/zhinengruanjian/images/新闻中心banner背景.png) no-repeat;
  background-size: cover;
  min-height: 600px;
  display: flex;
  align-items: center;
}
.news-banner-img {
  display: flex;
  justify-content: center;
  height: 100%;
  max-height: 25rem;
}
.news-banner-img img {
  width: 100%;
  object-fit: contain;
}
.news-banner-text {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  row-gap: 1.25rem;
  font-size: 1.5rem;
  color: #5d6b81;
}
.news-banner-text h1 {
  font-size: 3.5rem;
  font-weight: bolder;
  color: #243855;
}
/* h1 海报 */

/* h1 内容 */
.news-tab-content {
  display: flex;
  flex-direction: column;
  row-gap: 3rem;
}
/* tab按钮 */
.ser-nav-tab {
  display: flex;
  align-items: center;
  column-gap: 0.625rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.tab-btn {
  border-radius: 3.125rem;
  padding: 0.25rem 1.25rem;
  text-align: center;
  color: #243855;
  transition: all 0.3s ease-in-out;
  background: #fff;
  border: none;
}
.tab-btn:hover {
  color: #00bf80;
}
.tab-btn.active {
  background: #00bf80;
  color: #fff;
}
/* tab按钮 */

/* tab内容 */
.news-card {
  padding: 1.875rem;
  box-shadow: 0 0 10px 0 rgba(180, 189, 221, 0.1), 0 6px 10px 0 hsla(0, 0%, 100%, 0.15), 0 10px 10px 0 rgba(180, 189, 221, 0.25);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
  transition: all 0.3s ease-in-out;
}
.news-card-head {
  display: flex;
  justify-content: space-between;
}
.head-icon {
  display: flex;
  align-items: center;
  column-gap: 0.3125rem;
  color: #5d6b81;
  font-size: 0.875rem;
  transition: all 0.3s ease-in-out; /* 添加过渡效果 */
}
.industry {
  color: #00bf80;
}
.company {
  color: #ecab1e;
}
.news-card-head .iconfont {
  font-size: 1.125rem;
}
.news-card-body {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}
.news-card-body-img {
  border-radius: 0.625rem;
  overflow: hidden;
}
.body-img {
  width: 100%;
  min-height: 12.5rem;
  background: url(/zhinengruanjian/images/2024-东实底盘.png) no-repeat;
  background-size: cover;
  background-position: center;
  transition: all 0.3s ease-in-out;
}
.news-card-body-text {
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  row-gap: 0.625rem;
  color: #5d6b81;
}
.news-card-body-text div {
  font-size: 1.125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #243855;
  transition: all 0.3s ease-in-out;
}
.news-card-body-text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.news-card-footer .news-footer-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.3125rem;
  background: #f0f2f7;
  font-size: 0.875rem;
  border: none;
  color: #5d6b81;
  display: flex;
  align-items: center;
  column-gap: 0.3125rem;
}
.news-card-footer .footer-btn-style {
  background: #00bf80;
  color: #fff;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}
.news-card-footer .footer-btn .iconfont {
  font-size: 12px;
  margin-left: 0.3125rem;
}
.news-card:hover {
  transform: translateY(-0.5rem);
}
.news-card:hover .body-img {
  transform: scale(1.15);
}
.news-card:hover .news-card-body-text div {
  color: #00bf80;
}
.news-card:hover .news-card-footer .footer-btn-style {
  background: #1fac7d;
}
/* tab内容 */
/* h1 内容 */

/* h1 大于992 */
@media (min-width: 992px) {
  /* 顶部导航 */
  .nav-style {
    color: #243855;
  }
  /* 顶部导航 */
}
/* h1 大于992 */

/* h1 小于992 */
@media (max-width: 992px) {
  /* 海报 */
  .news-banner-img img {
    width: 60%;
  }
  .news-banner-text {
    font-size: 1.25rem;
  }
  .news-banner-text h1 {
    font-size: 2.625rem;
    font-weight: bolder;
    color: #243855;
  }
  /* 海报 */
  /* 精选案例 */
  .selected-case-contont {
    margin-top: 0;
  }
  .selected-case-top {
    width: 90%;
  }
  /* 精选案例 */

  /* 客户案例 */
  .case-tab-title {
    font-size: 1rem;
  }
  /* 客户案例 */
}
/* h1 小于992 */

/* h1 小于768 */
@media (max-width: 768px) {
  /* 海报 */
  .news-banner-img img {
    width: 75%;
  }
  .news-banner-text {
    font-size: 1rem;
  }
  .news-banner-text h1 {
    font-size: 2.25rem;
    font-weight: bolder;
    color: #243855;
  }
  /* 海报 */
  /* 客户案例 */
  .case-tab-title {
    font-size: 0.875rem;
  }
  /* 客户案例 */
}
/* h1 小于768 */
