/* ========== 全局容器 & 双栏布局 ========== */
.container-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

/* 左侧工具栏 */
.tools-column {
    flex: 7;
}

/* 右侧资讯栏 */
.news-column {
    flex: 3;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0f0f0;
    padding: 20px;
}

/* ========== 通用区块头部 ========== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.more-link {
    font-size: 14px;
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
}

.more-link:hover {
    color: #2563eb;
}

/* ========== 工具卡片网格 ========== */
.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

/* ========== 工具卡片样式 ========== */
.tool-card {
    background: var(--color-bg-container);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border-weak);
    padding: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-border-light);
}

/* 图标容器 */
.tool-icon-box {
    width: 44px;
    height: 44px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.tool-icon {
    font-size: 22px;
    color: #3b82f6;
}

/* 更多卡片特殊样式 */
.more-card {
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px dashed var(--color-border-light);
}

.more-icon-box {
    background-color: #f3f4f6;
    background: var(--color-bg-secondary);
}

.more-icon {
    color: #6b7280;
    color: var(--color-text-secondary);
}

/* 卡片文字 */
.tool-title {
    font-weight: 600;
    font-size: 15px;
    margin: 0 0 6px 0;
    color: #111827;
    color: var(--color-text-primary);
}

.tool-desc {
    font-size: 13px;
    color: #6b7280;
    color: var(--color-text-tertiary);
    margin: 0;
    line-height: 1.4;
}

/* ========== 响应式适配 ========== */
@media (max-width: 1023px) {
    .container-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    .tools-column, .news-column {
        flex: 1;
        width: 100%;
    }
}