/* ===== speaker-schedule.css - 讲者与日程页面专用样式 ===== */
/* 简洁版：无背景色、无标签、日程表格简洁适配编辑器 */

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

/* 讲者日程主容器 - 无背景色 */
.speaker-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 20px;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

/* 内容包装器 - 白色卡片效果 */
.speaker-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;
}

/* 区块通用样式 */
.section-block {
    margin-bottom: 50px;
}

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

/* 章节标题 - 与会议介绍风格完全一致 */
.section-title {
    color: #08358f;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #08358f;
    position: relative;
    display: flex;
    align-items: center;
}

.title-icon {
    display: inline-flex;
    margin-right: 12px;
    color: #ff6b6b;
    font-size: 1.8rem;
}

/* 分割线 - 与会议介绍风格一致 */
.section-divider {
    text-align: center;
    margin: 30px 0 40px;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e7ff, transparent);
    z-index: 1;
}

.divider-icon {
    position: relative;
    z-index: 2;
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    background-color: #08358f;
    color: white;
    font-size: 1.8rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(8, 53, 143, 0.2);
}

/* ===== 专家网格布局 - 简洁版 ===== */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 20px 0 20px;
}

/* 专家卡片 */
.speaker-card {
    display: flex;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #edf2f7;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.speaker-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(8, 53, 143, 0.06);
    border-color: rgba(26, 76, 179, 0.15);
}

/* 专家头像 */
.speaker-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 4px solid white;
    box-shadow: 0 5px 15px rgba(8, 53, 143, 0.12);
    background-color: #f0f4fa;
}

.speaker-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-avatar img {
    transform: scale(1.05);
}

/* 专家信息 */
.speaker-info {
    flex: 1;
    min-width: 0;
}

.speaker-name {
    color: #08358f;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}

.speaker-title {
    color: #1a4cb3;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #e2e8f0;
}

.speaker-desc {
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 更多专家提示 */
.more-speakers {
    text-align: center;
    margin-top: 30px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 50px;
    color: #4a5568;
    font-size: 1rem;
    border: 1px dashed #cbd5e0;
}

/* ===== 日程编辑器内容区域 - 简洁表格风格 ===== */
.schedule-editor-content {
    width: 100%;
    margin: 20px 0 10px;
    line-height: 1.8;
    color: #333;
}

/* 日程日期标题 */
.schedule-editor-content h3 {
    color: #1a4cb3;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 30px 0 20px;
    padding-left: 12px;
    border-left: 5px solid #08358f;
}

.schedule-editor-content h3:first-of-type {
    margin-top: 10px;
}

/* 日程表格 - 简洁清晰 */
.schedule-editor-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0 25px;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.02);
}

.schedule-editor-content th {
    background-color: #f0f7ff;
    color: #08358f;
    font-weight: 600;
    padding: 14px 12px;
    border: 1px solid #dde5ed;
    font-size: 1rem;
    text-align: center;
}

.schedule-editor-content td {
    padding: 12px;
    border: 1px solid #e9ecef;
    font-size: 1rem;
    color: #2d3748;
}

.schedule-editor-content tr:hover {
    background-color: #fafcff;
}

.schedule-editor-content td:first-child {
    font-weight: 500;
    color: #08358f;
    white-space: nowrap;
    text-align: center;
}

.schedule-editor-content td:nth-child(2) {
    font-weight: 500;
}

.schedule-editor-content td:last-child {
    color: #4a5568;
}

/* 备注文字 */
.schedule-editor-content p {
    font-size: 0.95rem;
    margin-top: 15px;
    color: #718096;
}

/* 日程下载 */
.schedule-download {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding: 15px 20px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: linear-gradient(135deg, #08358f, #1a4cb3);
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(8, 53, 143, 0.15);
    border: none;
    cursor: pointer;
    gap: 10px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #1a4cb3, #08358f);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(8, 53, 143, 0.25);
}

/* ===== 响应式设计 ===== */

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

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

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

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

    .speaker-grid {
        gap: 25px;
    }
}

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

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

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

    .speaker-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .speaker-card {
        max-width: 100%;
    }
}

/* 768px以下 - 移动端 */
@media screen and (max-width: 768px) {
    .speaker-container {
        padding: 30px 15px;
    }

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

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

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

    .divider-icon {
        width: 50px;
        height: 50px;
        line-height: 50px;
        font-size: 1.5rem;
    }

    .speaker-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .speaker-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 25px 20px;
    }

    .speaker-avatar {
        margin-right: 0;
        margin-bottom: 15px;
        width: 90px;
        height: 90px;
    }

    .speaker-name {
        font-size: 1.2rem;
    }

    .speaker-title {
        font-size: 0.9rem;
    }

    .speaker-desc {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }

    .more-speakers {
        font-size: 0.95rem;
        padding: 12px;
    }

    /* 移动端表格滚动 */
    .schedule-editor-content {
        overflow-x: auto;
    }

    .schedule-editor-content table {
        min-width: 650px;
    }

    .schedule-editor-content h3 {
        font-size: 1.2rem;
        margin: 25px 0 15px;
    }

    .schedule-download {
        margin-top: 30px;
    }
}

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

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

    .title-icon {
        font-size: 1.3rem;
        margin-right: 8px;
    }

    .speaker-card {
        padding: 20px 15px;
    }

    .speaker-name {
        font-size: 1.1rem;
    }

    .speaker-desc {
        font-size: 0.85rem;
    }

    .schedule-editor-content h3 {
        font-size: 1.1rem;
        padding-left: 10px;
        border-left-width: 4px;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 0.95rem;
    }
}

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

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