/* WordPress风格样式 */
:root {
    --wp-primary: #0073aa;
    --wp-secondary: #005177;
    --wp-text: #32373c;
    --wp-text-light: #646970;
    --wp-border: #ddd;
    --wp-bg: #f1f1f1;
    --wp-white: #fff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.6;
    color: var(--wp-text);
    background-color: #f9f9f9;
}

/* 头部样式 */
.site-header {
    background: var(--wp-white);
    border-bottom: 1px solid var(--wp-border);
    margin-bottom: 0.1rem;
}

.site-title a {
    color: var(--wp-text);
    font-size: 2rem;
    font-weight: 600;
    text-decoration: none;
}

.site-title a:hover {
    color: var(--wp-primary);
}

.site-description {
    color: var(--wp-text-light);
    font-size: 0.9rem;
}

.header-nav .nav-link-custom {
    color: var(--wp-text-light);
    text-decoration: none;
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 0; /* 扁平化：去除圆角 */
    transition: all 0.3s ease;
}

.header-nav .nav-link-custom:hover {
    color: var(--wp-primary);
    background-color: #f8f9fa;
}

.header-border {
    height: 3px;
    background: linear-gradient(90deg, var(--wp-primary) 0%, var(--wp-secondary) 100%);
}

/* 主要内容区域 */
.site-main {
    min-height: calc(100vh - 200px);
    padding-bottom: 3rem;
}

/* 文章样式 */
/* 科技公司主题色彩 */
:root {
    --tech-primary: #2563eb;     /* 科技蓝 */
    --tech-secondary: #1e40af;   /* 深蓝 */
    --tech-accent: #06b6d4;      /* 青色 */
    --tech-success: #10b981;     /* 绿色 */
    --tech-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --tech-dark: #1f2937;
    --tech-light: #f8fafc;
}

/* 现代化卡片设计 - 扁平化 */
.post-item {
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 扁平化：减少阴影 */
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--tech-gradient);
}

.post-item:hover {
    transform: translateY(-2px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 扁平化：减少阴影 */
}

/* 科技感文章卡片 */
.post-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--tech-dark) 0%, var(--tech-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--wp-text-light);
}

.post-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 0; /* 扁平化：去除圆角 */
    font-weight: 500;
}

.post-meta i {
    color: var(--tech-primary);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2); /* 扁平化：减少阴影 */
}

.read-more:hover {
    transform: translateY(-1px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3); /* 扁平化：减少阴影 */
    color: white;
}

.post-link {
    color: var(--wp-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-link:hover {
    color: var(--wp-primary);
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--wp-text-light);
}

.post-meta i {
    margin-right: 0.25rem;
}

.post-excerpt {
    color: var(--wp-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* 如果摘要中包含HTML内容，添加以下样式 */
.post-excerpt img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0.5rem 0;
    border-radius: 4px;
}

.post-excerpt h1, .post-excerpt h2, .post-excerpt h3,
.post-excerpt h4, .post-excerpt h5, .post-excerpt h6 {
    display: none; /* 隐藏摘要中的标题，避免重复 */
}

.post-excerpt p {
    margin-bottom: 0.5rem;
}

.post-excerpt * {
    max-width: 100%;
    word-wrap: break-word;
}

/* 首页文章摘要中的图片样式 */
.post-excerpt-with-images {
    color: var(--wp-text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-height: 200px;
    overflow: hidden;
    position: relative;
}

.post-excerpt-with-images img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0.5rem 0;
    display: block;
}

.post-excerpt-with-images h1, 
.post-excerpt-with-images h2, 
.post-excerpt-with-images h3,
.post-excerpt-with-images h4, 
.post-excerpt-with-images h5, 
.post-excerpt-with-images h6 {
    display: none; /* 隐藏重复标题 */
}

.post-excerpt-with-images p {
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 渐变遮罩效果 */
.post-excerpt-with-images::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(transparent, var(--wp-white));
    pointer-events: none;
}

.post-excerpt-with-images .read-more {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--wp-white);
    padding-left: 1rem;
    z-index: 1;
}

.read-more {
    color: var(--wp-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--wp-secondary);
}

/* 单篇文章样式 - 扁平化 */
.single-post {
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    padding: 2.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
}

.single-post .post-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
}

