/* 节假日查询 专题页 */

.next-holiday {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 12px;
    color: #fff;
    margin-bottom: 1.5rem;
}

.next-holiday-label {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-bottom: 0.4rem;
}

.next-holiday-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.next-holiday-days {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
    line-height: 1.1;
}

.next-holiday-days::after {
    content: ' 天';
    font-size: 1.2rem;
    font-weight: 400;
}

.next-holiday-date {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.5rem;
}

/* 节假日列表 */
.holiday-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.holiday-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.holiday-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.1rem;
    background: #f8f9fb;
    border-bottom: 1px solid #eee;
}

.holiday-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.holiday-badge {
    font-size: 0.72rem;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.holiday-badge.upcoming {
    background: #dbeafe;
    color: #2563eb;
}

.holiday-badge.done {
    background: #f0f0f0;
    color: #999;
}

.holiday-days-badge {
    font-size: 0.8rem;
    color: #666;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.holiday-body {
    padding: 0.8rem 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.holiday-info-row {
    font-size: 0.88rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.holiday-info-label {
    color: #999;
    font-size: 0.82rem;
}

.holiday-workday {
    font-size: 0.82rem;
    color: #e67e22;
    background: #fef9ec;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 0.2rem 0.5rem;
    margin-top: 0.3rem;
    width: 100%;
}

.feature-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card-link:hover {
    box-shadow: 0 4px 12px rgba(37,99,235,0.15);
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 600px) {
    .next-holiday-days {
        font-size: 2.2rem;
    }
    .holiday-body {
        gap: 0.4rem;
    }
}
