/**
 * Association site main stylesheet.
 *
 * Scope: public homepage, second-level pages, articles, forms, footer, and
 * small-screen baseline. This rewrite keeps the existing government/association
 * visual language while removing historical override layers.
 */

/* ==========================================================================
   01. Tokens and base
   ========================================================================== */

:root {
  --assoc-primary: #1460aa;
  --assoc-primary-dark: #0e4d8c;
  --assoc-primary-ink: #0b365f;
  --assoc-primary-soft: #eaf4ff;
  --assoc-primary-pale: #f4f9ff;
  --assoc-gold: #b88a31;
  --assoc-red: #b03a2e;
  --assoc-text: #1f2a37;
  --assoc-sub: #5f6b7a;
  --assoc-muted: #646f7d;
  --assoc-line: #e2e8f0;
  --assoc-line-strong: #cbd8e6;
  --assoc-bg: #ffffff;
  --assoc-bg-soft: #f6f8fb;
  --assoc-shadow: 0 8px 22px rgba(15, 64, 116, .08);
  --assoc-shadow-light: 0 2px 10px rgba(31, 42, 55, .05);
  --assoc-wrap: 1200px;
  --assoc-radius: 4px;
  --assoc-font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", Arial, sans-serif;
  --assoc-serif: "SimSun", "Songti SC", "Microsoft YaHei", serif;
}

body.home {
  overflow-x: hidden;
}

.home .site-header,
.home .site-footer,
.home .entry-title,
.ast-builder-grid-row-container {
  display: none !important;
}

.home.ast-page-builder-template .site-content > .ast-container,
.home .site-content .ast-container {
  max-width: none !important;
  padding: 0 !important;
}

.home #primary,
.home .site-main {
  margin: 0 !important;
}

.assoc-c,
.assoc-c * {
  box-sizing: border-box;
}

.assoc-c {
  font-family: var(--assoc-font);
  color: var(--assoc-text);
  background: #fff;
  overflow-x: hidden;
}

.assoc-c a {
  color: inherit;
  text-decoration: none;
}

.assoc-c a:hover {
  color: var(--assoc-primary);
}

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

