/* 活动详情页面样式 */
.huodong-detail-container {
    max-width: 100%;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 70px; /* 为底部固定状态栏留出空间 */
}

/* 顶部图片横幅 */
.banner-section {
    width: 95%;
    border-radius: 16px;
    margin:10px auto;
}

.banner-section img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

/* 通用区块样式 */
.news-section,
.activity-info-section,
.activity-content-section,
.activity-status-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    margin: 0 15px 20px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 区块标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}
.title-word {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
    padding-top:10px;
    font-weight: normal;
}

.more-link {
    color: #2196F3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.more-link:hover {
    color: #1976D2;
}

/* 快讯部分 */
.news-content {
    margin-top: 15px;
}

.news-title-box {
    background: linear-gradient(to right, #1976D2 0%, #7F9FF7 50%, #ffffff 100%);
    padding: 5px 15px;
    border-radius: 15px;
    margin-bottom: 12px;
}

.news-title {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin: 0;
    line-height: 1.4;
}

.news-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-all;
    overflow: visible;
    height: auto;
    display: block;
}

/* 活动简介部分 */
.activity-info-section .section-title {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0 5px 60px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60px;
    position: relative;
    background-color: #f5f5f5; /* 备用背景色 */
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    z-index: 0;
}

.info-item .info-content {
    position: relative;
    z-index: 1;
}

.info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

/* 活动内容部分 */
.activity-content-section .section-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
}

.content-text {
    margin-top: 15px;
    padding:0 20px;
}

.content-text p {
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 0;
    text-align: justify;
}



/* 活动状态部分 */
.activity-status-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    height: 50px;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.status-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 15px;
    height: 50px;
    border-radius: 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s;
}

.status-icon.status-ongoing {
    background: #4CAF50;
    color: #fff;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.status-icon.status-ended {
    background: #f44336;
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.status-icon.status-upcoming {
    background: #FF9800;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.status-icon.status-unknown {
    background: #9E9E9E;
    color: #fff;
    box-shadow: 0 4px 12px rgba(158, 158, 158, 0.3);
}

.status-text {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.status-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
}

.status-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .huodong-detail-container {
        padding-top: 60px;
    }

    .news-section,
    .activity-info-section,
    .activity-content-section {
        margin: 0 10px 15px 10px;
        padding: 15px 15px 20px 15px;
    }

    .activity-status-section {
        height: 50px;
        margin: 0;
        padding: 0;
    }

    .status-content {
        padding: 0 10px;
        gap: 10px;
    }

    .status-icon {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }

    .status-title {
        font-size: 13px;
    }

    .status-desc {
        font-size: 11px;
    }

    .section-title {
        font-size: 16px;
    }

    .news-title {
        font-size: 16px;
    }

    .news-text,
    .content-text p {
        font-size: 13px;
    }

    .info-icon {
        width: 45px;
        height: 45px;
    }

    .info-value {
        font-size: 13px;
    }
}

