/* ==========================================================================
   山西省绿色生产资料（山西绿色生资）
   政府门户风格：白底、蓝灰、实线边框、信息优先
   ========================================================================== */

:root {
  --blue-950: #0b2d52;
  --blue-900: #103d6b;
  --blue-800: #154a7d;
  --blue-700: #1b5e9e;
  --blue-600: #2270b8;
  --blue-100: #e7f0f9;
  --blue-50: #f2f7fc;
  --red: #b3261e;
  --red-soft: #fbecea;
  --text: #222;
  --text-2: #444;
  --muted: #6b7785;
  --muted-2: #8a96a3;
  --line: #d9e1ea;
  --line-2: #e8edf3;
  --bg: #f5f6f8;
  --white: #fff;
  --font: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Hiragino Sans GB", Arial, sans-serif;
  --container: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

svg {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
}

::selection {
  background: var(--blue-100);
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.icon {
  width: 15px;
  height: 15px;
  flex: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -50px;
  left: 20px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--blue-800);
  color: #fff;
  font-size: 13px;
}

.skip-link:focus {
  top: 0;
}

/* --------------------------------- 顶部 --------------------------------- */

.topbar {
  height: 32px;
  background: #f0f2f5;
  border-bottom: 1px solid var(--line-2);
  color: var(--muted);
  font-size: 12px;
}

.topbar-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.topbar-in > p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: none;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
}

.topbar-links a:hover {
  color: var(--blue-700);
  text-decoration: none;
}

.topbar-links .icon {
  width: 11px;
  height: 11px;
  opacity: 0.65;
}

/* --------------------------------- 头部 --------------------------------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-in {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 100px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  color: inherit;
}

.brand:hover {
  text-decoration: none;
}

.brand-logo {
  width: 68px;
  height: 62px;
  object-fit: contain;
  flex: none;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--blue-950);
  letter-spacing: 0.5px;
}

.brand-text strong em {
  font-style: normal;
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-800);
}

.brand-text small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 1px;
}

.header-search {
  display: flex;
  width: 290px;
  height: 38px;
  flex: none;
  border: 1px solid #c6d2df;
  background: #fff;
}

.header-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-size: 13px;
  outline: none;
}

.header-search input::placeholder {
  color: var(--muted-2);
}

.header-search button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 100%;
  padding: 0 16px;
  border: 0;
  background: var(--blue-800);
  color: #fff;
  font-size: 13px;
}

.header-search button:hover {
  background: var(--blue-700);
}

.header-search .icon {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 38px;
  padding: 0;
  place-items: center;
  border: 1px solid #c6d2df;
  background: #fff;
  color: var(--blue-800);
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

/* --------------------------------- 导航 --------------------------------- */

.main-nav {
  background: var(--blue-800);
}

.nav-in {
  display: flex;
  align-items: stretch;
  height: 46px;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0 22px;
  color: #fff;
  font-size: 16px;
  letter-spacing: 1px;
}

.nav-link:hover {
  background: var(--blue-700);
  color: #fff;
  text-decoration: none;
}

.nav-link.is-active {
  background: var(--blue-950);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  background: #d23b30;
}

/* --------------------------------- 公告条 --------------------------------- */

.notice-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 11px 16px;
  background: var(--blue-50);
  border: 1px solid #d7e4f2;
  font-size: 13px;
  color: var(--text-2);
}

.notice-label {
  flex: none;
  padding: 1px 8px;
  background: var(--blue-800);
  color: #fff;
  font-size: 12px;
}

.notice-bar p {
  flex: 1;
  min-width: 0;
}

.notice-bar strong {
  color: var(--red);
}

.notice-date {
  flex: none;
  color: var(--muted);
  font-size: 12px;
}

/* --------------------------------- 布局 --------------------------------- */

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  align-items: start;
  margin-top: 20px;
}

.home-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.home-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head h2 {
  position: relative;
  padding-left: 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-950);
  line-height: 1.3;
}

.panel-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 18px;
  margin-top: -9px;
  background: var(--blue-700);
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--muted);
  font-size: 12px;
}

.more:hover {
  color: var(--blue-700);
  text-decoration: none;
}

.more .icon {
  width: 12px;
  height: 12px;
}

.panel-foot {
  padding: 11px 18px;
  border-top: 1px solid var(--line-2);
  text-align: right;
  background: #fbfcfe;
}

/* --------------------------------- 最新动态 --------------------------------- */

.news-list {
  padding: 4px 18px;
}

