/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部信息栏 */
.top-bar {
    background: linear-gradient(to bottom, #ececec 0%, #ffffff 100%);
    color: rgb(0, 0, 0);
    height: 40px;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.top-left {
    display: flex;
    align-items: center;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-right a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s;
}

.top-right a:hover {
    color: #ffd700;
}

.separator {
    color: #000000;
}

/* Logo区域 */
.logo-section {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.logo-text {
    color: #2E7D32;
    font-size: 42px;
    font-weight: bold;
    width: 100%;
    line-height: 1.2;
    letter-spacing: 3px;
    margin-top: 6px;
}

.logo-text-en {
    color: #2E7D32;
    font-size: 14px;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 4px;
    width: 100%;
    max-width: 100%;
    letter-spacing: 6px;
    line-height: 1.4;
}

/* 导航菜单 */
.main-nav {
    background: #388E3C;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    transition: all 0.3s;
    font-weight: 500;
    white-space: nowrap;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: #2E7D32;
    color: #FFD54F;
}

/* 手机端导航折叠按钮 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    padding: 10px 0;
}

.nav-toggle i {
    pointer-events: none;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border-radius: 0 0 8px 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1000;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: #C8E6C9;
    color: #2E7D32;
}

/* 分支机构菜单下拉菜单样式 */
.branch-dropdown-menu {
    /* 调宽整体下拉框，让两列文字有更大可用宽度 */
    min-width: 760px !important;
    max-width: 840px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
}

.branch-dropdown-menu a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 轮播图 */
.carousel-section {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.carousel {
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 40px 20px 20px;
    text-align: center;
}

.carousel-caption h2 {
    font-size: 32px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active,
.dot:hover {
    background: white;
}

/* 主要内容区域 */
/* 右侧固定模块 */
.right-sidebar-modules {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 0;
    transition: top 0.2s ease, transform 0.2s ease;
}

.right-sidebar-modules.sidebar-initial {
    transform: none;
}

.sidebar-module {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 8px 0 0 8px;
    padding: 15px 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.sidebar-module:hover {
    background: #E8F5E8;
    box-shadow: 0 4px 15px rgba(46,125,50,0.2);
    transform: translateX(-5px);
}

.sidebar-module-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.sidebar-module-text {
    font-size: 14px;
    font-weight: 500;
    color: #2E7D32;
    text-align: center;
}

.sidebar-module:hover .sidebar-module-text {
    color: #1B5E20;
}

/* 响应式：小屏幕隐藏右侧固定模块 */
@media (max-width: 1024px) {
    .right-sidebar-modules {
        display: none;
    }
}

.main-content {
    padding: 40px 0;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: stretch;
}

.content-box {
    background: white;
    padding: 25px;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.box-title {
    color: #2E7D32;
    font-size: 16px;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #C8E6C9;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.4;
    min-height: 22px;
}

.box-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #2E7D32;
}

.more-link {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    font-weight: normal;
    transition: color 0.3s;
}

.more-link:hover {
    color: #2E7D32;
    text-decoration: underline;
}

.news-list {
    list-style: none;
}

.news-list li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #2E7D32;
    font-size: 12px;
}

.news-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
    flex: 1;
    margin-right: 10px;
}

.news-list a:hover {
    color: #2E7D32;
}

.news-date {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 重要资讯模块样式（轮播图）：与右侧新闻模块同高，轮播区铺满模块，图片等比铺满 */
.important-news-container {
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0 !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    box-sizing: border-box;
}

.important-news-carousel {
    position: relative;
    flex: 1 1 auto;
    min-height: 412px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.important-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.important-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
    pointer-events: none;
    z-index: 1;
    box-sizing: border-box;
}

.important-carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

.important-carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.important-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 30px 20px 50px;
    text-align: center;
}

.important-carousel-caption h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.important-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    z-index: 10;
    border-radius: 4px;
}

.important-carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.important-carousel-btn.prev {
    left: 10px;
}

.important-carousel-btn.next {
    right: 10px;
}

.important-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.important-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.important-dot.active {
    background: white;
}

/* 新闻Tab切换样式 */
.news-tabs-container {
    width: 100%;
}

.news-tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #C8E6C9;
    min-height: 22px;
}

.news-tabs {
    display: flex;
    gap: 10px;
    flex: 1;
}

.news-tabs-header .more-link {
    margin-left: 20px;
    flex-shrink: 0;
}

/* 首页第二行业务工作：「更多」不靠全局 margin-left 顶开 */
.home-biz-work-container .news-tabs-header .more-link {
    margin-left: 0;
}

.news-tab {
    padding: 0 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    line-height: 1.4;
    height: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
    bottom: -11px;
}

.news-tab:hover {
    color: #2E7D32;
    background: #F5F5F5;
}

.news-tab.active {
    color: #2E7D32;
    border-bottom: 3px solid #2E7D32;
    font-weight: 600;
    z-index: 1;
}

.news-content-wrapper {
    position: relative;
    height: 365px;
    overflow-y: auto;
}

.news-content-wrapper .news-list {
    display: none;
}

.news-content-wrapper .news-list.active {
    display: block;
}

/* 首页第二行：党建动态 + 业务工作五 Tab */
.home-second-news-row {
    align-items: stretch;
}

.home-party-news .news-tab {
    cursor: default;
    pointer-events: none;
}

.home-biz-work-tabs {
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: flex-end;
}

.home-biz-work-tabs .news-tab {
    padding: 0 10px;
    font-size: 14px;
    bottom: -11px;
}

/* 图片展示模块样式 */
.image-display-container {
    width: 100%;
    grid-column: 1 / -1;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0 !important;
}

.image-display-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.display-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* 专家库 */
.experts-section {
    background: white;
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: #2E7D32;
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
}

.section-title a {
    color: #2E7D32;
    text-decoration: none;
    transition: color 0.3s;
}

.section-title a:hover {
    color: #388E3C;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2E7D32, #388E3C);
}

.expert-type-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    padding: 0 20px;
}

.expert-type-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #E8F5E8, #F1F8F4);
    color: #2E7D32;
    border: 2px solid #C8E6C9;
    border-radius: 25px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.1);
}

