/* 三栏模块样式 */
.three-column-module {
    margin-bottom: 30px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 20px 0;
}

.three-column-container {
    display: flex;
    padding: 20px;
    gap: 20px;
}

/* 左侧轮播图 */
.column-left {
    flex: 0;
    min-width: 360px;
}

.new-slideshow {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.new-slide-wrapper {
    display: none;
    /*margin-bottom: 10px;*/
}

.new-slide-wrapper.active {
    display: block;
    background-color: var(--conBgcolor);
}

.new-slide {
    position: relative;
    background-color: var(--conBgcolor);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}

.new-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.new-slide-title {
    text-align: center;
    color: var(--fontColor);
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 500;
    background: var(--bodyBground);
    border-radius: 0 0 8px 8px;
    /*border: 1px solid var(--borderColor);*/
    border-top: none;
    line-height: 1.4;
}

.new-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
    border-radius: 4px;
    transition: background 0.3s;
    z-index: 10;
}

.new-slide-nav:hover {
    background: rgba(0,0,0,0.8);
}

.new-slide-prev {
    left: 10px;
}

.new-slide-next {
    right: 10px;
}

.new-slide-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.new-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.new-slide-dot.active {
    background: white;
}

/* 中间最新文章 */
.column-middle {
    flex: 1;
    min-width: 300px;
    border-left: 1px solid var(--borderColor);
    border-right: 1px solid var(--borderColor);
    padding: 0 20px;
}

.latest-posts {
    height: 100%;
}

.latest-posts h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: var(--fontColor);
    border-bottom: 2px solid #007bff;
    padding-bottom: 8px;
}

.latest-post-item {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--borderColor);
}

.latest-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.latest-post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.latest-post-title {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
}

.latest-post-title a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-post-title a:hover {
    color: #007bff;
}

.latest-post-date {
    font-size: 12px;
    color: var(--lightColor);
    margin-left: 10px;
    white-space: nowrap;
}

/* 封面图样式 */
.latest-post-cover {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 5px;
    flex-shrink: 0;
    background: var(--bodyBground);
}

.latest-post-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.latest-post-cover-placeholder {
}

/* 分类文章模块样式 */
.category-articles-module {
    margin-bottom: 30px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.category-articles-container {
    padding: 20px;
}

.category-articles-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-articles-header .more {
    color: var(--fontColor);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-articles-header .more:after {
    content: " >";
    font-family: 'remixicon';
}

.category-articles-header .more:hover {
    color: #0056b3;
}

.category-articles-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
    position: relative;
    padding-left: 16px;
}
.category-articles-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color: #007bff;
    position: absolute;
    top: 10px;
    left: 0;
}
.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 10px;
}

.category-article-item {
    background: var(--conBgcolor);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--borderColor);
}

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

.category-article-content {
    display: flex;
    height: 100%;
    flex-direction: row;
}

.category-article-cover {
    width: 130px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--bodyBground);
        margin-right: 10px;
}

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

.category-article-cover:hover img {
    transform: scale(1.05);
}

.category-article-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 25%, #e9ecef 25%, #e9ecef 50%, #f5f5f5 50%, #f5f5f5 75%, #e9ecef 75%, #e9ecef);
    background-size: 20px 20px;
    border-radius: 0;
}

.category-article-info {
    flex: 1;
    padding: 6px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    flex-direction: column;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-article-title {
    margin: 0 0 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fontColor);
    width: 100%;
    box-sizing: border-box;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-article-title a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.category-article-title a:hover {
    color: #007bff;
}

.category-article-description {
    flex: 1;
    font-size: 12px;
    opacity: 0.6;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.category-article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    font-size: 11px;
    color: var(--lightColor);
    border-top: 1px solid var(--borderColor);
    padding-top: 5px;
}

.category-article-date,
.category-article-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.category-article-date .iconfont,
.category-article-views .iconfont {
    font-size: 12px;
    color: var(--fontColor);
}

.category-article-cover a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.category-article-cover a:hover {
    opacity: 0.9;
}

/* 现代化标签云样式 */
.modern-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 4px;
    justify-content: center;
    align-items: center;
    min-height: 40px;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 1px 3px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: #495057;
    font-weight: 400;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.tag-item:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
    border-color: rgba(0, 123, 255, 0.2);
    color: #007bff;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.tag-count {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    padding: 1px 4px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 500;
    min-width: 14px;
    text-align: center;
    transition: all 0.2s ease;
}

.tag-item:hover .tag-count {
    background: rgba(0, 123, 255, 0.15);
    color: #0056b3;
}

/* 不同大小的标签 */
.tag-item.size-8 {
    font-size: 10px;
    padding: 2px 6px;
}

.tag-item.size-9 {
    font-size: 11px;
    padding: 2px 7px;
}

.tag-item.size-10 {
    font-size: 12px;
    padding: 3px 8px;
}

.tag-item.size-11 {
    font-size: 13px;
    padding: 3px 9px;
}

.tag-item.size-12 {
    font-size: 14px;
    padding: 4px 10px;
}

.tag-item.size-13 {
    font-size: 14px;
    padding: 4px 10px;
}

.tag-item.size-14 {
    font-size: 15px;
    padding: 4px 11px;
}

.tag-item.size-15 {
    font-size: 15px;
    padding: 4px 11px;
}

