/* ========================================
   北京家具行业协会 - 全局样式
   主题色：天蓝色 #00A8E8 / #0077B6
   安全区：1280px
   ======================================== */

/* ---- 基础重置与变量 ---- */
:root {
    --primary: #00A8E8;
    --primary-dark: #0077B6;
    --primary-light: #48CAE4;
    --primary-lighter: #CAF0F8;
    --secondary: #023E8A;
    --accent: #90E0EF;
    --text: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #ffffff;
    --bg-alt: #F0F9FF;
    --bg-dark: #023E8A;
    --border: #E8F4F8;
    --shadow: rgba(0, 119, 182, 0.1);
    --shadow-hover: rgba(0, 119, 182, 0.2);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 16px;
    --container: 1280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* ---- 按钮样式 ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 232, 0.4);
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary-dark);
    border-color: #fff;
}

/* ========================================
   顶部导航
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-search {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.header-search:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.header-search.active {
    background: var(--primary);
    color: #fff;
}

.header-search:active {
    transform: scale(0.95);
}

.header-main {
    padding: 18px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
    letter-spacing: 1px;
}

.logo-text span {
    font-size: 11px;
    color: var(--text-lighter);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-list {
    display: flex;
    gap: 8px;
}

/* 有下拉菜单的导航项 */
.nav-list>li {
    position: relative;
}

.nav-list>li a {
    display: block;
}

.nav-list>li>a {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    color: var(--text);
    border-radius: 6px;
    position: relative;
}

.nav-list>li>a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-list>li:hover>a,
.nav-list>li.active>a {
    color: var(--primary);
}

.nav-list>li:hover>a::after,
.nav-list>li.active>a::after {
    transform: translateX(-50%) scaleX(1);
}

/* 下拉箭头 - 仅手机端显示，电脑端隐藏 */
.dropdown-arrow {
    display: none;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-top: 5px solid currentColor;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: 0.6;
    transition: var(--transition);
}

/* ========== 二级下拉菜单 menu-nav ========== */
.menu-nav {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 180px;
    padding: 12px 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 119, 182, 0.15), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100;
    pointer-events: none;
}


/* hover 显示 */
.nav-list>li:hover>.menu-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.menu-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-nav ul li {
    margin: 0;
    padding: 0;
}

.menu-nav ul li a {
    display: block;
    padding: 10px 24px;
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
    border-radius: 0;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.menu-nav ul li a::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary-light);
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%) scale(0);
    transition: var(--transition);
}

.menu-nav ul li a::after {
    display: none;
}

.menu-nav ul li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
    padding-left: 30px;
}

.menu-nav ul li a:hover::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.mobile-menu-btn {
    display: none;
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   轮播图 Banner
   ======================================== */
.banner {
    position: relative;
    padding-top: 100px;
}

.banner-swiper {
    width: 100%;
    height: 600px;
}

.banner-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(2, 62, 138, 0.75) 0%, rgba(2, 62, 138, 0.3) 60%, rgba(2, 62, 138, 0.1) 100%);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
    animation: fadeInUp 1s ease;
}

.banner-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.banner-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 600px;
}

.banner-pagination {
    display: none;
    bottom: 40px !important;
}

.banner-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.banner-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 6px;
}

.banner-prev,
.banner-next {
    color: #fff !important;
    width: 50px !important;
    height: 50px !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-prev::after,
.banner-next::after {
    font-size: 18px !important;
    font-weight: 700;
}

.banner-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.banner-wave svg {
    width: 100%;
    height: auto;
}

/* ========================================
   公共板块样式
   ======================================== */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-alt {
    background: var(--bg-alt);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-title {
    text-align: center;
}

.section-title-left {
    text-align: left;
}

.section-title .title-en {
    display: block;
    font-size: 14px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-weight: 500;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title-left h2::after {
    left: 0;
    transform: none;
}

.more-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
}

.more-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* 装饰元素 */
.section-deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.deco-circle {
    width: 300px;
    height: 300px;
    border: 40px solid var(--primary-lighter);
    border-radius: 50%;
    opacity: 0.6;
    top: -100px;
    left: -100px;
}

.deco-circle-right {
    left: auto;
    right: -100px;
    top: auto;
    bottom: -100px;
}

.deco-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(var(--primary-light) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.3;
    top: 50px;
    right: 50px;
}

.deco-dots-left {
    right: auto;
    left: 50px;
    top: auto;
    bottom: 50px;
}

.deco-wave {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23CAF0F8' fill-opacity='0.3' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

/* ========================================
   行业资讯
   ======================================== */
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.news-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 605px;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    align-self: start;
}

/* a标签撑满整个card区域 */
.news-card .news-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: inherit;
    z-index: 1;
}

.news-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: -webkit-transform 0.5s ease-out;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.news-card:hover .news-card-img img {
    transform: scale(1.08);
}

.news-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(2, 62, 138, 0.9) 0%, rgba(2, 62, 138, 0.4) 50%, rgba(2, 62, 138, 0.1) 100%);
}

