/*
 * 新工具分类模块样式 - 防Bootstrap冲突版本
 * 参考截图样式：左侧垂直导航 + 右侧5个水平内容模块
 * Version: 1.0.3 - 优化模块居中布局和响应式设计
 */

/* ===== 模块容器样式 - 使用更具体的选择器避免冲突 ===== */
body .new-tools-module,
.page .new-tools-module,
.home .new-tools-module {
    margin: 1rem 0 0.5rem 0 !important;
    padding: 0 !important;
    width: 100% !important;
    background: transparent !important;
    position: relative !important;
    z-index: 1 !important;
    /* 确保底部没有多余空白 */
    overflow: hidden !important;
}

body .new-tools-container,
.page .new-tools-container,
.home .new-tools-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    /* 减少垂直间距 */
    min-height: auto !important;
}

/* 添加一个内部居中容器 */
body .new-tools-content-wrapper,
.page .new-tools-content-wrapper,
.home .new-tools-content-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    max-width: 1200px !important;
    /* 高度自适应 */
    height: auto !important;
    min-height: 0 !important;
}

/* ===== 模块标题样式 - 强制覆盖Bootstrap标题样式 ===== */
body .new-tools-header,
.page .new-tools-header,
.home .new-tools-header {
    text-align: center !important;
    margin-bottom: 1.5rem !important;
    padding: 0 !important;
}

body .new-tools-title,
.page .new-tools-title,
.home .new-tools-title {
    font-size: 2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 0 0 0.25rem 0 !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

body .new-tools-subtitle,
.page .new-tools-subtitle,
.home .new-tools-subtitle {
    font-size: 1rem !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* ===== 主要内容区域样式 - 强制使用Flexbox布局 ===== */
body .new-tools-content,
.page .new-tools-content,
.home .new-tools-content {
    display: flex !important;
    gap: 1.5rem !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    position: relative !important;
    z-index: 1 !important;
    justify-content: center !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    width: fit-content !important;
    /* 高度自适应内容 */
    height: auto !important;
    min-height: 0 !important;
}

/* ===== 左侧垂直导航样式 - 避免Bootstrap导航样式冲突 ===== */
body .new-tools-left-nav,
.page .new-tools-left-nav,
.home .new-tools-left-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
    width: 120px !important;
    flex-shrink: 0 !important;
    position: relative !important;
    z-index: 2 !important;
    justify-content: center !important;
    align-items: center !important;
    margin-right: 0.75rem !important;
}

body .new-tools-left-nav .nav-item,
.page .new-tools-left-nav .nav-item,
.home .new-tools-left-nav .nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 1rem 0.5rem !important;
    /* 背景色通过后台设置，这里不硬编码 */
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 2px solid transparent !important;
    margin: 0 !important;
    float: none !important;
    position: relative !important;
    text-decoration: none !important;
    list-style: none !important;
    /* 移除inherit，让内联样式生效 */
}

body .new-tools-left-nav .nav-item:hover,
.page .new-tools-left-nav .nav-item:hover,
.home .new-tools-left-nav .nav-item:hover {
    /* 悬停背景色通过后台设置，这里不硬编码 */
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    text-decoration: none !important;
    /* 移除inherit，让悬停样式生效 */
}

body .new-tools-left-nav .nav-item.active,
.page .new-tools-left-nav .nav-item.active,
.home .new-tools-left-nav .nav-item.active {
    /* 活跃状态背景色通过后台设置，这里不硬编码 */
    color: white !important;
    border-color: inherit !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    /* 移除inherit，让活跃状态样式生效 */
}

body .new-tools-left-nav .nav-icon,
.page .new-tools-left-nav .nav-icon,
.home .new-tools-left-nav .nav-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* 图标背景色通过后台设置，这里不硬编码 */
    border-radius: 50% !important;
    position: relative !important;
    z-index: 1 !important;
    /* 确保图标内容正确显示 */
    color: inherit !important;
    font-family: inherit !important;
    line-height: 1 !important;
    text-align: center !important;
    /* FontAwesome图标样式 */
    font-size: 1.5rem !important;
    min-width: 40px !important;
    min-height: 40px !important;
    /* 确保FontAwesome图标正确显示 */
    font-family: 'FontAwesome' !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    /* 强制应用FontAwesome字体 */
    font-style: normal !important;
    font-weight: normal !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

