/* 往期回顾模块样式 */
.Past {
    padding: 4rem 0;
}

.past-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.past-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3rem;
}

.past-grid {
    /* 一行三个 */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.past-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.past-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.past-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.past-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    .image-wrapper{
        width: 100%;
    }
}

.past-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.past-item:hover .past-image img {
    transform: scale(1.1);
}

.past-content {
    padding: 1.5rem;
}

.past-title-item {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2f4f;
    text-align: center;
    line-height: 1.4;
}

/* 往期回顾明细页样式 */
.past-review-detail {
    padding: 4rem 0;
    background-color: #f5f5f5;
}

.past-review-detail .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.review-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #1f2f4f;
    margin-bottom: 3rem;
}

.review-content {
    background-color: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 4px;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .past-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .past-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .past-title {
        font-size: 1.8rem;
    }
    
    .review-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .Past {
        padding: 2rem 0;
    }
    
    .past-container {
        padding: 0 1rem;
    }
    
    .past-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .past-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .past-image {
        height: 180px;
    }
    
    .past-content {
        padding: 1.2rem;
    }
    
    .past-review-detail {
        padding: 2rem 0;
    }
    
    .past-review-detail .container {
        padding: 0 1rem;
    }
    
    .review-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .review-content {
        padding: 1.5rem;
    }
}