/*
Theme Name: chc_v2
Theme URI:
Author:
Version: 1.0
Text Domain: chc_v2
*/

:root {
  --c-primary:       #02A676;
  --c-primary-dark:  #018A61;
  --c-primary-light: #E6F6F1;

  --c-dark:          #0E2A22;
  --c-dark-2:        #173B31;

  --c-heading:       #1A2E28;
  --c-text:          #3D4F49;
  --c-text-muted:    #6B7C76;

  --c-bg:            #FFFFFF;
  --c-white:         #FFFFFF;
  --c-border:        #D8E4DF;

  --c-gold:          #C9A227;
  --c-error:         #C0392B;

  --radius-sm: 3px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 34, .06);
  --shadow-md: 0 4px 12px rgba(14, 42, 34, .10);
}


* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, dt, figure, blockquote, pre {
  margin: 0;
  padding: 0;
}
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; border: none; display: block; }
table { border-collapse: collapse; width: 100%; }
input, select, textarea, button { font-family: inherit; font-size: inherit; }


h1, h2, h3, h4, h5, h6 {
  color: var(--c-heading);
  font-weight: 600;
  line-height: 1.4;
}

/* 全局链接*/
a {
  color: var(--c-heading);
  text-decoration: none;
  transition: color .2s ease;
}
a:visited { color: var(--c-heading); }
a:hover { color: var(--c-primary); }

/* 正文内链接*/
.entry-content a,
.page-body a {
  color: var(--c-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.entry-content a:hover,
.page-body a:hover { color: var(--c-primary); }


.site-nav a:hover,
.card-title a:hover,
.news-item-title a:hover { color: var(--c-primary); }

/* ============================================================
   4. 工具类
   ============================================================ */
.clear { clear: both; }
.float_l { float: left; }
.float_r { float: right; }
.fr { float: right; }
.fl { float: left; }
.dis { display: block; }
.undis { display: none; }
.align_c { text-align: center; }

/* ============================================================
   5. 通用容器
   ============================================================ */
.container {
  width: 1200px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
}


/* ============================================================
   6. 按钮
   ============================================================ */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  background: var(--c-primary);
  color: #fff;
  font-weight: 500;
  transition: background .2s;
}
.btn:hover { background: var(--c-primary-dark); color: #fff; text-decoration: none; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--c-primary);
  color: var(--c-primary);
}
.btn-outline:hover { background: var(--c-primary); color: #fff; }

/* ============================================================
   7. 卡片
   ============================================================ */
.card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   8. 标签 / 徽章
   ============================================================ */
.badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 2px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: .85em;
}
.badge-gold { background: #F7F0DA; color: #8A6D12; }

/* ============================================================
 9. 分页
 ============================================================ */
.pagination {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f1f3f7;
  text-align: center;
}
.pagination ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.pagination .page-numbers {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  padding: 0 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
  transition: all .2s ease;
}
.pagination .page-numbers:hover:not(.current) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.pagination .page-numbers.current {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  font-weight: 600;
}
.pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #999;
  min-width: auto;
  padding: 0 4px;
}
.pagination,
.pagination ul.page-numbers,
.pagination ul.page-numbers li {
border: none !important;
box-shadow: none !important;
background: transparent !important;
}



/* ============================================================
   10. 表单
   ============================================================ */
input[type="text"],
input[type="search"],
input[type="email"],
textarea {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  outline: none;
}
input[type="text"]:focus,
input[type="search"]:focus,
textarea:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 2px rgba(2, 166, 118, .15);
}



/* ============================================================
   页头
   ============================================================ */

.top-bar {
  background: #f4f4f4;
  height: 40px;
  font-size: 14px;
  color: #666;
  line-height: 40px;
}
.top-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar__left { margin-left: 30px; }
.top-bar__right { margin-right: 10px; }
.top-bar__right a,
.top-bar__wx {
  color: #666;
  margin-left: 10px;
  cursor: pointer;
}
.top-bar__right a:hover,
.top-bar__wx:hover { color: #000; }

.header-main {
  background: #fff;
  height: 115px;
}
.header-main__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 115px;
}
.site-logo { padding-left: 15px; }
.site-logo img { max-height: 80px; width: auto; }

