﻿/* ============================================================
   中国生殖健康产业协会 官网 公共样式
   色调：#00a550  安全区：1200px  首页/内页公用
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
    --primary: #00a550;
    --primary-dark: #00873f;
    --primary-deep: #00652f;
    --primary-light: #e8f7ef;
    --primary-lighter: #f4fbf7;
    --text-main: #333333;
    --text-sub: #666666;
    --text-weak: #999999;
    --border-color: #e6e6e6;
    --bg-gray: #f6f8f7;
    --white: #ffffff;
    --red: #e60012;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
    --shadow-md: 0 6px 20px rgba(0, 165, 80, .12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --container: 1200px;
}

/* ---------- 基础重置 ---------- */
* {
    margin: 0;
    word-wrap: break-word;
    /* 英文强制换行 */
    /* word-break: break-all; */
    box-sizing: border-box;
}

/*清除元素默认样式*/
html,
body {
    min-height: 100%;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
a,
video,
iframe {
    margin: 0;
    padding: 0;
}

.clear:after,
.clear:before {
    content: "";
    clear: both;
    overflow: hidden;
    display: table;
}

a {
    outline: none;
    text-decoration: none;
    color: inherit;
}

a img {
    border: 0;
}

img {
    vertical-align: middle;
}

ul {
    margin: 0;
}

ul li {
    margin: 0;
}

input,
textarea {
    padding-left: 10px;
}

input,
select,
textarea,
button,
img {
    outline: none;
    font-family: "Microsoft YaHei";
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #999;
}

input:-moz-placeholder,
textarea:-moz-placeholder {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #999;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    font-family: "Microsoft YaHei";
    font-size: 14px;
    color: #999;
}

/*搜索框自带填充颜色清除*/
input:-webkit-autofill {
    background-color: #fff !important;
    -webkit-box-shadow: 0 0 0px 1000px #fff inset;
    color: #333 !important;
    -webkit-text-fill-color: #333 !important;
}

/* 
背景颜色
background-color: transparent !important;
-webkit-box-shadow: 0 0 0px 1000px transparent inset;
transition: background-color 5000s ease-in-out 0s !important;
字体颜色
color: #fff !important;
-webkit-text-fill-color: #fff !important;
光标颜色
caret-color: #fff !important; 
*/
/*搜索框自带填充颜色清除 END*/
/*优化下拉样式*/
/*select{
	appearance:none;
  -moz-appearance:none;
  -webkit-appearance:none;*/
/*在选择框的最右侧中间显示小箭头图片*/
/* background: url(../images/ico-arrow.png) no-repeat 83px center transparent;
  outline:none;
  -webkit-outline:none;
  -moz-outline:none;
  -o-outline:none;
}*/
/*针对ie下拉箭头美化
select::-ms-expand {    
  display: none;清除IE默认下拉按钮，但是测试发现IE10以上有效，IE8，9默认下拉按钮仍旧存在
}*/
/*针对ie火狐下拉虚线框
select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 #fff;修改字体颜色
}*/
button {
    border: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 auto;
    max-width: 100%;
    width: auto;
}

table td {
    width: auto;
}


/* ---------- 安全区容器 ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0;
}

/* ---------- 板块标题 ---------- */
.section-title {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-main);
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.section-title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 46px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary);
}

.section-title p {
    margin-top: 10px;
    font-size: 13px;
    color: var(--text-weak);
    text-transform: uppercase;
}

.section-title-light h2 {
    color: var(--white);
}

.section-title-light h2::after {
    background: var(--white);
}

.section-title-light p {
    color: rgba(255, 255, 255, .75);
}

/* ============================================================
   共享头部
   ============================================================ */

/* ---------- Logo + 会员登录 + 搜索 ---------- */
.header-main {
    background: var(--white);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 66px;
    width: auto;
    display: block;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.member-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    line-height: 1;
    padding: 0 18px;
    border-radius: 20px;
    border: 1px solid var(--primary);
    color: #00a550;
    font-size: 14px;
    font-weight: 600;
    transition: all .25s;
    white-space: nowrap;
}

.member-login img {
    width: 16px;
    height: 16px;
    display: block;
}

.member-login .icon-hover {
    display: none;
}

.member-login:hover .icon-default {
    display: none;
}

.member-login:hover .icon-hover {
    display: block;
}

.member-login:hover {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.header-search {
    flex-shrink: 0;
}

.search-form {
    display: flex;
    width: 280px;
    height: 40px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
}

.search-form input {
    flex: 1;
    border: none;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-main);
}

.search-form button {
    width: 46px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
}

.search-form button img {
    width: 18px;
    height: 18px;
    display: block;
}

.search-form button:hover {
    background: var(--primary-dark);
}

/* 移动端搜索按钮（桌面端隐藏） */
.header-search-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-search-toggle img {
    width: 18px;
    height: 18px;
    display: block;
}

/* 移动端导航按钮 */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--white);
    font-size: 20px;
    align-items: center;
    justify-content: center;
}

/* ---------- 主导航 ---------- */
.main-nav {
    background: #079541;
    box-shadow: var(--shadow-sm);
    position: relative;
}

.main-nav ul,
.about-side ul {
    padding: 0;
    list-style: none;
}

.nav-list {
    display: flex;
    justify-content: space-between;
}

.nav-item {
    position: relative;
    flex: 1;
}

.nav-item>a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    position: relative;
    transition: background .25s;
}

.nav-item>a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%) scaleX(0);
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: var(--white);
    transition: transform .3s;
}

.nav-item:hover>a,
.nav-item.active>a {
    background: rgba(0, 0, 0, .12);
}

.nav-item:hover>a::after,
.nav-item.active>a::after {
    transform: translateX(-50%) scaleX(1);
}

/* 二级导航 */
.sub-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 180px;
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
    padding: 6px 0;
    z-index: 101;
    border-top: 3px solid var(--primary);
}

.has-sub:hover .sub-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-nav li a {
    position: relative;
    display: block;
    padding: 11px 22px;
    font-size: 15px;
    color: var(--text-main);
    white-space: nowrap;
    border-left: 3px solid transparent;
    transition: color .2s, background .2s, border-color .2s, padding-left .2s;
}

.sub-nav li a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding-left: 28px;
    border-left-color: currentColor;
}

.sub-nav li+li a {
    border-top: 1px solid #f1f3f2;
}

/* PC端：三级菜单隐藏，只显示二级栏目 */


/* ============================================================
   轮播图（顶部通栏广告位）
   ============================================================ */
.banner-section {
    position: relative;
}

.banner-swiper {
    height: 350px;
}

.banner-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-link.plain::before {
    content: none;
}

.banner-caption {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.banner-caption h2 {
    font-size: 42px;
    line-height: 1.35;
    color: var(--white);
    font-weight: 700;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .3);
}

.banner-caption p {
    margin-top: 16px;
    font-size: 17px;
    color: rgba(255, 255, 255, .92);
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.banner-btn {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 22px;
    color: var(--white);
    font-size: 15px;
    transition: all .3s;
}

.banner-link:hover .banner-btn {
    background: var(--white);
    color: #c7000b;
}

/* banner 分页器与箭头 */
.banner-pagination {
    bottom: 18px !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 26px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .6);
    opacity: 1;
    transition: all .3s;
}

.banner-pagination .swiper-pagination-bullet-active {
    width: 42px;
    background: var(--white);
}

.banner-prev,
.banner-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .22);
    color: var(--white);
    transition: background .25s;
}

.banner-prev::after,
.banner-next::after {
    font-size: 18px;
}

.banner-prev:hover,
.banner-next:hover {
    background: var(--primary);
}

/* ============================================================
   喇叭通知（安全区内白底描边通栏）
   ============================================================ */
.notice-bar {
    background: var(--white);
    padding: 20px 0 0;
}

.notice-box {
    display: flex;
    align-items: center;
    height: 58px;
    border: 1px solid var(--border-color);
    background: var(--white);
    padding: 0 22px;
    gap: 18px;
}

