/* ============================================
   前台官网样式 - 参考全国团体标准信息平台
   主色: #007AF5 蓝白配色
   ============================================ */

:root {
  --primary: #007AF5;
  --primary-light: #2E6AFF;
  --primary-dark: #0038d4;
  --primary-bg: #fafcff;
  --gold: #ffd700;
  --orange: #ff983c;
  --text-main: #333;
  --text-sub: #666;
  --text-light: #999;
  --border: #e8f0fe;
  --border-gray: #e0e0e0;
  --bg-card: #fff;
  --bg-hover: #ecf3ff;
  --success: #67c23a;
  --warning: #e6a23c;
  --danger: #f56c6c;
  --info: #909399;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 14px;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }

img { max-width: 100%; height: auto; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ========== 顶部Header ========== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-gray);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
}
.site-header .site-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
}
.site-header .header-right {
  display: flex;
  gap: 20px;
  align-items: center;
}
.site-header .header-right a {
  font-size: 14px;
  color: var(--primary);
}
.site-header .search-box {
  display: flex;
  border: 1px solid var(--primary);
  border-radius: 50px;
  overflow: hidden;
  height: 34px;
}
.site-header .search-box input {
  border: none;
  outline: none;
  padding: 0 15px;
  font-size: 13px;
  width: 180px;
}
.site-header .search-box button {
  border: none;
  background: var(--primary);
  color: #fff;
  padding: 0 15px;
  cursor: pointer;
  font-size: 14px;
}

/* ========== 主导航 ========== */
.main-nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 122, 245, 0.2);
}
.main-nav .container {
  display: flex;
  flex-wrap: wrap;
}
.main-nav a {
  color: #fff;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  transition: all 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}
.main-nav a.active::after,
.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* 移动端汉堡菜单 */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
}

/* ========== 面包屑 ========== */
.breadcrumb {
  background: #fff;
  padding: 10px 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-light);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--text-sub); }
.breadcrumb .sep { margin: 0 6px; color: var(--text-light); }
.breadcrumb .current { color: var(--primary); }

/* ========== 主内容区 ========== */
.main-content {
  padding: 15px 0;
  min-height: 400px;
}

/* ========== 搜索横幅区 ========== */
.hero-search {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-search::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.15) 0%, transparent 70%);
}
.hero-search h2 {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  letter-spacing: 2px;
}
.hero-search .search-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  position: relative;
  z-index: 1;
}
.hero-search .search-form input {
  flex: 1;
  border: none;
  border-radius: 50px 0 0 50px;
  padding: 12px 20px;
  font-size: 15px;
  outline: none;
}
.hero-search .search-form button {
  border: none;
  background: var(--primary-dark);
  color: #fff;
  padding: 0 30px;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0 50px 50px 0;
}

/* ========== 数据统计区 ========== */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 30px;
  background: #fff;
  padding: 20px 15px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.stat-item {
  text-align: center;
  flex: 1;
  max-width: 200px;
}
.stat-item .num {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.stat-item .label {
  font-size: 13px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* ========== 公告横幅 ========== */
.notice-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-left: 3px solid var(--orange);
  padding: 10px 15px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  border-radius: 4px;
}
.notice-bar .notice-tag {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.notice-bar a {
  color: var(--text-main);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.notice-bar a:hover { color: var(--primary); }
.notice-bar .date {
  color: var(--text-light);
  font-size: 12px;
  flex-shrink: 0;
}

/* ========== 区块标题 ========== */
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 0;
}
.section-title .title-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  padding-left: 10px;
  border-left: 4px solid var(--primary);
  line-height: 1;
}
.section-title .more-link {
  font-size: 13px;
  color: var(--text-light);
}
.section-title .more-link:hover { color: var(--primary); }

/* ========== 标准卡片网格 ========== */
.standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.standard-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px;
  transition: all 0.3s;
  display: block;
}
.standard-card:hover {
  border-color: #c5d9ff;
  box-shadow: 0 4px 20px rgba(0, 122, 245, 0.1);
  transform: translateY(-2px);
}
.standard-card .status-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 3px;
  margin-bottom: 8px;
}
.status-tag.pending {
  background: #fdf6ec;
  color: var(--warning);
  border: 1px solid #f5dab1;
}
.status-tag.consultation {
  background: #ecf5ff;
  color: var(--primary);
  border: 1px solid #b3d8ff;
}
.status-tag.published {
  background: #f0f9eb;
  color: var(--success);
  border: 1px solid #c2e7b0;
}
.standard-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.standard-card:hover h3 { color: var(--primary); }
.standard-card .meta {
  font-size: 12px;
  color: var(--text-light);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ========== 快捷入口 ========== */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.quick-link-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 15px;
  text-align: center;
  transition: all 0.3s;
}
.quick-link-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 122, 245, 0.1);
  transform: translateY(-2px);
}
.quick-link-card i {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}
.quick-link-card h4 {
  font-size: 14px;
  color: var(--text-main);
  font-weight: 500;
}
.quick-link-card:hover h4 { color: var(--primary); }

