/* 活动资讯页面样式 */
.news-page {
    padding: 2rem;
}

/* 特色活动区域 */
.featured-event {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 4rem;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.featured-event img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.event-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.event-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #e62129;
    color: white;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.event-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.event-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-desc {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.signup-btn {
    padding: 0.8rem 2rem;
    background-color: #e62129;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.signup-btn:hover {
    background-color: #d41920;
}

/* 活动日历区域 */
.event-calendar {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.event-calendar h2 {
    text-align: center;
    color: #e62129;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.calendar-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.calendar-item.upcoming {
    border: 2px solid #e62129;
}

.date {
    text-align: center;
    min-width: 80px;
}

.month {
    display: block;
    color: #666;
    font-size: 0.9rem;
}

.day {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: #e62129;
}

.calendar-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.calendar-info p {
    color: #666;
}

/* 历史活动区域 */
.event-history {
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.event-history h2 {
    text-align: center;
    color: #e62129;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: #e62129;
}

.timeline-item {
    margin: 4rem 0;
    position: relative;
}

.timeline-content {
    width: 45%;
    margin-left: auto;
    position: relative;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}

.time-marker {
    position: absolute;
    left: -55%;
    top: 0;
    background-color: #e62129;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.timeline-item:nth-child(even) .time-marker {
    left: auto;
    right: -55%;
}

.content-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.content-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.content-card h3 {
    color: #e62129;
    margin-bottom: 1rem;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.event-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
}

/* 报名表单区域 */
.signup-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.signup-form h2 {
    text-align: center;
    color: #e62129;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: #e62129;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #d41920;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .event-info {
        position: relative;
        background: #333;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-content {
        width: 90%;
        margin-left: 2rem;
    }

    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 2rem;
        margin-right: 0;
    }

    .time-marker {
        left: 0;
        transform: translateX(-50%);
    }

    .timeline-item:nth-child(even) .time-marker {
        left: 0;
        right: auto;
    }

    .event-gallery {
        grid-template-columns: 1fr;
    }
} 