.notice-label {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 16px;
    flex-shrink: 0;
}

.notice-label i {
    font-size: 19px;
    animation: horn 2.4s ease-in-out infinite;
}

@keyframes horn {

    0%,
    100% {
        transform: rotate(0);
    }

    10% {
        transform: rotate(-14deg);
    }

    20% {
        transform: rotate(10deg);
    }

    30% {
        transform: rotate(0);
    }
}

.notice-divider {
    width: 1px;
    height: 22px;
    background: var(--border-color);
    flex-shrink: 0;
}

.notice-scroll {
    flex: 1;
    min-width: 0;
    height: 58px;
    overflow: hidden;
    position: relative;
}

.notice-swiper {
    height: 58px;
    width: 100%;
}

.notice-swiper .swiper-slide {
    height: 58px;
    display: flex;
    align-items: center;
}

.notice-slide-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    width: 100%;
    align-items: center;
}

.notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 0;
    font-size: 16px;
}

.notice-item a {
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notice-item a:hover {
    color: var(--primary-dark);
}

.notice-item span {
    color: var(--text-weak);
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================================
   新闻区（左轮播图 + 右Tab列表）
   ============================================================ */
.news-section {
    padding: 30px 0 30px;
}

.news-layout {
    display: flex;
    gap: 30px;
}

/* 左侧轮播 */
.news-left {
    width: 600px;
    max-width: 58%;
    flex-shrink: 1;
    min-width: 0;
}

.news-swiper {
    height: 325px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.news-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.news-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-slide-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 80px 14px 18px;
    color: var(--white);
    font-size: 15px;
    line-height: 1.5;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 100%);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-pagination {
    bottom: 10px !important;
    text-align: right;
    padding-right: 12px;
}

.news-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .65);
    opacity: 1;
    transition: all .3s;
}

.news-pagination .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 4px;
    background: var(--primary);
}

/* 右侧 Tab 列表 */
.news-right {
    flex: 1;
    min-width: 0;
}

.news-tab-head {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.news-tab-btn {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    padding: 0 0 9px;
    margin-right: 25px;
    border-bottom: 3px solid transparent;
    transition: color .25s, border-color .25s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.news-tab-btn.active {
    color: #079541;
    border-bottom-color: #079541;
}

.news-tab-btn:hover {
    color: var(--primary-dark);
}

.news-tab-more {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-65%);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-weak);
    display: none;
}

.news-tab-btn.active .news-tab-more {
    display: block;
}

.news-tab-more:hover {
    color: var(--primary-dark);
}

.news-tab-swiper {
    width: 100%;
}

.article-list {
    padding: 0;
    list-style: none;
}

.article-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 50px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    overflow: hidden;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list li a {
    position: relative;
    padding-left: 15px;
    font-size: 16px;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}

.article-list li a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    transition: transform .25s;
}

.article-list li a:hover {
    color: var(--primary-dark);
}

.article-date {
    font-size: 16px;
    color: var(--text-weak);
    flex-shrink: 0;
    white-space: nowrap;
}

.tag-new {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    font-size: 11px;
    font-style: normal;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 3px;
    margin-right: 8px;
    flex-shrink: 0;
    animation: newflash 1.6s ease-in-out infinite;
}

@keyframes newflash {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .55;
    }
}

/* ============================================================
   服务一站通
   ============================================================ */
.service-section {
    position: relative;
    padding: 40px 0 50px;
    background: linear-gradient(180deg, #f0faf4 0%, var(--primary-light) 100%);
    overflow: hidden;
}

.service-section .container {
    position: relative;
    z-index: 2;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .35s;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 16px 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.service-card-head i {
    font-size: 19px;
}

.service-card-head strong {
    font-size: 18px;
}

.service-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 16px 14px 18px;
}

.service-card-body a {
    font-size: 16px;
    color: #333333;
    padding: 7px 11px;
    white-space: nowrap;
    transition: color .25s;
}

.service-card-body a:hover {
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card-body .service-sub-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-top: 4px;
    padding: 7px 11px;
}

/* ============================================================
   友情链接（横排分类条 + 悬停下拉，参考中国核能行业协会）
   ============================================================ */
.flink-section {
    position: relative;
    z-index: 60;
    background: var(--white);
}

.flink-bar {
    display: flex;
    align-items: center;
}

.flink-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    flex-shrink: 0;
    margin-right: 40px;
}

.flink-cats {
    flex: 1;
    display: flex;
}

.flink-cat {
    flex: 1;
    text-align: center;
    position: relative;
}

.flink-cat-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 20px 26px;
    font-size: 18px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    position: relative;
    z-index: 160;
    border-radius: 8px 8px 0 0;
    transition: color .25s, background .25s;
}

.flink-cat:hover .flink-cat-name,
.flink-cat.open .flink-cat-name {
    color: var(--primary);
    background: var(--primary-light);
}

/* 下拉面板 */
.flink-drop {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100vw - 40px);
    background: var(--white);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
    padding: 20px 28px 22px;
    display: none;
    grid-template-columns: repeat(2, max-content);
    gap: 13px 34px;
    text-align: left;
    z-index: 150;
}

.flink-cat:hover .flink-drop,
.flink-cat.open .flink-drop {
    display: grid;
}

.flink-drop a {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 16px;
    color: #333;
    white-space: nowrap;
    transition: color .25s;
}

.flink-drop a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
}

.flink-drop a:hover {
    color: var(--primary-dark);
}

/* ============================================================
   共享底部
   ============================================================ */
.site-footer {
    background: #079541;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.site-footer ul {
    padding: 0;
    list-style: none;
}

.site-footer::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    right: -120px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(255, 255, 255, .07) 0%, transparent 70%);
}

.footer-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.9fr 1.5fr .9fr;
    gap: 40px;
    padding: 52px 0 42px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 60px;
    width: auto;
    display: block;
}

.footer-col-about p {
    font-size: 14px;
    line-height: 1.9;
    color: #ffffff;
}

.footer-col h3 {
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 10px;
    position: relative;
}

.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 3px;
    border-radius: 2px;
    background: #ffffff;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-qr {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ffffff;
}

.footer-col-qr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-contact li {
    color: #ffffff;
}

.footer-contact .ct-label {
    font-weight: 600;
    margin-right: 6px;
    color: #ffffff;
}

.footer-qr img {
    width: 108px;
    height: 108px;
    border-radius: 6px;
    display: block;
}

.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, .12);
    position: relative;
    z-index: 2;
}

.footer-copy-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 52px;
    font-size: 14px;
    color: #ffffff;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.footer-copy a {
    margin-left: 8px;
}

.footer-copy a:hover {
    color: #7fd6a4;
}

.copy-divider {
    margin: 0 10px;
    font-style: normal;
    color: rgba(255, 255, 255, .25);
}

/* ---------- 回到顶部 ---------- */
.back-top {
    position: fixed;
    right: 26px;
    bottom: 60px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    font-size: 20px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 200;
}

.back-top.show {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ============================================================
   响应式适配
   ============================================================ */

/* 平板（≤1024px） */


/* 小屏平板 / 大屏手机（≤768px） */


/* 小屏手机（≤480px） */


/* ============================================================
   会员登录页（login.html）
   ============================================================ */
.login-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: url("../images/login-bg.jpg") no-repeat center / cover;
}

.login-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.login-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
}

.login-header .logo img {
    height: 56px;
}

.login-header-right {
    display: flex;
    align-items: center;
    gap: 34px;
}

.back-home {
    font-size: 16px;
    color: var(--text-sub);
    transition: color .25s;
}

.back-home i {
    margin-right: 6px;
}

.back-home:hover {
    color: var(--primary);
}

.login-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px 0 26px;
}

.login-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

/* 左侧内容卡片区 */
.login-side {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.side-card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.side-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 22px;
    box-shadow: 0 4px 16px rgba(0, 101, 47, .08);
}

.side-card-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary-light);
}