body .new-tools-left-nav .nav-item.active .nav-icon,
.page .new-tools-left-nav .nav-item.active .nav-icon,
.home .new-tools-left-nav .nav-item.active .nav-icon {
    /* 活跃状态图标背景色通过后台设置，这里不硬编码 */
    color: white !important;
    font-weight: 600 !important;
}

/* 活跃状态图标样式 */
body .new-tools-left-nav .nav-item.active .nav-icon i,
.page .new-tools-left-nav .nav-item.active .nav-icon i,
.home .new-tools-left-nav .nav-item.active .nav-icon i {
    color: white !important;
    font-size: 1.5rem !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

body .new-tools-left-nav .nav-text,
.page .new-tools-left-nav .nav-text,
.home .new-tools-left-nav .nav-text {
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* 非活跃状态图标样式 */
body .new-tools-left-nav .nav-item:not(.active) .nav-icon,
.page .new-tools-left-nav .nav-item:not(.active) .nav-icon,
.home .new-tools-left-nav .nav-item:not(.active) .nav-icon {
    color: #333 !important;
    font-weight: 500 !important;
}

/* 非活跃状态图标样式 */
body .new-tools-left-nav .nav-item:not(.active) .nav-icon i,
.page .new-tools-left-nav .nav-item:not(.active) .nav-icon i,
.home .new-tools-left-nav .nav-item:not(.active) .nav-icon i {
    color: #333 !important;
    font-size: 1.5rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* 图标悬停效果 */
body .new-tools-left-nav .nav-item:hover .nav-icon i,
.page .new-tools-left-nav .nav-item:hover .nav-icon i,
.home .new-tools-left-nav .nav-item:hover .nav-icon i {
    transform: scale(1.1) !important;
    transition: transform 0.2s ease !important;
}

/* ===== 右侧内容模块样式 - 强制覆盖Bootstrap样式 ===== */
body .new-tools-right-modules,
.page .new-tools-right-modules,
.home .new-tools-right-modules {
    flex: 1 !important;
    position: relative !important;
    z-index: 1 !important;
    max-width: 100% !important;
    /* 确保没有多余的底部空白 */
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    /* 高度自适应内容 */
    height: auto !important;
    min-height: 0 !important;
}

/* 模块容器大小设置 */
body .new-tools-right-modules.modules-3,
.page .new-tools-right-modules.modules-3,
.home .new-tools-right-modules.modules-3 {
    width: 600px !important;
    height: auto !important;
    min-height: 160px !important;
}

body .new-tools-right-modules.modules-4,
.page .new-tools-right-modules.modules-4,
.home .new-tools-right-modules.modules-4 {
    width: 800px !important;
    height: auto !important;
    min-height: 160px !important;
}

body .new-tools-right-modules.modules-5,
.page .new-tools-right-modules.modules-5,
.home .new-tools-right-modules.modules-5 {
    width: 1000px !important;
    height: auto !important;
    min-height: 160px !important;
}

/* 内容组样式 */
body .new-tools-right-modules .module-content-group,
.page .new-tools-right-modules .module-content-group,
.home .new-tools-right-modules .module-content-group {
    display: none !important;
    gap: 1rem !important;
    width: 100% !important;
    transition: all 0.5s ease !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
}

body .new-tools-right-modules .module-content-group:not(.active),
.page .new-tools-right-modules .module-content-group:not(.active),
.home .new-tools-right-modules .module-content-group:not(.active) {
    display: none !important;
}


body .new-tools-right-modules .right-module,
.page .new-tools-right-modules .right-module,
.home .new-tools-right-modules .right-module {
    flex: 0 0 auto !important;
    width: 180px !important;
    height: auto !important;
    min-height: 160px !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: visible !important;
    margin: 0 !important;
    float: none !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
    list-style: none !important;
}

body .new-tools-right-modules .right-module:hover,
.page .new-tools-right-modules .right-module:hover,
.home .new-tools-right-modules .right-module:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

/* 可点击模块样式 */
body .new-tools-right-modules .clickable-module,
.page .new-tools-right-modules .clickable-module,
.home .new-tools-right-modules .clickable-module {
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

body .new-tools-right-modules .clickable-module:hover,
.page .new-tools-right-modules .clickable-module:hover,
.home .new-tools-right-modules .clickable-module:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    /* 移除边框颜色变化，保持简洁 */
    transition: all 0.3s ease !important;
}

body .new-tools-right-modules .clickable-module:active,
.page .new-tools-right-modules .clickable-module:active,
.home .new-tools-right-modules .clickable-module:active {
    transform: translateY(-2px) scale(0.98) !important;
    /* 点击时的视觉反馈 */
    transition: all 0.1s ease !important;
}

/* 确保模块链接正常工作 */
body .new-tools-right-modules .clickable-module[data-link],
.page .new-tools-right-modules .clickable-module[data-link],
.home .new-tools-right-modules .clickable-module[data-link] {
    cursor: pointer !important;
    /* 移除任何可能影响链接的样式 */
    text-decoration: none !important;
    outline: none !important;
}

/* 模块1-4的通用样式 - 使用CSS变量避免冲突 */
body .new-tools-right-modules .module-1,
.page .new-tools-right-modules .module-1,
.home .new-tools-right-modules .module-1,
body .new-tools-right-modules .module-2,
.page .new-tools-right-modules .module-2,
.home .new-tools-right-modules .module-2,
body .new-tools-right-modules .module-3,
.page .new-tools-right-modules .module-3,
.home .new-tools-right-modules .module-3,
body .new-tools-right-modules .module-4,
.page .new-tools-right-modules .module-4,
.home .new-tools-right-modules .module-4 {
    /* 背景色通过后台设置，这里不硬编码 */
    color: #1976d2 !important;
}


/* 模块内容样式 - 强制覆盖Bootstrap样式 */
body .new-tools-right-modules .module-content,
.page .new-tools-right-modules .module-content,
.home .new-tools-right-modules .module-content {
    height: auto !important;
    min-height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    z-index: 2 !important;
    /* 确保内容布局不受链接指示器影响 */
    width: 100% !important;
    box-sizing: border-box !important;
}

body .new-tools-right-modules .module-title,
.page .new-tools-right-modules .module-title,
.home .new-tools-right-modules .module-title {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    z-index: 2 !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* 模块副标题样式 */
body .new-tools-right-modules .module-subtitle,
.page .new-tools-right-modules .module-subtitle,
.home .new-tools-right-modules .module-subtitle {
    font-size: 0.85rem !important;
    color: #666 !important;
    margin: 0.3rem 0 0.8rem 0 !important;
    line-height: 1.4 !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
    z-index: 2 !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

body .new-tools-right-modules .module-illustration,
.page .new-tools-right-modules .module-illustration,
.home .new-tools-right-modules .module-illustration {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
    position: relative !important;
    z-index: 1 !important;
}

body .new-tools-right-modules .illustration-placeholder,
.page .new-tools-right-modules .illustration-placeholder,
.home .new-tools-right-modules .illustration-placeholder {
    font-size: 3rem !important;
    opacity: 0.8 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
}

/* 模块图片样式 */
body .new-tools-right-modules .module-image,
.page .new-tools-right-modules .module-image,
.home .new-tools-right-modules .module-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

body .new-tools-right-modules .module-image:hover,
.page .new-tools-right-modules .module-image:hover,
.home .new-tools-right-modules .module-image:hover {
    transform: scale(1.02) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12) !important;
}

/* 美化卡片样式 - 强制覆盖所有其他样式 */
body .new-tools-right-modules .right-module,
.page .new-tools-right-modules .right-module,
.home .new-tools-right-modules .right-module {
    /* 背景色通过后台设置，这里不硬编码 */
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-radius: 16px !important;
    padding: 1.5rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* 强制覆盖所有可能的背景色设置 */
body .new-tools-right-modules .right-module[style*="background"],
.page .new-tools-right-modules .right-module[style*="background"],
.home .new-tools-right-modules .right-module[style*="background"] {
    background: inherit !important;
}

/* 确保内联样式的背景色不被覆盖 */
body .new-tools-right-modules .right-module[style*="background"],
.page .new-tools-right-modules .right-module[style*="background"],
.home .new-tools-right-modules .right-module[style*="background"] {
    background: var(--inline-bg-color, inherit) !important;
}

/* 最高优先级：确保CSS变量背景色生效 */
body .new-tools-right-modules .right-module[style*="--inline-bg-color"],
.page .new-tools-right-modules .right-module[style*="--inline-bg-color"],
.home .new-tools-right-modules .right-module[style*="--inline-bg-color"] {
    background: var(--inline-bg-color) !important;
}

/* 左侧导航CSS变量支持 */
body .new-tools-left-nav .nav-item[style*="--nav-bg-color"],
.page .new-tools-left-nav .nav-item[style*="--nav-bg-color"],
.home .new-tools-left-nav .nav-item[style*="--nav-bg-color"] {
    background-color: var(--nav-bg-color) !important;
}

body .new-tools-left-nav .nav-icon[style*="--icon-bg-color"],
.page .new-tools-left-nav .nav-icon[style*="--icon-bg-color"],
.home .new-tools-left-nav .nav-icon[style*="--icon-bg-color"] {
    background-color: var(--icon-bg-color) !important;
}

body .new-tools-right-modules .right-module::before,
.page .new-tools-right-modules .right-module::before,
.home .new-tools-right-modules .right-module::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: var(--top-bar-color, #667eea) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

body .new-tools-right-modules .right-module:hover,
.page .new-tools-right-modules .right-module:hover,
.home .new-tools-right-modules .right-module:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    border-color: rgba(102, 126, 234, 0.2) !important;
}

body .new-tools-right-modules .right-module:hover::before,
.page .new-tools-right-modules .right-module:hover::before,
.home .new-tools-right-modules .right-module:hover::before {
    opacity: 1 !important;
}

/* 模块内容美化 */
body .new-tools-right-modules .module-content,
.page .new-tools-right-modules .module-content,
.home .new-tools-right-modules .module-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    gap: 0.8rem !important;
}

/* 标题样式美化 */
body .new-tools-right-modules .module-title,
.page .new-tools-right-modules .module-title,
.home .new-tools-right-modules .module-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1a202c !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.01em !important;
}

/* 副标题样式美化 */
body .new-tools-right-modules .module-subtitle,
.page .new-tools-right-modules .module-subtitle,
.home .new-tools-right-modules .module-subtitle {
    font-size: 0.9rem !important;
    color: #4a5568 !important;
    margin: 0 !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
    opacity: 0.9 !important;
    flex-grow: 1 !important;
}

/* 插图容器美化 */
body .new-tools-right-modules .module-illustration,
.page .new-tools-right-modules .module-illustration,
.home .new-tools-right-modules .module-illustration {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex: 1 !important;
    min-height: 120px !important;
    position: relative !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    /* 插图背景色通过后台设置，这里不硬编码 */
}

/* 默认图标美化 */
body .new-tools-right-modules .illustration-placeholder,
.page .new-tools-right-modules .illustration-placeholder,
.home .new-tools-right-modules .illustration-placeholder {
    font-size: 2.5rem !important;
    opacity: 0.7 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    text-decoration: none !important;
    filter: grayscale(0.3) !important;
}



/* 特殊模块的额外样式 - 强制覆盖Bootstrap样式 */
body .new-tools-right-modules .special-header,
.page .new-tools-right-modules .special-header,
.home .new-tools-right-modules .special-header {
    margin-bottom: 0.5rem !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
}

body .new-tools-right-modules .special-subtitle,
.page .new-tools-right-modules .special-subtitle,
.home .new-tools-right-modules .special-subtitle {
    font-size: 0.875rem !important;
    color: #ffd54f !important;
    font-weight: 500 !important;
    background: rgba(255, 213, 79, 0.1) !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 6px !important;
    display: inline-block !important;
    margin: 0 !important;
    border: none !important;
    text-decoration: none !important;
}

/* 特殊模块的CTA按钮样式 - 强制覆盖Bootstrap样式 */
body .new-tools-right-modules .special-cta,
.page .new-tools-right-modules .special-cta,
.home .new-tools-right-modules .special-cta {
    margin-top: auto !important;
    text-align: right !important;
    position: relative !important;
    z-index: 2 !important;
}

body .new-tools-right-modules .cta-button,
.page .new-tools-right-modules .cta-button,
.home .new-tools-right-modules .cta-button {
    color: #1976d2 !important;
    text-decoration: none !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

body .new-tools-right-modules .cta-button:hover,
.page .new-tools-right-modules .cta-button:hover,
.home .new-tools-right-modules .cta-button:hover {
    background: white !important;
    color: #1565c0 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    text-decoration: none !important;
}

/* ===== 响应式设计 - 强制覆盖Bootstrap样式 ===== */
@media (max-width: 1024px) {
    body .new-tools-content,
    .page .new-tools-content,
    .home .new-tools-content {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    body .new-tools-left-nav,
    .page .new-tools-left-nav,
    .home .new-tools-left-nav {
        flex-direction: row !important;
        justify-content: center !important;
        min-width: auto !important;
    }
    
    body .new-tools-left-nav .nav-item,
    .page .new-tools-left-nav .nav-item,
    .home .new-tools-left-nav .nav-item {
        min-width: 100px !important;
    }
    
    /* 平板端的模块布局调整 - 保持居中 */
    body .new-tools-right-modules.modules-3,
    .page .new-tools-right-modules.modules-3,
    .home .new-tools-right-modules.modules-3 {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: 1fr !important;
        max-width: 600px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-4,
    .page .new-tools-right-modules.modules-4,
    .home .new-tools-right-modules.modules-4 {
        grid-template-columns: repeat(4, 1fr) !important;
        grid-template-rows: 1fr !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-5,
    .page .new-tools-right-modules.modules-5,
    .home .new-tools-right-modules.modules-5 {
        grid-template-columns: repeat(5, 1fr) !important;
        grid-template-rows: 1fr !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-5 .module-5,
    .page .new-tools-right-modules.modules-5 .module-5,
    .home .new-tools-right-modules.modules-5 .module-5 {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 768px) {
    body .new-tools-container,
    .page .new-tools-container,
    .home .new-tools-container {
        padding: 0 15px !important;
    }
    
    body .new-tools-title,
    .page .new-tools-title,
    .home .new-tools-title {
        font-size: 1.5rem !important;
    }
    
    body .new-tools-subtitle,
    .page .new-tools-subtitle,
    .home .new-tools-subtitle {
        font-size: 0.875rem !important;
    }
    
    body .new-tools-left-nav,
    .page .new-tools-left-nav,
    .home .new-tools-left-nav {
        gap: 0.5rem !important;
    }
    
    body .new-tools-left-nav .nav-item,
    .page .new-tools-left-nav .nav-item,
    .home .new-tools-left-nav .nav-item {
        padding: 0.75rem 0.5rem !important;
        min-width: 80px !important;
    }
    
    body .new-tools-left-nav .nav-icon,
    .page .new-tools-left-nav .nav-icon,
    .home .new-tools-left-nav .nav-icon {
        font-size: 1.25rem !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
    }
    
    /* 平板端图标尺寸 */
    body .new-tools-left-nav .nav-icon i,
    .page .new-tools-left-nav .nav-icon i,
    .home .new-tools-left-nav .nav-icon i {
        font-size: 1.25rem !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    body .new-tools-left-nav .nav-text,
    .page .new-tools-left-nav .nav-text,
    .home .new-tools-left-nav .nav-text {
        font-size: 0.75rem !important;
    }
    
    /* 移动端的模块布局调整 - 保持居中 */
    body .new-tools-right-modules.modules-3,
    .page .new-tools-right-modules.modules-3,
    .home .new-tools-right-modules.modules-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 0.5rem !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-4,
    .page .new-tools-right-modules.modules-4,
    .home .new-tools-right-modules.modules-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(2, auto) !important;
        gap: 0.5rem !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-5,
    .page .new-tools-right-modules.modules-5,
    .home .new-tools-right-modules.modules-5 {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-template-rows: repeat(3, auto) !important;
        gap: 0.5rem !important;
        max-width: 400px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-5 .module-5,
    .page .new-tools-right-modules.modules-5 .module-5,
    .home .new-tools-right-modules.modules-5 .module-5 {
        grid-column: 1 / 3 !important;
        grid-row: 3 / 4 !important;
    }
    
    body .new-tools-right-modules .right-module,
    .page .new-tools-right-modules .right-module,
    .home .new-tools-right-modules .right-module {
        height: auto !important;
        min-height: 120px !important;
        padding: 1rem !important;
    }
    
    body .new-tools-right-modules .module-title,
    .page .new-tools-right-modules .module-title,
    .home .new-tools-right-modules .module-title {
        font-size: 1rem !important;
    }
    
    body .new-tools-right-modules .illustration-placeholder,
    .page .new-tools-right-modules .illustration-placeholder,
    .home .new-tools-right-modules .illustration-placeholder {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {
    body .new-tools-content,
    .page .new-tools-content,
    .home .new-tools-content {
        gap: 0.75rem !important;
    }
    
    body .new-tools-left-nav,
    .page .new-tools-left-nav,
    .home .new-tools-left-nav {
        flex-direction: column !important;
        align-items: center !important;
    }
    
    body .new-tools-left-nav .nav-item,
    .page .new-tools-left-nav .nav-item,
    .home .new-tools-left-nav .nav-item {
        min-width: 120px !important;
    }
    
    body .new-tools-left-nav .nav-icon,
    .page .new-tools-left-nav .nav-icon,
    .home .new-tools-left-nav .nav-icon {
        font-size: 1rem !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        min-height: 28px !important;
    }
    
    /* 移动端图标尺寸 */
    body .new-tools-left-nav .nav-icon i,
    .page .new-tools-left-nav .nav-icon i,
    .home .new-tools-left-nav .nav-icon i {
        font-size: 1rem !important;
        color: white !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* 超小屏幕的模块布局调整 - 所有模块单列显示并居中 */
    body .new-tools-right-modules.modules-3,
    .page .new-tools-right-modules.modules-3,
    .home .new-tools-right-modules.modules-3,
    body .new-tools-right-modules.modules-4,
    .page .new-tools-right-modules.modules-4,
    .home .new-tools-right-modules.modules-4,
    body .new-tools-right-modules.modules-5,
    .page .new-tools-right-modules.modules-5,
    .home .new-tools-right-modules.modules-5 {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 0.5rem !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
    
    body .new-tools-right-modules.modules-5 .module-5,
    .page .new-tools-right-modules.modules-5 .module-5,
    .home .new-tools-right-modules.modules-5 .module-5 {
        grid-column: 1 / 2 !important;
        grid-row: auto !important;
    }
    
    body .new-tools-right-modules .right-module,
    .page .new-tools-right-modules .right-module,
    .home .new-tools-right-modules .right-module {
        height: auto !important;
        min-height: 100px !important;
    }
    
    body .new-tools-right-modules .module-title,
    .page .new-tools-right-modules .module-title,
    .home .new-tools-right-modules .module-title {
        font-size: 0.875rem !important;
    }
    
    body .new-tools-right-modules .illustration-placeholder,
    .page .new-tools-right-modules .illustration-placeholder,
    .home .new-tools-right-modules .illustration-placeholder {
        font-size: 1.5rem !important;
    }
}

/* ===== 动画效果 - 强制覆盖Bootstrap样式 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body .new-tools-module,
.page .new-tools-module,
.home .new-tools-module {
    animation: fadeInUp 0.6s ease-out !important;
}

body .new-tools-left-nav .nav-item,
.page .new-tools-left-nav .nav-item,
.home .new-tools-left-nav .nav-item,
body .new-tools-right-modules .right-module,
.page .new-tools-right-modules .right-module,
.home .new-tools-right-modules .right-module {
    animation: fadeInUp 0.6s ease-out !important;
}

body .new-tools-left-nav .nav-item:nth-child(1),
.page .new-tools-left-nav .nav-item:nth-child(1),
.home .new-tools-left-nav .nav-item:nth-child(1) { 
    animation-delay: 0.1s !important; 
}

body .new-tools-left-nav .nav-item:nth-child(2),
.page .new-tools-left-nav .nav-item:nth-child(2),
.home .new-tools-left-nav .nav-item:nth-child(2) { 
    animation-delay: 0.2s !important; 
}

body .new-tools-right-modules .right-module:nth-child(1),
.page .new-tools-right-modules .right-module:nth-child(1),
.home .new-tools-right-modules .right-module:nth-child(1) { 
    animation-delay: 0.4s !important; 
}

body .new-tools-right-modules .right-module:nth-child(2),
.page .new-tools-right-modules .right-module:nth-child(2),
.home .new-tools-right-modules .right-module:nth-child(2) { 
    animation-delay: 0.5s !important; 
}

body .new-tools-right-modules .right-module:nth-child(3),
.page .new-tools-right-modules .right-module:nth-child(3),
.home .new-tools-right-modules .right-module:nth-child(3) { 
    animation-delay: 0.6s !important; 
}

body .new-tools-right-modules .right-module:nth-child(4),
.page .new-tools-right-modules .right-module:nth-child(4),
.home .new-tools-right-modules .right-module:nth-child(4) { 
    animation-delay: 0.7s !important; 
}

body .new-tools-right-modules .right-module:nth-child(5),
.page .new-tools-right-modules .right-module:nth-child(5),
.home .new-tools-right-modules .right-module:nth-child(5) { 
    animation-delay: 0.8s !important; 
}

/* ===== Bootstrap冲突防护 - 确保样式优先级 ===== */
/* 防止Bootstrap的grid系统干扰 */
body .new-tools-content .row,
.page .new-tools-content .row,
.home .new-tools-content .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 2rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 防止Bootstrap的列样式干扰 */
body .new-tools-content [class*="col-"],
.page .new-tools-content [class*="col-"],
.home .new-tools-content [class*="col-"] {
    flex: unset !important;
    max-width: unset !important;
    width: unset !important;
    padding: unset !important;
    margin: unset !important;
    float: unset !important;
    position: relative !important;
    display: block !important;
}

/* 防止Bootstrap的按钮样式干扰 */
body .new-tools-module .btn,
.page .new-tools-module .btn,
.home .new-tools-module .btn {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    text-align: inherit !important;
    text-decoration: inherit !important;
    color: inherit !important;
}

/* 防止Bootstrap的卡片样式干扰 */
body .new-tools-module .card,
.page .new-tools-module .card,
.home .new-tools-module .card {
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 防止Bootstrap的导航样式干扰 */
body .new-tools-module .nav,
.page .new-tools-module .nav,
.home .new-tools-module .nav {
    background: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 防止Bootstrap的列表样式干扰 */
body .new-tools-module ul,
.page .new-tools-module ul,
.home .new-tools-module ul,
body .new-tools-module ol,
.page .new-tools-module ol,
.home .new-tools-module ol {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 防止Bootstrap的链接样式干扰 */
body .new-tools-module a,
.page .new-tools-module a,
.home .new-tools-module a {
    text-decoration: none !important;
    color: inherit !important;
    background: none !important;
    border: none !important;
}

/* 防止Bootstrap的标题样式干扰 */
body .new-tools-module h1,
.page .new-tools-module h1,
.home .new-tools-module h1,
body .new-tools-module h2,
.page .new-tools-module h2,
.home .new-tools-module h2,
body .new-tools-module h3,
.page .new-tools-module h3,
.home .new-tools-module h3,
body .new-tools-module h4,
.page .new-tools-module h4,
.home .new-tools-module h4,
body .new-tools-module h5,
.page .new-tools-module h5,
.home .new-tools-module h5,
body .new-tools-module h6,
.page .new-tools-module h6,
.home .new-tools-module h6 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-family: inherit !important;
    line-height: inherit !important;
}

/* ===== AI项目模块特殊样式 ===== */
/* AI项目分类的模块尺寸与AI快讯一致 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module {
    width: 180px !important;
    height: auto !important;
    min-height: 160px !important;
    padding: 1.5rem !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    position: relative !important;
    background: #f5f5f5 !important;
    flex: 0 0 auto !important;
    transition: all 0.3s ease !important;
}

/* 隐藏AI项目模块的标题和副标题 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .module-title,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .module-title,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .module-title,
body .new-tools-right-modules .module-content-group[data-category="projects"] .module-subtitle,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .module-subtitle,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .module-subtitle {
    display: none !important;
}

/* AI项目模块的插图占满整个容器 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .module-illustration,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .module-illustration,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .module-illustration {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* AI项目模块的图片样式 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .module-image,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .module-image,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .module-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
}

/* AI项目模块的默认图标样式 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder {
    font-size: 3rem !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 16px !important;
    transition: all 0.3s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* 悬停时从图片内弹出的标题覆盖层 - 毛玻璃效果版本 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before {
    content: attr(data-title) !important;
    position: absolute !important;
    bottom: 10px !important;
    left: 10px !important;
    right: 10px !important;
    transform: translateY(100%) !important;
    /* 毛玻璃背景效果 - 深色版本 */
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    text-align: left !important;
    word-wrap: break-word !important;
    overflow: visible !important;
    /* 移除行数限制，让标题自然换行 */
    white-space: normal !important;
    box-sizing: border-box !important;
    /* 确保标题能够完整显示 */
    max-width: none !important;
    min-height: auto !important;
    /* 毛玻璃效果增强 */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
    /* 降级方案：不支持backdrop-filter时的备用背景 - 深色版本 */
    @supports not (backdrop-filter: blur(10px)) {
        background: rgba(0, 0, 0, 0.8) !important;
    }
}

/* 悬停时显示标题覆盖层 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover::before,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover::before,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover::before {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    /* 悬停时毛玻璃效果增强 - 深色版本 */
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
}

/* 移除品牌Logo装饰，只保留标题 */

/* AI项目模块悬停效果 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

/* 隐藏链接指示器图标，让整个模块可点击 */
body .new-tools-right-modules .module-link-indicator,
.page .new-tools-right-modules .module-link-indicator,
.home .new-tools-right-modules .module-link-indicator {
    display: none !important;
}

/* 确保可点击模块的样式 */
body .new-tools-right-modules .clickable-module,
.page .new-tools-right-modules .clickable-module,
.home .new-tools-right-modules .clickable-module {
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    /* 确保整个模块可点击 */
    width: 180px !important;
    height: auto !important;
    min-height: 160px !important;
    /* 移除任何可能影响尺寸的额外样式 */
    box-sizing: border-box !important;
}

/* AI项目模块悬停时图片效果 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .module-image,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .module-image,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .module-image {
    transform: scale(1.05) !important;
    filter: brightness(0.8) !important;
}

/* AI项目模块悬停时默认图标效果 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .illustration-placeholder,
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .illustration-placeholder,
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:hover .illustration-placeholder {
    transform: scale(1.1) !important;
    filter: brightness(0.9) !important;
}

/* 确保AI项目模块与AI快讯的间距一致 */
body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
.page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
.home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child) {
    margin-right: 1rem !important;
}

/* 确保AI项目模块在一行显示，与AI快讯布局一致 */
body .new-tools-right-modules .module-content-group[data-category="projects"],
.page .new-tools-right-modules .module-content-group[data-category="projects"],
.home .new-tools-right-modules .module-content-group[data-category="projects"] {
    display: none !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
}

/* AI快讯内容组样式 - flex布局，所有模块在同一行 */
body .new-tools-right-modules .module-content-group[data-category="news"],
.page .new-tools-right-modules .module-content-group[data-category="news"],
.home .new-tools-right-modules .module-content-group[data-category="news"] {
    display: none !important;
    flex-wrap: nowrap !important;
    gap: 0.75rem !important;
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
}

/* AI快讯内容组活跃时显示为flex */
body .new-tools-right-modules .module-content-group[data-category="news"].active,
.page .new-tools-right-modules .module-content-group[data-category="news"].active,
.home .new-tools-right-modules .module-content-group[data-category="news"].active {
    display: flex !important;
}

/* AI项目内容组活跃时显示为flex */
body .new-tools-right-modules .module-content-group[data-category="projects"].active,
.page .new-tools-right-modules .module-content-group[data-category="projects"].active,
.home .new-tools-right-modules .module-content-group[data-category="projects"].active {
    display: flex !important;
}

/* AI快讯第5个模块样式 */
body .new-tools-right-modules .module-content-group[data-category="news"] .module-5,
.page .new-tools-right-modules .module-content-group[data-category="news"] .module-5,
.home .new-tools-right-modules .module-content-group[data-category="news"] .module-5 {
    /* 第5个模块与其他模块同样大小，在同一行 */
}

/* AI项目模块响应式设计 - 与AI快讯保持一致 */
@media (max-width: 1024px) {
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module {
        width: 160px !important;
        height: auto !important;
        min-height: 140px !important;
        padding: 1.25rem !important;
    }
}

@media (max-width: 768px) {
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module {
        width: 140px !important;
        height: auto !important;
        min-height: 120px !important;
        padding: 1rem !important;
    }
    
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before {
        font-size: 11px !important;
        padding: 6px 8px !important;
        bottom: 8px !important;
        left: 8px !important;
        right: 8px !important;
        /* 平板端毛玻璃效果优化 - 深色版本 */
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        background: rgba(0, 0, 0, 0.65) !important;
    }
    
    /* 平板端优化间距 */
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child) {
        margin-right: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module {
        width: 120px !important;
        height: auto !important;
        min-height: 100px !important;
        padding: 0.75rem !important;
    }
    
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module::before {
        font-size: 10px !important;
        padding: 4px 6px !important;
        bottom: 6px !important;
        left: 6px !important;
        right: 6px !important;
        /* 移动端毛玻璃效果优化 - 深色版本 */
        backdrop-filter: blur(6px) !important;
        -webkit-backdrop-filter: blur(6px) !important;
        background: rgba(0, 0, 0, 0.7) !important;
    }
    
    /* 超小屏幕端优化间距和图标 */
    body .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child),
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .right-module:not(:last-child) {
        margin-right: 0.5rem !important;
    }
    
    body .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder,
    .page .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder,
    .home .new-tools-right-modules .module-content-group[data-category="projects"] .illustration-placeholder {
        font-size: 2rem !important;
    }
}

 