.news-card-content {
    position: relative;
    z-index: 2;
    padding: 30px;
    width: 100%;
    color: #fff;
}

.news-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary);
    border-radius: 20px;
    font-size: 13px;
    margin-bottom: 16px;
}

.news-card-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-card-content p {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 16px;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /*要显示的行数*/
    overflow: hidden;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.7;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-card-featured .news-featured-swiper {
    width: 100%;
    height: 100%;
}

.news-card-featured .swiper-slide {
    position: relative;
    height: auto;
}

.news-card-featured .news-card-link {
    position: relative;
    display: flex;
    align-items: flex-end;
    width: 100%;
    min-height: 420px;
    text-decoration: none;
    color: inherit;
}

.news-featured-pagination {
    bottom: 16px !important;
}

.news-featured-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.news-featured-pagination .swiper-pagination-bullet-active {
    background: #fff;
    width: 24px;
    border-radius: 5px;
}

.news-featured-prev,
.news-featured-next {
    color: #fff !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: var(--transition);
    opacity: 0;
}

.news-card-featured:hover .news-featured-prev,
.news-card-featured:hover .news-featured-next {
    opacity: 1;
}

.news-featured-prev:hover,
.news-featured-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.news-featured-prev::after,
.news-featured-next::after {
    font-size: 14px !important;
    font-weight: 700;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 605px;
}

.news-item {
    padding: 18px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

/* a标签撑满整个item区域 */
.news-item .news-item-link {
    display: flex;
    gap: 18px;
    text-decoration: none;
    color: inherit;
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
    border-color: var(--primary-light);
}

.news-item-img {
    width: 90px;
    height: 55px;
    border-radius: var(--radius);
    flex-shrink: 0;
    overflow: hidden;
}

.news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-item-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-item-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-date {
    font-size: 13px;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   协会通知
   ======================================== */
.notice-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notice-item {
    display: block;
}

.notice-item > a {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px 30px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: 0 2px 15px var(--shadow);
    transition: var(--transition);
    border-left: 4px solid transparent;
    text-decoration: none;
    color: inherit;
}

.notice-item > a:hover {
    transform: translateX(6px);
    border-left-color: var(--primary);
    box-shadow: 0 5px 20px var(--shadow-hover);
}

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    background: var(--primary-lighter);
    border-radius: var(--radius);
    color: var(--primary-dark);
}

.notice-date .day {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.notice-date .month {
    font-size: 12px;
    margin-top: 4px;
}

.notice-body {
    flex: 1;
    min-width: 0;
}

.notice-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

.notice-item > a:hover .notice-body h4 {
    color: var(--primary);
}

.notice-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notice-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.notice-item:hover .notice-arrow {
    background: var(--primary);
    color: #fff;
}

/* ========================================
   协会动态
   ======================================== */
.dynamic-grid {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.dynamic-card {
    position: relative;
    width: calc((100% - 60px) / 3);
}

.dynamic-card > a {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: block;
    text-decoration: none;
    color: inherit;
}

.dynamic-card > a:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px var(--shadow-hover);
}

.dynamic-img {
    position: relative;
    width: 100%;
    aspect-ratio: 19 / 10;
    overflow: hidden;
}

.dynamic-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dynamic-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dynamic-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.dynamic-card > a:hover .dynamic-overlay img {
    transform: scale(1.05);
}

.dynamic-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 14px;
    background: var(--primary);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
}

.dynamic-body {
    padding: 24px;
}

.dynamic-body h4 {
    font-size: 17px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

.dynamic-card > a:hover .dynamic-body h4 {
    color: var(--primary);
}

.dynamic-body>p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamic-meta {
    font-size: 13px;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ========================================
   荣誉资质
   ======================================== */
.section-honor .section-header {
    margin-bottom: 30px;
}

.honor-swiper {
    padding-bottom: 50px;
}

.honor-card {
    background: #fff;
    border-radius: 10px;
    padding: 16px 16px 14px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(0, 119, 182, 0.08);
    transition: var(--transition);
    border: 1px solid #e0eef5;
}

.honor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 119, 182, 0.18);
    border-color: var(--primary-light);
}

/* 装裱相框效果 */
.honor-frame {
    width: 100%;
    height: 170px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #f5f9fb 0%, #eef4f7 100%);
    border: 1px solid #dbe8ef;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.honor-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.honor-card:hover .honor-frame img {
    transform: scale(1.04);
}

.honor-name {
    font-size: 14px;
    color: #333333;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.honor-pagination {
    bottom: 0 !important;
    z-index: 10;
}

.honor-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--primary-light);
    opacity: 1;
}