.single-post .post-meta {
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--wp-border);
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* 文章内容样式 */
.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

/* 添加图片响应式样式 */
.post-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 图片容器样式 */
.post-content figure {
    margin: 2rem 0;
    text-align: center;
}

.post-content figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.post-content h1, .post-content h2, .post-content h3, 
.post-content h4, .post-content h5, .post-content h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--wp-text);
    font-weight: 600;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content pre {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0; /* 扁平化：去除圆角 */
    overflow-x: auto;
    border-left: 4px solid var(--wp-primary);
}

.post-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.9em;
    color: #e83e8c;
}

.post-content blockquote {
    border-left: 4px solid var(--wp-primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    color: var(--wp-text-light);
    font-style: italic;
}

/* 分页样式 */
.wp-pagination {
    margin-top: 3rem;
    text-align: center;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-link, .page-number {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: var(--wp-primary);
    text-decoration: none;
    border: 1px solid var(--wp-border);
    border-radius: 0; /* 扁平化：去除圆角 */
    transition: all 0.3s ease;
}

.page-link:hover, .page-number:hover {
    background-color: var(--wp-primary);
    color: var(--wp-white);
    border-color: var(--wp-primary);
}

.page-number.current {
    background-color: var(--wp-primary);
    color: var(--wp-white);
    border-color: var(--wp-primary);
}

.page-dots {
    padding: 0.5rem;
    color: var(--wp-text-light);
}

/* 侧边栏样式 - 扁平化 */
.sidebar {
    padding-left: 1rem;
}

.widget {
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--wp-text);
    border-bottom: 2px solid var(--wp-primary);
    padding-bottom: 0.5rem;
}

.recent-posts {
    list-style: none;
    padding: 0;
}

.recent-post-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-link {
    color: var(--wp-text);
    text-decoration: none;
    font-weight: 500;
    flex: 1;
    margin-right: 1rem;
}

.recent-post-link:hover {
    color: var(--wp-primary);
}

.recent-post-date {
    color: var(--wp-text-light);
    font-size: 0.85rem;
    white-space: nowrap;
}

/* 标签云 */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f8f9fa;
    color: var(--wp-text-light);
    text-decoration: none;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--wp-primary);
    color: var(--wp-white);
}

/* 分享按钮 */
.post-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wp-border);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0; /* 扁平化：去除圆角 */
    color: var(--wp-white);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    color: var(--wp-white);
}

.share-weibo { background-color: #e6162d; }
.share-wechat { background-color: #09bb07; }
.share-qq { background-color: #12b7f5; }

/* 页脚样式 */
.site-footer {
    background: var(--wp-white);
    border-top: 1px solid var(--wp-border);
    padding: 2rem 0;
    margin-top: 3rem;
    color: var(--wp-text-light);
}

/* 通知样式 */
.wp-notice {
    border-left: 4px solid var(--wp-primary);
    background-color: #f0f8ff;
    border-color: var(--wp-primary);
}

/* 无文章状态 - 扁平化 */
.no-posts {
    text-align: center;
    padding: 3rem;
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
}

/* 文章元信息一行显示 */
.meta-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.meta-row .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* 响应式设计 */
/* 移动端优化 */
@media (max-width: 768px) {
    .post-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .post-title {
        font-size: 1.25rem;
    }
    
    .post-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    
    .read-more {
        width: 100%;
        justify-content: center;
    }
}

.single-post .post-title {
    font-size: 1.75rem;
}

.sidebar {
    padding-left: 0;
    margin-top: 2rem;
}

.post-meta {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.pagination-wrapper {
    justify-content: center;
}


/* 科技感导航 */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.site-title a {
    background: var(--tech-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.header-nav .nav-link-custom {
    position: relative;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.header-nav .nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--tech-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.header-nav .nav-link-custom:hover::after {
    width: 100%;
}

/* 文章页面样式优化 - 参考思通数科设计 */

/* 文章标签 */
.post-tags {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wp-border);
}

.post-tags i {
    color: var(--tech-primary);
}

.tag-item {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-accent));
    color: white;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 文章操作栏 */
.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--wp-border);
    border-bottom: 1px solid var(--wp-border);
    margin: 2rem 0;
}

.action-left, .action-right {
    display: flex;
    gap: 1rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--wp-border);
    border-radius: 20px;
    color: var(--wp-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--tech-primary);
    color: white;
    border-color: var(--tech-primary);
}

.like-btn.liked {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
}

/* 导航按钮 */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.3);
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(37, 99, 235, 0.4);
    color: white;
}

