/* ===== conference-intro.css - 会议介绍页面专用样式 ===== */

/* 页面基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 会议介绍主容器 */
.intro-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 内容包装器 - 白色卡片效果 */
.intro-content-wrapper {
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 60px;
    transition: all 0.3s ease;
}

/* 主标题样式 */
.intro-title {
    color: #08358f;
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #08358f;
    letter-spacing: 2px;
    line-height: 1.4;
    position: relative;
}

.intro-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #ff6b6b;
}

/* 正文区域 */
.intro-body {
    color: #333;
    line-height: 1.8;
}

/* 章节标题 - 一级 */
.section-title {
    color: #08358f;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.section-title:first-of-type {
    margin-top: 10px;
}

/* 章节副标题 - 二级 */
.section-subtitle {
    color: #1a4cb3;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 5px solid #08358f;
}

/* 三级标题 */
.subsection-title {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 25px 0 15px;
}

/* 宗旨目标特殊框 */
.purpose-box {
    background: linear-gradient(to right, #f0f7ff, #e6f0fa);
    padding: 25px 30px;
    border-radius: 12px;
    margin: 25px 0 30px;
    border-left: 8px solid #08358f;
}

.purpose-title {
    color: #08358f;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.purpose-sub {
    color: #1e3c72;
    font-size: 1.2rem;
    font-weight: 500;
}

/* 组织机构列表 */
.org-list {
    background-color: #f9fbfd;
    padding: 25px 30px;
    border-radius: 12px;
    margin: 20px 0 30px;
    border: 1px solid #e9ecef;
}

.org-item {
    display: flex;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.org-item:last-child {
    margin-bottom: 0;
}

.org-sub-item {
    margin-left: 120px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.org-label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #08358f;
}

.org-value {
    flex: 1;
    color: #2c3e50;
}

/* 描述文本块 */
.description-block {
    background-color: #ffffff;
    padding: 20px 0;
    margin-bottom: 20px;
}

.description-block p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #34495e;
    line-height: 1.8;
    text-align: justify;
}

/* ===== 目标列表 - 圆点样式（修复手机换行） ===== */
.objective-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 30px;
}

.objective-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 1.1rem;
    line-height: 1.7;
    background-color: #f8fafe;
    padding: 15px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.objective-list li:hover {
    background-color: #edf2fb;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(8, 53, 143, 0.08);
}

.obj-bullet {
    flex-shrink: 0;
    color: #08358f;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 15px;
    line-height: 1.4;
    display: inline-block;
}

.obj-content {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.obj-content strong {
    color: #08358f;
    display: inline; /* 从block改为inline，避免换行 */
    margin-bottom: 0;
    margin-right: 6px; /* 与后续文字保持间距 */
    font-size: 1.15rem;
}

/* ===== 任务列表 - 数字编号（修复手机换行） ===== */
.task-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 35px;
}

.task-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px 25px;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.task-list li:hover {
    background-color: #f5f9ff;
}

.task-number {
    flex-shrink: 0;
    width: 40px; /* 固定宽度代替flex:0 0 40px */
    font-size: 1.6rem;
    font-weight: 700;
    color: #08358f;
    line-height: 1.2;
    display: inline-block;
}

.task-content {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.task-content strong {
    color: #1a4cb3;
    font-size: 1.2rem;
    display: inline; /* 从block改为inline，避免换行 */
    margin-right: 8px; /* 与后续文字保持间距 */
}

.task-content p {
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 6px; /* 与标题保持间距 */
    margin-bottom: 0;
    display: block; /* p标签保持块级 */
    width: 100%;
}

/* 总结段落 */
.summary-block {
    background: linear-gradient(135deg, #08358f 0%, #1a4cb3 100%);
    color: white;
    padding: 35px 40px;
    border-radius: 16px;
    margin: 40px 0 30px;
    box-shadow: 0 15px 25px rgba(8, 53, 143, 0.2);
}

.summary-block p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 0;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* 委员会区块 */
.committee-block {
    margin-bottom: 25px;
    padding: 20px 25px;
    background-color: #f8fafc;
    border-radius: 12px;
    border-left: 6px solid #1a4cb3;
    transition: all 0.3s ease;
}

.committee-block:hover {
    background-color: #f0f5ff;
    border-left-color: #ff6b6b;
}

.committee-title {
    color: #08358f;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.committee-title::before {
    content: '▌';
    color: #1a4cb3;
    margin-right: 8px;
    font-size: 1.4rem;
}

.committee-members {
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.8;
    padding-left: 15px;
    font-weight: 450;
}

/* 会议概述区块样式 */
.overview-block {
    background-color: #f5f9ff;
    padding: 30px 35px;
    border-radius: 16px;
    margin: 20px 0 30px;
    box-shadow: 0 5px 20px rgba(8, 53, 143, 0.05);
    border: 1px solid rgba(26, 76, 179, 0.1);
    position: relative;
    overflow: hidden;
}

.overview-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #08358f, #1a4cb3);
    border-radius: 3px 0 0 3px;
}

.overview-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 18px;
    text-align: justify;
    position: relative;
    padding-left: 5px;
}

