/* 节日来历 / 节日趣闻 内容页样式（与首页风格统一：深色红金玻璃拟态） */

body {
    overflow-y: auto;
}

.page-wrap {
    position: relative;
    z-index: 1;
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 3rem;
}

.page-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #dc2626 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.6rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}

.crumbs {
    text-align: center;
    margin-bottom: 1.75rem;
    font-size: 0.85rem;
}

.crumbs a {
    color: var(--accent-color);
    text-decoration: none;
}

.crumbs a:hover {
    text-decoration: underline;
}

.crumbs span {
    color: var(--text-muted);
    margin: 0 0.4rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.festival-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.festival-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.festival-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.festival-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.festival-card h3::before {
    content: '✦';
    color: var(--primary-color);
    font-size: 0.9rem;
}

.festival-card p {
    font-size: 0.9rem;
    color: #d1d5db;
    line-height: 1.75;
}

@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-hero h1 { font-size: 1.9rem; }
}

@media (max-width: 600px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    .page-hero h1 { font-size: 1.6rem; }
    .page-wrap { padding: 1.5rem 1rem 2rem; }
}