.honor-pagination .swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 5px;
}

/* ========================================
   广告位
   ======================================== */
.section-ads {
    background: var(--bg);
    position: relative;
    padding: 60px 0 0 0;
}

.ads-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ad-pic {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition);
}

.ad-pic img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.ad-pic:hover {
    box-shadow: 0 8px 25px var(--shadow-hover);
    transform: translateY(-4px);
}

.ad-pic:hover img {
    transform: scale(1.05);
}

/* ========================================
   关于协会
   ======================================== */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--primary);
    font-size: 28px;
    font-weight: 700;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-num sup {
    font-size: 16px;
    font-weight: 500;
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
}

.about-img {
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   友情链接
   ======================================== */
.section-links {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid var(--border);
}

.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.link-item {
    padding: 10px 24px;
    background: var(--bg-alt);
    border-radius: 30px;
    font-size: 14px;
    color: var(--text-light);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.link-item:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-hover);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #00a8e8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    background: var(--primary);
    box-shadow: none;
}

.footer-logo h3 {
    font-size: 18px;
    color: #fff;
    font-weight: 600;
}

.footer-logo span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-nav h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-nav ul li {
    margin-bottom: 12px;
}

.footer-nav ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav ul li a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid var(--primary);
    transition: var(--transition);
}

.footer-nav ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-qrcode h4 {
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.qrcode-box {
    width: 120px;
    height: 120px;
    background: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   返回顶部
   ======================================== */
.backtop {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
    z-index: 999;
}

.backtop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.backtop:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ========================================
   动画
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   响应式适配
   ======================================== */



/* ========================================
   二级页面共用样式 - 全新设计感版本
   ======================================== */

/* ========================================
   页面标题区（背景图版）
   ======================================== */
.page-banner {
    padding-top: 76px;
    background: url('../images/page-banner.jpg') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 62, 138, 0.88) 0%, rgba(0, 119, 182, 0.82) 50%, rgba(0, 168, 232, 0.75) 100%);
    z-index: 1;
}

/* 装饰圆形 */
.page-banner::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 350px;
    height: 350px;
    border: 50px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    z-index: 2;
    pointer-events: none;
    animation: bannerCircleRotate 20s linear infinite;
}

@keyframes bannerCircleRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.page-banner-inner {
    padding: 55px 0 45px;
    position: relative;
    z-index: 3;
}

/* 标题前的竖线装饰 */
.page-banner h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.page-banner h2::before {
    content: '';
    width: 5px;
    height: 32px;
    background: var(--primary-light);
    border-radius: 3px;
}

/* ---- 面包屑 ---- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: #fff;
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.breadcrumb span.active {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    cursor: default;
}

.breadcrumb i {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========================================
   页面主体布局
   ======================================== */
.page-body {
    padding: 50px 0 70px;
    background: linear-gradient(180deg, #eef6fa 0%, var(--bg-alt) 30%, var(--bg-alt) 100%);
    min-height: 500px;
    position: relative;
}

/* 页面主体装饰 */
.page-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%2300A8E8' fill-opacity='0.04' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,40 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top;
    background-size: cover;
    pointer-events: none;
}

.page-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 35px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* 全宽布局（无侧边栏） */
.page-layout-full {
    grid-template-columns: 1fr;
}

.page-sidebar-inner {
    width: 100%;
}

/* ========================================
   侧边栏 - 全新设计感
   ======================================== */
.page-sidebar {
    position: sticky;
    top: 130px;
}

/* 侧边栏标题 - 卡片头部 */
.sidebar-title {
    padding: 20px 22px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.25);
    position: relative;
    overflow: hidden;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 60px;
    height: 60px;
    border: 15px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.sidebar-title i {
    font-size: 15px;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    align-self: center;
    flex-shrink: 0;
}

/* 侧边栏菜单 */
.sidebar-menu {
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
    border-top: none;
    overflow: hidden;
    padding: 8px 0;
}

.sidebar-menu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    margin: 2px 10px;
    font-size: 16px;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

/* 左侧指示条 */
.sidebar-menu li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 18px;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: var(--transition);
}