.side-card-title i {
    color: var(--primary);
    font-size: 18px;
}

.side-card-title strong {
    font-size: 18px;
    color: var(--text-main);
}

.side-steps {
    counter-reset: step;
}

.side-steps li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #333333;
    line-height: 1.7;
    counter-increment: step;
}

.side-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 2px;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.side-contact {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 13px;
    color: var(--text-weak);
}

.side-list li {
    position: relative;
    padding-left: 15px;
    font-size: 14px;
    color: #333333;
    line-height: 2;
}

.side-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--primary);
}

.side-note {
    margin-top: 25px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
    font-size: 13px;
    color: var(--text-weak);
    line-height: 1.7;
}

/* 侧栏卡片：会员权益 / 会费标准 上下单独展示 */
.side-card-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.side-card-col .side-card {
    height: 220px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/* 会费标准补齐剩余高度（与入会流程/登录框对齐） */
.side-card-col .side-card+.side-card {
    height: 300px;
}

/* 卡片内容超出滚动 */
.side-card-row .side-card {
    display: flex;
    flex-direction: column;
}

.side-card-row .side-card-title {
    flex-shrink: 0;
}

.side-scroll {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding-right: 6px;
}

.side-scroll::-webkit-scrollbar {
    width: 6px;
}

.side-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.side-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 165, 80, .3);
    border-radius: 3px;
}

.side-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 165, 80, .5);
}

/* 右侧登录卡片 */
.login-card {
    width: 400px;
    height: 540px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 101, 47, .08);
    padding: 28px 30px 26px;
}

.login-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.login-tab-btn {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding-bottom: 15px;
    position: relative;
    transition: color .25s;
}

.login-tab-btn::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 3px;

    background: var(--primary);
    transform: scaleX(0);
    transition: transform .3s;
}

.login-tab-btn.active {
    color: var(--primary);
}

.login-tab-btn.active::after {
    transform: scaleX(1);
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.form-item {
    margin-bottom: 20px;
}

.form-item input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    color: var(--text-main);
    transition: border-color .25s;
}

.form-item input:focus {
    border-color: var(--primary);
}

.form-item-code {
    display: flex;
    gap: 10px;
}

.form-item-code input {
    flex: 1;
}

.send-code-btn {
    width: 120px;
    flex-shrink: 0;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    transition: all .25s;
}

.send-code-btn:hover {
    background: var(--primary-light);
}

.send-code-btn.disabled {
    color: var(--text-weak);
    border-color: var(--border-color);
    background: var(--bg-gray);
    cursor: not-allowed;
}

.voice-code {
    display: block;
    text-align: right;
    font-size: 14px;
    color: var(--text-weak);
    margin: -6px 0 16px;
}

.voice-code:hover {
    color: var(--primary);
}

.login-submit {
    width: 100%;
    height: 48px;
    margin-top: 10px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    transition: background .25s;
}

.login-submit:hover {
    background: var(--primary-dark);
}

.register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    margin-top: 20px;
    border: 1px solid var(--primary);
    border-radius: 6px;
    background: var(--white);
    color: var(--primary);
    font-size: 16px;
    font-weight: 600;
    transition: all .25s;
}

.register-btn:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.login-extra {
    display: flex;
    justify-content: center;
    margin-top: 34px;
    padding-top: 20px;
    font-size: 14px;
    color: var(--text-sub);
}

.login-extra a:hover {
    color: var(--primary);
}

.wx-login {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 26px;
    border: 1px solid var(--primary);
    border-radius: 21px;
    color: var(--primary);
    font-size: 14px;
    transition: all .25s;
}

.wx-login:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.wx-login i {
    color: #09bb07;
    font-size: 18px;
}

.login-tip {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
    color: var(--text-weak);
    line-height: 1.8;
}

.login-tip a {
    color: var(--primary);
}

.login-security {
    text-align: center;
    margin-top: 26px;
    font-size: 16px;
    font-weight: 700;
    color: #e53333;
}

.login-security::before {
    content: "ⓘ ";
}

.login-footer {
    background: #079541;
}

.login-footer .footer-copy-inner {
    height: 56px;
}

/* 登录页响应式 */




/* ============================================================
   党建引领专题页（dangjian.html）
   ============================================================ */
:root {
    --party-red: #C50C11;
    --party-red-dark: #A50A0E;
}

.party-banner-wrap {
    padding-top: 24px;
}

.party-banner-swiper {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.party-banner-swiper .swiper-slide {
    height: 400px;
}

.party-banner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.party-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 专题 banner 分页小圆点 */
.party-banner-pagination {
    bottom: 18px !important;
}

.party-banner-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .55);
    opacity: 1;
    margin: 0 5px !important;
    transition: all .3s;
}

.party-banner-pagination .swiper-pagination-bullet-active {
    width: 24px;
    border-radius: 5px;
    background: var(--white);
}

/* 专题 banner 左右箭头 */
.party-banner-prev,
.party-banner-next {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .25);
    color: var(--white);
    transition: background .25s;
}

.party-banner-prev::after,
.party-banner-next::after {
    font-size: 18px;
}

.party-banner-prev:hover,
.party-banner-next:hover {
    background: var(--party-red);
}

.party-section {
    padding: 30px 0 50px;
}

.party-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.party-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #DEDEDE;
}

.party-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px;
    background: linear-gradient(135deg, #D21619 0%, var(--party-red-dark) 100%);
    color: var(--white);
}

.party-card-ttl {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 700;
}

.party-card-ttl i {
    font-size: 16px;
}

.party-card-ttl img {
    width: 22px;
    height: auto;
    display: block;
}

.party-card-more {
    color: rgba(255, 255, 255, .85);
    font-size: 18px;
    transition: transform .25s, color .25s;
}

.party-card-more:hover {
    color: var(--white);
    transform: rotate(90deg);
}

.party-list {
    padding: 6px 20px 14px;
}

.party-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    height: 46px;
    border-bottom: 1px dashed var(--border-color);
}

.party-list li:last-child {
    border-bottom: none;
}

.party-list li a {
    font-size: 16px;
    color: var(--text-main);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
    flex: 1;
    min-width: 0;
}

.party-list li a::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--party-red);
    margin-right: 10px;
    vertical-align: middle;
}

.party-list li a:hover {
    color: var(--party-red);
}

.party-list li span {
    font-size: 16px;
    color: var(--text-weak);
    flex-shrink: 0;
}

/* 专题页响应式 */




/* ============================================================
   红色主题（党建引领专题页头尾）
   ============================================================ */
body.theme-red .main-nav {
    background: linear-gradient(135deg, #D21619 0%, #A50A0E 100%);
}

body.theme-red .nav-toggle {
    background: var(--party-red);
}

body.theme-red .member-login {
    border-color: var(--party-red);
    color: var(--party-red);
}

body.theme-red .member-login:hover {
    background: var(--party-red);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(197, 12, 17, .2);
}

body.theme-red .search-form {
    border-color: var(--party-red);
}

body.theme-red .search-form button {
    background: var(--party-red);
}

body.theme-red .header-search-toggle {
    background: var(--party-red);
}

body.theme-red .search-form button:hover {
    background: var(--party-red-dark);
}

body.theme-red .sub-nav {
    border-top-color: var(--party-red);
}

body.theme-red .sub-nav li a:hover {
    background: #fdecea;
    color: var(--party-red-dark);
}

body.theme-red .site-footer {
    background: #A50A0E;
}

body.theme-red .footer-copy a:hover {
    color: #ffc4c4;
}

body.theme-red .back-top {
    background: var(--party-red);
}

body.theme-red .back-top:hover {
    background: var(--party-red-dark);
}

/* ============ 内页：协会简介 ============ */
.about-crumb {
    padding: 16px 0;
    font-size: 14px;
    color: var(--text-sub);
    display: flex;
    align-items: center;
}

.about-crumb a {
    color: var(--text-sub);
}

.about-crumb a:hover {
    color: var(--primary);
}

.about-crumb span {
    margin: 0 6px;
    color: #079541;
}

.crumb-icon {
    width: 14px;
    height: 14px;
    margin-right: 6px;
    vertical-align: middle;
    display: inline-block;
}

.about-crumb a.crumb-current {
    color: var(--primary);
}

.about-crumb a.crumb-current:hover {
    color: var(--primary-dark);
}

.about-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    padding: 0 0 40px;
    min-height: calc(100vh - 536px);
    align-items: start;
}