.tag-item.size-16 {
    font-size: 16px;
    padding: 5px 12px;
}

/* 热门标签特殊效果 */
.tag-item[data-count="10"],
.tag-item[data-count="11"],
.tag-item[data-count="12"] {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-color: rgba(255, 193, 7, 0.3);
}

.tag-item[data-count="13"],
.tag-item[data-count="14"],
.tag-item[data-count="15"] {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-color: rgba(40, 167, 69, 0.3);
}

.tag-item[data-count="16"],
.tag-item[data-count="17"],
.tag-item[data-count="18"] {
    background: linear-gradient(135deg, #cce5ff 0%, #b3d7ff 100%);
    border-color: rgba(0, 123, 255, 0.3);
}

.tag-item[data-count="19"],
.tag-item[data-count="20"],
.tag-item[data-count="21"] {
    background: linear-gradient(135deg, #e2d9f3 0%, #d1c4e9 100%);
    border-color: rgba(102, 16, 242, 0.3);
}

/* 超级热门标签 */
.tag-item[data-count="22"],
.tag-item[data-count="23"],
.tag-item[data-count="24"],
.tag-item[data-count="25"],
.tag-item[data-count="26"],
.tag-item[data-count="27"],
.tag-item[data-count="28"],
.tag-item[data-count="29"],
.tag-item[data-count="30"] {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    border-color: rgba(255, 107, 107, 0.4);
    color: white;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.tag-item[data-count="30"]::after {
    content: '🔥';
    margin-left: 4px;
    font-size: 12px;
}

@keyframes pulse {
    0% { box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3); }
    50% { box-shadow: 0 4px 12px rgba(255, 107, 107, 0.5); }
    100% { box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    
    .category-article-cover {
        width: 100%;
        height: 180px;
    }
    
    .category-article-info {
        padding: 10px 0px 10px 0;
    }
    
    .category-article-title {
        font-size: 13px;
    }
    
    .category-article-description {
        font-size: 11px;
        -webkit-line-clamp: 2;
    }
    
    /* 标签云响应式 */
    .modern-tag-cloud {
        gap: 3px;
        padding: 6px 3px;
    }
    
    .tag-item {
        padding: 2px 6px;
        font-size: 10px;
        border-radius: 10px;
    }
    
    .tag-count {
        font-size: 9px;
        padding: 1px 3px;
        min-width: 12px;
    }
    
    .tag-item.size-8, .tag-item.size-9, .tag-item.size-10 {
        font-size: 9px;
        padding: 2px 5px;
    }
    
    .tag-item.size-11, .tag-item.size-12, .tag-item.size-13 {
        font-size: 10px;
        padding: 2px 6px;
    }
    
    .tag-item.size-14, .tag-item.size-15, .tag-item.size-16 {
        font-size: 11px;
        padding: 3px 7px;
    }
}

@media (max-width: 480px) {
    .category-articles-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .category-article-content {
        flex-direction: column;
    }
    
    .category-article-cover {
        width: 100%;
        height: 180px;
    }
    
    .category-article-info {
        padding: 10px 0px 10px 0;
    }
    
    /* 标签云响应式 */
    .modern-tag-cloud {
        gap: 2px;
        padding: 4px 1px;
        justify-content: flex-start;
    }
    
    .tag-item {
        padding: 1px 4px;
        font-size: 9px;
        border-radius: 8px;
    }
    
    .tag-count {
        font-size: 8px;
        padding: 1px 2px;
        min-width: 10px;
        border-radius: 6px;
    }
    
    .tag-item.size-8, .tag-item.size-9, .tag-item.size-10, .tag-item.size-11 {
        font-size: 8px;
        padding: 1px 3px;
    }
    
    .tag-item.size-12, .tag-item.size-13, .tag-item.size-14 {
        font-size: 9px;
        padding: 1px 4px;
    }
    
    .tag-item.size-15, .tag-item.size-16 {
        font-size: 10px;
        padding: 2px 5px;
    }
    
    .tag-item[data-count="30"]::after {
        font-size: 8px;
        margin-left: 1px;
    }
}
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f0f0f0 25%, #e0e0e0 25%, #e0e0e0 50%, #f0f0f0 50%, #f0f0f0 75%, #e0e0e0 75%, #e0e0e0);
    background-size: 8px 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 20px;
}

/* 右侧热门和热评 */
.column-right {
    flex: 0;
    min-width: 275px;
    background-color: var(--bodyBground);
}
.column-right {
    background-color: var(--bodyBground);
    flex: 0;
    min-width: 275px;
}
.popular-tabs {
    display: flex;
  /*  border-bottom: 2px solid #007bff;*/
    margin-bottom: 15px;
    border-radius: 6px 6px 0 0;
    overflow: hidden;
}

.popular-tab {
    flex: 1;
    padding: 7px 0;
    background: var(--bodyBground);
    border: none;
    cursor: pointer;
    font-size: 14px;
    color: var(--fontColor);
    transition: all 0.3s;
    text-align: center;
    font-weight: 500;
    border-radius: 0;
}

.popular-tab:first-child {
    background: #007bff;
    color: white;
}

.popular-tab:last-child {
    background: #6c757d;
    color: white;
}

.popular-tab:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 鼠标悬停时切换颜色 */
.popular-tabs:hover .popular-tab:first-child {
    background: #6c757d;
    color: white;
}

.popular-tabs:hover .popular-tab:last-child {
    background: #007bff;
    color: white;
}

/* 当鼠标悬停在第一个标签上时，保持原有颜色 */
.popular-tab:first-child:hover {
    background: #007bff;
    color: white;
}

.popular-tab:first-child:hover + .popular-tab:last-child {
    background: #6c757d;
    color: white;
}

/* 当鼠标悬停在最后一个标签上时，保持原有颜色 */
.popular-tab:last-child:hover {
    background: #6c757d;
    color: white;
}

/* 排名图标样式 */
.rank-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50px !important;
    border-top-right-radius: 0 !important;
    font-size: 12px;
    font-weight: bold;
    color: white;
    margin-right: 5px;
    flex-shrink: 0;
}

/* 前三名特殊颜色 */
.rank-1 {
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.rank-2 {
    background: #ff9e20;
    color: #ffffff;
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #e4a35a);
    color: white;
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
}

/* 其他排名 */
.rank-4, .rank-5, .rank-6, .rank-7, .rank-8, .rank-9, .rank-10 {
    background: #007bff;
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.popular-tab.active {
    opacity: 1;
    transform: translateY(0);
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.popular-content {
    min-height: 200px;
    background-color: var(--bodyBground);
    padding: 0 5px 0 5px;
}

.popular-list {
    display: none;
}

.popular-list.active {
    display: block;
    background-color: var(--bodyBground);
}

.popular-item {
    margin-bottom: 5px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--borderColor);
}

.popular-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.popular-title {
    font-size: 14px;
    margin: 0 0 0 0;
    line-height: 1.4;
    overflow: hidden;
    height: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.popular-title a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s;
}

.popular-title a:hover {
    color: #007bff;
}

.popular-stats {
    font-size: 12px;
    color: var(--lightColor);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .three-column-container {
        flex-direction: column;
        padding: 15px;
    }
    
    .column-left,
    .column-middle,
    .column-right {
        min-width: 100%;
        border: none;
        border-bottom: 1px solid var(--borderColor);
        padding: 0 0 15px 0;
        margin-bottom: 5px;
    }
    
    .column-middle {
        padding: 0 0 5px 0;
    }
    
    .column-right {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

/* 新模块：分类列表和人气排行样式 */
.category-module {
    margin: 20px 0;
    padding: 20px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.category-container {
    display: flex;
    gap: 20px;
}

/* 左侧分类列表样式 */
.category-left {
    flex: 3;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    grid-template-rows: auto;
    gap: 15px;
}

.category-item {
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--borderColor);
}



.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 8px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--conBgcolor);
}

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

.category-icon.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--bodyBground), var(--borderColor));
}

