/* 主体内容样式 - Main */

/* 纯白背景（参照首页） */
body {
    background: #FFFFFF;
    background-attachment: scroll;
}

body::before {
    display: none;
}

/* 主体容器 */
.main {
    padding: 0;
    min-height: auto;
    position: relative;
}

/* 动画类 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
    animation: slideInRight 0.8s ease-out forwards;
}

/* 滚动显示动画 - 从下方滑入 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 滚动显示动画 - 从左侧滑入 */
.scroll-animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 滚动显示动画 - 从右侧滑入 */
.scroll-animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* 滚动显示动画 - 缩放出现 */
.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 滚动显示动画 - 仅淡入 */
.scroll-animate-fade {
    opacity: 0;
    transition: opacity 0.6s ease-out;
}

.scroll-animate-fade.visible {
    opacity: 1;
}

/* 延迟出现 - 配合卡片组依次出现 */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }
.delay-9 { transition-delay: 0.85s; }
.delay-10 { transition-delay: 0.9s; }
.delay-11 { transition-delay: 0.95s; }
.delay-12 { transition-delay: 1.0s; }
.delay-13 { transition-delay: 1.05s; }
.delay-14 { transition-delay: 1.1s; }
.delay-15 { transition-delay: 1.15s; }
.delay-16 { transition-delay: 1.2s; }
.delay-17 { transition-delay: 1.25s; }
.delay-18 { transition-delay: 1.3s; }
.delay-19 { transition-delay: 1.35s; }
.delay-20 { transition-delay: 1.4s; }
.delay-21 { transition-delay: 1.45s; }
.delay-22 { transition-delay: 1.5s; }
.delay-23 { transition-delay: 1.55s; }
.delay-24 { transition-delay: 1.6s; }
.delay-25 { transition-delay: 1.65s; }

/* 内容区块 - 参照首页 section 风格 */
.section {
    width: 100%;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    position: relative;
}

.section--cream { background-color: var(--bg-cream); }
.section--smoke { background-color: var(--bg-smoke); }
.section--green-subtle { background-color: var(--bg-green-subtle); }

.section__title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 16px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    text-align: center;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #66CC33;
    border-radius: 2px;
    margin: 16px auto 0;
}

.section__subtitle {
    font-size: 17px;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.7;
    margin: 0 auto 40px;
    text-align: center;
    max-width: 600px;
}

/* 内容网格布局 */
.grid {
    display: grid;
    gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }

.grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 卡片内容 */
.card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border: none;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card__content {
    padding: 24px;
}

.card__title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.card__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.card__date {
    font-size: 13px;
    color: var(--text-light);
}

.card__link {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.card__link:hover {
    color: var(--accent-gold);
}

/* 响应式设计 */
@media screen and (max-width: 1024px) {
    .grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .section { padding: 60px 0; }
    .section__title { font-size: 28px; }
    .section__subtitle { font-size: 15px; }
    
    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .card__img { height: 180px; }
    .card__content { padding: 20px; }
    .card__title { font-size: 18px; }
}