.search-form { display: flex; width: 500px; margin-right: 20px; }
.search-form__input {
  width: 400px;
  height: 40px;
  border: 1px solid #02A676;
  border-right: none;
  padding: 0 10px;
  outline: none;
  font-size: 14px;
}
.search-form__btn {
  width: 100px;
  height: 42px;
  background: #02A676;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
}
.search-form__btn:hover { background: #018A61; }

.main-nav {
  background: #02A676;
  height: 45px;
}
.main-nav__list {
  display: flex;
  padding-left: 50px;
}
.main-nav__link,
.main-nav__link:visited {
  display: block;
  width: 135px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: bold;
}
.main-nav__link:hover,
.main-nav__link.is-active,
.main-nav__link.is-active:visited { color: #fff; }

/* ============================================================
 首页
 ============================================================ */
.home-layout {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 20px 0;
}
.home-main { flex: 1 1 auto; min-width: 0; }
.home-side { flex: 0 0 260px; width: 260px; }

/* 首屏：焦点图 + 置顶新闻 */
.home-hero {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

/* 焦点图 */
.hero-slider {
  flex: 0 0 420px;
  width: 420px;
  height: 258px;
  overflow: hidden;
  position: relative;
}
.hero-slider .items,
.hero-slider .items li {
  margin: 0;
  padding: 0;
  list-style: none;
}
.hero-slider .items li img {
  width: 420px;
  height: 258px;
  object-fit: cover;
  display: block;
}

/* 置顶新闻 */
.hero-news {
  flex: 1 1 auto;
  min-width: 0;
  height: 258px;
  overflow: hidden;
  padding-top: 8px;
}
.hero-news__featured {
  text-align: center;
  background: none;
  padding: 0 0 10px;
}
.hero-news__featured h3 {
  font-size: 22px;
  line-height: 1.6;
  margin: 0;
  font-weight: 600;
}
.hero-news__featured h3 a { color: #ad2102; }
.hero-news__featured h3 a:hover { color: var(--c-primary); }

.hero-news__list { margin: 0; padding: 0; list-style: none; }
.hero-news__list li {
  padding-left: 20px;
  line-height: 2;
  background: url(/wp-content/themes/chc_v2/assets/img/p_31.jpg) 5px 50% no-repeat;
}
.hero-news__list li a { font-size: 16px; color: #333; }
.hero-news__list li a:hover { color: var(--c-primary); }

/* 通栏 banner */
.home-banner { margin: 10px 0; }
.home-banner img { width: 100%; height: auto; display: block; }

/* 双栏新闻 */
.news-pair {
  display: flex;
  gap: 20px;
  border: 1px solid #d5f7d7;
  margin: 10px 0;
  padding: 10px;
  background: url(/wp-content/themes/chc_v2/assets/img/line1.jpg) 49% 50% no-repeat;
}
.news-pair__col { flex: 1 1 0; min-width: 0; }
.news-pair__head {
  position: relative;
  height: 40px;
  background: url(/wp-content/themes/chc_v2/assets/img/news_title.png) 0 5px no-repeat;
  margin-bottom: 10px;
}
.news-pair__head h3 { font-size: 16px; color: #fff; margin-left: 15px; line-height: 40px; }
.news-pair__more { position: absolute; right: 20px; top: 0; line-height: 40px; }
.news-pair__more a { font-size: 14px; color:#666;}
.news-pair__list { margin: 0; padding: 0; }
.news-pair__list li {
  padding-left: 20px;
  line-height: 1.9;
  background: url(/wp-content/themes/chc_v2/assets/img/p_31.jpg) 5px 50% no-repeat;
}
.news-pair__list li a { font-size: 16px; }

/* 侧栏 */
.home-side__banner { margin-bottom: 8px; }
.home-side__banner img { width: 100%; height: auto; display: block; }
.home-side__box { border: 1px solid #d5f7d7; margin-bottom: 8px; }
.home-side__title {
  font-size: 14px;
  height: 29px;
  line-height: 29px;
  padding-left: 10px;
  margin: 0;
  background: url(/wp-content/themes/chc_v2/assets/img/bg_green.jpg) repeat-x;
  color: #018a61;
  font-weight: bold;
}
.home-side__list,
.home-side__member-list,
.home-side__download-list { padding: 10px 15px; margin: 0; }
.home-side__list li,
.home-side__member-list li,
.home-side__download-list li { line-height: 1.9; font-size: 14px; }
.home-side__links { padding: 10px 15px; line-height: 2; font-size: 14px; }
.home-side__links a { display: block; }


/* ============================================================
 首页
 ============================================================ */


#pptj {
  margin-bottom: 8px;
  border: 1px #f2f3f7 solid;
  height:120px;
}
#pptj2 {
  height: 35px;
  border-bottom: 1px #e9e9e9 solid;
  background: url(assets/img/titles9_07.jpg) 20px center no-repeat;
}

.picup1 {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
}
.picup1 .textCont {
  padding: 10px 10px 0 25px;
  overflow: hidden;
}


#picup2 .textCont ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  height: 58px; 
}

#picup2 .textCont ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 60px;
  overflow: hidden;
  text-align: center;
}

#picup2 .textCont li a {
  display: block;
  float: left;
  width: 111px;
  height: 58px; 
  margin: 0 8px;
  border: 1px #F2F3f7 solid;
  border-radius: 8px;
  text-decoration: none;
  box-sizing: border-box;
}

#picup2 .textCont li img {
  display: block;
  width: 111px;
  height: 58px;
  max-width: none;
  padding: 3px;
  background: #fff;
  border: 1px #eee solid;
  box-sizing: content-box;
}
.picup1 .btns {
  width: 24px;
  height: 42px;
  z-index: 999;
}
.picup1 .btns i {
  width: 8px;
  overflow: hidden;
  cursor: pointer;
}


/* ---------- 出版物 / 友情链接 ---------- */
.home-links {
  border: 1px #cdcdcd solid;
  background: #fff;
}
.home-links + .home-links {
  margin-top: 5px;
}
.home-links__head {
  height: 35px;
  border-bottom: 1px #e9e9e9 solid;
  background: url(/wp-content/themes/chc_v2/assets/img/titles9_03.jpg) 20px center no-repeat;
}
.home-links + .home-links .home-links__head {
  background: url(/wp-content/themes/chc_v2/assets/img/titles9_06.jpg) 20px center no-repeat;
}
.home-links__body {
  padding: 15px;
  font-size: 14px;
  color: #333;
  line-height: 150%;
  word-wrap: break-word;
  word-break: break-all;
}
.home-links__body a {
  color: #333;
  text-decoration: none;
}
.home-links__body a:visited {
  color: #333;
  text-decoration: none;
}
.home-links__body a:hover {
  color: #BC2D09;
  text-decoration: underline;
}
.home-links__body a:active {
  color: #BC2D09;
  text-decoration: none;
}

/* ============================================================
   页脚
   ============================================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--c-border);
  color: #999;
  font-size: 14px;
  line-height: 2;
  text-align: center;
  padding: 30px 0;
}
.site-footer__inner { padding: 0 20px; }
.site-footer__contact { margin-bottom: 8px; }
.site-footer__copy { line-height: 2; }
.site-footer__copy a { color: #999; }
.site-footer__copy a:hover { color: var(--c-primary); }
.site-footer img {
  display: inline-block;
  vertical-align: middle;
  margin: 0 4px;
}

/* ============================================================
 面包屑
 ============================================================ */
.breadcrumb {
  height: 60px;
  line-height: 60px;
  font-size: 14px;
  color: var(--c-text-muted);
  margin:0;
  padding:0;
}
.breadcrumb a {
  color: var(--c-text);
}
.breadcrumb a:hover {
  color: var(--c-primary);
}

/* ============================================================
   page.php  single.php
   ============================================================ */

/* 文章卡片 */
.page-article {
  background: var(--c-white);
  border: 1px solid #E5E9E7;
  border-radius: 4px;
  box-shadow: 0 1px 2px rgba(14, 42, 34, .04);
  padding: 48px 56px;
  margin: 0 0 32px;
  text-align: left;
}


.page-title {
  display: block;
  width: 100%;
  font-size: 28px;
  color: #1A2E28;
  line-height: 1.55;
  font-weight: 600;
  text-align: center;
  margin: 0 0 20px;
  padding: 0 0 20px;
  border-bottom: 1px solid #E5E9E7;
  letter-spacing: 0.5px;
}

/* 正文 */
.page-body {
  font-size: 17px;
  line-height: 1.95;
  color: #2F3E38;
  text-align: left;
  padding: 0;
}
.page-body p {
  margin: 0 0 1.1em;
}
.page-body p[style*="text-align: center"],
.page-body p[style*="text-align: right"] {
  text-indent: 0;
}
.page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  margin: 24px auto;
  display: block;
}
.page-body h2 {
  font-size: 20px;
  color: #1A2E28;
  margin: 36px 0 16px;
  padding: 0 0 0 12px;
  border-left: 3px solid var(--c-primary);
  line-height: 1.5;
}
.page-body h3 {
  font-size: 17px;
  color: #1A2E28;
  margin: 28px 0 10px;
  font-weight: 600;
}
.page-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  background: #F7F9F8;
  border-left: 3px solid var(--c-primary);
  color: #4A5A54;
  border-radius: 0;
  font-size: 16px;
}
.page-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.page-body th,
.page-body td {
  border: 1px solid #DDE3E0;
  padding: 10px 14px;
  text-align: left;
  text-indent: 0;
  line-height: 1.7;
}
.page-body th {
  background: #F4F7F5;
  font-weight: 600;
  color: #1A2E28;
}
.page-body a {
  color: #2F5D4E;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-body a:hover {
  color: var(--c-primary-dark);
}

