/* ============================================================
   forum.css - 科技创新论坛
   ============================================================ */

/* --- 弹窗 --- */
.popup-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: hidden;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.popup-content {
    background-color: #fff;
	background-image: url('/static/2026/img/index/zhibo_bg.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
    margin: 0 auto;
    margin-top: 8%;
    padding: 25px;
    border-radius: 12px;
    width: 90%;
    max-width: 1200px;
    max-height: 82vh;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.popup-close {
    color: #999;
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: -20px;
    margin-right: -5px;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.popup-close:hover,
.popup-close:focus {
    color: #333;
    text-decoration: none;
}

.popup-header {
    text-align: center;
}

.popup-header h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 5;
}

.popup-body {
    display: flex;
    gap: 30px;
    max-height: calc(82vh - 100px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.popup-image-container {
    flex: 0 0 400px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-image-gallery {
    width: 100%;
}

.main-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    object-fit: contain;
    margin-bottom: 15px;
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.thumbnail.active {
    border-color: #0066cc;
}

.popup-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid #e0e0e0;
    object-fit: contain;
}

.popup-text-container {
    flex: 1;
}

.popup-text {
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.popup-text p {
    margin-bottom: 15px;
}

.popup-text strong {
    color: #333;
    font-weight: 600;
}

/* 弹窗响应式 */
@media (max-width: 992px) {
    .popup-content {
        margin-top: 10%;
        padding: 25px;
        max-height: 77vh;
    }

    .popup-body {
        flex-direction: column;
        gap: 20px;
        max-height: calc(77vh - 80px);
    }

    .popup-image-container {
        flex: 0 0 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .popup-modal {
        padding-top: 60px;
        height: 100vh;
        box-sizing: border-box;
        overflow: hidden;
    }

    .popup-content {
        margin-top: 0;
        padding: 20px;
        width: 95%;
        max-height: 87vh;
        overflow: hidden;
        box-sizing: border-box;
    }

    .popup-body {
        flex-direction: column;
        gap: 20px;
        max-height: calc(87vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .popup-header h2 {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .popup-close {
        font-size: 28px;
    }

    .popup-text {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .popup-modal {
        padding-top: 80px;
        height: 100vh;
        box-sizing: border-box;
        overflow: hidden;
    }

    .popup-content {
        padding: 15px;
        width: 95%;
        max-height: 82vh;
        overflow: hidden;
        box-sizing: border-box;
    }

    .popup-body {
        flex-direction: column;
        gap: 20px;
        max-height: calc(82vh - 70px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .popup-header h2 {
        font-size: 18px;
    }

    .popup-close {
        font-size: 24px;
    }

    .popup-text {
        font-size: 14px;
        line-height: 1.7;
    }
}



body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
    color: #333;
}


/* 标题 */
.exhibition-title-img {
    width: 100%;
    max-width: 230px;
    display: block;
    /* margin: 0 auto; */
}

@media (max-width: 768px) {
    .exhibition-title-img { max-width: 200px; }
}
@media (max-width: 480px) {
    .exhibition-title-img { max-width: 150px; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.tech-exhibition {
    background: url('/static/2026/img/index/zhibo_bg.png');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
    padding: 60px 0;
}

.exhibition-header {
    text-align: center;
    margin-bottom: 60px;
}

.speakers-section {
    margin-bottom: 60px;
}

/* 网格 */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* 卡片 */
.speaker-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    border: 1px solid transparent;
}

.speaker-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    border-color: rgba(0,102,204,0.15);
}

/* 头像 */
.speaker-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #e8e8e8;
    transition: all 0.35s ease;
    overflow: hidden;
    background: #f0f0f0;
}

.speaker-card:hover .speaker-avatar {
    border-color: #0066cc;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,102,204,0.2);
}

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

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

/* 文字 */
.speaker-name {
    font-size: 20px;
    color: #003366;
    margin: 0 0 8px 0;
    font-weight: bold;
    transition: color 0.3s ease;
}

.speaker-card:hover .speaker-name {
    color: #0066cc;
}

.speaker-title {
    font-size: 15px;
    color: #666;
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.speaker-role {
    font-size: 14px;
    color: #0066cc;
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== 弹窗 ===== */

/* ===== 响应式 ===== */

@media (max-width: 1024px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .popup-content { margin: 8% auto; }
}

@media (max-width: 768px) {
    .tech-exhibition { padding: 40px 0; }
    .exhibition-header { margin-bottom: 40px; }
    .speakers-grid { gap: 16px; margin-top: 20px; }
    .speaker-card { padding: 20px 14px; border-radius: 10px; }
    .speaker-avatar { width: 90px; height: 90px; margin-bottom: 14px; }
    .speaker-name { font-size: 16px; }
    .speaker-title { font-size: 13px; margin-bottom: 8px; }
    .speaker-role { font-size: 12px; }

    .popup-content {
        margin: 12% auto 8% auto;
        padding: 20px;
        max-height: 80vh;
    }
    .popup-body { flex-direction: column; gap: 20px; }
    .popup-image-container { flex: none; width: 200px; margin: 0 auto; }
    .popup-text-container { max-height: none; }
    .popup-header h2 { font-size: 18px; }
    #popup-text { font-size: 14px; }
}

@media (max-width: 480px) {
    .tech-exhibition { padding: 30px 0; }
    .exhibition-header { margin-bottom: 30px; }
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .speaker-card { padding: 14px 8px; border-radius: 8px; }
    .speaker-avatar { width: 72px; height: 72px; margin-bottom: 10px; border-width: 2px; }
    .speaker-name { font-size: 13px; margin-bottom: 4px; }
    .speaker-title { font-size: 11px; margin-bottom: 6px; }
    .speaker-role { font-size: 10px; -webkit-line-clamp: 3; }

    .popup-content {
        margin: 18% auto 10% auto;
        padding: 16px;
        width: 92%;
    }
    .popup-close { top: 10px; right: 12px; font-size: 28px; }
    .popup-image-container { width: 160px; }
    .popup-header h2 { font-size: 16px; }
    #popup-text { font-size: 13px; line-height: 1.7; }
}

@media (max-width: 360px) {
    .speakers-grid { gap: 8px; }
    .speaker-card { padding: 12px 6px; }
    .speaker-avatar { width: 64px; height: 64px; }
    .speaker-name { font-size: 12px; }
    .speaker-title { font-size: 10px; }
    .speaker-role { font-size: 9px; }
}