/* 节气介绍页面样式 */
.solar-terms-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.solar-terms-content h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* 季节区域样式 */
.season-section {
    margin-bottom: 4rem;
    padding: 2rem;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.season-section h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
}

/* 节气卡片网格布局 */
.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* 节气卡片样式 */
.term-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.term-card:hover {
    transform: translateY(-5px);
}

.term-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.term-info {
    padding: 1.5rem;
}

.term-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.term-info .date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.term-info .description {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 特征区域样式 */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: #f8f8f8;
    padding: 1rem;
    border-radius: 4px;
}

.feature h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.feature p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* 季节特定样式 */
.season-section.spring {
    background-color: rgba(144, 238, 144, 0.1);
}

.season-section.summer {
    background-color: rgba(255, 165, 0, 0.1);
}

.season-section.autumn {
    background-color: rgba(205, 133, 63, 0.1);
}

.season-section.winter {
    background-color: rgba(135, 206, 235, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .solar-terms-content {
        padding: 1rem;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .term-card img {
        height: 150px;
    }
}

/* 动画效果 */
.term-card {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 