.expert-type-tag i {
    font-size: 14px;
    color: #2E7D32;
}

.expert-type-tag:hover {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: white;
    border-color: #2E7D32;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.expert-type-tag:hover i {
    color: white;
}

.expert-type-list-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 20px;
    margin: 20px auto 0;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.expert-type-list-simple a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    border: none;
    background: none;
    box-shadow: none;
    transition: none;
    text-align: left;
}

.expert-type-list-simple a:hover {
    color: #2E7D32;
    background: none;
    border: none;
    transform: none;
    box-shadow: none;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.expert-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.expert-photo {
    margin-bottom: 15px;
}

.expert-photo img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #C8E6C9;
}

.expert-name {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 5px;
}

.expert-title {
    color: #666;
    font-size: 14px;
}

/* 友情链接 */
.links-section {
    background: white;
    padding: 60px 0;
}

.links-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 40px;
}

.link-item {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    font-size: 16px;
    line-height: 1.6;
    flex: 0 0 calc(33.333% - 10px);
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
}

.link-item:hover {
    color: #2E7D32;
}

/* 学会地址模块 */
.address-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.address-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #2E7D32;
    transition: all 0.3s;
}

.address-item:hover {
    background: #E8F5E8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.address-item i {
    font-size: 24px;
    color: #2E7D32;
    margin-top: 5px;
    flex-shrink: 0;
}

.address-item h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.address-item p {
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.6;
}

.address-map {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 2px solid #E8F5E8;
}

.address-map h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.address-map img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-image-clickable {
    cursor: pointer;
}

.map-image-clickable:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0.9;
}

