/* font-awesome-minjian.css */
@font-face {
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../webfonts/fa-solid-900.woff2") format("woff2");
}

.fa {
  display: inline-block;
  font-family: "Font Awesome 5 Free";
  font-style: normal;
  font-variant: normal;
  font-weight: 900;
  line-height: 1;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.fa-home::before {
  content: "\f015";
}

.fa-cog::before {
  content: "\f013";
}

.fa-user::before {
  content: "\f007";
}

.fa-search::before {
  content: "\f002";
}

.fa-file::before {
  content: "\f15b";
}

.fa-info-circle::before {
  content: "\f05a";
}

.fa-list::before {
  content: "\f03a";
}

.fa-group::before {
  content: "\f0c0";
}

.fa-users::before {
  content: "\f0c0";
}

.fa-question::before {
  content: "\f128";
}

.fa-comments::before {
  content: "\f086";
}

.fa-bullhorn::before {
  content: "\f0a1";
}

.fa-bell::before {
  content: "\f0f3";
}

.fa-download::before {
  content: "\f019";
}

.fa-warning::before {
  content: "\f071";
}

.fa-desktop::before {
  content: "\f108";
}

.fa-book::before {
  content: "\f02d";
}

.fa-bar-chart::before {
  content: "\f080";
}

.fa-plus::before {
  content: "\f067";
}

/* minjian.css */
:root {
  --brand-red: #c30404;
  --headline: #12375f;
  --accent: #e57d20;
  --cyan: #0cb1ca;
  --ink: #333;
  --muted: #6f7274;
  --soft: #f2f2f2;
}

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background: url("/asset/minjian/mj-bg.jpg") no-repeat center top fixed;
  background-size: cover;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

body.htmx-request {
  cursor: progress;
}

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

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  color: #999;
}

button,
input,
textarea {
  font: inherit;
}

button,
input[type="submit"] {
  cursor: pointer;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: 1140px;
  max-width: calc(100% - 30px);
  margin-right: auto;
  margin-left: auto;
  background: #fff;
}

.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;
}

.top-bar {
  color: #fff;
  background: #333;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.top-bar-inner {
  min-height: 40px;
  padding: 8px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #333;
}

.top-brand {
  font-size: 13px;
}

.top-brand .fa {
  margin-right: 4px;
  font-size: 17px;
}

.top-links {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}

.top-links a {
  color: #fff;
}

.top-links a:hover {
  color: #ddd;
}

.top-links .fa {
  margin-right: 2px;
}

.masthead {
  height: 150px;
  display: flex;
  align-items: stretch;
}

.site-logo {
  width: 58.333333%;
  padding-left: 50px;
  display: flex;
  align-items: center;
}

.site-logo img {
  width: 500px;
}

.site-search {
  width: 41.666667%;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.site-search input {
  width: 60%;
  height: 33px;
  margin-left: 40px;
  margin-right: 5px;
  padding: 6px 10px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  outline: none;
}

.site-search input:focus {
  border-color: #5bc0de;
  box-shadow: 0 0 0 2px rgb(91 192 222 / 18%);
}

.site-search button,
.inline-search button {
  min-height: 33px;
  padding: 6px 12px;
  color: #fff;
  background: #17a2b8;
  border: 1px solid #17a2b8;
  border-radius: 4px;
}

.site-search button .fa {
  margin-right: 2px;
}

.site-nav {
  min-height: 55px;
  padding: 12px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--brand-red);
  font-size: 20px;
}

.site-nav a {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a:hover {
  color: #eee;
}

main {
  display: block;
}

.home-top {
  padding: 30px 0 0;
}

.home-news-grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
}

.home-slider,
.headline-list,
.minjian-info {
  min-width: 0;
  padding-right: 15px;
  padding-left: 15px;
}

.home-slider {
  padding-right: 20px;
  padding-left: 20px;
  padding-top: 5px;
}

.slides {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #fff;
}

.slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 320ms ease;
}