.assoc-c .wrap {
  max-width: var(--assoc-wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.assoc-c button,
.assoc-c input,
.assoc-c textarea,
.assoc-c select {
  font: inherit;
}

/* ==========================================================================
   02. Header and navigation
   ========================================================================== */

.assoc-hero-head {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: linear-gradient(90deg, #e2f5ff 0%, #c5e8fb 42%, #92cef2 100%);
  border-bottom: 1px solid rgba(20, 96, 170, .18);
  overflow: hidden;
}

.assoc-hero-head::before {
  content: "";
  position: absolute;
  inset: 34px 0 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.92), rgba(255,255,255,.38) 52%, rgba(255,255,255,.16)),
    url("/wp-content/uploads/assoc-site/zhengzhou-skyline.svg") right bottom / auto 128px no-repeat;
  opacity: .9;
  pointer-events: none;
}

.assoc-top {
  position: relative;
  z-index: 2;
  background: rgba(14, 77, 140, .96);
  color: rgba(255,255,255,.92);
  font-size: 12px;
}

.assoc-top .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.assoc-top .tools {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

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

.assoc-mast {
  position: relative;
  z-index: 1;
  background: transparent;
}

.assoc-mast .wrap {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand img {
  width: 86px;
  height: 86px;
  flex: 0 0 auto;
  padding: 4px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(13, 61, 115, .18);
}

.brand-name {
  margin: 0;
  font-family: var(--assoc-serif);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 2px;
  color: #17385d;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

.brand-en {
  margin-top: 7px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 1.1px;
  color: #2d628c;
  white-space: nowrap;
}

.mast-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  flex: 0 0 auto;
}

.assoc-slogan {
  position: relative;
  padding-left: 18px;
  font-family: var(--assoc-serif);
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--assoc-primary);
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

.assoc-slogan br {
  display: none;
}

.assoc-slogan::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  bottom: .15em;
  width: 4px;
  background: var(--assoc-gold);
}

.assoc-search-form,
.assoc-search {
  width: 360px;
  height: 40px;
  display: flex;
  background: #fff;
  border: 1px solid rgba(0, 104, 189, .32);
  box-shadow: 0 4px 12px rgba(0, 82, 154, .08);
}

.assoc-search-form input,
.assoc-search input,
.assoc-search-input {
  min-width: 0;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  padding: 0 13px;
  background: #fff;
  color: #18344f;
  font-size: 14px;
}

.assoc-search-form input::placeholder,
.assoc-search input::placeholder {
  color: #7a8fa3;
}

.assoc-search-form button,
.assoc-search button {
  flex: 0 0 76px;
  border: 0;
  background: var(--assoc-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.assoc-search-form button:hover,
.assoc-search button:hover {
  background: var(--assoc-primary-dark);
}

.assoc-nav {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background: var(--assoc-primary);
  color: #fff;
  z-index: 20;
}

.assoc-nav .wrap {
  max-width: var(--assoc-wrap);
  display: flex;
  align-items: stretch;
  padding: 0 24px;
}

.assoc-nav a {
  display: block;
  color: #fff;
}

.assoc-nav > .wrap > a,
.assoc-nav .nav-group > a {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
  border-left: 1px solid rgba(255,255,255,.14);
}

.assoc-nav > .wrap > a,
.assoc-nav .nav-group {
  flex: 1 1 0;
  min-width: 0;
  position: relative;
}

.assoc-nav > .wrap > a:first-child {
  border-left: 0;
}

.assoc-nav a:hover,
.assoc-nav a.active {
  background: var(--assoc-primary-dark);
  color: #fff;
}

.assoc-nav .sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 100%;
  display: none;
  padding: 6px 0;
  background: #fff;
  border: 1px solid var(--assoc-line-strong);
  border-top: 0;
  box-shadow: var(--assoc-shadow);
  z-index: 30;
}

.assoc-nav .sub a {
  padding: 10px 18px;
  color: #1f3b57;
  font-size: 14px;
  line-height: 1.35;
  white-space: nowrap;
}

.assoc-nav .sub a:hover {
  background: var(--assoc-primary-soft);
  color: var(--assoc-primary-dark);
}

.assoc-nav .nav-group:hover .sub,
.assoc-nav .nav-group:focus-within .sub {
  display: block;
}

.assoc-nav-toggle {
  display: none;
}

/* ==========================================================================
   03. Homepage
   ========================================================================== */

.home-main {
  background: #fff;
  padding: 36px 0 34px;
}

.first-row {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, .95fr);
  gap: 28px;
  align-items: start;
}

.visual-card,
.panel {
  background: #fff;
  border: 1px solid var(--assoc-line);
  box-shadow: var(--assoc-shadow-light);
}

.visual-card {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #ddf0ff;
  border-color: #c8e0f4;
}

.carousel-card {
  padding: 0 !important;
}

.carousel-slides,
.carousel-slide {
  position: absolute;
  inset: 0;
}

.carousel-slide {
  padding: 42px 44px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  animation: assocFade 20s infinite;
}

.carousel-slide:first-child {
  opacity: 1;
}

.carousel-slide:nth-child(2) { animation-delay: 5s; }
.carousel-slide:nth-child(3) { animation-delay: 10s; }
.carousel-slide:nth-child(4) { animation-delay: 15s; }

@keyframes assocFade {
  0%, 22% { opacity: 1; z-index: 2; }
  27%, 95% { opacity: 0; z-index: 0; }
  100% { opacity: 1; z-index: 2; }
}

.carousel-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.82) 42%, rgba(221,240,255,.28) 100%);
}

.carousel-slide.slide-two::before {
  background: linear-gradient(90deg, rgba(0,82,154,.9), rgba(0,104,189,.72) 56%, rgba(255,255,255,.08));
}

.carousel-slide img:not(.carousel-emblem) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.carousel-emblem {
  position: absolute;
  right: 38px;
  top: 36px;
  z-index: 2;
  width: 104px;
  height: 104px;
  padding: 7px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0,82,154,.17);
}

.carousel-copy {
  position: relative;
  z-index: 2;
  max-width: 530px;
}

.carousel-copy span,
.visual-label {
  display: inline-flex;
  padding: 4px 0 4px 12px;
  border-left: 5px solid #d49b2d;
  color: var(--assoc-primary-dark);
  font-size: 15px;
  font-weight: 700;
}

