/*
Theme Name: ToThinkAI Studio Pro
Theme URI: https://tothinkai.com
Author: ToThinkAI
Description: 苹果极简浅灰风（Light Studio）高质感、零内联样式的现代化 WordPress 主题
Version: 10.0.0
*/

:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --border-color: #e2e8f0;
    --border-hover: #cbd5e1;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --accent-color: #0f172a;
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    --hero-gradient: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

/* 核心布局 */
.studio-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.studio-main-content {
    flex: 1;
    min-width: 0;
}

/* 面包屑导航 */
.studio-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.studio-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.studio-breadcrumb .delimiter {
    margin: 0 6px;
    color: var(--text-light);
}
.studio-breadcrumb .current {
    color: var(--text-main);
    font-weight: 600;
}

/* Hero 顶部通栏区 */
.studio-hero-dark {
    background: var(--hero-gradient);
    padding: 50px 0 40px;
    color: #ffffff;
    margin-bottom: 30px;
}
.studio-hero-light {
    background: var(--card-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}
.studio-hero-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    color: inherit;
}
.studio-hero-desc {
    font-size: 14px;
    color: var(--text-light);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
}

/* 胶囊导航标签栏 */
.studio-pills-bar {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    align-items: center;
}
.studio-pill {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    transition: all 0.2s ease;
}
.studio-pill:hover, .studio-pill.active {
    background: #6366f1;
    color: #ffffff;
}

/* 基础卡片样式 */
.studio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}
.studio-card-gradient {
    background: var(--card-gradient);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
}

/* 搜索框组件 */
.studio-search-box {
    width: 100%;
    max-width: 320px;
    position: relative;
}
.studio-search-input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 13px;
    outline: none;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}
.studio-search-input-light {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-size: 13px;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}
.studio-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

/* 按钮样式 */
.studio-btn-dark {
    background: var(--text-main);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    border: none;
    cursor: pointer;
}
.studio-btn-light {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.studio-btn-light:hover {
    border-color: var(--border-hover);
    color: var(--text-main);
}

/* 博客文章列表流 (Row List) */
.studio-article-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}
.studio-article-row:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.studio-article-row-content {
    flex-grow: 1;
    min-width: 0;
}
.studio-article-row-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.studio-article-row-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px 0;
}
.studio-article-row-title a {
    color: inherit;
    text-decoration: none;
}
.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.studio-article-row-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

/* 正文与元数据栏 */
.studio-meta-bar {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.studio-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .studio-layout-container {
        flex-direction: column;
    }
    .studio-portal-grid {
        grid-template-columns: 1fr !important;
    }
    .studio-article-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .studio-article-row-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px dashed var(--border-color);
        padding-top: 10px;
    }
}

/* ==========================================================================
   ToThinkAI Studio - 全局侧边栏专用样式 (quanju.css)
   ========================================================================== */

/* 1. 侧边栏外层框架 */
.studio-sidebar {
    width: 300px;
    flex-shrink: 0;
}

/* 2. 推荐编辑名片卡片 */
.studio-sidebar-author-card {
    padding: 20px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.studio-author-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 12px;
}

.studio-author-info-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.studio-author-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.studio-author-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 2px 0;
}

.studio-author-title {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.studio-author-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    word-break: break-all;
}

/* 3. 侧边栏通用区块与标题样式 */
.studio-sidebar-widget {
    padding: 20px;
    margin-bottom: 24px;
}

.studio-sidebar-title-tools {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--text-main);
}

.studio-sidebar-title-sop {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--text-muted);
}

.studio-sidebar-title-tags {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

/* 4. 榜单列表公用样式 */
.studio-ranking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.studio-ranking-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.studio-ranking-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-grow: 1;
}