.category-icon-placeholder {
    width: 40px;
    height: 40px;
    background: var(--lightColor);
    border-radius: 4px;
}

.category-title {
        margin: 0 0 5px 0;
    font-size: 14px;
    height: 19px;
    overflow: hidden;
}

.category-title a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-title a:hover {
    color: var(--themeColor);
}

.category-tag {
    margin-top: 5px;
}

.tag-item {
    display: inline-block;
    color: var(--lightColor);
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
}

/* 右侧人气排行样式 */
.category-right {
    flex: 0;

    border-radius: 8px;

    min-width: 275px;
}

.category-popular-title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-left: 16px;
    vertical-align: middle;
}
.category-popular-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color:#007bff;
    position: absolute;
    top: 10px;
    left: 0;
    }
.category-popular-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
}

.category-popular-list {
    max-height: 100%;
    overflow-y: auto;
}

.category-popular-item {
    display: flex;
    align-items: center;
    padding: 0.72em 0;
    border-bottom: 1px solid var(--borderColor);
    transition: background-color 0.3s ease;
}

.category-popular-item:hover {
    background-color: var(--bodyBground);
    border-radius: 4px;
    padding-left: 5px;
}

.category-popular-item:last-child {
    border-bottom: none;
}

.category-rank-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
    flex-shrink: 0;
}

/* 前三名特殊样式 */
.category-rank-1 {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.category-rank-2 {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.category-rank-3 {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
}

/* 4-10名样式 */
.category-rank-4,
.category-rank-5,
.category-rank-6,
.category-rank-7,
.category-rank-8,
.category-rank-9,
.category-rank-10 {
    background: linear-gradient(135deg, #6c757d, #495057);
    box-shadow: 0 2px 4px rgba(108, 117, 125, 0.3);
}

.category-popular-title-text {
    flex: 1;
    margin: 0;
    font-size: 14px;
    overflow: hidden;
    height: 19px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-popular-title-text a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s ease;
}

.category-popular-title-text a:hover {
    color: var(--themeColor);
}

.category-popular-category {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--lightColor);
    margin-left: 10px;
    flex-shrink: 0;
}

.category-popular-category .iconfont {
    margin-right: 4px;
    font-size: 14px;
    color: var(--themeColor);
}

/* 分类标题头部样式 */
.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
}

.category-header .category-popular-title {
    margin: 0;
    padding: 0;
    border-bottom: none;
    padding-left: 16px;
}

.category-header .more {
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.category-header .more:after {
    content: " >";
    font-family: 'remixicon';
}

/* 社交媒体风格评论组件样式 */
.social-comments {
    padding: 12px 0;
}

.social-comment-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--borderColor);
    transition: all 0.2s ease;
    position: relative;
}

