.page-top-box {
  margin-bottom: 2rem;
  background-image: url("../img/news_top.png");
  color: #efefef;
  height: 160px;
  display: flex;
  align-items: center;
  color: black;
}
footer.container {
  padding: 0 30px;
}
.page-top-box .title {
  margin-bottom: 1rem;
  font-size: 28px;
  font-weight: bold;
}
.page-top-box .describe {
  font-size: 16px;
}

/* news tabs */
.news-nav {
  --bs-nav-link-color: #333333;
  font-weight: bold;
  border-bottom: 1px solid #f1eeee;
}
.news-nav .nav-item {
  margin-right: 2rem;
}
.news-nav .nav-link {
  font-size: 22px;
  cursor: pointer;
  padding-bottom: 25px;
}
.news-nav .nav-link.active {
  color: var(--bs-primary);
  border-bottom: 2px solid var(--bs-primary);
}

/* 列表 */
.list {
  padding: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
}
.list .card {
  margin: 0 1rem 2rem 0;
  width: 18rem;
}

/* 分页 */
.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border-radius: 0;
}
span.page-link {
  margin-right: 10px;
  color: #333;
  background-color: #efefef;
}
span.page-link.active {
  color: #fff;
  background-color: var(--bs-primary);
}

.custom-card {
  width: 30%;
  color: #101010;
  margin: 0 0 40px;
}
.custom-card:nth-child(3n-1) {
  margin: 0 5% 40px;
}
.custom-card .card-title {
  margin-top: 20px;
  font-size: 16px;
  min-height: 3em;
  margin-bottom: 0.5em;
}
.custom-card .card-img-top {
  width: 100%;
  height: 230px;
}
.custom-card .card-text {
  font-size: 16px;
  color: #7d7d7d;
  line-height: 2em;
}

.back-row {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  cursor: pointer;
}
