/* 内容区和纸风格背景优化 */
.washi-content-bg {
    background: var(--washi-beige, #f8f4e6);
    border-radius: 18px;
    box-shadow: 0 4px 32px rgba(var(--primary-rgb,26,73,89),0.04);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}
@media (max-width: 767px) {
    .washi-content-bg {
        border-radius: 10px;
        padding-top: 0.7rem;
        padding-bottom: 0.7rem;
        margin-bottom: 1rem;
    }
}

        :root {
            /* 使用站点主色调，与和纸主题和基本样式保持一致 */
            --news-primary: var(--primary-color);
            --news-secondary: var(--accent-color);
            --news-accent: var(--washi-red);
            --news-text: var(--text-color);
            --news-light: var(--light-bg);
            --news-dark: var(--dark-bg);
            --news-gold: var(--washi-brown);
            --news-beige: var(--washi-beige);
        }
        
        body {
            font-family: 'Noto Sans JP', sans-serif;
            color: var(--news-text);
            background-color: var(--news-light);
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Noto Serif JP', serif;
        }
        
        /* 新闻卡片基本样式 */
        .news-card {
            background-color: var(--color-card-bg);
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            transition: all 0.3s ease;
            border: none;
            position: relative;
            margin-bottom: 2rem;
        }
        
        .news-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
        }
        
        .news-image {
            position: relative;
            overflow: hidden;
            height: 250px;
        }
        
        .news-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .news-card:hover .news-image img {
            transform: scale(1.1);
        }
        
        .news-date {
            position: absolute;
            top: 15px;
            right: 15px;
            background-color: rgba(255, 255, 255, 0.9);
            padding: 8px 12px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }
        
        .news-date .day {
            display: block;
            font-size: 1.5rem;
            font-weight: 700;
            line-height: 1;
            color: var(--primary-color);
        }
        
        .news-date .month {
            font-size: 0.8rem;
            text-transform: uppercase;
        }
        
        .news-content {
            padding: 1.5rem;
            text-align: center;
        }
        
        .news-tag {
            display: inline-block;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 12px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        
        .news-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            line-height: 1.4;
            color: var(--washi-dark);
            text-align: center;
            transition: color 0.3s ease;
        }
        
        .news-card:hover .news-title {
            color: var(--primary-color);
        }
        
        .news-excerpt {
            color: var(--washi-dark-gray);
            font-size: 0.95rem;
            margin-bottom: 1.25rem;
            text-align: center;
        }
        
        .news-link {
            color: var(--primary-color);
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            position: relative;
            padding-bottom: 2px;
        }
        
        .news-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .news-link:hover {
            color: var(--primary-color);
        }
        
        .news-link:hover::after {
            width: 100%;
        }
        
        .news-link i {
            transition: transform 0.3s ease;
        }
        
        .news-link:hover i {
            transform: translateX(5px);
        }
        
        /* 添加新闻卡片悬停效果 */
        .news-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.2);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }
        
        .news-card:hover::after {
            opacity: 1;
        }
        
        /* 确保所有新闻卡片内容居中 */
        .card-body {
            text-align: center;
        }
        
        .card-text {
            text-align: center;
        }
        
        .category-item {
            text-align: center;
        }
        
        .recent-post {
            text-align: center;
        }
        
        .page-banner {
            background: linear-gradient(135deg, var(--news-primary) 0%, var(--news-secondary) 100%);
            padding: 5rem 0;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .page-banner::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url('img/news/washi-texture.png');
            background-repeat: repeat;
            opacity: 0.15;
            z-index: 1;
        }
        
        .page-banner .container {
            position: relative;
            z-index: 2;
        }
        
        /* 侧边栏增强样式 */
        .news-sidebar {
            background-color: #fff;
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 2rem;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .news-sidebar:hover {
            box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.1);
        }
        
        .news-sidebar h5 {
            position: relative;
            padding-bottom: 0.75rem;
            margin-bottom: 1.5rem;
            color: var(--news-primary);
        }
        
        .news-sidebar h5::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 50px;
            height: 3px;
            background-color: var(--news-primary);
            transition: width 0.3s ease;
        }
        
        .news-sidebar:hover h5::after {
            width: 75px;
        }
        
        /* 分页增强样式 */
        .news-pagination .page-link {
            color: var(--news-primary);
            border-color: rgba(var(--primary-rgb), 0.2);
            transition: all 0.3s ease;
        }
        
        .news-pagination .page-link:hover {
            background-color: rgba(var(--primary-rgb), 0.05);
            transform: translateY(-2px);
        }
        
        .news-pagination .page-item.active .page-link {
            background-color: var(--news-primary);
            border-color: var(--news-primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(var(--primary-rgb), 0.2);
        }
        
        /* 最近文章增强样式 */
        .recent-post {
            padding: 0.75rem 0;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            transition: all 0.3s ease;
        }
        
        .recent-post:hover {
            transform: translateX(5px);
            background-color: rgba(var(--primary-rgb), 0.02);
            padding-left: 5px;
        }
        
        .recent-post:last-child {
            border-bottom: none;
        }
        
        .recent-post-title {
            font-size: 0.95rem;
            margin-bottom: 0.25rem;
        }
        
        .recent-post-title a {
            color: var(--news-text);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .recent-post-title a:hover {
            color: var(--news-primary);
        }
        
        .recent-post-date {
            font-size: 0.75rem;
            color: #666;
        }
        
        .recent-post-date i {
            color: var(--news-primary);
        }
        
        /* 添加内容载入动画 */
        .animate-entry {
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.5s ease;
        }
        
        .animate-entry.animate {
            opacity: 1;
            transform: translateY(0);
        }
        
        /* 响应式调整 */
        @media (max-width: 767px) {
            .page-banner {
                padding: 3rem 0;
            }
            
            .news-card:hover {
                transform: translateY(-5px) scale(1);
            }
        }
        
        /* 波纹效果 */
        .ripple-effect {
            position: absolute;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.7);
            width: 100px;
            height: 100px;
            margin-top: -50px;
            margin-left: -50px;
            animation: ripple-animation 1s;
            opacity: 0;
        }
        
        @keyframes ripple-animation {
            from {
                transform: scale(0);
                opacity: 0.7;
            }
            to {
                transform: scale(2.5);
                opacity: 0;
            }
        }

/* Newsletter表单和纸风格优化 */
.newsletter-form .input-group {
    background: var(--color-newsletter-input-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.04);
    overflow: hidden;
}
.newsletter-form .form-control {
    background: var(--color-newsletter-input-bg);
    border: 1.5px solid var(--color-newsletter-input-border);
    color: var(--color-newsletter-text);
    border-radius: 8px 0 0 8px;
    transition: border 0.3s, box-shadow 0.3s;
}
.newsletter-form .form-control:focus {
    border-color: var(--color-newsletter-input-focus);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb),0.10);
    background: #fff;
}
.newsletter-form .form-control::placeholder {
    color: var(--color-newsletter-placeholder);
    opacity: 1;
}
.newsletter-form .btn {
    background: var(--color-newsletter-btn);
    color: #fff;
    border-radius: 0 8px 8px 0;
    border: none;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    font-weight: 600;
}
.newsletter-form .btn:hover {
    background: var(--color-newsletter-btn-hover);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.10);
}