/* 图片查看模态框 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s;
}

.image-modal-close:hover,
.image-modal-close:focus {
    color: #fff;
    text-decoration: none;
}

.image-modal-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 底部 */
.footer {
    background: linear-gradient(135deg, #2E7D32 0%, #388E3C 100%);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-info {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 40px;
    row-gap: 4px;
    font-size: 14px;
}

.footer-info-row {
    display: contents;
}

.footer-info-col {
    text-align: left;
    white-space: nowrap;
}

.footer-left p {
    margin-bottom: 8px;
    font-size: 14px;
}

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

.qr-code img {
    width: 100px;
    height: 100px;
    border-radius: 0;
    margin-bottom: 10px;
}

.qr-code p {
    font-size: 14px;
    color: #ccc;
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #333;
}

/* 页面内容样式 */
.page-content {
    padding: 40px 0;
    min-height: 60vh;
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #C8E6C9;
}

.page-title {
    color: #2E7D32;
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2E7D32, #388E3C);
}

.breadcrumb {
    color: #666;
    font-size: 14px;
}

.breadcrumb a {
    color: #2E7D32;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content-wrapper {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
}

.about-content {
    line-height: 1.8;
}

.about-logo-wrap {
    text-align: center;
    margin-bottom: 32px;
}

.about-logo-img {
    display: inline-block;
    max-width: 280px;
    width: 100%;
    height: auto;
    vertical-align: middle;
    object-fit: contain;
}

.about-intro {
    margin-bottom: 40px;
}

.about-intro h2 {
    color: #2E7D32;
    font-size: 28px;
    margin-bottom: 20px;
    text-align: center;
}

.about-intro .intro-text {
    font-size: 16px;
    color: #333;
    text-indent: 2em;
    margin-bottom: 0;
    font-style: normal;
}

.about-intro .intro-text + .intro-text {
    margin-top: 1em;
}

.about-wechat-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 16px;
    margin-left: 2em;
}

.about-wechat-section .about-wechat-label {
    flex-shrink: 0;
    font-size: 16px;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.about-wechat-section .about-qr-img {
    display: block;
    flex-shrink: 0;
    width: 120px;
    height: auto;
    max-width: 40vw;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    object-fit: contain;
}

.about-site-section .about-site-line {
    font-size: 16px;
    color: #333;
    text-indent: 2em;
    margin-bottom: 0;
    font-weight: normal;
}

.about-section {
    margin-bottom: 30px;
}

.about-section h3 {
    color: #2E7D32;
    font-size: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2E7D32;
    padding-left: 15px;
}

/* 理事会名单页面 */
.council-page .council-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #C8E6C9;
}

.council-page .council-detail-title {
    color: #2E7D32;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.5;
    text-align: center;
}

.council-page .council-detail-meta {
    color: #666;
    font-size: 14px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.council-page .council-content {
    line-height: 1.6;
}

.council-page .council-block {
    margin-bottom: 40px;
}

.council-page .council-block:last-child {
    margin-bottom: 0;
}

.council-page .council-block-title {
    color: #2E7D32;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #C8E6C9;
}

.council-page .council-subsection {
    margin-bottom: 28px;
}

.council-page .council-subsection:last-child {
    margin-bottom: 0;
}

.council-page .council-subsection-title {
    color: #2E7D32;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-left: 12px;
    border-left: 4px solid #2E7D32;
}

.council-page .council-subsection .council-subsection .council-subsection-title {
    /* 部门下级小标题（学术部、综合办公室）：颜色和粗细与上级保持一致，只通过缩进和细边体现层级 */
    font-size: 16px;
    font-weight: 600;
    color: #2E7D32;
    margin-top: 4px;
    margin-bottom: 6px;
    padding-left: 20px;
    border-left: 2px solid #2E7D32;
}

.council-page .council-placeholder {
    color: #999;
    font-size: 15px;
    margin: 0;
    padding-left: 16px;
    font-style: italic;
}

.council-page .council-subsection .council-subsection .council-placeholder {
    /* 学术部、综合办公室下的“待公示”稍微再缩进一点 */
    padding-left: 24px;
}

.council-page .council-name-single {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin: 0;
    padding-left: 16px;
    width: 4.5em;
    text-align: center;
}

.council-page .council-name-list {
    list-style: none;
    margin: 0;
    padding: 0 0 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fill, 4.5em);
    gap: 12px 24px;
}

.council-page .council-name-list li {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    padding: 8px 0 8px 0.5em;
    background: transparent;
    border: none;
    border-radius: 0;
    text-align: left;
    box-sizing: border-box;
    min-width: 0;
}

.council-page .council-name-list li.council-name-long {
    grid-column: span 2;
    text-align: left;
    padding-left: 0.5em;
    padding-right: 0.5em;
    overflow-wrap: break-word;
    word-break: break-all;
}

.council-page .council-name-list li:hover {
    background: transparent;
}

@media (max-width: 768px) {
    .council-page .council-name-list {
        grid-template-columns: repeat(auto-fill, 4em);
        gap: 10px 16px;
    }
    .council-page .council-name-list li {
        font-size: 15px;
        padding: 6px 0;
    }
    .council-page .council-name-list li.council-name-long {
        grid-column: span 2;
    }
    .council-page .council-name-single {
        width: 4em;
    }
}

