/* Reading layout and assets used by the educational course. */
.layout{grid-template-columns:220px minmax(0,1fr);gap:38px}
.sidebar-label{margin-bottom:2px}
.nav-group-label{font-size:11px;color:var(--muted);padding:15px 11px 6px}
#lessonNav a{font-size:13px;line-height:1.65;padding:10px 11px}
.article-head{padding-bottom:22px;margin-bottom:32px}
.article-topline{display:flex;justify-content:space-between;align-items:center;gap:20px}
.article-head h1{font-size:34px;max-width:850px;margin:17px 0 14px;line-height:1.45}
.article-head>p{max-width:830px;margin-bottom:14px;line-height:1.85}
.article-meta{align-items:center;gap:8px 20px;line-height:1.8}
.article-meta>span+span{position:relative}
.article-meta>span+span:before{content:"";position:absolute;left:-11px;top:7px;height:8px;width:1px;background:var(--line)}
.bookmark-btn{padding:5px 10px;font-size:11px;white-space:nowrap}
.article-layout{grid-template-columns:minmax(0,1fr) 178px;gap:38px}
.article-body{max-width:800px}
.article-body p,.article-body li{font-size:17px;line-height:1.95;margin-bottom:18px}
.article-body section{margin-bottom:44px}
.article-body h2{font-size:25px;line-height:1.5;margin-top:0;margin-bottom:20px;letter-spacing:0}
.article-body h3{letter-spacing:0}
.article-intro{margin-bottom:36px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.era-label{font-size:12px;color:var(--accent);margin-bottom:9px}
.inline-term{display:inline;background:none;padding:0;color:var(--accent);font:inherit;line-height:inherit;text-align:inherit;border-radius:0;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:4px;text-decoration-thickness:1px}
.inline-term:hover{background:var(--tint)}
.toc{font-size:12px;max-height:calc(100dvh - 145px);overflow-y:auto;scrollbar-width:thin}
.toc-terms{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.toc-terms .term-chip{font-size:10px;text-align:left}
.toc-terms .term-chips{margin-top:8px}
.section-sources{display:flex;flex-wrap:wrap;gap:6px 15px;font-size:11px;margin-top:18px}
.section-sources a{color:var(--muted);text-decoration:underline;text-underline-offset:3px}
.source-list summary{cursor:pointer;font-size:13px;color:var(--accent);margin-bottom:12px}
.article-body figure{margin:26px 0 30px;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--tint)}
.article-body figure img{width:100%;height:auto;object-fit:contain}
.scene-thumb{height:auto;aspect-ratio:16/9;background:#eaf2fc}
.scene-thumb img{object-fit:contain;padding:0}
.scene-info{padding:21px 21px 24px}
.scene-category{display:block;font-size:11px;color:var(--accent);margin-bottom:9px}
.scene-info h3{margin-bottom:11px}
.scene-info p{font-size:13px;line-height:1.85}
.product-avatar{width:52px;height:52px;background:#fff;border:1px solid #e1e7ef;padding:7px;flex-shrink:0}
.product-avatar img{width:100%;height:100%;object-fit:contain}
.product-title{align-items:center;gap:15px}
.product-card{padding:25px}
.product-title h3{font-size:20px}
.product-facts{font-size:12px;gap:7px 10px}
.product-card p{font-size:14px}
.term-dialog.brief{width:min(500px,calc(100% - 30px))}
.term-dialog.brief #termBody{padding:22px 26px 26px}
.term-dialog.brief #termBody h2{font-size:25px}
.term-dialog.brief #termBody p{font-size:15px}
.term-dialog.brief .callout{margin:17px 0}
.term-dialog.brief .term-course{margin-top:21px}
@media(max-width:1200px){
 .layout{grid-template-columns:185px minmax(0,1fr);gap:27px}
 #lessonNav a{font-size:12px}
 .article-layout{grid-template-columns:minmax(0,1fr) 150px;gap:25px}
 .article-head h1{font-size:31px}
}
@media(max-width:980px){
 .layout{grid-template-columns:170px minmax(0,1fr);gap:23px}
 .article-layout{display:block}
 .article-body{max-width:none}
}
@media(max-width:730px){
 .layout{display:block}
 #lessonNav a{font-size:13px}
 .article-head{padding-bottom:20px;margin-bottom:27px}
 .article-head h1{font-size:28px;line-height:1.5;margin-top:15px}
 .article-head>p{font-size:14px;margin-bottom:13px}
 .article-meta{font-size:10px;gap:7px 17px}
 .article-meta>span:last-child{display:none}
 .article-body p,.article-body li{font-size:16px;line-height:1.95}
 .article-body h2{font-size:23px}
 .article-body section{margin-bottom:36px}
 .article-intro{margin-bottom:29px}
 .scene-thumb{height:auto;aspect-ratio:16/9}
 .scene-info{padding:18px}
 .product-card{padding:20px}
 .product-avatar{width:46px;height:46px;padding:6px}
 .product-title h3{font-size:19px}
 .era-label{font-size:11px}
 .section-sources{font-size:10px;gap:5px 12px}
}