/* ============================================================
   新闻详情页
   ============================================================ */

/* 元信息行 */
.single .single-meta {
  font-size: 14px;
  color: var(--c-text-muted);
  text-align: right;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid #F0F3F1;
}
.single .single-meta span {
  margin: 0 10px;
  white-space: nowrap;
}

/* 标签 */
.single .news-tags {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #E5E9E7;
  font-size: 13px;
  color: var(--c-text-muted);
}
.single .news-tags a {
  display: inline-block;
  padding: 2px 10px;
  margin: 0 4px 6px 0;
  border: 1px solid #DDE3E0;
  border-radius: 2px;
  color: var(--c-text);
  font-size: 13px;
}
.single .news-tags a:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

/* 上下篇导航 */
.single .post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 40px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #E5E9E7;
}
.single .post-nav-prev,
.single .post-nav-next {
  flex: 1;
  min-width: 0;
}
.single .post-nav a {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--c-text);
  font-size: 15px;
  line-height: 1.6;
}
.single .post-nav a:hover {
  color: var(--c-primary);
}
.single .post-nav-next {
  text-align: right;
}

/* 详情页标题 */
.single .page-title {
  font-size: 30px;
}



/* ============================================================
 协会工作 / 分类列表页
 ============================================================ */
.news-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}