.about-section p {
    font-size: 16px;
    color: #333;
    text-indent: 2em;
    margin-bottom: 0;
}

/* PDF查看器样式 */
.pdf-viewer-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.pdf-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E8 100%);
    border-bottom: 2px solid #C8E6C9;
}

.pdf-viewer-header h2 {
    color: #2E7D32;
    font-size: 24px;
    margin: 0;
}

.pdf-actions {
    display: flex;
    gap: 10px;
}

.download-pdf-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.download-pdf-btn:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
    color: white;
    text-decoration: none;
}

.pdf-viewer {
    width: 100%;
    min-height: 1200px;
    background: #F5F5F5;
    border: 1px solid #E0E0E0;
}

.pdf-viewer iframe {
    width: 100%;
    min-height: 1200px;
    border: none;
    display: block;
}

.pdf-viewer p {
    padding: 40px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.pdf-viewer a {
    color: #2E7D32;
    text-decoration: none;
    font-weight: 500;
}

.pdf-viewer a:hover {
    text-decoration: underline;
}

/* 学会章程页面样式 */
.constitution-content {
    line-height: 1.8;
}

.constitution-title {
    text-align: center;
    color: #2E7D32;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #2E7D32;
}

.constitution-intro {
    margin-bottom: 40px;
    text-align: center;
}

.constitution-intro h2 {
    color: #2E7D32;
    font-size: 28px;
    margin-bottom: 20px;
}

.constitution-intro .intro-text {
    font-size: 16px;
    color: #666;
    font-style: normal;
}

.chapter {
    margin-bottom: 40px;
    border-bottom: 1px solid #E8F5E8;
    padding-bottom: 30px;
}

.chapter h2 {
    color: #2E7D32;
    font-size: 26px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    padding: 15px 0;
}

.chapter h3 {
    color: #2E7D32;
    font-size: 24px;
    margin-bottom: 25px;
    border-left: 4px solid #2E7D32;
    padding-left: 15px;
    background: #F8F9FA;
    padding: 15px;
    border-radius: 5px;
}

.article {
    margin-bottom: 25px;
    padding: 20px;
    background: #FAFAFA;
    border-radius: 8px;
    border-left: 3px solid #C8E6C9;
}

.article h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.article h5 {
    color: #388E3C;
    font-size: 16px;
    margin: 15px 0 10px 0;
    font-weight: bold;
}

.article p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.8;
}

.article ul {
    margin: 15px 0;
    padding-left: 20px;
}

.article li {
    margin-bottom: 8px;
    font-size: 15px;
    color: #333;
    line-height: 1.6;
}

.business-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dotted #DDD;
}

.business-list li:last-child {
    border-bottom: none;
}

.sub-article {
    margin: 15px 0;
    padding: 15px;
    background: white;
    border-radius: 5px;
    border: 1px solid #E8F5E8;
}

.sub-article h5 {
    color: #2E7D32;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}

.sub-article ul {
    margin: 10px 0;
    padding-left: 20px;
}

.sub-article li {
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

/* 加入学会页面样式 */
.join-content {
    line-height: 1.8;
}

.join-intro {
    margin-bottom: 40px;
    text-align: center;
}

.join-intro h2 {
    color: #2E7D32;
    font-size: 28px;
    margin-bottom: 20px;
}

.join-intro .intro-text {
    font-size: 16px;
    color: #666;
    font-style: normal;
}

.join-section {
    margin-bottom: 40px;
    padding: 30px;
    background: #FAFAFA;
    border-radius: 10px;
    border-left: 4px solid #2E7D32;
}

.join-section h3 {
    color: #2E7D32;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #C8E6C9;
    padding-bottom: 10px;
}

.member-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.member-type {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.member-type h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 15px;
    border-left: 3px solid #2E7D32;
    padding-left: 10px;
}

.member-type ul {
    list-style: none;
    padding-left: 0;
}

.member-type li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dotted #DDD;
    font-size: 14px;
    color: #333;
}

.member-type li:last-child {
    border-bottom: none;
}

.procedure-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.step {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.step h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 15px;
    border-left: 3px solid #2E7D32;
    padding-left: 10px;
}

.step ol {
    padding-left: 20px;
}

.step li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
}