.social-comment-item:last-child {
    border-bottom: none;
}

.social-comment-item:hover {
    background: var(--bodyBground);
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 -8px;
    border-radius: 8px;
}

.social-avatar {
    position: relative;
    margin-right: 12px;
    flex-shrink: 0;
}

.social-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--conBgcolor);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-comment-item:hover .social-avatar img {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.social-rank {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--themeColor);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
    border: 2px solid var(--conBgcolor);
}

.social-content {
    flex: 1;
    min-width: 0;
}

.social-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.social-author {
    font-weight: 600;
    color: var(--fontColor);
    font-size: 14px;
    transition: color 0.2s ease;
}

.social-comment-item:hover .social-author {
    color: var(--themeColor);
}

.social-time {
    font-size: 12px;
    color: var(--lightColor);
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-time::before {
    content: '•';
    font-size: 14px;
    color: var(--borderColor);
}

.social-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--fontColor);
}

.social-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.social-link:hover {
    color: var(--themeColor);
}

/* 空状态样式 */
.social-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--lightColor);
}

.social-empty-icon {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.5;
}

.social-empty-text {
    font-size: 14px;
    font-weight: 500;
}

/* 前三名特殊样式 */
.social-comment-item:nth-child(1) .social-rank {
    background: linear-gradient(135deg, #ffd700, #ffb347);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.4);
}

.social-comment-item:nth-child(2) .social-rank {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    box-shadow: 0 2px 6px rgba(192, 192, 192, 0.4);
}

.social-comment-item:nth-child(3) .social-rank {
    background: linear-gradient(135deg, #cd7f32, #b8860b);
    box-shadow: 0 2px 6px rgba(205, 127, 50, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .social-comment-item {
        padding: 10px 0;
    }
    
    .social-avatar img {
        width: 36px;
        height: 36px;
    }
    
    .social-rank {
        width: 16px;
        height: 16px;
        font-size: 9px;
    }
    
    .social-author {
        font-size: 13px;
    }
    
    .social-time {
        font-size: 11px;
    }
    
    .social-text {
        font-size: 12px;
    }
}
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.4);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .category-grid {
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 992px) {
    .category-container {
        flex-direction: column;
    }
    
    .category-left,
    .category-right {
        flex: none;
        width: 100%;
    }
    
    .category-grid {
                grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 768px) {
    .category-grid {
                grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        gap: 12px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .category-item {
        padding: 4px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
        margin: 0 auto 6px;
    }
    
    .category-title {
        font-size: 12px;
        height: 17px;
        margin: 0 0 4px 0;
    }
    
    .tag-item {
        font-size: 10px;
        padding: 1px 5px;
    }
}

@media (max-width: 576px) {
    .category-module {
        margin: 15px 0;
        padding: 15px 10px;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 8px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .category-item {
        padding: 2px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 4px;
    }
    
    .category-title {
        font-size: 10px;
        height: 14px;
        margin: 0 0 2px 0;
    }
    
    .tag-item {
        font-size: 8px;
        padding: 1px 3px;
    }
}

/* 最新更新模块样式 */
.latest-update-module {
    margin: 10px 0;
    padding: 20px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.latest-update-container {
    width: 100%;
}

.latest-update-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
}

.latest-update-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
    position: relative;
    padding-left: 16px;
}

.latest-update-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color: var(--themeColor);
    position: absolute;
    top: 10px;
    left: 0;
}

.latest-update-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.latest-update-item {
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--borderColor);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.latest-update-content {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.latest-update-info {
    flex: 1;
    text-align: left;
    min-width: 0;
    overflow: hidden;
}

.latest-update-item:hover {
    border-color: var(--borderColor);
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
    transform: translateY(-2px);
    background-color: var(--bodyBground);
}

.latest-update-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--conBgcolor);
    flex-shrink: 0;
}

.latest-update-icon a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.latest-update-icon a:hover {
    transform: scale(1.05);
}

.latest-update-icon a:hover img {
    opacity: 0.9;
}

.latest-update-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-update-icon.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--bodyBground), var(--borderColor));
}

.latest-update-icon-placeholder {
    width: 40px;
    height: 40px;
    background: var(--lightColor);
    border-radius: 4px;
}

.latest-update-iconw {
    width: 200px;
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bodyBground);
    flex-shrink: 0;
}

.latest-update-iconw a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.latest-update-iconw a:hover {
    transform: scale(1.05);
}

.latest-update-iconw a:hover img {
    opacity: 0.9;
}

.latest-update-iconw img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-update-title-text {
    margin: 0 0 5px 0;
    font-size: 14px;
    height: 19px;
    overflow: hidden;
    line-height: 1.4;
    text-align: left;
        text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-update-title-text a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-update-title-text a:hover {
    color: var(--themeColor);
}

.latest-update-content-text {
font-size: 12px;
    opacity: 0.6;
    width: 100%;
    margin-top: 6px;
    max-height: 34px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* log_list.php 文章列表响应式设计 - 优化左图右标题布局 */
@media (max-width: 1200px) {
    .latest-update-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows:  auto;
    }
}

@media (max-width: 992px) {
    .latest-update-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }
    
    .latest-update-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .latest-update-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }
    
    .latest-update-icon {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .latest-update-grid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: auto;
    }
    
    .latest-update-icon {
        width: 50px;
        height: 50px;
    }
    
    .latest-update-title-text {
        font-size: 12px;
    }
    
    .latest-update-tag .tag-item {
        font-size: 10px;
        padding: 1px 6px;
    }
}

