/* 软件下载网站绿色主题样式 */

/* 主色调定义 */
:root {
    --primary-green: #4CAF50;
    --light-green: #F0F9EB;
    --dark-green: #2E7D32;
    --bg-light-green: #F0F9EB;
    --text-gray: #9E9E9E;
    --border-light: #E0E0E0;
    --white: #ffffff;
    --shadow: rgba(0,0,0,0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* 面包屑导航 */
.breadcrumbs {
    padding: 15px 0;
    background: var(--bg-light-green);
    margin-bottom: 20px;
    border-radius: 5px;
}

.breadcrumbs a {
    color: var(--primary-green);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--dark-green);
}

/* 增强的面包屑导航 */
.breadcrumbs-enhanced {
    background: linear-gradient(135deg, var(--light-green), #E8F5E8);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--dark-green);
    text-decoration: none;
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    color: var(--dark-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.breadcrumb-separator {
    color: #A5D6A7;
    font-size: 12px;
    margin: 0 4px;
    opacity: 0.7;
}

/* 内容页面特殊优化 */
.breadcrumb-item a i {
    font-size: 13px;
    opacity: 0.8;
}

.breadcrumb-item.active i {
    color: var(--primary-green);
    font-size: 14px;
}

/* 针对长标题的处理 */
.breadcrumb-item.active {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .breadcrumbs-enhanced {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .breadcrumbs-container {
        font-size: 14px;
        gap: 6px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 3px 6px;
        font-size: 14px;
    }
    
    .breadcrumb-item.active {
        max-width: 200px;
    }
    
    .breadcrumb-separator {
        font-size: 11px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs-enhanced {
        padding: 10px 12px;
        margin-bottom: 16px;
    }
    
    .breadcrumbs-container {
        font-size: 13px;
        gap: 4px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 2px 4px;
        font-size: 13px;
    }
    
    .breadcrumb-item.active {
        max-width: 150px;
    }
    
    .breadcrumb-item a i,
    .breadcrumb-item.active i {
        font-size: 12px;
    }
    
    .breadcrumb-separator {
        font-size: 10px;
        margin: 0 1px;
    }
    
    /* 移动端可以换行显示 */
    .breadcrumbs-container {
        flex-wrap: wrap;
        line-height: 1.5;
    }
}

/* 软件详情页样式 */
.software-detail {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 30px;
    margin-bottom: 30px;
}

.software-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.software-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f7, #e5e5e7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.default-icon {
    font-size: 24px;
    color: #8e8e93;
}

.software-main-info {
    flex: 1;
    min-width: 0;
}

.software-name {
    margin: 0 0 2px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.software-name a {
    color: #1d1d1f;
    text-decoration: none;
}

.software-name a:hover {
    color: #007aff;
}

.software-vendor {
    color: #8e8e93;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 400;
}

/* 评分系统 */
.software-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.stars-display {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars-display .star {
    color: #ff9800;
    font-size: 18px;
    line-height: 1;
}

.rating-text {
    color: #2e7d32;
    font-weight: 600;
    margin-left: 8px;
    font-size: 16px;
}

.download-stats-text {
    color: #66bb6a;
    font-size: 14px;
    font-weight: 500;
}

/* 获取按钮 - 苹果风格 */
.software-actions {
    flex-shrink: 0;
}

.btn-get, .btn-view {
    background: #007aff;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    min-width: 72px;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-view {
    background: #f2f2f7;
    color: #007aff;
}

.btn-get:hover {
    background: #0056cc;
    color: white;
    text-decoration: none;
    transform: scale(0.98);
}

.btn-view:hover {
    background: #e5e5ea;
    color: #007aff;
    text-decoration: none;
}

/* 软件描述 */
.software-description {
    color: #8e8e93;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 400;
}

/* 截图轮播 - 苹果风格 */
.software-screenshots {
    margin-bottom: 12px;
}

.screenshots-carousel {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.screenshot-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f2f2f7;
}

.screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screenshot-thumb img:hover {
    transform: scale(1.05);
}

/* 软件元信息 - 苹果风格 */
.software-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-item {
    color: #8e8e93;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
}

.meta-item i {
    font-size: 11px;
    opacity: 0.7;
}

.meta-item.environment {
    color: #007aff;
}

.meta-item.language {
    color: #ff9500;
}

.meta-item.size {
    color: #8e8e93;
}

.meta-item.version {
    color: #34c759;
}

/* 详情页横向滑动截图 */
.software-screenshots h3 {
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.screenshots-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.screenshots-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
    padding: 0;
}

.screenshot-slide {
    flex-shrink: 0;
    width: 200px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screenshot-slide img:hover {
    transform: scale(1.02);
}

/* 导航按钮 */
.screenshots-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    right: -20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.nav-btn i {
    color: #1d1d1f;
    font-size: 14px;
}

/* 移除旧的标签样式 */
.software-badges,
.software-version,
.software-platform {
    display: none;
}

/* 软件卡片网格 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 软件卡片设计 - 应用商店风格 */
.software-card {
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e5e5e7;
    transition: none;
    overflow: visible;
    padding: 20px 0;
}

.software-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e5e7;
}

.software-card-inner {
    padding: 0;
}

/* 软件信息区域 */
.software-info {
    text-align: center;
}

.software-title {
    font-size: 2.5em;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.software-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.software-meta span {
    background: var(--bg-light-green);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--dark-green);
    font-weight: 500;
}

.software-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.software-meta a:hover {
    color: var(--dark-green);
}

.download-section {
    margin-top: 20px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

.download-btn i {
    font-size: 20px;
}

/* 软件标签和徽章 */
.software-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.software-version {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.software-platform {
    display: inline-block;
    background: #FF9800;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.software-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 软件元信息 */
.software-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.software-meta span {
    color: var(--gray-text);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.software-meta i {
    font-size: 12px;
}

.software-meta .size {
    color: #6c757d;
}

.software-meta .language {
    color: #007bff;
}

.software-meta .vendor {
    color: #6f42c1;
}

.software-meta .downloads {
    color: var(--primary-green);
    font-weight: 500;
}

.software-meta .date {
    color: #dc3545;
}

/* 操作按钮区域 */
.software-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.btn-detail, .btn-download {
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-detail {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-detail:hover {
    background: #eeeeee;
    color: #333;
    transform: translateY(-1px);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--dark-green), #1B5E20);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    color: var(--white);
}

.btn-download i {
    font-size: 16px;
}

/* 查看更多按钮 */
.software-more, .btn-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-more:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* 下载统计显示 */
.download-stats {
    background: linear-gradient(135deg, #E8F5E8, var(--light-green));
    padding: 8px 12px;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.download-stats span {
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 资讯列表样式 */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.news-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.news-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-title {
    margin-bottom: 15px;
}

.news-title a {
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3em;
}

.news-title a:hover {
    color: var(--primary-green);
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.news-meta a:hover {
    color: var(--dark-green);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* 分类页面头部 */
.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light-green);
    border-radius: 8px;
}

.category-title {
    color: var(--dark-green);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 更多按钮 */
.software-more, .btn-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-more:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* 图片灯箱 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.lightbox .close:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 分页样式 */
.pagination-wrapper {
    text-align: center;
    margin: 40px 0;
}

.pagination {
    display: inline-flex;
    gap: 10px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-green);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
}

.pagination .current {
    background: var(--primary-green);
    color: var(--white);
}

/* 空状态 */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    font-size: 1.2em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .software-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .software-showcase-card {
        padding: 10px;
        gap: 8px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 42px;
        height: 42px;
    }
    
    .default-software-icon {
        font-size: 16px;
    }
    
    .software-name {
        font-size: 14px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 11px;
    }
    
    .software-meta-display {
        font-size: 10px;
        gap: 5px;
    }
    
    .btn-download-showcase {
        padding: 3px 10px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .home-software-showcase,
    .home-news-center {
        padding: 40px 0;
    }
    
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .software-showcase-card {
        padding: 10px;
        gap: 8px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .default-software-icon {
        font-size: 15px;
    }
    
    .software-name {
        font-size: 13px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 11px;
    }
    
    .software-meta-display {
        font-size: 10px;
        gap: 4px;
    }
    
    .btn-download-showcase {
        padding: 3px 10px;
        font-size: 10px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 15px;
        height: 140px;
    }
    
    .news-card {
        min-height: 280px;
    }
    
    .article-thumbnail {
        height: 50px;
    }
    
    .article-title {
        font-size: 9px;
    }
    
    .article-excerpt {
        font-size: 7px;
    }
    
    .news-thumbnail {
        height: 120px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    .btn-view-more {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }
    
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .software-showcase-card {
        padding: 8px;
        gap: 6px !important;
        flex-direction: column;
        text-align: center;
  
    }
    
    .software-info-content {
        align-items: center;
        text-align: center;
        gap: 1px;
    }
    
    .software-name {
        white-space: normal;
        text-align: center;
        font-size: 12px;
    }
    
    .software-meta-display {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 9px;
        gap: 3px;
    }
    
    .download-action {
        margin-top: 3px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 10px;
    }
    
    .btn-download-showcase {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    .news-card {
        min-height: 250px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    
    .default-software-icon {
        font-size: 14px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 12px;
        height: 120px;
    }
    
    .article-thumbnail {
        height: 40px;
    }
    
    .article-title {
        font-size: 8px;
    }
    
    .article-excerpt {
        font-size: 6px;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn-view-more {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px!important;
    }
    
    .software-showcase-card {
        padding: 2px;
        gap: 4px!important;
        max-width: 136px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 32px;
        height: 32px;
        border-radius: 5px;
    }
    
    .default-software-icon {
        font-size: 12px;
    }
    
    .software-name {
        font-size: 10px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 9px;
    }
    
    .software-meta-display {
        font-size: 8px;
        gap: 2px;
    }
    
    .btn-download-showcase {
        padding: 2px 6px;
        font-size: 8px;
    }
    
    .download-action {
        margin-top: 2px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 10px;
        height: 100px;
    }
}

/* 搜索模块样式 */
.home-search-module {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.search-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 搜索标题区域 */
.search-header-section {
    margin-bottom: 40px;
}

.search-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.search-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 搜索表单区域 */
.search-form-section {
    margin-bottom: 30px;
}

.enhanced-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-container {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #9E9E9E;
    font-size: 18px;
    z-index: 3;
}

.search-field-enhanced {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    padding: 15px 20px 15px 50px;
    border-radius: 25px;
}

.search-field-enhanced::placeholder {
    color: #9E9E9E;
    font-weight: 400;
}

.search-submit-enhanced {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.search-submit-enhanced:hover {
    background: linear-gradient(135deg, var(--dark-green), #1B5E1F);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* 热门关键词区域 */
.hot-keywords-section {
    margin-bottom: 30px;
}

.hot-keywords-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hot-keywords-label .fa-fire {
    color: #ff6b35;
    animation: pulse 2s infinite;
}

.hot-keywords-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hot-keyword-tag {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hot-keyword-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 快速分类区域 */
.quick-categories-section {
    margin-top: 40px;
}

.categories-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.category-quick-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.category-quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    color: white;
    font-size: 16px;
}

.category-info {
    flex: 1;
    text-align: left;
}

.category-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.category-count {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .home-search-module {
        padding: 60px 0;
        min-height: 350px;
        background-attachment: scroll;
    }
    
    .search-main-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .search-subtitle {
        font-size: 1rem;
    }
    
    .search-input-container {
        flex-direction: column;
        padding: 10px;
        border-radius: 20px;
    }
    
    .search-input-wrapper {
        margin-bottom: 10px;
    }
    
    .search-field-enhanced {
        padding: 12px 20px 12px 45px;
        font-size: 15px;
    }
    
    .search-submit-enhanced {
        width: 100%;
        padding: 12px 20px;
        border-radius: 15px;
        min-width: auto;
    }
    
    .hot-keywords-list {
        gap: 8px;
    }
    
    .hot-keyword-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .category-quick-link {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .home-search-module {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .search-content-wrapper {
        padding: 0 15px;
    }
    
    .search-main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .search-subtitle {
        font-size: 0.9rem;
    }
    
    .search-header-section {
        margin-bottom: 30px;
    }
    
    .search-form-section {
        margin-bottom: 25px;
    }
    
    .search-field-enhanced {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 15px;
        font-size: 16px;
    }
    
    .search-submit-enhanced {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .category-quick-link {
        padding: 10px;
        gap: 10px;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .category-count {
        font-size: 11px;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 无背景图时的纯色背景样式 */
.home-search-module:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.home-search-module:not([style*="background-image"]) .search-overlay {
    display: none;
}

/* 查看更多按钮 */
.showcase-more, .news-more {
    text-align: center;
    margin-top: 30px;
}

.btn-view-more {
    background: transparent;
    color: #4caf50;
    padding: 12px 24px;
    border: 2px solid #4caf50;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-view-more:hover {
    background: #4caf50;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   边栏模块样式
======================================== */

/* 边栏基础样式 */
.widget-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-radius: 0;
}

.widget-content {
    padding: 0;
}

.widget-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-content li {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.widget-content li:last-child {
    border-bottom: none;
}

.widget-content li:hover {
    background: var(--light-green);
}

/* 边栏软件样式 */
.sidebar-software {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
}

.sidebar-software-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-default-software-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 8px;
}

.sidebar-default-software-icon i {
    font-size: 18px;
}

.sidebar-software-info {
    flex: 1;
    min-width: 0;
}

.sidebar-software-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.sidebar-software-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-software-title a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.sidebar-software-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sidebar-software-meta span {
    background: var(--light-green);
    color: var(--dark-green);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.software-lang {
    background: #e3f2fd !important;
    color: #1565c0 !important;
}

.software-size {
    background: #fff3e0 !important;
    color: #ef6c00 !important;
}

/* 边栏文章样式 */
.sidebar-article {
    padding: 15px 20px;
}

.sidebar-article-content {
    width: 100%;
}

.sidebar-article-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.sidebar-article-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article-title a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.sidebar-article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-article-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
}

.article-category {
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 6px;
    border-radius: 3px;
}

.article-category i {
    font-size: 10px;
}

.article-date {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 2px 6px;
    border-radius: 3px;
}

.article-date i {
    font-size: 10px;
}

.article-comments {
    background: var(--light-green);
    color: var(--dark-green);
    padding: 2px 6px;
    border-radius: 3px;
}

.article-comments i {
    font-size: 10px;
}

.sidebar-article-date,
.sidebar-article-views {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* 标签模块样式 */
.widget-tags {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-tags .widget-title {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-radius: 0;
}

.widget-tags .widget-content {
    padding: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tags a:hover {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* 搜索表单优化 */
.search-form-enhanced {
    margin: 0;
}

.search-input-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background: white;
}

.search-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.search-field-enhanced {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #333;
}

.search-field-enhanced::placeholder {
    color: #999;
}

.search-submit-enhanced {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.search-submit-enhanced:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

.search-submit-enhanced i {
    font-size: 14px;
}

/* 修复搜索表单在widget中的样式 */
.widget-item .search-form-enhanced .widget-content {
    padding: 20px;
}

.widget-item .search-input-group {
    width: 100%;
    box-sizing: border-box;
}

/* 侧边栏响应式优化 */
@media (max-width: 768px) {
    .widget-item {
        margin-bottom: 16px;
    }
    
    .widget-title {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .sidebar-software {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .sidebar-software-icon {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-default-software-icon i {
        font-size: 16px;
    }
    
    .sidebar-software-title {
        font-size: 13px;
    }
    
    .sidebar-software-meta span {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .sidebar-article {
        padding: 12px 16px;
    }
    
    .sidebar-article-title {
        font-size: 13px;
    }
    
    .sidebar-article-meta {
        gap: 8px;
    }
    
    .sidebar-article-meta span {
        font-size: 10px;
    }
    
    .article-category i,
    .article-date i,
    .article-comments i {
        font-size: 9px;
    }
    
    .sidebar-article-date,
    .sidebar-article-views {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-title {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .sidebar-software {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .sidebar-software-icon {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-software-title {
        font-size: 12px;
    }
    
    .sidebar-article {
        padding: 10px 14px;
    }
    
    .sidebar-article-title {
        font-size: 12px;
    }
}

/* ========================================
   软件详情页完整样式
======================================== */

/* 软件详情页 - 严格按照截图设计 */
.software-main-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    background: #fff;
}

.software-icon-big {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.software-icon-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-main-info {
    flex: 1;
}

.app-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.app-developer {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.app-rating-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ff9800;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-score {
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}

.download-count {
    color: #666;
    font-size: 14px;
}

/* 软件详情网格 */
.software-details-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 20px 0;
    background: #fff;
}

.detail-item {
    text-align: center;
    padding: 15px 10px;
}

.detail-label {
    display: block;
    color: #4caf50;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.detail-value {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* 下载按钮 */
.download-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-download-green {
    background: #4caf50;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    transition: all 0.2s ease;
    border: none;
    flex: 1;
    justify-content: center;
    min-width: 160px;
    max-width: 220px;
}

.btn-download-green:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-website {
    background: transparent;
    color: #4caf50;
    padding: 12px 20px;
    border: 1px solid #4caf50;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 140px;
    max-width: 200px;
}

.btn-website:hover {
    background: #4caf50;
    color: white;
    text-decoration: none;
}

/* 应用预览 */
.app-screenshots {
    margin: 30px 0;
}

.section-title {
    color: #2e7d32;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: inline-block;
}

.screenshots-scroll {
    position: relative;
    background: #f8f9fa;
    padding: 20px 60px;
    border-radius: 10px;
    overflow: hidden;
}

.screenshots-list {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.screenshot-box {
    flex-shrink: 0;
    width: 200px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.screenshot-box:hover {
    transform: scale(1.02);
}

.screenshot-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(96, 96, 96, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    line-height: 1;
}

.scroll-btn:hover {
    background: rgba(64, 64, 64, 1);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.scroll-btn.prev {
    left: 15px;
}

.scroll-btn.next {
    right: 15px;
}

.scroll-btn.prev::before {
    content: '❮';
    font-size: 16px;
}

.scroll-btn.next::before {
    content: '❯';
    font-size: 16px;
}

/* 禁用状态的按钮 */
.scroll-btn:disabled,
.scroll-btn[style*="opacity: 0.3"] {
    opacity: 0.3 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* 软件介绍 */
.app-description {
    margin: 30px 0;
}

.intro-text {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    margin: 15px 0;
    padding: 15px;
    background: #f8fff8;
    border-left: 4px solid #4caf50;
    border-radius: 0 8px 8px 0;
}

.content-text {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.content-text p {
    margin-bottom: 15px;
}

/* ========================================
   评分系统 - 苹果风格
======================================== */

/* 软件评分 */
.software-ratings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.star {
    color: #d1d1d6;
    font-size: 12px;
    line-height: 1;
}

.star.filled {
    color: #ff9500;
}

.star.half {
    color: #ff9500;
}

.rating-number {
    color: #8e8e93;
    font-size: 12px;
    margin-left: 4px;
    font-weight: 500;
}

.download-count {
    color: #8e8e93;
    font-size: 11px;
    font-weight: 400;
}

/* 分类页面软件评分 */
.software-info .software-rating {
    color: #ff9800;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
    display: block;
}

/* ========================================
   新闻中心模块样式 - 紧凑版
======================================== */

.home-news-center {
    padding: 60px 0;
    background: #fff;
}

.news-list-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* 新闻条目 */
.news-item-compact {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    min-height: 90px;
}

.news-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 有图片的新闻项 */
.news-item-compact:has(.news-thumbnail-compact) {
    display: flex;
    align-items: stretch;
}

/* 图片区域 */
.news-thumbnail-compact {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-image-compact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-compact:hover .news-image-compact {
    transform: scale(1.05);
}

/* 分类标签 */
.news-category-badge-compact {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 4px;
    padding: 2px 6px;
}

.news-category-badge-compact a {
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
}

/* 内容区域 */
.news-content-compact {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-content-compact.with-image {
    padding: 12px 15px;
}

.news-content-compact.no-image {
    padding: 15px 20px;
}

/* 标题 */
.news-title-compact {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.news-title-compact a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-compact a:hover {
    color: #4caf50;
}

/* 元信息 */
.news-meta-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-meta-compact span {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #999;
}

.news-meta-compact i {
    font-size: 10px;
}

.news-date-compact {
    color: #666 !important;
}

.news-category-compact a {
    color: #4caf50;
    text-decoration: none;
}

.news-category-compact a:hover {
    color: #2e7d32;
}

.news-views-compact {
    color: #999 !important;
}

/* 无图片文章的特殊样式 */
.news-item-compact:has(.no-image) {
    min-height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .news-item-compact {
        min-height: 80px;
    }
    
    .news-thumbnail-compact {
        width: 100px;
    }
    
    .news-content-compact.with-image {
        padding: 10px 12px;
    }
    
    .news-content-compact.no-image {
        padding: 12px 15px;
    }
    
    .news-title-compact {
        font-size: 14px;
    }
    
    .news-meta-compact span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .news-item-compact {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-thumbnail-compact {
        width: 100%;
        height: 120px;
    }
    
    .news-content-compact.with-image,
    .news-content-compact.no-image {
        padding: 12px;
    }
    
    .news-title-compact {
        font-size: 13px;
    }
    
    .news-meta-compact {
        gap: 6px;
    }
}

/* ========================================
   通用模块头部样式
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2e7d32;
    margin: 0 0 15px 0;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   软件展示模块
======================================== */

.home-software-showcase {
    padding: 30px 0;
    background: linear-gradient(135deg, #f8fff8, #f0f9f0);
}

.software-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    gap: 10px;
}

/* 软件展示卡片 */
.software-showcase-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.software-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.software-icon-wrapper {
    flex-shrink: 0;
}

/* 为软件图标链接添加悬停效果 */
.software-icon-wrapper a {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.software-icon-wrapper a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.software-icon-wrapper a:hover .software-icon {
    transform: scale(1.05);
}

.software-icon-wrapper a:hover .default-software-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #66bb6a, #388e3c);
}

.software-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.default-software-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.software-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.software-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-name a {
    color: inherit;
    text-decoration: none;
}

.software-name a:hover {
    color: #4caf50;
}

/* 评分显示 */
.software-rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 1px 0;
}

.rating-stars {
    color: #ff9800;
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.rating-text {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

/* 软件元信息 */
.software-meta-display {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 11px;
    margin: 1px 0;
}

.software-meta-display span {
    display: flex;
    align-items: center;
    gap: 2px;
}

.meta-size {
    color: #666;
}

.meta-date {
    color: #999;
}

.download-action {
    margin-top: 4px;
}

.btn-download-showcase {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    font-size: 11px;
}

.btn-download-showcase:hover {
    background: #388e3c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download-showcase i {
    font-size: 10px;
}

/* 文章展示卡片 */
.article-showcase-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(46, 125, 50, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.08);
    height: 100px; /* 固定高度 */
    display: flex;
    flex-direction: column;
}

.article-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.article-thumbnail {
    position: relative;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-showcase-card:hover .article-image {
    transform: scale(1.05);
}

.default-article-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}

.article-content {
    padding: 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-title {
    font-size: 10px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #2e7d32;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #4caf50;
}

.article-excerpt {
    color: #666;
    font-size: 8px;
    line-height: 1.2;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta .article-date {
    display: none; /* 隐藏日期，保持简洁 */
}

/* ========================================
   移动端边栏适配
======================================== */

@media (max-width: 768px) {
    .widget-item {
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .widget-title {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .sidebar-software {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .sidebar-software-icon {
        width: 35px;
        height: 35px;
        border-radius: 6px;
    }
    
    .sidebar-default-software-icon i {
        font-size: 16px;
    }
    
    .sidebar-software-title {
        font-size: 13px;
    }
    
    .sidebar-software-meta span {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .sidebar-article {
        padding: 12px 15px;
    }
    
    .sidebar-article-title {
        font-size: 13px;
    }
    
    .sidebar-article-meta {
        gap: 8px;
    }
    
    .sidebar-article-meta span {
        font-size: 10px;
    }
    
    .article-category i,
    .article-date i,
    .article-comments i {
        font-size: 9px;
    }
    
    .sidebar-article-date,
    .sidebar-article-views {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-title {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .sidebar-software {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .sidebar-software-icon {
        width: 32px;
        height: 32px;
    }
    
    .sidebar-software-title {
        font-size: 12px;
    }
    
    .sidebar-article {
        padding: 10px 12px;
    }
    
    .sidebar-article-title {
        font-size: 12px;
    }
}

/* 移动端标签模块适配 */
@media (max-width: 768px) {
    .widget-tags {
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .widget-tags .widget-title {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .widget-tags .widget-content {
        padding: 15px;
    }
    
    .tags {
        gap: 6px;
    }
    
    .tags a {
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-tags .widget-title {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .widget-tags .widget-content {
        padding: 12px;
    }
    
    .tags {
        gap: 5px;
    }
    
    .tags a {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ========================================
   软件详情页移动端适配
======================================== */

@media (max-width: 768px) {
    .software-main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .software-icon-big {
        width: 80px;
        height: 80px;
    }
    
    .app-title {
        font-size: 20px;
    }
    
    .software-details-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 15px 0;
    }
    
    .detail-item {
        padding: 12px 8px;
    }
    
    .detail-label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .download-action {
        text-align: center;
        margin: 20px 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-download-green {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        padding: 15px 20px;
        max-width: none;
        flex: none;
    }
    
    .btn-website {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        max-width: none;
        flex: none;
    }
    
    .screenshot-box {
        width: 160px;
        height: 280px;
    }
    
    .screenshots-scroll {
        padding: 12px 40px;
    }
    
    .app-screenshots {
        margin: 20px 0;
    }
    
    .app-description {
        margin: 20px 0;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .intro-text {
        padding: 12px;
        font-size: 14px;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .software-main-header {
        padding: 12px 0;
        gap: 12px;
    }
    
    .software-icon-big {
        width: 70px;
        height: 70px;
    }
    
    .app-title {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .app-developer {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .app-rating-line {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .rating-stars {
        font-size: 14px;
    }
    
    .rating-score {
        font-size: 14px;
    }
    
    .download-count {
        font-size: 13px;
    }
    
    .software-details-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 12px 0;
    }
    
    .detail-item {
        padding: 10px 4px;
    }
    
    .detail-label {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .detail-value {
        font-size: 11px;
    }
    
    .download-action {
        margin: 15px 0;
    }
    
    .btn-download-green {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-website {
        padding: 11px 20px;
        font-size: 13px;
    }
    
    .screenshot-box {
        width: 140px;
        height: 250px;
    }
    
    .screenshots-scroll {
        padding: 12px;
    }
    
    .app-screenshots {
        margin: 20px 0;
    }
    
    .app-description {
        margin: 20px 0;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .intro-text {
        padding: 10px;
        font-size: 13px;
        margin: 8px 0;
    }
}

/* ========================================
   栏目列表页面样式 - 紧凑版
======================================== */

/* 软件列表页面 */
.software-list-page {
    margin-bottom: 40px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

/* 软件卡片设计 - 横向紧凑布局 */
.software-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 8px;
    min-height: 75px;
}

.software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.software-card-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.software-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 6px;
}

/* 软件信息区域 */
.software-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.software-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.software-name a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.software-name a:hover {
    color: var(--primary-green);
}

.software-version {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 500;
    margin: 1px 0;
    line-height: 1;
    min-width: auto;
    width: auto;
}

.software-rating {
    color: #ff9800;
    font-size: 10px;
    margin: 1px 0;
    font-weight: 500;
}

.software-description {
    color: #666;
    font-size: 10px;
    line-height: 1.3;
    margin: 1px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-meta {
    display: flex;
    gap: 4px;
    margin: 1px 0;
    flex-wrap: wrap;
}

.software-meta span {
    color: #999;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 1px;
}

.software-meta .size {
    color: #666;
}

.software-actions {
    display: flex;
    gap: 4px;
    margin-top: 3px;
}

.btn-detail, .btn-download {
    padding: 2px 6px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}

.btn-detail {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-detail:hover {
    background: #eeeeee;
    color: #333;
    text-decoration: none;
}

.btn-download {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 1px 3px rgba(76, 175, 80, 0.3);
}

.btn-download:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download i {
    font-size: 8px;
}

/* 新闻列表页面 */
.news-list-page {
    margin-bottom: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

/* 新闻条目 - 横向紧凑布局 */
.news-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.news-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--primary-green);
}

.news-meta {
    display: flex;
    gap: 12px;
    margin: 4px 0;
    flex-wrap: wrap;
}

.news-meta span {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.news-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.news-meta a:hover {
    color: var(--dark-green);
}

.news-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-actions {
    margin-top: 8px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .software-card {
        padding: 10px;
        gap: 10px;
        min-height: 80px;
    }
    
    .software-icon {
        width: 50px;
        height: 50px;
    }
    
    .default-icon {
        font-size: 20px;
    }
    
    .software-name {
        font-size: 15px;
    }
    
    .software-description {
        font-size: 11px;
    }
    
    .news-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .software-card {
        padding: 8px;
        gap: 8px;
        min-height: 70px;
    }
    
    .software-icon {
        width: 45px;
        height: 45px;
    }
    
    .software-name {
        font-size: 14px;
    }
    
    .software-meta {
        gap: 6px;
    }
    
    .software-meta span {
        font-size: 10px;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    .news-meta span {
        font-size: 11px;
    }
}

/* 软件卡片设计 - 参考优秀下载站风格 */
.software-card {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    min-height: 90px;
}

.software-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.software-card-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.software-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 7px;
}

/* 软件下载网站绿色主题样式 */

/* 主色调定义 */
:root {
    --primary-green: #4CAF50;
    --light-green: #F0F9EB;
    --dark-green: #2E7D32;
    --bg-light-green: #F0F9EB;
    --text-gray: #9E9E9E;
    --border-light: #E0E0E0;
    --white: #ffffff;
    --shadow: rgba(0,0,0,0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* 面包屑导航 */
.breadcrumbs {
    padding: 15px 0;
    background: var(--bg-light-green);
    margin-bottom: 20px;
    border-radius: 5px;
}

.breadcrumbs a {
    color: var(--primary-green);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--dark-green);
}

/* 增强的面包屑导航 */
.breadcrumbs-enhanced {
    background: linear-gradient(135deg, var(--light-green), #E8F5E8);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.breadcrumb-item a:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--dark-green);
    text-decoration: none;
    transform: translateY(-1px);
}

.breadcrumb-item.active {
    color: var(--dark-green);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.breadcrumb-separator {
    color: #A5D6A7;
    font-size: 12px;
    margin: 0 4px;
    opacity: 0.7;
}

/* 内容页面特殊优化 */
.breadcrumb-item a i {
    font-size: 13px;
    opacity: 0.8;
}

.breadcrumb-item.active i {
    color: var(--primary-green);
    font-size: 14px;
}

/* 针对长标题的处理 */
.breadcrumb-item.active {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .breadcrumbs-enhanced {
        padding: 12px 16px;
        margin-bottom: 20px;
    }
    
    .breadcrumbs-container {
        font-size: 14px;
        gap: 6px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 3px 6px;
        font-size: 14px;
    }
    
    
    .breadcrumb-separator {
        font-size: 11px;
        margin: 0 2px;
    }
}

@media (max-width: 480px) {
    .breadcrumbs-enhanced {
        padding: 10px 12px;
        margin-bottom: 16px;
    }
    
    .breadcrumbs-container {
        font-size: 13px;
        gap: 4px;
    }
    
    .breadcrumb-item a,
    .breadcrumb-item.active {
        padding: 2px 4px;
        font-size: 13px;
    }
    

    
    .breadcrumb-item a i,
    .breadcrumb-item.active i {
        font-size: 12px;
    }
    
    .breadcrumb-separator {
        font-size: 10px;
        margin: 0 1px;
    }
    
    /* 移动端可以换行显示 */
    .breadcrumbs-container {
        flex-wrap: wrap;
        line-height: 1.5;
    }
}

/* 软件详情页样式 */
.software-detail {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    padding: 15px;
    margin-bottom: 30px;
}

.software-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.software-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f7, #e5e5e7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.default-icon {
    font-size: 24px;
    color: #8e8e93;
}

.software-main-info {
    flex: 1;
    min-width: 0;
}

.software-name {
    margin: 0 0 2px 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.software-name a {
    color: #1d1d1f;
    text-decoration: none;
}

.software-name a:hover {
    color: #007aff;
}

.software-vendor {
    color: #8e8e93;
    font-size: 13px;
    margin-bottom: 4px;
    font-weight: 400;
}

/* 评分系统 */
.software-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.stars-display {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stars-display .star {
    color: #ff9800;
    font-size: 18px;
    line-height: 1;
}

.rating-text {
    color: #2e7d32;
    font-weight: 600;
    margin-left: 8px;
    font-size: 16px;
}

.download-stats-text {
    color: #66bb6a;
    font-size: 14px;
    font-weight: 500;
}

/* 获取按钮 - 苹果风格 */
.software-actions {
    flex-shrink: 0;
}

.btn-get, .btn-view {
    background: #007aff;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    min-width: 72px;
    text-align: center;
    transition: all 0.2s ease;
}

.btn-view {
    background: #f2f2f7;
    color: #007aff;
}

.btn-get:hover {
    background: #0056cc;
    color: white;
    text-decoration: none;
    transform: scale(0.98);
}

.btn-view:hover {
    background: #e5e5ea;
    color: #007aff;
    text-decoration: none;
}

/* 软件描述 */
.software-description {
    color: #8e8e93;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 400;
}

/* 截图轮播 - 苹果风格 */
.software-screenshots {
    margin-bottom: 12px;
}

.screenshots-carousel {
    display: flex;
    gap: 8px;
    overflow: hidden;
}

.screenshot-thumb {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f2f2f7;
}

.screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screenshot-thumb img:hover {
    transform: scale(1.05);
}

/* 软件元信息 - 苹果风格 */
.software-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-item {
    color: #8e8e93;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 400;
}

.meta-item i {
    font-size: 11px;
    opacity: 0.7;
}

.meta-item.environment {
    color: #007aff;
}

.meta-item.language {
    color: #ff9500;
}

.meta-item.size {
    color: #8e8e93;
}

.meta-item.version {
    color: #34c759;
}

/* 详情页横向滑动截图 */
.software-screenshots h3 {
    color: #1d1d1f;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.screenshots-container {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.screenshots-slider {
    display: flex;
    gap: 16px;
    transition: transform 0.3s ease;
    padding: 0;
}

.screenshot-slide {
    flex-shrink: 0;
    width: 200px;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f2f7;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.screenshot-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: all 0.2s ease;
}

.screenshot-slide img:hover {
    transform: scale(1.02);
}

/* 导航按钮 */
.screenshots-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -20px;
    right: -20px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.nav-btn i {
    color: #1d1d1f;
    font-size: 14px;
}

/* 移除旧的标签样式 */
.software-badges,
.software-version,
.software-platform {
    display: none;
}

/* 软件卡片网格 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* 软件卡片设计 - 应用商店风格 */
.software-card {
    background: var(--white);
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #e5e5e7;
    transition: none;
    overflow: visible;
    padding: 20px 0;
}

.software-card:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e5e7;
}

.software-card-inner {
    padding: 0;
}

/* 软件信息区域 */
.software-info {
    text-align: center;
}

.software-title {
    font-size: 2.5em;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.software-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.software-meta span {
    background: var(--bg-light-green);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: var(--dark-green);
    font-weight: 500;
}

.software-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.software-meta a:hover {
    color: var(--dark-green);
}

.download-section {
    margin-top: 20px;
}

.download-btn {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

.download-btn i {
    font-size: 20px;
}

/* 软件标签和徽章 */
.software-badges {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.software-version {
    display: inline-block;
    background: var(--primary-green);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.software-platform {
    display: inline-block;
    background: #FF9800;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.software-description {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 软件元信息 */
.software-meta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.software-meta span {
    color: var(--gray-text);
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.software-meta i {
    font-size: 12px;
}

.software-meta .size {
    color: #6c757d;
}

.software-meta .language {
    color: #007bff;
}

.software-meta .vendor {
    color: #6f42c1;
}

.software-meta .downloads {
    color: var(--primary-green);
    font-weight: 500;
}

.software-meta .date {
    color: #dc3545;
}

/* 操作按钮区域 */
.software-actions {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.btn-detail, .btn-download {
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-detail {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-detail:hover {
    background: #eeeeee;
    color: #333;
    transform: translateY(-1px);
}

.btn-download {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: var(--white);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--dark-green), #1B5E20);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    color: var(--white);
}

.btn-download i {
    font-size: 16px;
}

/* 查看更多按钮 */
.software-more, .btn-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-more:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* 下载统计显示 */
.download-stats {
    background: linear-gradient(135deg, #E8F5E8, var(--light-green));
    padding: 8px 12px;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid rgba(76, 175, 80, 0.2);
}

.download-stats span {
    color: var(--dark-green);
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

/* 资讯列表样式 */
.news-list {
    margin-bottom: 40px;
}

.news-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    margin-bottom: 25px;
    overflow: hidden;
    display: flex;
    transition: all 0.3s ease;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.news-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.news-thumbnail img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
    flex: 1;
}

.news-title {
    margin-bottom: 15px;
}

.news-title a {
    color: var(--dark-green);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.3em;
}

.news-title a:hover {
    color: var(--primary-green);
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-meta span {
    font-size: 13px;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.news-meta a:hover {
    color: var(--dark-green);
}

.news-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* 分类页面头部 */
.category-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--bg-light-green);
    border-radius: 8px;
}

.category-title {
    color: var(--dark-green);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: 600;
}

.category-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 更多按钮 */
.software-more, .btn-more {
    text-align: center;
    margin-top: 30px;
}

.btn-more {
    background: linear-gradient(135deg, var(--primary-green), var(--light-green));
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-more:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: var(--white);
    text-decoration: none;
}

/* 图片灯箱 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 900px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.lightbox .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: opacity 0.3s ease;
}

.lightbox .close:hover {
    opacity: 0.7;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 分页样式 */
.pagination-wrapper {
    text-align: center;
    margin: 40px 0;
}

.pagination {
    display: inline-flex;
    gap: 10px;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--primary-green);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--primary-green);
    color: var(--white);
    text-decoration: none;
}

.pagination .current {
    background: var(--primary-green);
    color: var(--white);
}

/* 空状态 */
.no-posts {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
    font-size: 1.2em;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .software-showcase-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .software-showcase-card {
        padding: 10px;
        gap: 8px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 42px;
        height: 42px;
    }
    
    .default-software-icon {
        font-size: 16px;
    }
    
    .software-name {
        font-size: 14px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 11px;
    }
    
    .software-meta-display {
        font-size: 10px;
        gap: 5px;
    }
    
    .btn-download-showcase {
        padding: 3px 10px;
        font-size: 10px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .home-software-showcase,
    .home-news-center {
        padding: 40px 0;
    }
    
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .software-showcase-card {
        padding: 10px;
        gap: 8px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }
    
    .default-software-icon {
        font-size: 15px;
    }
    
    .software-name {
        font-size: 13px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 11px;
    }
    
    .software-meta-display {
        font-size: 10px;
        gap: 4px;
    }
    
    .btn-download-showcase {
        padding: 3px 10px;
        font-size: 10px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 15px;
        height: 140px;
    }
    
    .news-card {
        min-height: 280px;
    }
    
    .article-thumbnail {
        height: 50px;
    }
    
    .article-title {
        font-size: 9px;
    }
    
    .article-excerpt {
        font-size: 7px;
    }
    
    .news-thumbnail {
        height: 120px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 13px;
    }
    
    .btn-view-more {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 20px;
    }
    
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .software-showcase-card {
        padding: 8px;
        gap: 6px !important;
        flex-direction: column;
        text-align: center;
  
    }
    
    .software-info-content {
        align-items: center;
        text-align: center;
        gap: 1px;
    }
    
    .software-name {
        white-space: normal;
        text-align: center;
        font-size: 12px;
    }
    
    .software-meta-display {
        justify-content: center;
        flex-wrap: wrap;
        font-size: 9px;
        gap: 3px;
    }
    
    .download-action {
        margin-top: 3px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 10px;
    }
    
    .btn-download-showcase {
        padding: 3px 8px;
        font-size: 9px;
    }
    
    .news-card {
        min-height: 250px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 36px;
        height: 36px;
        border-radius: 6px;
    }
    
    .default-software-icon {
        font-size: 14px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 12px;
        height: 120px;
    }
    
    .article-thumbnail {
        height: 40px;
    }
    
    .article-title {
        font-size: 8px;
    }
    
    .article-excerpt {
        font-size: 6px;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 4px;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .btn-view-more {
        padding: 8px 16px;
        font-size: 12px;
    }
}

@media (max-width: 320px) {
    .software-showcase-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px!important;
    }
    
    .software-showcase-card {
        padding: 2px;
        gap: 4px!important;
        max-width: 136px;
    }
    
    .software-icon,
    .default-software-icon {
        width: 32px;
        height: 32px;
        border-radius: 5px;
    }
    
    .default-software-icon {
        font-size: 12px;
    }
    
    .software-name {
        font-size: 10px;
    }
    
    .rating-stars,
    .rating-text {
        font-size: 9px;
    }
    
    .software-meta-display {
        font-size: 8px;
        gap: 2px;
    }
    
    .btn-download-showcase {
        padding: 2px 6px;
        font-size: 8px;
    }
    
    .download-action {
        margin-top: 2px;
    }
    
    .article-showcase-card,
    .article-showcase-card {
        padding: 10px;
        height: 100px;
    }
}

/* 查看更多按钮 */
.showcase-more, .news-more {
    text-align: center;
    margin-top: 30px;
}

.btn-view-more {
    background: transparent;
    color: #4caf50;
    padding: 12px 24px;
    border: 2px solid #4caf50;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-view-more:hover {
    background: #4caf50;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* ========================================
   边栏模块样式
======================================== */

/* 边栏基础样式 */
.widget-item {
    background: #fff;
     margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-title {
    color: white;
    background: #5fc763;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-radius: 0;
}

.widget-content {
    padding: 0;
}

.widget-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget-content li {
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.widget-content li:last-child {
    border-bottom: none;
}

.widget-content li:hover {
    background: var(--light-green);
}

/* 边栏软件样式 */
.sidebar-software {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    gap: 12px;
}

.sidebar-software-icon {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-default-software-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 8px;
}

.sidebar-default-software-icon i {
    font-size: 18px;
}

.sidebar-software-info {
    flex: 1;
    min-width: 0;
}

.sidebar-software-title {
    margin: 0 0 4px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.sidebar-software-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-software-title a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.sidebar-software-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sidebar-software-meta span {
    background: var(--light-green);
    color: var(--dark-green);
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.software-lang {
    background: #e3f2fd !important;
    color: #1565c0 !important;
}

.software-size {
    background: #fff3e0 !important;
    color: #ef6c00 !important;
}

/* 边栏文章样式 */
.sidebar-article {
    padding: 15px 20px;
}

.sidebar-article-content {
    width: 100%;
}

.sidebar-article-title {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.sidebar-article-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-article-title a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.sidebar-article-meta {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.sidebar-article-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 500;
}

.article-category {
    background: #e3f2fd;
    color: #1565c0;
    padding: 2px 6px;
    border-radius: 3px;
}

.article-category i {
    font-size: 10px;
}

.article-date {
    background: #f3e5f5;
    color: #7b1fa2;
    padding: 2px 6px;
    border-radius: 3px;
}

.article-date i {
    font-size: 10px;
}

.article-comments {
    background: var(--light-green);
    color: var(--dark-green);
    padding: 2px 6px;
    border-radius: 3px;
}

.article-comments i {
    font-size: 10px;
}

.sidebar-article-date,
.sidebar-article-views {
    color: #999;
    font-size: 12px;
    margin: 0;
}

/* 标签模块样式 */
.widget-tags {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-tags .widget-title {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    padding: 15px 20px;
    border-radius: 0;
}

.widget-tags .widget-content {
    padding: 20px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags a {
    background: #f5f5f5;
    color: #666;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tags a:hover {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* 搜索表单优化 */
.search-form-enhanced {
    margin: 0;
}

.search-input-group {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    background: white;
}

.search-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.search-field-enhanced {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #333;
}

.search-field-enhanced::placeholder {
    color: #999;
}

.search-submit-enhanced {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
}

.search-submit-enhanced:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

.search-submit-enhanced i {
    font-size: 14px;
}

/* 修复搜索表单在widget中的样式 */
.widget-item .search-form-enhanced .widget-content {
    padding: 20px;
}

.widget-item .search-input-group {
    width: 100%;
    box-sizing: border-box;
}

/* 侧边栏响应式优化 */
@media (max-width: 768px) {
    .widget-item {
        margin-bottom: 16px;
    }
    
    .widget-title {
        font-size: 15px;
        padding: 12px 16px;
    }
    
    .sidebar-software {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .sidebar-software-icon {
        width: 50px;
        height: 50px;
    }
    
    .sidebar-default-software-icon i {
        font-size: 16px;
    }
    
    .sidebar-software-title {
        font-size: 13px;
    }
    
    .sidebar-software-meta span {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .sidebar-article {
        padding: 12px 16px;
    }
    
    .sidebar-article-title {
        font-size: 13px;
    }
    
    .sidebar-article-meta {
        gap: 8px;
    }
    
    .sidebar-article-meta span {
        font-size: 10px;
    }
    
    .article-category i,
    .article-date i,
    .article-comments i {
        font-size: 9px;
    }
    
    .sidebar-article-date,
    .sidebar-article-views {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-title {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .sidebar-software {
        padding: 8px 10px;
        gap: 8px;
    }
    
    .sidebar-software-icon {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-software-title {
        font-size: 12px;
    }
    
    .sidebar-article {
        padding: 10px 14px;
    }
    
    .sidebar-article-title {
        font-size: 12px;
    }
}

/* ========================================
   软件详情页完整样式
======================================== */

/* 软件详情页 - 严格按照截图设计 */
.software-main-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    background: #fff;
}

.software-icon-big {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.software-icon-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.software-main-info {
    flex: 1;
}

.app-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.app-developer {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.app-rating-line {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.rating-stars {
    color: #ff9800;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.rating-score {
    color: #333;
    font-weight: 500;
    margin-left: 5px;
}

.download-count {
    color: #666;
    font-size: 14px;
}

/* 软件详情网格 */
.software-details-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin: 20px 0;
    background: #fff;
}

.detail-item {
    text-align: center;
    padding: 15px 10px;
}

.detail-label {
    display: block;
    color: #4caf50;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.detail-value {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

/* 下载按钮 */
.download-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.btn-download-green {
    background: #4caf50;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
    transition: all 0.2s ease;
    border: none;
    flex: 1;
    justify-content: center;
    min-width: 160px;
    max-width: 220px;
}

.btn-download-green:hover {
    background: #388e3c;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-website {
    background: transparent;
    color: #4caf50;
    padding: 12px 20px;
    border: 1px solid #4caf50;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    min-width: 140px;
    max-width: 200px;
}

.btn-website:hover {
    background: #4caf50;
    color: white;
    text-decoration: none;
}

/* 应用预览 */
.app-screenshots {
    margin: 30px 0;
}

.section-title {
    color: #2e7d32;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 5px;
    display: inline-block;
}

.screenshots-scroll {
    position: relative;
    background: #f8f9fa;
    padding: 20px 60px;
    border-radius: 10px;
    overflow: hidden;
}

.screenshots-list {
    display: flex;
    gap: 15px;
    transition: transform 0.3s ease;
    will-change: transform;
}

.screenshot-box {
    flex-shrink: 0;
    width: 200px;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.screenshot-box:hover {
    transform: scale(1.02);
}

.screenshot-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(96, 96, 96, 0.9);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    line-height: 1;
}

.scroll-btn:hover {
    background: rgba(64, 64, 64, 1);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.scroll-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.scroll-btn.prev {
    left: 15px;
}

.scroll-btn.next {
    right: 15px;
}

.scroll-btn.prev::before {
    content: '❮';
    font-size: 16px;
}

.scroll-btn.next::before {
    content: '❯';
    font-size: 16px;
}

/* 禁用状态的按钮 */
.scroll-btn:disabled,
.scroll-btn[style*="opacity: 0.3"] {
    opacity: 0.3 !important;
    cursor: not-allowed;
    pointer-events: none;
}

/* 软件介绍 */
.app-description {
    margin: 30px 0;
}

.intro-text {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    margin: 15px 0;
    padding: 15px;
    background: #f8fff8;
    border-left: 4px solid #4caf50;
    border-radius: 0 8px 8px 0;
}

.content-text {
    color: #333;
    line-height: 1.6;
    font-size: 16px;
}

.content-text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.content-text p {
    margin-bottom: 15px;
    line-height: 30px;
}

/* ========================================
   评分系统 - 苹果风格
======================================== */

/* 软件评分 */
.software-ratings {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.stars {
    display: flex;
    align-items: center;
    gap: 1px;
}

.star {
    color: #d1d1d6;
    font-size: 12px;
    line-height: 1;
}

.star.filled {
    color: #ff9500;
}

.star.half {
    color: #ff9500;
}

.rating-number {
    color: #8e8e93;
    font-size: 12px;
    margin-left: 4px;
    font-weight: 500;
}

.download-count {
    color: #8e8e93;
    font-size: 11px;
    font-weight: 400;
}

/* 分类页面软件评分 */
.software-info .software-rating {
    color: #ff9800;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0;
    display: block;
}

/* ========================================
   新闻中心模块样式 - 紧凑版
======================================== */

.home-news-center {
    padding: 60px 0;
    background: #fff;
}

.news-list-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* 新闻条目 */
.news-item-compact {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    overflow: hidden;
    display: flex;
    min-height: 90px;
}

.news-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 有图片的新闻项 */
.news-item-compact:has(.news-thumbnail-compact) {
    display: flex;
    align-items: stretch;
}

/* 图片区域 */
.news-thumbnail-compact {
    position: relative;
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-image-compact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item-compact:hover .news-image-compact {
    transform: scale(1.05);
}

/* 分类标签 */
.news-category-badge-compact {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 4px;
    padding: 2px 6px;
}

.news-category-badge-compact a {
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
}

/* 内容区域 */
.news-content-compact {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-content-compact.with-image {
    padding: 12px 15px;
}

.news-content-compact.no-image {
    padding: 15px 20px;
}

/* 标题 */
.news-title-compact {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.news-title-compact a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-compact a:hover {
    color: #4caf50;
}

/* 元信息 */
.news-meta-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-meta-compact span {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    color: #999;
}

.news-meta-compact i {
    font-size: 10px;
}

.news-date-compact {
    color: #666 !important;
}

.news-category-compact a {
    color: #4caf50;
    text-decoration: none;
}

.news-category-compact a:hover {
    color: #2e7d32;
}

.news-views-compact {
    color: #999 !important;
}

/* 无图片文章的特殊样式 */
.news-item-compact:has(.no-image) {
    min-height: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .news-list-compact {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .news-item-compact {
        min-height: 80px;
    }
    
    .news-thumbnail-compact {
        width: 100px;
    }
    
    .news-content-compact.with-image {
        padding: 10px 12px;
    }
    
    .news-content-compact.no-image {
        padding: 12px 15px;
    }
    
    .news-title-compact {
        font-size: 14px;
    }
    
    .news-meta-compact span {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .news-item-compact {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-thumbnail-compact {
        width: 100%;
        height: 120px;
    }
    
    .news-content-compact.with-image,
    .news-content-compact.no-image {
        padding: 12px;
    }
    
    .news-title-compact {
        font-size: 13px;
    }
    
    .news-meta-compact {
        gap: 6px;
    }
}

/* ========================================
   通用模块头部样式
======================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: #2e7d32;
    margin: 0 0 15px 0;
    position: relative;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    margin: 0 auto;
    border-radius: 2px;
}

/* ========================================
   软件展示模块
======================================== */

.home-software-showcase {
    background: linear-gradient(135deg, #f8fff8, #f0f9f0);
}

.software-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 40px;
    gap: 10px;
}

/* 软件展示卡片 */
.software-showcase-card {
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    height: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.software-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.software-icon-wrapper {
    flex-shrink: 0;
}

/* 为软件图标链接添加悬停效果 */
.software-icon-wrapper a {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.software-icon-wrapper a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.software-icon-wrapper a:hover .software-icon {
    transform: scale(1.05);
}

.software-icon-wrapper a:hover .default-software-icon {
    transform: scale(1.05);
    background: linear-gradient(135deg, #66bb6a, #388e3c);
}

.software-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.default-software-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
}

.software-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.software-name {
    font-size: 15px;
    font-weight: 600;
    margin: 0;
    color: #333;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-name a {
    color: inherit;
    text-decoration: none;
}

.software-name a:hover {
    color: #4caf50;
}

/* 评分显示 */
.software-rating-display {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 1px 0;
}

.rating-stars {
    color: #ff9800;
    font-size: 12px;
    display: flex;
    gap: 1px;
}

.rating-text {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

/* 软件元信息 */
.software-meta-display {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #999;
    font-size: 11px;
    margin: 1px 0;
}

.software-meta-display span {
    display: flex;
    align-items: center;
    gap: 2px;
}

.meta-size {
    color: #666;
}

.meta-date {
    color: #999;
}

.download-action {
    margin-top: 4px;
}

.btn-download-showcase {
    background: #4caf50;
    color: white;
    padding: 4px 12px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
    font-size: 11px;
}

.btn-download-showcase:hover {
    background: #388e3c;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download-showcase i {
    font-size: 10px;
}

/* 文章展示卡片 */
.article-showcase-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(46, 125, 50, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 175, 80, 0.08);
    height: 100px; /* 固定高度 */
    display: flex;
    flex-direction: column;
}

.article-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.1);
}

.article-thumbnail {
    position: relative;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-showcase-card:hover .article-image {
    transform: scale(1.05);
}

.default-article-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}

.article-content {
    padding: 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-title {
    font-size: 10px;
    font-weight: 500;
    margin: 0 0 4px 0;
    color: #2e7d32;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a {
    color: inherit;
    text-decoration: none;
}

.article-title a:hover {
    color: #4caf50;
}

.article-excerpt {
    color: #666;
    font-size: 8px;
    line-height: 1.2;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta .article-date {
    display: none; /* 隐藏日期，保持简洁 */
}

/* ========================================
   移动端边栏适配
======================================== */

@media (max-width: 768px) {
    .widget-item {
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .widget-title {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .sidebar-software {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .sidebar-software-icon {
        width: 35px;
        height: 35px;
        border-radius: 6px;
    }
    
    .sidebar-default-software-icon i {
        font-size: 16px;
    }
    
    .sidebar-software-title {
        font-size: 13px;
    }
    
    .sidebar-software-meta span {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .sidebar-article {
        padding: 12px 15px;
    }
    
    .sidebar-article-title {
        font-size: 13px;
    }
    
    .sidebar-article-meta {
        gap: 8px;
    }
    
    .sidebar-article-meta span {
        font-size: 10px;
    }
    
    .article-category i,
    .article-date i,
    .article-comments i {
        font-size: 9px;
    }
    
    .sidebar-article-date,
    .sidebar-article-views {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-title {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .sidebar-software {
        padding: 15px 15px;
        gap: 10px;
    }
    
    .sidebar-software-icon {
        width: 45px;
        height: 45px;
    }
    
    .sidebar-software-title {
        font-size: 12px;
    }
    
    .sidebar-article {
        padding: 10px 12px;
    }
    
    .sidebar-article-title {
        font-size: 12px;
    }
}

/* 移动端标签模块适配 */
@media (max-width: 768px) {
    .widget-tags {
        margin-bottom: 15px;
        border-radius: 6px;
    }
    
    .widget-tags .widget-title {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .widget-tags .widget-content {
        padding: 15px;
    }
    
    .tags {
        gap: 6px;
    }
    
    .tags a {
        padding: 5px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .widget-tags .widget-title {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .widget-tags .widget-content {
        padding: 12px;
    }
    
    .tags {
        gap: 5px;
    }
    
    .tags a {
        padding: 4px 8px;
        font-size: 10px;
    }
}

/* ========================================
   软件详情页移动端适配
======================================== */

@media (max-width: 768px) {
    .software-main-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }
    
    .software-icon-big {
        width: 80px;
        height: 80px;
    }
    
    .app-title {
        font-size: 20px;
    }
    
    .software-details-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin: 15px 0;
    }
    
    .detail-item {
        padding: 12px 8px;
    }
    
    .detail-label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .detail-value {
        font-size: 13px;
    }
    
    .download-action {
        text-align: center;
        margin: 20px 0;
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-download-green {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
        padding: 15px 20px;
        max-width: none;
        flex: none;
    }
    
    .btn-website {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        max-width: none;
        flex: none;
    }
    
    .screenshot-box {
        width: 160px;
        height: 280px;
    }
    
    .screenshots-scroll {
        padding: 12px 40px;
    }
    
    .app-screenshots {
        margin: 20px 0;
    }
    
    .app-description {
        margin: 20px 0;
    }
    
    .section-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .intro-text {
        padding: 12px;
        font-size: 14px;
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .software-main-header {
        padding: 12px 0;
        gap: 12px;
    }
    
    .software-icon-big {
        width: 70px;
        height: 70px;
    }
    
    .app-title {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .app-developer {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .app-rating-line {
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .rating-stars {
        font-size: 14px;
    }
    
    .rating-score {
        font-size: 14px;
    }
    
    .download-count {
        font-size: 13px;
    }
    
    .software-details-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin: 12px 0;
    }
    
    .detail-item {
        padding: 10px 4px;
    }
    
    .detail-label {
        font-size: 10px;
        margin-bottom: 2px;
    }
    
    .detail-value {
        font-size: 11px;
    }
    
    .download-action {
        margin: 15px 0;
    }
    
    .btn-download-green {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .btn-website {
        padding: 11px 20px;
        font-size: 13px;
    }
    
    .screenshot-box {
        width: 140px;
        height: 250px;
    }
    
    .screenshots-scroll {
        padding: 12px;
    }
    
    .app-screenshots {
        margin: 20px 0;
    }
    
    .app-description {
        margin: 20px 0;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .intro-text {
        padding: 10px;
        font-size: 13px;
        margin: 8px 0;
    }
}

/* ========================================
   栏目列表页面样式 - 紧凑版
======================================== */

/* 软件列表页面 */
.software-list-page {
    margin-bottom: 40px;
}

.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}

/* 软件卡片设计 - 横向紧凑布局 */
.software-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px;
    gap: 8px;
    min-height: 75px;
}

.software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.software-card-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.software-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 6px;
}

/* 软件信息区域 */
.software-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.software-name {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.software-name a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.software-name a:hover {
    color: var(--primary-green);
}

.software-version {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 8px;
    font-weight: 500;
    margin: 1px 0;
    line-height: 1;
    min-width: auto;
    width: auto;
}

.software-rating {
    color: #ff9800;
    font-size: 10px;
    margin: 1px 0;
    font-weight: 500;
}

.software-description {
    color: #666;
    font-size: 10px;
    line-height: 1.3;
    margin: 1px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-meta {
    display: flex;
    gap: 4px;
    margin: 1px 0;
    flex-wrap: wrap;
}

.software-meta span {
    color: #999;
    font-size: 9px;
    display: flex;
    align-items: center;
    gap: 1px;
}

.software-meta .size {
    color: #666;
}

.software-actions {
    display: flex;
    gap: 4px;
    margin-top: 3px;
}

.btn-detail, .btn-download {
    padding: 2px 6px;
    border-radius: 2px;
    text-decoration: none;
    font-size: 9px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1px;
    line-height: 1;
}

.btn-detail {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.btn-detail:hover {
    background: #eeeeee;
    color: #333;
    text-decoration: none;
}

.btn-download {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 1px 3px rgba(76, 175, 80, 0.3);
}

.btn-download:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download i {
    font-size: 8px;
}

/* 新闻列表页面 */
.news-list-page {
    margin-bottom: 40px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

/* 新闻条目 - 横向紧凑布局 */
.news-item {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    min-height: 120px;
}

.news-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.news-thumbnail {
    width: 160px;
    flex-shrink: 0;
    overflow: hidden;
}

.news-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-thumbnail img {
    transform: scale(1.05);
}

.news-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.news-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
}

.news-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title a:hover {
    color: var(--primary-green);
}

.news-meta {
    display: flex;
    gap: 12px;
    margin: 4px 0;
    flex-wrap: wrap;
}

.news-meta span {
    color: #999;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.news-meta a {
    color: var(--primary-green);
    text-decoration: none;
}

.news-meta a:hover {
    color: var(--dark-green);
}

.news-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.4;
    margin: 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-actions {
    margin-top: 8px;
}

.read-more {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .software-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .software-card {
        padding: 10px;
        gap: 10px;
        min-height: 80px;
    }
    
    .software-icon {
        width: 50px;
        height: 50px;
    }
    
    .default-icon {
        font-size: 20px;
    }
    
    .software-name {
        font-size: 15px;
    }
    
    .software-description {
        font-size: 11px;
    }
    
    .news-item {
        flex-direction: column;
        min-height: auto;
    }
    
    .news-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .news-content {
        padding: 12px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-excerpt {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .category-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .category-title {
        font-size: 20px;
    }
    
    .software-card {
        padding: 8px;
        gap: 8px;
        min-height: 70px;
    }
    
    .software-icon {
        width: 45px;
        height: 45px;
    }
    
    .software-name {
        font-size: 14px;
    }
    
    .software-meta {
        gap: 6px;
    }
    
    .software-meta span {
        font-size: 10px;
    }
    
    .news-content {
        padding: 10px;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    .news-meta span {
        font-size: 11px;
    }
}

/* 软件卡片设计 - 参考优秀下载站风格 */
.software-card {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    min-height: 90px;
}

.software-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.software-card-inner {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.software-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 7px;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 7px;
}

/* 软件信息区域 */
.software-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

/* 标题行：软件名 + 版本 */
.software-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 6px;
}

.software-name a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.software-name a:hover {
    color: var(--primary-green);
}

.software-version {
    display: inline-block;
    background: var(--primary-green);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 评分行 */
.software-rating {
    color: #ff9500;
    font-size: 12px;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 描述文字 */
.software-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 元信息行 */
.software-meta {
    display: flex;
    gap: 12px;
    margin: 2px 0;
    flex-wrap: wrap;
    align-items: center;
}

.software-meta span {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.software-meta .size {
    color: #666;
}

.software-meta i {
    font-size: 10px;
}

/* 操作按钮 */
.software-actions {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.btn-detail, .btn-download {
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.btn-detail {
    background: #f7f7f7;
    color: #666;
    border: 1px solid #ddd;
}

.btn-detail:hover {
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-color: #ccc;
}

.btn-download {
    background: var(--primary-green);
    color: white;
    box-shadow: 0 1px 3px rgba(76, 175, 80, 0.3);
}

.btn-download:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download i {
    font-size: 11px;
}

/* 首页软件展示区域 */
.homepage-showcase {
    padding: 30px 0;
    background: #fafafa;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.section-subtitle {
    color: #666;
    margin: 0 0 20px 0;
    font-size: 14px;
}

.section-more {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.section-more:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* 软件网格布局 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 16px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 响应式设计 - 软件卡片 */
@media (max-width: 768px) {
    .homepage-showcase {
        padding: 20px 0;
    }
    
    .software-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 15px;
    }
    
    .software-card {
        padding: 10px;
        min-height: 80px;
    }
    
    .software-card-inner {
        gap: 10px;
    }
    
    .software-icon {
        width: 48px;
        height: 48px;
    }
    
    .software-name {
        font-size: 15px;
    }
    
    .software-version {
        font-size: 10px;
        padding: 1px 4px;
    }
    
    .software-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    .software-meta span {
        font-size: 10px;
    }
    
    .software-actions {
        flex-direction: column;
        gap: 6px;
        margin-top: 4px;
    }
    
    .btn-detail, .btn-download {
        padding: 6px 10px;
        font-size: 11px;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .software-grid {
        padding: 0 10px;
        gap: 10px;
    }
    
    .software-card {
        padding: 8px;
        min-height: 75px;
    }
    
    .software-icon {
        width: 42px;
        height: 42px;
    }
    
    .software-name {
        font-size: 14px;
    }
    
    .default-icon {
        font-size: 18px;
    }
}

/* 平板响应式 */
@media (min-width: 769px) and (max-width: 1024px) {
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

/* 软件网格布局 - App Store风格 */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 软件卡片设计 - App Store风格垂直布局 */
.software-card {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    padding: 16px;
    text-align: center;
    min-height: 220px;
}

.software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #d0d0d0;
}

.software-icon {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    flex-shrink: 0;
}

.software-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 11px;
}

.default-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 11px;
}

/* 软件名称 */
.software-name {
    /* margin: 0 0 8px 0; */
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    /* min-height: 40px; */
    display: flex;
    justify-content: left;
}

.software-name a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.software-name a:hover {
    color: var(--primary-green);
}

/* 日期和评分行 */
.software-meta-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    min-height: 16px;
}

.software-date {
    color: #666;
    font-size: 12px;
    font-weight: 500;
}

.software-rating {
    color: #ff9800;
    font-size: 12px;
    display: flex;
    gap: 1px;
}

/* 软件描述 */
.software-description {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

/* 响应式设计 - App Store风格软件卡片 */
@media (max-width: 1024px) {
    .software-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding: 0 15px;
    }
    
    .software-card {
        padding: 14px;
        min-height: 200px;
    }
    
    .software-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 10px;
    }
    
    .software-name {
        font-size: 14px;
        min-height: 36px;
        margin-bottom: 6px;
    }
    
    .software-description {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .homepage-showcase {
        padding: 20px 0;
    }
    
    .software-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        padding: 0 12px;
    }
    
    .software-card {
        padding: 12px;
        min-height: 180px;
    }
    
    .software-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .default-icon {
        font-size: 20px;
    }
    
    .software-name {
        font-size: 13px;
        min-height: 32px;
        margin-bottom: 6px;
    }
    
    .software-meta-line {
        margin-bottom: 6px;
    }
    
    .software-date,
    .software-rating {
        font-size: 11px;
    }
    
    .software-description {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 480px) {
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 10px;
    }
    
    .software-card {
        padding: 10px;
        min-height: 160px;
    }
    
    .software-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 6px;
    }
    
    .default-icon {
        font-size: 18px;
    }
    
    .software-name {
        font-size: 12px;
        min-height: 4px;
        margin-bottom: 4px;
        max-width: 150px;
    }
    
    .software-meta-line {
        margin-bottom: 4px;
        gap: 6px;
    }
    
    .software-date,
    .software-rating {
        font-size: 10px;
    }
    
    .software-description {
        font-size: 9px;
        line-height: 1.3;
    }
}

/* ========================================
   栏目页面紧凑布局样式
======================================== */

/* 软件列表紧凑网格 */
.software-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 12px;
    margin-bottom: 30px;
}

.software-card-compact {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    transition: all 0.2s ease;
    min-height: 80px;
}

.software-card-compact:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.software-icon-mini {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-icon-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.default-icon-mini {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 8px;
}

.software-info-mini {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.software-name-mini {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.software-name-mini a {
    color: #333;
    text-decoration: none;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.software-name-mini a:hover {
    color: var(--primary-green);
}

.version-mini {
    background: var(--primary-green);
    color: white;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.rating-mini {
    color: #ff9800;
    font-size: 12px;
    margin: 0;
    font-weight: 500;
}

.software-meta-mini {
    display: flex;
    gap: 8px;
    margin: 0;
    flex-wrap: wrap;
}

.software-meta-mini span {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.software-actions-mini {
    display: flex;
    gap: 6px;
    margin-top: 4px;
}

.btn-detail-mini, .btn-download-mini {
    padding: 4px 8px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.btn-detail-mini {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.btn-detail-mini:hover {
    background: #eee;
    color: #333;
    text-decoration: none;
}

.btn-download-mini {
    background: var(--primary-green);
    color: white;
}

.btn-download-mini:hover {
    background: var(--dark-green);
    color: white;
    text-decoration: none;
}

/* 新闻列表紧凑布局 */
.news-list-compact-page {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-item-mini {
    background: var(--white);
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    display: flex;
    align-items: center;
    padding: 12px;
    gap: 12px;
    transition: all 0.2s ease;
    min-height: 100px;
}

.news-item-mini:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.news-thumbnail-mini {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

.news-thumbnail-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content-mini {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.news-title-mini {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.news-title-mini a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-mini a:hover {
    color: var(--primary-green);
}

.news-meta-mini {
    display: flex;
    gap: 8px;
    margin: 2px 0;
    flex-wrap: wrap;
}

.news-meta-mini span {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.news-meta-mini a {
    color: var(--primary-green);
    text-decoration: none;
}

.news-excerpt-mini {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-actions-mini {
    margin-top: 4px;
}

.read-more-mini {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.2s ease;
}

.read-more-mini:hover {
    color: var(--dark-green);
    text-decoration: none;
}

/* ========================================
   首页紧凑布局样式
======================================== */

/* 首页软件展示 - 紧凑网格 */
.homepage-showcase-compact {
    padding: 30px 0;
    background: #fafafa;
}

.section-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 20px;
}

.section-title-compact {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.section-more-compact {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.section-more-compact:hover {
    color: var(--dark-green);
    text-decoration: none;
}

.software-grid-homepage {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.software-card-mini {
    background: var(--white);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid #e8e8e8;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 160px;
}

.software-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.software-icon-small {
    width: 48px;
    height: 48px;
    margin: 0 auto 6px auto;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-icon-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.default-icon-small {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 10px;
}

.software-name-small {
    margin: 0 0 4px 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.software-name-small a {
    color: #333;
    text-decoration: none;
    text-align: center;
}

.software-name-small a:hover {
    color: var(--primary-green);
}

.software-rating-small {
    color: #ff9800;
    font-size: 11px;
    margin: 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.rating-score {
    color: #666;
    font-size: 10px;
    margin-left: 2px;
}

.software-meta-small {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0;
    flex: 1;
}

.software-meta-small span {
    color: #999;
    font-size: 10px;
    text-align: center;
}

.download-action-small {
    margin-top: auto;
}

.btn-download-small {
    background: var(--primary-green);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    transition: all 0.2s ease;
    min-width: 60px;
    text-align: center;
}

.btn-download-small:hover {
    background: var(--dark-green);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.showcase-more-compact {
    text-align: center;
    padding: 0 20px;
}

.btn-view-more-compact {
    background: transparent;
    color: var(--primary-green);
    padding: 8px 20px;
    border: 1px solid var(--primary-green);
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-view-more-compact:hover {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
}

/* 新闻模块紧凑布局 */
.home-news-center-compact {
    padding: 30px 0;
    background: var(--white);
}

.news-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 0 20px;
    margin-bottom: 20px;
}

.news-card-mini {
    background: var(--white);
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.news-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-green);
}

.news-image-wrapper {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.news-image-mini {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.news-card-mini:hover .news-image-mini {
    transform: scale(1.05);
}

.news-category-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 4px;
    padding: 2px 6px;
}

.news-category-tag a {
    color: white;
    text-decoration: none;
    font-size: 10px;
    font-weight: 500;
}

.news-content-mini {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-title-mini {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 36px;
    display: flex;
    align-items: center;
}

.news-title-mini a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-title-mini a:hover {
    color: var(--primary-green);
}

.news-meta-mini {
    display: flex;
    gap: 8px;
    margin: 4px 0;
    flex-wrap: wrap;
}

.news-date-mini, .news-views-mini {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.news-excerpt-mini {
    color: #666;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-more-compact {
    text-align: center;
    padding: 0 20px;
}

/* ========================================
   响应式设计 - 紧凑布局
======================================== */

@media (max-width: 768px) {
    /* 栏目页面 */
    .software-grid-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .software-card-compact {
        padding: 10px;
        min-height: 70px;
    }
    
    .software-icon-mini {
        width: 40px;
        height: 40px;
    }
    
    .news-list-compact-page {
        gap: 10px;
    }
    
    .news-item-mini {
        padding: 10px;
        min-height: 80px;
    }
    
    .news-thumbnail-mini {
        width: 60px;
        height: 60px;
    }
    
    /* 首页 */
    .software-grid-homepage {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 0 15px;
    }
    
    .software-card-mini {
        padding: 8px;
        min-height: 130px;
    }
    
    .software-icon-small {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }
    
    .software-name-small {
        font-size: 11px;
        min-height: 24px;
    }
    
    .news-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 15px;
    }
    
    .news-card-mini {
        min-height: 160px;
    }
    
    .news-image-wrapper {
        height: 80px;
    }
    
    .news-content-mini {
        padding: 8px;
    }
    
    .news-title-mini {
        font-size: 12px;
        min-height: 28px;
    }
    
    .section-header-compact {
        padding: 0 15px;
    }
    
    .section-title-compact {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    /* 首页 */
    .software-grid-homepage {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 0 10px;
    }
    
    .software-card-mini {
        padding: 6px;
        min-height: 110px;
    }
    
    .software-icon-small {
        width: 32px;
        height: 32px;
    }
    
    .software-name-small {
        font-size: 10px;
        min-height: 20px;
    }
    
    .news-grid-compact {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 10px;
    }
    
    .section-header-compact {
        padding: 0 10px;
    }
}



/* ========================================
   标签页面专属样式
======================================== */

/* 标签页面头部 */
.tag-header {
    background: linear-gradient(135deg, var(--bg-light-green), #f0f9f0);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
    border: 1px solid rgba(76, 175, 80, 0.1);
}

.tag-title {
    color: var(--dark-green);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tag-title i {
    color: var(--primary-green);
    font-size: 20px;
}

.tag-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* 标签内容网格布局 */
.tag-content-wrapper {
    margin-bottom: 40px;
}

.tag-posts-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 30px;
}

/* 标签页面软件卡片 */
.tag-software-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 200px;
}

.tag-software-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.tag-software-card .software-icon-wrapper {
    text-align: center;
    margin-bottom: 8px;
}

.tag-software-card .software-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-software-card .default-software-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.software-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
}

.software-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.software-title a {
    color: #333;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.software-title a:hover {
    color: var(--primary-green);
}

.version-badge {
    background: var(--primary-green);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag-software-card .software-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 4px 0;
}

.tag-software-card .star {
    font-size: 14px;
    color: #d1d1d6;
}

.tag-software-card .star.filled {
    color: #ff9800;
}

.rating-score {
    color: #666;
    font-size: 12px;
    margin-left: 4px;
    font-weight: 500;
}

.software-meta-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.software-meta-tags span {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
    border: 1px solid #e9ecef;
}

.meta-size {
    color: #6c757d !important;
}

.meta-lang {
    color: #007bff !important;
}

.meta-date {
    color: #dc3545 !important;
}

.software-actions-tags {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: auto;
}

.btn-detail-tag, .btn-download-tag {
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: none;
    cursor: pointer;
}

.btn-detail-tag {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #e9ecef;
}

.btn-detail-tag:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    border-color: #dee2e6;
}

.btn-download-tag {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.btn-download-tag:hover {
    background: linear-gradient(135deg, var(--dark-green), #1B5E20);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

/* 标签页面文章卡片 */
.tag-article-card {
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 250px;
}

.tag-article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

.article-thumbnail-wrapper {
    position: relative;
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tag-article-card:hover .article-thumbnail {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(76, 175, 80, 0.9);
    border-radius: 4px;
    padding: 3px 8px;
    backdrop-filter: blur(4px);
}

.article-category-badge a {
    color: white;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
}

.article-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.article-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 42px;
    display: flex;
    align-items: center;
}

.article-title a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title a:hover {
    color: var(--primary-green);
}

.article-meta-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 6px 0;
}

.article-meta-tags span {
    color: #999;
    font-size: 11px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.article-meta-tags a {
    color: var(--primary-green);
    text-decoration: none;
}

.article-meta-tags a:hover {
    color: var(--dark-green);
}

.article-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 8px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-actions-tags {
    margin-top: auto;
    padding-top: 8px;
}

.btn-read-more-tag {
    background: transparent;
    color: var(--primary-green);
    padding: 6px 16px;
    border: 1px solid var(--primary-green);
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-read-more-tag:hover {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
}

/* 空状态消息 */
.no-posts-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.no-posts-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-posts-message h3 {
    color: #666;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.no-posts-message p {
    color: #999;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* 侧边栏相关标签 */
.related-tags {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.related-tag {
    background: #f8f9fa;
    color: #666;
    padding: 6px 10px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.related-tag:hover {
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    border-color: var(--primary-green);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(76, 175, 80, 0.2);
}

.tag-count {
    background: rgba(0, 0, 0, 0.1);
    color: inherit;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
}

.related-tag:hover .tag-count {
    background: rgba(255, 255, 255, 0.2);
}

/* 响应式设计 - 标签页面 */
@media (max-width: 768px) {
    .tag-header {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .tag-title {
        font-size: 20px;
        flex-direction: column;
        gap: 4px;
    }
    
    .tag-posts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .tag-software-card,
    .tag-article-card {
        min-height: auto;
    }
    
    .tag-software-card {
        padding: 12px;
        min-height: 180px;
    }
    
    .tag-software-card .software-icon,
    .tag-software-card .default-software-icon {
        width: 50px;
        height: 50px;
    }
    
    .tag-software-card .default-software-icon {
        font-size: 20px;
    }
    
    .software-title {
        font-size: 15px;
    }
    
    .software-meta-tags {
        gap: 8px;
    }
    
    .software-meta-tags span {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .article-thumbnail-wrapper {
        height: 120px;
    }
    
    .article-content {
        padding: 12px;
    }
    
    .article-title {
        font-size: 15px;
        min-height: 38px;
    }
    
    .related-tags {
        padding: 12px;
        gap: 6px;
    }
    
    .related-tag {
        padding: 4px 8px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .tag-header {
        padding: 12px;
    }
    
    .tag-title {
        font-size: 18px;
    }
    
    .tag-posts-grid {
        gap: 12px;
    }
    
    .tag-software-card {
        padding: 10px;
        min-height: 160px;
    }
    
    .tag-software-card .software-icon,
    .tag-software-card .default-software-icon {
        width: 45px;
        height: 45px;
    }
    
    .tag-software-card .default-software-icon {
        font-size: 18px;
    }
    
    .software-title {
        font-size: 14px;
    }
    
    .software-meta-tags {
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }
    
    .software-actions-tags {
        flex-direction: column;
        gap: 6px;
    }
    
    .btn-detail-tag,
    .btn-download-tag {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
    
    .article-content {
        padding: 10px;
    }
    
    .article-title {
        font-size: 14px;
        min-height: 32px;
    }
    
    .article-meta-tags {
        flex-direction: column;
        gap: 4px;
    }
    
    .no-posts-message {
        padding: 40px 15px;
    }
    
    .no-posts-icon {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .no-posts-message h3 {
        font-size: 18px;
    }
    
    .related-tags {
        padding: 10px;
        gap: 5px;
    }
    
    .related-tag {
        padding: 3px 6px;
        font-size: 10px;
    }
}

/* 标签页面特殊优化 */
@media (min-width: 769px) and (max-width: 1024px) {
    .tag-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* 超大屏幕优化 */
@media (min-width: 1200px) {
    .tag-posts-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

/* 标签页面软件卡片 - App Store风格 */
.tag-software-card-appstore {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 100px;
    margin-bottom: 16px;
}

.tag-software-card-appstore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-green);
}

/* 软件图标 - 大尺寸 */
.software-icon-big {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.software-icon-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.default-software-icon-big {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 16px;
}

/* 软件信息区域 */
.software-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

/* 标题行 */
.software-header-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.software-name-appstore {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
    flex: 1;
    min-width: 0;
}

.software-name-appstore a {
    color: #333;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.software-name-appstore a:hover {
    color: var(--primary-green);
}

.version-tag-appstore {
    background: var(--primary-green);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 评分行 */
.rating-row-appstore {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 2px 0;
}

.star-appstore {
    font-size: 14px;
    color: #d1d1d6;
    line-height: 1;
}

.star-appstore.filled {
    color: #ff9500;
}

.rating-score-appstore {
    color: #666;
    font-size: 13px;
    margin-left: 6px;
    font-weight: 500;
}

/* 元信息行 */
.meta-row-appstore {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 4px 0;
}

.meta-item-appstore {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #8e8e93;
    font-weight: 500;
}

.meta-item-appstore i {
    font-size: 11px;
    opacity: 0.8;
}

.meta-item-appstore.size {
    color: #34c759;
}

.meta-item-appstore.language {
    color: #007aff;
}

.meta-item-appstore.date {
    color: #ff9500;
}

/* 操作按钮区域 */
.software-actions-appstore {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
    min-width: 80px;
}

.btn-download-appstore, .btn-detail-appstore {
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 70px;
    text-align: center;
    line-height: 1.2;
}

.btn-download-appstore {
    background: #007aff;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
}

.btn-download-appstore:hover {
    background: #0056cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download-appstore.disabled {
    background: #f2f2f7;
    color: #8e8e93;
    box-shadow: none;
}

.btn-download-appstore.disabled:hover {
    background: #e5e5ea;
    transform: none;
    box-shadow: none;
}

.btn-detail-appstore {
    background: #f2f2f7;
    color: #007aff;
    border: 1px solid #e5e5ea;
}

.btn-detail-appstore:hover {
    background: #e5e5ea;
    color: #007aff;
    text-decoration: none;
    border-color: #d1d1d6;
}

.btn-download-appstore i {
    font-size: 11px;
}

/* 响应式设计 - App Store风格卡片 */
@media (max-width: 768px) {
    .tag-software-card-appstore {
        padding: 12px;
        gap: 12px;
        min-height: 85px;
        margin-bottom: 12px;
    }
    
    .software-icon-big {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }
    
    .software-icon-big img {
        border-radius: 12px;
    }
    
    .default-software-icon-big {
        font-size: 24px;
        border-radius: 12px;
    }
    
    .software-name-appstore {
        font-size: 16px;
    }
    
    .version-tag-appstore {
        font-size: 10px;
        padding: 1px 6px;
    }
    
    .star-appstore {
        font-size: 12px;
    }
    
    .rating-score-appstore {
        font-size: 12px;
        margin-left: 4px;
    }
    
    .meta-row-appstore {
        gap: 12px;
    }
    
    .meta-item-appstore {
        font-size: 11px;
    }
    
    .meta-item-appstore i {
        font-size: 10px;
    }
    
    .software-actions-appstore {
        gap: 6px;
        min-width: 70px;
    }
    
    .btn-download-appstore, .btn-detail-appstore {
        padding: 6px 16px;
        font-size: 12px;
        min-width: 65px;
    }
    
    .btn-download-appstore i {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .tag-software-card-appstore {
        flex-direction: column;
        text-align: center;
        padding: 16px;
        gap: 12px;
        min-height: auto;
    }
    
    .software-icon-big {
        align-self: center;
    }
    
    .software-info-section {
        text-align: center;
        width: 100%;
    }
    
    .software-header-row {
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    .software-name-appstore a {
        white-space: normal;
        text-align: center;
    }
    
    .rating-row-appstore {
        justify-content: center;
    }
    
    .meta-row-appstore {
        justify-content: center;
        gap: 8px;
    }
    
    .software-actions-appstore {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
    
    .btn-download-appstore, .btn-detail-appstore {
        flex: 1;
        max-width: 120px;
    }
}

/* 旧的软件卡片样式保持兼容 */
.tag-software-card {
    display: none; /* 隐藏旧样式 */
}

/* ============= 优化的分类页面样式 ============= */

/* 增强的面包屑导航 */
.breadcrumbs-enhanced {
    background: linear-gradient(135deg, var(--light-green), #E8F5E8);
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.breadcrumbs-container {
    display: flex;
    gap: 8px;
    flex-direction: row;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumb-item a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    background: rgba(76, 175, 80, 0.1);
    color: var(--dark-green);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--dark-green);
    font-weight: 600;
}

.breadcrumb-separator {
    color: #A5D6A7;
    font-size: 12px;
    margin: 0 4px;
}

/* 增强的分类头部 */
.category-header-enhanced {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border-light);
}

.category-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.category-title-enhanced {
    color: var(--dark-green);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-icon {
    color: var(--primary-green);
    font-size: 32px;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.posts-count {
    background: linear-gradient(135deg, var(--primary-green), #66BB6A);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.category-description-enhanced {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* 增强的软件网格布局 */
.software-list-page-enhanced {
    background: transparent;
}

.software-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

/* 增强的软件卡片 */
.software-card-enhanced {
    background: var(--white);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.software-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #66BB6A);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.software-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.software-card-enhanced:hover::before {
    transform: translateX(0);
}

/* 软件卡片头部 */
.software-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.software-icon-enhanced {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.software-icon-enhanced img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-icon-enhanced {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-green), #C8E6C9);
    color: var(--primary-green);
    font-size: 24px;
}

.software-main-info-enhanced {
    flex: 1;
    min-width: 0;
}

.software-name-enhanced {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.software-name-enhanced a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.software-name-enhanced a:hover {
    color: var(--primary-green);
    text-decoration: none;
}

.software-vendor-enhanced {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 500;
}

.software-rating-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rating-enhanced {
    display: flex;
    align-items: center;
    gap: 2px;
}

.star-enhanced {
    color: #E0E0E0;
    font-size: 14px;
    transition: color 0.2s ease;
}

.star-enhanced.filled {
    color: #FF9800;
}

.rating-score-enhanced {
    color: var(--primary-green);
    font-weight: 600;
    font-size: 14px;
    margin-left: 6px;
}

.version-badge-enhanced {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
    color: #1976D2;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(25, 118, 210, 0.2);
}

/* 软件元信息 */
.software-meta-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.meta-item-enhanced {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: #666;
    border: 1px solid #e9ecef;
}

.meta-item-enhanced i {
    color: var(--primary-green);
    font-size: 12px;
}

.meta-item-enhanced.size {
    border-color: rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.05);
}

.meta-item-enhanced.language {
    border-color: rgba(33, 150, 243, 0.2);
    background: rgba(33, 150, 243, 0.05);
}

.meta-item-enhanced.environment {
    border-color: rgba(255, 152, 0, 0.2);
    background: rgba(255, 152, 0, 0.05);
}

.meta-item-enhanced.downloads {
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.1);
    color: var(--dark-green);
    font-weight: 600;
}

/* 软件描述 */
.software-description-enhanced {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-green);
}

/* 软件操作按钮 */
.software-actions-enhanced {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-detail-enhanced,
.btn-download-enhanced {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    flex: 1;
    justify-content: center;
    text-align: center;
}

.btn-detail-enhanced {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn-detail-enhanced:hover {
    background: #e9ecef;
    color: #495057;
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-download-enhanced {
    background: linear-gradient(135deg, var(--primary-green), #66BB6A);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.btn-download-enhanced:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

/* 无内容状态 */
.no-posts-enhanced {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    grid-column: 1 / -1;
}

.no-posts-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-green), #C8E6C9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-green);
    font-size: 32px;
}

.no-posts-enhanced h3 {
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 20px;
}

.no-posts-enhanced p {
    color: var(--text-gray);
    margin: 0;
    font-size: 16px;
}

/* 响应式优化 */
@media (max-width: 768px) {
    .software-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .category-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .category-title-enhanced {
        font-size: 24px;
    }
    
    .breadcrumbs-container {
        font-size: 14px;
    }
    
    .software-card-header {
        gap: 12px;
    }
    
    .software-icon-enhanced {
        width: 56px;
        height: 56px;
    }
    
    .software-meta-enhanced {
        gap: 8px;
    }
    

    .btn-detail-enhanced,
    .btn-download-enhanced {
        flex: none;
        width: 48%;
    }
}

@media (max-width: 480px) {
    .breadcrumbs-enhanced {
        padding: 10px 3px;
        margin-top: 20px;
    }
    
    .category-header-enhanced {
        padding: 20px;
    }
    
    .category-title-enhanced {
        font-size: 22px;
    }
    
    .software-card-enhanced {
        padding: 16px;
    }
    
    .software-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .posts-count {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* ============= 标签页面增强样式 ============= */

/* 增强的标签头部 */
.tag-header-enhanced {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px var(--shadow);
    border: 1px solid var(--border-light);
}

.tag-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.tag-title-enhanced {
    color: var(--dark-green);
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tag-icon {
    color: #FF9800;
    font-size: 32px;
}

.tag-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tag-description-enhanced {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

/* 标签内容网格 */
.tag-content-wrapper-enhanced {
    background: transparent;
}

.tag-posts-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

/* 增强的文章卡片 */
.article-card-enhanced {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    min-height: 180px;
    align-items: stretch;
}

.article-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF9800, #F57C00);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.article-card-enhanced:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.article-card-enhanced:hover::before {
    transform: translateX(0);
}

/* 没有图片的文章卡片 - 纯文本布局 */
.article-card-enhanced:not(:has(.article-thumbnail-wrapper-enhanced)) {
    flex-direction: column;
    min-height: 160px;
}

/* 文章缩略图区域 - 左侧布局 */
.article-thumbnail-wrapper-enhanced {
    position: relative;
    width: 180px;
    height: auto;
    min-height: 180px;
    overflow: hidden;
    flex-shrink: 0;
}

.article-thumbnail-enhanced {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card-enhanced:hover .article-thumbnail-enhanced {
    transform: scale(1.05);
}

/* 移除默认缩略图，直接不显示 */
.article-default-thumbnail-enhanced {
    display: none;
}

.article-category-badge-enhanced {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 152, 0, 0.9);
    border-radius: 8px;
    padding: 4px 10px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.article-category-badge-enhanced a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-category-badge-enhanced i {
    font-size: 10px;
}

/* 文章内容区域 - 右侧布局 */
.article-content-enhanced {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
    min-height: 180px;
}

/* 没有图片时的内容区域 */
.article-card-enhanced:not(:has(.article-thumbnail-wrapper-enhanced)) .article-content-enhanced {
    padding: 24px;
    min-height: auto;
}

.article-title-enhanced {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    min-height: auto;
    display: flex;
    align-items: flex-start;
}

.article-title-enhanced a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-title-enhanced a:hover {
    color: #FF9800;
    text-decoration: none;
}

.article-meta-enhanced {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0;
}

.article-meta-enhanced span {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    border: 1px solid #e9ecef;
}

.article-meta-enhanced i {
    color: #FF9800;
    font-size: 11px;
}

.article-meta-enhanced .meta-date {
    border-color: rgba(76, 175, 80, 0.2);
    background: rgba(76, 175, 80, 0.05);
}

.article-meta-enhanced .meta-views {
    border-color: rgba(33, 150, 243, 0.2);
    background: rgba(33, 150, 243, 0.05);
}

.article-meta-enhanced .meta-author {
    border-color: rgba(156, 39, 176, 0.2);
    background: rgba(156, 39, 176, 0.05);
}

.article-excerpt-enhanced {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 8px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-actions-enhanced {
    margin-top: auto;
    padding-top: 8px;
}

.btn-read-more-enhanced {
    background: transparent;
    color: #FF9800;
    padding: 8px 16px;
    border: 2px solid #FF9800;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
}

.btn-read-more-enhanced:hover {
    background: #FF9800;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.btn-read-more-enhanced i {
    font-size: 12px;
    transition: transform 0.2s ease;
}

.btn-read-more-enhanced:hover i {
    transform: translateX(2px);
}

/* 增强的相关标签 */
.related-tags-enhanced {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.related-tag-enhanced {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    color: #666;
    padding: 8px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.related-tag-enhanced i {
    color: #FF9800;
    font-size: 11px;
}

.tag-count-enhanced {
    background: rgba(255, 152, 0, 0.15);
    color: #FF9800;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}

.related-tag-enhanced:hover {
    background: linear-gradient(135deg, #FF9800, #F57C00);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

.related-tag-enhanced:hover i {
    color: white;
}

.related-tag-enhanced:hover .tag-count-enhanced {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 增强的标签云 */
.tags-enhanced {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
}

.tag-link-enhanced {
    background: linear-gradient(135deg, #f1f3f4, #e8eaed);
    color: #5f6368;
    padding: 6px 12px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dadce0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.tag-link-enhanced .count {
    background: rgba(95, 99, 104, 0.1);
    color: #5f6368;
    padding: 1px 5px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.tag-link-enhanced:hover {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(66, 133, 244, 0.3);
    border-color: #4285f4;
}

.tag-link-enhanced:hover .count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* 响应式设计 - 标签页面 */
@media (max-width: 768px) {
    .tag-posts-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .tag-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tag-title-enhanced {
        font-size: 24px;
    }
    
    .tag-header-enhanced {
        padding: 20px;
    }
    
    /* 移动端文章卡片改为垂直布局 */
    .article-card-enhanced {
        flex-direction: column !important;
        min-height: 240px;
    }
    
    .article-thumbnail-wrapper-enhanced {
        width: 100% !important;
        height: 140px;
        min-height: 140px;
    }
    
    .article-content-enhanced {
        padding: 16px !important;
        min-height: auto !important;
        justify-content: flex-start;
    }
    
    .article-title-enhanced {
        font-size: 16px;
        margin-bottom: 6px;
    }
    
    .article-meta-enhanced {
        gap: 8px;
        margin: 6px 0;
    }
    
    .article-meta-enhanced span {
        font-size: 11px;
        padding: 3px 6px;
    }
    
    .related-tags-enhanced {
        padding: 12px;
        gap: 8px;
    }
    
    .related-tag-enhanced {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .tag-count-enhanced {
        font-size: 10px;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .tag-header-enhanced {
        padding: 16px;
    }
    
    .tag-title-enhanced {
        font-size: 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .tag-posts-grid-enhanced {
        gap: 12px;
    }
    
    .article-card-enhanced {
        min-height: 220px;
    }
    
    .article-thumbnail-wrapper-enhanced {
        height: 120px !important;
        min-height: 120px;
    }
    
    .article-content-enhanced {
        padding: 14px !important;
    }
    
    .article-title-enhanced {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .article-meta-enhanced {
        flex-direction: row;
        gap: 6px;
        flex-wrap: wrap;
    }
    
    .article-excerpt-enhanced {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin: 6px 0;
    }
    
    .btn-read-more-enhanced {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        margin-top: 8px;
    }
    
    .related-tags-enhanced {
        padding: 10px;
        gap: 6px;
    }
    
    .related-tag-enhanced {
        padding: 5px 8px;
        font-size: 11px;
    }
    
    .tags-enhanced {
        padding: 12px;
        gap: 6px;
    }
    
    .tag-link-enhanced {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* ============= 优化的文章导航样式 ============= */

/* 文章导航容器 */
.post-navigation-enhanced {
    margin: 32px 0;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.navigation-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: stretch;
    min-height: 120px;
}

/* 导航项通用样式 */
.nav-item {
    position: relative;
    transition: all 0.3s ease;
}

.nav-item.nav-prev {
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-item.nav-next {
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}

/* 导航链接 */
.nav-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    position: relative;
    background: linear-gradient(135deg, transparent 0%, rgba(76, 175, 80, 0.02) 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #66BB6A);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.03) 0%, rgba(76, 175, 80, 0.08) 100%);
    transform: translateY(-2px);
    text-decoration: none;
    color: inherit;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

/* 方向指示 */
.nav-direction {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    opacity: 0.7;
}

.nav-prev .nav-direction {
    justify-content: flex-start;
}

.nav-next .nav-direction {
    justify-content: flex-end;
}

.nav-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-green);
}

.nav-direction i {
    font-size: 14px;
    color: var(--primary-green);
}

/* 文章标题 */
.nav-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #333;
    margin-bottom: 8px;
    flex-grow: 1;
}

.nav-prev .nav-title {
    text-align: left;
}

.nav-next .nav-title {
    text-align: right;
}

/* 文章类型 */
.nav-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

.nav-prev .nav-type {
    justify-content: flex-start;
}

.nav-next .nav-type {
    justify-content: flex-end;
}

.nav-type i {
    font-size: 12px;
    color: #FF9800;
}

/* 占位符样式（无上/下篇时） */
.nav-placeholder {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    opacity: 0.5;
    background: #FAFAFA;
}

.nav-subtitle {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

.nav-prev .nav-subtitle {
    text-align: left;
}

.nav-next .nav-subtitle {
    text-align: right;
}

/* 中央分类入口 */
.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    background: linear-gradient(135deg, var(--light-green), #E8F5E8);
    min-width: 120px;
}

.nav-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 12px;
    border-radius: 12px;
}

.nav-category:hover {
    background: rgba(76, 175, 80, 0.1);
    transform: scale(1.05);
    text-decoration: none;
    color: inherit;
}

.category-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.nav-category:hover .category-icon {
    background: var(--dark-green);
    transform: rotate(5deg);
}

.category-icon i {
    color: white;
    font-size: 18px;
}

.category-info {
    text-align: center;
}

.category-label {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.category-name {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-green);
}

/* 禁用状态 */
.nav-disabled {
    opacity: 0.6;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navigation-container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    .nav-item.nav-prev,
    .nav-item.nav-next {
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-item.nav-next {
        border-bottom: none;
    }
    
    .nav-center {
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        order: 2;
        min-width: auto;
    }
    
    .nav-item.nav-prev {
        order: 1;
    }
    
    .nav-item.nav-next {
        order: 3;
    }
    
    .nav-title {
        text-align: center !important;
        font-size: 15px;
    }
    
    .nav-direction {
        justify-content: center !important;
    }
    
    .nav-type {
        justify-content: center !important;
    }
    
    .nav-subtitle {
        text-align: center !important;
    }
}

@media (max-width: 480px) {
    .post-navigation-enhanced {
        margin: 24px 0;
        border-radius: 12px;
    }
    
    .nav-link {
        padding: 16px;
    }
    
    .nav-placeholder {
        padding: 16px;
    }
    
    .nav-center {
        padding: 16px;
    }
    
    .nav-title {
        font-size: 14px;
    }
    
    .category-icon {
        width: 36px;
        height: 36px;
    }
    
    .category-icon i {
        font-size: 16px;
    }
    
    .category-name {
        font-size: 12px;
    }
    
    .category-label {
        font-size: 10px;
    }
}

/* 悬停动画增强 */
@keyframes navGlow {
    0% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
    50% { box-shadow: 0 8px 30px rgba(76, 175, 80, 0.15); }
    100% { box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); }
}

.nav-link:hover {
    animation: navGlow 2s ease-in-out infinite;
}

/* ============= 美化的顶部菜单样式 ============= */

/* 顶部头部容器 */
.focux-header {
    margin-bottom: 0 !important;
    padding: 0 !important;
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}

/* 新的header容器 */
#header {
    background: #fff !important;
    border-bottom: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
}

/* 重新设计logo区域 */
#logo {
    height: 70px !important;
    line-height: 70px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
}

/* 全新的导航容器 */
.nav-wrap {
    flex: 1 !important;
    display: flex !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 重写主导航样式 */
#mainnav {
    margin: 0 !important;
    padding: 0 !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
}

#mainnav > ul {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    height: 70px !important;
    gap: 0 !important;
}

#mainnav > ul > li {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 70px !important;
    position: relative !important;
    border: none !important;
}

#mainnav > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 70px !important;
    padding: 0 20px !important;
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    background: transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 现代悬停效果 */
#mainnav > ul > li > a::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    transform: translateY(100%) !important;
    transition: transform 0.3s ease !important;
    z-index: -1 !important;
}

#mainnav > ul > li:hover > a::before {
    transform: translateY(0) !important;
}

#mainnav > ul > li:hover > a {
    color: #fff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3) !important;
}

/* 激活状态 */
#mainnav > ul > li.current-menu-item > a,
#mainnav > ul > li.current-menu-parent > a {
    color: #4CAF50 !important;
    font-weight: 600 !important;
}

#mainnav > ul > li.current-menu-item > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 30px !important;
    height: 3px !important;
    background: #4CAF50 !important;
    border-radius: 2px !important;
}

/* 搜索按钮重新设计 */
.show-search {
    margin: 0 20px 0 0 !important;
    height: 70px !important;
    display: flex !important;
    align-items: center !important;
}

.show-search a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    color: #666 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
}

.show-search a:hover {
    background: #4CAF50 !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* 下拉菜单重新设计 */
#mainnav ul.sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 200px !important;
    background: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease !important;
    border: 1px solid #e9ecef !important;
    padding: 8px 0 !important;
    z-index: 1000 !important;
}

#mainnav ul li:hover > ul.sub-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

#mainnav ul.sub-menu > li > a {
    display: block !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    color: #555 !important;
    border-radius: 4px !important;
    margin: 2px 8px !important;
    transition: all 0.2s ease !important;
    height: auto !important;
}

#mainnav ul.sub-menu > li > a:hover {
    background: #f8f9fa !important;
    color: #4CAF50 !important;
    transform: translateX(5px) !important;
}

/* 移动端适配 */
@media (max-width: 991px) {
    #header {
        height: 60px !important;
    }
    
    #logo {
        height: 60px !important;
        line-height: 60px !important;
        padding: 0 15px !important;
    }
    
    .nav-wrap,
    #mainnav,
    .show-search {
        display: none !important;
    }
    
    .mobile-button {
        display: block !important;
        right: 15px !important;
    }
}

/* 确保所有元素都紧贴 */
body {
    margin: 0 !important;
    padding: 0 !important;
    margin-top: 70px !important;
}

.container {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* 修复可能的间隙问题 */
#header,
.focux-header,
#mainnav,
#mainnav ul,
#mainnav li {
    box-sizing: border-box !important;
}

/* 确保header后的内容紧贴 */
.focux-header + * {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 页面内容区域调整 */
.flat-row:first-of-type,
.page-title,
main > *:first-child {
    margin-top: 0 !important;
}

/* 特殊情况：如果页面有page-title */
.page-title {
    margin-top: 0 !important;
    padding-top: 60px !important;
}

/* 微动画效果 */
#mainnav > ul > li > a .fa {
    transition: transform 0.2s ease !important;
}

#mainnav > ul > li:hover > a .fa {
    transform: scale(1.1) !important;
}

/* 额外确保主要内容区域不被遮挡 */
body > *:first-child,
.focux-header + *,
main,
.main-content,
.container:first-child,
.flat-row:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* 特殊处理：如果页面有这些元素 */
.page-title {
    margin-top: 0 !important;
    padding-top: 20px !important;
}

/* 移动端body顶部间距调整 */
@media (max-width: 991px) {
    body {
        margin-top: 50px !important;
    }
}

@media (max-width: 480px) {
    body {
        margin-top: 45px !important;
    }
}

/* 强制覆盖可能的冲突样式 */
html body {
    margin-top: 70px !important;
    padding-top: 0 !important;
}

html body.focux-header {
    margin-top: 70px !important;
}

/* 移动端强制覆盖 */
@media (max-width: 991px) {
    html body {
        margin-top: 50px !important;
    }
}

@media (max-width: 480px) {
    html body {
        margin-top: 45px !important;
    }
}

.container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

/* 移动端适配 */
@media (max-width: 991px) {
    .focux-header {
        height: 50px !important;
    }
    
    #header {
        height: 50px !important;
    }
    
    #logo {
        height: 50px !important;
        line-height: 50px !important;
        padding: 0 10px !important;
    }
    
    #logo img {
        max-height: 28px !important;
        width: auto !important;
    }
    
    .nav-wrap,
    #mainnav,
    .show-search {
        display: none !important;
    }
    
    .mobile-button {
        display: block !important;
        right: 15px !important;
        background-color: #4CAF50 !important;
    }
    
    .mobile-button:before,
    .mobile-button:after,
    .mobile-button span {
        background-color: #fff !important;
    }
}

@media (max-width: 480px) {
    .focux-header {
        height: 45px !important;
    }
    
    #header {
        height: 45px !important;
    }
    
    #logo {
        height: 45px !important;
        line-height: 45px !important;
        padding: 0 8px !important;
    }
    
    #logo img {
        max-height: 25px !important;
    }
}

/* =================== 搜索结果卡片设计 - 模仿tag样式 =================== */
/* 搜索结果页面容器 */
.content-wrap {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* 搜索结果单个文章卡片 */
.post {
    background: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e8e8e8 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px !important;
    position: relative !important;
}

.post:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--primary-green) !important;
}

/* 文章卡片边框容器 */
.post-border {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 特色图片区域 */
.featured-post {
    position: relative !important;
    height: 160px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f8f9fa !important;
}

.featured-post img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

.post:hover .featured-post img {
    transform: scale(1.05) !important;
}

/* 默认图片样式 */
.featured-post:not(:has(img))::before {
    content: '\\f15c' !important;
    font-family: FontAwesome !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 48px !important;
    color: #ddd !important;
}

/* 文章内容区域 */
.content-post {
    padding: 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* 文章元信息 */
.post-meta {
    margin: 0 0 8px 0 !important;
}

.post-meta ul {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.post-meta li {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 11px !important;
    color: #999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.post-meta li.time {
    color: #666 !important;
}

.post-meta li.time::before {
    content: '\\f017' !important;
    font-family: FontAwesome !important;
    color: var(--primary-green) !important;
}

.post-meta .meta-category {
    background: rgba(76, 175, 80, 0.1) !important;
    color: var(--primary-green) !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

.post-meta .meta-category:hover {
    background: var(--primary-green) !important;
    color: white !important;
    text-decoration: none !important;
}

/* 文章标题 */
.post-title {
    margin: 0 0 8px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: flex-start !important;
}

.post-title a {
    color: #333 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

.post-title a:hover {
    color: var(--primary-green) !important;
    text-decoration: none !important;
}

/* 文章摘要 */
.post-content {
    flex: 1 !important;
    margin: 0 !important;
}

.post-content p {
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .content-wrap {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 15px !important;
        padding: 15px !important;
    }
}

@media (max-width: 768px) {
    .content-wrap {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 12px !important;
        padding: 12px !important;
    }
    
    .post {
        min-height: 250px !important;
    }
    
    .featured-post {
        height: 140px !important;
    }
    
    .content-post {
        padding: 12px !important;
    }
    
    .post-title {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    .content-wrap {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    
    .post {
        min-height: 220px !important;
    }
    
    .featured-post {
        height: 120px !important;
    }
    
    .post-title {
        font-size: 14px !important;
        min-height: 38px !important;
    }
    
    .post-content p {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* 搜索结果分页样式优化 */
.pagination-wrap.blog-pagination {
    margin-top: 30px !important;
    padding: 20px !important;
    text-align: center !important;
    grid-column: 1 / -1 !important;
}

/* 搜索结果页面标题优化 */
.main-content {
    padding-top: 20px !important;
}

.main-content .container {
    max-width: 1200px !important;
}

/* 无搜索结果时的样式 */
.content-wrap:empty::after {
    content: '没有找到匹配的搜索结果' !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
    padding: 60px 20px !important;
    color: #999 !important;
    font-size: 16px !important;
}

/* 搜索结果计数样式 */
.search-results-info {
    background: #f8f9fa !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
    color: #666 !important;
    font-size: 14px !important;
    border-left: 3px solid var(--primary-green) !important;
    grid-column: 1 / -1 !important;
}

/* =================== 搜索结果卡片设计 - 模仿tag样式 =================== */
/* 只针对搜索页面的容器 */
body.search .content-wrap {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 20px !important;
}

/* 只针对搜索页面的文章卡片 */
body.search .post {
    background: var(--white) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #e8e8e8 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 280px !important;
    position: relative !important;
}

body.search .post:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--primary-green) !important;
}

/* 搜索页面的文章卡片边框容器 */
body.search .post-border {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
}

/* 搜索页面的特色图片区域 */
body.search .featured-post {
    position: relative !important;
    height: 160px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #f8f9fa !important;
}

body.search .featured-post img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
}

body.search .post:hover .featured-post img {
    transform: scale(1.05) !important;
}

/* 搜索页面的默认图片样式 */
body.search .featured-post:not(:has(img))::before {
    content: '\\f15c' !important;
    font-family: FontAwesome !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 48px !important;
    color: #ddd !important;
}

/* 搜索页面的文章内容区域 */
body.search .content-post {
    padding: 16px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

/* 搜索页面的文章元信息 */
body.search .post-meta {
    margin: 0 0 8px 0 !important;
}

body.search .post-meta ul {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

body.search .post-meta li {
    display: flex !important;
    align-items: center !important;
    gap: 3px !important;
    font-size: 11px !important;
    color: #999 !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.search .post-meta li.time {
    color: #666 !important;
}

body.search .post-meta li.time::before {
    content: '\\f017' !important;
    font-family: FontAwesome !important;
    color: var(--primary-green) !important;
}

body.search .post-meta .meta-category {
    background: rgba(76, 175, 80, 0.1) !important;
    color: var(--primary-green) !important;
    padding: 2px 6px !important;
    border-radius: 3px !important;
    text-decoration: none !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
}

body.search .post-meta .meta-category:hover {
    background: var(--primary-green) !important;
    color: white !important;
    text-decoration: none !important;
}

/* 搜索页面的文章标题 */
body.search .post-title {
    margin: 0 0 8px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    min-height: 42px !important;
    display: flex !important;
    align-items: flex-start !important;
}

body.search .post-title a {
    color: #333 !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.3s ease !important;
}

body.search .post-title a:hover {
    color: var(--primary-green) !important;
    text-decoration: none !important;
}

/* 搜索页面的文章摘要 */
body.search .post-content {
    flex: 1 !important;
    margin: 0 !important;
}

body.search .post-content p {
    color: #666 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

/* 搜索页面的响应式设计 */
@media (max-width: 1024px) {
    body.search .content-wrap {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
        gap: 15px !important;
        padding: 15px !important;
    }
}

@media (max-width: 768px) {
    body.search .content-wrap {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
        gap: 12px !important;
        padding: 12px !important;
    }
    
    body.search .post {
        min-height: 250px !important;
    }
    
    body.search .featured-post {
        height: 140px !important;
    }
    
    body.search .content-post {
        padding: 12px !important;
    }
    
    body.search .post-title {
        font-size: 15px !important;
    }
}

@media (max-width: 480px) {
    body.search .content-wrap {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 10px !important;
    }
    
    body.search .post {
        min-height: 220px !important;
    }
    
    body.search .featured-post {
        height: 120px !important;
    }
    
    body.search .post-title {
        font-size: 14px !important;
        min-height: 38px !important;
    }
    
    body.search .post-content p {
        font-size: 12px !important;
        -webkit-line-clamp: 2 !important;
    }
}

/* 搜索结果分页样式优化 */
body.search .pagination-wrap.blog-pagination {
    margin-top: 30px !important;
    padding: 20px !important;
    text-align: center !important;
    grid-column: 1 / -1 !important;
}

/* 搜索结果页面标题优化 */
body.search .main-content {
    padding-top: 20px !important;
}

body.search .main-content .container {
    max-width: 1200px !important;
}

/* 无搜索结果时的样式 */
body.search .content-wrap:empty::after {
    content: '没有找到匹配的搜索结果' !important;
    grid-column: 1 / -1 !important;
    text-align: center !important;
    padding: 60px 20px !important;
    color: #999 !important;
    font-size: 16px !important;
}

/* 搜索结果计数样式 */
body.search .search-results-info {
    background: #f8f9fa !important;
    padding: 15px 20px !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
    color: #666 !important;
    font-size: 14px !important;
    border-left: 3px solid var(--primary-green) !important;
    grid-column: 1 / -1 !important;
}

/* =================== 重置通用规则，恢复原始样式 =================== */
/* 重置之前影响所有页面的通用规则 */
.content-wrap {
    display: block !important;
    grid-template-columns: unset !important;
    gap: unset !important;
    max-width: unset !important;
    margin: unset !important;
    padding: unset !important;
}

.post {
    background: unset !important;
    border-radius: unset !important;
    box-shadow: unset !important;
    border: unset !important;
    overflow: unset !important;
    transition: unset !important;
    display: unset !important;
    flex-direction: unset !important;
    min-height: unset !important;
    position: unset !important;
}

.post:hover {
    transform: unset !important;
    box-shadow: unset !important;
    border-color: unset !important;
}

.post-border {
    display: unset !important;
    flex-direction: unset !important;
    height: unset !important;
    padding: unset !important;
    margin: unset !important;
    border: unset !important;
    background: unset !important;
}

.featured-post {
    position: unset !important;
    height: unset !important;
    overflow: unset !important;
    flex-shrink: unset !important;
    background: unset !important;
}

.featured-post img {
    width: unset !important;
    height: unset !important;
    object-fit: unset !important;
    transition: unset !important;
}

.post:hover .featured-post img {
    transform: unset !important;
}

.featured-post:not(:has(img))::before {
    content: unset !important;
    font-family: unset !important;
    position: unset !important;
    top: unset !important;
    left: unset !important;
    transform: unset !important;
    font-size: unset !important;
    color: unset !important;
}

.content-post {
    padding: unset !important;
    flex: unset !important;
    display: unset !important;
    flex-direction: unset !important;
    gap: unset !important;
}

.post-meta {
    margin: unset !important;
}

.post-meta ul {
    display: unset !important;
    gap: unset !important;
    flex-wrap: unset !important;
    margin: unset !important;
    padding: unset !important;
    list-style: unset !important;
}

.post-meta li {
    display: unset !important;
    align-items: unset !important;
    gap: unset !important;
    font-size: unset !important;
    color: unset !important;
    margin: unset !important;
    padding: unset !important;
}

.post-meta li.time {
    color: unset !important;
}

.post-meta li.time::before {
    content: unset !important;
    font-family: unset !important;
    color: unset !important;
}

.post-meta .meta-category {
    background: unset !important;
    color: unset !important;
    padding: unset !important;
    border-radius: unset !important;
    text-decoration: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
    transition: unset !important;
}

.post-meta .meta-category:hover {
    background: unset !important;
    color: unset !important;
    text-decoration: unset !important;
}

.post-title {
    margin: unset !important;
    font-size: unset !important;
    font-weight: unset !important;
    line-height: unset !important;
    min-height: unset !important;
    display: unset !important;
    align-items: unset !important;
}

.post-title a {
    color: unset !important;
    text-decoration: unset !important;
    display: unset !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: unset !important;
    transition: unset !important;
}

.post-title a:hover {
    color: unset !important;
    text-decoration: unset !important;
}

.post-content {
    flex: unset !important;
    margin: unset !important;
}

.post-content p {
    color: unset !important;
    font-size: unset !important;
    line-height: unset !important;
    margin: unset !important;
    display: unset !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    overflow: unset !important;
}

/* =================== 搜索模块样式 =================== */
.home-search-module {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.search-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* 搜索标题区域 */
.search-header-section {
    margin-bottom: 40px;
}

.search-main-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.search-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 搜索表单区域 */
.search-form-section {
    margin-bottom: 30px;
}

.enhanced-search-form {
    max-width: 600px;
    margin: 0 auto;
}

.search-input-container {
    display: flex;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input-container:focus-within {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #9E9E9E;
    font-size: 18px;
    z-index: 3;
}

.search-field-enhanced {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #333;
    padding: 15px 20px 15px 50px;
    border-radius: 25px;
}

.search-field-enhanced::placeholder {
    color: #9E9E9E;
    font-weight: 400;
}

.search-submit-enhanced {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 140px;
    justify-content: center;
}

.search-submit-enhanced:hover {
    background: linear-gradient(135deg, var(--dark-green), #1B5E1F);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

/* 热门关键词区域 */
.hot-keywords-section {
    margin-bottom: 30px;
}

.hot-keywords-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.hot-keywords-label .fa-fire {
    color: #ff6b35;
    animation: pulse 2s infinite;
}

.hot-keywords-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.hot-keyword-tag {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hot-keyword-tag:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 快速分类区域 */
.quick-categories-section {
    margin-top: 40px;
}

.categories-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    max-width: 600px;
    margin: 0 auto;
}

.category-quick-link {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
}

.category-quick-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-icon i {
    color: white;
    font-size: 16px;
}

.category-info {
    flex: 1;
    text-align: left;
}

.category-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
}

.category-count {
    display: block;
    font-size: 12px;
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .home-search-module {
        padding: 60px 0;
        min-height: 350px;
        background-attachment: scroll;
    }
    
    .search-main-title {
        font-size: 2.5rem;
        margin-bottom: 12px;
    }
    
    .search-subtitle {
        font-size: 1rem;
    }
    
    .search-input-container {
        flex-direction: column;
        padding: 10px;
        border-radius: 20px;
    }
    
    .search-input-wrapper {
        margin-bottom: 10px;
    }
    
    .search-field-enhanced {
        padding: 12px 20px 12px 45px;
        font-size: 15px;
    }
    
    .search-submit-enhanced {
        width: 100%;
        padding: 12px 20px;
        border-radius: 15px;
        min-width: auto;
    }
    
    .hot-keywords-list {
        gap: 8px;
    }
    
    .hot-keyword-tag {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .category-quick-link {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .home-search-module {
        padding: 40px 0;
        min-height: 300px;
    }
    
    .search-content-wrapper {
        padding: 0 15px;
    }
    
    .search-main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .search-subtitle {
        font-size: 0.9rem;
    }
    
    .search-header-section {
        margin-bottom: 30px;
    }
    
    .search-form-section {
        margin-bottom: 25px;
    }
    
    .search-field-enhanced {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }
    
    .search-icon {
        left: 15px;
        font-size: 16px;
    }
    
    .search-submit-enhanced {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .category-quick-link {
        padding: 10px;
        gap: 10px;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
    }
    
    .category-name {
        font-size: 13px;
    }
    
    .category-count {
        font-size: 11px;
    }
}

/* 动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* 无背景图时的纯色背景样式 */
.home-search-module:not([style*="background-image"]) {
    background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
}

.home-search-module:not([style*="background-image"]) .search-overlay {
    display: none;
}

.meta-item-modern {
    background: #f8f9fa;
    color: #666;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.meta-item-modern i {
    font-size: 11px;
}

.meta-item-modern.environment {
    background: #e3f2fd;
    color: #1976d2;
}

.meta-item-modern.size {
    background: #fce4ec;
    color: #c2185b;
}

.meta-item-modern.language {
    background: #e8f5e8;
    color: #388e3c;
}

.meta-item-modern.version {
    background: #fff3e0;
    color: #f57c00;
}

.modern-showcase-more {
    text-align: center;
    margin-top: 48px;
}

.btn-view-more-modern {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.btn-view-more-modern:hover {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(76, 175, 80, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-more-modern i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modern-software-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .software-card-header {
        padding: 16px;
        gap: 12px;
    }
    
    .software-icon-modern,
    .default-software-icon-modern {
        width: 56px;
        height: 56px;
    }
    
    .software-title-modern {
        font-size: 16px;
    }
    
    .software-description-modern {
        padding: 0 16px 12px;
    }
    
    .software-meta-modern {
        padding: 12px 16px 16px;
    }
}

@media (max-width: 480px) {
    .modern-software-showcase {
        padding: 40px 0;
    }
    
    .modern-software-grid {
        margin-top: 24px;
    }
    
    .software-card-header {
        align-items: center;
        gap: 10px;
    }
    
    .software-actions-modern {
        align-self: stretch;
        justify-content: center;
    }
    
    .btn-get-modern,
    .btn-view-modern {
        padding: 10px 20px;
        font-size: 16px;
    }
}

/* 搜索页面专用样式 */
.search-header-enhanced {
    background: linear-gradient(135deg, var(--light-green), #E8F5E8);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.15);
}

.search-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.search-title-enhanced {
    color: var(--primary-green);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-icon {
    color: var(--primary-green);
    font-size: 22px;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px;
    border-radius: 8px;
}

.search-stats {
    display: flex;
    align-items: center;
    gap: 8px;
}

.results-count {
    background: rgba(76, 175, 80, 0.1);
    color: var(--dark-green);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.results-count i {
    font-size: 12px;
    opacity: 0.8;
}

.search-query-info {
    padding: 8px 0;
}

.query-text {
    color: var(--dark-green);
    font-size: 16px;
    font-weight: 500;
}

.query-text strong {
    color: var(--primary-green);
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

/* 搜索结果网格 - 复用tag页面样式 */
.search-content-wrapper-enhanced {
    margin-top: 20px;
}

.search-posts-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* 搜索建议样式 */
.search-suggestions {
    margin-top: 20px;
    padding: 20px;
    background: rgba(76, 175, 80, 0.05);
    border-radius: 8px;
    border-left: 4px solid var(--primary-green);
}

.search-suggestions h4 {
    color: var(--primary-green);
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.search-suggestions li {
    padding: 6px 0;
    color: var(--dark-green);
    position: relative;
    padding-left: 20px;
    font-size: 14px;
}

.search-suggestions li::before {
    content: "•";
    color: var(--primary-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 增强搜索表单样式 */
.search-form-enhanced {
    margin: 0;
}

.search-input-group {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.search-field-enhanced {
    flex: 1;
    padding: 12px 16px;
    border: none;
    outline: none;
    font-size: 14px;
    background: var(--white);
    color: #333;
}

.search-field-enhanced::placeholder {
    color: #999;
}

.search-submit-enhanced {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
}

.search-submit-enhanced:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

.search-submit-enhanced i {
    font-size: 14px;
}

/* 搜索页面响应式设计 */
@media (max-width: 768px) {
    .search-header-enhanced {
        padding: 16px 20px;
        margin-bottom: 20px;
    }
    
    .search-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 8px;
    }
    
    .search-title-enhanced {
        font-size: 20px;
    }
    
    .search-icon {
        font-size: 18px;
        padding: 6px;
    }
    
    .results-count {
        font-size: 13px;
        padding: 5px 10px;
    }
    
    .query-text {
        font-size: 15px;
    }
    
    .search-posts-grid-enhanced {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .search-suggestions {
        padding: 16px;
        margin-top: 16px;
    }
    
    .search-suggestions h4 {
        font-size: 15px;
    }
    
    .search-suggestions li {
        font-size: 13px;
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .search-header-enhanced {
        padding: 12px 16px;
        margin-bottom: 16px;
    }
    
    .search-title-enhanced {
        font-size: 18px;
        gap: 8px;
    }
    
    .search-icon {
        font-size: 16px;
        padding: 4px;
    }
    
    .query-text {
        font-size: 14px;
    }
    
    .query-text strong {
        padding: 1px 4px;
        font-size: 14px;
    }
    
    .results-count {
        font-size: 12px;
        padding: 4px 8px;
    }
    
    .search-field-enhanced {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .search-submit-enhanced {
        padding: 10px 14px;
        width: 42px;
    }
    
    .search-submit-enhanced i {
        font-size: 12px;
    }
    
    .search-suggestions {
        padding: 12px;
    }
    
    .search-suggestions h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .search-suggestions li {
        font-size: 12px;
        padding: 3px 0;
        padding-left: 16px;
    }
}

/* 搜索页面无结果状态优化 */
.no-posts-enhanced .search-suggestions {
    background: rgba(255, 193, 7, 0.1);
    border-left-color: #ffc107;
}

.no-posts-enhanced .search-suggestions h4 {
    color: #e65100;
}

.no-posts-enhanced .search-suggestions li::before {
    color: #ff9800;
}

/* 搜索结果高亮 */
.search-highlight {
    background: linear-gradient(120deg, transparent 0%, rgba(76, 175, 80, 0.2) 50%, transparent 100%);
    color: var(--dark-green);
    font-weight: 600;
    padding: 1px 2px;
    border-radius: 2px;
}

/* 搜索页面特殊动画 */
@keyframes searchFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-posts-grid-enhanced .software-card-enhanced,
.search-posts-grid-enhanced .article-card-enhanced {
    animation: searchFadeIn 0.6s ease-out;
}

.search-posts-grid-enhanced .software-card-enhanced:nth-child(1),
.search-posts-grid-enhanced .article-card-enhanced:nth-child(1) {
    animation-delay: 0.1s;
}

.search-posts-grid-enhanced .software-card-enhanced:nth-child(2),
.search-posts-grid-enhanced .article-card-enhanced:nth-child(2) {
    animation-delay: 0.2s;
}

.search-posts-grid-enhanced .software-card-enhanced:nth-child(3),
.search-posts-grid-enhanced .article-card-enhanced:nth-child(3) {
    animation-delay: 0.3s;
}

/* 搜索页面侧边栏优化 */
.search-form-enhanced .widget-content {
    padding: 0;
}

/* 搜索统计信息增强 */
.search-stats-extended {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item i {
    font-size: 11px;
    opacity: 0.8;
}

/* 让搜索页面使用与tag页面完全相同的卡片样式 */
.search-posts-grid-enhanced .software-card-enhanced,
.search-posts-grid-enhanced .article-card-enhanced {
    /* 继承所有已定义的enhanced卡片样式 */
}