/* 搜索表单和输入框统一和纸风格 */
.search-form .input-group {
    background: var(--color-input-bg);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb),0.04);
    overflow: hidden;
}
.search-form .form-control {
    background: var(--color-input-bg);
    border: 1.5px solid var(--color-input-border);
    color: var(--primary-color);
    border-radius: 8px 0 0 8px;
    transition: border 0.3s, box-shadow 0.3s;
}
.search-form .form-control:focus {
    border-color: var(--color-input-focus);
    box-shadow: 0 0 0 2px rgba(var(--primary-rgb),0.10);
    background: #fff;
}
.search-form .form-control::placeholder {
    color: #b5b5b5;
    opacity: 1;
}
.search-form .btn {
    background: var(--primary-color);
    color: #fff;
    border-radius: 0 8px 8px 0;
    border: none;
    transition: background 0.3s, color 0.3s, box-shadow 0.3s;
    font-weight: 600;
}
.search-form .btn:hover {
    background: var(--washi-red);
    color: #fff;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb),0.10);
}

/* 分类列表和纸风格 */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.2rem;
    border-bottom: 1px solid var(--color-border-light);
    font-size: 0.98rem;
    color: var(--primary-color);
    transition: background 0.3s, color 0.3s;
}
.category-item:last-child {
    border-bottom: none;
}
.category-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}
.category-item a:hover {
    color: var(--news-accent);
}
.category-count {
    background: var(--color-tag-bg);
    color: var(--primary-color);
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 0.85em;
    margin-left: 0.5em;
}

/* 清理冗余样式 */
.card-body, .card-text, .category-item, .recent-post {
    text-align: left;
}
    

