.blog-layout-wrapper { display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 22px; align-items: start; }
.blog-main { min-width: 0; }
.aero-article-header { padding: 25px 28px; border-bottom: 1px solid #b9cfdd; background: linear-gradient(120deg, #f7fcff, #dbeef9); }
.aero-article-header .aero-icon--large { float: right; margin: 0 0 12px 16px; }
.aero-article-header h1 { font-size: 2rem; color: #224e6b; font-weight: 400; overflow-wrap: anywhere; }
.aero-article-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 0.875rem; color: var(--aero-muted); }
.aero-tags { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.aero-blog-article .aero-panel-body { padding: 28px; }
.blog-content { line-height: 1.8; overflow-wrap: anywhere; }
.blog-content h1, .blog-content h2, .blog-content h3, .blog-content h4, .blog-content h5, .blog-content h6 { margin-top: 2rem; margin-bottom: 1rem; color: #28546e; font-weight: 600; }
.blog-content h1 { font-size: 1.75rem; border-bottom: 2px solid #cbdeeb; padding-bottom: 0.5rem; }
.blog-content h2 { font-size: 1.5rem; border-bottom: 1px solid #cbdeeb; padding-bottom: 0.4rem; }
.blog-content h3 { font-size: 1.25rem; }
.blog-content p, .blog-content ul, .blog-content ol { margin-bottom: 1rem; }
.blog-content ul, .blog-content ol { padding-left: 1.75rem; }
.blog-content li { margin-bottom: 0.4rem; }
.blog-content blockquote { padding: 0.8rem 1.2rem; margin: 1.5rem 0; border-left: 3px solid #66a8ca; background: #edf7fc; color: #456273; border-radius: 0 6px 6px 0; }
.blog-content blockquote > :last-child { margin-bottom: 0; }
.blog-content img { max-width: 100%; height: auto; border-radius: 5px; margin: 1rem 0; border: 4px solid #fff; box-shadow: 0 0 0 1px #b5cbd8, 0 3px 8px rgba(27, 67, 91, 0.12); }
.blog-content .row img { margin: 0.5rem 0; }
.blog-content .img-fluid { width: 100%; height: auto; object-fit: cover; }
.blog-content .col-md-6 img, .blog-content .col-md-4 img, .blog-content .col-lg-3 img { width: 100%; height: 200px; object-fit: cover; }
.blog-content table { display: block; max-width: 100%; overflow-x: auto; margin: 1.5rem 0; border-collapse: collapse; font-size: 0.9375rem; }
.blog-content table th, .blog-content table td { padding: 0.65rem 0.8rem; border: 1px solid #b8cfdd; }
.blog-content table th { color: #28546e; background: linear-gradient(#f5fbff, #dbeaf5); font-weight: 600; }
.blog-content table tr:nth-child(even) { background: #f0f7fb; }
.blog-content code, .blog-content pre { font-family: ui-monospace, "Cascadia Code", "Courier New", monospace; font-size: 0.875rem; }
.blog-content code { color: #28546e; }
.blog-content pre, .blog-content pre[class*="language-"] { max-width: 100%; overflow: auto; padding: 18px; border: 1px solid #b9cedd; border-radius: 6px; background: #f0f6fa; line-height: 1.6; text-shadow: none; }
.blog-content pre code { color: #233e51; }
.blog-content hr { border-color: #ccdde8; margin: 2rem 0; }
.katex-display { max-width: 100%; overflow-x: auto; overflow-y: hidden; margin: 1.5rem 0; padding: 0.6rem 0; }
.katex { font-size: 1.1em; }
.katex-display .katex { display: inline-block; white-space: nowrap; }
.blog-toc-nav { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow-y: auto; scrollbar-width: thin; }
.blog-toc-title { font-size: 0.875rem; font-weight: 600; }
.blog-toc-list { list-style: none; padding: 10px; margin: 0; }
.blog-toc-list li { margin-bottom: 3px; }
.blog-toc-list a { display: block; font-size: 0.875rem; line-height: 1.5; color: #4a6475; padding: 6px 8px; border: 1px solid transparent; border-radius: 4px; text-decoration: none; }
.blog-toc-list a:hover { color: #155b87; background: #e5f2fa; }
.blog-toc-list a.toc-active { color: #164e70; background: linear-gradient(#f4fcff, #cae5f4); border-color: #8eb9d0; }
.blog-toc-list .toc-h2 { padding-left: 15px; }
.blog-toc-list .toc-h3 { padding-left: 24px; }
@media (max-width: 991.98px) {
    .blog-layout-wrapper { grid-template-columns: minmax(0, 1fr); }
    .blog-toc-sidebar { display: none; }
    .aero-blog-article { max-width: 760px; margin: 0 auto; }
}
@media (max-width: 575.98px) {
    .aero-article-header, .aero-blog-article .aero-panel-body { padding: 18px; }
    .aero-article-header h1 { font-size: 1.6rem; }
    .blog-content .col-md-6 img, .blog-content .col-md-4 img { height: 150px; }
}
@media print {
    .blog-layout-wrapper { display: block; }
    .aero-article-header, .blog-content pre, .blog-content pre[class*="language-"] { background: #fff; }
}