/* ========== 文章列表 ========== */
.article-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px;
  display: flex;
  gap: 15px;
  transition: all 0.3s;
}
.article-card:hover {
  border-color: #c5d9ff;
  box-shadow: 0 4px 12px rgba(0, 122, 245, 0.08);
}
.article-date-box {
  flex-shrink: 0;
  width: 55px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 12px;
}
.article-date-box .day {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.article-date-box .ym {
  font-size: 11px;
  color: var(--text-light);
  margin-top: 4px;
}
.article-info { flex: 1; min-width: 0; }
.article-info .cat-tag {
  display: inline-block;
  padding: 2px 6px;
  font-size: 12px;
  background: #f5f5f5;
  color: var(--text-sub);
  border-radius: 3px;
  margin-bottom: 6px;
}
.article-info h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-card:hover h3 { color: var(--primary); }
.article-info .summary {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== 列表页布局 ========== */
.list-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 15px;
}
.sidebar-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px;
  align-self: start;
}
.sidebar-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  padding-bottom: 10px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-nav a {
  display: block;
  padding: 8px 12px;
  color: var(--text-sub);
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
}
.sidebar-nav a:hover {
  background: var(--bg-hover);
  color: var(--primary);
}
.sidebar-nav a.active {
  background: var(--primary);
  color: #fff;
}

/* ========== 筛选栏 ========== */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 15px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.filter-bar form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.filter-bar input {
  padding: 6px 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-size: 13px;
  width: 200px;
  outline: none;
}
.filter-bar input:focus { border-color: var(--primary); }
.filter-bar button {
  padding: 6px 16px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.filter-bar button:hover { background: var(--primary-dark); }
.filter-bar .result-count {
  font-size: 13px;
  color: var(--text-light);
}
.filter-bar .result-count strong { color: var(--primary); }

/* ========== 表格列表 ========== */
.table-list {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.list-item {
  padding: 12px 15px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.2s;
}
.list-item:last-child { border-bottom: none; }
.list-item:hover { background: var(--bg-hover); }
.list-item .item-title {
  font-size: 15px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-item .item-title:hover { color: var(--primary); }
.list-item .no-tag {
  font-size: 12px;
  color: var(--primary);
  background: #ecf5ff;
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid #d9ecff;
}
.list-item .meta {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 4px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.view-link {
  color: var(--primary);
  font-size: 13px;
  white-space: nowrap;
  flex-shrink: 0;
}
.view-link:hover { color: var(--primary-dark); }

/* ========== 分页 ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 20px;
  padding-bottom: 10px;
}
.pagination a,
.pagination span {
  padding: 6px 12px;
  border: 1px solid var(--border-gray);
  font-size: 13px;
  color: var(--text-sub);
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination .current {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 详情页 ========== */
.detail-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 25px;
}
.detail-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.detail-header .status-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 13px;
  color: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
}
.detail-header h2 {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.4;
}
.detail-header .meta {
  font-size: 13px;
  color: var(--text-light);
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.detail-header .meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.detail-section {
  margin-bottom: 25px;
}
.detail-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 12px;
  margin-bottom: 12px;
  background: #f5f9ff;
  border-left: 3px solid var(--primary);
  border-radius: 0 4px 4px 0;
}
.detail-section .content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-sub);
}
.detail-section .content p { margin-bottom: 0.8em; }
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}
.info-row {
  display: flex;
  font-size: 14px;
  padding: 6px 0;
  border-bottom: 1px dotted var(--border);
}
.info-row .label {
  color: var(--text-light);
  width: 90px;
  flex-shrink: 0;
}
.info-row .value {
  color: var(--text-main);
  flex: 1;
}

/* ========== 进度条 ========== */
.progress-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 15px;
}
.progress-bar .progress-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
}
.progress-steps {
  display: flex;
  align-items: center;
  gap: 4px;
}
.progress-step {
  flex: 1;
  text-align: center;
}
.progress-step .dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e0e0e0;
  margin: 0 auto 4px;
  transition: background 0.3s;
}
.progress-step.done .dot { background: var(--success); }
.progress-step.current .dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 122, 245, 0.2);
}
.progress-step .step-name {
  font-size: 12px;
  color: var(--text-light);
}
.progress-step.done .step-name { color: var(--text-sub); }
.progress-step.current .step-name { color: var(--primary); font-weight: 600; }
.progress-line {
  flex: 0 0 30px;
  height: 2px;
  background: #e0e0e0;
}
.progress-line.done { background: var(--success); }