.sidebar-menu li a::after {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    color: var(--text-lighter);
    transition: var(--transition);
    opacity: 0.6;
}

/* 悬停状态 */
.sidebar-menu li a:hover {
    background: var(--bg-alt);
    color: var(--primary);
    padding-left: 26px;
}

.sidebar-menu li a:hover::before {
    transform: translateY(-50%) scaleY(1);
}

.sidebar-menu li a:hover::after {
    color: var(--primary);
    opacity: 1;
    transform: translateX(3px);
}

/* 当前激活状态 */
.sidebar-menu li.active a {
    background: var(--primary-lighter);
    color: var(--primary-dark);
    font-weight: 600;
    padding-left: 26px;
}

.sidebar-menu li.active a::before {
    transform: translateY(-50%) scaleY(1);
}

.sidebar-menu li.active a::after {
    color: var(--primary);
    opacity: 1;
}

/* 移动端侧边栏切换按钮 */
.sidebar-toggle {
    display: none;
    margin-bottom: 20px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.3);
}

.sidebar-toggle i {
    font-size: 13px;
}

/* ========================================
   内容区域 - 更有层次感
   ======================================== */
.page-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px var(--shadow);
    border: 1px solid var(--border);
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* 内容区右上角装饰 */
.page-content::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border: 25px solid var(--primary-lighter);
    border-radius: 50%;
    opacity: 0.4;
    pointer-events: none;
}

.content-title {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    padding-bottom: 16px;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--border);
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========================================
   协会动态图文列表（左图右文）
   ======================================== */
.dynamic-pic-list {
    display: flex;
    flex-direction: column;
}

.dynamic-pic-item {
    display: flex;
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px dashed #d0e3ee;
    transition: var(--transition);
    align-items: flex-start;
}

.dynamic-pic-item > a {
    display: flex;
    gap: 30px;
    width:100%;
    align-items: flex-start;
}

.dynamic-pic-item:first-child {
    padding-top: 10px;
}

.dynamic-pic-item:last-child {
    border-bottom: none;
}


/* 左侧图片 - 与首页协会动态比例一致 */
.dynamic-pic-img {
    width: 230px;
    height: 144px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.1);
}

.dynamic-pic-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.dynamic-pic-item > a:hover .dynamic-pic-img img {
    transform: scale(1.05);
}

.dynamic-pic-item > a:hover .dynamic-pic-body h4 {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* 右侧文字内容 */
.dynamic-pic-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.dynamic-pic-body h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 14px;
    line-height: 1.4;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

/* 已迁移到父级a标签hover */

.dynamic-pic-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 14px;
    min-width: 0;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dynamic-pic-date {
    font-size: 14px;
    color: var(--text-lighter);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dynamic-pic-date i {
    font-size: 13px;
}

/* ========================================
   文章列表页样式 - 升级设计
   ======================================== */
.article-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-item {
    display: block;
}

.article-item > a {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

/* 左侧蓝色指示条 */
.article-item > a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.article-item > a:hover {
    border-color: var(--primary-light);
    box-shadow: 0 6px 24px var(--shadow);
    transform: translateX(6px);
}

.article-item > a:hover::before {
    width: 4px;
}

.article-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-lighter), #e4f3fa);
    border-radius: 10px;
    color: var(--primary);
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 168, 232, 0.1);
}

.article-date .day {
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.article-date .month {
    font-size: 12px;
    margin-top: 2px;
    opacity: 0.8;
}

.article-body {
    flex: 1;
    min-width: 0;
    padding-left: 4px;
}

.article-body h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 8px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: var(--transition);
}

.article-item > a:hover .article-body h4 {
    color: var(--primary);
}

.article-body p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   分页样式 - 升级设计
   ======================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 35px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pagination a:hover,
.pagination li.active a{
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 168, 232, 0.3);
    transform: translateY(-2px);
}

/* ========================================
   图文列表样式（会员单位）- 升级
   ======================================== */
.pic-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.pic-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
    background: #fff;
    position: relative;
    overflow: hidden;
}

.pic-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.pic-item:hover {
    border-color: var(--primary-light);
    box-shadow: 0 6px 24px var(--shadow);
    transform: translateY(-4px);
}

.pic-item:hover::before {
    width: 4px;
}

.pic-item .pic-thumb {
    width: 100px;
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid var(--border);
}

.pic-item .pic-thumb img {
    max-width: 90%;
    max-height: 90%;
    object-fit: cover;
}

.pic-item .pic-thumb .pic-placeholder {
    font-size: 32px;
    color: var(--primary);
    opacity: 0.6;
}