/* 优化 log_list.php 的手机端左图右标题布局 */
@media (max-width: 768px) {
    .loglist-flex-container {
        flex-direction: row !important;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .latest-update-iconw {
        width: 100px !important;
        height: 100px !important;
        border-radius: 8px;
        flex-shrink: 0;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
    }
    
    .loglist-content-wrapper {
        flex: 1;
        min-width: 0;
    }
    
    .loglist-body {
        padding: 0 !important;
        margin-bottom: 0px;
    }
    
    .card-title {
        margin: 0 0 6px 0;
        font-size: 14px;
        line-height: 1.3;
    }
    
    .loglist-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.3;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .loglist-content {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 8px;
        -webkit-line-clamp: 2;
        max-height: 33.6px;
    }
    
    .info-row {
        padding: 0 !important;
        margin: 0;
    }
    
    .log-info {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        font-size: 11px;
    }
    
    .log-info-item {
        margin-right: 0;
        font-size: 11px;
        padding: 2px 6px;
        background-color: #f5f5f5;
        border-radius: 3px;
        white-space: nowrap;
    }
    
    .log-info-item .iconfont {
        font-size: 12px;
        margin-right: 2px;
    }
    
    /* 隐藏浏览量和评论数图标 */
    .log-info-item:nth-child(2),
    .log-info-item:nth-child(3) {
        display: none !important;
    }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
    .loglist-flex-container {
        gap: 10px;
        padding: 12px;
    }
    
    .latest-update-iconw {
        width: 80px !important;
        height: 80px !important;
    }
    
    .card-title {
        font-size: 13px;
    }
    
    .loglist-title {
        font-size: 13px;
    }
    
    .loglist-content {
        font-size: 11px;
        -webkit-line-clamp: 2;
        max-height: 30.8px;
    }
    
    .log-info-item {
        font-size: 10px;
        padding: 1px 4px;
    }
}

/* 壁纸模块样式 */
.wallpaper-module {
    margin-bottom: 30px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.wallpaper-container {
    padding: 20px;
}

.wallpaper-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wallpaper-header .more {
    color: var(--themeColor);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wallpaper-header .more:after {
    content: " >";
    font-family: 'remixicon';
}

.wallpaper-header .more:hover {
    color: var(--themeColor);
}

.wallpaper-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
    position: relative;
    padding-left: 16px;
}
.wallpaper-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color: var(--themeColor);
    position: absolute;
    top: 10px;
    left: 0;
}

.wallpaper-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    gap: 20px;
}

.wallpaper-item {
    background: var(--conBgcolor);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--borderColor);
}

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

.wallpaper-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.wallpaper-cover {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bodyBground);
}

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

.wallpaper-cover:hover img {
    transform: scale(1.05);
}

.wallpaper-cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bodyBground) 25%, var(--borderColor) 25%, var(--borderColor) 50%, var(--bodyBground) 50%, var(--bodyBground) 75%, var(--borderColor) 75%, var(--borderColor));
    background-size: 20px 20px;
    border-radius: 0;
}

.wallpaper-info {
    flex: 1;
    padding:10px 10px 10px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.wallpaper-title-text {
        margin: 0 0 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--fontColor);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}

.wallpaper-title-text a {
    color: var(--aColor);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wallpaper-title-text a:hover {
    color: var(--themeColor);
}

.wallpaper-meta {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    font-size: 12px;
    color: var(--lightColor);
    border-top: 0px solid var(--borderColor);
    padding-top: 5px;
}

.wallpaper-date,
.wallpaper-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wallpaper-date .iconfont,
.wallpaper-views .iconfont {
    font-size: 12px;
    color: var(--fontColor);
}

.wallpaper-cover a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    transition: opacity 0.3s;
}

.wallpaper-cover a:hover {
    opacity: 0.9;
}

/*壁纸分类页css*/
.container-images {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0px;
    position: relative;
    clear: both;
    overflow: hidden;
    z-index: 1;
}
.latest-update-images {
    width: 100%;

}
/* 壁纸模块响应式设计 */
@media (max-width: 1200px) {
    .wallpaper-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
    }
}

@media (max-width: 992px) {
    .wallpaper-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
    }
    
    .wallpaper-cover {
        height: 130px;
    }
}

@media (max-width: 768px) {
    .wallpaper-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
}

/* 排行榜模块样式 */
.ranking-module {
    margin-bottom: 30px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    box-sizing: border-box;
}

.ranking-container {
    padding: 20px;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

.ranking-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
}


.ranking-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
    position: relative;
    padding-left: 16px;
}
.ranking-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color: var(--themeColor);
    position: absolute;
    top: 10px;
    left: 0;
}

