  /*
Theme Name: GeneratePress Child
Theme URI: https://your-site.com
Description: 这是一个 GeneratePress 子主题
Author: 你的名字
Author URI: https://your-site.com
Template: generatepress
Version: 1.0
*/

  
 
    .same-category-posts-optimized-widget {
        background: #ffffff;
        border-radius: 10px;
        padding: 20px;
        margin-bottom: 25px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
        border: 1px solid #eaeaea;
        position: relative;
        overflow: hidden;
    }
    
    .same-category-posts-optimized-widget::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #4a6ee0, #6a8eff);
    }
    
 
    .same-category-posts-optimized-widget .widget-title {
        color: #2c3e50;
        font-size: 16px;
        font-weight: 600;
        margin: 0 0 15px 0;
        padding-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        align-items: center;
    }
    
    .same-category-posts-optimized-widget .widget-icon {
        margin-right: 8px;
        font-size: 18px;
    }
    
  
    .current-category {
        background: #f8f9fa;
        padding: 8px 12px;
        border-radius: 6px;
        margin-bottom: 15px;
        font-size: 13px;
        color: #666;
        border-left: 3px solid #4a6ee0;
    }
    
    .category-label {
        color: #888;
        font-weight: 500;
    }
    
    .category-name {
        color: #4a6ee0;
        text-decoration: none;
        font-weight: 500;
    }
    
    .category-name:hover {
        text-decoration: underline;
    }
    
 
    .category-posts-list {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    

    .category-post-item {
        display: flex;
        align-items: center;
        min-height: 36px;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .category-post-item:hover {
        background-color: #f8f9fa;
        border-radius: 4px;
        transform: translateX(3px);
    }
    

    .post-number {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        background: #f0f2f5;
        color: #666;
        font-size: 12px;
        font-weight: 600;
        border-radius: 50%;
        margin-right: 10px;
        flex-shrink: 0;
    }
    
    .post-bullet {
        display: inline-block;
        width: 6px;
        height: 6px;
        background: #ccc;
        border-radius: 50%;
        margin-right: 12px;
        flex-shrink: 0;
    }
    
  
    .post-title-link {
        flex: 1;
        display: flex;
        align-items: center;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.4;
        padding: 6px 0;
        min-width: 0; 
        overflow: hidden; 
    }
    
    .post-title-link:hover {
        color: #4a6ee0;
    }
    
    .post-title-link.current-article {
        color: #4a6ee0;
        font-weight: 500;
    }
    

    .title-text {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
        min-width: 0; 
    }
    

    .current-indicator {
        color: #4a6ee0;
        margin-left: 8px;
        font-size: 14px;
        font-weight: bold;
        opacity: 0.7;
        flex-shrink: 0;
    }
    

    .category-post-1 .post-number {
        background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
        color: white;
    }
    
    .category-post-2 .post-number {
        background: linear-gradient(135deg, #4ecdc4, #6ef0e7);
        color: white;
    }
    
    .category-post-3 .post-number {
        background: linear-gradient(135deg, #ffd166, #ffe18e);
        color: #333;
    }
    
    .category-post-1 .post-bullet {
        background: #ff6b6b;
    }
    
    .category-post-2 .post-bullet {
        background: #4ecdc4;
    }
    
    .category-post-3 .post-bullet {
        background: #ffd166;
    }
    

    .more-category-posts {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px dashed #e0e0e0;
    }
    
    .more-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 10px 15px;
        background: #f8f9fa;
        color: #4a6ee0;
        text-decoration: none;
        font-size: 13px;
        font-weight: 500;
        border-radius: 6px;
        transition: all 0.2s ease;
    }
    
    .more-link:hover {
        background: #4a6ee0;
        color: white;
    }
    
    .more-link svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
    }
    
    .more-link span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        flex: 1;
    }
    
  
    @media (max-width: 768px) {
        .same-category-posts-optimized-widget {
            padding: 15px;
        }
        
        .same-category-posts-optimized-widget .widget-title {
            font-size: 15px;
            margin-bottom: 12px;
        }
        
        .post-title-link {
            font-size: 13px;
        }
        
        .title-text {
            max-width: 200px; 
        }
        
        .more-link {
            font-size: 12px;
            padding: 8px 12px;
        }
    }
    
    @media (max-width: 480px) {
        .title-text {
            max-width: 160px; 
        }
        
        .post-number {
            width: 20px;
            height: 20px;
            font-size: 11px;
            margin-right: 8px;
        }
        
        .post-bullet {
            margin-right: 10px;
        }
    }
    
   
    .same-category-posts-optimized-widget * {
        box-sizing: border-box;
    }
    

    .same-category-posts-optimized-widget {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
 
    .title-text.multiline {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
    }
  
  
 
    .clean-recent-posts {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .clean-post-item {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #f0f0f0;
        transition: background-color 0.2s ease;
    }
    
    .clean-post-item:last-child {
        border-bottom: none;
    }
    
    .clean-post-item:hover {
        background-color: #f8f9fa;
    }
    
    .clean-post-link {
        display: flex;
        align-items: center;
        padding: 12px 0;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.4;
        position: relative;
    }
    
    .clean-post-link:hover {
        color: #0073aa;
    }
    
    .post-bullet {
        display: inline-block;
        width: 6px;
        height: 6px;
        background-color: #ddd;
        border-radius: 50%;
        margin-right: 10px;
        transition: background-color 0.3s ease;
    }
    
    .clean-post-link:hover .post-bullet {
        background-color: #0073aa;
        transform: scale(1.2);
    }
    
    .post-title {
        flex: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-right: 10px;
    }
    
    .post-date {
        font-size: 12px;
        color: #999;
        font-family: monospace;
        background: #f5f5f5;
        padding: 2px 6px;
        border-radius: 3px;
        white-space: nowrap;
    }
    
 
    .clean-post-item.hot-post .post-bullet {
        background-color: #ff6b6b;
    }
    
    .clean-post-item.hot-post .post-date {
        background: #fff5f5;
        color: #ff6b6b;
    }
    

    @media (max-width: 768px) {
        .clean-post-link {
            padding: 10px 0;
            font-size: 13px;
        }
        
        .post-date {
            font-size: 11px;
            padding: 1px 4px;
        }
    }


            .comment-form-email { display: none !important; }
            .comment-form-captcha #captcha {
              border: 1px solid #949494 !important; 
    margin-top: 12px;
}
            .comment-form-captcha {
                background: #f5f5f5;
                padding: 15px;
                border-radius: 5px;
                margin: 15px 0;
            }
      
     
     
     
     /* MasterYourStack Social Share Buttons */
.mys-social-share-wrapper {
    display: block;
    margin: 2.5em 0;
    padding: 1.5em;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25em;
    padding-bottom: 0.75em;
    border-bottom: 1px solid #dee2e6;
}

.share-label {
    font-weight: 600;
    font-size: 1.1em;
    color: #2c3e50;
}

.share-count {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
}

.mys-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5em;
}

.mys-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 0.95em;
    font-weight: 500;
    transition: all 0.2s ease;
    flex-grow: 1;
    justify-content: center;
    min-width: 120px;
}