/* 推荐阅读 */
.recommended-posts {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--wp-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--tech-dark);
}

.section-title i {
    color: var(--tech-primary);
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.recommended-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 4px solid var(--tech-primary);
    transition: all 0.3s ease;
}

.recommended-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px -3px rgba(0, 0, 0, 0.1);
}

.recommended-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.recommended-excerpt {
    color: var(--wp-text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.recommended-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--wp-text-light);
}

/* 作者信息卡片 */
.author-card {
    text-align: center;
    padding: 2rem 1.5rem;
}

.author-avatar {
    margin-bottom: 1rem;
}

.author-avatar i {
    font-size: 4rem;
    color: var(--tech-primary);
}

.author-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.author-bio {
    color: var(--wp-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.author-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* 在第748行附近，为作者卡片添加更具体的选择器 */
.post-detail .author-info {
    text-align: center;
    padding: 2rem;
    background: var(--wp-bg-light);
    border-radius: 12px;
    margin: 2rem 0;
}

.post-detail .author-name {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.post-detail .author-bio {
    color: var(--wp-text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.post-detail .author-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--tech-primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--wp-text-light);
}

/* 热门文章 */
.hot-post-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.hot-post-item:last-child {
    border-bottom: none;
}

.hot-post-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--tech-gradient);
    color: white;
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
}

.hot-post-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
    line-height: 1.4;
}

.hot-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--wp-text-light);
}

/* 技术标签云 */
.tech-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: var(--tech-dark);
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.tech-tag:hover {
    background: var(--tech-gradient);
    color: white;
    transform: translateY(-1px);
}

/* 分享弹窗 */
.share-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--wp-border);
}

.share-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--wp-text-light);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--wp-text);
}

.share-option:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.share-option i {
    font-size: 1.5rem;
}

.share-option.weibo i { color: #e6162d; }
.share-option.wechat i { color: #09bb07; }
.share-option.qq i { color: #12b7f5; }
.share-option.link i { color: var(--tech-primary); }

/* 响应式优化 */
@media (max-width: 768px) {
    .recommended-grid {
        grid-template-columns: 1fr;
    }
    
    .author-stats {
        gap: 1rem;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-left, .action-right {
        justify-content: center;
    }
}
/* 首页现代化样式 - 思通数科风格 */

/* 首页横幅 */
.hero-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-highlight {
    display: block;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    opacity: 0.9;
}

.hero-description {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stats .stat-item {
    text-align: center;
}

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
}

.hero-stats .stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.tech-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-icon:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.tech-icon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.tech-icon span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 技术分类导航 */
.tech-categories {
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: block;
    padding: 2rem;
    background: var(--wp-white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--wp-text);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--tech-primary);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    color: var(--wp-text);
}

.category-card.active {
    border-color: var(--tech-primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(6, 182, 212, 0.05));
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--tech-gradient);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.category-icon i {
    font-size: 1.5rem;
    color: white;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
}

.category-desc {
    color: var(--wp-text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.category-count {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--tech-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 精选文章区域 */
.featured-posts {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--wp-border);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--tech-dark);
    margin: 0;
}

.section-title i {
    color: var(--tech-primary);
}

.section-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--wp-border);
    border-radius: 20px;
    color: var(--wp-text-light);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--tech-primary);
    color: white;
    border-color: var(--tech-primary);
}

/* 文章卡片网格 - 扁平化 */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.post-card {
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 扁平化：减少阴影 */
    transition: all 0.3s ease;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.post-card:hover {
    transform: translateY(-2px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 扁平化：减少阴影 */
}

.post-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem 0;
}

.post-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-accent));
    color: white;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.8rem;
    font-weight: 500;
}