.news-item {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 56px;
  flex: none;
  background: var(--blue-50);
  border: 1px solid #d8e5f2;
  color: var(--blue-800);
}

.news-date strong {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--muted);
}

.news-date em {
  margin-top: 2px;
  font-style: normal;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue-800);
}

.news-body {
  min-width: 0;
  flex: 1;
}

.news-body h3 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

.news-body h3 a {
  color: var(--text);
}

.news-body h3 a:hover {
  color: var(--blue-700);
}

.news-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.news-meta a {
  color: var(--blue-700);
}

.news-list--large {
  padding: 6px 22px;
}

.news-list--large .news-item {
  padding: 18px 0;
}

.news-list--large .news-body h3 {
  font-size: 16px;
}

.news-list--large .news-body p {
  -webkit-line-clamp: 3;
  font-size: 13px;
}

.news-list--large .news-date {
  width: 88px;
  height: 62px;
}

/* --------------------------------- 表格 --------------------------------- */

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table th {
  height: 40px;
  padding: 0 12px;
  background: #f1f5fa;
  border-bottom: 1px solid var(--line);
  color: #4e5c6b;
  font-size: 12.5px;
  font-weight: 600;
  text-align: left;
  white-space: nowrap;
}

.data-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line-2);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table tbody tr:hover {
  background: #f8fbfe;
}

.col-no {
  width: 56px;
  text-align: center !important;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.col-title {
  min-width: 360px;
}

.col-title > a {
  color: var(--text);
}

.col-title > a:hover {
  color: var(--blue-700);
}

.col-type {
  width: 130px;
  white-space: nowrap;
}

.col-type a {
  color: var(--blue-700);
}

.col-date {
  width: 110px;
  white-space: nowrap;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.col-action {
  width: 86px;
  text-align: center !important;
  white-space: nowrap;
}

.download-link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--blue-700);
  font-size: 12.5px;
}

.download-link .icon {
  width: 13px;
  height: 13px;
}

.empty-row {
  padding: 48px 16px !important;
  text-align: center;
  color: var(--muted);
}

/* --------------------------------- 侧栏 --------------------------------- */

.logo-card {
  padding: 20px 18px;
  background: #fff;
  border: 1px solid var(--line);
  text-align: center;
}

.logo-card img {
  width: 150px;
  height: 137px;
  margin: 0 auto 12px;
  object-fit: contain;
}

.logo-card h3 {
  font-size: 15px;
  color: var(--blue-950);
}

.logo-card p {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
}

.logo-card > a {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  color: var(--blue-700);
}

.side-block {
  padding: 0 14px 14px;
  background: #fff;
  border: 1px solid var(--line);
}

.side-block h3 {
  position: relative;
  margin: 0 -14px 8px;
  padding: 11px 14px 10px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-950);
}

.side-block h3::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 16px;
  width: 3px;
  height: 15px;
  background: var(--blue-700);
}

.cat-list li + li {
  border-top: 1px dashed var(--line-2);
}

.cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 36px;
  font-size: 13px;
  color: var(--text-2);
}

.cat-list a:hover {
  color: var(--blue-700);
  text-decoration: none;
}

.cat-list a.is-active {
  color: var(--blue-800);
  font-weight: 600;
}

.cat-list em {
  min-width: 24px;
  padding: 0 5px;
  background: #f0f4f9;
  color: var(--muted);
  font-style: normal;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
}

.cat-list a.is-active em {
  background: var(--blue-800);
  color: #fff;
}

.quick-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 10px;
  padding-top: 4px;
}

.quick-list a {
  position: relative;
  display: block;
  padding-left: 10px;
  font-size: 12.5px;
  line-height: 28px;
  color: var(--text-2);
}

.quick-list a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 4px;
  height: 4px;
  background: var(--blue-600);
}

.quick-list a:hover {
  color: var(--blue-700);
}

.link-list li + li {
  border-top: 1px dashed var(--line-2);
}

.link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 36px;
  font-size: 12.5px;
  color: var(--text-2);
}

.link-list a:hover {
  color: var(--blue-700);
  text-decoration: none;
}

.link-list .icon {
  width: 12px;
  height: 12px;
  color: var(--muted-2);
}

/* --------------------------------- 标志说明 --------------------------------- */

.mark-section {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  margin: 20px 0 30px;
  padding: 24px 28px;
  background: #fff;
  border: 1px solid var(--line);
}

