/* 分类页面样式 */
.category-banner {
    background-attachment: fixed;
}

.news-banner {
    background-attachment: fixed;
}

/* 文章卡片样式 */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 悬停效果增强 */
.hover\:scale-105:hover {
    transform: scale(1.05);
}

/* 响应式优化 */
@media (max-width: 768px) {

    .category-banner,
    .news-banner {
        background-attachment: scroll;
        padding: 3rem 0;
    }

    .category-banner h1,
    .news-banner h1 {
        font-size: 2.5rem;
    }

    .category-banner p,
    .news-banner p {
        font-size: 1rem;
    }
}

/* 文章列表样式优化 */
.article-item {
    transition: all 0.3s ease;
}

.article-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 侧边栏样式 */
.sidebar-card {
    transition: all 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 加载动画 */
.loading-skeleton {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* 文章详情页面样式 */
.article-banner {
    background-attachment: fixed;
}

.prose {
    color: #374151;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #1f2937;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.prose img {
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.prose blockquote {
    border-left: 4px solid #6366f1;
    padding-left: 1rem;
    font-style: italic;
    color: #6b7280;
    background: #f9fafb;
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
}

.prose code {
    background: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
}

.prose pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 2rem 0;
}

/* 分享按钮样式 */
.share-buttons a {
    transition: transform 0.2s ease;
}

.share-buttons a:hover {
    transform: scale(1.1);
}

/* 标签样式 */
.tag-cloud a {
    transition: all 0.2s ease;
}

.tag-cloud a:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .article-banner {
        background-attachment: scroll;
        padding: 2rem 0;
    }

    .article-banner h1 {
        font-size: 2rem;
    }

    .prose {
        font-size: 0.875rem;
    }
}

/* 商务考察页面特殊样式 */

/* 文字阴影效果 */
.text-shadow-lg {
    text-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* 毛玻璃效果增强 */
.backdrop-blur-enhanced {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* 渐变文字效果 */
.gradient-text-enhanced {
    background: linear-gradient(135deg, #0891b2 0%, #0f766e 50%, #f97316 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* 卡片悬停效果增强 */
.card-hover-enhanced {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* 科技感边框动画 */
.tech-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(45deg, #06b6d4, #0891b2, #0e7490) border-box;
}

.tech-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #06b6d4, #0891b2, #0e7490);
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-border:hover::before {
    opacity: 1;
}

/* 脉冲动画 */
.pulse-glow {
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
    }

    50% {
        box-shadow: 0 0 40px rgba(6, 182, 212, 0.6);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .text-shadow-lg {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .card-hover-enhanced:hover {
        transform: translateY(-4px);
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .tech-border {
        background: linear-gradient(#1f2937, #1f2937) padding-box,
            linear-gradient(45deg, #06b6d4, #0891b2, #0e7490) border-box;
    }
}