.post-reading-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--wp-text-light);
    font-size: 0.8rem;
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-title {
    margin-bottom: 1rem;
}

.post-card-link {
    color: var(--tech-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.post-card-link:hover {
    color: var(--tech-primary);
}

.post-card-excerpt {
    color: var(--wp-text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.post-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.author-avatar i {
    font-size: 1.2rem;
    color: var(--tech-primary);
}

.author-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--wp-text);
}

.post-date {
    font-size: 0.85rem;
    color: var(--wp-text-light);
}

.post-stats {
    display: flex;
    gap: 1rem;
}

.post-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: var(--wp-text-light);
}

.post-card-footer {
    padding: 0 1.5rem 1.5rem;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2); /* 扁平化：减少阴影 */
}

.read-more-btn:hover {
    transform: translateY(-1px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3); /* 扁平化：减少阴影 */
    color: white;
}

/* 现代化分页 - 扁平化 */
.modern-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--wp-white);
    border-radius: 0; /* 扁平化：去除圆角 */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); /* 扁平化：减少阴影 */
}

.pagination-info {
    color: var(--wp-text-light);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-decoration: none;
    color: var(--wp-text);
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination-number:hover {
    background: var(--tech-primary);
    color: white;
}

.pagination-number.current {
    background: var(--tech-primary);
    color: white;
}

/* 现代化侧边栏 */
.modern-sidebar {
    padding-left: 1rem;
}

.search-widget {
    margin-bottom: 2rem;
}

.search-container {
    position: relative;
    display: flex;
}

.search-input {
    flex: 1;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--wp-border);
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--tech-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.search-btn {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--wp-text-light);
    cursor: pointer;
}

/* 热门标签 */
.trending-tag-cloud {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trending-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-decoration: none;
    color: var(--wp-text);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.trending-tag:hover {
    background: rgba(37, 99, 235, 0.05);
    border-left-color: var(--tech-primary);
    color: var(--wp-text);
}

.trending-tag.hot {
    border-left-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.05);
}

.tag-name {
    font-weight: 500;
}

.tag-count {
    padding: 0.25rem 0.5rem;
    background: var(--tech-primary);
    color: white;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.8rem;
    font-weight: 500;
}

/* 技术资讯 */
.news-item {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    font-size: 0.8rem;
    color: var(--tech-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--tech-dark);
    line-height: 1.4;
}

.news-summary {
    font-size: 0.85rem;
    color: var(--wp-text-light);
    line-height: 1.4;
}

/* 技术社区 */
.community-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.community-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--tech-gradient);
    border-radius: 8px;
}

.stat-icon i {
    color: white;
    font-size: 1.1rem;
}

.stat-info {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tech-dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--wp-text-light);
}

.join-community-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem;
    background: var(--tech-gradient);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.join-community-btn:hover {
    transform: translateY(-2px);
    color: white;
}

/* 无文章状态 */
.no-posts-modern {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--wp-white);
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.no-posts-icon {
    margin-bottom: 1.5rem;
}

.no-posts-icon i {
    font-size: 4rem;
    color: var(--wp-text-light);
}

.no-posts-modern h3 {
    font-size: 1.5rem;
    color: var(--tech-dark);
    margin-bottom: 1rem;
}

.no-posts-modern p {
    color: var(--wp-text-light);
    font-size: 1rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .posts-grid {
        grid-template-columns: 1fr;
    }
    
    .modern-pagination {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modern-sidebar {
        padding-left: 0;
        margin-top: 2rem;
    }
}

/* OCR技术横幅样式 */
.ocr-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 4px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    font-size: 2rem;
    color: #ffd700;
}

.feature-item span {
    font-weight: 500;
}