.carousel-copy h1,
.visual-copy h1 {
  margin: 18px 0 13px;
  color: #123c66;
  font-family: var(--assoc-serif);
  font-size: 32px;
  line-height: 1.36;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 1px 0 rgba(255,255,255,.7);
}

.carousel-copy p,
.visual-copy p {
  max-width: 500px;
  margin: 0;
  color: #3f5b73;
  font-size: 16px;
  line-height: 1.9;
}

.slide-two .carousel-copy span,
.slide-two .carousel-copy h1,
.slide-two .carousel-copy p {
  color: #fff;
  text-shadow: none;
}

.slide-two .carousel-copy span {
  border-left-color: #fff;
}

.carousel-dots {
  position: absolute;
  left: 44px;
  bottom: 38px;
  z-index: 3;
  display: flex;
  gap: 9px;
}

.carousel-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--assoc-primary);
  opacity: .34;
}

.carousel-dots span:first-child {
  opacity: .9;
}

.assoc-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 38px;
  height: 38px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.22);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s, background .2s;
  cursor: pointer;
}

.assoc-carousel-arrow:hover {
  background: rgba(0,0,0,.42);
}

.carousel-card:hover .assoc-carousel-arrow {
  opacity: 1;
}

.assoc-carousel-prev { left: 12px; }
.assoc-carousel-next { right: 12px; }

.panel {
  min-width: 0;
  padding: 24px;
}

.panel-head,
.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-head {
  padding-bottom: 15px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--assoc-line-strong);
}

.panel-head h2,
.section-title h2 {
  margin: 0;
  color: #102e4a;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 1px;
}

.panel-head h2::before,
.section-title h2::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 20px;
  margin-right: 10px;
  background: var(--assoc-primary);
  vertical-align: -4px;
}

.panel-head p,
.section-title span {
  margin: 5px 0 0;
  color: var(--assoc-muted);
  font-size: 13px;
}

.more {
  color: var(--assoc-sub);
  font-size: 14px;
  white-space: nowrap;
}

.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 8px;
}

.filter span {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--assoc-line-strong);
  background: #fff;
  color: var(--assoc-sub);
  font-size: 13px;
  cursor: pointer;
}

.filter .active {
  border-color: var(--assoc-primary);
  background: var(--assoc-primary);
  color: #fff;
}

.notice-list,
.article-list,
.news-list,
.side-nav,
.assoc-foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-list li {
  min-height: 44px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) 86px;
  align-items: center;
  gap: 12px;
  border-bottom: 1px dashed var(--assoc-line);
}

.notice-list li:last-child,
.article-list li:last-child,
.news-list li:last-child {
  border-bottom: 0;
}

.tag {
  display: inline-block;
  min-width: 40px;
  padding: 3px 8px;
  text-align: center;
  background: #eaf4ff;
  color: var(--assoc-primary);
  font-size: 12px;
  line-height: 1.35;
}

.tag.train { color: #2d6b3a; background: #e8f4ec; }
.tag.match { color: #8a531d; background: #fff0dd; }
.tag.policy { color: #5b3e99; background: #efe9f8; }

.notice-list a,
.article-list a,
.news-list .t {
  min-width: 0;
  overflow: hidden;
  color: var(--assoc-text);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.date,
.news-list .d {
  color: var(--assoc-muted);
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  text-align: right;
  white-space: nowrap;
}

.second-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin-top: 30px;
}

.tabs {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--assoc-line-strong);
}

.tabs span {
  padding: 8px 14px 10px;
  color: var(--assoc-sub);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}

.tabs .active {
  background: #eaf4ff;
  color: var(--assoc-primary-dark);
}

.tabs .more {
  margin-left: auto;
}

.article-list li {
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-left: 14px;
  border-bottom: 1px dashed var(--assoc-line);
  font-size: 15px;
}

.article-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--assoc-muted);
  transform: translateY(-50%);
}

.topic-band {
  position: relative;
  left: 50%;
  width: 100vw;
  min-height: 154px;
  margin-left: -50vw;
  background: linear-gradient(90deg, #ddf0ff 0%, #c7e4fa 48%, #b3d8f3 100%);
  border-top: 1px solid #bcd9ef;
  border-bottom: 1px solid #bcd9ef;
  overflow: hidden;
}

.topic-band::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background:
    linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,0)),
    url("/wp-content/uploads/assoc-site/zhengzhou-skyline.svg") left bottom / auto 118px no-repeat;
  opacity: .52;
}