/* ========== 征求意见框 ========== */
.consultation-notice {
  background: #ecf5ff;
  border: 1px solid #b3d8ff;
  border-radius: 4px;
  padding: 15px;
  margin-top: 20px;
}
.consultation-notice .ct-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}
.consultation-notice p {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 8px;
}

/* ========== 表单样式 ========== */
.form-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 25px;
}
.form-panel .form-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 5px;
  padding-left: 10px;
  border-left: 4px solid var(--primary);
  line-height: 1;
}
.form-panel .form-desc {
  color: var(--text-light);
  font-size: 13px;
  margin-bottom: 20px;
}
.form-section-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-group {
  margin-bottom: 12px;
}
.form-group label {
  display: block;
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 5px;
}
.form-group label .required { color: var(--danger); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}
.form-group textarea { resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.form-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 9px 28px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
  padding: 9px 28px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: var(--bg-hover);
}

/* ========== 申请表单布局 ========== */
.apply-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 15px;
}
.apply-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 15px;
  align-self: start;
}
.apply-sidebar h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.apply-sidebar h4:not(:first-child) { margin-top: 20px; }
.apply-sidebar .notice-item {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-sub);
  border-bottom: 1px dotted var(--border);
  display: flex;
  gap: 6px;
}
.apply-sidebar .notice-item:last-child { border-bottom: none; }
.apply-sidebar .notice-item i { color: var(--success); flex-shrink: 0; margin-top: 2px; }
.apply-sidebar .contact-info p {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 4px;
}

/* ========== 提示框 ========== */
.alert {
  padding: 10px 15px;
  margin-bottom: 15px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
}
.alert-success { background: #f0f9eb; color: var(--success); border: 1px solid #c2e7b0; }
.alert-error { background: #fef0f0; color: var(--danger); border: 1px solid #fbc4c4; }
.alert-info { background: #ecf5ff; color: var(--primary); border: 1px solid #b3d8ff; }

/* ========== 空状态 ========== */
.empty-state {
  text-align: center;
  padding: 50px 20px;
  color: var(--text-light);
}
.empty-state i {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.3;
}
.empty-state p { font-size: 14px; }

/* ========== 分类标签 ========== */
.category-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.category-tabs .tab {
  padding: 8px 18px;
  font-size: 14px;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.2s;
}
.category-tabs .tab:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.category-tabs .tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ========== 底部 ========== */
.site-footer {
  background: var(--primary);
  color: #fff;
  padding: 30px 0 15px;
  margin-top: 20px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.footer-col h4 {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}
.footer-col p,
.footer-col li {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 6px;
  list-style: none;
}
.footer-col a { color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  text-align: center;
  padding-top: 15px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

/* ========== 响应式 ========== */
@media (max-width: 992px) {
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); }
  .article-list { grid-template-columns: 1fr; }
  .list-layout { grid-template-columns: 1fr; }
  .sidebar-panel { order: 2; }
  .apply-layout { grid-template-columns: 1fr; }
  .footer-main { flex-direction: column; gap: 15px; }
  .footer-col { min-width: auto; }
  .site-header .search-box input { width: 140px; }
}

@media (max-width: 768px) {
  .site-header .container { flex-direction: column; gap: 10px; }
  .site-header .site-name { font-size: 16px; text-align: center; }
  .site-header .search-box { width: 100%; }
  .site-header .search-box input { width: 100%; flex: 1; }
  
  .nav-toggle { display: block; }
  .main-nav .container {
    flex-direction: column;
    display: none;
  }
  .main-nav .container.show { display: flex; }
  .main-nav a { padding: 10px 15px; font-size: 15px; }
  
  .stats-row { flex-wrap: wrap; gap: 15px; }
  .stat-item { min-width: 40%; }
  
  .hero-search h2 { font-size: 18px; }
  .hero-search .search-form { flex-direction: column; border-radius: 4px; }
  .hero-search .search-form input { border-radius: 4px; }
  .hero-search .search-form button { border-radius: 4px; padding: 10px; margin-top: 8px; }
  
  .detail-header h2 { font-size: 18px; }
  .info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .filter-bar { flex-direction: column; align-items: flex-start; }
  .filter-bar input { width: 100%; }
  .filter-bar form { width: 100%; flex-direction: column; }
  
  .list-item { flex-direction: column; align-items: flex-start; gap: 6px; }
  .view-link { align-self: flex-end; }
  
  .progress-steps { flex-wrap: wrap; gap: 10px; }
  .progress-line { display: none; }
  .progress-step { flex: 0 0 30%; }
}

@media (max-width: 576px) {
  .standards-grid { grid-template-columns: 1fr; }
  .quick-links-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { gap: 10px; }
  .stat-item { min-width: 45%; }
  .stat-item .num { font-size: 22px; }
  
  .detail-panel { padding: 15px; }
  .form-panel { padding: 15px; }
  
  .pagination a, .pagination span { padding: 5px 8px; font-size: 12px; }
}
