/* ===== 网站组件样式 ===== */

/* 左侧栏样式 */
.left-sidebar-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* 通用部分样式 */
.sidebar-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.section-subtitle {
    font-size: 13px;
    color: #6c757d;
}

/* 分隔线 */
.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e9ecef, transparent);
    margin: 0;
}

/* 搜索栏样式 */
.search-box {
    margin-top: 10px;
}

.search-input-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.search-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.search-tips {
    text-align: center;
}

.tip {
    font-size: 12px;
    color: #6c757d;
    background: white;
    padding: 4px 10px;
    border-radius: 12px;
    display: inline-block;
}

/* 最新更新样式 */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.update-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border-left: 3px solid #5ac8fa;
}

.update-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-decoration: none;
}

.update-index {
    width: 28px;
    height: 28px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.update-content {
    flex: 1;
}

.update-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    color: #333;
}

.update-info {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.update-date {
    background: #e9ecef;
    padding: 2px 8px;
    border-radius: 4px;
    color: #495057;
}

.update-category {
    background: #d1ecf1;
    color: #0c5460;
    padding: 2px 8px;
    border-radius: 4px;
}

.updates-footer {
    text-align: center;
}

.view-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: white;
    color: #667eea;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
}

.view-more:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.view-more .arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.view-more:hover .arrow {
    transform: translateX(3px);
}

/* 访问统计样式 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.update-time {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: #6c757d;
}

.time-icon {
    font-size: 12px;
}

/* 右侧栏样式 */
.right-sidebar-container {
    height: 100%;
}

.social-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.social-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

