/* 信息按钮面板样式 */
.info-panel {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.info-buttons-row {
  display: flex;
  justify-content: space-between;
}

.info-button {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  width: 22%;
  transition: transform 0.3s ease;
}

.info-button:hover {
  transform: translateY(-5px);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.icon-wrapper i {
  font-size: 24px;
}

.info-button:nth-child(1) .icon-wrapper {
  background-color: #ffeceb;
}
.info-button:nth-child(1) .icon-wrapper i {
  color: #ff6b6b;
}

.info-button:nth-child(2) .icon-wrapper {
  background-color: #e8f9f7;
}
.info-button:nth-child(2) .icon-wrapper i {
  color: #4ecdc4;
}

.info-button:nth-child(3) .icon-wrapper {
  background-color: #f0eeff;
}
.info-button:nth-child(3) .icon-wrapper i {
  color: #6c63ff;
}

.info-button:nth-child(4) .icon-wrapper {
  background-color: #fff5eb;
}
.info-button:nth-child(4) .icon-wrapper i {
  color: #ffa665;
}

.info-text {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* 新闻面板样式 */
.news-panel {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-list {
  margin-bottom: 20px;
}

.news-item {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.news-item:last-child {
  border-bottom: none;
}

.news-content {
  flex: 1;
  margin-right: 20px;
}

.news-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-info {
  color: #999;
  font-size: 12px;
}

.info-item {
  margin-right: 15px;
}

.news-image {
  width: 120px;
  height: 80px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 12px;
}

.more-link {
  text-align: right;
  margin-top: 10px;
}

.more-link span {
  color: #3c9cff;
  cursor: pointer;
  font-size: 14px;
}

.more-link span:hover {
  text-decoration: underline;
}

/* 新闻列表页面样式 */
.news-list-page .news-filters {
  margin-bottom: 20px;
}

.news-list-page .news-list {
  margin-bottom: 30px;
}

.news-list-page .pagination-container {
  display: flex;
  justify-content: center;
}

/* 新闻详情页样式 */
.news-detail-container {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  margin: 30px auto;
  max-width: 900px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.news-detail-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.5;
}

.news-detail-info {
  color: #999;
  font-size: 14px;
  margin-bottom: 30px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.news-detail-cover {
  margin-bottom: 30px;
  text-align: center;
}

.news-detail-cover img {
  max-width: 100%;
  border-radius: 8px;
}

.news-detail-content {
  line-height: 1.8;
  font-size: 16px;
  color: #333;
}

.news-detail-content p {
  margin-bottom: 20px;
}

.news-detail-content img {
  max-width: 100%;
  margin: 20px 0;
}

/* 添加加载状态样式 */
.loading-text {
  text-align: center;
  padding: 20px;
  color: #666;
}

.empty-message {
  text-align: center;
  padding: 30px;
  color: #999;
  background: #f9f9f9;
  border-radius: 8px;
}

/* 首页两列新闻布局 */
.news-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.news-grid-layout .news-item {
  display: flex;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  height: 100%;
  margin: 0;
}

.news-grid-layout .news-item:hover {
  transform: none;
  box-shadow: none;
}

.news-grid-layout .news-title {
  font-size: 15px;
  -webkit-line-clamp: 2;
  max-height: 44px;
}

.news-grid-layout .news-image {
  width: 100px;
  height: 70px;
}

/* 响应式布局调整 */
@media (max-width: 768px) {
  .news-grid-layout {
    grid-template-columns: 1fr;
  }
}

/* 新闻列表页面布局修改 */
.news-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-title {
  margin-bottom: 30px;
  font-size: 24px;
  color: #333;
  border-left: 4px solid #3c9cff;
  padding-left: 15px;
}

/* 新闻网格布局 */
.news-grid-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 30px;
}

.news-grid-layout .news-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  display: flex;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.news-grid-layout .news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.news-grid-layout .news-content {
  flex: 1;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-grid-layout .news-title {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-grid-layout .news-info {
  color: #999;
  font-size: 13px;
}

.news-grid-layout .info-item {
  margin-right: 15px;
  display: inline-block;
}

.news-grid-layout .news-image {
  width: 160px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background-color: #f5f5f5;
}

.news-grid-layout .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-grid-layout .news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-grid-layout .no-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #999;
  font-size: 13px;
  background: #f5f5f5;
}

/* 分页导航样式 */
.pager {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding-bottom: 20px;
}

.pager li > a {
  border-radius: 20px;
  padding: 8px 16px;
  margin: 0 5px;
  color: #666;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.pager li > a:hover {
  background-color: #f5f5f5;
  color: #333;
  text-decoration: none;
}

.pager .disabled > a {
  background-color: #f5f5f5;
  color: #999;
  cursor: not-allowed;
}

.pageNum {
  margin: 0 20px;
  color: #666;
}

/* 加载和空状态样式 */
.loading-text {
  text-align: center;
  padding: 40px;
  color: #666;
  font-size: 14px;
}

.empty-message {
  text-align: center;
  padding: 60px 30px;
  color: #999;
  font-size: 14px;
  background: #f9f9f9;
  border-radius: 12px;
  margin: 20px 0;
}

/* 响应式布局 */
@media (max-width: 1200px) {
  .news-container {
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  .news-grid-layout {
    grid-template-columns: 1fr;
  }

  .news-grid-layout .news-image {
    width: 120px;
    height: 80px;
  }

  .news-grid-layout .news-title {
    font-size: 15px;
  }
}