/* 左侧子导航 */
.about-side {
    position: sticky;
    top: 18px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.about-side h3 {
    background: url("../images/nav.jpg") no-repeat center / cover;
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    padding: 22px 20px;
}

.about-side ul li a {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    color: var(--text-main);
    border-top: 1px solid var(--border-color);
    transition: all .2s;
}

.about-side ul li:first-child a {
    border-top: none;
}

.about-side ul li a:hover {
    color: var(--primary);
}

.about-side ul>li.active>a {
    color: var(--primary);
    font-weight: 600;
    background: #f0f9f3;
    border-left: 4px solid var(--primary);
    padding-left: 30px;
}

.about-side .side-group-title{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 14px;
    font-size: 16px;
    color: var(--text-main);
    background: #fff;
    border-top: 1px solid var(--border-color);
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}
.about-side ul li.active a.side-group-title{
    padding-left: 20px;
    font-size: 16px;
    color: var(--text-main);
    font-weight: normal;
    background: #fff;
    border-left: 0;
}

.about-side .side-group-title:hover,
.about-side ul li.active a.side-group-title {
    color: var(--text-main);
    text-decoration: none;
}

.about-side .side-group-title::after {
    content: '\f107';
    font-family: 'FontAwesome';
    font-size: 14px;
    color: #999;
    transition: transform .25s;
}

.about-side .side-group-title.open::after,
.about-side ul li.active a.side-group-title::after {
    transform: rotate(180deg);
}
.about-side ul li.active a.side-group-title.open::after{
    transform: rotate(0);
}

.about-side ul ul {
    display: none;
}

.about-side ul ul.open {
    display: block;
}

.about-side ul ul li a {
    padding-left: 34px;
    font-size: 15px;
    border-top: none;
}

.about-side ul ul li a.side-group-title {
    padding-left: 34px;
    font-size: 15px;
}

.about-side ul ul li:first-child a {
    border-top: none;
}
.about-right{
    min-width: 100%;
}


/* 内容区标题 */
.about-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-title::before,
.about-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* 右侧正文 */
.about-main {
    font-size: 18px;
    color: #333;
    line-height: 1.95;
    overflow: hidden;
}

.about-main p {
    margin-bottom: 10px;
}

.about-main img {
    display: block;
    margin: 0 auto;
    height: auto !important;
    max-width: 100%;
}

.about-main table[align="center"] {
    margin-left: auto;
    margin-right: auto;
}



/* 领导成员样式 */
.leader-section-title {
    position: relative;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    padding-bottom: 12px;
    margin: 34px 0 20px;
    border-bottom: 1px solid #e8e8e8;
}

.leader-section-title:first-of-type {
    margin-top: 4px;
}

.leader-section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

/* 机构列表网格：一行两列，左右间距30px，上下间距20px */
.org-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 30px;
}

.org-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 14px 20px;
    background: #f5f5f5;
    font-size: 16px;
    color: #333;
    text-align: center;
    transition: background .2s, color .2s;
}

.org-item:hover {
    background: var(--primary);
    font-weight: bold;
    color: #fff;
}

.leader-president {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 470px;
    background: #f0f9f3;
    padding: 20px;
    transition: box-shadow .25s, transform .25s;
}

.leader-president + .leader-president {
    margin-top: 20px;
}

.leader-president:hover,
.leader-card:hover,
.leader-secretary:hover {
    box-shadow: 0 8px 20px rgba(7, 149, 65, .14);
    transform: translateY(-3px);
}

.leader-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.leader-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f0f9f3;
    padding: 16px;
    transition: box-shadow .25s, transform .25s;
}

.leader-photo {
    flex: none;
    width: 98px;
    height: 130px;
    overflow: hidden;
    background: #e9eef4;
}

.leader-president .leader-photo {
    width: 120px;
    height: 160px;
}

.leader-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader-info {
    min-width: 0;
}

.leader-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.leader-president .leader-info h4 {
    font-size: 20px;
}

.leader-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    text-indent: 0;
    margin-bottom: 0;
}

.leader-secretary {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 470px;
    background: #f0f9f3;
    padding: 16px;
    border-radius: 6px;
    transition: box-shadow .25s, transform .25s;
}

.leader-secretary .leader-info h4 {
    font-size: 18px;
}

/* 空状态提示（未发布内容时显示） */
.empty-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 36px 16px;
    margin: 8px 0 24px;
    font-size: 15px;
    color: #999;
    background: #fafafa;
    border: 1px dashed #e2e2e2;
    border-radius: 6px;
    text-align: center;
}

.empty-tip::before {
    content: "";
    flex: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ccc;
    border-top-color: transparent;
    background: linear-gradient(45deg, transparent 45%, #d8d8d8 45%, #d8d8d8 55%, transparent 55%);
}



/* 内容区标题 */
.list-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-color);
}

/* 查询表单 */
.cert-query {
    margin-top: 20px;
    background: #f0f9f3;
    border: 1px solid var(--border-color);
    padding: 24px;
}

.cert-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px 16px;
}

.cert-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-field label {
    font-size: 14px;
    color: var(--text-main);
}

.cert-field label .req {
    color: #e53935;
    margin-left: 2px;
}

.cert-field input {
    width: 282px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: border-color .2s;
}

.cert-field input:focus {
    border-color: var(--primary);
    outline: none;
}

.cert-btns {
    display: flex;
    gap: 12px;
    margin-left: auto;
}

.cert-btn {
    height: 40px;
    padding: 0 28px;
    border: none;
    border-radius: 4px;
    font-size: 15px;
    cursor: pointer;
    transition: .2s;
}

.cert-btn-primary,
.cert-btn-primary:focus,
.cert-btn-primary:active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.cert-btn-primary:hover {
    background: #067a35;
    border-color: #067a35;
}

.cert-btn-reset,
.cert-btn-reset:focus,
.cert-btn-reset:active {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #666;
}

.cert-btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cert-tip {
    margin-top: 14px;
    font-size: 13px;
    color: #999;
    text-align: center;
}

/* 验证码 */
.cert-captcha {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    flex: 1 1 100%;
}

.cert-captcha .cert-field {
    flex: none;
}

.cert-captcha .cert-field input {
    width: 174px;
}

.cert-captcha-img {
    height: 40px;
    width: 100px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    background: #fff;
    overflow: hidden;
}

.cert-captcha-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

/* 结果区 */
.cert-result {
    margin-top: 30px;
}

.cert-result-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.cert-empty {
    text-align: center;
    color: #999;
    padding: 40px 0;
    border: 1px dashed var(--border-color);
    font-size: 14px;
}

.cert-table {
    width: 100%;
    border-collapse: collapse;
}

.cert-table th,
.cert-table td {
    border: 1px solid var(--border-color);
    padding: 14px 10px;
    font-size: 15px;
    text-align: left;
    line-height: 1.5;
}

.cert-table th {
    background: #f0f9f3;
    color: var(--text-main);
    font-weight: 600;
    white-space: nowrap;
}

.cert-table td {
    color: #333;
}

/* ============================================================
   证书查询：ElementUI 组件适配原样式（原内联样式迁移）
   ============================================================ */
.cert-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 18px 16px;
}

.cert-form .el-form-item {
    margin-bottom: 0;
}

.cert-form .el-form-item__label {
    display: none;
}

.cert-form .el-form-item__content {
    margin-left: 0 !important;
    line-height: normal;
}