.mark-image {
  display: grid;
  place-items: center;
  padding: 10px;
  border-right: 1px solid var(--line-2);
}

.mark-image img {
  width: 180px;
  height: 165px;
  object-fit: contain;
}

.mark-text h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--blue-950);
}

.mark-text p {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--text-2);
  text-align: justify;
}

.mark-text a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
  font-size: 12.5px;
}

.mark-text a .icon {
  width: 12px;
  height: 12px;
}

/* --------------------------------- 页面横幅 --------------------------------- */

.page-banner {
  padding: 22px 0 20px;
  background: #edf3fa;
  border-bottom: 1px solid #dbe5f0;
}

.page-banner h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-950);
  line-height: 1.4;
}

.page-banner p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--blue-700);
}

.breadcrumb .icon {
  width: 12px;
  height: 12px;
}

.breadcrumb-sep {
  color: #b7c1cc;
}

.breadcrumb > span:last-child {
  color: var(--text-2);
}

/* --------------------------------- 列表页 --------------------------------- */

.list-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding-bottom: 34px;
}

.list-side {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.list-main {
  min-width: 0;
}

.mobile-cats {
  display: none;
}

.mobile-pdf-links {
  display: none;
}

.list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.list-search {
  display: flex;
  align-items: center;
  flex: 1;
  max-width: 480px;
  height: 36px;
}

.list-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 10px;
  border: 1px solid #c6d2df;
  background: #fff;
  font-size: 13px;
  outline: none;
}

.list-search input:focus {
  border-color: var(--blue-600);
}

.list-search button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 100%;
  padding: 0 15px;
  border: 0;
  background: var(--blue-800);
  color: #fff;
  font-size: 13px;
}

.list-search button .icon {
  width: 13px;
  height: 13px;
}

.search-reset {
  margin-left: 10px;
  font-size: 12px;
  color: var(--muted);
}

.result-count {
  flex: none;
  color: var(--muted);
  font-size: 12.5px;
}

.result-count strong {
  color: var(--blue-800);
}

.list-main .panel .pagination {
  border-top: 1px solid var(--line-2);
}

/* --------------------------------- 分页 --------------------------------- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: #fff;
}

.pager-nums {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pager-num {
  display: grid;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 12.5px;
}

.pager-num:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  text-decoration: none;
}

.pager-num.is-active {
  background: var(--blue-800);
  border-color: var(--blue-800);
  color: #fff;
}

.pager-arrow {
  padding: 0 10px;
  height: 30px;
  line-height: 28px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-2);
  font-size: 12.5px;
}

.pager-arrow:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  text-decoration: none;
}

.pager-arrow.is-disabled {
  color: #b7c1cc;
  pointer-events: none;
}

.pager-gap {
  padding: 0 4px;
  color: var(--muted);
}

.news-panel .pagination {
  border-top: 1px solid var(--line-2);
}

/* --------------------------------- 详情页 --------------------------------- */

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  padding-bottom: 34px;
}

.article {
  padding: 28px 34px;
  min-width: 0;
}

.article > h1 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--blue-950);
  text-align: left;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-meta .icon {
  width: 13px;
  height: 13px;
}

.article-meta a {
  color: var(--blue-700);
}

.prose {
  padding-top: 18px;
  font-size: 15px;
  line-height: 1.95;
  color: var(--text-2);
}

.prose p {
  margin: 0.7em 0;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 1.2em 0 0.5em;
  color: var(--blue-950);
  line-height: 1.5;
}

.prose h2 {
  font-size: 19px;
}

.prose h3 {
  font-size: 16px;
}

.prose ul,
.prose ol {
  margin: 0.6em 0;
  padding-left: 2em;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  margin: 0.3em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 13px;
}

.prose th,
.prose td {
  padding: 7px 9px;
  border: 1px solid var(--line);
}

.prose th {
  background: #f1f5fa;
}

.prose img {
  max-width: 100%;
  height: auto;
  margin: 12px auto;
  border: 1px solid var(--line-2);
}

.prose a {
  color: var(--blue-700);
  text-decoration: underline;
}

.prose blockquote {
  margin: 1em 0;
  padding: 10px 14px;
  background: var(--blue-50);
  border-left: 3px solid var(--blue-600);
  color: var(--text-2);
}

.attachments {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.attachments h2 {
  position: relative;
  padding-left: 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-950);
}

.attachments h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 15px;
  margin-top: -7px;
  background: var(--blue-700);
}

.attachment-list {
  margin-top: 10px;
  border: 1px solid var(--line-2);
}

