/* =============================================
   中国（天水）跨境电子商务综合试验区
   公共样式 - 蓝金主色调 · 简约政务风
   ============================================= */

:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --primary-dark: #0d1b3e;
  --gold: #c8a45a;
  --gold-light: #e0c878;
  --gold-dark: #a6863d;
  --bg: #f5f6f8;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --radius: 8px;
  --max-width: 1200px;
  --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--primary-light); }
ul, ol { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.section-title {
  font-size: 18px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.section-title .title-icon {
  color: var(--gold);
  font-size: 14px;
}

.text-center { justify-content: center; }

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-login {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.btn-login:hover { background: var(--gold); color: #fff; }

.more-link { color: var(--gold); font-size: 13px; }
.more-link:hover { color: var(--gold-dark); }

/* 新闻列表 */
.news-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.news-list li:last-child { border-bottom: none; }
.news-list li a {
  flex: 1;
  min-width: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list li a:hover { color: var(--primary); }
.news-list .news-date {
  color: var(--text-muted);
  font-size: 12px;
  white-space: nowrap;
}
/* 置顶标签 */
.news-list li.is-top a { font-weight: 600; }
.top-badge {
  display: inline-block;
  flex-shrink: 0;
  background: #e53935;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
  font-weight: 600;
}

/* 响应式 */
@media (max-width: 768px) {
  .container { padding: 0 12px; }
  .section-title { font-size: 16px; }
  :root { --header-height: 60px; }
}
