/* SPDX-FileCopyrightText: Copyright (c) 2026 Process Mission */
/* SPDX-License-Identifier: MIT */
.blogs-main{padding-block:56px 96px}
html[lang="zh-CN"] [data-lang-block="en"]{display:none}
html[lang="en"] [data-lang-block="zh"]{display:none}
.blogs-heading{max-width:780px;margin-bottom:48px}
.blogs-page .blogs-heading h1{font-size:clamp(2.8rem,5.6vw,5rem);letter-spacing:-.04em;margin-bottom:22px}
.blogs-heading .section-description{max-width:38em}
.blog-kicker{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;line-height:1.6;margin-bottom:14px}
.blog-tags{display:flex;flex-wrap:wrap;gap:8px;list-style:none;padding:0;margin:0 0 18px}
.blog-tags li{padding:4px 10px;font-size:12px;line-height:1.4;color:#f48a6a;background:#b2260024;border:1px solid #e84c2240;border-radius:2px;font-family:var(--mono)}
.blogs-feed{display:flex;flex-direction:column;gap:40px}
.blog-entry{display:grid;grid-template-columns:1.32fr 1fr;border:1px solid var(--line);background:var(--surface)}
.blog-entry.is-reversed{grid-template-columns:1fr 1.32fr}
.blog-entry-image{display:block;position:relative;min-height:100%;background:#0b0b0b;overflow:hidden;border-right:1px solid var(--line)}
.blog-entry.is-reversed .blog-entry-image{order:2;border-right:0;border-left:1px solid var(--line)}
.blog-entry.is-reversed .blog-entry-copy{order:1}
.blog-entry-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.blog-entry-copy{padding:32px 36px;align-self:center}
.blogs-page .blog-entry-copy h2{font-size:clamp(1.5rem,2.15vw,2rem);line-height:1.4;letter-spacing:-.02em;max-width:none;margin-bottom:14px;text-wrap:wrap}
.blog-entry-copy>p:not(.blog-kicker){color:var(--muted);font-size:15.5px;line-height:1.8;margin-bottom:22px}
.blog-entry-copy h2 a:hover{color:var(--accent)}
.blog-post-header{padding-bottom:30px;margin:0 auto 44px;border-bottom:1px solid var(--line);max-width:760px}
.blog-breadcrumb{display:flex;gap:10px;align-items:center;color:var(--muted);font-size:13px;margin-bottom:22px}
.blog-breadcrumb a:hover{color:var(--accent)}
.blogs-page .blog-post-header h1{font-size:clamp(2rem,3.4vw,2.85rem);line-height:1.3;letter-spacing:-.025em;max-width:none;margin-bottom:20px;text-wrap:balance;overflow-wrap:anywhere}
.blog-post-meta-bar{display:flex;align-items:center;justify-content:space-between;gap:14px 28px;flex-wrap:wrap}
.blog-post-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0;color:var(--muted);font-size:14px;line-height:1.6}
.blog-post-meta strong{color:var(--text);font-weight:500}
.blog-resources{display:flex;align-items:center;gap:20px;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.blog-resources a{transition:color .18s}
.blog-resources a:hover{color:var(--accent)}
.blog-layout{display:block;max-width:760px;margin-inline:auto}
.blog-layout.has-toc{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,760px) minmax(160px,1fr);gap:48px;max-width:1280px;margin-inline:auto;align-items:start}
.blog-toc-sidebar{position:sticky;top:112px;padding:0;background:none;border:0;max-width:200px}
.blog-toc-title{font-size:12px;font-weight:500;letter-spacing:.04em;color:#8c8b85;margin-bottom:16px}
.blog-toc-sidebar ul,.blog-toc-mobile ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:14px;font-size:14px;line-height:1.5;color:var(--muted)}
.blog-toc-sidebar a{display:block;color:inherit;transition:color .18s}
.blog-toc-sidebar a:hover,.blog-toc-sidebar a.is-active{color:var(--text)}
.blog-toc-sidebar a.is-active{font-weight:500}
.blog-toc-mobile{display:none;margin-bottom:28px;padding:12px 0;border-bottom:1px solid var(--line)}
.blog-toc-mobile summary{display:flex;align-items:center;justify-content:space-between;font-size:14px;font-weight:500;color:var(--muted)}
.blog-toc-mobile summary::after{content:"+";color:var(--muted);font-size:18px;line-height:1}
.blog-toc-mobile[open] summary::after{content:"−"}
.blog-toc-mobile ul{margin-top:14px;gap:10px}
.blog-toc-mobile a:hover{color:var(--text)}
.blog-post{min-width:0}
.blog-body{font-size:17.5px;line-height:1.95;overflow-wrap:anywhere}
.blog-body p{line-height:inherit;margin-bottom:22px}
.blogs-page .blog-body h2{max-width:none;line-height:1.4;margin:54px 0 20px;padding-top:28px;border-top:1px solid var(--line);font-size:27px;letter-spacing:-.015em;scroll-margin-top:104px}
.blogs-page .blog-body h2:first-child{margin-top:0;padding-top:0;border-top:0}
.blogs-page .blog-body h3{max-width:none;line-height:1.5;margin:36px 0 16px;font-size:21px;letter-spacing:0;color:var(--text);scroll-margin-top:104px}
.blog-body a{color:#f48a6a;text-decoration:underline;text-underline-offset:4px}
.blog-body a:hover{color:var(--text)}
.blog-body strong{color:#fff}
.blog-body blockquote{margin:0 0 28px;padding:18px 22px;border-left:3px solid var(--accent);background:var(--surface);color:var(--text);font-size:15.5px;line-height:1.8}
.blog-body blockquote p:last-child{margin-bottom:0}
.blog-body .blog-media{margin:28px 0}
.blog-body .blog-media img{display:block;width:100%;height:auto;transition:opacity .18s}
html[data-enhanced] .blog-body .blog-media img{cursor:zoom-in}
html[data-enhanced] .blog-body .blog-media img:hover{opacity:.94}
.blog-body ul,.blog-body ol{padding-left:1.5em;margin:0 0 24px}
.blog-body li{margin-bottom:8px;line-height:1.85}
.blog-body pre{padding:20px 22px;background:#161616;overflow:auto;border:1px solid var(--line);border-radius:3px;font-size:14px;line-height:1.65;margin:24px 0}
.blog-body code{font-family:var(--mono);font-size:.88em;padding:2px 6px;background:#ffffff12;border-radius:3px}
.blog-body pre code{padding:0;background:transparent;font-size:inherit}
.blog-table-scroll{width:100%;overflow-x:auto;margin:26px 0;border:1px solid var(--line);border-radius:3px}
.blog-body table{width:100%;border-collapse:collapse;font-size:15px;line-height:1.65}
.blog-body th{background:#1e1d1c;color:var(--text);font-weight:600}
.blog-body th,.blog-body td{border-bottom:1px solid var(--line);border-right:1px solid var(--line);padding:12px 14px;text-align:left;vertical-align:top}
.blog-body th:last-child,.blog-body td:last-child{border-right:0}
.blog-body tbody tr:last-child td{border-bottom:0}
.blog-post-footer{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;padding-block:36px 0;margin-top:44px;border-top:1px solid var(--line)}
.blog-lightbox{max-width:min(94vw,1440px);max-height:94vh;padding:16px;border:1px solid var(--line);border-radius:4px;background:#141414;color:var(--text)}
.blog-lightbox::backdrop{background:#000000d6;backdrop-filter:blur(4px)}
.blog-lightbox-bar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px}
.blog-lightbox-caption{font-size:14px;color:var(--muted)}
.blog-lightbox-close{background:none;border:1px solid var(--line);color:var(--text);width:34px;height:34px;font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center}
.blog-lightbox-close:hover{border-color:var(--accent);color:var(--accent)}
.blog-lightbox img{display:block;max-width:100%;max-height:calc(94vh - 88px);width:auto;height:auto;margin-inline:auto;background:#fff}
@media(max-width:1180px){.blog-layout.has-toc{display:block;max-width:760px}.blog-toc-sidebar{display:none}.blog-toc-mobile{display:block}}
@media(max-width:1100px){.blog-entry-copy{padding:28px}}
@media(max-width:800px){.blog-entry,.blog-entry.is-reversed{grid-template-columns:1fr}.blog-entry-image,.blog-entry.is-reversed .blog-entry-image{order:0;aspect-ratio:16/9;border-right:0;border-left:0;border-bottom:1px solid var(--line)}.blog-entry.is-reversed .blog-entry-copy{order:0}.blogs-main{padding-top:40px}.blogs-page .blog-post-header h1{font-size:30px}}
@media(max-width:600px){.blogs-feed{gap:28px}.blogs-heading{margin-bottom:30px}.blogs-page .blogs-heading h1{font-size:44px}.blog-entry-copy{padding:24px}.blog-post-header{padding-bottom:24px;margin-bottom:28px}.blog-breadcrumb{margin-bottom:18px}.blogs-page .blog-post-header h1{font-size:26px}.blog-body{font-size:16.5px;line-height:1.9}.blog-body .blog-media{margin:22px 0}.blog-body blockquote{padding:16px 18px}.blog-post-footer .text-link{font-size:14px}}