.topic-band-primary {
  margin-top: 30px;
  margin-bottom: 0;
}

.topic-band-secondary {
  margin-top: 8px;
  margin-bottom: 30px;
}

.topic-band .wrap {
  position: relative;
  z-index: 1;
  min-height: 154px;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 138px;
  align-items: center;
  gap: 28px;
}

.topic-mark {
  color: var(--assoc-primary-dark);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
}

.topic-lines {
  display: grid;
  gap: 8px;
  text-align: center;
}

.topic-lines a {
  color: #0068bd;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 800;
}

.topic-desc {
  margin: 0;
  color: #405972;
  font-size: 14px;
}

.topic-pill {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 7px;
  background: var(--assoc-primary);
  color: #fff;
  font-size: 14px;
  vertical-align: 2px;
}

.topic-cta a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid rgba(20,96,170,.28);
  background: rgba(255,255,255,.82);
  color: var(--assoc-primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.work-strip {
  padding: 28px 0;
  background: #fff;
  border-top: 1px solid var(--assoc-line);
}

.section-title {
  align-items: baseline;
  margin-bottom: 16px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.work-grid a {
  min-height: 100px;
  display: block;
  padding: 17px 18px;
  border: 1px solid #d7e7f5;
  background: #f4faff;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}

.work-grid a:hover {
  border-color: var(--assoc-primary);
  box-shadow: var(--assoc-shadow-light);
  transform: translateY(-1px);
}

.work-grid strong {
  display: block;
  margin-bottom: 6px;
  color: #102e4a;
  font-size: 17px;
  font-weight: 700;
}

.work-grid span {
  display: block;
  color: var(--assoc-sub);
  font-size: 13px;
  line-height: 1.65;
}

.links-band {
  padding: 20px 0;
  background: #f4faff;
  border-top: 1px solid var(--assoc-line);
}

.links-band .wrap {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.links-title {
  flex: 0 0 auto;
  color: #102e4a;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--assoc-sub);
  font-size: 13px;
}

/* ==========================================================================
   04. Second-level pages and articles
   ========================================================================== */

.assoc-l2-body {
  margin: 0;
  background: var(--assoc-bg-soft);
}

.assoc-l2 {
  padding: 0 0 38px;
  background: var(--assoc-bg-soft);
}

.crumb {
  background: #fff;
  border-bottom: 1px solid var(--assoc-line);
  color: var(--assoc-muted);
  font-size: 13px;
}

.crumb .wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb .sep {
  color: #a5b1bf;
}

.crumb .cur {
  color: var(--assoc-text);
}

.l2-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  padding-top: 26px !important;
}

.l2-main,
.l2-side .side-box,
.article {
  background: #fff;
  border: 1px solid var(--assoc-line);
  box-shadow: var(--assoc-shadow-light);
}

.l2-main {
  min-width: 0;
  padding: 28px 30px;
}

.l2-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  margin-bottom: 10px;
  border-bottom: 2px solid var(--assoc-primary);
}

.l2-head h1,
.art-title {
  margin: 0;
  color: #102e4a;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
}

.l2-count {
  color: var(--assoc-muted);
  font-size: 13px;
  white-space: nowrap;
}

.news-list li {
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 16px;
  border-bottom: 1px dashed var(--assoc-line);
  font-size: 16px;
}

.news-list li.has-tag {
  grid-template-columns: 52px minmax(0, 1fr) 96px;
}

.l2-empty {
  margin: 18px 0 0;
  padding: 24px;
  background: var(--assoc-bg-soft);
  border: 1px solid var(--assoc-line);
  color: var(--assoc-sub);
  text-align: center;
}

.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  color: var(--assoc-sub);
  font-size: 14px;
}

.pager a,
.pager span {
  min-width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--assoc-line);
  background: #fff;
}

.pager .current,
.pager .cur {
  border-color: var(--assoc-primary);
  background: var(--assoc-primary);
  color: #fff;
}

.pager .disabled {
  color: #a0a8b2;
  background: #f7f8fa;
}

.article {
  border: 0;
  box-shadow: none;
}

.art-title {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--assoc-line);
  text-align: center;
}