.rights-list, .obligations-list {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    list-style: none;
    padding-left: 0;
}

.rights-list li, .obligations-list li {
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px dotted #DDD;
    font-size: 15px;
    color: #333;
}

.rights-list li:last-child, .obligations-list li:last-child {
    border-bottom: none;
}

.withdrawal-info {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.withdrawal-info h4 {
    color: #2E7D32;
    font-size: 18px;
    margin: 20px 0 15px 0;
    border-left: 3px solid #2E7D32;
    padding-left: 10px;
}

.withdrawal-info ul {
    list-style: none;
    padding-left: 0;
}

.withdrawal-info li {
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px dotted #DDD;
    font-size: 14px;
    color: #333;
}

.withdrawal-info li:last-child {
    border-bottom: none;
}

.withdrawal-info p {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
    padding: 15px;
    background: #F8F9FA;
    border-radius: 5px;
    border-left: 3px solid #2E7D32;
}

.contact-section {
    background: white;
    border-left: 4px solid #2E7D32;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-section h3 {
    color: #2E7D32;
    border-bottom: 2px solid #C8E6C9;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #F8F9FA;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #2E7D32;
    transition: all 0.3s;
}

.contact-item:hover {
    background: #E8F5E8;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-item i {
    font-size: 24px;
    color: #2E7D32;
    margin-top: 5px;
    flex-shrink: 0;
}

.contact-item h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.contact-item p {
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 1.6;
}

.contact-map {
    background: #F8F9FA;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 2px solid #E8F5E8;
}

.contact-map h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
}

.contact-map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.contact-map img:hover {
    transform: scale(1.02);
}

/* 申请表下载部分样式 */
.download-section {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E8 100%);
    border-left: 4px solid #2E7D32;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.download-section h3 {
    color: #2E7D32;
    border-bottom: 2px solid #C8E6C9;
}

.download-intro {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.download-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2E7D32, #388E3C);
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #2E7D32;
}

.download-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.download-icon {
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.download-content {
    flex: 1;
}

.download-content h4 {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
}

.download-content p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2E7D32, #388E3C);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(46, 125, 50, 0.3);
}

.download-btn:hover {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.4);
    color: white;
    text-decoration: none;
}

.download-btn i {
    font-size: 16px;
}

/* 专家库页面样式 */
.experts-page-content {
    padding: 40px 0;
    min-height: 60vh;
}

.experts-layout {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.experts-sidebar {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
}

.experts-sidebar h3 {
    color: #2E7D32;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #C8E6C9;
}

.expert-type-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.expert-type-item {
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    border: 2px solid transparent;
    white-space: nowrap;
}

.expert-type-item i {
    color: transparent;
    font-size: 14px;
    transition: all 0.3s;
}

.expert-type-item:hover {
    background: #F8F9FA;
    border-color: #C8E6C9;
    color: #2E7D32;
}

.expert-type-item.active {
    background: #E8F5E8;
    border-color: #2E7D32;
    color: #2E7D32;
    font-weight: 500;
}

.expert-type-item.active i {
    color: #2E7D32;
}

.experts-main {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.experts-search {
    margin-bottom: 30px;
}

.experts-list-container {
    min-height: 400px;
}

.experts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.expert-card-page {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.expert-card-page:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #2E7D32;
}

.expert-photo-page {
    margin-bottom: 15px;
}

.expert-photo-page img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #C8E6C9;
    background: #F8F9FA;
    margin: 0 auto;
    display: block;
}

.expert-photo-page .expert-avatar-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #C8E6C9;
    background: #F8F9FA;
    margin: 0 auto;
    display: block;
}

.expert-photo-page .default-avatar-img {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid #C8E6C9;
    background: #F8F9FA;
    margin: 0 auto;
    display: block;
}

.expert-name-page {
    color: #2E7D32;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
}