.ranking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.ranking-column {
    background: var(--bodyBground);
    border-radius: 5px;
    padding: 12px;
    border: 1px solid var(--fontColor);
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

/* 第一列 - 全站总排行 - 蓝色系 */
.ranking-column:nth-child(1) {
    background: linear-gradient(0deg, var(--conBgcolor) 0%, var(--themeColor) 100%);
    border-color: var(--themeColor);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

/*.ranking-column:nth-child(1) .ranking-column-header {
    border-bottom-color: #64b5f6;
}*/

.ranking-column:nth-child(1) .ranking-column-title {
    color: var(--themeColor);
}

.ranking-column:nth-child(1) .ranking-item:hover {
    background-color: rgba(33, 150, 243, 0.3);
}

/* 第二列 - 应用排行 - 绿色系 */
.ranking-column:nth-child(2) {
    background: linear-gradient(0deg, var(--conBgcolor) 0%, var(--bodyBground) 100%);
    border-color: var(--borderColor);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

/*.ranking-column:nth-child(2) .ranking-column-header {
    border-bottom-color: #81c784;
}*/

.ranking-column:nth-child(2) .ranking-column-title {
    color: var(--fontColor);
}

.ranking-column:nth-child(2) .ranking-item:hover {
    background-color: rgba(76, 175, 80, 0.3);
}

/* 第三列 - 文章排行 - 紫色系 */
.ranking-column:nth-child(3) {
    background: linear-gradient(0deg, var(--conBgcolor) 0%, var(--bodyBground) 100%);
    border-color: var(--borderColor);
    box-shadow: 0 4px 12px rgba(156, 39, 176, 0.15);
}

/*.ranking-column:nth-child(3) .ranking-column-header {
    border-bottom-color: #ba68c8;
}*/

.ranking-column:nth-child(3) .ranking-column-title {
    color: var(--fontColor);
}

.ranking-column:nth-child(3) .ranking-item:hover {
    background-color: rgba(156, 39, 176, 0.3);
}

.ranking-column-header {
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--borderColor);
}

.ranking-column-title {
    margin: 0;
    font-size: 16px;
    color: var(--fontColor);
    font-weight: 600;
    text-align: center;
}

.ranking-list {
    min-height: 280px;
    box-sizing: border-box;
}

.ranking-item {
    display: flex;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid var(--borderColor);
    transition: background-color 0.3s;
    box-sizing: border-box;
    width: 100%;
}

.ranking-item:last-child {
    border-bottom: none;
}

.ranking-item:hover {
    background-color: var(--bodyBground);
    border-radius: 4px;
    padding-left: 5px;
}

.ranking-number {
    width: 24px;
    height: 24px;
    background: #007bff;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 50px !important;
    border-top-right-radius: 0 !important;
}

.ranking-item:nth-child(1) .ranking-number {
    background: #dc3545;
}

.ranking-item:nth-child(2) .ranking-number {
    background: #fd7e14;
}

.ranking-item:nth-child(3) .ranking-number {
    background: #ffc107;
   color: #ffffff;
}

.ranking-title-text {
    flex: 1;
    font-size: 14px;
    color: var(--fontColor);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.ranking-title-text:hover {
    color: #007bff;
}

.ranking-category {
    background: #e9ecef;
    color: #495057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
    flex-shrink: 0;
}

.no-data {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    padding: 20px 0;
    margin: 0;
}

/* 排行榜模块响应式设计 */
@media (max-width: 992px) {
    .ranking-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .ranking-column:nth-child(3) {
        grid-column: 1 / -1;
    }
    
    .ranking-column {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .ranking-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .ranking-column {
        margin-bottom: 8px;
        padding: 10px;
    }
    
    .ranking-column:last-child {
        margin-bottom: 0;
    }
    
    .ranking-list {
        min-height: 250px;
    }
}
    
    /*.wallpaper-cover {
        height: 120px;
    }*/
    
    /*.wallpaper-info {
        padding: 10px;
    }*/
    
    /*.wallpaper-title-text {
        font-size: 13px;
        height: 36px;
    }*/
    
    .wallpaper-meta {
        font-size: 11px;
    }
}

@media (max-width: 576px) {
    .wallpaper-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .wallpaper-cover {
        height: 100px;
    }
    
    .wallpaper-title-text {
        font-size: 12px;
        height: 34px;
    }
    
    .wallpaper-meta {
        font-size: 10px;
    }
}

/* 热门标签模块样式 */
.hot-tags-module {
    margin-bottom: 30px;
    background: var(--conBgcolor);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.hot-tags-container {
    padding: 20px;
}

.hot-tags-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
}


.hot-tags-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--fontColor);
    position: relative;
    padding-left: 16px;
}
.hot-tags-title::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 30px;
    background-color: var(--themeColor);
    position: absolute;
    top: 10px;
    left: 0;
}

.hot-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.hot-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    color: var(--conBgcolor);
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}

.hot-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
    color: var(--conBgcolor);
}

.tag-count {
    font-size: 0.8em;
    margin-left: 4px;
    opacity: 0.9;
}

.no-tags {
    text-align: center;
    color: var(--lightColor);
    font-size: 14px;
    margin: 20px 0;
}

/* 20种不同的标签颜色方案 */
.tag-color-0 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
}

.tag-color-1 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: #f093fb;
}

.tag-color-2 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    border-color: #4facfe;
}

.tag-color-3 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    border-color: #43e97b;
}

.tag-color-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-color: #fa709a;
}

.tag-color-5 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-color: #a8edea;
    color: var(--fontColor) !important;
}

.tag-color-6 {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    border-color: #ff9a9e;
    color: var(--fontColor) !important;
}

.tag-color-7 {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-color: #ffecd2;
    color: var(--fontColor) !important;
}