.art-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  margin: 14px 0 24px;
  color: var(--assoc-muted);
  font-size: 14px;
}

.art-meta b {
  color: var(--assoc-sub);
  font-weight: 400;
}

.entry-content {
  color: #1f2937;
  font-size: 17px;
  line-height: 1.9;
}

.entry-content p {
  margin: 0 0 1em;
}

/* 2026-07-08 正文行宽收口：792px/17px≈47字 → 700px/17px≈41字（中文长文舒适区 30-40 字）
   仅限文字块，标题、表格、图片保持原宽。整段删除即可回退。 */
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
  max-width: 700px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.3em 0 .65em;
  color: #102e4a;
  line-height: 1.45;
}

.entry-content h2 { font-size: 22px; }
.entry-content h3 { font-size: 20px; }
.entry-content h4 { font-size: 18px; }

.entry-content ul,
.entry-content ol {
  margin: 0 0 1em 1.4em;
  padding: 0;
}

.entry-content table {
  width: 100%;
  margin: 16px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--assoc-line);
  vertical-align: top;
}

.entry-content th {
  background: var(--assoc-primary-pale);
  font-weight: 700;
}

.entry-content a {
  color: var(--assoc-primary);
}

.art-nav {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--assoc-line);
  color: var(--assoc-sub);
  font-size: 14px;
}

.art-nav a {
  color: var(--assoc-sub);
}

.l2-side {
  display: grid;
  align-content: start;
  gap: 14px;
}

.side-box {
  overflow: hidden;
}

.side-box h3 {
  margin: 0;
  padding: 13px 16px;
  background: var(--assoc-primary);
  color: #fff;
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
}

.side-nav a {
  display: block;
  padding: 11px 16px;
  border-top: 1px solid var(--assoc-line);
  color: var(--assoc-sub);
  font-size: 14px;
}

.side-nav li.on a,
.side-nav a:hover {
  background: var(--assoc-primary-pale);
  color: var(--assoc-primary-dark);
}

.category-party-building-window .l2-head,
.category-party-building-window .side-box h3 {
  border-color: var(--assoc-red);
}

/* ==========================================================================
   05. Message form, contact, member and empty states
   ========================================================================== */

.assoc-msg-page {
  max-width: 760px;
}

.assoc-msg-intro {
  margin-bottom: 20px;
  padding: 15px 18px;
  background: var(--assoc-primary-pale);
  border: 1px solid #d7e7f5;
  color: var(--assoc-sub);
  font-size: 14px;
  line-height: 1.75;
}

.assoc-msg-intro p {
  margin: 0 0 6px;
}

.assoc-msg-intro p:last-child {
  margin-bottom: 0;
}

.assoc-msg-intro span,
.assoc-msg-form label span {
  color: var(--assoc-red);
}

.assoc-msg-alert {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--assoc-line);
  font-size: 14px;
}

.assoc-msg-alert.success {
  background: #f0faf2;
  border-color: #cfe8d3;
  color: #2f6b3c;
}

.assoc-msg-alert.error {
  background: #fff4f2;
  border-color: #f1c8c1;
  color: #9b2d23;
}

.assoc-msg-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.assoc-msg-form {
  display: grid;
  gap: 16px;
}

.assoc-msg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}

.assoc-msg-form label {
  display: grid;
  gap: 7px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}

.assoc-msg-form input,
.assoc-msg-form textarea,
.entry-content input,
.entry-content textarea,
.entry-content select {
  width: 100%;
  border: 1px solid var(--assoc-line-strong);
  background: #fff;
  color: var(--assoc-text);
  outline: 0;
  transition: border-color .16s, box-shadow .16s;
}

.assoc-msg-form input,
.entry-content input,
.entry-content select {
  min-height: 42px;
  padding: 0 12px;
}

.assoc-msg-form textarea,
.entry-content textarea {
  min-height: 160px;
  padding: 10px 12px;
  resize: vertical;
}

.assoc-msg-form input:focus,
.assoc-msg-form textarea:focus,
.entry-content input:focus,
.entry-content textarea:focus,
.entry-content select:focus {
  border-color: var(--assoc-primary);
  box-shadow: 0 0 0 3px rgba(20, 96, 170, .1);
}

.assoc-msg-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}