/* OCR应用场景样式 */
.ocr-categories {
    padding: 60px 0;
    background: #f8f9fa;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.category-card {
    background: white;
    padding: 30px;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-2px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* 扁平化：减少阴影 */
    border-color: #667eea;
}

.category-card i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
}

/* OCR文章卡片样式 */
.ocr-posts {
    margin-bottom: 40px;
}

.posts-grid {
    display: grid;
    gap: 30px;
}

.ocr-post {
    background: white;
    border-radius: 0; /* 扁平化：去除圆角 */
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #667eea;
}

.ocr-post:hover {
    transform: translateY(-1px); /* 扁平化：减少悬停效果 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* 扁平化：减少阴影 */
}

.post-header {
    padding: 25px 25px 15px;
}

.post-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
}

.post-title a:hover {
    color: #667eea;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #666;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta i {
    color: #667eea;
}

.post-content {
    padding: 0 25px 25px;
}

.post-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more-btn {
    background: #667eea;
    color: white;
    padding: 10px 20px;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.read-more-btn:hover {
    background: #5a6fd8;
    color: white;
}

.post-stats {
    display: flex;
    gap: 15px;
    color: #999;
    font-size: 0.9rem;
}

/* OCR侧边栏样式 */
.ocr-sidebar .widget {
    background: white;
    border-radius: 0; /* 扁平化：去除圆角 */
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* 扁平化：减少阴影 */
    border-top: 4px solid #667eea;
}

.widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: #667eea;
    border-radius: 0; /* 扁平化：去除圆角 */
}

/* OCR产品介绍样式 */
.ocr-product .product-info {
    text-align: center;
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 0; /* 扁平化：去除圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

.product-info h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #333;
}

.product-info p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.product-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 0; /* 扁平化：去除圆角 */
    font-size: 0.8rem;
    font-weight: 500;
}

.cta-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-1px); /* 扁平化：减少悬停效果 */
    color: white;
}

/* OCR技术优势样式 */
.advantages-list {
    list-style: none;
    padding: 0;
}

.advantages-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.advantages-list li:last-child {
    border-bottom: none;
}

.advantages-list i {
    color: #4caf50;
    font-size: 1.1rem;
}

/* OCR标签云样式 */
.ocr-tags .tag-link {
    background: #f8f9fa;
    color: #667eea;
    padding: 8px 15px;
    border-radius: 0; /* 扁平化：去除圆角 */
    text-decoration: none;
    font-size: 0.9rem;
    margin: 5px;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.ocr-tags .tag-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-1px); /* 扁平化：减少悬停效果 */
}

.ocr-tags .tag-link.hot {
    background: #ff6b6b;
    color: white;
    position: relative;
}

.ocr-tags .tag-link.hot::after {
    content: '🔥';
    margin-left: 5px;
}

/* OCR案例展示样式 */
.cases-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.case-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 0; /* 扁平化：去除圆角 */
    transition: background 0.3s ease;
}

.case-item:hover {
    background: #e3f2fd;
}

.case-icon {
    width: 50px;
    height: 50px;
    background: #667eea;
    border-radius: 0; /* 扁平化：去除圆角 */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.case-icon i {
    color: white;
    font-size: 1.2rem;
}

.case-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.case-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

/* 水平卡片布局 */
.post-card-horizontal {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 图片容器 */
.post-image-container {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
}

.post-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-preview-image:hover {
    transform: scale(1.05);
}

/* 占位图片 */
.post-placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2rem;
}

/* 内容容器 */
.post-content-container {
    flex: 1;
    min-width: 0; /* 防止内容溢出 */
}

.post-content-container .post-title {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
    line-height: 1.3;
}

.post-content-container .post-meta {
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.post-content-container .post-excerpt {
    margin-bottom: 0;
}

.post-content-container .post-excerpt p {
    margin: 0;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* OCR响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-features {
        gap: 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-actions {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .product-features {
        flex-direction: column;
        align-items: center;
    }
    
    .post-card-horizontal {
        flex-direction: column;
    }
    
    .post-image-container {
        width: 100%;
        height: 200px;
    }
}