body {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  background: #f5f7fa;
  color: #222;
}
/* 顶部横幅 */
.top-banner {
  background: url('../images/top_bj.jpg') no-repeat center top;
  background-size: cover;
  height: 220px;
  position: relative;
}
.top-banner::after {
  content: "";
  position: absolute;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,0.1);
  z-index: 1;
}
.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0px 20px 0 20px;
}
.banner-title {
  color: #ff3c3c;
  font-size: 48px;
  font-weight: bold;
  letter-spacing: 2px;
  margin-top: 60px;
}
.banner-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
.banner-btn {
  background:red;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 28px;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  transition: background 0.2s;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
}
.banner-btn:hover {
  background: #d32f2f;
}

/* 新增：移动端横向按钮容器，默认隐藏 */
.banner-buttons-mobile {
  display: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 10px 0 10px;
  justify-content: flex-end;
  gap: 12px;
}
.banner-buttons-mobile .banner-btn {
  margin-left: 0;
  margin-top: 0;
}

/* 导航栏 */
.navbar {
  background: #e53935;
  color: #fff;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
  min-width: 320px;
}
.navbar-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 20px;
}
.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list li {
  font-size: 16px;
}
.nav-list a {
  color: #fff;
  text-decoration: none;
  padding: 14px 14px;
  display: block;
  transition: background 0.2s, color 0.2s;
}
.nav-list a:hover {
  color: #e53935;
  background: #fff;
}
.nav-list a.active {
  color: #e53935;
  background: #fff;
}
.search-box {
  display: flex;
  align-items: center;
}
.search-input {
  padding: 8px 12px;
  border: none;
  border-radius: 16px 0 0 16px;
  outline: none;
  font-size: 14px;
  width: 160px;
}
.search-btn {
  padding: 6px 16px;
  border: none;
  border-radius: 0 16px 16px 0;
  background: #fff;
  color: #e53935;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  border-left: 1px solid #eee;
}

/* 主内容区 */
.main {
  max-width: 1200px;
  margin: 30px auto 0 auto;
  display: flex;
  gap: 24px;
  padding: 0 20px;
}
.main-left {
  flex: 2;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 20px;
}
.main-left img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 12px;
}
.main-left .main-title {
  font-size: 20px;
  color: #d32f2f;
  font-weight: bold;
  margin-bottom: 8px;
}
.main-left .main-desc {
  color: #666;
  font-size: 15px;
  margin-bottom: 10px;
}
.main-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.news-section, .notice-section {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 16px 18px;
}
.news-title {
  font-size: 20px;
  color: #e53935;
  font-weight: bold;
  border-left: 3px solid #e53935;
  padding-left: 8px;
  margin-bottom: 10px;
}
.news-list, .notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li, .notice-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}
.news-list li:last-child, .notice-list li:last-child {
  border-bottom: none;
}
.news-list a, .notice-list a {
  color: #222;
  text-decoration: none;
  transition: color 0.2s;
}
.news-list a:hover, .notice-list a:hover {
  color: #e53935;
}
.news-date {
  color: #aaa;
  font-size: 14px;
  margin-left: 10px;
  white-space: nowrap;
}
.news-btns {
  display: flex;
  gap: 10px;
}
.news-btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 7px 18px;
  font-size: 21px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}
.news-btn:hover {
  background: #b71c1c;
  color: #fff;
}

/* 广告区和内容区 */
.section {
  max-width: 1160px;
  margin: 24px auto 0 auto;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 18px 20px 10px 20px;
  margin-bottom: 18px;
}
.section-title {
  font-size: 20px;
  color: #e53935;
  font-weight: bold;
  border-left: 3px solid #e53935;
  padding-left: 8px;
  margin-bottom: 10px;
}

/* 页脚 */
.footer {
  background: #444;
  color: #fff;
  text-align: center;
  padding: 28px 0 12px 0;
  font-size: 14px;
  margin-top: 40px;
  border-top: 4px solid #e53935;
  line-height: 26px;
}
.footer-nav {
  margin-bottom: 10px;
}
.footer-nav a {
  color: #fff;
  margin: 0 18px;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: #ffe082;
}

/* 响应式 */
@media (max-width: 900px) {
  .main {
    flex-direction: column;
    padding: 0px;
  }
  .main-right {
    width: 100%;
  }
  
  .main-left{
    width:90%;
  }
  .banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .banner-title{
    margin-top: 10px;
  }
  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    padding: 0 10px;
  }
  .nav-list {
    justify-content: flex-start;
    gap: 20px;
  }
  .search-box {
    margin-top: 8px;
    justify-content: flex-end;
  }
  .banner-buttons {
    display: none; /* PC端按钮隐藏 */
  }
  .banner-buttons-mobile {
    display: flex; /* 移动端按钮横向显示 */
    flex-direction: row;
  }
  .search-box {
    display: none !important; /* 搜索栏隐藏 */
  }
}