.assoc-msg-actions button,
.entry-content button,
.entry-content .wp-block-button__link {
  min-width: 140px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--assoc-primary);
  color: #fff;
  padding: 0 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.assoc-msg-actions button:hover,
.entry-content button:hover {
  background: var(--assoc-primary-dark);
}

.assoc-msg-actions p {
  margin: 0;
  color: var(--assoc-muted);
  font-size: 13px;
}

.entry-content .wp-block-image,
.entry-content figure {
  margin: 18px 0;
}

.entry-content .wp-block-image img,
.entry-content figure img {
  border: 1px solid var(--assoc-line);
}

.entry-content .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==========================================================================
   06. Search and 404
   ========================================================================== */

.assoc-search-results .l2-head,
.assoc-404-page .l2-head {
  align-items: flex-start;
}

.assoc-search-term {
  color: var(--assoc-primary-dark);
}

.assoc-404-box {
  padding: 34px;
  background: var(--assoc-primary-pale);
  border: 1px solid #d7e7f5;
  text-align: center;
}

.assoc-404-box p {
  margin: 0 0 18px;
  color: var(--assoc-sub);
}

.assoc-404-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.assoc-404-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--assoc-line-strong);
  background: #fff;
  color: var(--assoc-primary-dark);
}

/* ==========================================================================
   07. Footer, back to top, print
   ========================================================================== */

.assoc-foot {
  background: #0d3d73;
  color: #b7c5d5;
  font-size: 13px;
}

.assoc-foot .wrap {
  padding-top: 34px;
}

.foot-cols {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 30px;
}

.foot-name {
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--assoc-serif);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
}

.assoc-foot h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 1px;
}

.assoc-foot li,
.assoc-foot p {
  margin: 0 0 7px;
  color: #9fb1c6;
  line-height: 1.8;
}

.assoc-foot a:hover {
  color: #fff;
}

.foot-bottom {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  color: #8fa5bf;
  font-size: 12px;
}

.beian {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.beian a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.beian-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 0 !important;
}

.assoc-backtop {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 80;
  width: 40px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: var(--assoc-primary);
  color: #fff;
  box-shadow: var(--assoc-shadow);
  cursor: pointer;
}

.assoc-backtop.is-visible {
  display: flex;
}

.assoc-backtop:hover {
  background: var(--assoc-primary-dark);
}

@media print {
  .assoc-top,
  .assoc-mast,
  .assoc-nav,
  .crumb,
  .l2-side,
  .assoc-foot,
  .assoc-backtop,
  .art-nav {
    display: none !important;
  }

  .assoc-l2,
  .l2-main {
    padding: 0 !important;
    background: #fff !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .l2-grid {
    display: block !important;
  }
}

/* ==========================================================================
   08. Responsive baseline
   ========================================================================== */

@media (max-width: 1100px) {
  .assoc-mast .wrap {
    gap: 22px;
  }

  .brand-name {
    font-size: 28px;
    white-space: normal;
  }

  .assoc-slogan {
    display: none;
  }

  .assoc-search-form {
    width: 300px;
  }
}

