/* 关于我们页面样式 */

.about-content {
    background-color: #fff;
    padding: 40px;
}

.about-title {
    font-size: 32px;
    font-weight: bold;
    color: #0066cc;
    text-align: center;
    margin: 0 0 20px 0;
}

.about-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0 40px;
}

.about-divider .divider-line {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #0066cc 0%, #0052a3 100%);
    border-radius: 2px;
}

/* 章节样式 */
.about-section {
    margin-bottom: 50px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.section-header i {
    font-size: 28px;
    color: #0066cc;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.section-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.section-content p {
    margin-bottom: 20px;
    text-indent: 2em;
}

/* 高亮框 */
.highlight-box {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0f7ff 100%);
    border-left: 4px solid #0066cc;
    padding: 20px 30px;
    margin: 25px 0;
    border-radius: 6px;
}

.highlight-box p {
    margin: 0;
    font-size: 17px;
    font-weight: 500;
    color: #0066cc;
    text-indent: 0;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #0066cc 0%, #0052a3 100%);
}

.timeline-item {
    position: relative;
    padding-left: 140px;
    margin-bottom: 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 120px;
    height: 50px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.timeline-content {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.timeline-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin: 0 0 10px 0;
}

.timeline-content p {
    margin: 0;
    font-size: 15px;
    color: #666;
    text-indent: 0;
}

/* 职能卡片 */
.function-card {
    background-color: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
}

.function-card:hover {
    border-color: #0066cc;
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.15);
    transform: translateY(-5px);
}

.function-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.function-icon i {
    font-size: 32px;
    color: #fff;
}

.function-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.function-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.6;
    text-indent: 0;
}

/* 组织架构 */
.org-structure {
    padding: 30px 0;
}

.org-level {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.org-box {
    background: linear-gradient(135deg, #f5f9ff 0%, #e6f2ff 100%);
    border: 2px solid #0066cc;
    border-radius: 10px;
    padding: 20px 30px;
    text-align: center;
    min-width: 180px;
    transition: all 0.3s;
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.2);
}

.org-box h5 {
    font-size: 18px;
    font-weight: 600;
    color: #0066cc;
    margin: 0 0 8px 0;
}

.org-box h6 {
    font-size: 15px;
    font-weight: 600;
    color: #0066cc;
    margin: 0;
}

.org-box p {
    font-size: 13px;
    color: #666;
    margin: 0;
    text-indent: 0;
}

.org-president {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-color: #0052a3;
}

.org-president h5 {
    color: #fff;
    font-size: 20px;
}

.org-president p {
    color: rgba(255, 255, 255, 0.9);
}

.org-small {
    min-width: 120px;
    padding: 15px 20px;
}

.org-committee {
    min-width: 300px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    border-color: #ff9933;
}

.org-committee h5 {
    color: #ff6600;
}

/* 联系信息网格 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s;
}

.contact-item:hover {
    background-color: #f0f7ff;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.1);
}

.contact-item i {
    font-size: 28px;
    color: #0066cc;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.contact-item p {
    font-size: 15px;
    color: #666;
    margin: 0;
    text-indent: 0;
}

/* 响应式设计 */
@media (max-width: 991px) {
    .about-content {
        padding: 30px 20px;
    }

    .about-title {
        font-size: 28px;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .timeline::before {
        left: 50px;
    }

    .timeline-item {
        padding-left: 120px;
    }

    .timeline-marker {
        width: 100px;
        height: 45px;
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .about-content {
        padding: 20px 15px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-divider .divider-line {
        width: 80px;
        height: 3px;
    }

    .section-header {
        gap: 10px;
    }

    .section-header i {
        font-size: 24px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .section-content {
        font-size: 15px;
    }

    .section-content p {
        text-indent: 1.5em;
    }

    .highlight-box {
        padding: 15px 20px;
    }

    .highlight-box p {
        font-size: 15px;
    }

    /* 时间线移动端 */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
        font-size: 14px;
        border-radius: 50%;
    }

    .timeline-content {
        padding: 15px 20px;
    }

    .timeline-content h4 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    /* 职能卡片移动端 */
    .function-icon {
        width: 60px;
        height: 60px;
    }

    .function-icon i {
        font-size: 28px;
    }

    .function-card h4 {
        font-size: 16px;
    }

    .function-card p {
        font-size: 13px;
    }

    /* 组织架构移动端 */
    .org-level {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .org-box {
        width: 100%;
        max-width: 300px;
    }

    .org-small {
        min-width: auto;
    }

    .org-committee {
        min-width: auto;
    }

    /* 联系信息移动端 */
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .contact-item {
        padding: 15px;
    }

    .contact-item i {
        font-size: 24px;
    }

    .contact-item h5 {
        font-size: 15px;
    }

    .contact-item p {
        font-size: 14px;
    }
}


    .member-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        width: 100%;
    }

@media (max-width: 575px) {
    .member-photo-wrap{width: 40%}
    .member-header{font-size: 20px;line-height: 3;color: #333;font-weight: bold;}
    .member-detail{padding: 20px;}
    .member-meta{font-size: 16px;line-height: 2;color: #555;}
    .about-content {
        padding: 15px 10px;
    }

    .about-title {
        font-size: 20px;
    }

    .section-header h2 {
        font-size: 18px;
    }

    .section-content {
        font-size: 14px;
    }
    /* 学会简介标题 (xhjjbt) */
.xhjjbt {
    font-size: 24px;
    font-weight: bold;
    color: #333;

    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.xhjjbt::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

/* 学会成员 (xhcy) 样式 */
.xhcy {
    padding: 20px;
    background-color: #fbfbfb; /* 浅灰色背景，使白色卡片更突出 */
    border-radius: 12px;
}





.member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.member-photo-wrap {
    flex-shrink: 0;
    width: 200px;
    border-radius: 4px;
    overflow: hidden;
}

.member-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-detail {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0; /* 允许文本区域缩小 */
}

.member-header {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.member-meta {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 1300px) {
    .member-grid {
        gap: 20px;
    }
    .member-card {
        padding: 15px;
        gap: 15px;
    }
    .member-photo-wrap {
        width: 130px;
        height: 160px;
    }
    .member-name {
        font-size: 20px;
    }
    .member-title {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .member-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .member-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px;
    }

    .member-photo-wrap {
        width: 160px;
        height: 200px;
        margin-bottom: 20px;
    }

    .member-header {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .member-name {
        font-size: 24px;
    }

    .member-tags {
        justify-content: center;
    }
}}