.mys-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-decoration: none;
}

.mys-share-btn:focus {
    outline: 2px solid #4d90fe;
    outline-offset: 2px;
}

.share-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* 各平台按钮颜色 */
.twitter-btn:hover { background-color: #e8f5fe; border-color: #1da1f2; color: #1da1f2; }
.facebook-btn:hover { background-color: #edf4ff; border-color: #1877f2; color: #1877f2; }
.linkedin-btn:hover { background-color: #eef7ff; border-color: #0a66c2; color: #0a66c2; }
.reddit-btn:hover { background-color: #fff0e6; border-color: #ff4500; color: #ff4500; }

.share-copy-link {
    display: flex;
    margin-top: 1em;
}

.copy-link-input {
    flex-grow: 1;
    padding: 12px 16px;
    border: 1px solid #ced4da;
    border-radius: 6px 0 0 6px;
    font-family: monospace;
    font-size: 0.9em;
    color: #495057;
    background-color: #fff;
}

.copy-link-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    background: #2c3e50;
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    font-size: 0.95em;
    cursor: pointer;
    transition: background 0.2s ease;
}

.copy-link-btn:hover {
    background: #1a252f;
}

.copy-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mys-share-buttons {
        flex-direction: column;
    }
    
    .mys-share-btn {
        min-width: auto;
        justify-content: flex-start;
    }
    
    .share-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5em;
    }
} 
  
  

  
  
  
  
  
  
 /* Footer 样式 */
.site-footer {
    background-color: var(--base-3);
    border-top: 1px solid var(--base);
    padding: 10px 0 30px;
    margin-top: 10px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 主要区域 */
.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 品牌区域 */
.footer-brand .footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--contrast);
    margin: 0 0 15px 0;
}