.pic-item .pic-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 6px;
    transition: var(--transition);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pic-item:hover .pic-info h4 {
    color: var(--primary);
}

.pic-item .pic-info p {
    font-size: 13px;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================
   纯文字列表样式（理事/会员单位）- 升级
   ======================================== */
.text-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.text-item {
    padding: 14px 18px;
    background: linear-gradient(135deg, #f8fbfd, var(--bg-alt));
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.text-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.text-item:hover {
    background: var(--primary-lighter);
    border-color: var(--primary-light);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 18px var(--shadow);
}

.text-item:hover::before {
    transform: translateX(-50%) scaleX(1);
}

/* ========================================
   单页内容样式 - 升级
   ======================================== */
.page-article img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto !important;

}

.page-article p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 18px;
    text-align: justify;
}

.page-article h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--secondary);
    margin: 28px 0 14px;
    padding-left: 14px;
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-article h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    margin: 18px 0 10px;
}

.page-article ul {
    margin: 14px 0 18px 20px;
    list-style: none;
}

.page-article ul li {
    font-size: 14px;
    color: var(--text-light);
    line-height: 2;
    position: relative;
    padding-left: 18px;
}

.page-article ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
}

.page-article .article-date-source {
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: center;
    gap: 16px;
}
.page-article table[align="center"]{
    margin-left: auto;
    margin-right: auto;
}

/* ---- 详情标题区 ---- */
.article-detail-title {
    font-size: 26px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    margin-bottom: 18px;
    text-align: center;
}

/* ---- 元信息 ---- */
.article-detail-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 13px;
    color: var(--text-lighter);
    padding-bottom: 24px;
    margin-bottom: 30px;
    border-bottom: 1px dashed var(--border);
}

.article-detail-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-detail-meta i {
    color: var(--primary);
}

/* ---- 详情正文 ---- */
.article-detail-body {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
}

.article-detail-body img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto !important;
}

.article-detail-body p {
    margin-bottom: 18px;
}
.article-detail-body table[align="center"]{
    margin-left: auto;
    margin-right: auto;
}

/* ---- 上一篇/下一篇 ---- */
.article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.article-nav a {
    padding: 18px 22px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg-alt);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.article-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--primary-light));
    transition: width 0.3s ease;
    border-radius: 0 3px 3px 0;
}

.article-nav a:hover {
    border-color: var(--primary-light);
    box-shadow: 0 4px 15px var(--shadow);
    transform: translateY(-3px);
}

.article-nav a:hover::before {
    width: 4px;
}

.article-nav-prev span,
.article-nav-next span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-lighter);
    margin-bottom: 8px;
}

.article-nav-next span {
    justify-content: flex-end;
}

.article-nav-prev p,
.article-nav-next p {
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.article-nav-next p {
    text-align: right;
}

/* ========================================
   搜索页面样式
   ======================================== */

/* 搜索框区域 */
.search-page-box {
    margin-bottom: 30px;
    padding-bottom: 28px;
    position: relative;
}

.search-page-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.search-page-input-wrap {
    display: flex;
    gap: 0;
    max-width: 700px;
}

.search-page-input-wrap input {
    flex: 1;
    height: 48px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 0 20px;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    outline: none;
    transition: var(--transition);
}

.search-page-input-wrap input:focus {
    border-color: var(--primary);
}

.search-page-btn {
    height: 48px;
    padding: 0 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-page-btn:hover {
    opacity: 0.9;
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.35);
}

/* 搜索结果标题 */
.search-result-header {
    margin-bottom: 20px;
    padding: 14px 20px;
    background: var(--bg-alt);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    font-size: 15px;
    color: var(--text-light);
}

.search-result-header strong {
    color: var(--primary);
    font-weight: 700;
}

.search-result-header em {
    color: var(--primary-dark);
    font-weight: 600;
    font-style: normal;
}

/* 搜索结果列表 */
.search-result-list {
    display: flex;
    flex-direction: column;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 10px;
    border-bottom: 1px dashed #d0e3ee;
    transition: var(--transition);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-alt);
    margin: 0 -10px;
    padding-left: 24px;
    padding-right: 20px;
    border-radius: 8px;
}

/* 小圆点 */
.search-dot {
    width: 6px;
    height: 6px;
    background: var(--text-lighter);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.5;
    transition: var(--transition);
}

.search-result-item:hover .search-dot {
    background: var(--primary);
    opacity: 1;
}

/* 搜索结果标题 */
.search-result-body {
    flex: 1;
    min-width: 0;
}

