:root {
  --page-width: 958px;
  --article-width: 956px;
  --content-width: 898px;
  --line-color: #b5b5b5;
  --accent: #d60000;
  --text: #111;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #fff;
}

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "宋体", SimSun, serif;
  font-size: 12px;
  text-align: center;
}

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

a {
  color: #2b2b2b;
  text-decoration: none;
}

.page-shell {
  width: var(--page-width);
  margin-right: auto;
  margin-left: auto;
}

.site-header {
  background: #fff;
}

.header-main {
  position: relative;
  height: 108px;
  overflow: hidden;
  background: url("assets/b1.jpg") center top / 100% 108px no-repeat;
}

.site-logo {
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 444px;
  height: 93px;
  object-fit: contain;
  object-position: left center;
}

.header-tools {
  position: absolute;
  top: 12px;
  right: 2px;
  width: 447px;
}

.search-box {
  position: relative;
  width: 447px;
  height: 39px;
  background: url("assets/search.jpg") left center / 447px 39px no-repeat;
}

.search-category {
  position: absolute;
  top: 7px;
  left: 5px;
  width: 115px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

.search-box input[type="text"] {
  position: absolute;
  top: 7px;
  left: 125px;
  width: 250px;
  height: 24px;
  padding: 0 6px;
  color: #aaa;
  background: transparent;
  border: 0;
  outline: 0;
  font-family: inherit;
  font-size: 12px;
}

.search-box button {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 55px;
  height: 26px;
  overflow: hidden;
  color: transparent;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.quick-links {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 7px;
}

.quick-links a {
  height: 26px;
  padding-left: 21px;
  color: #222;
  background-position: center;
  background-repeat: no-repeat;
  line-height: 26px;
  font-size: 13px;
  text-align: center;
}

.quick-links a:nth-child(1) {
  width: 120px;
  background-image: url("assets/t1.jpg");
}

.quick-links a:nth-child(2) {
  width: 133px;
  background-image: url("assets/t2.jpg");
}

.quick-links a:nth-child(3) {
  width: 163px;
  background-image: url("assets/t3.jpg");
}

.nav-scroll {
  scrollbar-width: none;
}

.nav-scroll::-webkit-scrollbar {
  display: none;
}

.primary-nav {
  display: flex;
  min-width: 0;
  height: 42px;
  background: url("assets/t4.jpg") center bottom / 100% 37px no-repeat;
  border-top: 5px solid #d6100c;
  white-space: nowrap;
}

.primary-nav a {
  flex: 1 0 auto;
  min-width: 82px;
  height: 29px;
  padding: 0 12px;
  background: url("assets/t5.jpg") right center / 6px 29px no-repeat;
  color: #111;
  line-height: 29px;
  font-size: 13px;
}

.primary-nav a:last-child {
  background-image: none;
}

.topic-nav {
  position: relative;
  display: grid;
  grid-template-columns: 320px 408px 230px;
  width: 100%;
  height: 52px;
  overflow: hidden;
  background: url("assets/nav.gif") center / 958px 52px no-repeat;
  text-align: left;
}

.topic-group {
  position: relative;
  display: flex;
  align-content: center;
  flex-wrap: wrap;
  gap: 0 15px;
  height: 52px;
  padding: 4px 8px 4px 80px;
  line-height: 21px;
}

.topic-group a {
  color: #2b2b2b;
  white-space: nowrap;
}

.topic-data {
  padding-left: 84px;
}

.topic-service {
  padding-left: 82px;
}

.banner-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 5px;
  background: #fff;
}

.banner-row a {
  width: calc(50% - 6px);
}

.banner-row img {
  width: 100%;
  height: 85px;
  object-fit: fill;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 31px;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
}

.breadcrumb a {
  color: #111;
}

.article-card {
  width: min(var(--article-width), calc(100% - 24px));
  margin: 0 auto;
  padding-top: 6px;
  background: #fff;
  border: 1px solid var(--line-color);
}

.article-card h1 {
  margin: 0;
  padding: 13px 24px 4px;
  color: red;
  font-size: 18px;
  line-height: 1.5;
  font-weight: bold;
  text-align: center;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 46px;
  padding: 6px 18px;
}

.publish-line {
  display: flex;
  gap: 25px;
  white-space: nowrap;
}

.article-actions {
  display: flex;
  gap: 10px;
}

.article-actions a,
.article-actions button,
.article-actions img {
  width: 114px;
  height: 25px;
}

.article-action-button {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.article-rule {
  width: calc(var(--content-width) - 40px);
  max-width: calc(100% - 58px);
  height: 1px;
  margin: 0 auto;
  background: #999;
}

.article-content {
  width: min(var(--content-width), calc(100% - 56px));
  margin: 0 auto;
  padding: 22px 0 18px;
  font-size: 14px;
  line-height: 24px;
  text-align: left;
}

.article-content section {
  margin: 0 0 13px;
}

.article-content h2 {
  margin: 0 0 7px;
  font-size: 14px;
  line-height: 24px;
  font-weight: normal;
}

.article-content p {
  margin: 0 0 7px;
  text-indent: 2em;
}

.numbered-list {
  margin: 0 0 7px;
}

.article-content .numbered-item {
  padding-left: 3em;
  text-indent: 0;
}

.table-scroll {
  width: 78%;
  margin: 8px 0 16px 3em;
  overflow-x: auto;
}

.notice-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  font-size: 14px;
}

.notice-table td {
  padding: 9px 10px;
  border: 1px solid #777;
  vertical-align: top;
  line-height: 24px;
}

.notice-table td:first-child {
  width: 39%;
}

#notice-company td:first-child {
  width: 52%;
}