.expert-info-page {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.expert-info-page span {
    display: block;
    margin-bottom: 4px;
}

/* 专家详情模态框样式 */
.expert-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.expert-modal-content {
    background-color: white;
    margin: 3% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.expert-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s;
}

.expert-modal-close:hover {
    color: #2E7D32;
    background: #E8F5E9;
    transform: rotate(90deg);
}

.expert-detail-content {
    padding: 40px;
}

.expert-detail-header {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.expert-detail-photo {
    flex-shrink: 0;
    width: 200px;
    height: 280px;
    overflow: hidden;
    border-radius: 12px;
    border: 4px solid #C8E6C9;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background: #F8F9FA;
}

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

.expert-detail-basic {
    flex: 1;
}

.expert-detail-basic h2 {
    color: #2E7D32;
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: bold;
    padding-bottom: 15px;
    border-bottom: 2px solid #E8F5E9;
}

.expert-detail-info-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expert-info-line {
    display: flex;
    align-items: flex-start;
    line-height: 1.8;
    font-size: 15px;
}

.expert-info-label {
    font-weight: 600;
    color: #555;
    min-width: 100px;
    margin-right: 10px;
    flex-shrink: 0;
}

.expert-info-value {
    color: #333;
    flex: 1;
    word-break: break-word;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .expert-modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 0;
    }
    
    .expert-detail-content {
        padding: 30px 20px;
    }
    
    .expert-detail-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .expert-detail-photo {
        width: 150px;
        height: 210px;
    }
    
    .expert-detail-basic {
        width: 100%;
    }
    
    .expert-detail-basic h2 {
        font-size: 24px;
        text-align: left;
    }
    
    .expert-info-line {
        text-align: left;
    }
    
    .expert-modal-close {
        right: 10px;
        top: 10px;
        width: 35px;
        height: 35px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .expert-detail-content {
        padding: 20px 15px;
    }
    
    .expert-detail-photo {
        width: 120px;
        height: 168px;
    }
    
    .expert-detail-basic h2 {
        font-size: 20px;
    }
    
    .expert-info-line {
        font-size: 14px;
    }
    
    .expert-info-label {
        min-width: 80px;
        font-size: 14px;
    }
    
    .expert-info-value {
        font-size: 14px;
    }
}

.loading-indicator {
    text-align: center;
    padding: 60px 20px;
    color: #2E7D32;
}

.loading-indicator i {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.no-results i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #CCC;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 30px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 10px;
    flex-wrap: wrap;
}

.pagination .total-info {
    color: #2E7D32;
    font-size: 14px;
    font-weight: 500;
    margin-right: 15px;
}

.pagination .total-info strong {
    color: #1B5E20;
    font-size: 16px;
}

.pagination .pagination-btn {
    background: white;
    border: 1px solid #C8E6C9;
    color: #2E7D32;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination .pagination-btn:hover:not(:disabled) {
    background: #E8F5E8;
    border-color: #2E7D32;
    transform: translateY(-1px);
}

.pagination .pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F5F5F5;
}

.pagination .page-info {
    color: #666;
    font-size: 14px;
    margin: 0 10px;
}

.pagination .page-info strong {
    color: #2E7D32;
    font-weight: 600;
}

.pagination .page-number {
    background: white;
    border: 1px solid #C8E6C9;
    color: #2E7D32;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.pagination .page-number:hover {
    background: #E8F5E8;
    border-color: #2E7D32;
    transform: translateY(-1px);
}

.pagination .page-number.active {
    background: #2E7D32;
    color: white;
    border-color: #2E7D32;
    font-weight: 600;
}

.pagination .page-ellipsis {
    color: #999;
    font-size: 14px;
    padding: 0 5px;
}

/* 分支机构页面样式 */
.branch-search-container {
    display: flex;
    justify-content: center;
    margin: 0px 0px 30px 0px;
}

.branch-search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    width: 100%;
}

.branch-search-input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #C8E6C9;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.branch-search-input:focus {
    border-color: #2E7D32;
}

.branch-search-btn {
    padding: 12px 30px;
    background: #2E7D32;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

.branch-search-btn:hover {
    background: #388E3C;
}

.branch-list-container {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    min-height: 400px;
}

.branch-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.branch-table thead {
    background: #E8F5E8;
}

.branch-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2E7D32;
    border-bottom: 2px solid #C8E6C9;
}

.branch-table td {
    padding: 15px;
    border-bottom: 1px solid #E0E0E0;
    color: #333;
}

.branch-table tbody tr:hover {
    background: #F5F5F5;
}

