/* 手机端适配 */
.meetings-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}

.units-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 480px) {
    .meetings-grid,
    .units-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 主体内容上边距 - 主菜单高度约50px */
body {
    padding-top: 50px !important;
    margin: 0 !important;
}

/* 修复主Banner的margin-top */
.main-banner {
    margin-top: 0 !important;
}

/* 主Banner区域 */
.main-banner {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
}

.main-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 倒计时模块容器 */
.countdown-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.countdown-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.countdown-title {
    text-align: center;
    margin-bottom: 25px;
}

.countdown-title h3 {
    font-size: 20px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

.countdown-title p {
    font-size: 14px;
    color: #777777;
    margin: 0;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-size: 42px;
    font-weight: bold;
    color: #1A569D;
    line-height: 1;
    padding: 10px 20px;
    background: #F5F9FC;
    border-radius: 8px;
    min-width: 80px;
}

.countdown-separator {
    font-size: 36px;
    color: #999999;
    font-weight: bold;
}

.countdown-label {
    font-size: 12px;
    color: #666666;
    margin-top: 8px;
}

.meeting-ended-notice {
    text-align: center;
    font-size: 18px;
    color: #E74C3C;
}

/* 功能模块区域 */
.enrollment-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #1A569D;
    margin-bottom: 10px;
}

.section-title .line {
    width: 60px;
    height: 3px;
    background: #1A569D;
    margin: 0 auto;
}

/* 报名入口网格 */
.enrollment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.enrollment-card {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px 30px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.enrollment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.enrollment-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enrollment-icon.international {
    background: linear-gradient(135deg, #3A86FF 0%, #0066CC 100%);
}

.enrollment-icon.domestic {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
}

.enrollment-icon span {
    font-size: 36px;
}

.enrollment-card h3 {
    font-size: 20px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 10px;
}

.enrollment-card p {
    font-size: 14px;
    color: #666666;
    margin-bottom: 20px;
}

.enrollment-btn {
    display: inline-block;
    padding: 12px 40px;
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.enrollment-btn.international {
    background: linear-gradient(135deg, #3A86FF 0%, #0066CC 100%);
}

.enrollment-btn.domestic {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A5A 100%);
}

.enrollment-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 参会嘉宾模块 */
.guests-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.guests-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.guest-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    min-height: 220px;
    display: flex;
    flex-direction: column;
}

.guest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.guest-card-img {
    height: 120px;
    min-height: 120px;
    background: #F8F9FA;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.guest-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.guest-card-img:empty::before {
    content: '👤';
    font-size: 48px;
    color: #ddd;
}

.guest-card-info {
    padding: 16px 12px;
    background: #C5EDE6;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.guest-card-info h3 {
    font-size: 16px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guest-card-info p {
    font-size: 12px;
    color: #666666;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.guests-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #C5EDE6;
    color: #1A569D;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.guests-more-btn:hover {
    background: #B5D9D6;
    transform: scale(1.05);
}

.guests-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* 会议邀约模块 */
.videos-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.video-card {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: block;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.video-card-img {
    height: 100px;
    background: #F8F9FA;
}

.video-card-info {
    padding: 12px 10px;
    background: #FFFFFF;
    text-align: center;
}

.video-card-info h3 {
    font-size: 14px;
    font-weight: bold;
    color: #222222;
    margin-bottom: 4px;
}

.video-card-info p {
    font-size: 12px;
    color: #666666;
    margin: 0;
}

.videos-more-btn {
    display: inline-block;
    padding: 10px 30px;
    background: #C5EDE6;
    color: #1A569D;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.videos-more-btn:hover {
    background: #B5D9D6;
    transform: scale(1.05);
}

.videos-more-wrapper {
    text-align: center;
    margin-top: 30px;
}

/* 联系我们模块 */
.contact-section {
    background: #4A7BDD;
    padding: 60px 20px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.contact-title h2 {
    font-size: 24px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.contact-title .line {
    width: 60px;
    height: 3px;
    background: #FFFFFF;
    margin: 0 auto;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

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

.contact-icon {
    width: 24px;
    height: 24px;
    background: #FFFFFF;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.contact-info {
    text-align: left;
    flex: 1;
}

.contact-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-bottom: 8px;
}

.contact-info p {
    color: #FFFFFF;
    font-size: 14px;
    margin: 0;
    line-height: 1.6;
}

.contact-email {
    color: #FFFFFF;
    font-size: 14px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-footer {
    color: #CCCCCC;
    font-size: 12px;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .enrollment-grid {
        grid-template-columns: 1fr;
    }

    .guests-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .guest-card {
        min-height: 200px;
    }

    .guest-card-img {
        height: 100px;
        min-height: 100px;
    }

    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guests-grid {
        grid-template-columns: 1fr;
    }

    .guest-card {
        min-height: 180px;
    }
    .countdown-number {
        font-size: 32px;
        padding: 8px 16px;
        min-width: 60px;
    }

    .countdown-separator {
        font-size: 28px;
    }

    .guests-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}