/* 普通字段宽度 */
.cert-form-item .el-input__inner {
    width: 282px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.cert-form-item .el-input__inner:focus {
    border-color: var(--primary);
}

/* 验证码行 */
.cert-captcha-item {
    flex: 1 1 100%;
}

.cert-captcha-item .cert-captcha {
    width: 100%;
}

.cert-captcha-field .el-input__inner {
    width: 174px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    color: #333;
}

.cert-captcha-field .el-input__inner:focus {
    border-color: var(--primary);
}

/* 按钮 */
.cert-btns .el-button {
    height: 40px;
    padding: 0 28px;
    border-radius: 4px;
    font-size: 15px;
    line-height: 40px;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.cert-btns .el-button + .el-button {
    margin-left: 12px;
}

/* 覆盖 Element 自带的 focus/active 蓝色态，避免点击后按钮变蓝 */
.cert-btns .el-button:focus,
.cert-btns .el-button:active,
.cert-btns .el-button.is-plain,
.cert-btns .el-button:focus:not(.is-disabled),
.cert-btns .el-button:active:not(.is-disabled) {
    outline: none;
}

.cert-btns .cert-btn-primary,
.cert-btns .el-button--primary,
.cert-btns .el-button--primary:focus,
.cert-btns .el-button--primary:active,
.cert-btns .el-button--primary.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.cert-btns .cert-btn-primary:hover,
.cert-btns .el-button--primary:hover {
    background: #067a35;
    border-color: #067a35;
    color: #fff;
}

.cert-btns .cert-btn-reset,
.cert-btns .cert-btn-reset:focus,
.cert-btns .cert-btn-reset:active {
    background: #fff;
    border: 1px solid var(--border-color);
    color: #666;
}

.cert-btns .cert-btn-reset:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

/* 表单校验错误提示 */
.cert-form .el-form-item__error {
    padding-top: 4px;
    font-size: 12px;
}

.cert-form .cert-tip {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 0;
}

/* ElementUI 适配响应式 */
@media (max-width: 991px) {
    .cert-form {
        gap: 16px 14px;
    }
    /* 让 form-item 与其内字段容器都撑满，避免右侧出现大片空白 */
    .cert-form-item,
    .cert-captcha-item,
    .cert-form-item .cert-field,
    .cert-captcha-item .cert-field {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .cert-form-item .el-input__inner,
    .cert-captcha-field .el-input__inner,
    .cert-form-item .el-input,
    .cert-captcha-field .el-input {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .cert-query {
        padding: 16px;
    }
    .cert-captcha {
        flex-wrap: wrap;
    }
    /* 手机端：避免 el-form-item 默认 inline-block 收缩宽度，让其撑满 */
    .cert-form .el-form-item {
        display: block;
        width: 100%;
    }
    /* 手机端：每个 form-item 单独占一行，并占满整个容器宽度 */
    .cert-form-item,
    .cert-captcha-item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
    .cert-form-item .cert-field,
    .cert-captcha-item .cert-field {
        width: 100%;
        max-width: 100%;
    }
    .cert-form-item .el-input,
    .cert-captcha-item .el-input,
    .cert-form-item .el-input__inner,
    .cert-captcha-item .el-input__inner {
        width: 100%;
        max-width: 100%;
    }
    /* 验证码行：字段宽度自适应，按钮换行撑满 */
    .cert-captcha {
        flex-wrap: wrap;
        width: 100%;
    }
    .cert-captcha .cert-field {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .cert-btns {
        width: 100%;
        margin-left: 0;
        margin-top: 12px;
        justify-content: flex-end;
    }
}



.about-crumb span {
    margin: 0 6px;
    color: var(--primary);
}

/* ============ 地图区域 ============ */
.contact-map {
    width: 100%;
    height: 240px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============ 联系方式 ============ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.contact-card {
    display: flex;
    gap: 12px;
    line-height: 1.8;
}

.contact-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
}

.contact-card p {
    font-size: 16px;
    color: #666;
}



/* 图文列表：左图右文 */
.imgtext-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px dashed var(--border-color);
}

.imgtext-item:first-child {
    padding-top: 20px;
}

.imgtext-thumb {
    flex: none;
    width: 220px;
    height: 130px;
    overflow: hidden;
    border-radius: 4px;
}

.imgtext-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.imgtext-item:hover .imgtext-thumb img {
    transform: scale(1.05);
}

.imgtext-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.imgtext-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.imgtext-item:hover .imgtext-title {
    color: var(--primary);
}

.imgtext-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.imgtext-meta {
    font-size: 14px;
    color: #999;
    margin-top: auto;
}

/* 分页 */
.list-page {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

/* 分页主体列表 */
.list-page .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.list-page .pagination li {
    list-style: none;
}

/* 单个分页按钮（a / span 统一外观） */
.list-page .pagination li > a,
.list-page .pagination li > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    color: #666;
    background: #fff;
    transition: .2s;
    white-space: nowrap;
}

.list-page .pagination li > a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* 当前页高亮 */
.list-page .pagination li.active > a {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* 禁用（首页/上一页 在首页时、尾页/下一页 在末页时、省略号） */
.list-page .pagination li.disabled > span {
    color: #bbb;
    background: #f7f7f7;
    cursor: not-allowed;
    border-color: var(--border-color);
}

/* 跳转表单区 */
.list-page .pagination .form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    float: none;
    color: #999;
    margin-left: 6px;
    font-size: 12px;
    gap: 4px;
}

.list-page .pagination .form .text {
    color: #999;
}

.list-page .pagination .form .input {
    width: 46px;
    height: 36px;
    padding: 0 4px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 13px;
    color: #333;
    outline: none;
    transition: border-color .2s;
}

.list-page .pagination .form .input:focus {
    border-color: var(--primary);
}
.list-page .pagination .form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height:36px;
    padding: 0 12px;
    border: 1px solid var(--primary);
    border-radius: 4px;
    background: #fff;
    color: var(--primary);
    font-size: 13px;
    cursor: pointer;
    transition: .2s;
    user-select: none;
}

.list-page .pagination .form .btn:hover {
    background: var(--primary);
    color: #fff;
}
@media (max-width: 1340px) {
    .container{
        max-width: 90%;
    }
}

/* 平板：缩小尺寸 */
@media (max-width: 768px) {
    .container{
        max-width: 100%;
    }
    .list-page {
        gap: 8px;
    }
    .list-page .pagination {
        gap: 5px;
    }
    .list-page .pagination li > a,
    .list-page .pagination li > span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 13px;
    }
    .list-page .pagination .form .input {
        width: 42px;
        height: 28px;
    }
    .list-page .pagination .form .btn {
        height: 28px;
        padding: 0 10px;
    }
}

/* 手机端：隐藏首页/尾页与跳转表单，仅保留上/下页与页码 */
@media (max-width: 560px) {
    .list-page {
        margin-top: 20px;
        gap: 6px;
    }
    .list-page .pagination {
        gap: 4px;
    }
    .list-page .pagination li.first,
    .list-page .pagination li.last,
    .list-page .pagination .form {
        display: none !important;
    }
    .list-page .pagination li > a,
    .list-page .pagination li > span {
        min-width: 30px;
        height: 30px;
        padding: 0 7px;
        font-size: 12px;
    }
}



.about-crumb span {
    margin: 0 6px;
    color: var(--text-sub);
}


/* 文字列表：绿点 + 标题 + 日期 */
.dot-list {
    margin-top: 0;
}

.dot-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 2px;
    border-bottom: 1px dashed var(--border-color);
    color: #333;
    transition: background .2s;
    min-width: 0;
}

.dot-list a:last-child {
    border-bottom: 1px dashed var(--border-color);
}

.dot-list .dot {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
}

.dot-list .t {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .2s;
    display: block;
}

.dot-list a:hover .t {
    color: var(--primary);
    text-decoration: underline;
}

.dot-list .date {
    flex: none;
    font-size: 16px;
    color: #999;
}



/* ============ 红色系覆盖（党建引领专题） ============ */
body.theme-red {
    --primary: var(--party-red);
    --primary-dark: var(--party-red-dark);
}

.theme-red .about-side h3 {
    background: url("../images/nav2.jpg") no-repeat center / cover;
}

.theme-red .about-side ul li.active a {
    color: var(--primary);
    background: #fdecea;
}

body.theme-red .crumb-icon,
body.theme-red .icon-default,
body.theme-red .nav-toggle img {
    filter: brightness(0) saturate(100%) invert(12%) sepia(85%) saturate(4500%) hue-rotate(347deg) brightness(80%) contrast(100%);
}

/* 打印本页：仅显示文章详情区域，隐藏其余 */
@media print {
    .header-main,
    .main-nav,
    .m-nav-mask,
    .about-crumb,
    .site-footer,
    .left,
    .about-side,
    .article-share,
    .article-tools,
    .back-top,
    #mobileSide,
    .article-nav {
        display: none !important;
    }
    .about-layout {
        display: block !important;
    }
    .about-right {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        flex: none !important;
    }
    .article-detail {
        box-shadow: none !important;
        width: 100% !important;
    }
    .container {
        max-width: 100% !important;
    }
    
}

/* 图文列表：上图下文 */
.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.event-card {
    display: block;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s, transform .2s;
}

.event-card:hover {
    box-shadow: 0 8px 20px rgba(7, 149, 65, .14);
    transform: translateY(-3px);
}

.event-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.event-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}