.footer-tagline {
    color: var(--contrast-2);
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 300px;
}

/* 新闻订阅表单 */
.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--contrast-3);
    border-radius: 6px;
    font-size: 14px;
    background-color: var(--base-2);
    color: var(--contrast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.newsletter-form button {
    padding: 12px 25px;
    background-color: var(--accent);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
}

.newsletter-form button:hover {
    background-color: #1a62a9;
}

/* 链接区域 */
.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

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

@media (max-width: 576px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.links-column h4 {
    color: var(--contrast);
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.links-list li {
    margin-bottom: 12px;
}

.links-list a {
    color: var(--contrast-2);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 15px;
}

.links-list a:hover {
    color: var(--accent);
}

/* 底部区域 */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--base);
    flex-wrap: wrap;
    gap: 20px;
}

@media (max-width: 576px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-copyright p {
    color: var(--contrast-2);
    font-size: 14px;
    margin: 0 0 5px 0;
}

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

.footer-attribution a {
    color: var(--contrast-2);
    text-decoration: none;
}

.footer-attribution a:hover {
    color: var(--accent);
}

/* 社交媒体图标 */
.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--base-2);
    color: var(--contrast-2);
    transition: all 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
} 
  
  
  
  
  
  
 /* ============================================
   SLIDER CAPTCHA STYLES - 增强版
   ============================================ */

/* 主容器 */
.slider-captcha-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    transition: all 0.3s ease;
}

.slider-captcha-container p {
    margin-bottom: 10px;
    font-weight: bold;
    color: #333;
}

/* 滑块轨道 */
.slider-track {
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    border-radius: 20px;
    position: relative;
    border: 2px solid #ced4da;
    touch-action: none;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

/* 起始标记 */
.start-mark {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: #6c757d;
    border-radius: 2px;
    z-index: 1;
}

/* 滑块手柄 */
.slider-handle {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #0d6efd;
    border-radius: 25px;
    cursor: grab;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.slider-handle span {
    color: white;
    font-size: 20px;
    transition: transform 0.2s ease;
}

/* 激活状态 */
.slider-handle.active {
    cursor: grabbing;
    background: #0b5ed7;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-50%) scale(1.05);
}

.slider-handle.active span {
    transform: scale(1.1);
}

/* 目标区域 */
.target-zone {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 100%;
    background: rgba(25, 135, 84, 0.15);
    border-radius: 0 20px 20px 0;
    border: 2px dashed #198754;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.slider-captcha-container.verified .target-zone {
    background: rgba(25, 135, 84, 0.25);
    border-style: solid;
}

.target-zone span {
    color: #198754;
    font-weight: bold;
    font-size: 18px;
}

/* 提示文字 */
.slider-hint {
    position: absolute;
    top: -25px;
    width: 100%;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* 验证状态文本 */
.captcha-status {
    margin-top: 10px;
    text-align: center;
    min-height: 20px;
}

#captcha-status-text {
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

/* 状态颜色 */
#captcha-status-text.pending {
    color: #6c757d;
    background: #e9ecef;
}

#captcha-status-text.verified {
    color: #198754;
    background: rgba(25, 135, 84, 0.1);
}

#captcha-status-text.error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    animation: shake 0.5s ease;
}

