body {
  margin: 0;
  padding: 0;
  font-family: 'Microsoft YaHei', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
}
.top-iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height:80px;
  border: none;
  z-index: 1000;
}
.container {
  display: flex;
  max-width: 1320px;
  margin: 0 auto;
  gap: 24px;
}

.main-content {
  flex: 1 1 0;
  border-radius: 12px;
  margin-top: 90px;
  padding: 0 0 24px 0;
}

.news-list {
  margin-top: 16px;
  background: #ffffff;
  padding: 10px 32px;
}
.news-item {
  display: flex;
  background: #f9fafb;
  margin-top: 24px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: box-shadow 0.2s;
  width: 900px;
  min-width: 0;
  height: 130px;
  box-sizing: border-box;
  border-radius: 8px;
}
.news-item.highlight {
  border: 2px solid #006633;
  box-shadow: 0 2px 12px rgba(0,102,51,0.08);
}
.news-img {
  width: 160px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 15px 0 15px 15px;
  border-radius: 6px;
}
.news-content {
  flex: 1;
  padding: 18px 20px 12px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.news-content h2 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: bold;
  color: #222;
}
.news-content p {
  margin: 0 0 12px 0;
  color: #555;
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.news-meta {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}
.news-tag {
  background: #e6f4ec;
  color: #006633;
  border-radius: 10px;
  padding: 2px 10px;
  margin-left: 8px;
}
.news-tag.green { background: #e6f4ec; color: #006633; }
.news-tag.blue { background: #e6f4ec; color: #006633; }
.news-tag.orange { background: #e6f4ec; color: #006633; }
.news-tag.purple { background: #e6f4ec; color: #006633; }

.news-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #888;
}
.author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

/* Pagination styles */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin: 32px 0 40px 0;
}
.page-btn {
  min-width: 36px;
  height: 36px;
  border: none;
  border-radius: 6px;
  background: #f3f3f3;
  color: #222;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.page-btn:hover {
  background: #e5e5e5;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.page-btn.active {
  background: #ff9900;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 2px 6px rgba(255,153,0,0.3);
}
.page-btn.disabled {
  background: #eee;
  color: #bbb;
  cursor: not-allowed;
  box-shadow: none;
}
.page-ellipsis {
  color: #bbb;
  font-size: 18px;
  padding: 0 4px;
}

.sidebar {
  width: 320px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hot-news {
  margin-top: 90px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px 24px;
}
.hot-news h3 {
  margin: 0 0 16px 0;
  font-size: 18px;
  font-weight: bold;
}
.hot-news ol {
  list-style: none;
  padding: 0;
  margin: 0;
}
.hot-news li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 15px;
  height: 38px;
}
.rank {
  display: inline-block;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 50%;
  background: #e6f4ec;
  color: #006633;
  font-weight: bold;
}
.rank-1 { background: #006633; color: #fff; }
.rank-2 { background: #339966; color: #fff; }
.rank-3 { background: #66cc99; color: #fff; }
.hot-title {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hot-date {
  color: #bbb;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .container {
    flex-direction: column;
    max-width: 98vw;
    gap: 0;
  }
  .sidebar {
    width: 100%;
    flex-direction: row;
    gap: 16px;
  }
  .main-content {
    padding: 0;
  }
  .banner-carousel, .banner-carousel .banner-img {
    height: 220px;
    border-radius: 10px;
  }
  .banner-carousel .banner-info.left {
    left: 10px;
    padding: 18px;
    min-width: 120px;
    max-width: 90vw;
    font-size: 15px;
    background-color: rgba(0,0,0,0.3);
  }
  .banner-carousel .banner-info.left h1 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .banner-carousel .banner-info.left p {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .banner-carousel .banner-btn {
    font-size: 14px;
    padding: 8px 20px;
    margin-top: 10px;
    border-radius: 18px;
    width: auto;
    letter-spacing: 0.5px;
  }
}

/* 轮播图美化 */
.banner-carousel {
  position: relative;
  overflow: hidden;
  height: 420px;
  margin-bottom: 16px;
  box-shadow: 0 4px 24px rgba(0,102,51,0.10);
  background: #e6f4ec;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner-carousel .banner-img {
  width: 100%;
  height: 420px;
  /* object-fit: cover; */
  /* display: block; */
  filter: brightness(0.92);
}
.banner-carousel .banner-info.left {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 30px;
  color: #fff;
  text-align: left;
  min-width: 240px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  background-color: rgba(0,0,0,0.2);
  border-radius: 12px;
  backdrop-filter: blur(3px);
}
.banner-carousel .banner-info.left h1 {
  margin: 0 0 16px 0;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.banner-carousel .banner-info.left p {
  margin: 0 0 18px 0;
  font-size: 18px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  line-height: 1.5;
}
.banner-carousel .banner-btn {
  background: linear-gradient(to bottom, #008040, #006633);
  color: #fff;
  border: none;
  border-radius: 22px;
  padding: 12px 40px;
  font-size: 19px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,102,51,0.4), 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  margin-top: 18px;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  width: fit-content;
  position: relative;
  z-index: 2;
  letter-spacing: 1px;
}
.banner-carousel .banner-btn:hover {
  background: linear-gradient(to bottom, #009a4e, #00804d);
  box-shadow: 0 6px 16px rgba(0,102,51,0.5), 0 3px 6px rgba(0,0,0,0.3);
  transform: translateY(-2px);
}
.banner-carousel .banner-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 8px rgba(0,102,51,0.4);
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 2;
}
.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #006633;
  opacity: 0.6;
  transition: background 0.2s, opacity 0.2s;
  cursor: pointer;
}
.carousel-dot.active {
  background: #006633;
  opacity: 1;
}
