/* ===== 金色徽章风格 ===== */
/* 主色：蓝 #003d7a | 辅色：金 #C9A96E */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  font-family: "思源黑体 CN","Source Han Sans CN","noto sans",Arial,tahoma,Helvetica,sans-serif;
}

body {
  margin: 0;
  line-height: inherit;
  color: #333;
  background: #f2f4f8;
  font-size: 14px;
}

ol, ul { list-style: none; }

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  border: none;
  outline: none;
}

/* ===== Banner ===== */
.banner {
  width: 100%;
  overflow: hidden;
}
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 面包屑 ===== */
.breadcrumb-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 14px 0 10px;
  font-size: 13px;
  border-bottom: 1px solid #e8ecf1;
  margin-bottom: 20px;
}

.breadcrumb-content {
  color: #888;
}

.breadcrumb-content a {
  color: #003d7a;
  text-decoration: none;
}

.breadcrumb-content a:hover {
  color: #C9A96E;
  text-decoration: underline;
}

.breadcrumb-content .current {
  color: #003d7a;
  font-weight: 600;
}

/* ===== 容器 ===== */
.container {
  width: 100%;
  background: #f2f4f8;
  padding: 0 0 60px;
}

.content-wrapper {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* ===== 侧栏 ===== */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1px solid #eef0f3;
}

/* 侧栏标题栏 */
.sidebar-header {
  background: #003d7a;
  padding: 20px 20px 22px;
  text-align: center;
  position: relative;
}

.sidebar-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: 28px;
  height: 2px;
  background: #C9A96E;
  border-radius: 1px;
}

.sidebar-header h3 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  letter-spacing: 4px;
  margin-bottom: 4px;
}

.sidebar ul {
  list-style: none;
  padding: 12px 10px;
  margin: 0;
}

.sidebar li {
  margin: 4px 0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.25s;
}

.sidebar li a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.25s;
  border-radius: 8px;
}

/* 实心圆点 */
.sidebar li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d0d4d8;
  margin-right: 12px;
  flex-shrink: 0;
  transition: all 0.25s;
}

.sidebar li a:hover {
  color: #003d7a;
  background: #f5f8fc;
}

.sidebar li a:hover::before {
  background: #C9A96E;
}

/* 激活 */
.sidebar li.active a {
  color: #003d7a;
  font-weight: 700;
  background: linear-gradient(135deg, #eef4fc, #f8faff);
}

.sidebar li.active a::before {
  background: #003d7a;
  box-shadow: 0 0 6px rgba(0,61,122,0.3);
}



/* ===== 主内容区 ===== */
.main-content {
  flex: 1;
  padding: 22px 30px 30px;
  min-width: 0;
  background: #fff;
}

.main-content .section-title {
  padding-bottom: 14px;
  border-bottom: 2px solid #003d7a;
  margin-bottom: 5px;
  position: relative;
}

.main-content .section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #C9A96E;
}

.main-content .section-title h2 {
  font-size: 20px;
  color: #003d7a;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  padding-left: 22px;
  position: relative;
}

.main-content .section-title h2::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #C9A96E;
  font-size: 12px;
  line-height: 1;
}



/* ===== 新闻列表 ===== */
.news-list {
  margin-bottom: 20px;
}

.news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px dashed #eef0f3;
  text-decoration: none;
  color: #333;
}

.news-item:last-child {
  border-bottom: none;
}

.news-title {
  font-size: 15px;
  color: #333;
  font-weight: 400;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 24px;
  line-height: 1.5;
}

.news-title::before {
  content: "· ";
  color: #C9A96E;
  font-weight: 700;
}

.news-date {
  flex-shrink: 0;
  color: #aaa;
  font-size: 13px;
  white-space: nowrap;
}

/* ===== 分页 ===== */
.pagination {
  text-align: center;
  padding: 25px 0 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #888;
}

.pagination a {
  display: inline-block;
  padding: 7px 13px;
  color: #555;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s;
  border: 1px solid #e0e4ea;
  background: #fff;
}

.pagination a:hover {
  background: #003d7a;
  color: #fff;
  border-color: #003d7a;
}

.pagination a.active {
  background: #003d7a;
  color: #fff;
  border-color: #003d7a;
  font-weight: 700;
}

.pagination span {
  color: #bbb;
}

.pagination input {
  width: 50px;
  padding: 6px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  font-size: 13px;
}

.pagination button {
  padding: 6px 14px;
  background: #003d7a;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 13px;
}

.pagination button:hover {
  background: #C9A96E;
}

/* ===== 响应式 ===== */
@media (max-width: 1199px) {
  .content-wrapper, .breadcrumb-wrapper { width: 960px; }
}

@media (max-width: 991px) {
  .content-wrapper, .breadcrumb-wrapper { width: 720px; }
  .sidebar { width: 180px; }
  .sidebar-header { padding: 15px 16px; }
  .sidebar-header h3 { font-size: 14px; letter-spacing: 2px; }
  .sidebar li { margin: 3px 8px; }
  .sidebar li a { padding: 10px 14px; font-size: 14px; }
}

@media (max-width: 767px) {
  .breadcrumb-wrapper { width: 100%; padding: 10px 12px; margin-bottom: 16px; }
  .container { padding: 0 0 30px; }

  .content-wrapper {
    flex-direction: column;
    width: 100%;
    border-radius: 0;
  }

  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #eef0f3;
  }
  .sidebar-header { padding: 12px 16px; }
  .sidebar ul { display: flex; flex-wrap: wrap; padding: 4px 0; }
  .sidebar li { flex: 1; min-width: 120px; }
  .sidebar li { margin: 2px 6px; }
  .sidebar li a { padding: 10px 12px; text-align: center; justify-content: center; }
  .sidebar li a::before { display: none; }
  
  

  .main-content { padding: 16px; }
  .main-content .section-title h2 { font-size: 18px; }
  .news-title { font-size: 14px; }
}

@media (max-width: 480px) {
  .banner img { max-height: 160px; object-fit: cover; }
  .sidebar li { min-width: calc(50% - 4px); }
  .sidebar-header h3 { font-size: 13px; letter-spacing: 1px; }
  .main-content { padding: 14px 12px; }
  .main-content .section-title h2 { font-size: 16px; }
  .news-title { font-size: 13px; }
  .news-date { font-size: 12px; }
}