.slide.is-active {
  visibility: visible;
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.slider-empty {
  background: #f4f4f4;
}

.slider-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 62px;
  padding: 0;
  transform: translateY(-50%);
  color: #fff;
  background: transparent;
  border: 0;
  font-family: Arial, sans-serif;
  font-size: 62px;
  font-weight: 200;
  line-height: 1;
  text-shadow: 0 1px 4px rgb(0 0 0 / 55%);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

.slider-dots {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 10px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: #111;
  border: 1px solid #ccc;
  border-radius: 50%;
}

.slider-dot.is-active {
  background: #fff;
}

.slider-caption {
  min-height: 34px;
  padding: 3px 5px 5px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #eee;
}

.slider-numbers {
  display: flex;
  flex: 0 0 auto;
}

.slider-number {
  min-width: 28px;
  height: 26px;
  padding: 0 7px;
  color: #333;
  background: transparent;
  border: 0;
  border-radius: 5px;
}

.slider-number.is-current {
  color: #fff;
  background: var(--accent);
}

.slider-caption > a {
  display: block;
  min-width: 0;
  padding: 1px 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.headline-list {
  padding-top: 5px;
}

.headline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.headline-heading h3 {
  margin: 0;
  padding: 5px 20px;
  color: var(--headline);
  font-size: 28px;
  font-weight: 700;
}

.headline-heading a {
  padding-top: 7px;
  padding-right: 20px;
}

.headline-list ul {
  padding-left: 25px;
  margin-top: 10px;
}

.headline-list li {
  margin: 8px 0;
  color: var(--headline);
}

.headline-list li a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.minjian-info {
  padding-top: 5px;
}

.info-card,
.notice-card {
  padding: 10px 15px 1px;
  background: var(--soft);
  border-radius: 5px;
}

.info-card h3 {
  margin: 4px 0 5px;
  padding: 0 0 5px 5px;
  border-bottom: 2px solid var(--accent);
  color: var(--headline);
  font-size: 20px;
}

.info-card ul {
  padding: 0;
  margin: 5px auto 15px;
  list-style: none;
}

.info-card li {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  min-height: 39px;
  font-size: 18px;
  font-weight: 700;
}

.info-icon {
  width: 25px;
  height: 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.info-card li a {
  padding-left: 8px;
}

.notice-card {
  min-height: 52px;
  padding: 10px 23px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 22px;
  font-weight: 700;
}

.notice-card .info-icon {
  flex: 0 0 25px;
}

.home-sections {
  padding: 10px 0 30px;
}

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

.home-main-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
}

.section-list,
.side-links,
.home-sidebar {
  min-width: 0;
  padding-right: 15px;
  padding-left: 15px;
}

.section-list {
  margin-bottom: 20px;
}

.section-list-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #ccc;
}

.section-list-title h3 {
  margin: 0 0 -3px;
  padding: 0 0 5px;
  border-bottom: 3px solid var(--accent);
  color: var(--headline);
  font-size: 24px;
}

.section-list-title a {
  padding-right: 10px;
}

.section-list ul {
  padding-left: 20px;
  margin: 20px 0 0;
}

.section-list li {
  margin: 5px 0;
  color: var(--headline);
}

.section-list li a {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-links {
  padding-top: 1px;
  padding-bottom: 30px;
  margin: 0 15px 30px;
  background: var(--soft);
  border-radius: 5px;
}

.home-row > .side-links {
  margin-right: 15px;
  margin-left: 15px;
}

.home-sidebar {
  padding: 0;
}

.side-links h3 {
  margin: 25px 0 15px;
  padding: 0 0 10px 5px;
  border-bottom: 2px solid var(--accent);
  color: var(--headline);
  font-size: 21px;
}

.side-links ul {
  padding-left: 20px;
  margin: 0;
}

.side-links li {
  margin: 8px 10px 8px 0;
  font-size: 16px;
}

.side-links-compact ul {
  padding: 0;
  list-style: none;
}

.side-links-compact ul::after {
  display: block;
  clear: both;
  content: "";
}

.side-links-compact li {
  float: left;
}

.site-footer {
  color: var(--muted);
}

.footer-bg {
  background: #0e151b;
}

.footer-inner {
  padding: 40px 15px 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  background: #0e151b;
}

.footer-column {
  min-width: 0;
  padding: 0 15px;
  margin-bottom: 30px;
}

.footer-column a {
  color: var(--muted);
}

.footer-identity {
  display: flex;
  align-items: center;
}

.government-mark {
  flex: 0 0 auto;
  margin-right: 24px;
}

.government-mark img {
  width: 80px;
}

.footer-identity p {
  margin: 0;
  font-size: 13px;
}

.footer-address {
  padding-left: 30px;
}

.footer-meta {
  display: flex;
  gap: 30px;
}

.footer-meta h4 {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.row-even {
  background: #f1f4f9;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-md-1,
.col-md-2,
.col-md-3,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-12 {
  position: relative;
  width: 100%;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.col-md-1 {
  flex: 0 0 8.333333%;
  max-width: 8.333333%;
}

.col-md-2 {
  flex: 0 0 16.666667%;
  max-width: 16.666667%;
}

.col-md-3 {
  flex: 0 0 25%;
  max-width: 25%;
}

.col-md-7 {
  flex: 0 0 58.333333%;
  max-width: 58.333333%;
}

.col-md-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-md-9 {
  flex: 0 0 75%;
  max-width: 75%;
}

.col-md-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

.col-md-12 {
  flex: 0 0 100%;
  max-width: 100%;
}

.breadcrumb-wrap {
  padding: 48px 30px 10px;
}

.breadcrumb {
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  background: #fff;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.content-grid {
  padding: 0 0 30px;
  display: grid;
  grid-template-columns: 1fr 3fr;
  align-items: start;
}

.content-sidebar {
  min-width: 0;
  padding-right: 15px;
  padding-left: 15px;
}

.content-main {
  min-width: 0;
  padding-right: 10px;
  padding-left: 0;
}

.member-nav {
  width: 100%;
  min-height: 30vh;
  padding: 20px 0;
  margin: 10px 0 20px;
  background: var(--soft);
  border-radius: 10px;
}

.member-nav-item {
  width: 100%;
  min-height: 48px;
  padding: 8px 10px;
  display: block;
  border-bottom: 1px solid #fefefe;
  font-size: 16px;
  line-height: 2em;
  text-align: center;
}

.member-nav-item.is-active {
  background: #fff;
  border-right: 1px solid var(--soft);
  border-left: 3px solid #00bed6;
}

.member-nav__item {
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #fefefe;
  font-size: 16px;
  line-height: 3em;
  text-align: center;
}

.member-nav__item-active {
  background: #fff;
  border-right: 1px solid var(--soft);
  border-left: 3px solid #00bed6;
}

.member-main {
  margin-bottom: 30px;
  background: #fff;
}

.contact-container .member-nav {
  min-height: 690px;
}

.contact-container .news-show__title {
  padding-bottom: 15px;
  margin: 20px 0;
}

.contact-container .news-show__body {
  padding: 10px 0 30px;
}

.contact-body__sub-title {
  margin-top: 20px !important;
  font-weight: 700;
  text-indent: 20px !important;
}

.constitution-main__chapter {
  margin-top: 24px;
  font-weight: 700;
  text-align: center;
}

.recent-panel {
  padding: 20px;
  margin-bottom: 20px;
  background: var(--soft);
  border-top: 5px solid var(--cyan);
  border-radius: 5px;
}

.recent-panel h3 {
  padding: 10px;
  margin: 0 0 20px;
  color: #666;
  font-size: 20px;
}

.recent-panel ul {
  padding: 0 0 0 10px;
  margin: 0;
  list-style: none;
}

.recent-panel li {
  margin: 15px 0;
}

.qr-panel {
  padding: 10px;
  margin-bottom: 20px;
  display: grid;
  gap: 12px;
  background: var(--soft);
  border-top: 5px solid #00bed6;
  border-radius: 5px;
  text-align: center;
}

.qr-panel h4 {
  margin: 5px 0 10px;
}

.qr-panel img {
  width: 80%;
  margin: 0 auto;
}

.article-list-panel {
  padding-right: 10px;
}

.panel-title {
  padding: 10px;
  margin: 0 0 20px;
  border-bottom: 3px solid var(--cyan);
  color: #666;
  font-size: 20px;
  line-height: 1.6;
}

.article-list {
  padding: 0 0 0 35px;
  margin: 0;
  list-style: none;
}

.article-list li {
  padding: 5px 0;
  margin: 10px 0;
}

.article-list-title {
  font-size: 16px;
  font-weight: 700;
}

.article-list-date {
  margin-top: 3px;
  color: #999;
}

.article-list-date span {
  margin-left: 12px;
}

.pager {
  padding: 10px 0 5px 35px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.pager a {
  min-height: 36px;
  padding: 7px 16px;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.pager a:hover {
  color: #fff;
  background: var(--cyan);
  border-color: var(--cyan);
}

.pager a.is-disabled {
  pointer-events: none;
  color: #aaa;
  background: #fafafa;
}

.pager span {
  padding: 7px 14px;
  color: #777;
}

.article-detail h1 {
  padding: 10px;
  margin: 0 0 20px;
  border-bottom: 3px solid #00bed6;
  color: #333;
  font-size: 20px;
  line-height: 1.6;
  text-align: center;
}

.news-show__title {
  padding: 10px;
  margin-bottom: 20px;
  color: #333;
  border-bottom: 3px solid #00bed6;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

.news-show__time {
  margin: 15px 0;
  color: #666;
  text-align: center;
}

.news-show__body {
  padding: 30px 10px 0;
}

.news-show__body p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.news-show__body img {
  max-width: 100%;
  max-height: 100%;
  height: auto !important;
}

.article-meta {
  margin: 15px 0;
  color: #666;
  text-align: center;
}

.article-meta span {
  margin: 0 20px;
}

.article-body {
  padding: 30px 10px 0;
  overflow-wrap: anywhere;
}

.article-body p {
  color: #333;
  font-size: 16px;
  line-height: 1.5;
}

.article-body img,
.article-body video,
.article-body table {
  max-width: 100%;
  height: auto !important;
}

.attachment {
  padding: 15px 20px;
  margin-top: 30px;
  background: var(--soft);
  border-radius: 5px;
  font-size: 18px;
}

.attachment strong {
  color: #ff7701;
  font-size: 22px;
}

.copyright-note {
  padding: 2px 20px 20px;
}

.article-missing {
  min-height: 600px;
  padding-top: 150px;
  color: #222;
  font-size: 58px;
  font-weight: 700;
  text-align: center;
}

.warning-icon {
  display: inline-block;
  margin-right: 20px;
  font-size: 88px;
}

.search-results {
  min-height: 300px;
  padding: 30px 25px;
}

.search-summary {
  margin: 10px 0 10px 25px;
}

.search-summary strong {
  color: red;
  font-size: 22px;
}

.service-breadcrumb {
  padding: 40px 17px 20px;
}

.service-home {
  padding: 30px 15px;
}

.service-path {
  display: none;
}

.service-banner {
  height: 400px;
}

.service-img {
  min-height: 637px;
  padding: 30px 0;
  margin: 30px 10px;
  border: 1px solid #ccc;
  border-top: 5px solid #2e58b0;
  text-align: center;
}

.service-img img {
  width: 285px;
  margin: 0 auto;
}

.service-info {
  padding: 20px 20px 30px 0;
  margin: 30px 10px;
  border: 1px solid #ccc;
  border-top: 5px solid orange;
}

.service-info__wx-name,
.service-info-item__name {
  color: red;
  font-weight: 700;
}

.service-info__qrcode,
.service-info__qrcode-tip {
  text-align: center;
}

.service-info__qrcode img {
  width: 200px;
  margin: 0 auto;
}

.service-info__qrcode-tip {
  color: #999;
}

.service-info__title {
  padding: 20px;
  font-size: 22px;
  font-weight: 700;
  text-align: center;
}

.service-info-list li {
  margin: 10px 5px;
}

.service-grid {
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  min-height: 200px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.service-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.service-card span {
  font-size: 20px;
  font-weight: 700;
}

.service-panel,
.legacy-panel {
  min-height: 220px;
  padding: 20px 30px 35px;
}

.inline-search {
  max-width: 900px;
  margin: 10px 0 25px 20px;
  display: flex;
}

.inline-search input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 7px 12px;
  border: 1px solid #ccc;
  border-radius: 4px 0 0 4px;
}

.inline-search button {
  min-width: 100px;
  border-radius: 0 4px 4px 0;
}

.company-item,
.project-item {
  padding: 15px 20px;
  margin: 10px 0;
  background: #fff;
  border: 1px solid #e2e2e2;
}

.company-item h4 {
  margin: 0 0 6px;
  font-size: 19px;
}

.project-tags {
  padding: 20px;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 50px;
  text-align: center;
}

.project-tags > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.tag-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 50%;
  font-size: 32px;
}

.tag-green {
  background: #67d96a;
}

.tag-blue {
  background: #54c7fc;
}

.tag-orange {
  background: #f8952d;
}

.project-item-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.project-item-top h3 {
  margin: 0;
}

.project-company {
  margin-top: 6px;
  color: #777;
  font-weight: 700;
}

.promotion-grid {
  display: flex;
  flex-wrap: wrap;
}

.promotion-grid a {
  width: 110px;
  min-height: 110px;
  padding: 15px;
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid #ccc;
  border-radius: 55px;
  font-size: 17px;
  text-align: center;
}

.promotion-grid a span {
  font-size: 20px;
}

.promotion-result {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.project-tabs {
  display: flex;
  justify-content: center;
  background: #333;
}

.project-tabs a {
  padding: 20px 50px;
  margin: 20px 10px;
  color: #222;
  background: #fff;
  font-size: 20px;
}

.project-tabs a.is-current {
  color: #fff;
  background: orange;
  font-weight: 800;
}

.submission-form {
  padding: 20px 30px;
}

.submission-form fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.submission-form legend {
  width: 100%;
  padding-bottom: 10px;
  margin-bottom: 25px;
  border-bottom: 1px solid #e5e5e5;
  font-size: 22px;
}

.form-row {
  margin-bottom: 15px;
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 15px;
}

.form-row label {
  padding-top: 8px;
  text-align: right;
}

.form-row input,
.form-row textarea,
.legacy-panel textarea {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.required {
  color: red;
}

.form-actions {
  padding-left: 195px;
}

.form-actions button,
.legacy-panel button,
.primary-button {
  min-width: 200px;
  padding: 10px 20px;
  color: #fff;
  background: #337ab7;
  border: 1px solid #2e6da4;
  border-radius: 4px;
  font-size: 18px;
}

.flash-success {
  padding: 12px 18px;
  margin-bottom: 20px;
  color: #24663a;
  background: #e8f7ed;
  border: 1px solid #a8d9b8;
  border-radius: 4px;
}

.form-error {
  padding: 30px;
  color: #721c24;
  background: #f8d7da;
  border-radius: 5px;
}

.legacy-about-layout {
  padding: 20px 15px 0;
}

.legacy-about-layout .member-nav {
  width: 25%;
}

.legacy-article {
  padding: 10px 30px 40px;
}

.legacy-article h1 {
  padding: 10px;
  border-bottom: 3px solid #00bed6;
  font-size: 20px;
  text-align: center;
}

.legacy-article h2 {
  margin-top: 24px;
  font-size: 18px;
  text-align: center;
}

.legacy-article p {
  font-size: 16px;
  line-height: 1.7;
}

.legacy-empty {
  min-height: 300px;
}

.legacy-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-responsive {
  min-height: 0.01%;
  overflow-x: auto;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 8px;
  border-top: 1px solid #ddd;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #f9f9f9;
}

.form-control {
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  color: #555;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea.form-control {
  height: auto;
}

.form-group {
  margin-bottom: 15px;
}

.form-group::after {
  display: table;
  clear: both;
  content: "";
}

.control-label {
  padding-top: 7px;
  text-align: right;
}

.btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  color: #fff;
  background: #337ab7;
  border-color: #2e6da4;
}

.btn-default {
  color: #333;
  background: #fff;
  border-color: #ccc;
}

.pagination {
  padding-left: 0;
  margin: 20px 0;
  display: flex;
  list-style: none;
}

.pagination li a {
  min-width: 34px;
  padding: 6px 12px;
  display: block;
  color: #337ab7;
  background: #fff;
  border: 1px solid #ddd;
}

.pagination li + li a {
  margin-left: -1px;
}

.pagination .active a {
  color: #fff;
  background: #337ab7;
  border-color: #337ab7;
}

.pagination .disabled a {
  color: #777;
  pointer-events: none;
}

.job-placeholder {
  padding: 20px;
  margin-top: 15px;
  background: #f7f7f7;
}

@media (max-width: 900px) {
  .site-nav {
    padding-right: 20px;
    padding-left: 20px;
    gap: 18px;
    overflow-x: auto;
  }

  .home-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .minjian-info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
    padding-top: 15px;
  }

  .notice-card {
    margin-top: 0;
  }
}

@media (max-width: 600px) {
  body {
    background: #fff;
    font-size: 14px;
  }

  .container {
    width: 100%;
    max-width: 100%;
  }

  .top-bar {
    display: none;
  }

  .masthead {
    height: auto;
    min-height: 150px;
    padding: 12px 10px 10px;
    flex-wrap: wrap;
  }

  .site-logo {
    width: 100%;
    min-height: 90px;
    padding-left: 0;
  }

  .site-logo img {
    width: 100%;
  }

  .site-search {
    width: 100%;
    padding: 0;
  }

  .site-search input {
    width: 70%;
    margin-left: 0;
  }

  .site-nav {
    padding: 10px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    overflow: visible;
    font-size: 16px;
  }

  .site-nav a {
    width: 120px;
    padding: 4px 5px;
    margin-right: 10px;
    text-align: center;
  }

  .home-top {
    padding: 30px 0 0;
  }

  .home-news-grid {
    display: block;
  }

  .home-slider,
  .headline-list,
  .minjian-info {
    padding-right: 5px;
    padding-left: 5px;
  }

  .home-slider {
    padding-right: 20px;
    padding-left: 20px;
  }

  .minjian-info {
    display: block;
  }

  .info-card {
    margin-top: 15px;
  }

  .notice-card {
    margin-top: 10px;
  }

  .home-sections {
    padding-right: 10px;
    padding-left: 10px;
  }

  .home-row,
  .home-main-columns {
    display: block;
  }

  .section-list {
    padding-right: 5px;
    padding-left: 5px;
  }

  .side-links {
    margin-right: 5px;
    margin-left: 5px;
  }

  .footer-inner {
    padding-top: 30px;
    display: block;
  }

  .footer-identity,
  .footer-meta {
    display: flex;
  }

  .footer-address {
    padding-left: 15px;
  }

  .breadcrumb-wrap,
  .service-breadcrumb {
    display: none;
  }

  .content-grid {
    padding: 15px 10px 20px;
    display: block;
  }

  .row {
    margin-right: 0;
    margin-left: 0;
  }

  .col-md-1,
  .col-md-2,
  .col-md-3,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-12 {
    max-width: 100%;
    flex-basis: 100%;
  }

  .content-sidebar {
    display: none;
  }

  .member-nav,
  .contact-container .member-nav {
    min-height: 0;
  }

  .content-main {
    padding: 0;
  }

  .article-list-panel {
    border-radius: 0;
  }

  .article-list {
    padding-left: 20px;
  }

  .article-list-date {
    margin-top: 7px;
    margin-right: 15px;
    text-align: right;
  }

  .pager {
    padding-left: 0;
  }

  .pager span {
    width: 100%;
    padding-left: 0;
  }

  .article-detail h1 {
    font-size: 19px;
  }

  .article-meta span {
    display: block;
    margin: 4px 0;
  }

  .article-body {
    padding: 15px 5px 0;
  }

  .copyright-note {
    padding-right: 5px;
    padding-left: 5px;
  }

  .article-missing {
    min-height: 420px;
    padding-top: 100px;
    font-size: 32px;
  }

  .warning-icon {
    font-size: 48px;
  }

  .search-results {
    padding: 20px 10px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-banner {
    display: none;
  }

  .service-img {
    min-height: 400px;
    margin: 30px 0 0;
    border: 0;
  }

  .service-info {
    padding: 0;
    margin: 0 0 30px;
    border: 0;
  }

  .service-card {
    min-height: 150px;
    margin: 10px;
  }

  .service-card img {
    width: 100px;
    height: 100px;
  }

  .service-panel,
  .legacy-panel {
    padding: 20px 15px 30px;
  }

  .project-tags {
    gap: 18px;
  }

  .project-tabs a {
    padding: 15px 12px;
    margin: 10px 5px;
    font-size: 15px;
  }

  .submission-form {
    padding: 15px 0;
  }

  .form-row {
    display: block;
  }

  .form-row label {
    display: block;
    padding: 0 0 5px;
    text-align: left;
  }

  .form-actions {
    padding-left: 0;
    text-align: center;
  }

  .legacy-about-layout .member-nav {
    display: none;
  }

  .legacy-article {
    padding: 20px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slide {
    transition: none;
  }
}

/* minjian-refined.css */
/*
 * 江苏民建官网视觉升级层
 * 保留原有布局与响应式结构，只统一色彩、字体、间距和组件质感。
 */

:root {
  --brand-red: #b2271b;
  --headline: #202326;
  --accent: #d30000;
  --cyan: #d30000;
  --ink: #2b2e31;
  --muted: #64686c;
  --text-secondary: #5d6165;
  --soft: #f6f4f3;
  --red-50: #fff7f6;
  --red-100: #fae7e5;
  --red-200: #efc8c5;
  --red-500: #d30000;
  --red-600: #b2271b;
  --red-700: #882a28;
  --charcoal: #303438;
  --line: #ece8e6;
  --paper: #fff;
  --page: #f1efed;
  --shadow-sm: none;
  --shadow-md: none;
  --radius-sm: 4px;
  --radius-md: 6px;
}

html {
  background: #f4f1ec;
  color-scheme: light;
}

body {
  position: relative;
  color: var(--ink);
  background: #f4f1ec;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

body::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: url("/asset/minjian/mj-bg.jpg") no-repeat center top;
  background-size: cover;
  content: "";
  filter: saturate(0.62) contrast(0.92);
  opacity: 0.48;
  transform: scaleX(-1);
  pointer-events: none;
}

body > header,
body > main,
body > footer {
  position: relative;
  z-index: 1;
}

a {
  color: var(--ink);
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

a:hover {
  color: var(--red-600);
}

button,
input,
textarea {
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 2px solid var(--red-500);
  outline-offset: 2px;
}

.container {
  border-right: 0;
  border-left: 0;
}

/* Header */

header {
  position: relative;
  z-index: 10;
  filter: none;
}

.top-bar {
  color: #e9e5df;
  background: var(--charcoal);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: none;
}

.top-bar-inner {
  min-height: 38px;
  padding: 7px 22px;
  background: var(--charcoal);
  border-color: rgb(255 255 255 / 5%);
}

.top-brand {
  color: #f4f1ed;
  font-size: 13px;
}

.top-brand .fa {
  color: #d6d3cf;
  font-size: 15px;
}

.top-links {
  gap: 12px;
  color: #c7c3be;
}

.top-links a {
  color: #e3dfda;
}

.top-links a:hover {
  color: #fff;
}

.top-links .fa {
  color: #cbc8c4;
}

.masthead {
  position: relative;
  height: 144px;
  overflow: hidden;
  background: linear-gradient(90deg, #fff 0%, #fff 52%, #f5f4f3 69%, #ded5cd 100%);
  box-shadow: inset 0 -1px #e7ded6;
}

.masthead::before,
.masthead::after {
  display: none;
}

.site-logo,
.site-search {
  position: relative;
  z-index: 1;
}

.site-logo {
  padding-left: 48px;
}

.site-logo img {
  width: 490px;
  filter: saturate(0.96) contrast(1.03);
}

.site-search {
  justify-content: flex-end;
  padding-right: 38px;
}

.site-search input {
  width: 245px;
  height: 38px;
  margin: 0 8px 0 0;
  padding: 7px 13px;
  background: rgb(255 255 255 / 86%);
  border: 1px solid #d9d1c8;
  border-radius: var(--radius-sm);
  box-shadow: inset 0 1px 2px rgb(42 35 29 / 4%);
}

.site-search input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgb(211 0 0 / 11%);
}

.site-search button,
.inline-search button {
  min-height: 38px;
  padding: 7px 17px;
  color: #fff;
  background: linear-gradient(180deg, #d22628, var(--red-600));
  border: 1px solid var(--red-600);
  border-radius: var(--radius-sm);
  box-shadow: none;
  font-weight: 600;
}

.site-search button {
  min-height: 34px;
  padding: 5px 11px;
  background: linear-gradient(180deg, #77716c, #625d59);
  border-color: #625d59;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 500;
}

.site-search button:hover,
.inline-search button:hover {
  background: linear-gradient(180deg, #c7000b, var(--red-700));
  border-color: var(--red-700);
  box-shadow: none;
  transform: none;
}

.site-search button:hover {
  background: linear-gradient(180deg, #69635e, #56514d);
  border-color: #56514d;
}

.site-nav {
  min-height: 58px;
  padding: 0 34px;
  background:
    linear-gradient(100deg, #8b1d1c 0%, #b2271b 28%, #d30000 55%, #a91e1e 100%);
  border-color: rgb(91 14 14 / 42%);
  box-shadow: inset 0 1px rgb(255 255 255 / 12%);
  font-size: 18px;
}

.site-nav a {
  position: relative;
  min-height: 58px;
  padding: 14px 15px 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover {
  color: #fff;
  background: rgb(255 255 255 / 9%);
}

.site-nav a.is-current {
  color: #fffdf9;
  background: rgb(88 0 0 / 36%);
}

/* Shared page canvas */

main {
  min-height: 360px;
}

.home-top,
.home-sections,
.breadcrumb-wrap,
.content-grid,
.service-home,
.service-panel,
.legacy-panel,
.search-results,
.article-missing {
  background: var(--paper);
}

.row-even {
  background: var(--page);
}

/* Homepage hero */

.home-top {
  padding-top: 0;
}

.home-news-grid {
  --home-image-height: 292px;
  --home-hero-height: 334px;
  grid-template-columns: 4.65fr 4.35fr 3fr;
  align-items: stretch;
  padding: 34px 14px 22px;
  gap: 0;
  background: linear-gradient(180deg, #e8e1df 0%, #f5f2f1 42%, #fff 100%);
  border-bottom: 0;
}

.home-slider,
.headline-list,
.minjian-info {
  height: var(--home-hero-height);
  min-height: 0;
  padding-right: 14px;
  padding-left: 12px;
}

.home-slider {
  display: flex;
  flex-direction: column;
  padding-right: 22px;
  padding-left: 12px;
  padding-top: 0;
}

.slides {
  flex: 0 0 var(--home-image-height);
  height: var(--home-image-height);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: none;
}

.slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgb(19 20 21 / 28%));
  content: "";
  pointer-events: none;
}

.slide img {
  height: var(--home-image-height);
  filter: saturate(0.9) contrast(1.03);
  transition: transform 7s ease;
}

.slide.is-active img {
  transform: scale(1.025);
}

.slider-arrow {
  width: 36px;
  height: 48px;
  background: rgb(28 29 30 / 22%);
  border-radius: 3px;
  font-size: 45px;
  text-shadow: 0 1px 3px rgb(0 0 0 / 42%);
}

.slider-arrow:hover {
  background: rgb(178 39 27 / 78%);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  bottom: 12px;
  gap: 9px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgb(255 255 255 / 55%);
  border: 1px solid rgb(255 255 255 / 76%);
}

.slider-dot.is-active {
  width: 20px;
  background: #fff;
  border-radius: 6px;
}

.slider-caption {
  flex: 0 0 42px;
  min-height: 42px;
  padding: 5px 8px;
  background: #f8f5f1;
  border: 1px solid #f0ebe5;
  border-top: 0;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.slider-number {
  min-width: 26px;
  height: 25px;
  color: #6d6a66;
  border-radius: 3px;
}

.slider-number.is-current {
  color: #8d3b38;
  background: #f1e6e4;
}

.slider-caption > a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.headline-list {
  display: flex;
  flex-direction: column;
  padding-right: 18px;
  padding-left: 14px;
  padding-top: 0;
}

.headline-heading {
  min-height: 47px;
  margin-top: -8px;
  border-bottom: 1px solid var(--line);
}

.headline-heading h3 {
  position: relative;
  padding: 3px 0 10px;
  color: var(--headline);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.headline-heading h3::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-600), #df615b);
  content: "";
}

.headline-heading a,
.section-list-title a {
  color: #8b8178;
  font-size: 13px;
}

.headline-heading a:hover,
.section-list-title a:hover {
  color: var(--red-600);
}

.headline-list ul {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 5px 0 0;
  margin: 0;
  list-style: none;
}

.headline-list li {
  position: relative;
  display: flex;
  flex: 1 1 0;
  align-items: center;
  min-height: 0;
  padding: 4px 2px 4px 15px;
  margin: 0;
  color: var(--red-600);
  border-bottom: 1px dashed #ece5dd;
  line-height: 1.55;
}

.headline-list li::before {
  position: absolute;
  top: 50%;
  left: 1px;
  width: 5px;
  height: 5px;
  transform: translateY(-50%);
  background: #9b7b62;
  border-radius: 50%;
  content: "";
}

.headline-list li a {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.headline-list li a:hover {
  color: var(--red-600);
  transform: none;
}

.minjian-info {
  display: flex;
  flex-direction: column;
  min-height: 0;
  gap: 10px;
  padding-top: 0;
  background: transparent;
}

.info-card {
  margin: 0;
  background: #f8f5f1;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
  overflow: hidden;
}

.info-card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 14px 17px;
}

.info-card h3 {
  position: relative;
  padding: 0 0 9px 2px;
  margin: 1px 0 4px;
  color: var(--headline);
  border-bottom: 1px solid #e6dfd7;
  font-size: 19px;
  letter-spacing: 0.12em;
}

.info-card h3::after {
  display: none;
}

.info-card h3 span,
.side-links h3 span {
  position: relative;
  display: inline-block;
}

.info-card h3 span::after,
.side-links h3 span::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red-500);
  content: "";
}

.info-card h3 span::after {
  bottom: -10px;
}

.info-card ul {
  display: grid;
  flex: 1 1 auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 4px;
  min-height: 0;
  margin: 7px 0 2px;
  background: transparent;
  border: 0;
}

.info-card li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 0;
  padding: 4px 12px;
  background: #f2efeb;
  border: 1px solid #e5ded7;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-align: center;
}

.info-card li:last-child {
  border: 1px solid #e5ded7;
}

.info-card .info-icon {
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: #83766d;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.info-card li a {
  min-width: 5em;
  padding-left: 0;
  color: var(--ink);
  font-weight: 400;
  text-align: center;
}

.info-card li:hover {
  background: #fff;
}

.info-card li a:hover {
  color: var(--red-600);
}

.notice-card {
  min-height: 48px;
  padding: 8px 16px;
  margin: 0;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  background: linear-gradient(100deg, var(--red-700) 0%, var(--red-600) 52%, #a91e1e 100%);
  border: 1px solid rgb(91 14 14 / 32%);
  border-radius: var(--radius-md);
  box-shadow: inset 0 1px rgb(255 255 255 / 13%);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.notice-card-icon {
  color: rgb(255 255 255 / 82%);
  font-size: 14px;
  transform: translateY(-1px);
}

.notice-card:hover {
  color: #fff;
  background: linear-gradient(100deg, #741f20 0%, var(--red-700) 52%, #941d1d 100%);
}

/* Homepage sections */

.home-sections {
  padding: 18px 14px 34px;
}

.home-row {
  align-items: stretch;
  gap: 8px;
}

.home-main-columns {
  gap: 14px;
}

.section-list {
  padding: 16px 20px 9px;
  margin-bottom: 12px;
  background: #fdfcfb;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.section-list-title {
  border-bottom: 1px solid #ddd6ce;
}

.section-list-title h3 {
  position: relative;
  padding-bottom: 9px;
  margin-bottom: -1px;
  color: var(--headline);
  border-bottom: 2px solid var(--red-500);
  font-size: 21px;
  letter-spacing: 0.08em;
}

.section-list ul {
  padding: 5px 0 0;
  margin: 3px 0 0;
  list-style: none;
}

.section-list li {
  position: relative;
  padding: 4px 0 4px 13px;
  margin: 0;
  color: var(--red-600);
  border-bottom: 1px solid rgb(232 225 218 / 54%);
  line-height: 1.5;
}

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

.section-list li::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 4px;
  height: 4px;
  transform: translateY(-50%);
  background: #9b7b62;
  border-radius: 50%;
  content: "";
}

.section-list li a {
  color: var(--ink);
  font-weight: 400;
}

.section-list li a:hover {
  color: var(--red-600);
  transform: none;
}

.section-list,
.side-links,
.home-sidebar {
  min-width: 0;
}

.side-links {
  padding: 12px 17px 22px;
  margin: 0 7px 14px;
  background: #f6f3ef;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.home-row > .side-links {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  margin-right: 7px;
  margin-left: 7px;
}

.side-links h3 {
  position: relative;
  padding: 0 0 10px;
  margin: 8px 0 12px;
  color: var(--headline);
  border-bottom: 1px solid #d9d1c8;
  font-size: 19px;
  letter-spacing: 0.06em;
}

.side-links h3::after {
  display: none;
}

.side-links h3 span::after {
  bottom: -11px;
}

.side-links ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.home-row > .side-links ul {
  display: grid;
  flex: 1 1 auto;
  grid-auto-rows: minmax(0, 1fr);
  min-height: 0;
}

.side-links li {
  margin: 0;
  border-bottom: 1px dashed #e3dcd4;
  font-size: 14px;
}

.side-links li a {
  padding: 7px 3px;
  display: block;
  color: var(--ink);
  font-weight: 400;
}

.home-row > .side-links li a {
  display: flex;
  align-items: center;
  height: 100%;
  padding-top: 3px;
  padding-bottom: 3px;
}

.home-row > .side-links li {
  position: relative;
  padding-left: 21px;
}

.home-row > .side-links li::before {
  position: absolute;
  top: 50%;
  left: 11px;
  width: 4px;
  height: 4px;
  background: #b8afa7;
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.side-links li a:hover {
  padding-left: 3px;
  color: var(--red-600);
  background: rgb(255 255 255 / 48%);
}

.side-links-compact {
  padding-bottom: 11px;
}

.side-links-compact li {
  float: none;
  margin: 1px 0;
  border: 0;
}

.side-links-compact ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 5px 0 2px;
  row-gap: 7px;
  column-gap: 10px;
}

.side-links-compact li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 34px;
  padding: 6px 9px;
  margin: 0;
  color: #3a3d40;
  background: #fbfaf8;
  border: 1px solid rgb(218 211 204 / 48%);
  border-radius: 1px;
  letter-spacing: 0.05em;
  text-align: center;
}

.side-links-compact li a:hover {
  padding-left: 9px;
  color: var(--red-700);
  background: #fff;
  border-color: #dcd5ce;
}

.home-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-sidebar .side-links {
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 0;
}

.home-sidebar .side-links:first-child {
  flex: 13 1 0;
}

.home-sidebar .side-links:last-child {
  flex: 7 1 0;
}

.home-sidebar .side-links ul {
  flex: 1 1 auto;
  grid-auto-rows: minmax(0, 1fr);
  min-height: 0;
}

/* Breadcrumbs and content columns */

.breadcrumb-wrap,
.service-breadcrumb {
  padding-top: 34px;
}

.breadcrumb {
  padding: 10px 15px;
  color: var(--text-secondary);
  background: #faf7f3;
  border-left: 2px solid var(--red-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--ink);
  font-weight: 400;
}

.breadcrumb a:hover {
  color: var(--red-600);
}

.content-grid {
  padding: 10px 16px 42px;
  gap: 18px;
}

.content-sidebar,
.content-main {
  padding-right: 0;
  padding-left: 0;
}

.content-sidebar {
  padding-top: 10px;
}

.member-nav {
  padding: 8px 0;
  margin-top: 0;
  background: #f7f4ef;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.member-nav-item,
.member-nav__item {
  min-height: 48px;
  padding: 8px 12px;
  color: #4e5358;
  border-bottom: 1px solid #e9e2da;
}

.member-nav-item:last-child,
.member-nav__item:last-child {
  border-bottom: 0;
}

.member-nav-item:hover,
.member-nav__item:hover {
  color: var(--red-600);
  background: #fff;
}

.member-nav-item.is-active,
.member-nav__item-active {
  color: var(--red-700);
  background: #fff;
  border-right: 0;
  border-left: 2px solid var(--red-500);
  box-shadow: none;
}

.recent-panel,
.qr-panel {
  background: #faf8f5;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.content-sidebar > :first-child {
  border-top: 3px solid #5d5147;
}

.recent-panel {
  padding: 16px 18px 19px;
}

.recent-panel h3 {
  padding: 0 0 10px;
  margin: 0 0 8px;
  color: var(--headline);
  border-bottom: 1px solid #ded6cd;
  font-size: 19px;
  letter-spacing: 0.1em;
}

.recent-panel ul {
  padding-left: 0;
}

.recent-panel li {
  padding: 5px 0;
  margin: 0;
  border-bottom: 1px dashed #e5ddd4;
  line-height: 1.55;
}

.recent-panel li:last-child {
  border-bottom: 0;
}

.recent-panel a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.qr-panel {
  padding: 15px;
  gap: 18px;
}

.qr-panel h4 {
  color: #484d52;
  font-size: 15px;
  letter-spacing: 0.08em;
}

.qr-panel img {
  padding: 5px;
  background: #fff;
  border: 1px solid #eee8e2;
  border-radius: 4px;
}

/* Article lists and search */

.article-list-panel {
  padding: 0 24px 20px;
  background: #fff;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.panel-title,
.article-detail h1,
.news-show__title,
.legacy-article h1 {
  position: relative;
  padding: 17px 12px 14px 20px;
  margin: 0 0 10px;
  color: var(--headline);
  border-bottom: 1px solid #ddd6ce;
  font-size: 23px;
  line-height: 1.55;
}

.panel-title::before,
.article-detail h1::before,
.news-show__title::before,
.legacy-article h1::before {
  position: absolute;
  top: 21px;
  bottom: 18px;
  left: 0;
  width: 4px;
  background: var(--red-500);
  border-radius: 2px;
  content: "";
}

.article-list {
  padding: 4px 0 0;
}

.article-list li {
  position: relative;
  padding: 9px 12px 8px 17px;
  margin: 0;
  border-bottom: 1px solid #eee8e1;
}

.article-list li::before {
  position: absolute;
  top: 18px;
  left: 2px;
  width: 5px;
  height: 5px;
  background: #9b7b62;
  border-radius: 50%;
  content: "";
}

.article-list li:hover {
  background: var(--red-50);
}

.article-list-title {
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
}

.article-list-title:hover {
  color: var(--red-600);
}

.article-list-date {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.pager {
  padding: 22px 0 5px;
  gap: 7px;
}

.pager a {
  min-height: 37px;
  padding: 7px 15px;
  color: #625d58;
  background: #fff;
  border: 1px solid #dcd4cb;
  border-radius: var(--radius-sm);
}

.pager a:hover {
  color: #fff;
  background: var(--red-600);
  border-color: var(--red-600);
  box-shadow: none;
}

.pager a.is-disabled {
  color: #aaa39c;
  background: #f7f4f0;
  border-color: #e7e1d9;
}

.pager span {
  color: #837d77;
  font-size: 13px;
}

.search-results {
  padding: 34px 42px 42px;
  border: 0;
  box-shadow: none;
}

.search-summary {
  padding: 13px 17px;
  margin: 0 0 15px;
  color: #5c5651;
  background: var(--red-50);
  border-left: 2px solid var(--red-500);
}

.search-summary strong {
  color: var(--red-700);
}

/* Article details */

.article-detail {
  padding: 0 32px 28px;
  background: #fff;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

.article-detail h1,
.news-show__title {
  padding: 23px 20px 17px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
}

.article-detail h1::before,
.news-show__title::before {
  display: none;
}

.article-meta,
.news-show__time {
  padding-bottom: 4px;
  margin: 14px 0 0;
  color: var(--muted);
  border-bottom: 0;
  font-size: 13px;
}

.article-body,
.news-show__body {
  padding: 22px 18px 5px;
  color: var(--ink);
}

.article-body p,
.news-show__body p,
.legacy-article p {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.95;
  text-align: justify;
}

.article-body img,
.news-show__body img {
  margin: 18px auto;
  border-radius: 3px;
  box-shadow: none;
}

.article-body table {
  margin: 20px auto;
  border-color: #ddd5cc;
}

.attachment {
  padding: 16px 20px;
  background: var(--red-50);
  border: 1px solid var(--red-200);
  border-radius: var(--radius-sm);
}

.attachment strong,
.attachment a {
  color: var(--red-700);
}

.copyright-note {
  padding: 18px 22px;
  margin-top: 24px;
  color: #817b75;
  background: #f8f6f2;
  border-left: 2px solid #d5c9bc;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 13px;
}

.copyright-note p {
  margin: 7px 0;
}

.article-missing {
  color: #49423b;
  font-size: 36px;
}

.warning-icon {
  color: var(--red-600);
}

/* Services */

.service-home {
  padding: 34px 24px 45px;
}

.service-grid {
  gap: 18px;
  margin: 10px 0;
}

.service-card {
  min-height: 205px;
  padding: 22px 15px;
  margin: 0;
  background: #fbfaf8;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
}

a.service-card:hover {
  color: var(--red-700);
  background: #f7f1eb;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.service-card img {
  width: 126px;
  height: 126px;
  filter: saturate(0.88);
}

.service-card span {
  color: #363c42;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.service-panel,
.legacy-panel {
  padding: 28px 36px 44px;
}

.service-panel > h3,
.legacy-panel > h1 {
  padding-bottom: 11px;
  color: var(--headline);
  border-bottom: 1px solid var(--line);
}

.service-img {
  border-top-color: #657c91;
}

.service-info {
  border-top-color: var(--red-600);
}

.service-info__wx-name,
.service-info-item__name {
  color: var(--red-600);
}

.inline-search {
  max-width: 860px;
  margin: 6px 0 28px;
}

.inline-search input {
  height: 42px;
  padding: 8px 14px;
  border-color: #d8d0c7;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.inline-search input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgb(211 0 0 / 11%);
  outline: 0;
}

.inline-search button {
  min-width: 112px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.company-item,
.project-item {
  padding: 19px 22px;
  margin: 12px 0;
  background: #fff;
  background: #fbfaf8;
  border: 0;
  border-left: 2px solid #c98e88;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.company-item:hover,
.project-item:hover {
  border-left-color: var(--red-600);
  box-shadow: none;
}

.company-item h4,
.project-item-top h3 {
  color: var(--headline);
}

.project-company {
  color: #837d77;
}

.project-tags {
  padding: 22px;
  margin: 12px 0 25px;
  background: #faf8f5;
  border: 0;
  border-radius: var(--radius-md);
}

.tag-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(145deg, #d64031, var(--red-600));
  box-shadow: none;
  font-size: 22px;
}

.tag-green {
  background: linear-gradient(145deg, #678679, #3f6657);
}

.tag-blue {
  background: linear-gradient(145deg, #657c91, #405d75);
}

.tag-orange {
  background: linear-gradient(145deg, #d64031, #a92a24);
}

.promotion-grid {
  gap: 16px;
}

.promotion-grid a {
  width: 122px;
  min-height: 122px;
  margin: 8px;
  color: #4c5156;
  border: 0;
  border-radius: var(--radius-md);
  box-shadow: none;
  background: #faf8f5;
}

.promotion-grid a:hover {
  color: var(--red-700);
  background: #f5eee7;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.promotion-grid a span {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--red-600);
  border-radius: 50%;
}

.project-tabs {
  padding: 10px;
  background: #302d2a;
  border-radius: var(--radius-md);
}

.project-tabs a {
  padding: 14px 34px;
  margin: 5px;
  color: #5e5954;
  background: #f5f2ed;
  border-radius: var(--radius-sm);
  font-size: 17px;
}

.project-tabs a.is-current {
  background: linear-gradient(180deg, #d22628, var(--red-600));
  box-shadow: none;
}

/* Forms, buttons and tables */

.submission-form {
  padding: 30px 48px;
}

.submission-form legend {
  padding-bottom: 13px;
  color: var(--headline);
  border-bottom-color: var(--line);
  font-size: 21px;
  font-weight: 600;
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  color: #5c5651;
  font-weight: 600;
}

.form-row input,
.form-row textarea,
.legacy-panel textarea,
.form-control {
  color: #34393f;
  background: #fff;
  border: 1px solid #d8d0c7;
  border-radius: var(--radius-sm);
}

.form-row input:focus,
.form-row textarea:focus,
.legacy-panel textarea:focus,
.form-control:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgb(211 0 0 / 11%);
  outline: 0;
}

.required {
  color: var(--red-600);
}

.form-actions button,
.legacy-panel button,
.primary-button,
.btn-primary {
  color: #fff;
  background: linear-gradient(180deg, #d22628, var(--red-600));
  border-color: var(--red-600);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.form-actions button:hover,
.legacy-panel button:hover,
.primary-button:hover,
.btn-primary:hover {
  background: linear-gradient(180deg, #c7000b, var(--red-700));
  border-color: var(--red-700);
  transform: none;
}

.btn-default {
  color: #4d4945;
  border-color: #d8d0c7;
}

.flash-success {
  color: #3e6046;
  background: #eff6ef;
  border-color: #bdd4c1;
  border-radius: var(--radius-sm);
}

.table th,
.table td {
  padding: 11px 12px;
  border-color: var(--line);
}

.table th {
  color: #4b5055;
  background: #f4f1ec;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: #faf8f5;
}

.pagination li a {
  color: var(--red-700);
  border-color: #ddd5cc;
}

.pagination .active a {
  background: var(--red-600);
  border-color: var(--red-600);
}

.legacy-article {
  padding: 18px 42px 48px;
}

.legacy-article h2,
.constitution-main__chapter {
  color: #3c4146;
}

.job-placeholder {
  background: #f8f5f1;
  border: 1px solid var(--line);
}

/* Footer */

.site-footer {
  color: #a6a5a2;
  border-top: 1px solid #795b59;
}

.footer-bg,
.footer-inner {
  background:
    radial-gradient(circle at 70% 0%, rgb(211 0 0 / 3%), transparent 25rem),
    #323639;
}

.footer-inner {
  padding-top: 42px;
  border-color: rgb(255 255 255 / 5%);
}

.footer-column a {
  color: #b8b6b2;
}

.footer-column a:hover {
  color: #d3cbc4;
}

.footer-address {
  color: #a4a3a0;
  line-height: 1.9;
}

.footer-address > div:first-child {
  margin-bottom: 5px;
  font-weight: 500;
}

.footer-meta {
  align-items: flex-start;
  gap: 18px;
  color: #a4a3a0;
  font-size: 12px;
  line-height: 1.6;
}

.footer-meta h4 {
  color: #aaa097;
  font-size: 10px;
  letter-spacing: 0.1em;
}

.footer-meta > div {
  min-width: 0;
}

.footer-meta > div:last-child,
.footer-meta > div:last-child a {
  white-space: nowrap;
}

.footer-meta a {
  color: #aaa9a6;
  font-size: 12px;
}

/* Responsive refinements */

@media (max-width: 900px) {
  .site-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    padding-right: 12px;
    padding-left: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

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

  .site-nav a {
    flex: 0 0 auto;
    padding-right: 10px;
    padding-left: 10px;
  }

  .home-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .minjian-info {
    display: flex;
    padding-top: 20px;
  }

  .home-main-columns {
    gap: 10px;
  }

  .section-list {
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media (max-width: 600px) {
  body {
    background: #f4f1ec;
  }

  body::before,
  .masthead::before {
    display: none;
  }

  .container {
    border-right: 0;
    border-left: 0;
  }

  header {
    filter: none;
  }

  .masthead {
    min-height: 146px;
    padding: 14px 14px 12px;
    background: #fff;
  }

  .site-logo {
    min-height: 88px;
  }

  .site-search {
    padding: 0 5px;
  }

  .site-search input {
    width: calc(100% - 92px);
    height: 39px;
  }

  .site-search button {
    min-width: 72px;
  }

  .site-nav {
    min-height: 48px;
    padding: 0 8px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    font-size: 15px;
  }

  .site-nav a {
    width: auto;
    min-height: 48px;
    padding: 10px 14px;
    flex: 0 0 auto;
    margin: 0;
    border-bottom: 0;
  }

  .site-nav a::after {
    display: none;
  }

  .home-top {
    padding-top: 0;
  }

  .home-news-grid {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .home-slider {
    padding-right: 14px;
    padding-left: 14px;
  }

  .headline-list,
  .minjian-info {
    height: auto;
    min-height: 0;
    padding-right: 14px;
    padding-left: 14px;
  }

  .home-slider {
    height: auto;
    min-height: 0;
  }

  .slides,
  .slide img {
    height: 250px;
  }

  .slides {
    flex-basis: 250px;
  }

  .headline-list {
    padding-top: 22px;
  }

  .headline-list li {
    min-height: 34px;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 1.55;
  }

  .headline-heading h3 {
    font-size: 23px;
  }

  .minjian-info {
    padding-top: 18px;
  }

  .info-card ul {
    display: grid;
  }

  .info-card li {
    min-height: 48px;
  }

  .home-sections {
    padding: 14px 10px 28px;
  }

  .section-list {
    padding: 16px 16px 10px;
    margin-bottom: 12px;
  }

  .side-links {
    margin-right: 0;
    margin-left: 0;
  }

  .home-row > .side-links {
    display: block;
  }

  .home-row > .side-links ul {
    display: block;
  }

  .home-sidebar {
    display: block;
  }

  .home-sidebar .side-links {
    display: block;
    margin-bottom: 12px;
  }

  .footer-inner {
    padding: 32px 12px 18px;
  }

  .content-grid {
    padding: 16px 10px 30px;
  }

  .article-list-panel,
  .article-detail {
    padding-right: 14px;
    padding-left: 14px;
    border-radius: var(--radius-sm);
  }

  .panel-title,
  .article-detail h1,
  .news-show__title,
  .legacy-article h1 {
    padding: 15px 8px 12px 15px;
    font-size: 21px;
  }

  .article-meta span {
    margin: 0 7px;
  }

  .article-body,
  .news-show__body {
    padding: 20px 3px 5px;
  }

  .article-body p,
  .news-show__body p,
  .legacy-article p {
    font-size: 16px;
    line-height: 1.85;
  }

  .copyright-note {
    padding: 14px 15px;
  }

  .search-results {
    padding: 24px 14px 32px;
  }

  .service-home {
    padding: 22px 12px 32px;
  }

  .service-grid {
    gap: 10px;
  }

  .service-card {
    min-height: 156px;
    padding: 16px 8px;
  }

  .service-card img {
    width: 96px;
    height: 96px;
  }

  .service-card span {
    font-size: 16px;
  }

  .service-panel,
  .legacy-panel {
    padding: 22px 14px 34px;
  }

  .inline-search {
    margin-left: 0;
  }

  .project-tags {
    gap: 14px;
  }

  .project-tabs {
    display: block;
  }

  .project-tabs a {
    margin: 4px;
    display: block;
    text-align: center;
  }

  .submission-form {
    padding: 24px 0;
  }

  .legacy-article {
    padding: 12px 15px 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
