/* 资讯页面专用样式 */
.news-section {
  padding: 48px 0 64px 0;
  background: #f6f8fa;
  margin-top: 80px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}
.news-card {
  display: flex;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(33,147,135,0.08);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-height: 180px;
}
.news-card:hover {
  box-shadow: 0 6px 24px rgba(33,147,135,0.16);
  transform: translateY(-2px) scale(1.01);
}
.news-card-image {
  flex: 0 0 260px;
  max-width: 320px;
  min-width: 180px;
  width: 28vw;
  min-height: 160px;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card-image img {
  width: 100%;
  height: 200px;
  transition: transform .3s ease 0s;
  border-radius: 0 10px 10px 0;
  object-fit: cover;
  display: block;
}
.news-card-content {
  flex: 1 1 0%;
  min-width: 0;
  padding: 32px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.news-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #223;
  margin-bottom: 16px;
  line-height: 1.3;
}
.news-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  font-weight: inherit;
}
.news-card-title a:hover,
.news-card-title a:active,
.news-card-title a:focus {
  color: inherit !important;
  text-decoration: none !important;
}
.news-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  line-height: 1.6;
  max-height: 4.8em;
}
.news-card-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.98rem;
  color: #888;
}
.news-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.news-card-meta svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
  opacity: 0.7;
}
@media (max-width: 768px) {
  .news-card {
    flex-direction: row;
    align-items: stretch;
    min-width: 0;
    padding: 0;
  }
  .news-card-image {
    width: 120px;
    min-width: 120px;
    max-width: 120px;
    height: auto;
    margin: 0;
    border-radius: 0 10px 10px 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
  }
  .news-card-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    border-radius: 0 10px 10px 0;
    display: block;
  }
  .news-card-content {
    flex: 1 1 0%;
    min-width: 0;
    padding: 12px 0 12px 18px;
    display: flex;
    flex-direction: column;
  }
  .news-card-title {
    font-size: 1.08rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }
  .news-card-meta {
    font-size: 0.95rem;
    gap: 10px;
  }
  .news-card-meta span {
    display: none;
  }
  .news-card-meta span:first-child,
  .news-card-meta span:nth-child(2) {
    display: flex;
  }
  .news-card-desc {
    display: none;
  }
  .news-section {
    margin-top: 60px;
  }
}
@media only screen and (max-width: 768px) {
  .news-card-image {
    min-height: 80px;
  }
  .news-card-content {
    padding: 14px 8px 12px 8px;
  }
  .news-card-title {
    font-size: 1.1rem;
  }

  .news-card-desc {
    display: none;
  }
  .news-card-image img {
    width: 100%;
    height: 80px;
    border-radius: 0 10px 10px 0;
  }
  .news-card {
    min-height: 80px;
    height: 80px;
    max-height: 80px;
  }
  .news-card-content {
    height: 80px;
    min-height: 80px;
    max-height: 80px;
    padding: 10px 0 10px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
  }
  .news-card-title {
    padding-top: 10px;
    font-size: 1.05rem;
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    height: 3em;
  }
}

/* 搜索框样式 */
.news-search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 32px auto;
  max-width: 340px;
  position: relative;
}
.news-search-input {
  width: 100%;
  padding: 12px 40px 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 24px;
  font-size: 1rem;
  outline: none;
  background: #fff;
  color: #222;
  transition: border 0.2s;
  box-sizing: border-box;
}
.news-search-input:focus {
  border-color: #2196f3;
}
.news-search-icon {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.news-search-icon svg {
  pointer-events: auto;
}

/* 分页组件样式优化（主题色） */
.news-pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 32px 0 0 0;
}

.news-pagination-list a,
.news-pagination-list span {
  display: inline-block;
  min-width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  border-radius: 6px;
  font-size: 1.18rem;
  font-weight: 500;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s;
  text-decoration: none;
}

.news-pagination-list a {
  color: #7b8a99;
  background: #f5f6fa;
}

.news-pagination-list span {
  background: #8BC0B9;
  color: #fff;
  cursor: default;
}

.news-pagination-list a:hover {
  background: #d6ecea;
  color: #8BC0B9;
  text-decoration: none;
}

.news-pagination-total {
  display: block;
  width: 100%;
  text-align: center;
  margin: 16px auto 0 auto;
  background: #f5f6fa;
  color: #7b8a99;
  font-size: 1.18rem;
  border-radius: 6px;
  line-height: 44px;
  min-width: 120px;
  font-weight: 500;
  cursor: default;
  max-width: 200px;
} 