body {
    font-family: 'Inter', sans-serif;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide .transition {
transition: all 0.3s ease;
}

/* 确保所有幻灯片中的按钮都能响应悬停 */
.hero-slide a.border {
transition: all 0.3s ease !important;
}

.hero-slide a.bg-blue-600 {
transition: all 0.3s ease !important;
}


.hero-slide.active {
    opacity: 1;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: -1;
}

.product-card:hover .product-image {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide {
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    width: 100%;
}

.slide.active {
    opacity: 1;
}

.logo {
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1f2937;
}




.category-item.active {
    border-bottom: 2px solid #2563eb;
    color: #2563eb;
}

.pagination-item.active {
    background-color: #2563eb;
    color: white;
}





/* 导航专用样式 - 不会影响其他元素 */
.nav-container .dropdown-menu {
    transition: all 0.2s ease;
    transform-origin: top center;
    transform: scaleY(0.95);
    opacity: 0;
    visibility: hidden;
    z-index: 50;
}

.nav-container .group:hover .dropdown-menu {
    transform: scaleY(1);
    opacity: 1;
    visibility: visible;
}

.nav-container .dropdown-bridge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 12px;
    visibility: hidden;
}

.nav-container .group:hover .dropdown-bridge {
    visibility: visible;
}


        /* 文章详情页CSS */
        .article-header {
            background-color: #f8f9fa;
            padding: 4rem 0;
            margin-bottom: 3rem;
        }
        
        .article-title {
            font-size: 2.5rem;
            line-height: 1.2;
            margin-bottom: 1rem;
        }
        
        .article-meta {
            color: #6c757d;
            margin-bottom: 1.5rem;
        }
        
        .article-meta span {
            margin-right: 1rem;
        }
        
        .article-meta i {
            margin-right: 0.3rem;
        }
        
        .article-content {
            line-height: 1.8;
            font-size: 1.1rem;
        }
        
        .article-content img {
            max-width: 100%;
            height: auto;
            margin: 1.5rem 0;
            border-radius: 0.5rem;
        }
        
        .article-content p {
            margin-bottom: 1.5rem;
        }
        
        .article-content h2,
        .article-content h3,
        .article-content h4 {
            margin: 2rem 0 1rem;
            font-weight: 600;
        }
        
        .tag-cloud a {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            background-color: #f1f5f9;
            color: #334155;
            border-radius: 9999px;
            margin-right: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 0.875rem;
            transition: all 0.2s;
        }
        
        .tag-cloud a:hover {
            background-color: #3b82f6;
            color: white;
        }
        
        .sidebar-card {
            background-color: white;
            border-radius: 0.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            padding: 1.5rem;
            margin-bottom: 2rem;
        }
        
        .sidebar-title {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .latest-article-item {
            display: flex;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #f3f4f6;
        }
        
        .latest-article-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: 0;
        }
        
        .latest-article-img {
            width: 80px;
            height: 60px;
            border-radius: 0.25rem;
            object-fit: cover;
            margin-right: 1rem;
        }
        
        .latest-article-title {
            font-size: 0.9375rem;
            font-weight: 500;
            margin-bottom: 0.25rem;
        }
        
        .latest-article-date {
            font-size: 0.8125rem;
            color: #6b7280;
        }
        
        .related-article-card {
            transition: all 0.2s;
            margin-bottom: 1.5rem;
        }
        
        .related-article-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        }
        
        .related-article-img {
            height: 200px;
            object-fit: cover;
            border-radius: 0.5rem 0.5rem 0 0;
        }
        
        .related-article-body {
            padding: 1.25rem;
        }
        
        .related-article-title {
            font-size: 1.125rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }
        
        .related-article-excerpt {
            color: #6b7280;
            margin-bottom: 1rem;
        }
        
        .article-gallery {
            margin: 2rem 0;
        }
        
        .article-gallery img {
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            transition: transform 0.3s ease;
        }
        
        .article-gallery img:hover {
            transform: scale(1.02);
        }
        
        /* 上一篇下一篇样式 */
        .article-navigation {
            display: flex;
            justify-content: space-between;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #e5e7eb;
        }
        
        .nav-item {
            flex: 0 0 48%;
            padding: 1rem;
            border-radius: 0.5rem;
            transition: all 0.2s;
        }
        
        .nav-item:hover {
            background-color: #f3f4f6;
        }
        
        .nav-item.prev {
            text-align: left;
        }
        
        .nav-item.next {
            text-align: right;
        }
        
        .nav-label {
            font-size: 0.875rem;
            color: #6b7280;
            margin-bottom: 0.5rem;
        }
        
        .nav-title {
            font-weight: 500;
            color: #374151;
        }
        
        /* 分类导航样式 */
        .category-nav {
            background-color: white;
            padding: 1rem 0;
            margin-bottom: 2rem;
        }
        
        .category-nav-container {
            display: flex;
            overflow-x: auto;
            padding-bottom: 0.5rem;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        .category-nav-container::-webkit-scrollbar {
            display: none;
        }
        
        .category-nav-item {
            flex: 0 0 auto;
            padding: 0.5rem 1rem;
            margin-right: 0.5rem;
            border-radius: 9999px;
            background-color: #f3f4f6;
            color: #4b5563;
            font-size: 0.875rem;
            transition: all 0.2s;
        }
        
        .category-nav-item:hover, .category-nav-item.active {
            background-color: #3b82f6;
            color: white;
        }
        
        @media (max-width: 768px) {
            .article-title {
                font-size: 2rem;
            }
            
            .article-navigation {
                flex-direction: column;
            }
            
            .nav-item {
                flex: 0 0 100%;
                margin-bottom: 1rem;
            }
        }


  /* 面包屑导航样式 */
        .breadcrumb {
            padding: 1rem 0;
        }
        
        .breadcrumb ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .breadcrumb li {
            display: flex;
            align-items: center;
        }
        
        .breadcrumb li:not(:last-child)::after {
            content: '/';
            margin: 0 0.5rem;
            color: #6b7280;
        }
        
        .breadcrumb a {
            color: #3b82f6;
            text-decoration: none;
            transition: color 0.2s;
        }
        
        .breadcrumb a:hover {
            color: #2563eb;
            text-decoration: underline;
        }
        
        .breadcrumb .current {
            color: #6b7280;
        }












