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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.left {
    float: left;
}

.right {
    float: right;
}

/* 通用样式 */
.width1200 {
    width: 1200px;
    margin: 0 auto;
}

/* 头部样式 */
.header {
    width: 100%;
    background: #0E419C;
    box-shadow: 0 0 7px rgba(19, 51, 79, 0.29);
    height: 80px;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
}

.header .width1200 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 10px;
}

.header_left {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 16px;
}

.header_left .title {
    font-size: 20px;
    color: #FFFFFF;
    font-weight: bold;
}

.header_ul1 {
    display: flex;
    align-items: center;
    height: 100%;
}

.header_ul1 li {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    line-height: 29px;
}

.header_ul1 li a {
    font-size: 16px;
    color: #FFFFFF;
    margin: 0 15px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header_ul1 li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* 主要内容区域 */
body {
    padding-top: 98px;
}

.meetingDiv {
    background: #FFFFFF;
    box-shadow: 0 0 7px rgba(240, 240, 244, 0.35);
    border-radius: 10px;
    padding: 24px 27px;
    margin-bottom: 34px;
}

.borbottom {
    border-bottom: 1px solid #EEEEEE;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.meetingImg {
    float: left;
    width: 418px;
    height: 265px;
    line-height: 265px;
    border-radius: 10px;
    margin: 0px 44px 14px 0;
    text-align: center;
}

.meetingImg img {
    max-width: 418px;
    max-height: 265px;
    border-radius: 10px;
    cursor: pointer;
}

.meetingMsg {
    overflow: hidden;
    position: relative;
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto;
    background-attachment: scroll;
}

.meetingMsg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/background.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: contain;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.meetingMsg > * {
    position: relative;
    z-index: 1;
}

.meetingMsg h3 {
    font-size: 24px;
    line-height: normal;
    padding-bottom: 20px;
    color: #333;
}

.meetingMsg p {
    font-size: 16px;
    color: #666666;
    padding-top: 8px;
    line-height: 1.8;
}

.meetingMsg p span {
    display: inline-block;
    vertical-align: top;
    color: #333;
    font-weight: 500;
}

.infoLefts {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    gap: 20px;
}

.registration-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;
}

.registration-text {
    font-size: 14px;
    color: #666;
    margin: 0;
    white-space: nowrap;
}