.attachment-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-2);
}

.attachment-row:last-child {
  border-bottom: 0;
}

.file-type {
  display: grid;
  place-items: center;
  width: 46px;
  height: 30px;
  flex: none;
  background: var(--blue-50);
  border: 1px solid #d7e4f2;
  color: var(--blue-800);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.attachment-info {
  min-width: 0;
  flex: 1;
}

.attachment-name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  color: var(--text);
}

.attachment-name:hover {
  color: var(--blue-700);
}

.attachment-info small {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--muted-2);
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: none;
  height: 30px;
  padding: 0 12px;
  background: var(--blue-800);
  color: #fff;
  font-size: 12px;
}

.btn-download:hover {
  background: var(--blue-700);
  color: #fff;
  text-decoration: none;
}

.btn-download .icon {
  width: 13px;
  height: 13px;
}

.prev-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line-2);
}

.prev-next a {
  display: block;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid var(--line-2);
  background: #fbfcfe;
}

.prev-next a:hover {
  border-color: #c6d8ea;
  text-decoration: none;
}

.prev-next a.next {
  text-align: right;
}

.prev-next span {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
}

.prev-next strong {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-2);
}

.detail-side {
  display: grid;
  gap: 16px;
}

.related-list li {
  padding: 9px 0;
  border-bottom: 1px dashed var(--line-2);
}

.related-list li:last-child {
  border-bottom: 0;
}

.related-list a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-2);
}

.related-list span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--muted-2);
}

/* --------------------------------- 企业申报 --------------------------------- */

.apply-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.apply-note .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--blue-600);
}

/* ------------------------------ 获证企业与产品 ------------------------------ */

.certified-table {
  min-width: 960px;
}

.certified-table .col-cert-company {
  width: 26%;
  min-width: 190px;
}

.certified-table .col-cert-product {
  width: 25%;
  min-width: 180px;
}

.certified-table .col-cert-no {
  width: 150px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
}

.certified-table td a {
  color: var(--blue-700);
}

.certified-category {
  display: inline-block;
  margin-bottom: 8px;
  padding: 1px 8px;
  background: var(--blue-50);
  border: 1px solid #d7e4f2;
  color: var(--blue-800);
  font-size: 11.5px;
}

.certified-product {
  margin-top: 4px;
  font-size: 16px;
  color: var(--blue-800);
}

.certified-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.certified-grid > div {
  padding: 11px 14px;
  background: #fff;
}

.certified-grid span {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
}

.certified-grid strong {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text-2);
}

.certified-source {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
}

.certified-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.certified-actions .icon {
  width: 13px;
  height: 13px;
}

/* --------------------------------- 联系我们 --------------------------------- */

.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  padding-bottom: 34px;
}

.contact-body {
  padding: 22px 26px 26px;
}

.contact-intro {
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-2);
  white-space: pre-line;
}

.contact-list {
  margin-top: 4px;
}

.contact-row {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line-2);
}

.contact-row:last-child {
  border-bottom: 0;
}

.contact-row dt {
  font-size: 13px;
  color: var(--muted);
}

.contact-row dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
  word-break: break-word;
}

.contact-row dd a {
  color: var(--blue-700);
}

.contact-row dd.is-empty {
  color: var(--muted-2);
}

.contact-note {
  margin-top: 14px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.contact-empty {
  margin-top: 18px;
  padding: 15px;
  border: 1px dashed var(--line-strong);
  background: var(--blue-50);
  color: var(--muted);
  font-size: 12.5px;
}

.qr-body {
  padding: 22px;
  text-align: center;
}

.qr-body img {
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  object-fit: contain;
  border: 1px solid var(--line-2);
  padding: 6px;
  background: #fff;
}

.qr-body p {
  font-size: 12.5px;
  color: var(--muted);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  width: 200px;
  height: 200px;
  margin: 0 auto 12px;
  border: 1px dashed var(--line-strong);
  background: var(--blue-50);
  color: var(--muted-2);
  font-size: 12px;
}

.qr-placeholder .icon {
  width: 38px;
  height: 38px;
  opacity: 0.55;
}

/* --------------------------------- 错误页 --------------------------------- */

.error-page {
  padding: 80px 0 100px;
  text-align: center;
}

.error-code {
  font-size: 80px;
  line-height: 1;
  font-weight: 700;
  color: #dbe5f0;
}

.error-page h1 {
  margin-top: 8px;
  font-size: 24px;
  color: var(--blue-950);
}

.error-page > p:not(.error-code) {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 20px;
  font-size: 13px;
}

.btn-primary {
  background: var(--blue-800);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-700);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  border: 1px solid #c6d2df;
  background: #fff;
  color: var(--text-2);
}