.event-card:hover .event-img img {
    transform: scale(1.05);
}

.event-body {
    padding: 14px 16px 16px;
}

.event-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.event-card:hover .event-body h4 {
    color: var(--primary);
}

.event-meta {
    font-size: 14px;
    color: #999;
}

.event-meta p {
    margin: 0;
    line-height: 1.8;
}









/* 会员类别切换标签 */
.member-tabs {
    display: flex;
    margin-top: 20px;
    gap: 15px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.member-tabs a {
    display: inline-block;
    padding: 8px 20px;
    font-size: 15px;
    color: #333;
    background: #f5f5f5;
    border-radius: 20px;
    transition: .2s;
}

.member-tabs a:hover {
    color: var(--primary);
    background: #eef7f0;
}

.member-tabs a.active {
    background: var(--primary);
    color: #fff;
    font-weight: 600;
}

/* 单位列表 - 两列 */
.member-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
}

.member-list li {
    padding: 14px 0;
    border-bottom: 1px dashed #e8e8e8;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.member-list li::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    flex-shrink: 0;
    margin-top: 1px;
}

.member-list li a {
    color: var(--text-main);
    transition: .2s;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.member-list li a:hover {
    color: var(--primary);
}



/* ============ 文章详情区 ============ */
.article-detail {
    padding-top: 4px;
}

.article-title {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-main);
    text-align: center;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    padding: 16px 0 18px;
    font-size: 14px;
    color: #999;
    border-bottom: 1px dashed var(--border-color);
}

.article-meta .article-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.article-meta .share-item {
    cursor: pointer;
}

.single-content {
    padding: 20px 0 0;
    font-size: 16px;
    color: #333;
    line-height: 1.95;
    overflow: hidden;
}

.single-content p {
    margin-bottom: 10px;
}

.single-content img {
    display: block;
    margin: 0 auto;
    height: auto !important;
    max-width: 100%;
}

.single-content table[align="center"] {
    margin-left: auto;
    margin-right: auto;
}

/* 工具按钮：打印 / 关闭 */
.article-tools {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    margin: 18px 0 26px;
}

.article-tools button {
    padding: 8px 22px;
    font-size: 14px;
    color: var(--primary);
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 4px;
    cursor: pointer;
    transition: .2s;
}

.article-tools button:hover {
    background: var(--primary);
    color: #fff;
}

/* 上一篇 / 下一篇 */
.article-nav {
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.article-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: #555;
    transition: color .2s;
}

.article-nav-item:hover {
    color: var(--primary);
}

.article-nav-item .an-label {
    color: #999;
    flex: none;
}

.article-nav-item .an-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}







.search-page {
    padding: 0 0 40px;
    min-height: calc(100vh - 500px);
}

/* 搜索头部 */
.search-head {
    padding: 0 0 18px;
    border-bottom: 1px solid var(--border-color);
}

.search-head h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
}

.search-head .search-tip {
    margin-top: 8px;
    font-size: 14px;
    color: #999;
}

.search-head .search-tip strong {
    color: var(--primary);
}

.search-head .empty-tip {
    font-size: 16px;
    color: #999;
}

/* 列表关键词高亮 */
.dot-list .kw {
    color: var(--primary);
}

/* 暂无结果 */
.no-result {
    display: none;
    text-align: center;
    padding: 60px 20px 80px;
}

.no-result .nr-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-result .nr-icon i {
    font-size: 38px;
    color: #ccc;
}

.no-result .nr-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 10px;
}

.no-result .nr-desc {
    font-size: 14px;
    color: #999;
}

.no-result .nr-desc strong {
    color: var(--primary);
}

/* 搜索框 */
.auth-search {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.auth-search input {
    flex: 1;
    max-width: 400px;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 16px;
    color: #333;
    outline: none;
    transition: border-color .2s;
}

.auth-search input:focus {
    border-color: var(--primary);
}

.auth-search button {
    height: 46px;
    padding: 0 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 16px;
    cursor: pointer;
    transition: opacity .2s;
}

.auth-search button:hover {
    opacity: .85;
}

/* 授权企业名录分类面板 */
.auth-panels {
    margin-bottom: 0;
}

.auth-panel {
    margin-bottom: 12px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.auth-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--primary);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background .2s;
}

.auth-panel-header:hover {
    background: #258b4c;
}

.auth-panel-header .title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-panel-header .arrow {
    font-family: 'FontAwesome';
    font-size: 16px;
    color: #fff;
    transition: transform .25s;
}

.auth-panel-header .arrow::before {
    content: '\f0da';
}

.auth-panel-header .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-panel-header .more {
    font-weight: 400;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
}

.auth-panel-header .more:hover {
    opacity: .8;
}

.auth-panel.active .auth-panel-header .arrow {
    transform: rotate(90deg);
}

.auth-panel .auth-list {
    display: none;
    padding: 0 16px;
    background: #fff;
}

.auth-panel.active .auth-list {
    display: block;
}

/* 授权企业列表 */
.auth-list {
    margin-top: 0;
}

.auth-list .item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 2px;
    border-bottom: 1px dashed var(--border-color);
    color: var(--primary);
    font-size: 16px;
    text-decoration: none;
    transition: color .2s;
}

.auth-list .item:hover {
    color: #2e7d32;
}

.auth-list .item:last-child {
    border-bottom: none;
}

.auth-list .item .icon {
    flex: none;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    font-family: inherit;
}

.auth-list .item .icon::before {
    content: none;
}