/* 动画效果 */
@keyframes successPulse {
    0% { 
        background-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% { 
        background-color: #198754;
        box-shadow: 0 2px 12px rgba(25, 135, 84, 0.4);
    }
    100% { 
        background-color: #0d6efd;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
}

.slider-handle.verified {
    animation: successPulse 1s ease-in-out 3;
}

@keyframes shake {
    0%, 100% { transform: translateX(0) translateY(-50%); }
    25% { transform: translateX(-8px) translateY(-50%); }
    75% { transform: translateX(8px) translateY(-50%); }
}

.slider-handle.error {
    animation: shake 0.5s ease-in-out;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.slider-captcha-container.loading .slider-track {
    opacity: 0.7;
    pointer-events: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .slider-captcha-container {
        padding: 12px;
        margin: 15px 0;
    }
    
    .slider-track {
        height: 36px;
    }
    
    .slider-handle {
        width: 45px;
        height: 45px;
    }
    
    .target-zone {
        width: 50px;
    }
    
    .slider-hint {
        top: -22px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .slider-captcha-container p {
        font-size: 14px;
    }
    
    .slider-track {
        height: 32px;
    }
    
    .slider-handle {
        width: 40px;
        height: 40px;
    }
    
    .slider-handle span {
        font-size: 18px;
    }
    
    .target-zone {
        width: 45px;
    }
}

/* 无障碍支持 */
.slider-handle:focus {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    .slider-captcha-container {
        background: #2d3748;
        border-color: #4a5568;
    }
    
    .slider-track {
        background: linear-gradient(90deg, #4a5568 0%, #2d3748 100%);
        border-color: #718096;
    }
    
    .slider-captcha-container p {
        color: #e2e8f0;
    }
    
    #captcha-status-text.pending {
        background: #4a5568;
        color: #cbd5e0;
    }
}




/* === 智能栈导航 - 与GeneratePress主题深度集成 === */
/* 使用主题的CSS变量，确保一致性和最高优先级 */
/* === 智能栈导航专用样式 === */
/* 针对实际HTML结构：.inside-right-sidebar > .smart-stack-sidebar.widget */

#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    
    /* 布局样式 */
    background: #f8f9fa !important;
    border: 0px solid #e1e5e9 !important;
    
    border-radius: 10px !important;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.07) !important;
    
    /* 间距 */
    padding: 16px 14px !important;
    margin: 0 0 35px 0 !important;
    
    /* 清除可能的继承样式 */
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

/* 2. 标题样式 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .widget-title {
    color: #1e73be !important;
    font-size: 1.4em !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 16px 0 !important; /* 减少标题底部间距 */
    padding: 0 0 12px 0 !important; /* 减少标题底部内边距 */
    border-bottom: 2px solid rgba(30, 115, 190, 0.2) !important;
    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* 3. 列表容器 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 4. 列表项基础样式 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list li {
    margin: 0 0 8px 0 !important; /* 减少列表项之间的垂直间距 */
    padding: 10px 14px !important; /* 减少列表项内边距 */
    background: #ffffff !important;
    border-radius: 8px !important;
    border: 1px solid #eef1f5 !important;
    transition: all 0.25s ease !important;
    
    /* 确保列表项标记被移除 */
    list-style: none !important;
    list-style-type: none !important;
    list-style-image: none !important;
}

/* 5. 列表项悬停效果 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list li:hover {
    background: #eef5ff !important;
    border-color: #c3d9f3 !important;
    transform: translateX(5px) !important;
    box-shadow: 0 3px 10px rgba(30, 115, 190, 0.1) !important;
}

/* 6. 当前活动项 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list li.current-subcategory {
    background: #1e73be !important;
    border-color: #1a68ad !important;
}

/* 7. 链接基础样式 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list a {
    color: #333333 !important;
    text-decoration: none !important;
    display: block !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

/* 8. 链接悬停状态 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list a:hover {
    color: #1e73be !important;
}

/* 9. 当前活动项链接 */
#right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list li.current-subcategory a {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* 10. 响应式调整 */
@media (max-width: 992px) {
    #right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget {
        padding: 20px 15px !important; /* 保持紧凑的内边距 */
        margin: 0 0 30px 0 !important;
    }
}

@media (max-width: 768px) {
    #right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget {
        padding: 18px 14px !important; /* 移动端更紧凑 */
        border-left-width: 1px !important;
    }
    
    #right-sidebar .inside-right-sidebar .smart-stack-sidebar.widget .stack-subcategory-list li {
        padding: 8px 12px !important; /* 移动端列表项内边距更小 */
        margin: 0 0 6px 0 !important; /* 移动端列表项间距更小 */
    }
}