.btn-secondary:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
  text-decoration: none;
}

/* --------------------------------- 页脚 --------------------------------- */

.site-footer {
  background: var(--blue-950);
  color: rgba(255, 255, 255, 0.66);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.7fr 0.7fr 0.8fr;
  gap: 40px;
  padding: 34px 0 28px;
}

.footer-brand h2 {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
}

.footer-brand > p {
  margin-top: 7px;
  font-size: 12.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
}

.footer-source {
  color: rgba(255, 255, 255, 0.45) !important;
}

.footer-col h3 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.footer-col a {
  display: block;
  padding: 3px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
}

/* --------------------------------- 移动菜单 --------------------------------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #fff;
  overflow-y: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 16px;
  background: var(--blue-800);
  color: #fff;
}

.mobile-menu-head strong {
  font-size: 16px;
}

.mobile-menu-head button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #fff;
}

.mobile-menu nav {
  padding: 8px 16px;
}

.mobile-menu nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
  color: var(--text);
}

.mobile-menu nav a.is-active {
  color: var(--blue-700);
  font-weight: 600;
}

.mobile-menu nav .icon {
  width: 14px;
  height: 14px;
  color: var(--muted-2);
}

.mobile-search {
  display: flex;
  gap: 8px;
  padding: 16px;
}

.mobile-search input {
  flex: 1;
  height: 38px;
  padding: 0 10px;
  border: 1px solid #c6d2df;
}

.mobile-search button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  background: var(--blue-800);
  color: #fff;
}

body.menu-open {
  overflow: hidden;
}

/* --------------------------------- 响应式 --------------------------------- */