.auth-list .item .t {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.auth-list .item:hover .t {
    color: var(--primary);
}

.auth-list .item .date {
    flex: none;
    font-size: 16px;
    color: #999;
    white-space: nowrap;
}

/* 授权企业名录分页：复用全站 .list-page 分页结构，面板内微调间距 */
.auth-list .list-page {
    margin: 20px 0;
}

/* 内容区标题 */

/* ============================================================
   Responsive media queries (reordered by breakpoint, large -> small;
   duplicated blocks merged and identical rules deduped)
   ============================================================ */

@media (min-width: 769px) {
    .sub-sub-nav {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 0 14px;
    }

    .logo img {
        height: 56px;
    }

    .search-form {
        width: 240px;
    }

    .nav-item>a {
        font-size: 15px;
    }

    .banner-swiper {
        height: 360px;
    }

    .banner-caption h2 {
        font-size: 34px;
    }

    .news-left {
        width: 420px;
    }

    .news-swiper {
        height: 300px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flink-drop {
        width: max-content;
        max-width: calc(100vw - 40px);
        gap: 12px 22px;
        padding: 16px 20px 18px;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .login-layout {
        flex-direction: column;
    }

    .login-card {
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
    }

    .login-side {
        width: 100%;
    }

    .party-banner-swiper,
    .party-banner-swiper .swiper-slide {
        height: 260px;
    }

    .party-banner-text h2 {
        font-size: 34px;
        letter-spacing: 8px;
    }
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 5px 14px 30px;
    }

    .org-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 20px;
    }

    .about-crumb {
        padding: 16px 14px;
        display: block;
    }

    .about-side {
        position: static;
    }

    .about-title {
        margin-bottom: 10px;
        font-size: 20px;
    }

    .leader-president {
        max-width: none;
    }

    .leader-grid-3 {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }

    .list-title {
        font-size: 20px;
    }

    .cert-query {
        padding: 15px;
    }

    .cert-field input {
        width: 100%;
    }

    .cert-field {
        width: 100%;
    }

    .cert-form {
        gap: 14px;
    }

    .cert-captcha {
        flex-wrap: wrap;
    }

    .cert-captcha .cert-field {
        flex: 1;
        min-width: 0;
    }

    .cert-captcha .cert-field input {
        width: 100%;
    }

    .cert-captcha-img {
        flex-shrink: 0;
    }

    .cert-captcha-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cert-btns {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }

    .cert-result {
        margin-top: 20px;
    }

    .cert-result-title {
        font-size: 15px;
    }

    .cert-empty {
        padding: 24px 0;
        font-size: 13px;
    }

    /* 手机端表格转卡片 */
    .cert-table,
    .cert-table tbody,
    .cert-table tr,
    .cert-table td {
        display: block;
    }

    .cert-table {
        overflow-x: visible;
        white-space: normal;
    }

    .cert-table thead {
        display: none;
    }

    .cert-table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border-color);
        border-radius: 6px;
        overflow: hidden;
    }
    .cert-table tr:last-child {
        margin-bottom: 0;
    }

    .cert-table td {
        padding: 14px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    .cert-table td:last-child {
        border-bottom: none;
    }

    .cert-table td::before {
        font-weight: 600;
        color: var(--text-main);
        white-space: nowrap;
        margin-right: 10px;
        flex-shrink: 0;
    }

    .cert-table td:nth-child(1)::before {
        content: "姓名";
    }

    .cert-table td:nth-child(2)::before {
        content: "证件类型";
    }

    .cert-table td:nth-child(3)::before {
        content: "证件号码";
    }

    .cert-table td:nth-child(4)::before {
        content: "证书编号";
    }

    .cert-table td:nth-child(5)::before {
        content: "发证时间";
    }

    .cert-table td:nth-child(6)::before {
        content: "证书名称";
    }

    .cert-table td:nth-child(7)::before {
        content: "发证机构";
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .contact-map {
        height: 130px;
    }

    .imgtext-item {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }

    .imgtext-thumb {
        width: 110px;
        height: 65px;
        flex-shrink: 0;
    }

    .imgtext-title {
        font-size: 15px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .imgtext-desc {
        display: none;
    }

    .imgtext-meta {
        font-size: 12px;
    }

    .about-right {
        overflow: hidden;
    }

    .dot-list a {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .dot-list .date {
        flex: 0 0 100%;
        margin-left: 18px;
        font-size: 14px;
    }

    .member-tabs {
        gap: 10px;
    }

    .member-tabs a {
        padding: 8px 14px;
        font-size: 14px;
    }

    .member-list {
        grid-template-columns: 1fr;
    }

    .about-right {
        padding: 0;
        overflow: hidden;
    }

    .article-title {
        font-size: 22px;
    }

    .article-meta {
        gap: 10px;
        font-size: 13px;
        padding: 14px 0;
    }

    .single-content {
        font-size: 15px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .single-content img {
        max-width: 100%;
        height: auto;
    }

    .article-nav-item {
        font-size: 14px;
    }

    .imgtext-item {
        flex-direction: column;
        gap: 12px;
    }

    .imgtext-thumb {
        width: 100%;
        height: 180px;
    }

    .auth-panel {
        overflow: hidden;
    }

    .auth-panel-header {
        gap: 12px;
    }

    .auth-panel-header .title {
        flex: 1;
        min-width: 0;
        word-break: break-all;
    }

    .auth-panel-header .header-right {
        flex: none;
    }

    .auth-list .item {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 8px 12px;
        align-items: start;
    }

    .auth-list .item .icon {
        grid-column: 1;
        grid-row: 1;
        margin-top: 10px;
    }

    .auth-list .item .t {
        grid-column: 2;
        grid-row: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .auth-list .item .date {
        grid-column: 2;
        grid-row: 2;
        font-size: 14px;
    }

    .dot-list a {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 12px;
        align-items: start;
    }

    .dot-list .dot {
        grid-column: 1;
        grid-row: 1;
        margin-top: 8px;
    }

    .dot-list .t {
        grid-column: 2;
        grid-row: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .dot-list .date {
        grid-column: 2;
        grid-row: 2;
        margin-left: 0;
        font-size: 14px;
    }

    .empty-tip {
        padding: 28px 14px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .about-side,
    .article-tools {
        display: none;
    }

    .org-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .org-item {
        min-height: 48px;
        padding: 12px 16px;
        font-size: 15px;
    }

    .header-main {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 1px 6px rgba(0, 0, 0, .08);
    }

    .header-main-inner {
        height: 66px;
    }

    body {
        padding-top: 66px;
    }

    .logo img {
        height: 32px;
    }

    .header-right {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-search-toggle {
        display: inline-flex;
    }

    .member-login {
        height: auto;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        font-size: 14px;
        font-weight: 600;
        gap: 0;
        line-height: 1.2;
    }

    .member-login img {
        display: none;
    }

    .member-login:hover {
        background: transparent;
        color: var(--primary-dark);
        box-shadow: none;
    }

    .header-main-inner {
        position: relative;
    }

    .header-search {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 10px 14px;
        background: #fff;
        box-shadow: 0 6px 14px rgba(0, 0, 0, .1);
        z-index: 1001;
    }

    .header-search.open {
        display: block;
    }

    .search-form {
        width: 100%;
        height: 40px;
    }

    .nav-toggle {
        display: inline-flex;
        background: transparent !important;
    }

    .nav-toggle img {
        width: 24px;
    }

    /* 手机端导航遮罩 */
    .m-nav-mask {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .4);
        z-index: 9998;
    }

    .m-nav-mask.show {
        display: block;
    }

    /* 移动端导航：左侧滑入抽屉 */
    .main-nav {
        background: transparent !important;
        z-index: 9999;
        box-shadow: none;
    }

    .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 78%;
        height: 100%;
        max-width: 320px;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform .3s ease;
    }

    .nav-list.open {
        transform: translateX(0);
    }

    .nav-item {
        flex: none;
        border-bottom: 1px solid #eee;
    }

    .nav-item>a {
        justify-content: flex-start;
        padding: 0 50px 0 18px;
        height: 50px;
        line-height: 50px;
        color: #333;
        font-weight: 400;
        font-size: 15px;
    }

    .nav-item.active>a {
        color: var(--primary);
        background: transparent;
        font-weight: 700;
    }

    /* 移动端：隐藏PC标题下划线箭头，由独立 .sub-toggle 替代 */
    .nav-item>a::after {
        display: none;
    }

    /* 二级菜单独立展开按钮 */
    .sub-toggle {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        width: 50px;
        height: 50px;
        cursor: pointer;
        z-index: 2;
    }

    .sub-toggle::after {
        display: block;
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        width: 8px;
        height: 8px;
        margin-top: -3px;
        border: none;
        border-right: 2px solid #bbb;
        border-bottom: 2px solid #bbb;
        border-radius: 0;
        background: transparent;
        transform: rotate(45deg);
        transition: transform .25s, margin-top .25s;
    }

    .has-sub.sub-open>a {
        color: var(--primary);
    }

    .has-sub.sub-open .sub-toggle::after {
        margin-top: 1px;
        transform: rotate(-135deg);
        border-color: var(--primary);
    }

    .sub-nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border-top: none;
        background: #f7f7f7;
        border-radius: 0;
        width: 100%;
        min-width: 0;
        padding: 0;
        transition: none;
    }

    .has-sub.sub-open .sub-nav {
        display: block !important;
        transform: none !important;
        left: auto !important;
    }

    .sub-nav li {
        background: transparent;
        border-bottom: none;
    }

    .sub-nav li a,
    .sub-nav li a:link,
    .sub-nav li a:visited,
    .sub-nav li a:active,
    .sub-nav li a:focus {
        position: static;
        display: block;
        color: #333333;
        padding: 0 18px 0 42px;
        font-size: 14px;
        height: 44px;
        line-height: 44px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        border-left: none;
        transition: none;
    }

    .sub-nav li a:hover {
        background: #efefef;
        color: var(--primary);
    }

    /* 三级菜单（团体标准等） */
    .sub-nav li.has-sub-sub>a,
    .sub-nav li.has-sub-sub>a:link,
    .sub-nav li.has-sub-sub>a:visited,
    .sub-nav li.has-sub-sub>a:active,
    .sub-nav li.has-sub-sub>a:focus {
        position: relative;
        padding-right: 40px;
        color: #333333;
    }

    .has-sub-sub>a::after {
        content: '';
        position: absolute;
        right: 20px;
        top: 50%;
        width: 6px;
        height: 6px;
        margin-top: -4px;
        border: none;
        border-right: 2px solid #bbb;
        border-bottom: 2px solid #bbb;
        transform: rotate(45deg);
        transition: transform .25s, margin-top .25s;
        display: block;
        background: transparent;
        border-radius: 0;
    }

    .has-sub-sub.sub-open>a {
        color: var(--primary);
    }

    .has-sub-sub.sub-open>a::after {
        margin-top: 0;
        transform: rotate(-135deg);
        border-color: var(--primary);
    }

    .sub-sub-nav {
        display: none;
        background: #eee;
    }

    .has-sub-sub.sub-open .sub-sub-nav {
        display: block !important;
    }

    .sub-sub-nav li {
        background: transparent;
        border-bottom: none;
    }

    .sub-sub-nav li a {
        display: block;
        color: #555;
        padding: 0 18px 0 60px;
        font-size: 13px;
        height: 40px;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sub-sub-nav li a:hover {
        background: #e0e0e0;
        color: var(--primary);
    }

    /* 手机端保持箭头旋转，不被PC端白色下划线覆盖 */
    .has-sub.active>a::after,
    .has-sub:hover>a::after {
        transform: rotate(45deg);
    }

    .has-sub.sub-open.active>a::after,
    .has-sub.sub-open:hover>a::after {
        transform: rotate(-135deg);
    }

    .banner-swiper {
        height: 200px;
    }

    .banner-caption h2 {
        font-size: 24px;
    }

    .banner-caption p {
        font-size: 13px;
        margin-top: 10px;
    }

    .banner-btn {
        font-size: 13px;
        padding: 8px 20px;
        margin-top: 16px;
    }

    .banner-prev,
    .banner-next {
        display: none;
    }

    .notice-bar {
        padding-top: 15px;
    }

    .notice-box {
        height: 50px;
        padding: 0 14px;
        gap: 12px;
    }

    .notice-label strong {
        font-size: 16px;
    }

    .notice-label i {
        font-size: 16px;
    }

    .notice-scroll,
    .notice-swiper,
    .notice-swiper .swiper-slide {
        height: 50px;
    }

    .notice-slide-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .notice-item span {
        display: none;
    }

    .notice-item {
        font-size: 15px;
    }

    .news-section {
        padding: 15px 0 5px;
    }

    .news-layout {
        flex-direction: column;
        gap: 22px;
    }

    .news-left {
        width: 100%;
        max-width: 100%;
    }

    .news-swiper {
        height: 220px;
    }

    .news-tab-btn {
        font-size: 18px;
        margin-right: 24px;
        padding-bottom: 10px;
    }

    .news-tab-btn::after {
        bottom: -3px;
    }

    .article-list li {
        height: 50px;
        overflow: hidden;
    }

    .article-list li a {
        font-size: 15px;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .article-date {
        font-size: 15px;
    }

    .news-tab-more {
        font-size: 14px;
    }

    .service-section {
        padding: 20px 0 20px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .service-card-body a {
        font-size: 15px;
    }

    .service-card-body {
        padding: 8px 5px 8px;
    }

    .section-title {
        margin-bottom: 15px;
    }

    .section-title h2 {
        font-size: 22px;
    }

    .flink-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .flink-label {
        margin: 14px 0 14px;
    }

    .flink-cats {
        flex-direction: column;
    }

    .flink-cat {
        border-left: none;
        border-top: 1px solid var(--border-color);
        text-align: left;
    }

    .flink-cat-name {
        width: 100%;
        justify-content: space-between;
        padding: 15px 10px;
        font-size: 16px;
    }

    .flink-drop {
        position: static;
        transform: none;
        width: 100%;
        border-top: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--primary-lighter);
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px 18px 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 20px 15px 20px;
    }

    .footer-logo,
    .footer-col-about {
        display: none;
    }

    .footer-copy-inner {
        justify-content: center;
        height: auto;
        padding: 12px 15px;
        text-align: center;
        gap: 0;
    }

    .back-top {
        right: 16px;
        bottom: 40px;
    }

    .login-header-inner {
        height: 70px;
    }

    .login-header .logo img {
        height: 32px;
    }

    .login-header-right {
        gap: 10px;
    }

    .back-home {
        font-size: 15px;
    }

    .back-home span {
        display: none;
    }

    .login-main {
        padding: 24px 0 18px;
    }

    .side-card-row {
        grid-template-columns: 1fr;
    }

    .side-card-row .side-card {
        height: auto;
    }

    .side-scroll {
        overflow: visible;
        padding-right: 0;
    }

    .side-card {
        padding: 20px 18px 18px;
    }

    .login-card {
        padding: 22px 20px 20px;
    }

    .login-security {
        padding: 0 15px;
    }

    .login-footer .footer-copy-inner {
        height: auto;
        padding: 12px 15px;
        justify-content: center;
        text-align: center;
    }

    .party-banner-wrap {
        padding-top: 14px;
    }

    .party-banner-swiper,
    .party-banner-swiper .swiper-slide {
        height: 135px;
    }

    .party-banner-prev,
    .party-banner-next {
        width: 32px;
        height: 32px;
    }

    .party-banner-prev::after,
    .party-banner-next::after {
        font-size: 14px;
    }

    .party-banner-pagination {
        bottom: 5px !important;
    }

    .party-banner-text h2 {
        font-size: 26px;
        letter-spacing: 6px;
    }

    .party-banner-text p {
        font-size: 13px;
        margin-top: 8px;
        padding: 0 20px;
    }

    .party-section {
        padding: 20px 0 34px;
    }

    .party-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .party-list li {
        height: 44px;
    }

    .party-list li a {
        font-size: 14px;
    }
}

@media (max-width: 700px) {
    .dot-list a {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .search-head h2 {
        font-size: 19px;
    }

    .no-result {
        padding: 40px 16px 60px;
    }

    .no-result .nr-icon {
        width: 64px;
        height: 64px;
    }

    .no-result .nr-icon i {
        font-size: 30px;
    }
}

@media (max-width: 560px) {
    .event-grid {
        grid-template-columns: 1fr;
    }

    .about-main {
        font-size: 14px;
    }

    .empty-tip {
        padding: 22px 12px;
        font-size: 13px;
        gap: 6px;
    }

    .empty-tip::before {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .banner-swiper {
        height: 105px;
    }

    .banner-caption h2 {
        font-size: 20px;
    }

    .news-swiper {
        height: 190px;
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        align-items: stretch;
    }

    .service-card-head {
        min-height: 56px;
        display: flex;
        align-items: center;
    }

    .flink-drop a {
        font-size: 16px;
    }
}