#notice-company td {
  vertical-align: middle;
}

.article-promo {
  width: min(857px, calc(100% - 56px));
  margin: 0 auto 8px;
  padding-top: 15px;
  border-top: 1px dotted #aaa;
}

.article-promo img {
  width: 100%;
  height: auto;
}

.related {
  margin-top: 8px;
  padding: 9px 5px 11px;
  border: 1px solid #999;
  text-align: left;
}

.related h2 {
  margin: 0 0 3px;
  font-size: 12px;
  font-weight: normal;
}

.related-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 0 24px;
}

.related ul {
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.related li {
  overflow: hidden;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  min-height: 0;
  margin-top: 9px;
  padding: 10px 0;
  background: #f7f7f7;
  border: 1px solid #eee;
}

.service-item {
  min-width: 0;
  text-align: center;
}

.service-item + .service-item {
  border-left: 1px solid #ddd;
}

.service-item img {
  width: auto;
  max-width: 90%;
  height: 15px;
  margin: 0 auto;
  object-fit: contain;
}

.logo-link,
.service-item a {
  display: block;
}

.site-footer {
  min-height: 174px;
  margin-top: 8px;
  padding-top: 20px;
  background: url("assets/foot.jpg") top center / 100% 174px no-repeat;
  color: #2b2b2b;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 13px;
}

.footer-links a {
  padding: 0 9px;
  border-right: 1px solid #777;
}

.footer-links a:last-child {
  border-right: 0;
}

.site-footer p {
  margin: 0 0 9px;
  font-family: "宋体", SimSun, serif;
}

.footer-badges {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
}

.footer-badges div {
  display: flex;
  width: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  font-size: 11px;
}

.footer-badges a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-badges img {
  width: auto;
  height: 44px;
  object-fit: contain;
}

.footer-badges span {
  margin-top: 3px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .page-shell,
  .article-card {
    width: 100%;
  }

  .header-main {
    height: 155px;
    overflow: visible;
    background-size: auto 108px;
  }

  .site-logo {
    top: 4px;
    bottom: auto;
    left: 12px;
    width: min(444px, calc(100% - 24px));
    height: 82px;
    object-position: left center;
  }

  .header-tools {
    top: 103px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  .search-box {
    width: 100%;
    background-size: 100% 39px;
  }

  .search-box input {
    right: 65px;
    width: auto;
  }

  .quick-links {
    display: none;
  }

  .primary-nav {
    width: 100%;
    overflow-x: auto;
    background-size: auto 42px;
  }

  .primary-nav a {
    flex: 0 0 auto;
  }

  .topic-nav {
    display: flex;
    width: 100%;
    overflow-x: auto;
    background-position: left top;
  }

  .topic-group {
    flex: 0 0 auto;
  }

  .topic-hot {
    width: 320px;
  }

  .topic-data {
    width: 408px;
  }

  .topic-service {
    width: 230px;
  }

  .banner-row {
    flex-direction: column;
    gap: 6px;
    padding: 6px 12px 0;
  }

  .banner-row img {
    width: 100%;
    height: auto;
  }

  .breadcrumb {
    width: 100%;
    padding: 0 12px;
    overflow-x: auto;
  }

  .article-card h1 {
    padding-right: 16px;
    padding-left: 16px;
    font-size: 17px;
  }

  .article-meta {
    flex-direction: column;
    gap: 7px;
    padding-right: 8px;
    padding-left: 8px;
  }

  .publish-line {
    gap: 14px;
  }

  .article-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
  }

  .article-rule {
    max-width: calc(100% - 24px);
  }

  .article-content {
    width: 100%;
    padding: 18px 16px 12px;
    line-height: 1.85;
  }

  .article-content p {
    text-indent: 0;
  }

  .article-content .numbered-item {
    padding-left: 2em;
  }

  .table-scroll {
    width: calc(100% - 2em);
    margin-right: 1em;
    margin-left: 1em;
    overflow-x: auto;
  }

  .article-promo {
    width: calc(100% - 24px);
  }

  .related {
    width: 100%;
    padding: 10px 12px;
  }

  .related-columns {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .service-strip {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 13px 12px;
  }

  .service-item + .service-item {
    padding-top: 10px;
    border-top: 1px solid #ddd;
    border-left: 0;
  }

  .site-footer {
    width: 100%;
    min-height: 210px;
    padding-right: 12px;
    padding-left: 12px;
    background-size: auto 100%;
  }

  .footer-links {
    gap: 8px 0;
  }

  .site-footer p {
    line-height: 1.6;
  }

  .footer-badges {
    gap: 8px;
  }
}