.branch-table tbody tr:last-child td {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .expert-type-list-simple {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .logo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-text {
        font-size: 20px;
    }

    .logo-text-en {
        font-size: 10px;
        letter-spacing: 2px;
    }
    
    .main-nav {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

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

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: #2E7D32;
        box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    }

    .nav-menu.open {
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-top: 1px solid rgba(255,255,255,0.12);
    }
    
    .nav-link {
        padding: 12px 20px;
        width: 100%;
    }

    /* 手机端下拉菜单：默认隐藏，只在点击父级菜单时展开 */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #245b2a;
        display: none;
        padding-left: 10px;
    }

    .nav-item.dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .content-row {
        grid-template-columns: 1fr;
    }
    
    .experts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .expert-type-tags {
        gap: 10px;
        padding: 0 10px;
    }
    
    .expert-type-tag {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .expert-type-list-simple {
        grid-template-columns: repeat(3, 1fr);
        padding: 0 10px;
        gap: 12px 15px;
    }
    
    .expert-type-list-simple a {
        font-size: 14px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-info {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 6px;
        justify-items: flex-start;
    }

    .footer-info-col {
        white-space: normal;
        text-align: left;
    }
    
    .carousel-caption h2 {
        font-size: 24px;
    }
    
    .carousel-caption p {
        font-size: 16px;
    }
    
    .news-tabs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-tabs {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .home-biz-work-tabs {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .news-tabs-header .more-link {
        margin-left: 0;
        align-self: flex-end;
    }
    
    .news-tab {
        flex: 1 1 0;
        padding: 0 6px;
        font-size: 13px;
        height: 22px;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
    }
    
    .box-title {
        font-size: 14px;
        min-height: 20px;
    }
    
    .news-tabs-header {
        min-height: 20px;
    }
    
    .important-news-carousel {
        min-height: 250px;
        flex: 1 1 auto;
    }
    
    .important-carousel-caption {
        padding: 20px 15px 10px;
    }
    
    .important-carousel-caption h4 {
        font-size: 14px;
    }
    
    .important-carousel-btn {
        padding: 8px 12px;
        font-size: 16px;
    }
    
    .important-carousel-btn.prev {
        left: 5px;
    }
    
    .important-carousel-btn.next {
        right: 5px;
    }
    
    .branch-search-box {
        flex-direction: column;
        max-width: 100%;
    }
    
    .branch-search-btn {
        width: 100%;
    }
    
    .branch-list-container {
        padding: 15px;
        overflow-x: auto;
    }
    
    .branch-table {
        font-size: 14px;
        min-width: 800px;
    }
    
    .branch-table th,
    .branch-table td {
        padding: 10px 8px;
    }
    
    .pagination {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding: 12px 10px;
    }

    /* 手机端分页：上一页/下一页并排显示，隐藏中间页码按钮与省略号 */
    .pagination .page-number,
    .pagination .page-ellipsis {
        display: none;
    }

    .pagination .pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .pagination .total-info {
        display: none;
    }

    .pagination .page-info {
        flex-basis: 100%;
        text-align: center;
        margin: 0;
        font-size: 12px;
    }
    
    .address-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .address-section {
        padding: 40px 0;
    }
    
    .image-modal-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    
    .image-modal-content {
        max-width: 95%;
        max-height: 85%;
    }

}

@media (max-width: 480px) {
    .top-bar {
        font-size: 12px;
    }
    
    .logo-img {
        width: 60px;
        height: 60px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .carousel-section {
        height: 300px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .expert-photo img {
        width: 120px;
        height: 160px;
    }
    
    .member-types {
        grid-template-columns: 1fr;
    }
    
    .procedure-steps {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .download-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-icon {
        margin: 0 auto 15px auto;
    }
    
    .expert-type-tags {
        gap: 8px;
        padding: 0 5px;
    }
    
    .expert-type-tag {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .expert-type-list-simple {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 5px;
        gap: 10px 12px;
    }
    
    .expert-type-list-simple a {
        font-size: 13px;
    }
    
    .experts-layout {
        flex-direction: column;
    }
    
    .experts-sidebar {
        margin-bottom: 20px;
    }
    
    .expert-type-list {
        flex-direction: column;
    }
    
    .expert-type-item {
        width: 100%;
    }
    
    .experts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .pdf-viewer-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .pdf-viewer {
        min-height: 600px;
    }
    
    .pdf-viewer iframe {
        min-height: 600px;
    }
} 