.search-result-body h4 {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-body h4 a {
    color: #333333;
}

.search-result-body h4 a:hover {
    color: var(--primary);
}

/* 搜索关键词高亮 */
.search-highlight,
.search-result-body h4 a span {
    color: var(--primary);
    font-weight: 600;
}

/* 搜索结果日期 */
.search-result-date {
    font-size: 16px;
    color: var(--text-lighter);
    flex-shrink: 0;
    white-space: nowrap;
}

.nodata-section {
    margin: 80px 0;
    text-align: center;
}

.nodata-section p {
    text-align: center;
    font-size: 16px;
    color: #666;
}


/* ========================================
   响应式媒体查询（按断点从大到小排列，置于文件末尾以确保覆盖优先级）
   ======================================== */

@media (max-width: 1024px) {
    .nav-list {
        display: none;
    }

    /* 移动端导航展开时的样式 */
    .nav-list.nav-mobile-show {
        display: flex !important;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        background: #fff;
        padding: 10px 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 0;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }

    .nav-list.nav-mobile-show::-webkit-scrollbar {
        width: 4px;
    }

    .nav-list.nav-mobile-show::-webkit-scrollbar-track {
        background: transparent;
    }

    .nav-list.nav-mobile-show::-webkit-scrollbar-thumb {
        background-color: var(--border);
        border-radius: 2px;
    }

    /* 移动端 header 布局：logo 左侧，搜索+汉堡 右侧 */
    .header-main .container {
        flex-wrap: nowrap;
    }

    .header-main .logo {
        flex-shrink: 0;
    }

    .header-main .header-right {
        margin-left: auto;
        /* 推到右侧 */
        order: 1;
        /* 排在mobile-menu-btn前面 */
    }

    .header-main .mobile-menu-btn {
        flex-shrink: 0;
        order: 2;
        /* 紧跟header-right后面 */
    }

    /* 移动端导航项 */
    .nav-list.nav-mobile-show>li {
        border-bottom: 1px solid var(--border);
    }

    .nav-list.nav-mobile-show>li:last-child {
        border-bottom: none;
    }

    .nav-list.nav-mobile-show>li>a {
        padding: 14px 8px;
        border-radius: 6px;
        font-size: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-list.nav-mobile-show>li.active>a,
    .nav-list.nav-mobile-show>li>a:hover {
        background: var(--bg-alt);
        color: var(--primary);
    }

    .nav-list.nav-mobile-show>li>a::after {
        display: none;
    }

    /* 移动端下拉箭头 - 显示 */
    .nav-list.nav-mobile-show .dropdown-arrow {
        display: inline-block;
        border-top-width: 5px;
        margin-left: 8px;
    }

    /* 展开时箭头旋转 */
    .nav-list.nav-mobile-show>li.has-dropdown.dropdown-open>a .dropdown-arrow,
    .nav-list.nav-mobile-show>li.has-dropdown.dropdown-open>a:hover .dropdown-arrow {
        transform: rotate(180deg);
        opacity: 1;
    }

    /* 移动端二级菜单 */
    .nav-list.nav-mobile-show .menu-nav {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent;
        padding: 0;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.3s ease;
        border-radius: 0 !important;
    }

    .nav-list.nav-mobile-show .menu-nav::before,
    .nav-list.nav-mobile-show .menu-nav::after {
        display: none !important;
    }

    /* 移动端展开状态 */
    .nav-list.nav-mobile-show>li.has-dropdown.dropdown-open>.menu-nav {
        max-height: 400px;
    }

    .nav-list.nav-mobile-show .menu-nav ul li a {
        padding: 10px 16px 10px 24px;
        font-size: 14px;
        color: var(--text-light);
        border-bottom: 1px solid #eee;
    }

    .nav-list.nav-mobile-show .menu-nav ul li a:hover {
        color: var(--primary);
        background: rgba(0, 168, 232, 0.06);
        padding-left: 28px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-main .mobile-menu-btn {
        margin-left: 15px;
    }


    .banner {
        padding-top: 72px;
    }

    .banner-swiper {
        height: 450px;
    }

    .banner-content h2 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 17px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

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

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

    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 350px;
        order: -1;
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-toggle {
        display: flex;
        margin-bottom: 0;
    }

    .page-sidebar {
        position: relative;
        top: auto;
    }

    .page-sidebar-inner {
        display: none;
        margin-top: 15px;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.3s ease;
    }

    .page-sidebar-inner.show {
        max-height: 1500px;
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .sidebar-toggle>i {
        transition: transform 0.3s ease;
    }

    .page-sidebar.show .sidebar-toggle>i {
        transform: rotate(180deg);
    }

    .sidebar-title {
        padding: 10px 15px;
        font-size: 18px;
    }

    .sidebar-menu li a {
        padding: 8px 15px;
        font-size: 15px;
    }

    .sidebar-menu li.active a {
        padding-left: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section-title h2 {
        font-size: 30px;
    }

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

    /* 二级页面 - 平板端 */
    .page-banner {
        padding-top: 72px;
    }

    .page-banner h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 12px 0;
    }


    .logo-text h1 {
        font-size: 16px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .banner {
        padding-top: 64px;
    }

    .banner-swiper {
        height: 350px;
    }

    .banner-content h2 {
        font-size: 26px;
    }

    .banner-content p {
        font-size: 15px;
    }
    .banner-pagination{
        display: block;
    }

    .section {
        padding: 50px 0;
    }

    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 30px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .news-card {
        min-height: 420px;
    }

    .news-card-featured .news-card-link {
        min-height: 420px;
    }

    .news-item {
        flex-direction: row;
    }

    .news-item-img {
        width: 90px;
        height: 55px;
        flex-shrink: 0;
    }

    .dynamic-grid {
        grid-template-columns: 1fr;
    }

    .ads-grid {
        grid-template-columns: 1fr;
    }

    .page-layout {
        gap: 20px;
    }

    .notice-item > a {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        padding: 14px 15px;
    }

    .notice-date {
        min-width: 50px;
        height: 50px;
    }

    .notice-date .day {
        font-size: 20px;
    }

    .notice-date .month {
        font-size: 12px;
    }

    .notice-body h4 {
        font-size: 15px;
        margin-bottom: 0;
    }

    .notice-body p {
        display: none;
    }

    .notice-arrow {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .stat-num {
        font-size: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .container {
        padding: 0 15px;
    }


    .header-search {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* 手机端隐藏快速导航 */
    .footer-grid>.footer-nav {
        display: none;
    }

    .footer-main {
        padding: 30px 0 30px;
    }

    .links-grid {
        gap: 10px;
    }

    .link-item {
        padding: 8px 16px;
        font-size: 13px;
    }

    .backtop {
        right: 20px;
        bottom: 20px;
        width: 42px;
        height: 42px;
    }

    .deco-circle,
    .deco-dots {
        display: none;
    }

    .banner-prev,
    .banner-next {
        display: none !important;
    }

    /* ---- 动态列表图文项 ---- */
    .dynamic-pic-item {
        flex-direction: column;
        gap: 14px;
        padding: 18px 0;
    }

    .dynamic-pic-item > a {
        flex-direction: column;
        gap: 14px;
    }

    .dynamic-pic-img {
        width: 100%;
        height: 180px;
    }

    .dynamic-pic-body h4 {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .dynamic-pic-body p {
        font-size: 14px;
        margin-bottom: 10px;
    }

    /* ---- 二级页面布局 ---- */
    .page-banner-inner {
        padding: 35px 0 30px;
    }

    .page-banner h2 {
        font-size: 24px;
    }

    .page-body {
        padding: 30px 0 50px;
    }



    .page-content {
        padding: 15px 15px;
    }


    .page-content::before {
        display: none;
    }

    .content-title {
        padding-bottom: 15px;
        margin-bottom: 15px;
        font-size: 18px;
    }

    .page-article p {
        font-size: 14px;
        line-height: 1.85;
    }

    .page-article h3 {
        font-size: 18px;
    }

    .pic-list {
        grid-template-columns: 1fr;
    }

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

    .article-item > a {
        padding: 16px;
    }

    .article-item > a:hover {
        transform: translateX(4px);
    }

    .article-date {
        min-width: 50px;
        height: 50px;
    }

    .article-date .day {
        font-size: 18px;
    }

    /* ---- 新闻详情页 ---- */
    .article-detail-title {
        font-size: 20px;
    }

    .article-detail-meta {
        gap: 12px;
        font-size: 12px;
    }

    .article-detail-body {
        font-size: 14px;
        line-height: 1.8;
    }

    .article-nav {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .article-nav-next span {
        justify-content: flex-start;
    }

    .article-nav-next p {
        text-align: left;
    }

    /* ---- 搜索页面 ---- */
    .search-page-input-wrap {
        max-width: 100%;
    }

    .search-page-input-wrap input {
        font-size: 14px;
        padding: 0 14px;
    }

    .search-page-btn {
        padding: 0 18px;
        font-size: 14px;
    }

    .search-result-item {
        gap: 10px;
        padding: 12px 6px;
    }

    .search-result-body h4 {
        font-size: 14px;
    }

    .search-result-date {
        font-size: 12px;
    }
}

@media (max-width: 640px) {
    .header-main .logo img {
        height: 40px;
    }

    .nav-list.nav-mobile-show>li {
        border-bottom: 0;
    }

    .nav-list.nav-mobile-show>li>a {
        padding: 10px 8px;
        border-bottom: 1px solid #eee;
        border-radius: 0;
    }

    .banner-content {
        padding: 0;
        width: 90%;
    }

    .news-grid {
        display: block;
    }

    .news-card {
        margin-bottom: 20px;
        width: 100%;
        min-height: 220px;
    }

    .news-card-featured .news-card-link {
        min-height: 220px;
    }

    .news-featured-prev,
    .news-featured-next {
        width: 30px !important;
        height: 30px !important;
        opacity: 0;
    }

    .news-featured-prev::after,
    .news-featured-next::after {
        font-size: 12px !important;
    }
    .news-featured-pagination{
        bottom: 8px !important;
    }
    .news-list{
        width: 100%;
    }

    .news-item {
        padding: 15px;
    }

    .news-item .news-item-link {
        gap: 15px;
    }

    .news-item-body h4,
    .notice-body h4,
    .dynamic-body h4 {
        font-size: 16px;
    }

    .dynamic-body>p {
        margin-bottom: 7px;
    }

    .dynamic-grid {
        gap: 20px;
        display: flex;
        flex-wrap: wrap;
    }
    .dynamic-card{
        width: 100%;
    }

    .section {
        padding: 25px 0;
        padding-bottom: 30px;
    }

    .section-header {
        margin-bottom: 25px;
    }

    .section-title {
        text-align: left;
    }

    .section-title .title-en {
        margin-bottom: 0;
    }

    .section-title h2 {
        font-size: 18px;
    }

    .section-title h2::after {
        bottom: -7px;
    }

    .page-body {
        padding: 30px 0 30px;
    }

    .page-banner-inner {
        padding: 10px 0 20px;
    }

    .page-banner h2 {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .page-banner h2::before {
        height: 25px;
    }

    .news-card-content {
        padding: 20px 15px;
    }
    

    .dynamic-body {
        padding: 20px 15px;
    }

    .page-layout {
        gap: 15px;
    }

    .article-detail-title {
        margin-bottom: 12px;
        font-size: 18px;
    }

    .article-detail-meta {
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .article-nav {
        margin-top: 20px;
        padding-top: 20px;
    }

    .article-nav a {
        padding: 12px 15px;
    }

    .dynamic-pic-item {
        gap: 12px;
        padding: 15px 0;
    }

    .dynamic-pic-item > a {
        flex-direction: column;
        gap: 12px;
    }

    .dynamic-pic-item:first-child {
        padding-top: 0;
    }

    .dynamic-pic-img {
        height: 160px;
    }

    .dynamic-pic-body {
        display: block;
        width: 100%;
    }

    .dynamic-pic-body h4 {
        font-size: 16px;
    }

    .dynamic-pic-body p {
        line-height: 1.5;
    }

    .article-list {
        margin-bottom: 15px;
    }

    .article-item > a {
        padding: 15px;
        gap: 7px;
    }

    .pic-list {
        margin-bottom: 15px;
    }

    .pic-item {
        padding: 15px;
    }

    .pic-item .pic-thumb {
        width: 80px;
        height: 65px;
    }

    .pic-item .pic-info {
        width: calc(100% - 95px);
    }

    .pagination {
        margin-top: 5px;
        padding-top: 15px;
    }

    .nodata-section {
        margin: 50px 0;
    }

    .nodata-section p {
        font-size: 14px;
    }

    .nodata-section img {
        max-width: 80%;
    }


    .footer-main {
        padding: 15px 0;
    }

    .footer-logo {
        margin-bottom: 15px;
        justify-content: center;
    }

    .footer-logo img {
        max-width: 60%;
    }

    .footer-grid {
        gap: 5px;
    }

    .footer-brand p {
        margin: 10px 0;
        font-size: 12px;
    }

    .footer-qrcode {
        text-align: center;
    }

    .footer-qrcode h4 {
        margin-bottom: 0;
        padding-bottom: 10px;
    }

    .qrcode-box {
        margin: 0 auto;
    }

    .footer-bottom {
        padding: 8px 0;
    }

}

@media (max-width: 480px) {
    .banner-content h2 {
        font-size: 22px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .news-card-content h3 {
        font-size: 18px;
    }

    .ads-content h3 {
        font-size: 18px;
    }

    .about-img {
        height: 280px;
    }

    .text-list {
        grid-template-columns: 1fr;
    }

    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 13px;
    }


}