/* 专业技术文档标题 - 结构清晰 */
:root {
    --primary-color: #2563EB;
    --secondary-color: #7C3AED;
    --accent-color: #059669;
}

.rst-content .section h1 {
    color: #1E293B !important;
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    margin: 3rem 0 1.5rem 0 !important;
    padding: 1.5rem 0 !important;
    border-bottom: 3px solid var(--primary-color) !important;
    position: relative !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

.rst-content .section h1::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 6rem;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.rst-content .section h2 {
    color: #334155 !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    margin: 3rem 0 1.25rem 0 !important;
    padding: 1rem 1.5rem !important;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.03), rgba(124, 58, 237, 0.03)) !important;
    border-radius: 0.75rem !important;
    border-left: 5px solid var(--primary-color) !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

.rst-content .section h3 {
    color: #475569 !important;
    font-size: 1.75rem !important;
    font-weight: 600 !important;
    margin: 2.5rem 0 1rem 0 !important;
    padding: 0.5rem 0 0.5rem 0.75rem !important;
    position: relative !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
}

.rst-content .section h3::before {
    content: "▶";
    position: absolute;
    left: -0.75rem;
    color: var(--accent-color);
    font-size: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
}

/* 添加平滑滚动定位 */
.rst-content .section :target {
    animation: highlight 2s ease !important;
}

@keyframes highlight {
    0% { background-color: rgba(37, 99, 235, 0.1); }
    100% { background-color: transparent; }
}