
.container {
    max-width: 1400px;
    margin: 0 auto;
}
/* Speakers Section */
.speakers {
    padding: 60px 80px;
    /*没有演讲嘉宾，暂时隐藏*/
    display: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;

    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
}

.section-header h2 {
    font-size: 28px;
    color: #002060;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -17px;
    left: 0;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, #4a2c9e, #00c896);
}

.view-all {
    color: #003399;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.view-all:hover {
    color: #00c896;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.speaker-card {
    text-align: center;
}

.speaker-photo {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f0f4f8, #d9e2ec);
    border-radius: 4px;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}
.photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 等比铺满，裁切多余，不变形 */
    object-position: center; /* 居中显示主体 */
}
.view-profile-btn {
    margin-top: 10px;
    padding: 7px 18px;
    border: none;
    background-color: #00b8b8;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}
.view-profile-btn:hover {
    background-color: #009e9e;
}
/*开始弹窗样式*/
/* 弹窗遮罩层 默认隐藏 */
.profile-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
    z-index: 9999;
    padding: 40px 20px;
    box-sizing: border-box;
}
/* 弹窗白色主体 */
.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: #fff;
    max-width: 1250px;
    width: 100%;
    margin: 0 auto;
    padding: 32px;
    box-sizing: border-box;
}
/* 头部头像+文字横向排列 */
.modal-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}
.modal-photo {
    width: 145px;
    height: 145px;
    border-radius: 6px;
    overflow: hidden;
}
.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 文字配色匹配截图青绿色名字 */
#modalName {
    color: #00b8b8;
    font-size: 29px;
    margin: 0 0 12px;
}
#modalPosition, #modalCompany {
    font-size: 20px;
    margin: 8px 0;
}
/* 青绿色分割线 */
.divider {
    border: none;
    height: 2px;
    background: #00b8b8;
    margin: 20px 0 30px;
}
.modal-bio {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
/* 右上角圆形关闭叉号 */
.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 42px;
    height: 42px;
    line-height: 42px;
    text-align: center;
    border: 2px solid #00b8b8;
    border-radius: 50%;
    font-size: 26px;
    color: #00b8b8;
    background: #fff;
    cursor: pointer;
    z-index: 10000;
}
/*结束弹窗样式*/

.speaker-photo .view-profile {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 200, 150, 0.8);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.speaker-photo:hover .view-profile {
    opacity: 1;
}

.speaker-card h3 {
    font-size: 16px;
    color: #00a87d;
    margin-bottom: 8px;
}

.speaker-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.speaker-org {
    font-weight: 600;
    color: #002060 !important;
}

/* 基础响应式适配 */
@media (max-width:1200px) {
    .speakers-grid {
        grid-template-columns: repeat(3,1fr);
    }
    .speakers {
        padding: 40px 30px;
    }
}
@media (max-width:768px) {
    .speakers-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .modal-header {
        flex-direction: column;
    }
    .modal-photo {
        margin:0 auto 20px;
    }
}
@media (max-width:480px) {
    .speakers-grid {
        grid-template-columns:1fr;
    }
    .speakers {
        padding:30px 15px;
    }
}