/* 左侧热点栏 */
.news-sidebar {
  width: 300px;
  flex: 0 0 300px;
}
.news-sidebar-widget {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.news-sidebar-widget h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
  color: #1f2937;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f3f7;
}
.hot-work-list { display: grid; gap: 16px; }
.hot-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.hot-card:hover {
  box-shadow: 0 6px 18px rgba(37,99,235,.12);
  transform: translateY(-2px);
}
.hot-card img {
  width: 100%;
  height: auto;
  display: block;
}
.hot-card-title {
  padding: 12px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}
.hot-card-title a { color: #374151; }
.hot-card-title a:hover { color: var(--c-primary); }
.hot-empty { color: #9ca3af; font-size: 14px; }

/* 右侧列表 */
.news-main {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
}
.news-list { display: flex; flex-direction: column; }
.news-item-dt {
  border-bottom: 1px dotted #e8e8e8;
  padding: 14px 0;
}
.news-item-dt:last-child { border-bottom: none; }
.news-item-dt .news-item-link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  color: #374151;
  text-decoration: none;
}
.news-item-dt .news-item-link:hover .news-title2 { color: var(--c-primary); }
.news-item-dt .news-title2 {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  color: #1f2937;
  line-height: 1.6;
}
.news-item-dt .news-date {
  flex-shrink: 0;
  font-size: 14px;
  color: #6b7280;
  white-space: nowrap;
}

/* 空状态 */
.news-empty {
  padding: 40px 0;
  text-align: center;
  color: #9ca3af;
}

/* ============================================================
 分页：paginate_links(type=list) 专用
 ============================================================ */
.news-pagination {
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
}

/* 重置 ul/li */
.news-pagination ul.page-numbers {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.news-pagination ul.page-numbers li {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* 每个页码 */
.news-pagination .page-numbers {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  background: #fff;
  text-align: center;
  box-sizing: border-box;
  transition: all .2s ease;
}
.news-pagination .page-numbers:hover:not(.current) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.news-pagination .page-numbers.current {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  font-weight: 600;
}
.news-pagination .page-numbers.dots {
  border: none;
  background: transparent;
  color: #999;
  min-width: auto;
  padding: 0 4px;
}




/* ===== 协会简介 ===== */
.side-page {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 15px 0 40px;
  box-sizing: border-box;
}

/* 左侧导航卡片 */
.side-page-nav {
  width: 240px;
  flex: 0 0 240px;
  position: sticky;
  top: 20px;
  background: #fff;
  border: 1px solid #e2f0ec;
  border-radius: 10px;
  padding: 18px 16px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(2,166,118,.04);
}
.side-page-nav h3 {
  font-size: 16px;
  color: #005c53;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8ece7;
  font-weight: 600;
}
.side-page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-page-nav li { margin: 0 0 6px; }
.side-page-nav li:last-child { margin-bottom: 0; }
.side-page-nav a {
  display: block;
  padding: 9px 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a5a6a;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all .2s ease;
}
.side-page-nav a:hover {
  color: #02A676;
  background: #eef8f5;
}
.side-page-nav a.active {
  color: #02A676;
  font-weight: 600;
  background: #e6f6f1;
  border-left-color: #02A676;
}

/* 右侧内容卡片 */
.side-page-main {
  flex: 1;
  min-width: 0;
}
.side-page-main .page-article {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 30px 35px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  box-sizing: border-box;
}
.side-page-main .page-title {
  font-size: 26px;
  color: #1f2937;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #02A676;
  font-weight: 600;
}
.side-page-main .page-body {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}
.side-page-main .page-body h2 {
  font-size: 22px;
  color: #1f2937;
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #02A676;
}
.side-page-main .page-body h3 {
  font-size: 17px;
  color: #005c53;
  margin: 24px 0 10px;
}
.side-page-main .page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}
.side-page-main .page-body p { margin: 0 0 14px; }
.side-page-main .page-body ul,
.side-page-main .page-body ol { padding-left: 24px; margin: 0 0 16px; }
.side-page-main .page-body ul li { list-style: disc; }
.side-page-main .page-body ol li { list-style: decimal; }



/* ============================================================
 返回顶部按钮
 ============================================================ */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 60px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: #02A676;
  color: #fff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s, transform .3s, background .3s;
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #018a62;
  transform: translateY(-2px);
}

/* ============================================================
 分支机构列表
 ============================================================ */
 .branch-page {
margin:0;padding:0;
}
.branch-page__title {
  text-align: center;
  font-size: 26px;
  color: #005c53;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Tab 容器 */
.bz-tab-box {
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2f0ec;
}
.bz-tab-box .titList {
  height: 48px;
  background: #c9f1e9;
  display: flex;
}
.bz-tab-box .titList ul {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
.bz-tab-box .titList ul li {
  flex: 1 1 0;
  width: auto;
  text-align: center;
  line-height: 48px;
  font-size: 16px;
  font-weight: 600;
  color: #005c56;
  cursor: pointer;
  transition: all .2s ease;
  list-style: none;
}
.bz-tab-box .titList ul li.on,
.bz-tab-box .titList ul li:hover {
  background: #00ae93;
  color: #fff;
}

/* 面板 */
.bz-tab-box .textCont {
  padding: 20px;
  background: #f9fdff;
  overflow: hidden;
}
.branch-panel {
  overflow: hidden;
  display: none;
}
.branch-panel:first-child,
.branch-panel[style*="block"] {
  display: block;
}
.branch-empty { padding: 30px; color: #999; text-align: center; }

/* 两列：用 flex，不用 float */
.branch-panel .branch-col {
  float: none;
  width: calc(50% - 28px);
  margin-right: 24px;
  display: inline-block;
  vertical-align: top;
  box-sizing: border-box;
}
.branch-panel .branch-col:last-of-type { margin-right: 0; }

/* 卡片 */
.branch-col ul {
  margin: 0 0 20px;
  padding: 20px 30px;
  height: 200px; 
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
  border: 1px solid #e3f0ea;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(14, 42, 34, .04);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  list-style: none;
  box-sizing: border-box;
}
.branch-col ul:hover {
  background: linear-gradient(180deg, #f4fdf9 0%, #e9f8f2 100%);
  border-color: #b9e6d7;
  box-shadow: 0 4px 12px rgba(2, 166, 118, .10);
  transform: translateY(-2px);
}
.branch-col ul li {
  line-height: 35px;
  font-size: 15px;
  color: #005c53;
  overflow: hidden;
  list-style: none;
}
.branch-col ul li a {
  color: #005c53;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}
.branch-col ul li a:hover { color: #3dc878; }




/* ============================================================
 通用双栏列表（fgbz / pxgz / hyfzjg）
 ============================================================ */

/* 页面外层 */
.container.side-page {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 0 0 40px;
  box-sizing: border-box;
}

/* ---------- 左侧导航 ---------- */
.side-page-nav {
  width: 260px;
  flex: 0 0 260px;
  position: sticky;
  top: 20px;
  background: #f7fbfa;
  border: 1px solid #e2f0ec;
  border-radius: 10px;
  padding: 20px 16px;
  box-sizing: border-box;
}
.side-page-nav h3 {
  font-size: 16px;
  color: #005c53;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d8ece7;
  font-weight: 600;
}
.side-page-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.side-page-nav li { margin: 0 0 6px; }

/* 分组标题 */
.side-page-nav .nav-group { margin-bottom: 18px; }
.side-page-nav .nav-group:last-child { margin-bottom: 0; }
.side-page-nav .nav-group-title {
  font-size: 15px;
  color: #005c53;
  font-weight: 600;
  padding: 0 8px 6px;
  margin-bottom: 4px;
  border-bottom: 1px dashed #d8ece7;
}

/* 菜单链接 */
.side-page-nav a,
.side-page-nav .menu-text {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a5a6a;
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 4px 4px 0;
  transition: all .2s ease;
}
.side-page-nav .menu-text {
  color: #005c53;
  font-weight: 600;
  background: #eef8f5;
}
.side-page-nav a:hover {
  color: #02A676;
  background: #eef8f5;
}
.side-page-nav a.active,
.side-page-nav li.active > a {
  color: #02A676;
  font-weight: 600;
  background: #e6f6f1;
  border-left-color: #02A676;
}

/* 子菜单 */
.side-page-nav .submenu {
  list-style: none;
  padding: 0 0 0 12px;
  margin: 4px 0 0;
  border-left: 1px solid #d8ece7;
}
.side-page-nav .submenu li { margin: 0 0 4px; }
.side-page-nav .submenu a {
  padding: 6px 10px;
  font-size: 14px;
  border-left: none;
}
.side-page-nav .submenu a.active {
  background: #e6f6f1;
  color: #02A676;
  border-left: none;
}

/* ---------- 右侧内容 ---------- */
.side-page-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-card {
  background: #fff;
  border: 1px solid #eef0f4;
  border-radius: 10px;
  padding: 26px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  box-sizing: border-box;
}


.side-card .block-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  color: #1f2937;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #02A676;
  font-weight: 600;
}
.side-card .block-title .more-btn {
  font-size: 14px;
  font-weight: 400;
  color: #02A676;
  text-decoration: none;
  white-space: nowrap;
}
.side-card .block-title .more-btn:hover {
  color: #018A61;
  text-decoration: underline;
}

/* 单页正文 */
.side-page-main .page-title {
  font-size: 26px;
  color: #1f2937;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #02A676;
  font-weight: 600;
}
.side-page-main .page-body {
  font-size: 16px;
  line-height: 1.85;
  color: #333;
}
.side-page-main .page-body h2 {
  font-size: 22px;
  color: #1f2937;
  margin: 36px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
}
.side-page-main .page-body h3 {
  font-size: 17px;
  color: #005c53;
  margin: 24px 0 10px;
}
.side-page-main .page-body img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 16px 0;
}
.side-page-main .page-body p { margin: 0 0 14px; }

/* ---------- Tab ---------- */
.custom-tab .tab-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  border-bottom: 1px solid #eef0f4;
  margin-bottom: 18px;
}
.tab-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  font-size: 15px;
  line-height: 1.5;
  cursor: pointer;
  transition: all .2s;
  color: #555;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}
.tab-btn:hover { color: #02A676; }
.tab-btn.active {
  color: #02A676;
  font-weight: 600;
  border-bottom-color: #02A676;
}
.tab-header .more-btn {
  margin-left: auto;
  font-size: 14px;
  color: #02A676;
  text-decoration: none;
  white-space: nowrap;
}
.tab-header .more-btn:hover {
  color: #018A61;
  text-decoration: underline;
}
.tab-body { padding: 0; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- 新闻列表 ---------- */
.news-list-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.news-list-ul .news-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  line-height: 1.6;
  padding: 10px 0;
  border-bottom: 1px dotted #e8e8e8;
  font-size: 15px;
}
.news-list-ul .news-item:last-child { border-bottom: none; }
.news-list-ul .news-item a {
  flex: 1;
  min-width: 0;
  color: #333;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-list-ul .news-item a:hover { color: #02A676; }
.news-list-ul .news-date {
  flex-shrink: 0;
  color: #999;
  font-size: 14px;
  white-space: nowrap;
}

/* 更多（通用文字链接） */
.more-btn {
  display: inline;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  color: #02A676;
  font-size: 14px;
  text-decoration: none;
}
.more-btn:hover {
  background: none;
  color: #018A61;
  text-decoration: underline;
}

/* 空状态 */
.empty-tip { color: #999; text-align: center; padding: 30px 0; }

/* ---------- 最新会员网格 ---------- */
.member-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}
.member-grid li {
  font-size: 15px;
  line-height: 1.6;
  color: #4a5a6a;
  padding-left: 14px;
  position: relative;
}
.member-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: #02A676;
  border-radius: 50%;
}

/* ---------- 联系方式 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.contact-block {
  background: #f7fbfa;
  border: 1px solid #e2f0ec;
  border-radius: 8px;
  padding: 16px 18px;
}
.contact-block h4 {
  font-size: 15px;
  color: #005c53;
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid #d8ece7;
}
.contact-block p {
  font-size: 14px;
  line-height: 1.8;
  color: #4a5a6a;
  margin: 0;
}

/* ---------- 培训项目网格 ---------- */
.training-group { margin-bottom: 28px; }
.training-group:last-child { margin-bottom: 0; }
.training-group-title {
  font-size: 16px;
  color: #005c53;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.training-item {
  display: block;
  padding: 16px;
  background: #f7fbfa;
  border: 1px solid #e2f0ec;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s ease;
}
.training-item:hover {
  background: #eef8f5;
  border-color: #02A676;
  transform: translateY(-2px);
}
.training-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #005c53;
  margin-bottom: 4px;
}
.training-desc {
  display: block;
  font-size: 13px;
  color: #7a8a96;
}


.container > .breadcrumb a { color: #666; }
.container > .breadcrumb a:hover { color: #02A676; }
.container > .breadcrumb span { color: #999; }




/* ============================================================
 分类列表页 archive.php
 ============================================================ */
.news-archive {
  padding: 0 0 40px;
}
.news-archive-wrap {
  display: block;
}

/* 栏目标题 */
.archive-title {
  font-size: 26px;
  color: #1f2937;
  margin: 10px 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #02A676;
  font-weight: 600;
}

/* 列表 */
.news-list {
  display: flex;
  flex-direction: column;
}
.archive-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px dotted #e8e8e8;
}
.archive-item:last-child { border-bottom: none; }
.archive-item-title {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight:400;
  margin: 0;
  line-height: 1.6;
}
.archive-item-title a {
  color: #1f2937;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}
.archive-item-title a:hover { color: #02A676; }
.archive-item-meta {
  flex-shrink: 0;
  font-size: 14px;
  color: #999;
  white-space: nowrap;
}


/* 空状态 */
.no-post {
  text-align: center;
  padding: 60px 0;
  color: #888;
}

/*置顶*/
.sticky-badge {
  display: inline;
  padding: 0 5px;
  margin-left: 6px;
  font-size: 12px;
  line-height: inherit;
  color: #02A676;
  background: #e6f6f1;
  border: 1px solid #b9e6d7;
  border-radius: 3px;
  vertical-align: baseline;
  font-weight: 400;
  white-space: nowrap;
}
/*推荐*/
.recommend-badge {
  background: #F7F0DA;
  color: #8A6D12;
  border: 1px solid #E5D6A8;
}


/* ============================================================
 “下载”按钮
 ============================================================ */
 .wp-block-file .wp-block-file__button {
  display: inline-block;
  padding: 4px 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-text) !important;
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.wp-block-file .wp-block-file__button:visited {
  color: var(--c-text) !important;
}
.wp-block-file .wp-block-file__button:hover {
  border-color: var(--c-primary);
  color: var(--c-primary) !important;
  background: #fff;
  text-decoration: none;
}
.wp-block-file .wp-block-file__button:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(2, 166, 118, .15);
}




/* 会员单位 Tab */
.member-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
}
.member-tab {
  padding: 8px 18px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--c-text);
  font-size: 14px;
  cursor: pointer;
  transition: all .2s;
}
.member-tab:hover {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.member-tab.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}

/*最新会员*/
.member-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}


/* ============================================================
 搜索结果页
 ============================================================ */
.search-main {
  margin-bottom: 40px;
}

.search-results {
  display: flex;
  flex-direction: column;
}

.search-result {
  display: block;
  padding: 18px 0;
  border-bottom: 1px dotted #e8e8e8;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease;
}
.search-result:first-child {
  padding-top: 0;
}
.search-result:last-child {
  border-bottom: none;
}
.search-result:hover {
  background: #f9fdfb;
}

.search-result-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  color: var(--c-heading);
  line-height: 1.6;
  margin-bottom: 6px;
  transition: color .2s ease;
}
.search-result:hover .search-result-title {
  color: var(--c-primary);
}

.search-result-date {
  display: block;
  font-size: 13px;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}

.search-result-excerpt {
  display: block;
  font-size: 15px;
  line-height: 1.8;
  color: var(--c-text);
  word-break: break-word;
}
.search-result-excerpt mark {
  background: #fff3b0;
  color: #7a5c00;
  padding: 0 2px;
  border-radius: 2px;
}

/* 分页 */
.search-pagination {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid #f1f3f7;
  text-align: center;
}
.search-pagination .page-numbers {
  display: inline-block;
  min-width: 34px;
  height: 34px;
  line-height: 32px;
  padding: 0 10px;
  margin: 0 3px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  color: #374151;
  text-decoration: none;
  background: #fff;
  transition: all .2s ease;
}
.search-pagination .page-numbers:hover:not(.current) {
  border-color: var(--c-primary);
  color: var(--c-primary);
}
.search-pagination .page-numbers.current {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  font-weight: 600;
}

/* 空状态 */
.search-empty {
  text-align: center;
  color: var(--c-text-muted);
  padding: 48px 0;
  font-size: 15px;
}



.main-nav__link.is-active {
  background: #018A61;
  color: #fff;
}

/* =========================================================
 协会工作
 ========================================================= */

.xhgz-page {
padding-bottom: 40px;
}

.xhgz-row-top {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin: 24px 0;
}

.xhgz-col {
background: #fff;
border: 1px solid #e3e8ef;
border-radius: 10px;
padding: 24px 28px;
box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}

.xhgz-col-title {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 20px;
font-weight: 700;
color: #1a1a1a;
padding-bottom: 10px;
border-bottom: 2px solid #02a676;
margin-bottom: 12px;
}

.xhgz-col-title .xhgz-more {
font-size: 13px;
font-weight: 400;
color: #999;
text-decoration: none;
transition: color .2s ease;
}
.xhgz-col-title .xhgz-more:hover {
color: #02a676;
}
.xhgz-news-list {
list-style: none;
margin: 0;
padding: 0;
}

.xhgz-news-list li {
display: flex;
justify-content: space-between;
align-items: baseline;
gap: 12px;
padding: 9px 0;
border-bottom: 1px dashed #e8e8e8;
font-size: 15px;
line-height: 1.5;
}

.xhgz-news-list li a {
color: #333;
text-decoration: none;
flex: 1;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
transition: color .2s ease;
}

.xhgz-news-list li a:hover {
color: #02a676;
}

.xhgz-news-list .xhgz-date {
color: #999;
font-size: 13px;
white-space: nowrap;
}
.xhgz-empty { color: #999; }

.xhgz-row-focus {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 20px;
margin: 32px 0;
opacity: .92;
transition: opacity .3s ease;
}
.xhgz-row-focus:hover { opacity: 1; }

.xhgz-focus-item {
position: relative;
display: block;
border-radius: 10px;
overflow: hidden;
text-decoration: none;
background: #fff;
box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}

.xhgz-focus-item:hover {
box-shadow: 0 8px 22px rgba(0, 0, 0, .12);
transform: translateY(-3px);
border-color: #d8d8d8;
}

.xhgz-focus-item img {
display: block;
width: 100%;
height: 120px;
transition: opacity .25s ease;
}

.xhgz-focus-item:hover img {
opacity: .92;
}

.xhgz-focus-title {
display: block;
padding: 12px 16px;
font-size: 15px;
font-weight: 500;
color: #5b6b66;
text-align: center;
background: #fff;
transition: color .3s ease, font-weight .3s ease;
}
.xhgz-focus-item:hover .xhgz-focus-title {
color: #005c53;
font-weight: 600;
}

.xhgz-col--dj {
border-color: #f0d6d6;
background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
box-shadow: 0 2px 10px rgba(192, 57, 43, .08);
}
.xhgz-col--dj .xhgz-col-title {
border-bottom-color: #c0392b;
}
.xhgz-col--dj .xhgz-news-list li {
border-bottom-color: #f3e3e3;
}
.xhgz-col--dj .xhgz-news-list li:last-child {
border-bottom-color: transparent;
}
.xhgz-col--dj .xhgz-more {
color: #c0392b;
}
.xhgz-col--dj .xhgz-more:hover {
color: #a52a2a;
}



/*about*/
.panel-wrap {
  margin: 0 auto;
  font-family: "Microsoft Yahei", PingFangSC, sans-serif;
  color: #333;
  line-height:1.6;
}
.panel-hd {
  font-size: 20px;
  font-weight: 700;
  color:#006837;
  padding-left:12px;
  border-left:5px solid #006837;

}
.panel-container,
.panel-list {

  display:flex;
  flex-wrap:wrap;
  gap:32px 24px;
  padding:0;
  margin-bottom:30px;
  align-items:flex-start;
}
.panel-item {
  width:130px;
  flex:0 0 130px; 
  display:flex;
  flex-direction:column;
  align-items:center;
}
.panel-item img {
  width:95px;
  height:125px;
  object-fit:cover;
  border-radius:6px;
  box-shadow:0 3px 8px rgba(0,0,0,0.14);
  border:0;
  margin:0 0 2px 0;
}
.panel-item p {
  margin:0 !important;
  font-size:15px;
  text-align:center;
}
.panel-table-box{
  overflow-x:auto;
  margin-top:12px;
}
.panel-table {
  width:100%;
  border-collapse:collapse;
  font-size:15px;
}
.panel-table th,.panel-table td {
  border:1px solid #e4e9e6;
  padding:14px 12px;
  text-align:center;
  vertical-align:middle;
}
.panel-table th {
  background:#bde6cc;
  color:#222;
  font-weight:bold;
}
.panel-table tbody tr:nth-child(even) {
  background:#f6faf7;
}
.panel-table tbody tr:hover {
  background:#e7f4ec;
}


.panel-grid-box {
  margin:0 0 10px 0;
}
.panel-grid-row {
  display:flex;
  gap:12px;
  font-size:15px;
  margin:8px 0;
  align-items:center;
}
.grid-name {
  flex:0 0 80px;
  white-space:nowrap;
}
.grid-unit {
  flex:1;
}

/* 文章正文段落首行缩进 2 字符 */
.page-body p {
  text-indent: 2em !important;
}