/**
 * Lite-blog 轻博客主题样式表
 * Version: 1.0
 */

/* ========================================
   全局样式
   ======================================== */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 10px;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
    margin: 0;
    padding: 0;
    color: #666;
    font-family: "HarmonyOS Sans SC", "Microsoft Yahei", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #f5f5f5;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: top center;
}

a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color, #448EF6);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    transition: all .3s ease-out 0s;
}

ul, li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.clearfix:after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    visibility: hidden;
}

.fl, .pull-left { float: left; }
.fr, .pull-right { float: right; }
.text-right { text-align: right; }

/* 滚动条样式 */
::-webkit-scrollbar-track { background: rgb(238, 238, 238); }
::-webkit-scrollbar-thumb { background: rgb(88,165,195); border-radius: 4px; }
::-webkit-scrollbar { width: 8px; height: 8px; }

/* 徽章样式 */
.badge {
    display: inline-block;
    border-radius: 4px;
    font-weight: 500;
    padding: 3px 8px;
    font-size: 12px;
    margin-right: 8px;
    color: #fff;
    vertical-align: middle;
    line-height: 1.2;
    white-space: nowrap;
}

.arc_v1 { background: #d1d5dc; }
.arc_v2 { background: #448EF6; }
.arc_v3 { background: #f6b044; }
.arc_v4 { background: #ff9627; }
.arc_v5 {
    background: linear-gradient(135deg, #ff6b6b 0%, #f64444 100%);
    box-shadow: 0 2px 6px rgba(246, 68, 68, 0.3);
}
.arc_v6 {
    background-image: linear-gradient(90deg, #3ca5f6 0%, #a86af9 100%);
}

/* ========================================
   容器
   ======================================== */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1300px;
}

.main-content {
    margin: 20px auto;
    overflow: hidden;
}

.main {
    -ms-flex: 0 0 71.112%;
    flex: 0 0 71.112%;
    width: 74.112%;
    padding-left: 15px;
    transition-duration: .68s;
}

.side {
    -ms-flex: 0 0 28.888%;
    flex: 0 0 28.888%;
    width: 25.888%;
    padding-left: 20px;
    padding-right: 15px;
}

/* ========================================
   顶部导航
   ======================================== */
.top-header {
    height: 112px;
}

.top-bar {
    position: relative;
    width: 100%;
    z-index: 69;
    box-shadow: 0px 5px 40px 0px rgba(17,58,93,0.1);
    background-color: rgba(255,255,255,.96);
}

.secnav {
    height: 56px;
    position: relative;
}

.navlogo {
    overflow: hidden;
}

.logo.box {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0 auto;
    line-height: 50px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo.box img {
    display: inline-block;
    height: 45px;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), var(--primary-light, #6eb3f9));
    color: #fff;
    border-radius: 10px;
    font-size: 20px;
    font-weight: bold;
}

.logo-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.search-warp {
    float: right;
    width: 396px;
    height: 36px;
    background: #f3f5f6;
    border-radius: 8px;
    padding-right: 103px;
    margin: 10px 0 10px 10px;
    position: relative;
    z-index: 1;
}

.search-area {
    width: 100% !important;
    height: 36px;
    position: relative;
}

.search-input {
    width: 100%;
    height: 36px;
    line-height: 20px;
    padding: 8px 16px;
    font-size: 14px;
    color: #9199a1;
    border-radius: 8px 0 0 8px;
    background: #f3f5f6;
    border: 0;
    outline: none;
}

.showhide-search {
    height: 36px;
    line-height: 36px;
    padding: 0 15px;
    color: #fff;
    font-size: 14px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: var(--primary-color, #3b5160);
    position: absolute;
    right: 0;
    top: 0;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.showhide-search:hover {
    background: var(--primary-hover, #2d4050);
}

/* 主导航 */
.new-header {
    border-bottom: 1px solid rgba(0,0,0,.05);
    background-color: rgba(255,255,255,0);
    position: relative;
}

.header-nav {
    position: relative;
}

.nav-pills {
    float: left;
    font-size: 14px;
}

.nav-pills li {
    width: auto;
    position: relative;
    display: block;
    float: left;
    margin-right: 30px;
}

.nav-pills li a {
    line-height: 55px;
    display: block;
    color: #000000;
    font-size: 15px;
}

.nav-pills li:before {
    width: 0;
    height: 2px;
    position: absolute;
    bottom: -1px;
    left: 50%;
    background-color: var(--primary-color, #0188FB);
    content: '';
    transition: all .6s;
    z-index: -1;
}

.nav-pills > li:hover:before,
.nav-pills > li.active:before {
    width: 100%;
    left: 0;
}

.nav-pills li:hover > a,
.nav-pills li.active > a {
    color: var(--primary-color, #0188FB);
}

/* 下拉菜单 */
.menu-item-has-children > a:after {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

.nav-pills li > ul {
    float: left;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 55px;
    left: -2px;
    padding: 8px 10px;
    border-radius: 4px;
    z-index: 100;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,.1);
    transition: all 0.3s;
}

.nav-pills li:hover > ul {
    opacity: 1;
    visibility: visible;
}

.nav-pills li > ul > li {
    float: none;
    margin-right: 0;
    padding: 0 15px;
}

.nav-pills li > ul > li > a {
    padding: 4px 0;
    line-height: inherit;
    font-size: 14px;
    white-space: nowrap;
}

/* 用户区域 */
.top-admin {
    letter-spacing: 1px;
    color: #555;
    font-size: 14px;
    line-height: 50px;
    display: flex;
    align-items: center;
}

.top-admin .login {
    height: 55px;
}

.top-admin a {
    color: #555;
    line-height: 55px;
    padding-right: 10px;
}

.top-admin a i {
    margin-right: 3px;
}

/* 移动端菜单 */
.nav-sjlogo,
.m_searchform,
.mobile-header,
.mobile-search-box {
    display: none;
}

/* PC端菜单显示 */
.pc-nav {
    display: block !important;
}

/* 移动端侧边栏菜单默认隐藏 */
.mobile_aside {
    display: none;
}

#mask {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
}

/* ========================================
   轮播图
   ======================================== */
.wrapper-ban {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,.03);
    background: transparent;
}

.swiper-main {
    height: 320px;
    border-radius: 18px;
}

.swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.swiper-title {
    padding: 10px 85px 10px 15px;
    position: absolute;
    bottom: 0;
    font-size: 16px;
    color: #ffffff;
    width: 100%;
    left: 0;
    background: rgba(12,12,12,0.38);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff;
}

.swiper-pagination {
    text-align: right;
    padding-right: 15px;
}

/* ========================================
   顶部推荐区域
   ======================================== */
.top_list {
    overflow: hidden;
    clear: both;
    position: relative;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.col-small {
    width: 50%;
    float: left;
    padding: 20px;
}

.col-small:nth-child(odd) {
    border-right: 1px solid #ddd;
}

.col-pic {
    width: 100px;
    float: left;
    height: 75px;
    margin-right: 15px;
    max-height: 270px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 1px 3px 0 rgba(0,0,0,.08);
}

.col-pic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.col-info {
    max-height: 75px;
    height: 75px;
    overflow: hidden;
}

.col-info h3 {
    max-height: 40px;
    line-height: 20px;
    font-size: 16px;
    font-weight: inherit;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.col-title {
    color: #333;
    font-weight: 500;
}

.col-desc {
    margin-top: 10px;
    font-size: 12px;
    line-height: 22px;
    max-height: 44px;
    color: #666;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    text-overflow: ellipsis;
    overflow: hidden;
}

.col-large {
    border-top: 1px solid #C8C8C8;
    padding: 10px 20px 15px 20px;
    overflow: hidden;
}

.col-large li {
    position: relative;
    width: 49%;
    padding: 2px 0;
    font-size: 14px;
    float: left;
    height: 35px;
    line-height: 35px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.col-large li:nth-child(even) {
    float: right;
}

.col-large em {
    padding: 1px 6px;
    background: #666;
    margin-right: 5px;
    border-radius: 50%;
    color: #fff;
    white-space: nowrap;
    font-style: normal;
    font-size: 12px;
}

.col-large em.color-1 { background: #F13435; }
.col-large em.color-2 { background: #ff7a21; }
.col-large em.color-3 { background: #1681E7; }
.col-large em.color-4 { background: #37b760; }

.list-date {
    color: #999;
    font-size: 12px;
    margin-right: 8px;
}

/* ========================================
   文章列表
   ======================================== */
.post-list {
    position: relative;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    padding: 0 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
    transition: all 0.3s;
}

.post-list:hover {
    box-shadow: 0px 5px 20px -5px rgba(0,0,0,0.1);
}

/* 置顶文章特殊样式 */
.post-top {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,245,245,0.95) 100%);
    border: 2px solid rgba(246, 68, 68, 0.3);
    position: relative;
    overflow: hidden;
}

.post-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #ff6b6b 0%, #f64444 50%, #ff6b6b 100%);
    background-size: 100% 200%;
    animation: topGradient 3s ease infinite;
    z-index: 1;
}

@keyframes topGradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

.post-top .entry-container {
    padding: 20px 0px 20px 230px;
    min-height: 118px;
}

.post-top .entry-container:before {
    display: none;
}

.post-top .block-image.feaimg {
    border: 3px solid rgba(246, 68, 68, 0.2);
    box-shadow: 0 4px 15px rgba(246, 68, 68, 0.2);
}

.post-top .entry-title {
    font-size: 19px;
}

.post-top:hover {
    box-shadow: 0px 8px 30px -5px rgba(246, 68, 68, 0.25);
    border-color: rgba(246, 68, 68, 0.5);
}

/* 置顶图标 */
.top-badge-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b6b 0%, #f64444 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(246, 68, 68, 0.4);
    z-index: 2;
}

.top-badge-icon i {
    color: #fff;
    font-size: 18px;
}

.entry-container {
    display: block;
    position: relative;
    min-height: 118px;
    padding: 20px 0px 20px 230px;
}

.entry-container:before {
    position: absolute;
    content: '';
    left: -21px;
    width: 4px;
    height: 25px;
    border-radius: 2px;
    background: var(--primary-color, #409eff);
    transform: scaleY(0);
    transition: transform 0.35s;
}

.entry-container:hover:before {
    transform: scaleY(1);
}

.block-image.feaimg {
    width: 210px;
    height: 158px;
    position: absolute;
    padding-top: 0;
    margin-right: 20px;
    left: 0;
    overflow: hidden;
    border-radius: 8px;
}

.block-fea {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 8px;
    transition: transform 0.7s;
}

.entry-container:hover .block-fea {
    transform: scale(1.1);
}

.item-slant {
    position: absolute;
    z-index: 0;
    right: -158px;
    bottom: 35px;
    opacity: .68;
    width: 110%;
    min-height: 100px;
    transform: rotate(105deg) translate(-10px,0);
    background-color: #f5f6f8;
}

.item-slant.reverse-slant.bg-orange {
    transform: rotate(-110deg) translate(10px,-10px);
    background: linear-gradient(135deg, #f68e5f, #ff6b6b);
}

.entry-title {
    font-size: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    line-height: 26px;
}

.entry-title a {
    color: #333;
}

.entry-title a:hover {
    color: var(--primary-color, #448EF6);
}

.entry-summary p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-overflow: ellipsis;
    overflow: hidden;
    font-size: 14px;
    color: #555;
    line-height: 25px;
    margin: 0.7em 0;
}

.entry-meta {
    font-size: 11px;
    color: #666;
    letter-spacing: 0px;
    line-height: 1;
}

.fea-meta {
    margin-top: 15px;
}

.entry-meta a {
    color: #666;
}

.entry-meta a:hover {
    color: var(--primary-color, #448EF6);
}

.avatar {
    border-radius: 50%;
    margin-right: 5px;
    position: relative;
    top: -2px;
}

.separator {
    color: #e1e1e1;
    padding: 0 5px;
}

.istop {
    position: absolute;
    width: 52px;
    height: 52px;
    right: -1px;
    top: -1px;
    z-index: 9;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 52 52"><polygon points="0,0 52,0 52,52" fill="%23f64444"/><text x="8" y="18" fill="white" font-size="10" font-family="sans-serif">置顶</text></svg>');
}

/* 偶数行样式 */
.post-list.blockimg:nth-child(even) .entry-container {
    padding: 20px 230px 20px 0px;
}

.post-list.blockimg:nth-child(even) .block-image.feaimg {
    right: 0;
    left: auto;
    margin-right: 0;
}

/* ========================================
   分页
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 15px;
    padding: 15px 0;
    gap: 8px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 14px;
    line-height: 1.4;
    text-decoration: none;
    background-color: rgba(255,255,255,0.9);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.pagination a:hover {
    background-color: var(--primary-color, #448ef6);
    color: #fff;
    border-color: var(--primary-color, #448ef6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 142, 246, 0.3);
}

.pagination span {
    background-color: var(--primary-color, #448ef6);
    color: #fff;
    border-color: var(--primary-color, #448ef6);
    font-weight: 500;
}

.pagination em {
    font-style: normal;
    color: #999;
    padding: 0 5px;
}

/* 移动端分页优化 */
@media (max-width: 768px) {
    .pagination {
        gap: 5px;
        padding: 10px 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .pagination a,
    .pagination span {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 36px;
        border-radius: 6px;
    }

    /* 让所有分页项都显示，自动换行 */
    .pagination a,
    .pagination span,
    .pagination em {
        display: inline-block;
    }
}

/* 加载更多按钮样式 */
.pagination-wrapper {
    text-align: center;
    padding: 20px 0;
    margin-top: 15px;
}

/* 隐藏原始分页，但保留DOM供JS读取 */
#paginationData {
    position: absolute;
    left: -9999px;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

.load-more-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 50px;
    font-size: 15px;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(68, 142, 246, 0.3);
    font-weight: 500;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(68, 142, 246, 0.4);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn i {
    font-size: 18px;
    transition: transform 0.3s;
}

.load-more-btn:hover i {
    transform: rotate(180deg);
}

.load-more-loading {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--primary-color, #448EF6);
    font-size: 15px;
}

.load-more-loading i {
    font-size: 18px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-more-posts {
    display: none;
    align-items: center;
    gap: 8px;
    color: #999;
    font-size: 14px;
    padding: 15px 30px;
    background: #f5f7fa;
    border-radius: 30px;
}

.no-more-posts i {
    font-size: 16px;
    color: #52c41a;
}

/* 新加载的文章动画 */
.post-list.fade-in {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .load-more-btn {
        padding: 12px 40px;
        font-size: 14px;
    }
}

/* ========================================
   侧边栏
   ======================================== */
.widget {
    background: rgba(255,255,255,0.68);
    padding: 10px 20px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.widget:last-child {
    margin-bottom: 12px;
}

.widget-title {
    font-size: 16px;
    color: #333;
    padding-bottom: 13px;
    margin-top: 5px;
    margin-bottom: 15px;
    position: relative;
    border-bottom: 1px solid #ddd;
}

.widget-title:before {
    display: inline-block;
    z-index: 1;
    content: " ";
    position: absolute;
    border-radius: 50%;
    background: #f92900 !important;
    width: 10px;
    height: 10px;
    box-shadow: 18px 0 #fbc606, 36px 0 #448ef6;
    right: 40px;
    top: 5px;
    border-color: transparent;
}

.widget-title:after {
    content: "";
    background-color: #666666;
    left: 0;
    width: 66px;
    height: 2px;
    bottom: -1px;
    position: absolute;
    transition: 0.5s;
}

.widget-title:hover:after {
    width: 80px;
}

/* 博主信息 */
.widget_avatar {
    background: rgba(255,255,255,0.88);
    padding: 0 0 10px 0px;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.widget_user {
    position: relative;
    z-index: 1;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6eb3f9);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-top: 30px;
}

.widget_user img {
    margin: 0 auto;
    display: block;
    width: 80px;
    height: 80px;
    border-radius: 99px;
    padding: 5px;
    background: rgba(255,255,255,.88);
}

.widget_user .name {
    padding: 0 20px;
    text-align: center;
    margin: 10px 0 15px;
    color: #fff;
}

.widget_user .name h3 a {
    color: #fff;
    font-size: 18px;
}

.widget_user .name p {
    margin-top: 5px;
    max-height: 40px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 13px;
    opacity: 0.9;
}

.webinfo {
    width: 100%;
    display: flex;
    align-items: center;
    padding-top: 10px;
    border-top: 1px solid rgba(150,150,150,0.1);
    background: #fff;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.webinfo .item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    user-select: none;
    font-size: 14px;
    color: #666;
    padding: 10px 0;
}

.webinfo .item:nth-child(2) {
    border-left: 1px solid rgba(150,150,150,0.1);
    border-right: 1px solid rgba(150,150,150,0.1);
}

.webinfo .item span.num {
    max-width: 70px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    color: var(--primary-color, #333);
    margin-bottom: 3px;
    font-weight: 600;
}

/* 新版博主信息卡片 */
.widget-author-card {
    background: transparent;
    padding: 0;
    border-radius: 20px;
    margin-bottom: 1.25rem;
    overflow: hidden;
    box-shadow: 0px 0px 15px -2px rgba(158,158,158,0.15);
}

.author-card-widget {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.author-card-widget .author-bg {
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6) 0%, #6eb3f9 50%, #a8d4ff 100%);
    position: relative;
}

.author-card-widget .author-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.author-card-widget .author-main {
    padding: 0 20px 20px;
    text-align: center;
    margin-top: -45px;
    position: relative;
    z-index: 1;
}

.author-card-widget .author-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    padding: 4px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.author-card-widget .author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-card-widget .author-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px;
}

.author-card-widget .author-desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.author-card-widget .author-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.author-card-widget .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.author-card-widget .stat-num {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color, #448EF6);
}

.author-card-widget .stat-label {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

/* 热门文章 */
.list-media {
    position: relative;
    display: block;
    overflow: hidden;
    margin: 0 0 10px 0;
    border-radius: 8px;
}

.list-media:after {
    padding-top: 50%;
    content: '';
    display: block;
}

.media-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    border-radius: 8px;
    transition: transform 0.3s;
}

.list-media:hover .media-content {
    transform: scale(1.05);
}

.list-overlay {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.66);
    position: absolute;
    opacity: .22;
    top: 0;
    left: 0;
}

.list-content {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: 0;
    padding: .75rem;
    background: linear-gradient(to bottom, rgba(6,6,8,0), rgba(6,6,8,0.7));
}

.list-title {
    line-height: 1.4;
    color: #fff;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
}

.list-footer {
    margin-top: 0.25rem;
    font-size: 12px;
    color: rgba(255,255,255,0.78);
}

/* 最新文章 */
.widget-newlog .widget-box {
    padding: 5px 0;
}

.newlog-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

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

.newlog-item:hover {
    background: rgba(68, 142, 246, 0.05);
    margin: 0 -10px;
    padding: 10px;
    border-radius: 8px;
}

.newlog-rank {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    line-height: 22px;
    text-align: center;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
    background: #ccc;
}

.newlog-rank.rank-1 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
}

.newlog-rank.rank-2 {
    background: linear-gradient(135deg, #ffa940, #fa8c16);
    box-shadow: 0 2px 6px rgba(255, 169, 64, 0.3);
}

.newlog-rank.rank-3 {
    background: linear-gradient(135deg, #448EF6, #3377e0);
    box-shadow: 0 2px 6px rgba(68, 142, 246, 0.3);
}

.newlog-rank.rank-normal {
    background: #e8e8e8;
    color: #999;
}

.newlog-title {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.newlog-item:hover .newlog-title {
    color: var(--primary-color, #448EF6);
}

/* 搜索 */
.widget-search .search-form {
    display: flex;
    gap: 10px;
}

.widget-search .search-input-wrapper {
    flex: 1;
    position: relative;
}

.widget-search .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.widget-search .search-input {
    width: 100%;
    padding: 10px 12px 10px 38px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background: #fafafa;
}

.widget-search .search-input:focus {
    border-color: var(--primary-color, #448EF6);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(68, 142, 246, 0.1);
}

.widget-search .search-btn {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6eb3f9);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.widget-search .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(68, 142, 246, 0.3);
}

/* 归档 */
.widget-archive .archive-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.widget-archive .archive-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #fafafa;
    border-radius: 8px;
    color: #333;
    transition: all 0.3s;
    text-decoration: none;
}

.widget-archive .archive-item:hover {
    background: rgba(68, 142, 246, 0.1);
    color: var(--primary-color, #448EF6);
    transform: translateX(5px);
}

.widget-archive .archive-date {
    font-size: 14px;
}

.widget-archive .archive-date i {
    margin-right: 6px;
    color: #999;
}

.widget-archive .archive-item:hover .archive-date i {
    color: var(--primary-color, #448EF6);
}

.widget-archive .archive-count {
    font-size: 12px;
    color: #999;
    background: #eee;
    padding: 2px 8px;
    border-radius: 10px;
}

.widget-archive .archive-item:hover .archive-count {
    background: var(--primary-color, #448EF6);
    color: #fff;
}

.widget-archive .archive-hidden {
    display: none;
}

.widget-archive .archive-more {
    display: block;
    text-align: center;
    padding: 10px;
    color: #999;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.3s;
}

.widget-archive .archive-more:hover {
    color: var(--primary-color, #448EF6);
}

/* 友情链接 */
.widget-link .link-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.widget-link .link-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.widget-link .link-item i {
    margin-right: 5px;
    font-size: 14px;
}

.widget-link .link-item:hover {
    background: var(--primary-color, #448EF6);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(68, 142, 246, 0.2);
}

/* 空内容提示 */
.empty-widget {
    text-align: center;
    padding: 20px;
    color: #999;
    font-size: 14px;
}

/* 标签云 */
.widget-box.divTags {
    overflow: hidden; /* 清除浮动 */
}

.widget-box.divTags ul {
    overflow: hidden; /* 清除浮动 */
    margin: 0;
    padding: 0;
}

.widget-box.divTags li {
    width: auto;
    line-height: 31px;
    position: relative;
    float: left;
    margin: 0 1% 10px 1%;
    list-style: none;
}

.widget-box.divTags li a {
    text-align: center;
    padding: 0 8px;
    border: 1px solid rgba(221,221,221,0.78);
    background: #fafafa;
    border-radius: 18px;
    font-size: 12px;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: #666;
    transition: all 0.3s;
}

.widget-box.divTags li a:hover {
    background: var(--primary-color, #448EF6);
    color: #fff;
    border-color: transparent;
}

/* 最新评论 */
.side-c-box {
    padding: 0 0 10px 0px;
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px dashed #dadada;
}

.side-c-box:last-child {
    margin-bottom: -5px;
    border: 0;
}

.avatar-fl {
    padding-top: 5px;
    margin-right: 12px;
}

.avatar-fl img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.infos-fr {
    flex: 1 1;
}

.infos-fr-title a {
    color: #333;
    font-weight: 400;
    line-height: 1.8;
    word-break: break-all;
    display: block;
    font-size: 13px;
}

.infos-fr-name {
    color: #999;
    font-size: 12px;
    margin-top: 2px;
}

.spot {
    position: relative;
    color: #e1e1e1;
    padding: 0 8px 0 5px;
}

.timeago {
    margin-left: 3px;
    font-style: normal;
}

/* ========================================
   文章详情页
   ======================================== */
.post-single,
.page-single {
    position: relative;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.post-breadcrumb {
    margin-bottom: 15px;
    font-size: 13px;
    color: #999;
}

.post-breadcrumb a {
    color: #666;
}

.post-breadcrumb a:hover {
    color: var(--primary-color, #448EF6);
}

.post-title-single {
    font-size: 24px;
    line-height: 1.4;
    margin: 0 0 15px 0;
    color: #333;
}

.post-meta-single {
    font-size: 13px;
    color: #999;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.post-meta-single .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-meta-single .author-avatar {
    border-radius: 50%;
}

.post-cover-single {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.post-cover-single img {
    width: 100%;
    border-radius: 10px;
}

.post-content-single {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    word-break: break-word;
}

.post-content-single h1,
.post-content-single h2,
.post-content-single h3,
.post-content-single h4,
.post-content-single h5,
.post-content-single h6 {
    margin: 25px 0 15px;
    padding-left: 12px;
    color: #333;
    font-weight: 600;
    line-height: 1.4;
    position: relative;
}

.post-content-single h1 {
    font-size: 26px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
    margin-top: 30px;
}

.post-content-single h1::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 14px;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color, #448EF6), #6eb3f9);
    border-radius: 2px;
}

.post-content-single h2 {
    font-size: 22px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #ddd;
}

.post-content-single h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 12px;
    width: 4px;
    background: linear-gradient(180deg, #ff6b6b, #feca57);
    border-radius: 2px;
}

.post-content-single h3 {
    font-size: 19px;
}

.post-content-single h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 4px;
    height: 18px;
    background: var(--primary-color, #448EF6);
    border-radius: 2px;
}

.post-content-single h4 {
    font-size: 17px;
    padding-left: 10px;
}

.post-content-single h4::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color, #448EF6);
}

.post-content-single p {
    margin: 0 0 15px;
}

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

.post-content-single pre {
    background: #282c34;
    color: #abb2bf;
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 14px;
    line-height: 1.6;
}

.post-content-single code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

.post-content-single pre code {
    background: none;
    padding: 0;
}

.post-content-single blockquote {
    border-left: 4px solid var(--primary-color, #448EF6);
    padding: 10px 15px;
    margin: 15px 0;
    background: #f9f9f9;
    border-radius: 0 8px 8px 0;
}

.post-content-single ul,
.post-content-single ol {
    margin: 15px 0;
    padding-left: 20px;
}

.post-content-single li {
    margin: 5px 0;
    list-style: inherit;
}

.post-content-single a {
    color: var(--primary-color, #448EF6);
}

.post-content-single a:hover {
    text-decoration: underline;
}

/* 标签 */
.post-tags-single {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    color: #666;
    font-size: 14px;
}

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

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.tag-item:hover {
    background: var(--primary-color, #448EF6);
    color: #fff;
}

/* 版权声明 */
.post-copyright {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    display: flex;
    gap: 15px;
}

.copyright-icon {
    font-size: 32px;
    color: var(--primary-color, #448EF6);
}

.copyright-content {
    flex: 1;
}

.copyright-content p {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
}

.copyright-content a {
    color: var(--primary-color, #448EF6);
}

/* 上下篇导航 */
.post-navigation {
    margin-top: 20px;
}

.neighbor-nav {
    display: flex;
    gap: 15px;
}

.neighbor-item {
    flex: 1;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 10px;
    transition: all 0.3s;
}

.neighbor-item:hover {
    background: #f0f0f0;
}

.neighbor-label {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.neighbor-title {
    display: block;
    font-size: 14px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.neighbor-item.empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* 作者卡片 */
.author-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.author-avatar img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

.author-name {
    margin: 0 0 5px;
    font-size: 18px;
    color: #333;
}

.author-desc {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 评论区 */
.comments-section {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.comments-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.comments-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.comments-list {
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

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

.comment-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.comment-main {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.comment-author {
    font-weight: 500;
    color: #333;
}

.comment-date {
    font-size: 12px;
    color: #999;
}

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

.reply-at {
    color: var(--primary-color, #448EF6);
    margin-right: 5px;
}

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

.comment-reply {
    font-size: 13px;
    color: #999;
    cursor: pointer;
}

.comment-reply:hover {
    color: var(--primary-color, #448EF6);
}

/* 评论表单 */
.comment-form-wrapper {
    margin-bottom: 20px;
}

.form-title {
    font-size: 18px;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.comment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color, #448EF6);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.submit-btn {
    padding: 10px 25px;
    background: var(--primary-color, #448EF6);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--primary-hover, #3b7fd9);
}

.login-tip {
    font-size: 14px;
    color: #666;
}

.login-tip a {
    color: var(--primary-color, #448EF6);
}

/* ========================================
   友情链接
   ======================================== */
.link-box {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.links-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.links-title h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.linksub {
    font-size: 13px;
    color: #999;
}

#links-home {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-item a {
    display: inline-block;
    padding: 5px 15px;
    background: #f5f5f5;
    border-radius: 15px;
    font-size: 13px;
    color: #666;
    transition: all 0.3s;
}

.link-item a:hover {
    background: var(--primary-color, #448EF6);
    color: #fff;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: #2d3748;
    color: #a0aec0;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-fill {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    justify-content: center;
}

.footer-menu a {
    color: #a0aec0;
    font-size: 14px;
}

.footer-menu a:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 13px;
}

.footer-copyright a {
    color: #fff;
}

.powered {
    margin-left: 10px;
}

.powered a {
    color: var(--primary-color, #448EF6);
}

/* ========================================
   返回顶部
   ======================================== */
.backtop {
    position: fixed;
    right: 20px;
    bottom: 80px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bt-box {
    width: 40px;
    height: 40px;
    background: var(--primary-color, #448EF6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.bt-box:hover {
    background: var(--primary-hover, #3b7fd9);
    transform: translateY(-3px);
}

/* ========================================
   CMS分类模块
   ======================================== */
.side-brick {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    border-radius: 18px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
}

.side-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.side-title-wrap .widget-title {
    margin: 0;
    padding: 0;
    border: none;
}

.side-title-wrap .widget-title:before,
.side-title-wrap .widget-title:after {
    display: none;
}

.suburl a {
    font-size: 13px;
    color: #999;
}

.suburl a:hover {
    color: var(--primary-color, #448EF6);
}

.brick-box {
    overflow: hidden;
}

.brick-list {
    margin-bottom: 10px;
}

.brick-list:last-child {
    margin-bottom: 0;
}

.item-box-retina {
    display: block;
    transition: transform 0.3s;
}

.item-box-retina:hover {
    transform: translateX(5px);
}

.item-box-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 10px;
}

.item-box-img img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.5s;
}

.item-box-retina:hover .item-box-img img {
    transform: scale(1.05);
}

.item-box-img h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 14px;
    margin: 0;
    border-radius: 0 0 10px 10px;
}

.item-user-info {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* ========================================
   空状态
   ======================================== */
.search-null {
    background: rgba(255,255,255,0.68);
    border: 1px solid rgba(221,221,221,0.28);
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0px 0px 10px -2px rgba(158,158,158,0.2);
    color: #666;
    text-align: center;
    padding: 60px 20px;
}

.search-null i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 15px;
    display: block;
}

.search-null h3 {
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
}

.search-null p {
    margin: 0;
    color: #999;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
    .main {
        width: 100%;
        padding-right: 15px;
    }

    .side {
        display: none;
    }

    .top_list .col-small {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .col-large li {
        width: 100%;
    }

    /* 移动端文章列表：左图右文 */
    .post-list {
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 12px;
    }

    .post-list.blockimg:nth-child(even) .entry-container,
    .entry-container {
        padding: 0 0 0 120px;
        min-height: 90px;
    }

    .block-image.feaimg {
        position: absolute;
        width: 110px;
        height: 82px;
        left: 0;
        top: 0;
        margin: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .post-list.blockimg:nth-child(even) .block-image.feaimg {
        right: auto;
        left: 0;
    }

    .item-slant {
        display: none;
    }

    .entry-header {
        margin-bottom: 8px;
    }

    .entry-title {
        font-size: 14px;
        line-height: 1.5;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }

    .entry-title .badge {
        font-size: 11px;
        padding: 2px 6px;
        margin-right: 6px;
    }

    .entry-summary {
        display: none;
    }

    /* 移动端置顶文章 */
    .post-top .entry-container {
        padding: 0 0 0 120px;
        min-height: 90px;
    }

    .post-top .entry-title {
        font-size: 15px;
        padding-right: 35px;
    }

    .post-top .block-image.feaimg {
        border-width: 2px;
    }

    .top-badge-icon {
        width: 28px;
        height: 28px;
        top: 8px;
        right: 8px;
    }

    .top-badge-icon i {
        font-size: 14px;
    }

    .entry-meta {
        font-size: 11px;
        flex-wrap: wrap;
    }

    .entry-meta .avatar {
        width: 18px;
        height: 18px;
    }

    .entry-meta a {
        font-size: 11px;
    }

    .entry-meta .separator {
        padding: 0 3px;
    }

    .neighbor-nav {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    /* 移动端顶部高度 */
    .top-header {
        height: auto;
    }

    .top-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
    }

    .new-header {
        position: relative;
    }

    .header-nav {
        position: relative;
        width: 100%;
    }

    /* 主内容区上边距 */
    .main-content {
        margin-top: 64px;
    }

    .secnav {
        display: none;
    }

    /* 隐藏PC端菜单 */
    .pc-nav {
        display: none !important;
    }

    /* 移动端顶部栏 */
    .mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 0;
        width: 100%;
    }

    .mobile-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
    }

    .mobile-logo .logo-char {
        width: 36px;
        height: 36px;
        font-size: 18px;
        border-radius: 8px;
    }

    .mobile-menu-btn,
    .mobile-search-btn {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        border-radius: 8px;
        transition: background 0.3s;
    }

    .mobile-menu-btn:hover,
    .mobile-search-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    .mobile-search-btn i {
        font-size: 20px;
        color: #333;
    }

    /* 移动端搜索框 */
    .mobile-search-box {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 15px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }

    .mobile-search-box.active {
        display: block;
    }

    .mobile-search-box form {
        display: flex;
        gap: 10px;
    }

    .mobile-search-input {
        flex: 1;
        padding: 12px 15px;
        border: 1px solid #e0e0e0;
        border-radius: 25px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.3s;
    }

    .mobile-search-input:focus {
        border-color: var(--primary-color, #448EF6);
    }

    .mobile-search-submit {
        width: 46px;
        height: 46px;
        background: var(--primary-color, #448EF6);
        border: none;
        border-radius: 50%;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
    }

    .mobile-search-submit:hover {
        background: var(--primary-hover, #3377e0);
    }

    .nav-sjlogo {
        display: block;
        cursor: pointer;
    }
    
    .nav-bar {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
    
    .nav-bar span {
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        border-radius: 2px;
        transition: all 0.3s;
    }

    /* 汉堡菜单激活状态 */
    .nav-sjlogo.active .nav-bar span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-sjlogo.active .nav-bar span:nth-child(2) {
        opacity: 0;
    }

    .nav-sjlogo.active .nav-bar span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    /* 移动端侧边栏 */
    .mobile_aside {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #fff;
        z-index: 999;
        overflow-y: auto;
        transition: left 0.3s;
    }
    
    .mobile_aside.active {
        left: 0;
    }

    /* 移动端侧边栏头部 */
    .mobile-aside-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 15px;
        background: linear-gradient(135deg, var(--primary-color, #448EF6), var(--primary-hover, #3377e0));
        color: #fff;
    }

    .mobile-user-info {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
    }

    .mobile-user-info i {
        font-size: 20px;
    }

    .mobile-login-btn {
        background: rgba(255, 255, 255, 0.2);
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 12px;
        color: #fff;
        text-decoration: none;
        margin-left: 8px;
    }

    .mobile-aside-close {
        width: 32px;
        height: 32px;
        background: rgba(255, 255, 255, 0.2);
        border: none;
        border-radius: 50%;
        color: #fff;
        font-size: 20px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #mask.active {
        display: block;
    }
    
    .nav-pills {
        float: none;
    }
    
    .nav-pills li {
        float: none;
        margin-right: 0;
        margin-bottom: 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-pills li a {
        line-height: 50px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .nav-pills li a i {
        font-size: 18px;
        color: #999;
    }

    .nav-pills li.active a,
    .nav-pills li a:hover {
        background: rgba(68, 142, 246, 0.05);
        color: var(--primary-color, #448EF6);
    }

    .nav-pills li.active a i,
    .nav-pills li a:hover i {
        color: var(--primary-color, #448EF6);
    }
    
    .nav-pills li > ul {
        position: static;
        opacity: 1;
        visibility: visible;
        background: #f9f9f9;
        box-shadow: none;
        padding-left: 0;
    }

    .nav-pills li > ul > li {
        border-bottom: none;
    }

    .nav-pills li > ul > li > a {
        padding-left: 40px;
        line-height: 44px;
        font-size: 14px;
    }
    
    .top-bar-right {
        display: none;
    }
    
    .footer-fill {
        flex-direction: column;
        text-align: center;
    }
    
    .post-title-single {
        font-size: 20px;
    }
    
    .post-meta-single {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .post-copyright {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .author-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-name {
        display: none;
    }

    .post-list {
        padding: 12px;
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .post-list.blockimg:nth-child(even) .entry-container,
    .entry-container {
        padding: 0 0 0 100px;
        min-height: 75px;
    }

    .block-image.feaimg {
        width: 90px;
        height: 68px;
    }

    .entry-title {
        font-size: 13px;
    }

    .entry-title .badge {
        font-size: 10px;
        padding: 2px 5px;
        margin-right: 5px;
    }

    .entry-meta {
        font-size: 10px;
    }

    .entry-meta .avatar {
        display: none;
    }
}

/* ========================================
   CMS分类模块样式
   ======================================== */
.cms-section {
    background: #fff;
    border-radius: 8px;
    margin: 20px auto;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cms-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.cms-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cms-section-title i {
    color: var(--primary-color, #448EF6);
}

.cms-section-more {
    color: #999;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.cms-section-more:hover {
    color: var(--primary-color, #448EF6);
}

.cms-section-content {
    display: flex;
    gap: 20px;
}

.cms-featured {
    flex: 0 0 280px;
}

.cms-featured img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.cms-featured a:hover img {
    transform: scale(1.02);
}

.cms-featured h4 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.4;
}

.cms-featured h4 a {
    color: #333;
    text-decoration: none;
}

.cms-featured h4 a:hover {
    color: var(--primary-color, #448EF6);
}

.cms-featured p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.cms-post-list {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cms-post-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cms-post-list li:last-child {
    border-bottom: none;
}

.cms-post-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color, #448EF6);
    border-radius: 50%;
    flex-shrink: 0;
}

.cms-date {
    color: #999;
    font-size: 12px;
    flex-shrink: 0;
    width: 40px;
}

.cms-post-list a {
    color: #555;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.cms-post-list a:hover {
    color: var(--primary-color, #448EF6);
}

/* CMS两列布局样式 */
.cms-container {
    padding: 20px 0;
    clear: both;
}

.cms-cat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.cms-cat-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cms-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.cms-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6) 0%, #6ba3f9 100%);
    color: #fff;
}

.cms-cat-header span {
    font-size: 16px;
    font-weight: 600;
}

.cms-cat-header span i {
    margin-right: 6px;
}

.cms-cat-header .more {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.cms-cat-header .more:hover {
    background: rgba(255, 255, 255, 0.35);
}

.cms-cat-content {
    padding: 0;
}

/* 第一篇带缩略图 */
.cms-featured-post {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}

.cms-featured-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}

.cms-featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.cms-featured-info {
    flex: 1;
    min-width: 0;
}

.cms-featured-info h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
}

.cms-featured-info h4 a {
    color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cms-featured-info h4 a:hover {
    color: var(--primary-color, #448EF6);
}

.cms-featured-info p {
    margin: 0;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 文章列表 */
.cms-article-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cms-article-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.2s;
}

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

.cms-article-item:hover {
    background: #f8fafc;
}

.cms-article-item .num {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-right: 12px;
    flex-shrink: 0;
    background: #f0f0f0;
    color: #999;
}

.cms-article-item:nth-child(1) .num {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: #fff;
}

.cms-article-item:nth-child(2) .num {
    background: linear-gradient(135deg, #ffa940, #fa8c16);
    color: #fff;
}

.cms-article-item:nth-child(3) .num {
    background: linear-gradient(135deg, #ffc53d, #fadb14);
    color: #fff;
}

.cms-article-item:nth-child(4) .num {
    background: linear-gradient(135deg, #73d13d, #52c41a);
    color: #fff;
}

.cms-article-item .title {
    flex: 1;
    color: #444;
    font-size: 14px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 10px;
}

.cms-article-item .title:hover {
    color: var(--primary-color, #448EF6);
}

.cms-article-item .time {
    color: #bbb;
    font-size: 12px;
    flex-shrink: 0;
}

/* CMS响应式布局 */
@media (max-width: 768px) {
    .cms-cat-row {
        grid-template-columns: 1fr;
    }

    .cms-cat-card {
        margin-bottom: 15px;
    }

    .cms-featured-post {
        flex-direction: column;
    }

    .cms-featured-thumb {
        width: 100%;
        height: 150px;
    }
}

/* CMS横向列表模块样式 */
.cms-hlist-container {
    margin-top: 20px;
    padding: 20px;
    clear: both;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(221, 221, 221, 0.28);
    border-radius: 18px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px -2px rgba(158, 158, 158, 0.2);
}

.cms-hlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.cms-hlist-header h3 {
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.cms-hlist-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.cms-hlist-desc {
    font-size: 14px;
    font-weight: 400;
    color: #999;
}

.cms-hlist-more {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.3s;
}

.cms-hlist-more:hover {
    color: var(--primary-color, #448EF6);
}

.cms-hlist-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cms-hlist-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cms-hlist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 12px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s;
}

.cms-hlist-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.cms-hlist-img {
    flex-shrink: 0;
    width: 100px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
}

.cms-hlist-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cms-hlist-item:hover .cms-hlist-img img {
    transform: scale(1.05);
}

.cms-hlist-info {
    flex: 1;
    min-width: 0;
}

.cms-hlist-info h4 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s;
}

.cms-hlist-item:hover .cms-hlist-info h4 {
    color: var(--primary-color, #448EF6);
}

.cms-hlist-info p {
    margin: 0 0 6px;
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cms-hlist-date {
    font-size: 12px;
    color: #bbb;
}

/* CMS横向列表模块响应式 */
@media (max-width: 768px) {
    .cms-hlist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cms-hlist-item {
        padding: 10px;
        gap: 12px;
    }
    
    .cms-hlist-img {
        width: 80px;
        height: 60px;
    }
    
    .cms-hlist-info h4 {
        font-size: 14px;
    }
    
    .cms-hlist-info p {
        font-size: 12px;
    }
}

/* 404页面样式 */
.error-page {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.error-content {
    margin-bottom: 40px;
}

.error-code {
    font-size: 120px;
    font-weight: 900;
    color: var(--primary-color, #448EF6);
    line-height: 1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 rgba(68, 142, 246, 0.1);
}

.error-code span {
    display: inline-block;
    animation: bounce 0.6s ease infinite;
}

.error-code span:nth-child(1) { animation-delay: 0s; }
.error-code span:nth-child(2) { animation-delay: 0.1s; }
.error-code span:nth-child(3) { animation-delay: 0.2s; }

.error-code .zero {
    position: relative;
    color: transparent;
}

.error-code .zero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.error-code .zero::after {
    content: '!';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: #fff;
    font-weight: 900;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.error-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.error-desc {
    font-size: 15px;
    color: #666;
    margin: 0 0 8px;
    line-height: 1.8;
}

.error-search {
    margin: 30px auto;
    max-width: 400px;
}

.error-search form {
    display: flex;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.error-search form:focus-within {
    border-color: var(--primary-color, #448EF6);
    box-shadow: 0 4px 20px rgba(68, 142, 246, 0.2);
}

.error-search-input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    font-size: 15px;
    outline: none;
    background: transparent;
}

.error-search-btn {
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    border: none;
    padding: 0 25px;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.error-search-btn:hover {
    opacity: 0.9;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.error-btn i {
    font-size: 18px;
}

.error-btn-primary {
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    color: #fff;
    box-shadow: 0 4px 15px rgba(68, 142, 246, 0.3);
}

.error-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(68, 142, 246, 0.4);
}

.error-btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.error-btn-secondary:hover {
    border-color: var(--primary-color, #448EF6);
    color: var(--primary-color, #448EF6);
}

.error-recommend {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.error-recommend h3 {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-recommend h3 i {
    color: #ff6b6b;
    font-size: 20px;
}

.error-hot-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-hot-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    transition: all 0.3s;
}

.error-hot-list li:last-child {
    border-bottom: none;
}

.error-hot-list li:hover {
    padding-left: 5px;
}

.hot-rank {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.error-hot-list li:nth-child(1) .hot-rank {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
}

.error-hot-list li:nth-child(2) .hot-rank {
    background: linear-gradient(135deg, #ffa500, #ffd700);
}

.error-hot-list li:nth-child(3) .hot-rank {
    background: linear-gradient(135deg, #40c9a2, #7ee8c7);
}

.error-hot-list a {
    color: #555;
    text-decoration: none;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.3s;
}

.error-hot-list a:hover {
    color: var(--primary-color, #448EF6);
}

@media (max-width: 768px) {
    .error-page {
        padding: 40px 20px;
        min-height: 400px;
    }

    .error-code {
        font-size: 80px;
    }

    .error-code .zero::before {
        width: 50px;
        height: 50px;
    }

    .error-code .zero::after {
        font-size: 35px;
    }

    .error-title {
        font-size: 22px;
    }

    .error-desc {
        font-size: 14px;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
    }

    .error-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .error-recommend {
        padding: 20px 15px;
    }
}

@media (max-width: 768px) {
    .cms-section-content {
        flex-direction: column;
    }

    .cms-featured {
        flex: none;
    }

    .cms-featured img {
        height: 180px;
    }
}

/* ========================================
   日历小工具
   ======================================== */
.widget-calendar {
    padding: 10px 0;
}

.widget-calendar table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.widget-calendar th,
.widget-calendar td {
    text-align: center;
    padding: 8px 5px;
}

.widget-calendar th {
    color: #666;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.widget-calendar td {
    color: #333;
}

.widget-calendar td a {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: var(--primary-color, #448EF6);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.widget-calendar td a:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(68, 142, 246, 0.4);
}

.widget-calendar .calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.widget-calendar .calendar-nav a {
    color: var(--primary-color, #448EF6);
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.widget-calendar .calendar-nav a:hover {
    background: var(--primary-color, #448EF6);
    color: #fff;
}

/* ========================================
   微语小工具
   ======================================== */
.widget-twitter {
    padding: 5px 0;
}

.twitter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.twitter-item {
    padding: 12px 0;
    border-bottom: 1px dashed #eee;
}

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

.twitter-content {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
}

.twitter-content i {
    color: var(--primary-color, #448EF6);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.twitter-content span {
    flex: 1;
}

.twitter-time {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #999;
    font-size: 12px;
    padding-left: 24px;
}

.twitter-time i {
    font-size: 14px;
}

.empty-widget {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 14px;
}

/* ========================================
   密码页面样式
   ======================================== */
.password-page {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #fff 100%);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.password-content {
    max-width: 400px;
    width: 100%;
}

.password-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-lock 2s ease-in-out infinite;
}

.password-icon i {
    font-size: 48px;
    color: #fff;
}

@keyframes pulse-lock {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(68, 142, 246, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 20px rgba(68, 142, 246, 0);
    }
}

.password-title {
    font-size: 28px;
    color: #333;
    margin: 0 0 15px;
    font-weight: 600;
}

.password-desc {
    font-size: 16px;
    color: #666;
    margin: 0 0 10px;
}

.password-hint {
    font-size: 14px;
    color: #999;
    margin: 0 0 30px;
}

.password-form {
    margin-bottom: 30px;
}

.password-form .form-group {
    margin-bottom: 20px;
}

.password-form .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-form .input-wrapper i {
    position: absolute;
    left: 15px;
    color: #999;
    font-size: 18px;
}

.password-form input[type="password"] {
    width: 100%;
    padding: 15px 15px 15px 45px;
    font-size: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    background: #fff;
    outline: none;
    transition: all 0.3s;
}

.password-form input[type="password"]:focus {
    border-color: var(--primary-color, #448EF6);
    box-shadow: 0 0 0 4px rgba(68, 142, 246, 0.1);
}

.password-form input[type="password"]::placeholder {
    color: #bbb;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, var(--primary-color, #448EF6), #6ea7d6);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(68, 142, 246, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(68, 142, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

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

.password-footer {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.back-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.back-home:hover {
    color: var(--primary-color, #448EF6);
}

.back-home i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .password-page {
        padding: 40px 20px;
        min-height: 300px;
    }

    .password-icon {
        width: 80px;
        height: 80px;
    }

    .password-icon i {
        font-size: 36px;
    }

    .password-title {
        font-size: 22px;
    }

    .password-desc {
        font-size: 14px;
    }

    .password-form input[type="password"] {
        padding: 12px 12px 12px 40px;
        font-size: 14px;
    }

    .submit-btn {
        padding: 12px 20px;
        font-size: 15px;
    }
}