.overview-text:last-child {
    margin-bottom: 0;
}

.overview-text strong {
    color: #08358f;
    font-weight: 600;
}

/* ===== 响应式设计 - 全面修复手机端显示 ===== */

/* 1400px以下 */
@media screen and (max-width: 1400px) {
    .intro-container {
        max-width: 1200px;
        padding: 45px 20px;
    }

    .intro-content-wrapper {
        padding: 50px;
    }

    .intro-title {
        font-size: 2.2rem;
    }
}

/* 1200px以下 */
@media screen and (max-width: 1200px) {
    .intro-container {
        max-width: 100%;
        padding: 40px 20px;
    }

    .intro-content-wrapper {
        padding: 45px;
    }

    .intro-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }
}

/* 992px以下 - 平板 */
@media screen and (max-width: 992px) {
    .intro-container {
        padding: 35px 15px;
    }

    .intro-content-wrapper {
        padding: 40px 30px;
    }

    .intro-title {
        font-size: 1.9rem;
    }

    .org-sub-item {
        margin-left: 100px;
    }

    .org-label {
        flex: 0 0 100px;
    }
}

/* 768px以下 - 移动端（核心修复区域） */
@media screen and (max-width: 768px) {
    .intro-container {
        padding: 30px 15px;
    }

    .intro-content-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .intro-title {
        font-size: 1.7rem;
        padding-bottom: 15px;
    }

    .section-title {
        font-size: 1.5rem;
        margin: 30px 0 15px;
    }

    .section-subtitle {
        font-size: 1.3rem;
        padding-left: 12px;
    }

    .purpose-box {
        padding: 20px;
    }

    .purpose-title {
        font-size: 1.4rem;
    }

    .purpose-sub {
        font-size: 1.1rem;
    }

    .org-list {
        padding: 20px;
    }

    .org-item {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .org-label {
        flex: none;
        margin-bottom: 5px;
    }

    .org-sub-item {
        margin-left: 20px;
    }

    /* ===== 目标列表 - 移动端修复（圆点与文字同行） ===== */
    .objective-list li {
        display: flex;
        flex-direction: row; /* 保持水平排列，不换行 */
        align-items: baseline; /* 基线对齐，更美观 */
        padding: 15px 18px;
    }

    .obj-bullet {
        flex-shrink: 0;
        margin-right: 12px;
        margin-bottom: 0; /* 移除之前设置的margin-bottom */
        font-size: 1.4rem;
    }

    .obj-content {
        flex: 1;
        display: inline; /* 内容行内显示 */
    }

    .obj-content strong {
        display: inline; /* 保持行内 */
        font-size: 1.1rem;
        margin-right: 5px;
    }

    .obj-content strong::after {
        content: ''; /* 无需额外操作 */
    }

    /* ===== 任务列表 - 移动端修复（数字与标题同行） ===== */
    .task-list li {
        display: flex;
        flex-direction: row; /* 保持水平排列 */
        align-items: baseline; /* 基线对齐 */
        padding: 18px 20px;
    }

    .task-number {
        flex-shrink: 0;
        width: 35px; /* 固定宽度 */
        font-size: 1.4rem;
        margin-right: 5px;
        margin-bottom: 0; /* 移除之前设置的margin-bottom */
    }

    .task-content {
        flex: 1;
        display: inline; /* 内容行内显示 */
    }

    .task-content strong {
        display: inline; /* 保持行内 */
        font-size: 1.15rem;
        margin-right: 6px;
    }

    .task-content p {
        display: block; /* p标签保持块级，在strong后面换行 */
        margin-top: 8px;
        margin-left: 0;
        font-size: 1rem;
        width: 100%;
    }

    .summary-block {
        padding: 25px 20px;
    }

    .summary-block p {
        font-size: 1.05rem;
    }

    .committee-block {
        padding: 18px 20px;
    }

    .committee-members {
        font-size: 1rem;
        padding-left: 10px;
    }

    .overview-block {
        padding: 25px 20px;
    }

    .overview-text {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* 576px以下 - 手机小屏 */
@media screen and (max-width: 576px) {
    .intro-content-wrapper {
        padding: 25px 15px;
    }

    .intro-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
        padding-left: 10px;
        border-left-width: 4px;
    }

    .purpose-title {
        font-size: 1.3rem;
    }

    .purpose-sub {
        font-size: 1rem;
    }

    .org-item,
    .org-sub-item {
        font-size: 0.95rem;
    }

    .description-block p {
        font-size: 0.95rem;
    }

    /* 目标列表 - 小屏优化 */
    .objective-list li {
        padding: 12px 15px;
    }

    .obj-bullet {
        font-size: 1.3rem;
        margin-right: 10px;
    }

    .obj-content strong {
        font-size: 1.05rem;
    }

    .obj-content {
        font-size: 0.95rem;
    }

    /* 任务列表 - 小屏优化 */
    .task-list li {
        padding: 15px 18px;
    }

    .task-number {
        width: 30px;
        font-size: 1.3rem;
    }

    .task-content strong {
        font-size: 1.1rem;
    }

    .task-content p {
        font-size: 0.95rem;
        margin-top: 6px;
    }

    .summary-block p {
        font-size: 0.95rem;
    }

    .committee-title {
        font-size: 1.1rem;
    }

    .committee-members {
        font-size: 0.9rem;
    }

    .overview-block {
        padding: 20px 18px;
    }

    .overview-text {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
}

/* 400px以下 - 超小屏额外优化 */
@media screen and (max-width: 400px) {
    .objective-list li {
        padding: 10px 12px;
    }

    .obj-bullet {
        font-size: 1.2rem;
        margin-right: 8px;
    }

    .task-number {
        width: 28px;
        font-size: 1.2rem;
    }

    .task-content strong {
        font-size: 1.05rem;
    }
}

/* 打印样式 */
@media print {
    .intro-content-wrapper {
        box-shadow: none;
        padding: 20px;
    }

    .summary-block {
        background: #f0f0f0;
        color: black;
        box-shadow: none;
    }

    .summary-block p {
        color: black;
        text-shadow: none;
    }

    .page-banner,
    .header,
    .footer {
        display: none;
    }
}


/* 新增委员会卡片样式*/
 .committee-grid {
     display: flex;
     flex-wrap: wrap;
     gap: 30px 20px;
     margin-top: 20px;
     margin-bottom: 40px;
     justify-content: flex-start;
 }

.committee-card {
    flex: 0 0 calc(20% - 16px);
    max-width: calc(20% - 16px);
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,20,50,0.08);
    padding: 12px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
    border: 1px solid #f0f3f8;
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(8,53,143,0.12);
}

/* 头像区域 - 使用aspect-ratio实现3:4比例 */
.card-avatar {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    margin: 0 auto 15px auto;
    border-radius: 12px;
    background: linear-gradient(145deg, #e6edf7, #d9e2ef);
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.05);
}

/* 人物照片样式 - 填满容器 */
.avatar-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%; /* 优先显示头部 */
    display: block;
}

/* 默认头像占位图 (无图片时显示) */
.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 36px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

/* 中文名字 */
.card-name-ch {
    font-size: 1.2rem;
    font-weight: 700;
    color: #08358f;
    line-height: 1.4;
    margin-bottom: 4px;
    min-height: 1.6em;
}

/* 英文名字 */
.card-name-en {
    font-size: 0.9rem;
    color: #4b5563;
    font-weight: 500;
    margin-bottom: 8px;
    padding-bottom: 8px;
    display: block;
    min-height: 1.4em;
    word-break: break-word;
}

/* 医院信息 - 强制独立一行 */
.card-hospital {
    font-size: 0.9rem;
    color: #2d3c4b;
    background-color: #f5f9ff;
    padding: 6px 10px;
    border-radius: 40px;
    display: block;
    width: 100%;
    line-height: 1.4;
    font-weight: 450;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02);
    margin-top: 5px;
    min-height: 2.2em;
    word-break: break-word;
}