.tag-color-8 {
    background: linear-gradient(135deg, #ff6e7f 0%, #bfe9ff 100%);
    border-color: #ff6e7f;
}

.tag-color-9 {
    background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
    border-color: #e0c3fc;
    color: var(--fontColor) !important;
}

.tag-color-10 {
    background: linear-gradient(135deg, #f8b500 0%, #fceabb 100%);
    border-color: #f8b500;
    color: var(--fontColor) !important;
}

.tag-color-11 {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    border-color: #d299c2;
    color: var(--fontColor) !important;
}

.tag-color-12 {
    background: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
    border-color: #89f7fe;
}

.tag-color-13 {
    background: linear-gradient(135deg, #fdbb2d 0%, #22c1c3 100%);
    border-color: #fdbb2d;
}

.tag-color-14 {
    background: linear-gradient(135deg, #ee9ca7 0%, #ffdde1 100%);
    border-color: #ee9ca7;
    color: var(--fontColor) !important;
}

.tag-color-15 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    border-color: #a18cd1;
}

.tag-color-16 {
    background: linear-gradient(135deg, #fad0c4 0%, #ffd1ff 100%);
    border-color: #fad0c4;
    color: var(--fontColor) !important;
}

.tag-color-17 {
    background: linear-gradient(135deg, #ff8a80 0%, #ea6100 100%);
    border-color: #ff8a80;
}

.tag-color-18 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    border-color: #84fab0;
    color: var(--fontColor) !important;
}

.tag-color-19 {
    background: linear-gradient(135deg, #d4fc79 0%, #96e6a1 100%);
    border-color: #d4fc79;
    color: var(--fontColor) !important;
}

.PostApp {
    background-color: var(--conBgcolor);
    position: relative;
    z-index: 0;
    width: 100%;
    margin-bottom: 20px;
    padding: 20px 20px 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: var(--marRadius);
}
/* 热门标签模块响应式设计 */
@media (max-width: 992px) {
    .hot-tags-cloud {
        gap: 8px;
    }
    
    .hot-tag {
        padding: 5px 10px;
        font-size: 0.85em !important;
    }
    
    .tag-count {
        font-size: 0.75em;
    }
}

@media (max-width: 768px) {
    .hot-tags-cloud {
        gap: 6px;
    }
    
    .hot-tag {
        padding: 4px 8px;
        font-size: 0.75em !important;
    }
    
    .tag-count {
        font-size: 0.7em;
    }
}

@media (max-width: 576px) {
    .hot-tags-cloud {
        gap: 4px;
    }
    
    .hot-tag {
        padding: 3px 6px;
        font-size: 0.65em !important;
    }
    
    .tag-count {
        display: none; /* 在小屏幕上隐藏文章数量 */
    }
}

/* 友情链接模块样式 */
.friend-links-module {
    margin: 40px 0;
}

.friend-links-container {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--conBgcolor);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.friend-links-header {
    background: var(--themeColor);
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--borderColor);
    /*text-align: center;*/
}

.friend-links-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.friend-links-content {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    /*justify-content: center;*/
    align-items: center;
    min-height: 50px;
}

.friend-link {
    /*display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;*/
}

/*.friend-link:hover {
    background: #667eea;
    color: #fff;
    border-color: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}*/

.no-links {
    text-align: center;
    color: var(--lightColor);
    font-size: 14px;
    margin: 20px 0;
    width: 100%;
}

/* 面包屑导航样式 */
.breadcrumb-container {
            padding: 0px 0 10px 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: var(--conBgcolor);
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--borderColor);
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--fontColor);
    font-size: 14px;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.breadcrumb-item:hover {
    background: var(--bodyBground);
    color: var(--themeColor);
    transform: translateY(-1px);
}

.breadcrumb-item.breadcrumb-current {
    /*color: #007bff;
    font-weight: 500;*/
    pointer-events: none;
}

.breadcrumb-icon {
    font-size: 16px;
    margin-right: 6px;
    opacity: 0.8;
}

.breadcrumb-text {
    line-height: 1.2;
    display: inline-block;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.breadcrumb-separator {
    color: var(--lightColor);
    margin: 0 8px;
    font-size: 14px;
    opacity: 0.6;
}

/* 面包屑导航响应式设计 */
@media (max-width: 768px) {
    .breadcrumb-container {
        padding: 12px 0;
        margin-bottom: 12px;
    }
    
    .breadcrumb-nav {
        padding: 10px 12px;
        border-radius: 10px;
    }
    
    .breadcrumb-item {
        font-size: 13px;
        padding: 3px 6px;
    }
    
    .breadcrumb-icon {
        font-size: 14px;
        margin-right: 4px;
    }
    
    .breadcrumb-separator {
        margin: 0 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-container {
        padding: 8px 0;
        margin-bottom: 8px;
    }
    
    .breadcrumb-nav {
        padding: 8px 10px;
        border-radius: 8px;
    }
    
    .breadcrumb-item {
        font-size: 12px;
        padding: 2px 4px;
    }
    
    .breadcrumb-icon {
        font-size: 12px;
        margin-right: 3px;
    }
    
    .breadcrumb-text {
        display: inline-block;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
    }
    
    .breadcrumb-separator {
        margin: 0 4px;
        font-size: 12px;
    }
}

/* 现代化搜索框样式 */

.modern-search-form {
    width: 100%;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--conBgcolor);
    border: 2px solid var(--borderColor);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.search-input-wrapper:hover {
    border-color: var(--themeColor);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.15);
}

.search-input-wrapper:focus-within {
    border-color: var(--themeColor);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.search-icon {
    font-size: 16px;
    color: var(--lightColor);
    margin-right: 8px;
    transition: color 0.3s ease;
}

.search-input-wrapper:hover .search-icon {
    color: var(--themeColor);
}

.modern-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--fontColor);
    padding: 12px 12px;
    font-weight: 400;
}

.modern-search-input::placeholder {
    color: var(--lightColor);
    font-weight: 400;
}

.modern-search-btn {
    background: #007bff;
    color: var(--buttonTextColor);
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.modern-search-btn:hover {
    background: #007bff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

.modern-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

.search-btn-text {
    position: relative;
    z-index: 1;
}

/* 搜索框响应式设计 */
@media (max-width: 768px) {
    .modern-search-container {
        padding: 12px;
    }
    
    .search-input-wrapper {
        padding: 0 12px;
    }
    
    .search-icon {
        font-size: 14px;
        margin-right: 6px;
    }
    
    .modern-search-input {
        font-size: 13px;
        padding: 10px 0;
    }
    
    .modern-search-btn {
        padding: 6px 12px;
        font-size: 13px;
        margin-left: 6px;
    }
}

@media (max-width: 480px) {
    .modern-search-container {
        padding: 8px;
    }
    
    .search-input-wrapper {
        padding: 0 10px;
        border-radius: 20px;
    }
    
    .search-icon {
        font-size: 12px;
        margin-right: 4px;
    }
    
    .modern-search-input {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .modern-search-btn {
        padding: 4px 10px;
        font-size: 12px;
        margin-left: 4px;
        border-radius: 15px;
    }
    
    .search-btn-text {
        display: none;
    }
    
    .modern-search-btn::before {
        content: '🔍';
        font-size: 14px;
    }
}

/* 现代化翻页组件样式 */
.modern-pagination {
    padding: 20px 0;
    margin: 20px 0;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* 翻页链接基础样式 */
.pagination-wrapper a,
.pagination-wrapper span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    text-decoration: none;
    color: var(--fontColor);
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    background: var(--conBgcolor);
    border: 1px solid var(--borderColor);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.pagination-wrapper a:hover {
    background: var(--themeColor);
    color: white;
    border-color: var(--themeColor);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.pagination-wrapper a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
}

/* 当前页样式 */
.pagination-wrapper .current {
    background: var(--themeColor);
    color: white;
    border-color: var(--themeColor);
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

/* 上一页/下一页特殊样式 */
.pagination-wrapper a[rel*="prev"],
.pagination-wrapper a[rel*="next"] {
    min-width: 80px;
    font-weight: 600;
}

.pagination-wrapper a[rel*="prev"]::before {
    content: '← ';
    margin-right: 4px;
}

.pagination-wrapper a[rel*="next"]::after {
    content: ' →';
    margin-left: 4px;
}

/* 省略号样式 */
.pagination-wrapper .dots {
    color: var(--lightColor);
    font-size: 16px;
    padding: 0 4px;
}

/* 翻页组件响应式设计 */
@media (max-width: 768px) {
    .modern-pagination {
        padding: 16px 0;
        margin: 16px 0;
    }
    
    .pagination-wrapper {
        gap: 6px;
    }
    
    .pagination-wrapper a,
    .pagination-wrapper span {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
        border-radius: 6px;
    }
    
    .pagination-wrapper a[rel*="prev"],
    .pagination-wrapper a[rel*="next"] {
        min-width: 70px;
        font-size: 12px;
    }
    
    .pagination-wrapper .dots {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .modern-pagination {
        padding: 12px 0;
        margin: 12px 0;
    }
    
    .pagination-wrapper {
        gap: 4px;
    }
    
    .pagination-wrapper a,
    .pagination-wrapper span {
        min-width: 32px;
        height: 32px;
        padding: 0 8px;
        font-size: 12px;
        border-radius: 5px;
    }
    
    .pagination-wrapper a[rel*="prev"],
    .pagination-wrapper a[rel*="next"] {
        min-width: 60px;
        font-size: 11px;
    }
    
    .pagination-wrapper .dots {
        font-size: 12px;
        padding: 0 2px;
    }
}

/* 友情链接模块响应式设计 */
@media (max-width: 992px) {
    .friend-links-module {
        margin: 30px 0;
        padding: 0 15px;
    }
    
    .friend-links-content {
        padding: 25px;
        gap: 12px;
    }
    
    .friend-link {
        padding: 6px 14px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .friend-links-module {
        margin: 25px 0;
        padding: 0 10px;
    }
    
    .friend-links-content {
        padding: 20px;
        gap: 10px;
    }
    
    .friend-link {
        padding: 5px 12px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .friend-links-module {
        margin: 20px 0;
        padding: 0 5px;
    }
    
    .friend-links-content {
        padding: 15px;
        gap: 8px;
    }
    
    .friend-link {
        padding: 4px 10px;
        font-size: 11px;
    }
}

/* 黑夜模式下的面包屑文本样式 */
[data-theme="dark"] .breadcrumb-text {
    color: var(--fontColor);
}