.l_meetingBtn {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.meetingTime {
    font-size: 18px;
    line-height: 60px;
    color: #333;
}

.meetingTime font {
    font-size: 24px;
    color: #CC1A1A;
    font-weight: bold;
}

.l_meetingBtn {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-right: 20px; /* 添加右边距，让按钮离右边缘更远一些 */
}

.meetingBtn {
    width: 120px;
    height: 40px;
    line-height: 40px;
    border-radius: 22.5px;
    background: #0E419C;
    text-align: center;
    font-size: 16px;
    color: #ffffff;
    display: inline-block;
    transition: background-color 0.3s;
}

.meetingBtn:hover {
    background: #0E419C;
}

.meetingBtn.signup {
    background: #0E419C;
}

.meetingBtn.signup:hover {
    background: #1a6bb8;
}

.meetingItem {
    padding-bottom: 24px;
    font-size: 20px;
    font-weight: bold;
    padding-left: 15px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="16" viewBox="0 0 4 16"><rect x="0" y="0" width="4" height="16" fill="%230E419C"/></svg>') no-repeat 0 6px;
    color: #333;
}

.meetingCont {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.meetingCont p {
    margin-bottom: 15px;
}

.meetingCont p.service {
    margin: 20px 0px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.meetingCont ul {
    padding-left: 20px;
}

.meetingCont ul li {
    list-style: disc;
    margin-bottom: 8px;
    color: #666;
}

.meetingCont h4 {
    font-size: 18px;
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

/* 重要日期样式 */
.meetimgitemone {
    display: flex;
    margin-top: 15px;
    align-items: center;
}

.meetingImage {
    width: 128px;
    height: 128px;
    flex-shrink: 0;
}

.meetingImage img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: cover;
}

.content-a {
    margin-left: 20px;
    flex: 1;
}

.meetingok h3 {
    font-size: 20px;
    color: #333;
    line-height: 28px;
    margin-bottom: 8px;
}

.meetingok span {
    font-size: 16px;
    color: #999;
    line-height: 150%;
}

/* 页脚样式 */
.footer {
    background: #FFFFFF;
    margin-top: 50px;
    border-top: 1px solid #E8E8E8;
}

.footer_main {
    width: 1200px;
    margin: 0 auto;
}

.footer_top::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 40px;
    bottom: 40px;
    width: 1px;
    background: #E8E8E8;
    transform: translateX(-50%);
}

.footer_top {
    position: relative;
    min-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0;
    gap: 100px;
}

.footer_left {
    flex: 1;
    padding-left: 130px;
}

.footer_right {
    flex: 1;
    padding-right: 130px;
}

.footer_left h3,
.footer_right h3 {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
}

.footer_left p,
.footer_right p {
    font-size: 16px;
    color: #666;
    margin: 8px 0;
    padding: 0;
    line-height: 1.5;
}

.footer_right a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer_right a:hover {
    color: #2c83d2;
    text-decoration: underline;
}

/* 移除原有的footer_ul1, footer_ul2, footer_line样式 */
.footer_ul1,
.footer_ul2,
.footer_line {
    display: none;
}

.footer_ul1 {
    flex: 1;
    padding-left: 130px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左对齐 */
    margin-top: 0; /* 确保与联系我们标题对齐 */
}

.footer_ul1 li {
    padding: 3px 0 3px 10px;
    font-size: 16px;
    color: #666;
    text-align: left; /* 确保文本左对齐 */
}

.footer_ul1 li:first-of-type {
    padding: 0 0 22px 0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.footer_line {
    width: 1px;
    height: 145px;
    background: #E8E8E8;
    margin: 0 60px;
    align-self: stretch; /* 让分割线拉伸到容器高度 */
}

.footer_ul2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 0; /* 确保与联系我们标题对齐 */
}

.footer_ul2 li {
    padding: 5px 0;
    font-size: 16px;
    color: #666;
    text-align: left; /* 确保文本左对齐 */
}

.footer_ul2 li:first-of-type {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding-bottom: 15px;
}

.footer_ul2 a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer_ul2 a:hover {
    color: #2c83d2;
    text-decoration: underline;
}

.footer_wx {
    text-align: center;
    margin-left: 76px;
}

.footer_wx p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.footer_wx img {
    width: 120px;
    height: 120px;
    border: 1px solid #E8E8E8;
}

.footer_bottom {
    min-width: 1200px;
    padding: 16px 0 20px;
    border-top: 1px solid #E8E8E8;
}

.footer_bottom p {
    line-height: 26px;
    text-align: center;
    font-size: 14px;
    color: #999;
}

.footer_bottom p span {
    margin: 0 16px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .width1200 {
        width: 100%;
        padding: 0 20px;
    }
    
    .header .width1200 {
        padding: 0 20px;
    }
    
    .meetingImg {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .meetingMsg {
        width: 100%;
    }
    
    .meetimgitemone {
        flex-direction: column;
        text-align: center;
    }
    
    .content-a {
        margin-left: 0;
        margin-top: 15px;
    }
    
    .footer_main {
        width: 100%;
        padding: 0 20px;
    }
    
    .footer_top {
        flex-direction: column;
        min-width: auto;
    }
    
    .footer_top::after {
        display: none;
    }
    
    .footer_left {
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .footer_right {
        padding-right: 0;
    }
    
    .footer_bottom {
        min-width: auto;
        padding: 16px 20px 20px;
    }
    
    .footer_ul1 {
        padding-left: 0;
        margin-bottom: 30px;
    }
    
    .footer_line {
        display: none;
    }
    
    .footer_wx {
        margin-left: 0;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .header_ul1 {
        display: none;
    }
    
    .header_left .title {
        font-size: 16px;
    }
    
    .meetingDiv {
        padding: 15px;
    }
    
    .l_meetingBtn {
        flex-direction: column;
        width: 100%;
    }
    
    .meetingBtn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .infoLefts {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .meetingTime {
        margin-bottom: 0;
    }
    
    .registration-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-left: 0;
        width: 100%;
    }
    
    .registration-text {
        white-space: normal;
        text-align: left;
    }
    
    .l_meetingBtn {
        width: 100%;
        justify-content: flex-start;
    }
}

/* 会议日程表格样式 */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.schedule-table th,
.schedule-table td {
    border: 1px solid #ddd;
    padding: 12px 8px;
    text-align: center;
    vertical-align: middle;
}

.schedule-table th {
    background-color: #f5f5f5;
    font-weight: bold;
    color: #333;
}

.schedule-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.schedule-table tbody tr:hover {
    background-color: #f0f8ff;
}

/* 日程表中的报告链接样式 */
.talk-link {
    color: #0E419C;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.talk-link:hover {
    color: #1a6bb8;
    text-decoration: none;
    border-bottom: 1px solid #1a6bb8;
    background-color: rgba(14, 65, 156, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
}

.talk-link:active {
    color: #0a3d7a;
    transform: translateY(1px);
}

/* 特邀讲者卡片样式 */
.speakers-container {
    display: grid;
    gap: 30px;
    padding: 20px 0;
    justify-items: center;
}

/* 响应式网格布局 */
/* 最宽屏幕：5列 */
@media (min-width: 1400px) {
    .speakers-container {
        grid-template-columns: repeat(5, 1fr);
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* 大屏幕：4列 */
@media (min-width: 1200px) and (max-width: 1399px) {
    .speakers-container {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1000px;
        margin: 0 auto;
    }
}

/* 中等屏幕：3列 */
@media (min-width: 768px) and (max-width: 1199px) {
    .speakers-container {
        grid-template-columns: repeat(3, 1fr);
        max-width: 750px;
        margin: 0 auto;
    }
}

/* 小屏幕：2列 */
@media (min-width: 480px) and (max-width: 767px) {
    .speakers-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 400px;
        margin: 0 auto;
    }
}

/* 手机：1列 */
@media (max-width: 479px) {
    .speakers-container {
        grid-template-columns: 1fr;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* 讲者卡片样式 */
.speaker-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 220px;
    position: relative;
    cursor: pointer;
}

/* 为移动端添加触摸支持 */
.speaker-card:hover,
.speaker-card:active {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.speaker-card:hover .speaker-photo img,
.speaker-card:active .speaker-photo img {
    border-color: #0E419C;
}

.meetingBtn:hover,
.meetingBtn:active {
    background: #0E419C;
}

.meetingBtn.signup:hover,
.meetingBtn.signup:active {
    background: #1a6bb8;
}

.header_ul1 li a:hover,
.header_ul1 li a:active {
    background-color: rgba(255, 255, 255, 0.1);
}

.schedule-table tbody tr:hover,
.schedule-table tbody tr:active {
    background-color: #f0f8ff;
}

/* 移动端优化 - 增加触摸反馈 */
@media (max-width: 768px) {
    .speaker-card {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .meetingBtn {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
}

/* 讲者照片样式 */
.speaker-photo {
    margin-bottom: 15px;
}

.speaker-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center 20%; 
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-photo img {
    border-color: #0E419C;
}

/* 讲者信息样式 */
.speaker-info {
    padding-top: 10px;
}

/* 讲者详情模态框样式 */
.speaker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}

.speaker-modal-content {
    background-color: #fff;
    margin: 50px auto;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 90%;
    max-width: 900px;
    animation: modalFadeIn 0.3s ease-out;
}

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

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

.speaker-modal-content.closing {
    animation: modalFadeOut 0.2s ease-in forwards;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #333;
}

.speaker-modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.modal-speaker-photo {
    flex-shrink: 0;
    margin-right: 25px;
    margin-bottom: 15px;
}

.modal-speaker-photo img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    object-position: center 20%;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.speaker-modal-header:hover .modal-speaker-photo img {
    border-color: #0E419C;
}

.modal-speaker-info {
    flex-grow: 1;
}

.modal-speaker-name {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0 0 10px 0;
}

.modal-speaker-title {
    font-size: 18px;
    color: #666;
    margin: 0 0 8px 0;
}

.modal-speaker-unit {
    font-size: 16px;
    color: #888;
    margin: 0 0 15px 0;
}

.speaker-modal-body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.speaker-bio {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #0E419C;
}

.bio-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
}

.bio-title:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 18px;
    background-color: #0E419C;
    margin-right: 10px;
    border-radius: 3px;
}

.bio-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.speaker-talk {
    margin-top: 10px;
}

.talk-title {
    font-size: 20px;
    font-weight: bold;
    color: #0E419C;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.talk-content {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* 响应式调整 */
@media (max-width: 768px) and (min-width: 481px) {
    .speaker-modal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-speaker-photo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .modal-speaker-photo img {
        width: 120px;
        height: 120px;
        object-position: center 20%;
    }
    
    .modal-speaker-name {
        font-size: 24px;
    }
    
    .speaker-modal-content {
        padding: 20px;
        margin: 20px auto;
        width: 95%;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .speaker-modal {
        padding: 10px;
    }
}

/* 小屏幕额外优化 */
@media (max-width: 480px) {
    .speaker-modal {
        padding: 0;
    }
    
    .speaker-modal-content {
        padding: 20px 20px 60px 20px;
        margin: 0;
        width: 100%;
        max-width: 100%;
        min-height: 100vh;
        border-radius: 0;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }
    
    .modal-close {
        position: fixed;
        top: 20px;
        right: 20px;
        font-size: 32px;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        z-index: 1001;
    }
    
    .speaker-modal-header {
        flex-shrink: 0;
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    
    .speaker-modal-body {
        flex: 1;
        padding-bottom: 80px;
    }
    
    .modal-speaker-photo img {
        width: 100px;
        height: 100px;
        object-position: center 20%;
        border: 3px solid #fff;
    }
    
    .modal-speaker-name {
        font-size: 22px;
    }
    
    .bio-title, .talk-title {
        font-size: 16px;
    }
    
    .bio-content, .talk-content {
        font-size: 14px;
        line-height: 1.6;
    }
}

.speaker-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.speaker-title {
    font-size: 14px;
    color: #666;
    margin: 0 0 5px 0;
    font-weight: 500;
}

.speaker-unit {
    font-size: 13px;
    color: #888;
    margin: 0;
    line-height: 1.3;
}

/* 移动端优化 */
@media (max-width: 479px) {
    .speaker-card {
        padding: 15px;
        max-width: 200px;
    }
    
    .speaker-photo img {
        width: 100px;
        height: 100px;
    }
    
    .speaker-name {
        font-size: 16px;
    }
    
    .speaker-title {
        font-size: 13px;
    }
    
    .speaker-unit {
        font-size: 12px;
    }
}