/* 组合机构主标题 */
.committee-main-title {
    font-size: 1.8rem;
    color: #08358f;
    font-weight: 600;
    margin: 50px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eaeaea;
    position: relative;
}

.committee-main-title:first-of-type {
    margin-top: 10px;
}

/* 委员会分类标题 */
.committee-block {
    margin-bottom: 30px;
    background-color: transparent;
    padding: 0;
    border-left: none;
}
.committee-block:hover {
    background-color: transparent;
    border-left: none;
}
.committee-title {
    font-size: 1.5rem;
    color: #08358f;
    border-left: 8px solid #1a4cb3;
    padding-left: 20px;
    margin: 40px 0 20px 0;
    font-weight: 700;
    background: linear-gradient(to right, #f8fcff, transparent);
}
.committee-title::before {
    display: none;
}

/* 原members文字隐藏，我们使用grid替代 */
.committee-members {
    display: none;
}

/* 响应式: 平板 4个 */
@media screen and (max-width: 1200px) {
    .committee-card {
        flex: 0 0 calc(25% - 15px);
        max-width: calc(25% - 15px);
    }
}
@media screen and (max-width: 992px) {
    .committee-card {
        flex: 0 0 calc(33.333% - 14px);
        max-width: calc(33.333% - 14px);
    }
}
@media screen and (max-width: 768px) {
    .committee-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}
/* 修改这里：576px以下保持一行2个，而不是1个 */
@media screen and (max-width: 576px) {
    .committee-card {
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
    }
    .committee-grid {
        gap: 20px 10px;
    }
}
/* 超小屏幕（400px以下）再改为一行1个 */
@media screen and (max-width: 400px) {
    .committee-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* 保持原有intro-body内其他样式不受影响 */