@media (max-width: 1000px) {
  .first-row,
  .second-row,
  .l2-grid {
    grid-template-columns: 1fr;
  }

  .visual-card {
    aspect-ratio: 16 / 9;
  }

  .topic-band .wrap {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 22px;
    padding-bottom: 22px;
    text-align: left;
  }

  .topic-mark,
  .topic-lines {
    text-align: left;
  }

  .topic-cta {
    justify-self: start;
  }

  .work-grid,
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .assoc-c .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .assoc-top .wrap {
    justify-content: center;
    text-align: center;
  }

  .assoc-top .tools,
  .brand-en,
  .mast-right {
    display: none;
  }

  .assoc-mast .wrap {
    min-height: 96px;
  }

  .brand {
    gap: 12px;
  }

  .brand img {
    width: 58px;
    height: 58px;
    border-radius: 12px;
  }

  .brand-name {
    font-size: 20px;
    letter-spacing: 0;
  }

  .assoc-nav.has-toggle .assoc-nav-toggle {
    width: 100%;
    min-height: 42px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: var(--assoc-primary);
  }

  .assoc-nav-toggle span {
    width: 20px;
    height: 2px;
    display: block;
    background: #fff;
  }

  .assoc-nav .wrap {
    display: none;
    flex-direction: column;
    padding: 0;
  }

  .assoc-nav.nav-open .wrap,
  .assoc-nav:not(.has-toggle) .wrap {
    display: flex;
  }

  .assoc-nav > .wrap > a,
  .assoc-nav .nav-group > a {
    min-height: 42px;
    justify-content: flex-start;
    padding: 0 18px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    font-size: 14px;
  }

  .assoc-nav .nav-group,
  .assoc-nav > .wrap > a {
    flex: 0 0 auto;
    width: 100%;
  }

  .assoc-nav .sub {
    position: static;
    display: none;
    border: 0;
    box-shadow: none;
    background: #0e4d8c;
  }

  .assoc-nav .sub a {
    color: #fff;
    padding-left: 34px;
  }

  .assoc-nav .nav-group.sub-open .sub {
    display: block;
  }

  .home-main {
    padding: 20px 0 26px;
  }

  .visual-card {
    aspect-ratio: auto;
    min-height: 330px;
  }

  .carousel-slide {
    padding: 26px 22px;
  }

  .carousel-emblem {
    display: none;
  }

  .carousel-copy h1 {
    font-size: 23px;
    line-height: 1.45;
  }

  .carousel-copy p {
    font-size: 14px;
  }

  .carousel-dots {
    left: 22px;
    bottom: 24px;
  }

  .panel,
  .l2-main {
    padding: 20px 18px;
  }

  .panel-head,
  .l2-head {
    display: block;
  }

  .panel-head p,
  .l2-count,
  .section-title span {
    display: none;
  }

  .notice-list li,
  .news-list li,
  .news-list li.has-tag {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .notice-list .date,
  .news-list .d,
  .article-list .date {
    display: none;
  }

  .topic-lines a {
    font-size: 18px;
  }

  .work-grid,
  .foot-cols,
  .assoc-msg-grid {
    grid-template-columns: 1fr;
  }

  .links-band .wrap {
    display: block;
  }

  .links-title {
    margin-bottom: 10px;
  }

  .art-title,
  .l2-head h1 {
    font-size: 24px;
    text-align: left;
  }

  .entry-content {
    font-size: 16px;
    line-height: 1.85;
  }

  .assoc-msg-actions,
  .foot-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .beian {
    justify-content: flex-start;
  }

  .assoc-backtop {
    right: 14px;
    bottom: 16px;
  }
}

/* ==========================================================================
   2026-07-08 homepage visual tune-up
   Scope: keep the 2026-07-07 rewrite, restore only selected homepage details.
   ========================================================================== */

.assoc-c .assoc-hero-head::before {
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.94), rgba(255,255,255,.54) 54%, rgba(255,255,255,.28)),
    url("/wp-content/uploads/assoc-site/zhengzhou-skyline.svg");
  background-position:
    left top,
    right clamp(150px, 13vw, 280px) bottom;
  background-size:
    auto,
    auto 112px;
  background-repeat: no-repeat;
  opacity: .62;
}

.assoc-c .topic-band-national {
  background: linear-gradient(90deg, #ddf0ff 0%, #c7e4fa 48%, #b3d8f3 100%);
  border-top: 1px solid #bcd9ef;
  border-bottom: 1px solid #bcd9ef;
}

.assoc-c .topic-band-national .topic-lines a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #0068bd;
  letter-spacing: .5px;
  text-align: center;
}

