/* 左右分栏核心网格 */
.yy-page-layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; align-items: start; }

/* 左侧栏 */
.yy-sidebar { background: #fff; border: 1px solid #eee; }
.yy-sidebar-header { background: var(--yy-primary); color: #fff; padding: 18px 20px; font-size: 18px; font-weight: bold; letter-spacing: 1px; }
.yy-sidebar-menu { list-style: none; padding: 0; margin: 0; }
.yy-sidebar-menu li { border-bottom: 1px solid #f0f0f0; }
.yy-sidebar-menu li:last-child { border-bottom: none; }
.yy-sidebar-menu a { display: block; padding: 14px 20px; color: #444; font-size: 15px; transition: var(--yy-transition); position: relative; }
.yy-sidebar-menu a:hover,
.yy-sidebar-menu li.current-menu-item > a { color: var(--yy-primary); background: #fcfcfc; padding-left: 25px; font-weight: 500; }
.yy-sidebar-menu a::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--yy-primary); opacity: 0; transition: var(--yy-transition); }
.yy-sidebar-menu a:hover::before,
.yy-sidebar-menu li.current-menu-item > a::before { opacity: 1; }

/* 右侧内容区 */
.yy-page-content { background: #fff; padding: 40px; border: 1px solid #eee; min-height: 500px; line-height: 1.8; color: #444; }
.yy-page-content h2, .yy-page-content h3 { color: #222; margin-top: 0; }

/* 移动端响应式折叠 */
@media (max-width: 992px) {
    /* 核心修复：把左右分栏改成单列上下堆叠 */
    .yy-page-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .yy-page-content {
        padding: 20px;
        border: none;
    }
}