@media (max-width: 1100px) {
  .brand-text strong {
    font-size: 23px;
  }

  .brand-text strong em {
    font-size: 19px;
  }

  .header-search {
    width: 250px;
  }

  .home-grid {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
}

@media (max-width: 960px) {
  .header-in {
    min-height: 84px;
    gap: 16px;
  }

  .header-search {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    display: none;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .home-side {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .logo-card {
    grid-row: span 2;
  }

  .list-layout {
    grid-template-columns: 1fr;
  }

  .list-side {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .contact-page {
    grid-template-columns: 1fr;
  }

  .detail-side {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .detail-side .logo-card {
    display: none;
  }

  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 24px);
  }

  .topbar {
    display: none;
  }

  .header-in {
    min-height: 72px;
    padding-block: 10px;
  }

  .brand-logo {
    width: 52px;
    height: 48px;
  }

  .brand-text strong {
    font-size: 19px;
    letter-spacing: 0;
  }

  .brand-text strong em {
    display: block;
    font-size: 16px;
    margin-top: 1px;
  }

  .brand-text small {
    font-size: 11px;
    letter-spacing: 0;
  }

  .notice-bar {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
  }

  .notice-bar p {
    flex-basis: 100%;
    order: 3;
    line-height: 1.6;
  }

  .notice-date {
    margin-left: auto;
  }

  .home-grid {
    margin-top: 12px;
    gap: 12px;
  }

  .home-main {
    gap: 12px;
  }

  .home-side {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .logo-card {
    grid-row: auto;
  }

  .panel-head {
    height: 44px;
    padding: 0 12px;
  }

  .panel-head h2 {
    font-size: 16px;
  }

  .news-list {
    padding: 2px 12px;
  }

  .news-item {
    gap: 10px;
    padding: 12px 0;
  }

  .news-date {
    width: 66px;
    height: 50px;
  }

  .news-date em {
    font-size: 17px;
  }

  .news-date strong {
    font-size: 11px;
  }

  .news-body h3 {
    font-size: 14px;
  }

  .news-body p {
    -webkit-line-clamp: 2;
    font-size: 12px;
  }

  .news-list--large .news-body h3 {
    font-size: 14.5px;
  }

  .page-banner {
    padding: 16px 0 14px;
  }

  .page-banner h1 {
    font-size: 22px;
  }

  .list-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .mobile-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
  }

  .mobile-cats a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    height: 30px;
    padding: 0 9px;
    border: 1px solid var(--line);
    background: #fff;
    font-size: 12px;
    color: var(--text-2);
  }

  .mobile-cats a:hover {
    color: var(--blue-700);
    text-decoration: none;
  }

  .mobile-cats a.is-active {
    background: var(--blue-800);
    border-color: var(--blue-800);
    color: #fff;
  }

  .mobile-cats em {
    font-style: normal;
    font-size: 10px;
    opacity: 0.7;
  }

  .list-layout--docs .list-side {
    display: none;
  }

  .mobile-pdf-links {
    display: block;
    margin-top: 12px;
    padding: 0 12px 12px;
    background: #fff;
    border: 1px solid var(--line);
  }

  .mobile-pdf-links h3 {
    position: relative;
    margin: 0 -12px 6px;
    padding: 11px 12px 9px 24px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--blue-950);
  }

  .mobile-pdf-links h3::before {
    content: "";
    position: absolute;
    left: 12px;
    top: 16px;
    width: 3px;
    height: 13px;
    background: var(--blue-700);
  }

  .mobile-pdf-links div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
  }

  .mobile-pdf-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 7px 0;
    font-size: 12px;
    color: var(--text-2);
  }

  .mobile-pdf-links .icon {
    width: 12px;
    height: 12px;
    color: var(--blue-600);
  }

  .list-search {
    max-width: none;
  }

  .result-count {
    text-align: right;
  }

  .list-side {
    grid-template-columns: 1fr;
  }

  .mark-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    margin-bottom: 20px;
  }

  .mark-image {
    border-right: 0;
    border-bottom: 1px solid var(--line-2);
    padding-bottom: 14px;
  }

  .mark-image img {
    width: 140px;
    height: 128px;
  }

  .mark-text h2 {
    font-size: 17px;
  }

  .article {
    padding: 20px 16px;
  }

  .certified-table {
    min-width: 0;
  }

  .certified-table .col-cert-company,
  .certified-table .col-cert-product {
    min-width: 0;
    width: 40%;
  }

  .certified-table .col-cert-no {
    display: none;
  }

  .certified-grid {
    grid-template-columns: 1fr;
  }

  .certified-actions {
    flex-direction: column;
  }

  .certified-actions a {
    width: 100%;
  }

  .contact-body {
    padding: 18px 16px 20px;
  }

  .contact-row {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 10px;
  }

  .qr-body img,
  .qr-placeholder {
    width: 180px;
    height: 180px;
  }

  .article > h1 {
    font-size: 20px;
  }

  .prose {
    font-size: 14px;
  }

  .attachment-row {
    flex-wrap: wrap;
  }

  .attachment-info {
    flex-basis: calc(100% - 60px);
  }

  .btn-download {
    margin-left: 58px;
  }

  .attachment-name {
    white-space: normal;
    line-height: 1.5;
  }

  .prev-next {
    grid-template-columns: 1fr;
  }

  .prev-next a.next {
    text-align: left;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0 18px;
  }

  .footer-bottom-in {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .detail-side {
    grid-template-columns: 1fr;
  }

  .pagination {
    gap: 6px;
    padding: 12px 8px;
  }

  .pager-num {
    min-width: 28px;
    height: 28px;
  }

  .pager-arrow {
    height: 28px;
    line-height: 26px;
    padding: 0 7px;
  }

  .data-table {
    min-width: 0;
    table-layout: auto;
  }

  .data-table th,
  .data-table td {
    padding: 9px 6px;
  }

  .data-table .col-type {
    display: none;
  }

  .data-table .col-no {
    width: 38px;
    font-size: 11px;
  }

  .data-table .col-title {
    min-width: 0;
  }

  .data-table .col-title > a {
    display: block;
    line-height: 1.55;
  }

  .data-table .col-date {
    width: 76px;
    font-size: 11px;
  }

  .data-table .col-action {
    width: 54px;
  }

  .data-table .download-link {
    font-size: 11.5px;
  }
}

@media (max-width: 420px) {
  .brand-text strong {
    font-size: 17px;
  }

  .brand-text strong em {
    font-size: 14px;
  }

  .brand-text small {
    display: none;
  }

  .brand-logo {
    width: 46px;
    height: 43px;
  }
}

/* --------------------------------- 打印 --------------------------------- */

@media print {
  .topbar,
  .site-header,
  .main-nav,
  .site-footer,
  .breadcrumb,
  .detail-side,
  .prev-next,
  .attachments,
  .notice-bar {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .article {
    border: 0;
    padding: 0;
  }

  .detail-layout {
    display: block;
  }

  .prose {
    font-size: 11pt;
  }
}
