/* 横幅样式 - 缩小底部间距 */
        .banner {
            background: linear-gradient(135deg, var(--primary), var(--secondary));
            color: white;
            padding: 25px 20px;
            text-align: center;
            position: relative;
            overflow: hidden;
            margin: 15px 0 30px;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }

        .banner:before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
            transform: rotate(30deg);
        }

        .banner h1 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            position: relative;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
            font-weight: 500;
            letter-spacing: 1px;
            color: white;
        }

        .banner p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 20px;
            opacity: 0.9;
            position: relative;
            line-height: 1.8;
            color: white;
        }

        .banner-search {
            max-width: 600px;
            margin: 0 auto;
            position: relative;
        }

        .banner-search input {
            width: 100%;
            padding: 18px 25px;
            border-radius: 50px;
            border: none;
            outline: none;
            font-size: 1rem;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            background-color: rgba(255, 255, 255, 0.95);
        }

        .banner-search button {
            position: absolute;
            right: 8px;
            top: 8px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 50px;
            padding: 10px 30px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.05rem;
        }

        .banner-search button:hover,
        .banner-search button:focus {
            background: var(--primary-light);
            transform: translateY(-1px);
            box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        }

        /* 主要内容布局 - 缩小底部间距 */
        .main-content {
            display: flex;
            gap: 30px;
            margin-bottom: 30px;
        }

        .content-section {
            flex: 1;
        }

        .sidebar {
            width: 300px;
            display: flex;
            flex-direction: column;
            gap: 25px;
            position: relative;
            height: auto;
        }

       

        /* 内容网格布局 */
        .content-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 25px;
        }

        @media (min-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media (min-width: 992px) {
            .content-grid {
                grid-template-columns: 1fr 1fr 1fr;
            }
        }
        
        /* ===== 左图右文文章列表样式 ===== */
        .article-list {
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-bottom: 15px;
        }

        .article-item {
            height: 160px; 
            background: var(--light);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            display: flex;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
        }

        .article-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        /* === 图片容器 === */
        .article-thumb {
            flex: 0 0 30%;
            height: 150px; 
            position: relative;
            overflow: hidden;
            background-color: var(--light-gray);
        }

        .article-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .article-item:hover .article-thumb img {
            transform: scale(1.05);
        }

        /* === 文字内容区域 === */
        .article-content {
            flex: 1;
            padding: 15px;
            display: flex;
            flex-direction: column;
        }

        .article-category {
            background: rgba(140, 122, 107, 0.1);
            color: var(--primary);
            font-size: 12px;
            padding: 4px 10px;
            border-radius: 15px;
            align-self: flex-start;
            margin-bottom: 10px;
        }

        .article-title {
            font-size: 1.2rem;
            margin-bottom: 8px;
            color: var(--dark);
            line-height: 1.4;
        }

        .article-excerpt {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-meta {
            display: flex;
            gap: 15px;
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: auto;
        }

        /* 卡片样式 - 缩小内部间距 */
        .card {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border);
        }

        .card:hover, .card:focus-within {
            transform: translateY(-4px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .card-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: var(--secondary);
            color: white;
            padding: 5px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            z-index: 2;
            font-weight: 500;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .card-img {
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease-out;
        }

        .card:hover .card-img img {
            transform: scale(1.07);
        }

        .card-content {
            padding: 20px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card-category {
            display: inline-block;
            background: var(--light-gray);
            color: var(--primary);
            font-size: 0.85rem;
            padding: 4px 12px;
            border-radius: 15px;
            margin-bottom: 10px;
            font-weight: 500;
            transition: var(--transition);
        }

        .card:hover .card-category {
            background: rgba(140, 122, 107, 0.1);
        }

        .card-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--dark);
            line-height: 1.5;
            flex: 1;
            font-weight: 500;
        }

        .card-desc {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 15px;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
        }

        .card-meta {
            display: flex;
            justify-content: space-between;
            color: var(--gray);
            font-size: 0.85rem;
            padding-top: 12px;
            margin-top: auto;
            border-top: 1px solid var(--light-gray);
        }

        .topic-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .topic-card {
            background: var(--light);
            border-radius: 10px;
            overflow: hidden;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            border: 1px solid var(--border);
        }

        .topic-card:hover,
        .topic-card:focus-within {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .topic-img {
            height: 100px;
            overflow: hidden;
        }

        .topic-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease-out;
        }

        .topic-card:hover .topic-img img {
            transform: scale(1.05);
        }

        .topic-content {
            padding: 12px;
            flex: 1;
        }

        .topic-title {
            font-size: 0.95rem;
            font-weight: 500;
            margin-bottom: 5px;
            color: var(--dark);
            line-height: 1.4;
        }

        .topic-desc {
            font-size: 0.8rem;
            color: var(--gray);
            line-height: 1.5;
        }

        /* 电子书专区 - 缩小上下间距 */
        .ebook-section {
            background: var(--zen-bg);
            padding: 20px 0;
            margin: 20px 0;
            border-radius: 12px;
        }

        .ebook-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 25px;
        }

        .ebook-card {
            text-align: center;
            transition: var(--transition);
            background: var(--light);
            border-radius: 12px;
            padding: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            display: flex;
            flex-direction: column;
            align-items: center;
            border: 1px solid var(--border);
        }

        .ebook-card:hover,
        .ebook-card:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .ebook-cover {
            position: relative;
            width: 100%;
            padding-top: 133.33%;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            margin-bottom: 12px;
            background: linear-gradient(45deg, var(--primary-light), var(--secondary));
            color: white;
            font-size: 2rem;
        }

        .ebook-cover-content {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
        }

        .ebook-cover-content img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            width: auto;
            height: auto;
            display: block;
            margin: 0 auto;
        }

        .ebook-cover-title {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 10px;
            background: rgba(0, 0, 0, 0.7);
            color: white;
            font-weight: 500;
            font-size: 0.9rem;
            text-align: center;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.4;
        }

        .ebook-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: var(--primary);
            color: white;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            z-index: 10;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .ebook-author {
            color: var(--gray);
            font-size: 0.85rem;
            margin-top: auto;
        }

        /* 传统文化专区 - 缩小上下间距 */
        .culture-section {
            padding: 30px 0;
            margin: 20px 0;
        }

        .culture-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .culture-card {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            border: 1px solid var(--border);
        }

        .culture-card:hover,
        .culture-card:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .culture-img {
            height: 200px;
            overflow: hidden;
        }

        .culture-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s ease-out;
        }

        .culture-card:hover .culture-img img {
            transform: scale(1.07);
        }

        .culture-content {
            padding: 18px;
        }

        .culture-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary);
            font-weight: 500;
        }

        .culture-desc {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 12px;
            line-height: 1.6;
        }

        /* 生活知识 - 缩小上下间距 */
        .life-knowledge-section {
            padding: 30px 0;
            margin: 20px 0;
        }

        .life-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .life-card {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            border-left: 4px solid var(--primary);
            border: 1px solid var(--border);
        }

        .life-card:hover,
        .life-card:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .life-content {
            padding: 20px;
        }

        .life-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary);
            display: flex;
            align-items: center;
            font-weight: 500;
        }

        .life-title i {
            margin-right: 10px;
            color: var(--secondary);
        }

        .life-desc {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 12px;
            line-height: 1.6;
        }

        /* 禅学哲学研究 - 缩小上下间距 */
        .zen-section {
            padding: 15px 0;
            background-color: var(--zen-bg);
            border-radius: 12px;
            margin: 10px 0;
        }

        .zen-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }

        .zen-card {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: var(--transition);
            position: relative;
            border-top: 3px solid var(--primary-light);
            border: 1px solid var(--border);
        }

        .zen-card:before {
            content: "";
            position: absolute;
            top: 15px;
            left: 15px;
            font-size: 3.5rem;
            font-family: Georgia, serif;
            color: rgba(140, 122, 107, 0.05);
            line-height: 1;
        }

        .zen-card:hover,
        .zen-card:focus-within {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            border-color: rgba(140, 122, 107, 0.2);
        }

        .zen-content {
            padding: 35px 20px 20px;
        }

        .zen-title {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: var(--primary);
            font-weight: 500;
        }

        .zen-desc {
            color: var(--gray);
            font-size: 0.95rem;
            margin-bottom: 12px;
            font-style: italic;
            line-height: 1.6;
        }

        /* 响应式调整 */
        @media (max-width: 992px) {
            .sidebar {
                display: none;
            }
            
            .main-content {
                flex-direction: column;
                gap: 20px;
                margin-bottom: 20px;
            }
            
            .banner h1 {
                font-size: 2rem;
            }
            
            .banner p {
                font-size: 1rem;
            }
        }

        @media (max-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            
            .ebook-grid {
                grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
                gap: 15px;
            }
            
            .culture-img, .card-img, .topic-img, .article-thumb {
                height: 500px;
               
            }
            
            .zen-grid, .life-grid, .culture-grid{
                grid-template-columns: 1fr;
            }
            
            .banner {
                padding: 20px 20px;
                margin: 10px 0 20px;
            }
            
            .banner-search {
                 display: none;
            }
            
            
            .article-item {
                flex-direction: column;
                height: auto;
            }
            
            .article-content {
                padding: 15px;
            }
            
            .article-title {
                font-size: 1.1rem;
            }
            
            .article-excerpt {
               display: none;
            }
            
            .section-title {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }
        }
  @media (max-width: 480px) {
            .banner {
                display: none;
            }
             .culture-img, .card-img, .topic-img, .article-thumb {
                height: 260px;
            }