.studio-ranking-num-top {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-main);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-normal {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-sop-top {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-num-sop-normal {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-light);
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

.studio-ranking-link {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-ranking-link-grow {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

/* 5. 侧边栏胶囊与标签云 */
.studio-sidebar-pill {
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    color: var(--text-main);
    padding: 1px 6px;
    font-size: 10px;
    border-radius: 8px;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-block;
}

.studio-tags-cloud-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.studio-tag-cloud-item {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
}/*
Theme Name: ToThinkAI Light Studio Pro
Theme URI: https://tothinkai.com
Author: ToThinkAI
Description: 苹果极简浅灰风（Light Studio）高质感、零内联样式的现代化 WordPress 主题
Version: 11.0.0
*/

:root {
    /* 苹果 Light Studio 极简浅灰高级色彩系统 */
    --bg-main: #f8fafc;            /* 全局底色：极浅苹果科技灰 */
    --bg-card: #ffffff;            /* 卡片底色：纯净亮白 */
    --border-color: #e2e8f0;       /* 边框标准线：细腻浅灰 */
    --border-hover: #cbd5e1;       /* 边框悬停：深一格质感灰 */
    --text-main: #0f172a;          /* 主标题/重要文字：苹果深度碳黑 */
    --text-muted: #64748b;         /* 副标题/正文次要：优雅高档中灰 */
    --text-light: #94a3b8;         /* 极淡提示/时间：浅灰 */
    
    /* 品牌及交互色：苹果科技黑灰与克制微蓝 */
    --accent-color: #0f172a;       
    --accent-blue: #0284c7;        /* 极简风点缀蓝（冷色调） */
    
    /* 阴影：苹果柔和漫反射效果，告别厚重阴影 */
    --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.03);
    --card-shadow-hover: 0 10px 30px -4px rgba(15, 23, 42, 0.06);
    
    /* 渐变：纯净无瑕的极浅灰白渐变 */
    --hero-gradient: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    --card-gradient: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

/* 核心布局 */
.studio-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.studio-main-content {
    flex: 1;
    min-width: 0;
}

/* 面包屑导航 */
.studio-breadcrumb {
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.studio-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}
.studio-breadcrumb .delimiter {
    margin: 0 6px;
    color: var(--text-light);
}
.studio-breadcrumb .current {
    color: var(--text-main);
    font-weight: 600;
}

/* Hero 顶部通栏区（苹果浅灰风：纯白到浅灰渐变 + 极细边框） */
.studio-hero-dark,
.studio-home-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0 50px;
    color: var(--text-main);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.studio-hero-light {
    background: var(--card-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}


/* 胶囊导航标签栏 */
.studio-pills-bar,
.studio-home-pills-bar {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.studio-pill,
.studio-home-tool-pill,
.studio-home-post-pill {
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

.studio-pill:hover, 
.studio-pill.active,
.studio-home-tool-pill:hover,
.studio-home-post-pill:hover {
    background: var(--text-main);
    color: #ffffff;
    border-color: var(--text-main);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

/* 基础卡片样式 */
.studio-card,
.studio-card-gradient,
.studio-brand-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.studio-card:hover,
.studio-card-gradient:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

/* 搜索框组件 */
.studio-search-box,
.studio-home-search-wrap {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.studio-search-input,
.studio-home-search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-main);
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.studio-search-input:focus,
.studio-home-search-input:focus {
    border-color: var(--text-main);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.studio-search-icon,
.studio-home-search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
}

/* 按钮样式（苹果黑白极简风） */
.studio-btn-dark,
.studio-submit-btn {
    background: var(--text-main);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.studio-btn-dark:hover,
.studio-submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.studio-btn-light {
    background: #ffffff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.studio-btn-light:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background: #f8fafc;
}

/* 博客文章列表流 (Row List) */
.studio-article-row {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}
.studio-article-row:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}
.studio-article-row-content {
    flex-grow: 1;
    min-width: 0;
}
.studio-article-row-meta {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 6px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.studio-article-row-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 6px 0;
}
.studio-article-row-title a {
    color: inherit;
    text-decoration: none;
}
.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.studio-article-row-right {
    text-align: right;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

/* 正文与元数据栏 */
.studio-meta-bar {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 16px;
    margin-bottom: 20px;
}
.studio-article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 响应式断点 */
@media (max-width: 768px) {
    .studio-layout-container,
    .studio-brand-grid,
    .studio-portal-cards-grid {
        flex-direction: column;
        grid-template-columns: 1fr !important;
    }
    .studio-article-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .studio-article-row-right {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        border-top: 1px dashed var(--border-color);
        padding-top: 10px;
    }
}
/* ==========================================================================
   ToThinkAI Light Studio - 导航菜单内部结构样式
   ========================================================================== */

/* 桌面端导航列表容器 */
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 24px; /* 菜单项之间的间距 */
}

/* 导航菜单单项 (Li) */
.main-nav li {
    position: relative;
}

/* 导航菜单链接 (A) */
.main-nav a {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted, #64748b);
    text-decoration: none;
    padding: 6px 4px;
    transition: color 0.2s ease;
    display: block;
}

/* 导航链接悬停效果 */
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
    color: var(--text-main, #0f172a);
}

/* 二级下拉菜单基础样式（如果您的菜单有子分类） */
.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    padding: 10px 0;
    min-width: 160px;
    flex-direction: column;
    display: none; /* 默认隐藏，悬停显示 */
    z-index: 100;
}

.main-nav li:hover > ul {
    display: flex;
}

.main-nav ul ul li {
    width: 100%;
}

.main-nav ul ul a {
    padding: 8px 16px;
    color: var(--text-muted, #64748b);
    white-space: nowrap;
}

.main-nav ul ul a:hover {
    background: #f8fafc;
    color: var(--text-main, #0f172a);
}

/* 移动端抽屉菜单内部样式适配 */
@media (max-width: 768px) {
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 12px;
    }

    .main-nav li {
        width: 100%;
        border-bottom: 1px dashed var(--border-color, #e2e8f0);
        padding-bottom: 8px;
    }

    .main-nav a {
        font-size: 15px;
        color: var(--text-main, #0f172a);
        padding: 6px 0;
    }

    .main-nav ul ul {
        position: static;
        box-shadow: none;
        border: none;
        background: transparent;
        padding-left: 15px;
    }
}/* ==========================================================================
   ToThinkAI Light Studio - 顶部导航栏 (header.php) 专用样式
   ========================================================================== */

.site-header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* 1. Logo 区 */
.site-logo {
    font-size: 30px;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-accent2 {
    color: #FF7D00;
}

/* 2. 手机端汉堡包图标按钮 */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-main);
    cursor: pointer;
    padding: 4px 8px;
}

/* 3. 主导航菜单 */
.main-nav {
    display: flex;
    align-items: center;
}

/* 4. 右侧提交按钮 */
.header-action {
    display: flex;
    align-items: center;
}

.btn-submit-tool {
    background: var(--text-main);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.btn-submit-tool:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* 移动端响应式断点适配 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-sizing: border-box;
        display: none; /* 默认隐藏，通过 JS 切换 .is-active 显示 */
    }

    .main-nav.is-active {
        display: flex;
    }

    .header-action {
        display: none; /* 移动端隐藏顶部大提交按钮，可放入抽屉菜单内 */
    }
}/* ==========================================================================
   ToThinkAI Light Studio - AI 工具归档页专用样式 (archive-ai_tool.php)
   ========================================================================== */

/* 1. 归档页 Hero 头部 */
.studio-archive-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}

.studio-archive-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-archive-badge {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.studio-archive-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.studio-archive-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}

/* 2. 精选热门推荐区块 (Top Featured) */
.studio-featured-section {
    margin-bottom: 40px;
}

.studio-featured-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-featured-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
}

.studio-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.studio-featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.studio-featured-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.studio-featured-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-featured-content {
    flex-grow: 1;
    min-width: 0;
}

.studio-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.studio-featured-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-featured-badge {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: var(--text-main);
    padding: 3px 10px;
    border-radius: 12px;
}

.studio-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.studio-featured-footer {
    font-size: 12px;
    color: var(--text-main);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 3. 全量工具列表区 */
.studio-archive-list-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-archive-list-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}/* ==========================================================================
   ToThinkAI Light Studio - 分类归档页专用样式 (taxonomy-tool_cat.php)
   ========================================================================== */

/* 1. 分类 Hero 头部 */
.studio-cat-hero {
    background: var(--hero-gradient);
    border-bottom: 1px solid var(--border-color);
    padding: 50px 0 40px;
    margin-bottom: 30px;
}

.studio-cat-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-cat-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.studio-cat-tag {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
}

.studio-cat-count {
    font-size: 12px;
    color: var(--text-muted);
    background: #ffffff;
    border: 1px solid var(--border-color);
    padding: 3px 10px;
    border-radius: 12px;
}

.studio-cat-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.studio-cat-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.6;
    margin: 0;
}

/* 2. 分类下最受关注精选工具 */
.studio-cat-featured-section {
    margin-bottom: 36px;
}

.studio-cat-featured-header {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-cat-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
}

.studio-cat-featured-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
    position: relative;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.studio-cat-featured-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.studio-cat-featured-logo {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-cat-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-cat-featured-content {
    flex-grow: 1;
    min-width: 0;
}

.studio-cat-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.studio-cat-featured-name {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-cat-featured-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-main);
    background: #f1f5f9;
    border: 1px solid var(--border-hover);
    padding: 2px 8px;
    border-radius: 10px;
}

.studio-cat-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 8px 0;
}

.studio-cat-featured-footer {
    font-size: 12px;
    color: var(--text-main);
    font-weight: 700;
}

/* 3. 分类全量列表头部 */
.studio-cat-list-header {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-cat-list-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}/* ==========================================================================
   ToThinkAI Light Studio - 标签归档页专用样式 (tag.php)
   ========================================================================== */

/* 1. 标签页 Hero 头部 Banner */
.studio-tag-hero {
    background: var(--hero-gradient);
    border: 1px solid var(--border-color);
    padding: 36px;
    border-radius: 20px;
    color: var(--text-main);
    margin-bottom: 36px;
    box-shadow: var(--card-shadow);
}

.studio-tag-badge {
    font-size: 12px;
    font-weight: 700;
    background: #f1f5f9;
    color: var(--text-main);
    border: 1px solid var(--border-hover);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 10px;
}

.studio-tag-title {
    font-size: 30px;
    font-weight: 800;
    margin: 0 0 8px 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
}

.studio-tag-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* 2. 模块区块头部通用样式 */
.studio-tag-section-header-ai {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--text-main);
    padding-left: 12px;
}

.studio-tag-section-header-sop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-left: 4px solid var(--text-muted);
    padding-left: 12px;
}

.studio-tag-section-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.studio-tag-section-sub {
    font-size: 12px;
    color: var(--text-muted);
    margin: 2px 0 0 0;
}

/* 3. 空状态提示框 */
.studio-tag-empty-box {
    grid-column: 1 / -1;
    padding: 24px;
    background: var(--bg-card);
    border: 1px dashed var(--border-hover);
    border-radius: 12px;
    text-align: center;
    color: var(--text-light);
    font-size: 13px;
}
/* ==========================================================================
   ToThinkAI Light Studio - 普通文章单页专用样式 (single.php)
   ========================================================================== */

/* 1. 单页主体包裹卡片 */
.studio-single-article-box {
    background: #ffffff;
    padding: 36px;
    border-radius: 16px;
    border: 1px solid var(--border-color, #e2e8f0);
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

/* 2. 文章头部信息区 */
.studio-single-header {
    margin-bottom: 20px;
}

.studio-single-cat-badge {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    background: #f1f5f9;
    border: 1px solid var(--border-hover, #cbd5e1);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 12px;
    text-decoration: none;
}

.studio-single-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.3;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.studio-single-meta {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--border-color, #f1f5f9);
    padding-bottom: 16px;
}

/* 3. 文章正文排版 */
.studio-single-body {
    font-size: 16px;
    line-height: 1.8;
    color: #334155;
    word-break: break-word;
}

/* 4. 文章标签区 */
.studio-single-tags-box {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px dashed var(--border-hover, #cbd5e1);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.studio-single-tags-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted, #64748b);
}

.studio-single-tag-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #475569);
    background: #ffffff;
    border: 1px solid var(--border-hover, #cbd5e1);
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.studio-single-tag-pill:hover {
    border-color: var(--text-main, #0f172a);
    color: var(--text-main, #0f172a);
}

/* 5. 标签关联推荐区 */
.studio-related-section {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color, #e2e8f0);
}

.studio-related-heading {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0 0 16px 0;
}

.studio-related-grid-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.studio-related-item-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
    text-decoration: none;
}

.studio-related-item-card:hover {
    border-color: var(--border-hover, #cbd5e1);
    box-shadow: var(--card-shadow, 0 4px 12px rgba(0,0,0,0.03));
}

.studio-related-item-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main, #0f172a);
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.studio-related-item-meta {
    font-size: 11px;
    color: var(--text-light, #94a3b8);
    border-top: 1px dashed #f1f5f9;
    padding-top: 8px;
    margin-top: 8px;
}/* ==========================================================================
   ToThinkAI Light Studio - 博客文章分类归档页专用样式 (category.php)
   ========================================================================== */

/* 1. 分类归档页 Hero 头部 */
.studio-cat-archive-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-bottom: 1px solid var(--border-color, #e2e8f0);
    padding: 40px 0 24px 0;
    margin-bottom: 30px;
}

.studio-cat-breadcrumb {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin-bottom: 16px;
}

.studio-cat-breadcrumb a {
    color: var(--text-muted, #64748b);
    text-decoration: none;
}

.studio-cat-breadcrumb span.separator {
    margin: 0 6px;
    color: var(--border-hover, #cbd5e1);
}

.studio-cat-breadcrumb span.current {
    color: var(--text-main, #0f172a);
    font-weight: 600;
}

.studio-cat-badge-wrap {
    margin-bottom: 12px;
}

.studio-cat-archive-badge {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    display: inline-block;
}

.studio-cat-hero-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.studio-cat-hero-left {
    flex: 1;
    min-width: 280px;
}

.studio-cat-hero-title {
    font-size: 32px;
    font-weight: 950;
    color: var(--text-main, #0f172a);
    margin: 0 0 10px 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.studio-cat-hero-desc {
    font-size: 14px;
    color: var(--text-muted, #64748b);
    margin: 0;
    line-height: 1.6;
    max-width: 680px;
}

/* 栏目专属搜索框 */
.studio-cat-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 320px;
    flex-shrink: 0;
}

.studio-cat-search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-hover, #cbd5e1);
    border-radius: 24px;
    padding: 9px 16px 9px 38px;
    font-size: 13px;
    color: var(--text-main, #0f172a);
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.studio-cat-search-input:focus {
    border-color: var(--text-main, #0f172a);
    box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.studio-cat-search-icon {
    position: absolute;
    left: 14px;
    color: var(--text-light, #94a3b8);
    font-size: 14px;
    pointer-events: none;
}

/* 胶囊导航栏 */
.studio-cat-pills-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px dashed var(--border-color, #e2e8f0);
}

.studio-pill-item {
    font-size: 13px;
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.studio-pill-item.active {
    background: var(--text-main, #0f172a);
    color: #ffffff;
    border: 1px solid var(--text-main, #0f172a);
    font-weight: 700;
}

.studio-pill-item.default {
    background: #ffffff;
    color: #475569;
    border: 1px solid var(--border-color, #e2e8f0);
    font-weight: 600;
}

.studio-pill-item.default:hover {
    border-color: var(--border-hover, #cbd5e1);
    color: var(--text-main, #0f172a);
}

/* 2. 主体文章列表区域 */
.studio-cat-list-box {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

.studio-cat-list-header {
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--text-main, #0f172a);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-cat-list-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.studio-cat-list-count {
    font-size: 12px;
    color: var(--text-muted, #64748b);
}

/* 横向图文卡片 */
.studio-article-row-card {
    background: var(--bg-card-alt, #f8fafc);
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.2s ease;
}

.studio-article-row-card:hover {
    border-color: var(--border-hover, #cbd5e1);
    box-shadow: 0 4px 16px rgba(15,23,42,0.04);
}

.studio-article-thumb-link {
    flex-shrink: 0;
    display: block;
    width: 180px;
    height: 115px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color, #e2e8f0);
    background: #ffffff;
}

.studio-article-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.studio-article-thumb-link:hover .studio-article-thumb-img {
    transform: scale(1.05);
}

.studio-article-row-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 115px;
}

.studio-article-sub-meta {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.studio-article-sub-cat {
    font-size: 11px;
    font-weight: 700;
    background: #e2e8f0;
    color: var(--text-main, #0f172a);
    padding: 2px 10px;
    border-radius: 12px;
    display: inline-block;
}

.studio-article-author {
    font-size: 12px;
    color: var(--text-light, #94a3b8);
    font-weight: 500;
}

.studio-article-row-heading {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    line-height: 1.4;
    margin: 0 0 6px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.studio-article-row-heading a {
    text-decoration: none;
    color: inherit;
}

.studio-article-row-excerpt {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.studio-article-row-footer {
    font-size: 12px;
    color: var(--text-light, #94a3b8);
    border-top: 1px dashed var(--border-color, #e2e8f0);
    padding-top: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-article-read-more {
    color: var(--text-main, #0f172a);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}/* ==========================================================================
   ToThinkAI Light Studio - AI 工具全景归档页专用样式 (archive-ai_tool.php)
   ========================================================================== */

/* 1. 归档页 Hero 区域 */
.studio-archive-hero-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.studio-archive-badge-pill {
    background: rgba(99, 102, 241, 0.3);
    color: #818cf8;
    border: 1px solid rgba(129, 140, 248, 0.4);
    margin-bottom: 10px;
    display: inline-block;
}

/* 2. 重磅精选工具推荐区 */
.studio-archive-featured-section {
    margin-bottom: 40px;
}

.studio-archive-section-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-archive-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 20px;
}

.studio-archive-featured-card {
    border: 2px solid #e0e7ff;
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.studio-archive-featured-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--border-color, #e2e8f0);
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-archive-featured-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.studio-archive-featured-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.studio-archive-featured-name {
    font-size: 17px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 0;
}

.studio-archive-featured-badge {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 3px 10px;
    font-size: 11px;
}

.studio-archive-featured-excerpt {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.studio-archive-featured-more {
    font-size: 12px;
    color: #6366f1;
    font-weight: 700;
}

/* 3. 全量工具列表头部卡片 */
.studio-archive-list-card {
    background: #ffffff;
    border: 1px solid var(--border-color, #e2e8f0);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow, 0 4px 20px -2px rgba(15, 23, 42, 0.03));
}

.studio-archive-list-header {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.studio-archive-list-sub {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted, #64748b);
}/* ==========================================================================
   ToThinkAI Light Studio - 首页剩余内联样式清理补丁
   ========================================================================== */

/* 双入口卡片内部胶囊与图标 */
.studio-portal-pill-tool {
    font-size: 12px;
    font-weight: 700;
    color: #6366f1;
    background: #e0e7ff;
    padding: 3px 10px;
    border-radius: 12px;
    border: none;
    display: inline-block;
}

.studio-portal-pill-sop {
    font-size: 12px;
    font-weight: 700;
    color: #0891b2;
    background: #cff4fc;
    padding: 3px 10px;
    border-radius: 12px;
    border: none;
    display: inline-block;
}

.studio-portal-card-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-main, #0f172a);
    margin: 8px 0 6px 0;
}

.studio-portal-card-desc {
    font-size: 13px;
    color: var(--text-muted, #64748b);
    margin: 0;
}

.studio-portal-icon {
    font-size: 32px;
}

/* 品牌背书面板去除底部边距 */
.studio-brand-grid-reset {
    margin-bottom: 0 !important;
}
/* ======================================
   Light Studio 苹果极简浅灰风 - 全站共用变量
====================================== */
:root {
  --color-base: #fafafa;
  --color-surface: #ffffff;
  --color-text-main: #1d1d1f;
  --color-text-sub: #6e6e73;
  --color-text-light: #86868b;
  --color-border: #e8e8ed;
  --color-accent: #6366f1;
  --color-accent-light: #eef2ff;
  --color-cyan: #0891b2;
  --color-cyan-light: #cff4fc;
  --shadow-soft: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.08);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
}
body {
  background-color: var(--color-base);
  color: var(--color-text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Hero 头部区域 ===== */
.studio-home-hero {
  background: var(--color-surface);
  padding: 70px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.studio-home-hero-container {
  position: relative;
}
.studio-home-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  background: var(--text-main, #0f172a);
  color: #fff;
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.studio-home-title {
  font-size: 40px;
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: #ff7d00;
}
.studio-home-desc {
  font-size: 16px;
  color: var(--color-text-sub);
  max-width: 760px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.studio-home-search-wrap {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
}
.studio-home-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-light);
  font-size: 18px;
}
.studio-home-search-input {
  width: 100%;
  padding: 16px 20px 16px 52px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 15px;
  outline: none;
  box-shadow: var(--shadow-soft);
  color: var(--color-text-main);
  transition: box-shadow 0.2s ease;
}
.studio-home-search-input:focus {
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}
.studio-home-pills-bar {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  align-items: center;
}
.studio-home-pills-label {
  font-size: 12px;
  color: var(--color-text-light);
  margin-right: 4px;
}
.studio-home-tool-pill,
.studio-home-post-pill {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity .2s;
}
.studio-home-tool-pill {
  background: var(--color-accent-light);
  color: var(--color-accent);
}
.studio-home-post-pill {
  background: var(--color-cyan-light);
  color: var(--color-cyan);
}
.studio-home-tool-pill:hover,
.studio-home-post-pill:hover {
  opacity: 0.8;
}

/* ===== 主容器 ===== */
.studio-main-wrapper {
  padding-top: 50px;
  padding-bottom: 70px;
}

/* ===== 双入口卡片 ===== */
.studio-portal-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 60px;
  margin-top: 60px;
}
.studio-portal-card-tool,
.studio-portal-card-sop {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-soft);
}
.studio-portal-card-tool:hover,
.studio-portal-card-sop:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
.studio-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.studio-portal-card-tool .studio-pill {
  color: var(--color-accent);
  background: var(--color-accent-light);
}
.studio-portal-card-sop .studio-pill {
  color: var(--color-cyan);
  background: var(--color-cyan-light);
}
.studio-portal-card-tool h3,
.studio-portal-card-sop h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 8px 0 6px;
}
.studio-portal-card-tool p,
.studio-portal-card-sop p {
  font-size: 13px;
  color: var(--color-text-sub);
  margin: 0;
}
.studio-portal-card-tool > span,
.studio-portal-card-sop > span {
  font-size: 32px;
}

/* ===== 板块通用 ===== */
.studio-section-wrap {
  margin-bottom: 60px;
}
.studio-section-header-tool,
.studio-section-header-sop {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  padding-left: 14px;
  border-left: 4px solid;
}
.studio-section-header-tool {
  border-left-color: var(--color-accent);
}
.studio-section-header-sop {
  border-left-color: var(--color-cyan);
}
.studio-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text-main);
  margin: 0 0 4px;
}
.studio-section-sub {
  font-size: 13px;
  color: var(--color-text-sub);
  margin:0;
}
.studio-section-more-tool,
.studio-section-more-sop {
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.studio-section-more-tool {
  color: var(--color-accent);
}
.studio-section-more-sop {
  color: var(--color-cyan);
}

/* ===== AI工具卡片网格 ===== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
}
.tool-card-link {
  position: absolute;
  inset: 0;
  z-index:1;
}
.tool-logo-box img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.tool-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}
.tool-name {
  font-weight: 700;
  font-size:16px;
  color: var(--color-text-main);
}
.tool-tag {
  font-size:11px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:2px 8px;
  border-radius: var(--radius-pill);
}
.tool-desc {
  font-size:13px;
  color: var(--color-text-sub);
  margin:0 0 12px;
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.tool-footer {
  display: flex;
  justify-content: space-between;
  font-size:12px;
  color: var(--color-text-light);
  position:relative;
  z-index:2;
}
.tool-footer span:last-child {
  color: var(--color-accent);
  font-weight:600;
}

/* ===== 文章卡片网格 ===== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.article-card-item {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.article-card-item:hover {
  transform: translateY(-3px);
}
.article-card-item .cat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.article-card-item .cat-badge {
  font-size:11px;
  font-weight:700;
  color: var(--color-accent);
  background: var(--color-accent-light);
  padding:3px 10px;
  border-radius: var(--radius-pill);
}
.article-card-item .date-text {
  font-size:12px;
  color: var(--color-text-light);
}
.article-card-item h3 {
  font-size: 18px;
  font-weight:700;
  margin:0 0 10px;
  line-height:1.4;
}
.article-card-item h3 a {
  color: var(--color-text-main);
  text-decoration: none;
}
.article-card-item h3 a:hover {
  color: var(--color-accent);
}
.article-card-item .excerpt-text {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.6;
  margin:0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.article-card-item .card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size:12px;
  color: var(--color-text-light);
  border-top:1px dashed var(--color-border);
  padding-top:12px;
  margin-top:auto;
}
.article-card-item .card-footer a {
  color: #1d1d1f;
  font-weight:600;
  text-decoration:none;
}

/* ===== 品牌合作面板 ===== */
.studio-brand-panel {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}
.studio-brand-grid {
  margin-bottom:0;
}
.studio-brand-pill {
  font-size:12px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:4px 12px;
  border-radius: var(--radius-pill);
  font-weight:700;
}
.studio-brand-heading {
  font-size:26px;
  font-weight:800;
  color: var(--color-text-main);
  margin:12px 0 16px;
  line-height:1.3;
}
.studio-brand-text {
  font-size:14px;
  color: var(--color-text-sub);
  line-height:1.8;
  margin:0 0 16px;
}
.studio-brand-info {
  font-size:14px;
  color: var(--color-text-main);
  line-height:2;
}
.studio-submit-box {
  background: var(--color-base);
  border:1px solid var(--color-border);
  padding:28px;
  border-radius: var(--radius-md);
}
.studio-submit-title {
  font-size:18px;
  font-weight:700;
  color: var(--color-text-main);
  margin:0 0 12px;
}
.studio-submit-desc {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.6;
  margin:0 0 16px;
}
.studio-submit-btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-size:13px;
  font-weight:700;
  padding:10px 20px;
  border-radius: var(--radius-pill);
  text-decoration:none;
  transition: opacity .2s;
}
.studio-submit-btn:hover {
  opacity:0.9;
}

/* ===== 空状态提示 ===== */
.empty-tip {
  grid-column: 1/-1;
  padding:30px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-align:center;
  color: var(--color-text-sub);
  border:1px solid var(--color-border);
  margin:0;
}

/* ===== 移动端响应式 ===== */
@media (max-width:992px){
  .tools-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:768px){
  .studio-home-title {
    font-size:30px;
  }
  .studio-portal-cards-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .studio-brand-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width:480px){
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .studio-home-hero {
    padding:50px 0 40px;
  }
}


.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 深色Hero区块 ===== */
.studio-hero-dark {
  background: linear-gradient(135deg,#111827,#1f2937);
  padding: 50px 0;
  color:#fff;
}
.studio-breadcrumb {
  font-size:13px;
  color:#aaa;
  margin-bottom:20px;
}
.studio-hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}
.studio-pill {
  display: inline-block;
  font-size:12px;
  font-weight:700;
  border-radius: var(--radius-pill);
}
.studio-hero-dark .studio-pill {
  background: rgba(99, 102, 241, 0.3);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.4);
  margin-bottom: 10px;
}
.studio-hero-title {
  font-size:34px;
  font-weight:800;
  margin:0;
}
.studio-hero-desc {
  font-size:16px;
  color:#d1d5db;
  max-width:700px;
  margin:8px 0 0;
  line-height:1.6;
}
.studio-search-box {
  position:relative;
  width:320px;
}
.studio-search-input {
  width:100%;
  padding:12px 16px 12px 42px;
  border-radius: var(--radius-pill);
  border:1px solid rgba(255,255,255,0.2);
  background:rgba(255,255,255,0.08);
  color:#fff;
  font-size:14px;
  outline:none;
}
.studio-search-input::placeholder {
  color:#aaa;
}
.studio-search-icon {
  position:absolute;
  left:14px;
  top:50%;
  transform:translateY(-50%);
}
.studio-pills-bar {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.studio-pills-bar .studio-pill {
  background:rgba(255,255,255,0.1);
  color:#e5e7eb;
  border:1px solid rgba(255,255,255,0.15);
  padding:6px 14px;
  text-decoration:none;
  transition:0.2s;
}
.studio-pills-bar .studio-pill.active {
  background: var(--color-accent);
  color:#fff;
  border-color: var(--color-accent);
}
.studio-pills-bar .studio-pill:hover:not(.active) {
  background:rgba(255,255,255,0.18);
}

/* ===== 精选工具区块 ===== */
.studio-featured-section {
  margin-bottom:40px;
}
.studio-featured-head {
  font-size:16px;
  font-weight:800;
  color: var(--color-text-main);
  margin-bottom:16px;
  display:flex;
  align-items:center;
  gap:8px;
}
.studio-featured-tag {
  background: var(--color-accent-light);
  color: var(--color-accent);
  border:none;
  padding:2px 8px;
  font-size:12px;
}
.studio-featured-grid {
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap:20px;
}
.studio-card-gradient {
  border:2px solid #e0e7ff;
  position:relative;
  display:flex;
  gap:16px;
  align-items:flex-start;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding:20px;
}
.studio-card-gradient .tool-logo-wrap {
  width:56px;
  height:56px;
  border-radius:12px;
  background:#fff;
  border:1px solid var(--color-border);
  flex-shrink:0;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.studio-card-gradient .tool-logo-wrap img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.studio-card-gradient .tool-info-wrap {
  flex-grow:1;
  min-width:0;
}
.studio-card-gradient .tool-title-row {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:6px;
}
.studio-card-gradient h3 {
  font-size:17px;
  font-weight:800;
  color: var(--color-text-main);
  margin:0;
}
.studio-card-gradient .tool-badge-grad {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color:#fff;
  border:none;
  padding:3px 10px;
  font-size:11px;
}
.studio-card-gradient .tool-excerpt {
  font-size:13px;
  color: var(--color-text-sub);
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:hidden;
  margin:0 0 10px 0;
}
.studio-card-gradient .tool-link-text {
  font-size:12px;
  color: var(--color-accent);
  font-weight:700;
}

/* ===== 主内容+侧边栏布局 ===== */
.studio-layout-container {
  display:grid;
  grid-template-columns: 1fr 300px;
  gap:30px;
}
.studio-main-content {
}
.studio-card {
  background: var(--color-surface);
  border:1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding:24px;
  box-shadow: var(--shadow-soft);
}
.studio-list-head {
  font-size:16px;
  font-weight:800;
  color: var(--color-text-main);
  margin-bottom:16px;
  padding-bottom:8px;
  border-bottom:2px solid var(--color-border);
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.studio-list-head small {
  font-size:12px;
  font-weight:500;
  color: var(--color-text-sub);
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.tools-grid2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform .2s ease;
}
.tool-card:hover {
  transform: translateY(-3px);
}
.tool-card-link {
  position: absolute;
  inset: 0;
  z-index:1;
}
.tool-logo-box img {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}
.tool-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 12px 0 8px;
}
.tool-name {
  font-weight: 700;
  font-size:16px;
  color: var(--color-text-main);
}
.tool-tag {
  font-size:11px;
  background: var(--color-accent-light);
  color: var(--color-accent);
  padding:2px 8px;
  border-radius: var(--radius-pill);
}
.tool-desc {
  font-size:13px;
  color: var(--color-text-sub);
  margin:0 0 12px;
  line-height:1.5;
  display: -webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient: vertical;
  overflow:hidden;
}
.tool-footer {
  display: flex;
  justify-content: space-between;
  font-size:12px;
  color: var(--color-text-light);
  position:relative;
  z-index:2;
}
.tool-footer .tool-more {
  color: var(--color-accent);
  font-weight:600;
}
.empty-grid-tip {
  grid-column: 1/-1;
  padding: 40px;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--color-text-sub);
  border: 1px solid var(--color-border);
  margin: 0;
}
.studio-pagination-wrap {
  margin-top:40px;
  text-align:center;
}

/* ===== 响应式 ===== */
@media (max-width:992px){
  .studio-layout-container {
    grid-template-columns: 1fr;
  }
  .tools-grid {
    grid-template-columns: repeat(2,1fr);
  }
  .studio-featured-grid {
    grid-template-columns: 1fr;
  }
  .studio-hero-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .studio-search-box {
    width:100%;
  }
}
@media (max-width:768px){
  .studio-hero-title {
    font-size:28px;
  }
}
@media (max-width:480px){
  .tools-grid {
    grid-template-columns: 1fr;
  }
  .studio-hero-dark {
    padding:36px 0;
  }
}
/* cat-row 容器内所有a链接 */
.cat-row a {
    color: #0f172a;
    text-decoration: none;
    transition: all 0.22s ease;
}
.cat-row a:hover {
    color: #2563eb;
}
.cat-row a:active {
    color: #1d4ed8;
}
/* 侧边浮动容器 */
.fixed-toc {
    position: fixed;
    top: 120px;
    right: 20px;
    width: 280px;
    max-height: 70vh;
    overflow-y: auto;
    background:#f8fafc;
    padding:20px;
    border-radius:14px;
    border:1px solid #e2e8f0;
    z-index:99;
}
/* 移动端自动隐藏侧边悬浮目录，避免挡住页面 */
@media (max-width:1024px){
    .fixed-toc{
        display:none;
    }
}

/* 原有cat-row链接样式（保留你之前写的） */
.cat-row a {
    color: #0f172a;
    text-decoration: none;
    position: relative;
    transition: color 0.22s ease;
}
.cat-row a::after {
    content:"";
    position:absolute;
    left:0;
    bottom:-2px;
    width:0;
    height:2px;
    background:#2563eb;
    transition:0.22s;
}
.cat-row a:hover{
    color:#2563eb;
}
.cat-row a:hover::after{
    width:100%;
}

/* NanoTOC列表重置 */
.cat-row ul.nanotoc-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.cat-row ul.nanotoc-list > li {
    padding: 7px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cat-row ul.nanotoc-list li ul {
    list-style:none;
    padding-left:18px;
    margin-top:6px;
}
.cat-row ul.nanotoc-list li ul li{
    padding:5px 0;
    border-bottom:none;
}
/* 当前阅读章节高亮 */
.cat-row .nanotoc-active a{
    color:#2563eb;
    font-weight:600;
}