.assoc-c .topic-band-national .topic-pill {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  padding: 5px 15px;
  border: 1px solid rgba(137, 93, 19, .32);
  border-radius: 3px;
  background: linear-gradient(180deg, #ecce7e 0%, #c7972f 100%);
  box-shadow: 0 1px 4px rgba(96, 63, 12, .28);
  color: #3a2a08;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 3px;
  text-indent: 3px;
  text-shadow: none;
}

.assoc-c .topic-band-national .topic-desc {
  color: #405972;
  letter-spacing: 1px;
}

@media (min-width: 1001px) {
  .assoc-c .first-row {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.22fr) minmax(420px, .95fr);
  }

  .assoc-c .first-row > .visual-card,
  .assoc-c .first-row > .panel {
    height: 100%;
  }

  .assoc-c .visual-card.carousel-card {
    min-height: 430px;
    aspect-ratio: auto;
  }

  .assoc-c .notice-panel {
    min-height: 430px;
    display: flex;
    flex-direction: column;
  }

  .assoc-c .notice-panel .notice-list {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .assoc-c .notice-panel .notice-list li {
    flex: 1 1 0;
    min-height: 42px;
  }

  .assoc-c .second-row > .panel {
    min-height: 350px;
    display: flex;
    flex-direction: column;
    padding: 28px 34px;
    border-color: #d3e3f2;
    box-shadow: 0 5px 16px rgba(0, 80, 145, .065);
  }

  .assoc-c .second-row .tabs {
    min-height: 46px;
    margin-bottom: 15px;
    border-bottom-color: #c9dded;
  }

  .assoc-c .second-row .tabs span {
    padding: 8px 14px 11px;
    font-size: 20px;
    font-weight: 700;
  }

  .assoc-c .second-row .tabs .active {
    box-shadow: inset 0 -3px 0 var(--assoc-primary);
  }

  .assoc-c .second-row .article-list {
    flex: 1 1 auto;
  }

  .assoc-c .second-row .article-list li {
    min-height: 42px;
    gap: 16px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .assoc-c .topic-band-national .topic-lines a {
    justify-content: flex-start;
    gap: 4px 0;
  }

  .assoc-c .topic-band-national .topic-pill {
    margin-right: 10px;
    padding: 3px 10px;
    font-size: 12px;
    letter-spacing: 2px;
    text-indent: 2px;
  }
}

/* ==========================================================================
   2026-07-08 skyline de-duplication
   同一张 zhengzhou-skyline.svg 原在首页渲染三次（页头右下 + 两条专题条左下），
   视觉重复。此处只降低专题条剪影强度，使其退为隐约底纹；
   页头淡水印保持不变（opacity .62），形成主次分工。
   Scope: 仅 opacity，不改图片、不改版式、不改 PHP。整段删除即可回退。
   ========================================================================== */

.assoc-c .topic-band::before {
  opacity: .26;
}

/* ==========================================================================
   联系我们：轻量联系方式与来访导航卡片（不嵌入第三方地图）
   ========================================================================== */

.contact-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.contact-info-card,
.contact-nav-card {
  border: 1px solid var(--assoc-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(28, 66, 102, .06);
}

.contact-info-card {
  padding: 28px 32px;
}

.contact-page__eyebrow,
.contact-nav-card__eyebrow {
  margin: 0 0 5px;
  color: var(--assoc-primary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.contact-info-card h2,
.contact-nav-card h2 {
  margin: 0;
  color: #102e4a;
  font-size: 22px;
  line-height: 1.4;
}

.contact-info-list {
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

.contact-info-list > div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid #e7eef5;
}

.contact-info-list dt {
  color: #274866;
  font-weight: 700;
}

.contact-info-list dd {
  margin: 0;
  color: #526a80;
}

.contact-info-list a {
  color: var(--assoc-primary);
  text-decoration: none;
}

.contact-info-list a:hover {
  color: var(--assoc-primary-dark);
  text-decoration: underline;
}

.contact-nav-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 18px;
  padding: 22px 26px;
  border-left: 4px solid var(--assoc-primary);
  background: #f7fbff;
}

.contact-nav-card__note {
  margin: 7px 0 0;
  color: #62778b;
  font-size: 14px;
  line-height: 1.75;
}

.contact-nav-card__actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
}

.contact-nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--assoc-primary);
  border-radius: 3px;
  color: #fff !important;
  background: var(--assoc-primary);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease;
}

.contact-nav-button:hover {
  border-color: var(--assoc-primary-dark);
  color: #fff !important;
  background: var(--assoc-primary-dark);
}

.contact-nav-button--secondary {
  color: var(--assoc-primary) !important;
  background: #fff;
}

.contact-nav-button--secondary:hover {
  color: #fff !important;
}

@media (max-width: 768px) {
  .contact-page {
    padding-bottom: 18px;
  }

  .contact-info-card {
    padding: 22px 18px;
  }

  .contact-info-list > div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 13px 0;
  }

  .contact-nav-card {
    display: block;
    padding: 20px 18px;
  }

  .contact-nav-card__actions {
    margin-top: 16px;
  }

  .contact-nav-button {
    flex: 1 1 148px;
  }
}