/* 微博 */
.social-link.weibo {
    background: linear-gradient(135deg, #ff8200, #ff6b00);
}

.social-link.weibo:hover {
    background: linear-gradient(135deg, #ff6b00, #ff5500);
}

/* 知乎 */
.social-link.zhihu {
    background: linear-gradient(135deg, #0084ff, #0066cc);
}

.social-link.zhihu:hover {
    background: linear-gradient(135deg, #0066cc, #0052a3);
}

/* 豆瓣 */
.social-link.douban {
    background: linear-gradient(135deg, #2e963d, #1e7a2e);
}

.social-link.douban:hover {
    background: linear-gradient(135deg, #1e7a2e, #166023);
}

.social-icon {
    font-size: 24px;
    margin-right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
}

.social-content {
    flex: 1;
}

.social-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.social-desc {
    font-size: 12px;
    opacity: 0.9;
    line-height: 1.4;
}

.social-arrow {
    font-size: 18px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-link:hover .social-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.social-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
    text-align: center;
}

.social-note {
    font-size: 11px;
    color: #adb5bd;
    font-style: italic;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .sidebar-section {
        padding: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (max-width: 992px) {
    .left-sidebar-container {
        gap: 20px;
    }
    
    .search-input-wrapper {
        flex-direction: column;
    }
    
    .search-btn {
        width: 100%;
    }
    
    .update-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .update-index {
        margin-right: 0;
        margin-bottom: 10px;

/* LOGO优化样式 */

.header-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 确保LOGO容器正确 */
.header-logo {
    display: flex;
    align-items: center;
}

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

/* ===== 侧栏蓝色背景方案 ===== */

/* 左侧栏蓝色背景 */
.left-sidebar-container {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 右侧栏蓝色背景 */
.right-sidebar-container {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 侧栏内部卡片样式调整 */
.sidebar-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

/* 分隔线调整为白色透明 */
.sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 20px 0;
}

/* 社交媒体链接在蓝色背景下的调整 */
.social-link {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link.weibo:hover {
    background: linear-gradient(135deg, rgba(255, 130, 0, 0.9), rgba(255, 107, 0, 0.9));
}

.social-link.zhihu:hover {
    background: linear-gradient(135deg, rgba(0, 132, 255, 0.9), rgba(0, 102, 204, 0.9));
}

.social-link.douban:hover {
    background: linear-gradient(135deg, rgba(46, 150, 61, 0.9), rgba(30, 122, 46, 0.9));
}

/* 搜索栏在蓝色背景下的调整 */
.search-input {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.search-input:focus {
    background: white;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

.search-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.search-btn:hover {
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* 最新更新在蓝色背景下的调整 */
.update-item {
    background: rgba(255, 255, 255, 0.9);
    border-left: 3px solid #5ac8fa;
}

.update-item:hover {
    background: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

.update-index {
    background: #667eea;
}

/* 访问统计在蓝色背景下的调整 */
.stat-item {
    background: rgba(255, 255, 255, 0.9);
}

.stat-item:hover {
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.stat-number {
    color: #667eea;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .left-sidebar-container,
    .right-sidebar-container {
        padding: 15px;
    }
    
    .sidebar-section {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .left-sidebar-container,
    .right-sidebar-container {
        padding: 12px;
        border-radius: 10px;
    }
    
    .sidebar-section {
        padding: 12px;
        border-radius: 12px;
    }
}

@media (max-width: 576px) {
    .left-sidebar-container,
    .right-sidebar-container {
        padding: 10px;
        border-radius: 12px;
    }
}

/* ===== 网站版块样式 ===== */

/* 版块容器 */
.sections-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

/* 版块项目 */
.section-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    border-left: 4px solid transparent;
}

.section-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    background: white;
}

/* 版块图标 */
.section-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border-radius: 12px;
    margin-right: 15px;
    flex-shrink: 0;
}

/* 版块内容 */
.section-content {
    flex: 1;
}

.section-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.section-desc {
    font-size: 12px;
    color: #6c757d;
    line-height: 1.4;
}

/* 版块箭头 */
.section-arrow {
    font-size: 18px;
    color: #adb5bd;
    transition: all 0.3s ease;
}

.section-item:hover .section-arrow {
    color: #667eea;
    transform: translateX(3px);
}

/* 各版块颜色 */
.section-item.chenshi {
    border-left-color: #6c757d;
}

.section-item.chenshi .section-icon {
    background: rgba(255, 107, 107, 0.1);
    color: #6c757d;
    font-size: 22px;  /* 适当调整大小 */
}
    background: rgba(255, 107, 107, 0.1);
    color: #6c757d;
}
    background: rgba(255, 107, 107, 0.1);
    color: #6c757d;
}

.section-item.shiguang {
    border-left-color: #6c757d;
}

.section-item.shiguang .section-icon {
    background: rgba(29, 209, 161, 0.1);
    color: #6c757d;
}

.section-item.guangying {
    border-left-color: #6c757d;
}

.section-item.guangying .section-icon {
    background: rgba(255, 159, 243, 0.1);
    color: #6c757d;
}

.section-item.xunxin {
    border-left-color: #6c757d;
}

.section-item.xunxin .section-icon {
    background: rgba(84, 160, 255, 0.1);
    color: #6c757d;
}

/* 版块页脚 */
.sections-footer {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.sections-note {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* 社交媒体在左侧栏的调整 */
.left-sidebar-container .social-section {
    margin-top: 0;
}

.left-sidebar-container .social-link {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.left-sidebar-container .social-link.weibo:hover {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.left-sidebar-container .social-link.zhihu:hover {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.left-sidebar-container .social-link.douban:hover {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .section-item {
        padding: 12px;
    }
    
    .section-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
        margin-right: 12px;
    }
    
    .section-name {
        font-size: 15px;
    }
    
    .section-desc {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .sections-grid {
        gap: 10px;
    }
    
    .section-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .section-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .section-arrow {
        display: none;
    }
}

@media (max-width: 576px) {
    .section-item {
        padding: 12px 10px;
    }
    
    .section-name {
        font-size: 14px;
    }
    
    .section-desc {
        font-size: 10px;
    }
}

/* ===== 测试调整样式 ===== */

/* 测试：版块图标放大 */
.test-icon-large .section-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
}

/* 测试：边框加粗 */
.test-border-thick .section-item {
    border-left-width: 6px;
}

/* 测试：颜色变亮 */
.test-color-light .section-item.chenshi { border-left-color: #ff8e8e; }
.test-color-light .section-item.shiguang { border-left-color: #4de0b5; }
.test-color-light .section-item.guangying { border-left-color: #ffb3f0; }
.test-color-light .section-item.xunxin { border-left-color: #7bb4ff; }

/* 测试：社交媒体图标更换 */
.test-social-icons .social-icon {
    font-size: 20px;
}

.test-social-icons .social-link.weibo .social-icon::before {
    content: "W";
}

.test-social-icons .social-link.zhihu .social-icon::before {
    content: "Z";
}

.test-social-icons .social-link.douban .social-icon::before {
    content: "D";
}

/* 新LOGO优化样式 */

.header-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 确保LOGO在移动端显示良好 */
@media (max-width: 768px) {
}

@media (max-width: 576px) {
}

/* ===== 新LOGO样式：80×80方形 ===== */
.header-logo img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 12px;  /* 方形带圆角 */
    border: 3px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: white;
    transition: all 0.3s ease;
    display: block;
}

.header-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    border-color: #e6f2ff;
}

/* 移动端适配 */
@media (max-width: 992px) {
    .header-logo img {
        width: 50px;
        height: 50px;
        border-radius: 6px;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        width: 50px;
        height: 50px;
        border-radius: 5px;
        border-width: 2px;
    }
}

@media (max-width: 576px) {
    .header-logo img {
        width: 50px;
        height: 50px;
        border-radius: 4px;
    }
}

/* 调整顶栏布局以适应新LOGO大小 */
.header-container {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 20px;
}

.header-logo {
    flex-shrink: 0;
}

.header-title {
    flex: 1;
    min-width: 0;
}

.header-contact, .header-privacy {
    flex-shrink: 0;
}

/* 移动端布局调整 */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px 15px;
    }
    
    .header-logo {
        order: 1;
    }
    
    .header-title {
        order: 3;
        flex: 1 0 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .header-contact, .header-privacy {
        order: 2;
    }
}

@media (max-width: 576px) {
    .header-container {
        gap: 10px;
        padding: 10px;
    }
    
    .header-contact, .header-privacy {
        font-size: 14px;
    }
}

/* ===== 统一蓝色背景下的侧栏元素样式 ===== */

/* 左侧栏内部元素 */
.left-sidebar .section-header {
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.left-sidebar .section-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.left-sidebar .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
}

.left-sidebar .section-item {
    background: white;
    border: 1px solid #e5e7eb;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.left-sidebar .section-item:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.left-sidebar .section-name {
    color: #111827;
}
    color: white;
}

.left-sidebar .section-desc {
    color: #6b7280;
}
    color: rgba(255, 255, 255, 0.8);
}

.left-sidebar .section-arrow {
    color: #9ca3af;
}
    color: rgba(255, 255, 255, 0.6);
}

.left-sidebar .section-item:hover .section-arrow {
    color: #4b5563;
}
    color: white;
}

/* 左侧栏社交媒体链接 */
.left-sidebar .social-link {
    background: white;
    border: 1px solid #e5e7eb;
    color: #333;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.left-sidebar .social-name {
    color: #111827;
}
    color: white;
}

.left-sidebar .social-desc {
    color: #6b7280;
}
    color: rgba(255, 255, 255, 0.8);
}

.left-sidebar .social-arrow {
    color: #9ca3af;
}
    color: rgba(255, 255, 255, 0.6);
}

.left-sidebar .social-link:hover .social-arrow {
    color: #4b5563;
}
    color: white;
}

/* 右侧栏内部元素 */
.right-sidebar .widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.right-sidebar .widget-title {
    color: #111827;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid #f3f4f6;
    padding-bottom: 10px;
}
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 8px;
}

.right-sidebar .search-input {
    background: white;
    border: 1px solid #d1d5db;
    color: #111827;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.right-sidebar .search-input::placeholder {
    color: #9ca3af;
}
    color: rgba(255, 255, 255, 0.6);
}

.right-sidebar .search-button {
    background: #3b82f6;
    color: white;
    border: 1px solid #2563eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.right-sidebar .search-button:hover {
    background: #2563eb;
    border-color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
    background: rgba(255, 255, 255, 0.3);
}

.right-sidebar .latest-update-item {
    border-bottom: 1px solid #f3f4f6;
    padding: 12px 0;
}
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.right-sidebar .latest-update-item:last-child {
    border-bottom: none;
}

.right-sidebar .latest-update-title {
    color: #111827;
    font-weight: 500;
}
    color: white;
}

.right-sidebar .latest-update-date {
    color: #6b7280;
    font-size: 12px;
}
    color: rgba(255, 255, 255, 0.7);
}

.right-sidebar .stats-number {
    color: #111827;
    font-weight: 700;
    font-size: 24px;
}
    color: white;
    font-weight: 600;
}

.right-sidebar .stats-label {
    color: #6b7280;
    font-size: 14px;
}
    color: rgba(255, 255, 255, 0.8);
}

/* 分隔线 */
.sidebar-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px 0;
}

/* 页脚文字 */
.sections-footer, .social-footer {
    color: rgba(255, 255, 255, 0.7);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .left-sidebar, .right-sidebar {
        padding: 15px;
    }
    
    .left-sidebar .section-item,
    .right-sidebar .widget {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .left-sidebar, .right-sidebar {
        padding: 12px;
        border-radius: 12px;
        margin-bottom: 20px;
    }
    
    .left-sidebar {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .right-sidebar {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
}

/* ===== 白底文本框优化 ===== */

/* 左侧栏版块图标在白底上的优化 */
.left-sidebar .section-icon {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 版块边框颜色在白底上更突出 */
.left-sidebar .section-item.chenshi {
    border-left-color: #6c757d;
}

.left-sidebar .section-item.shiguang {
    border-left-color: #6c757d;
}

.left-sidebar .section-item.guangying {
    border-left-color: #6c757d;
}

.left-sidebar .section-item.xunxin {
    border-left-color: #6c757d;
}

/* 社交媒体图标在白底上的优化 */
.left-sidebar .social-icon {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.left-sidebar .social-link.weibo:hover {
    border-left-color: #ff8200;
}

.left-sidebar .social-link.zhihu:hover {
    border-left-color: #0084ff;
}

.left-sidebar .social-link.douban:hover {
    border-left-color: #2e963d;
}

/* 右侧栏小工具内部间距优化 */
.right-sidebar .widget-content {
    padding-top: 10px;
}

/* 搜索框聚焦效果 */
.right-sidebar .search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    outline: none;
}

/* 最新更新项悬停效果 */
.right-sidebar .latest-update-item:hover {
    background: #f9fafb;
    border-radius: 4px;
    padding-left: 8px;
    padding-right: 8px;
    margin-left: -8px;
    margin-right: -8px;
}

/* 统计卡片布局 */
.right-sidebar .stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.right-sidebar .stat-item {
    text-align: center;
    padding: 15px;
    background: #f9fafb;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.right-sidebar .stat-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .left-sidebar .section-item,
    .left-sidebar .social-link,
    .right-sidebar .widget {
        padding: 15px;
    }
    
    .right-sidebar .stats-container {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 576px) {
    .left-sidebar .section-item,
    .left-sidebar .social-link,
    .right-sidebar .widget {
        padding: 12px;
    }
    
    .right-sidebar .widget-title {
        font-size: 15px;
    }
}

/* ===== 确保LOGO为80×80方形 ===== */
.header-logo img {
    /* 陛下要求：80×80方形 */
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important; /* 方形带轻微圆角 */
    border: 3px solid white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    object-fit: cover !important;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .header-logo img {
        width: 50px !important;
        height: 50px !important;
    }
}

@media (max-width: 768px) {
    .header-logo img {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 480px) {
    .header-logo img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ===== 简洁素雅统一色彩系统 ===== */
:root {
    /* 版块统一颜色 - 高级灰 */
    --section-color: #6c757d;
    --section-color-light: #adb5bd;
    --section-color-dark: #495057;
    
    /* 背景色 - 深蓝渐变 */
    --bg-gradient: linear-gradient(135deg, #1e3a8a, #3b82f6);
    
    /* 卡片颜色 */
    --card-bg: white;
    --card-border: #e9ecef;
    --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    
    /* 文字颜色 */
    --text-primary: #212529;
    --text-secondary: #6c757d;
    --text-light: #f8f9fa;
}

/* 统一版块样式 */
.sidebar-section {
    border-left-color: var(--section-color) !important;
}

.section-header {
    border-bottom-color: var(--section-color-light) !important;
}

.section-title {
    color: var(--text-primary) !important;
}

.section-subtitle {
    color: var(--text-secondary) !important;
}

/* 悬停效果统一 */
.sidebar-section:hover {
    border-left-color: var(--section-color-dark) !important;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.15) !important;
}

/* ===== 统一深蓝色渐变背景 ===== */
:root {
    --bg-gradient-primary: linear-gradient(135deg, #1e3a8a, #3b82f6);
    --bg-gradient-secondary: linear-gradient(135deg, #1e3a8a, #4a7bb8);
}

/* 顶栏背景 */
.top-bar-container,
.header-container {
    background: var(--bg-gradient-primary) !important;
}

/* 左侧栏背景 */
.left-sidebar-container,
.left-sidebar-wrapper,
.sidebar-left {
    background: var(--bg-gradient-primary) !important;
    color: white !important;
}

/* 右侧栏背景 */
.right-sidebar-container,
.right-sidebar-wrapper,
.sidebar-right {
    background: var(--bg-gradient-primary) !important;
    color: white !important;
}

/* 中间内容区保持白色 */
.main-content-container,
.content-area,
.site-content-wrapper {
    background: white !important;
}

/* 确保侧栏内部元素可读性 */
.left-sidebar-container *,
.right-sidebar-container * {
    color: inherit;
}

/* 卡片在深蓝背景上的显示优化 */
.sidebar-section {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .left-sidebar-container,
    .right-sidebar-container {
        background: var(--bg-gradient-primary) !important;
    }
    
    .sidebar-section {
        background: rgba(255, 255, 255, 0.98) !important;
    }
}

/* ===== 深蓝背景上的卡片优化 ===== */

/* 卡片背景增强 */
.sidebar-section {
    background: white !important;
    border-radius: 12px !important;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
}

/* 卡片标题优化 */
.section-title {
    color: #212529 !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 8px !important;
}

.section-subtitle {
    color: #6c757d !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

/* 卡片边框统一 */
.sidebar-section {
    border-left: 4px solid #6c757d !important;
}

/* 悬停效果 */
.sidebar-section:hover {
    transform: translateY(-2px) !important;
    box-shadow: 
        0 6px 16px rgba(0, 0, 0, 0.2),
        0 3px 6px rgba(0, 0, 0, 0.15) !important;
    border-left-color: #495057 !important;
    transition: all 0.3s ease !important;
}

/* 确保文字在深蓝背景上可读 */
.left-sidebar-container,
.right-sidebar-container {
    color: #f8f9fa !important;
}

.left-sidebar-container h1,
.left-sidebar-container h2,
.left-sidebar-container h3,
.left-sidebar-container h4,
.right-sidebar-container h1,
.right-sidebar-container h2,
.right-sidebar-container h3,
.right-sidebar-container h4 {
    color: #f8f9fa !important;
}

/* ===== 联系表单样式 ===== */
.contact-form {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ced4da;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7bb8;
    box-shadow: 0 0 0 3px rgba(74, 123, 184, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, #4a7bb8, #3a5a8c);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 10px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3a5a8c, #2a4a7c);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.form-notice {
    margin-top: 20px;
    padding: 15px;
    background: #e7f3ff;
    border-radius: 12px;
    border-left: 4px solid #4a7bb8;
    font-size: 14px;
    color: #495057;
}

.form-notice p {
    margin: 5px 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-form {
        padding: 20px;
        margin: 20px auto;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 15px;
    }
}

/* ===== 陛下指定LOGO样式修复 ===== */
/* 强制覆盖所有LOGO样式，确保60×60方形带圆角 */

.header-logo img,
    width: 60px !important;
    height: 60px !important;
.site-header img[alt*="LOGO"],
.site-header img[alt*="logo"],
header img[src*="logo"],
.header-container img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 12px !important; /* 方形带圆角 */
    object-fit: cover !important;
    border: 3px solid white !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.header-logo img:hover,
.site-header img[alt*="LOGO"]:hover,
.site-header img[alt*="logo"]:hover,
header img[src*="logo"]:hover,
.header-container img:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3) !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .header-logo img,
    .site-header img[alt*="LOGO"],
    .site-header img[alt*="logo"],
    header img[src*="logo"],
    .header-container img {
        width: 50px !important;
        height: 50px !important;
    }
}

@media (max-width: 480px) {
    .header-logo img,
    .site-header img[alt*="LOGO"],
    .site-header img[alt*="logo"],
    header img[src*="logo"],
    .header-container img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* 确保LOGO链接正确 */
.header-logo a {
    display: inline-block;
    line-height: 0;
}

/* 确保LOGO容器正确 */
.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== 一分钟阅读摘要分段样式 ===== */
.article-excerpt {
    line-height: 1.6;
    color: #444;
    font-size: 15px;
}

.article-excerpt .excerpt-lead {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.5;
}

.article-excerpt .excerpt-lead strong {
    color: #3498db;
    font-weight: 600;
}

.article-excerpt .excerpt-paragraph {
    margin-bottom: 10px;
    text-indent: 0;
    line-height: 1.6;
}

.article-excerpt .excerpt-paragraph:last-child {
    margin-bottom: 0;
    color: #7f8c8d;
    font-style: italic;
}

/* 段落间的视觉分隔 */
.article-excerpt .excerpt-paragraph:not(:last-child)::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, #ecf0f1 20%, #ecf0f1 80%, transparent);
    margin: 8px 0;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .article-excerpt {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .article-excerpt .excerpt-lead {
        font-size: 15px;
    }
    
    .article-excerpt .excerpt-paragraph:not(:last-child)::after {
        margin: 6px 0;
    }
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .article-excerpt {
        color: #bdc3c7;
    }
    
    .article-excerpt .excerpt-lead {
        color: #ecf0f1;
    }
    
    .article-excerpt .excerpt-lead strong {
        color: #3498db;
    }
    
    .article-excerpt .excerpt-paragraph:last-child {
        color: #95a5a6;
    }
    
    .article-excerpt .excerpt-paragraph:not(:last-child)::after {
        background: linear-gradient(to right, transparent, #34495e 20%, #34495e 80%, transparent);
    }
}
