/* Blog & Guides — editorial pages and the writing workspace. */
.blog-page { background: var(--bg); }
.blog-shell { max-width: 1180px; padding-top: 0; padding-bottom: 72px; }
.blog-page .site-header { border-bottom: 1px solid var(--border); background: var(--bg); }
.blog-page .site-footer > .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.blog-page .site-footer p { margin: 0; color: var(--muted); font-size: 14px; }
.blog-page .site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.blog-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; color: var(--muted); font-size: 11px; font-weight: 650; letter-spacing: .12em; line-height: 1.6; }
html:not(.lang-en) .blog-eyebrow { letter-spacing: .025em; font-size: 12px; }
.blog-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.blog-intro { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding: 64px 0 38px; }
.blog-intro h1 { margin: 0 0 14px; font-size: clamp(36px, 5vw, 60px); line-height: 1.25; font-weight: 730; letter-spacing: -.035em; }
.blog-intro-lead { margin: 0 0 10px; color: var(--text); font-size: 23px; line-height: 1.7; font-weight: 500; }
.blog-intro-description { max-width: 620px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.9; }
.blog-intro-note { flex: 0 0 245px; display: flex; align-items: center; gap: 18px; padding-left: 30px; border-left: 1px solid var(--border-strong); color: var(--muted); font-size: 16px; line-height: 1.9; }
.blog-intro-note svg { width: 38px; height: 38px; flex-shrink: 0; color: var(--primary); }
.blog-discovery { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; margin-bottom: 32px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blog-categories { display: flex; align-items: center; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.blog-filter { flex-shrink: 0; padding: 10px 15px; border: 1px solid transparent; border-radius: 8px; color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 550; transition: background .15s, color .15s; }
.blog-filter:hover { color: var(--text); background: var(--surface-2); text-decoration: none; }
.blog-filter.is-active { color: var(--text); border-color: var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.blog-search { display: flex; align-items: center; flex: 0 0 270px; gap: 9px; padding: 0 11px; min-height: 43px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.blog-search > svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.blog-search input { min-width: 0; padding: 9px 0; margin: 0; width: 100%; border: 0; border-radius: 0; background: transparent; font: inherit; font-size: 13px; box-shadow: none; }
.blog-search input:focus { box-shadow: none; outline: none; }
.blog-search:focus-within { outline: 2px solid var(--primary); outline-offset: 2px; }
.blog-search button { display: flex; align-items: center; justify-content: center; padding: 3px; color: var(--primary); background: transparent; border: 0; cursor: pointer; }
.blog-search button svg, .blog-read svg, .blog-library-links svg, .blog-sidebar-note a svg { width: 18px; height: 18px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.blog-card.card { display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); box-shadow: none; transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-art-link { display: block; text-decoration: none; }
.blog-art { --art-paper: #e7eee6; --art-ink: #255542; --art-pop: #f1c79c; position: relative; height: 186px; overflow: hidden; color: var(--art-ink); background: var(--art-paper); }
.art-comparisons { --art-paper: #eee7db; --art-ink: #68513a; --art-pop: #ecd48f; }
.art-use-cases { --art-paper: #f3e3d8; --art-ink: #854629; --art-pop: #edba9a; }
.art-research { --art-paper: #e3e8ee; --art-ink: #465d77; --art-pop: #b7cddd; }
.blog-art::before, .blog-art::after { position: absolute; width: 150px; height: 150px; content: ''; border: 1px solid currentColor; border-radius: 50%; opacity: .08; }
.blog-art::before { right: -38px; top: -60px; }
.blog-art::after { left: -45px; bottom: -93px; width: 200px; height: 200px; }
.blog-art-kicker { position: absolute; left: 20px; top: 17px; font-family: ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 650; letter-spacing: .15em; opacity: .62; }
.blog-art-drawing { position: absolute; height: 160px; width: 215px; top: 0; right: 0; }
.blog-art-caption { position: absolute; left: 20px; bottom: 19px; right: 20px; font-size: 17px; font-weight: 650; letter-spacing: -.015em; }
.blog-art-dot { position: absolute; width: 5px; height: 5px; left: 20px; top: 43px; border-radius: 50%; background: currentColor; opacity: .45; }
.blog-art-image img { height: 100%; width: 100%; object-fit: cover; }
.blog-card-content { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.blog-card-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-category-label { display: inline-flex; gap: 6px; align-items: center; color: var(--primary); font-size: 12px; font-weight: 650; }
.blog-category-label::before { content: ''; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.blog-category-label.cat-comparisons { color: #957033; }
.blog-category-label.cat-use-cases { color: #b45d36; }
.blog-category-label.cat-research { color: #607b9c; }
.blog-feature-label { padding-left: 12px; border-left: 1px solid var(--border); color: var(--muted); font-size: 12px; }
.blog-card h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.65; font-weight: 650; }
.blog-card h2 a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; color: var(--text); text-decoration: none; }
.blog-card h2 a:hover { color: var(--primary); }
.blog-card-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 0 0 22px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.blog-card-meta { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: auto; color: var(--muted); font-size: 11px; }
.blog-author-mark { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; flex-shrink: 0; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 700; }
.blog-meta-dot { color: var(--border-strong); }
.blog-read { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 19px; padding-top: 15px; border-top: 1px solid var(--border); text-decoration: none; color: var(--primary); font-size: 13px; font-weight: 650; }
.blog-featured.card { display: grid; grid-template-columns: .95fr 1.05fr; margin-bottom: 52px; border-radius: 18px; }
.blog-featured .blog-art { height: 100%; min-height: 330px; }
.blog-featured .blog-art-drawing { height: 290px; width: 360px; top: 15px; right: 8%; }
.blog-featured .blog-art-kicker { top: 28px; left: 30px; font-size: 10px; }
.blog-featured .blog-art-dot { top: 54px; left: 30px; }
.blog-featured .blog-art-caption { left: 30px; bottom: 28px; font-size: 25px; }
.blog-featured .blog-card-content { padding: 35px 38px; }
.blog-featured h2 { font-size: 27px; line-height: 1.55; }
.blog-featured .blog-card-excerpt { -webkit-line-clamp: 3; font-size: 15px; }
.blog-featured .blog-read { width: fit-content; gap: 18px; border: 0; padding: 0; margin: 22px 0 0; }
.blog-section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 0 0 24px; gap: 20px; }
.blog-section-heading .blog-eyebrow { margin-bottom: 7px; }
.blog-section-heading h2 { margin: 0; font-size: 26px; font-weight: 650; line-height: 1.5; }
.blog-section-heading > span { color: var(--muted); font-size: 13px; padding-bottom: 3px; }
.blog-pagination { margin-top: 28px; }
.blog-empty { grid-column: 1 / -1; text-align: center; padding: 60px 24px; border: 1px dashed var(--border-strong); border-radius: 14px; color: var(--muted); }
.blog-empty > svg { width: 36px; margin: 0 auto 15px; color: var(--primary); }
.blog-empty h3 { color: var(--text); margin-bottom: 8px; }
.blog-library { display: flex; justify-content: space-between; gap: 30px; margin-top: 64px; padding: 34px; border-radius: 16px; border: 1px solid var(--border); background: var(--surface-2); }
.blog-library-heading { display: flex; align-items: flex-start; gap: 20px; max-width: 470px; }
.blog-library-heading > svg { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.blog-library h2 { font-size: 23px; line-height: 1.6; margin: 0; }
.blog-library-links { display: grid; gap: 14px; flex: 0 0 295px; }
.blog-library-links a { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.blog-library-links a:hover { color: var(--primary); }
/* The reading page has a quiet header, a contents rail, and one comfortable reading column. */
.blog-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 42px; color: var(--muted); font-size: 12px; }
.blog-breadcrumb a { color: var(--text-2); text-decoration: none; }
.blog-article-header { max-width: 900px; margin: 0 auto 38px; }
.blog-article h1 { font-size: clamp(29px, 3.8vw, 46px); font-weight: 700; line-height: 1.5; margin: 17px 0 20px; letter-spacing: -.025em; }
.blog-article-lead { max-width: 800px; font-size: 18px; line-height: 1.9; color: var(--muted); margin: 0 0 25px; }
.blog-byline { display: flex; align-items: center; gap: 11px; padding: 22px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.blog-byline .blog-author-mark { width: 40px; height: 40px; font-size: 19px; }
.blog-byline > div { display: grid; gap: 3px; }
.blog-byline strong { font-size: 13px; font-weight: 650; }
.blog-byline div > span { color: var(--muted); font-size: 12px; }
.blog-reading-time { margin-left: auto; color: var(--muted); font-size: 12px; }
.blog-article-cover { display: block; max-width: 900px; width: 100%; height: auto; border-radius: 16px; margin: 0 auto 35px; }
.blog-reading-layout { display: grid; grid-template-columns: 225px minmax(0, 1fr); gap: 48px; align-items: start; }
.blog-reading-sidebar { position: sticky; top: calc(var(--header-h) + 25px); padding-top: 10px; }
.blog-toc { padding-bottom: 25px; border-bottom: 1px solid var(--border); }
.blog-toc a, .blog-mobile-toc nav a { display: flex; align-items: baseline; gap: 12px; padding: 9px 0; color: var(--muted); font-size: 13px; line-height: 1.7; text-decoration: none; }
.blog-toc a:hover, .blog-mobile-toc nav a:hover { color: var(--primary); }
.blog-toc a > span, .blog-mobile-toc nav a > span { color: var(--primary); font-size: 10px; font-family: ui-monospace, monospace; }
.blog-sidebar-note { padding: 25px 0; }
.blog-sidebar-note > svg { width: 27px; height: 27px; color: var(--primary); }
.blog-sidebar-note h3 { margin: 12px 0 7px; font-size: 16px; }
.blog-sidebar-note p { color: var(--muted); font-size: 13px; line-height: 1.8; margin: 0 0 13px; }
.blog-sidebar-note a { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 650; text-decoration: none; }
.blog-reading-main { min-width: 0; max-width: 800px; }
.blog-mobile-toc { display: none; }
.blog-prose { padding: 32px 38px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); font-size: 17px; line-height: 1.95; color: var(--text-2); overflow-wrap: anywhere; }
.blog-prose > p:first-child { margin-top: 0; color: var(--text); font-size: 18px; }
.blog-prose h2 { scroll-margin-top: calc(var(--header-h) + 25px); color: var(--text); font-size: 24px; line-height: 1.65; font-weight: 650; margin: 36px 0 14px; }
.blog-prose h3 { color: var(--text); font-size: 19px; margin: 28px 0 12px; line-height: 1.7; }
.blog-prose p, .blog-prose ul, .blog-prose ol { margin: 17px 0; }
.blog-prose li { margin: 9px 0; padding-left: 3px; }
.blog-prose li::marker { color: var(--primary); font-weight: 600; }
.blog-prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; }
.blog-prose table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.8; }
.blog-prose th, .blog-prose td { text-align: start; padding: 12px 14px; min-width: 110px; vertical-align: top; border: 1px solid var(--border); }
.blog-prose th { background: var(--surface-2); color: var(--text); font-weight: 600; }
.blog-prose pre { margin: 24px 0; padding: 20px; overflow-x: auto; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); }
.blog-prose code { font-family: ui-monospace, monospace; font-size: .85em; }
.blog-figure { margin: 28px 0; }
.blog-figure > a { display: block; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #f7f5f0; }
.blog-figure img { display: block; width: 100%; height: auto; }
.blog-figure figcaption { margin-top: 10px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.blog-audio { margin: 24px 0 14px; padding: 20px; background: var(--primary-soft); border: 1px solid var(--border); border-radius: 12px; }
.blog-audio figcaption { font-size: 14px; line-height: 1.7; color: var(--text); font-weight: 600; margin-bottom: 14px; }
.blog-audio audio { display: block; width: 100%; min-width: 0; }
.blog-cta { padding: 36px 40px; margin-top: 28px; border-radius: 14px; background: #153e30; color: #f5f2e9; }
.blog-cta .blog-eyebrow { color: #b5c8ba; }
.blog-cta h2 { margin: 12px 0; color: inherit; font-size: 30px; line-height: 1.5; }
.blog-cta p { color: #cad8ce; line-height: 1.9; font-size: 15px; margin: 0 0 24px; }
.blog-cta > div { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.blog-cta .btn svg { width: 18px; height: 18px; }
.blog-cta-secondary { color: #dbe5df; text-decoration: none; font-size: 13px; }
.blog-notice { padding: 13px 18px; background: var(--warn-soft); color: var(--warn); border-radius: 9px; margin-top: 20px; font-size: 13px; }
/* Admin library and editor. Styles stay within the blog panel. */
#tab-blog { padding-top: 24px; }
.blog-admin-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.blog-admin-heading h2 { margin: 5px 0 8px; font-size: 29px; line-height: 1.5; }
.blog-admin-heading p { margin: 0; color: var(--muted); font-size: 14px; }
.blog-admin-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.blog-admin-actions svg { width: 17px; height: 17px; }
.blog-admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.blog-admin-stat { padding: 22px 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; display: flex; align-items: center; gap: 18px; }
.blog-admin-stat > span { display: flex; align-items: center; justify-content: center; width: 39px; height: 39px; color: var(--primary); background: var(--primary-soft); border-radius: 10px; font-size: 19px; }
.blog-admin-stat strong { display: block; font-size: 25px; font-weight: 650; line-height: 1.3; }
.blog-admin-stat small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.blog-admin-library { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.blog-admin-filters { display: grid; grid-template-columns: minmax(180px,1fr) 155px 175px auto; align-items: end; gap: 14px; padding: 22px; border-bottom: 1px solid var(--border); }
.blog-admin-filters .field { margin: 0; }
.blog-admin-filters label { display: block; color: var(--muted); font-size: 12px; margin-bottom: 6px; }
.blog-admin-filters input, .blog-admin-filters select { font-size: 13px; min-height: 43px; }
.blog-admin-table { width: 100%; border-collapse: collapse; text-align: start; }
.blog-admin-table th { padding: 13px 22px; color: var(--muted); background: var(--surface-2); font-size: 11px; font-weight: 550; white-space: nowrap; }
.blog-admin-table td { padding: 22px; border-top: 1px solid var(--border); vertical-align: middle; }
.blog-admin-table th:first-child { width: 58%; }
.blog-admin-table h3 { margin: 0 0 8px; font-size: 15px; font-weight: 600; line-height: 1.75; }
.blog-admin-table h3 a { color: var(--text); text-decoration: none; }
.blog-admin-table h3 a:hover { color: var(--primary); }
.blog-admin-row-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 11px; color: var(--muted); }
.blog-admin-table .blog-date { font-size: 11px; color: var(--muted); white-space: nowrap; }
.blog-status { display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; padding: 5px 9px; font-size: 11px; font-weight: 550; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; }
.blog-status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.blog-status.is-published { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.blog-admin-row-edit { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; color: var(--muted); }
.blog-admin-row-edit:hover { color: var(--primary); background: var(--primary-soft); }
.blog-admin-row-edit svg { width: 17px; height: 17px; }
.blog-admin-pagination { display: flex; justify-content: space-between; align-items: center; padding: 17px 22px; border-top: 1px solid var(--border); font-size: 12px; color: var(--muted); }
.blog-editor { display: grid; gap: 24px; }
.blog-editor-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.blog-editor-top h2 { font-size: 26px; margin: 4px 0 0; }
.blog-editor-back { font-size: 12px; color: var(--muted); border: 0; background: transparent; padding: 0; cursor: pointer; }
.blog-editor-layout { display: grid; grid-template-columns: minmax(0,1fr) 280px; gap: 24px; align-items: start; }
.blog-editor-writing { padding: 0; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); overflow: hidden; }
.blog-editor-writing-head { display: flex; align-items: center; justify-content: space-between; padding: 17px 24px; background: var(--surface-2); border-bottom: 1px solid var(--border); gap: 12px; }
.blog-editor-writing-head > span { font-size: 11px; color: var(--muted); }
.blog-editor-languages { display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; }
.blog-editor-languages button { padding: 6px 17px; min-height: 32px; border: 0; background: transparent; color: var(--muted); border-radius: 5px; font-size: 12px; font-weight: 550; cursor: pointer; }
.blog-editor-languages button[aria-pressed="true"] { color: var(--text); background: var(--surface); box-shadow: var(--shadow-sm); }
.blog-editor-writing section { padding: 26px; }
.blog-editor .field { margin: 0 0 20px; }
.blog-editor .field label { font-size: 12px; font-weight: 550; margin-bottom: 8px; }
.blog-editor .blog-title-field textarea { width: 100%; min-height: 110px; font-size: 24px; line-height: 1.6; font-weight: 650; padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; box-shadow: none; background: transparent; }
.blog-editor textarea { min-height: 92px; line-height: 1.9; font-size: 14px; resize: vertical; }
.blog-editor textarea.blog-body { min-height: 520px; font-size: 15px; padding: 20px; line-height: 2; border-radius: 0 0 8px 8px; }
.blog-editor-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; padding: 8px; border: 1px solid var(--border); border-bottom: 0; background: var(--surface-2); border-radius: 8px 8px 0 0; }
.blog-editor-toolbar button { padding: 6px 12px; border: 0; background: transparent; border-radius: 5px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.blog-editor-toolbar button:hover { background: var(--surface); }
.blog-editor-body-label { display: block; margin-bottom: 9px; font-size: 12px; font-weight: 550; }
.blog-editor .hint { font-size: 11px; line-height: 1.8; }
.blog-editor-settings { display: grid; gap: 18px; }
.blog-settings-card { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.blog-settings-card h3 { font-size: 14px; margin: 0 0 18px; }
.blog-settings-card .field:last-child { margin-bottom: 0; }
.blog-settings-card input, .blog-settings-card select { font-size: 12px; }
.blog-settings-card .blog-status { margin-bottom: 16px; }
.blog-editor-seo { border-top: 1px solid var(--border); margin-top: 25px; padding-top: 20px; }
.blog-editor-seo summary { font-size: 13px; cursor: pointer; font-weight: 600; }
.blog-editor-seo[open] summary { margin-bottom: 20px; }
.blog-editor-danger { border-color: color-mix(in srgb, var(--danger) 20%, var(--border)); }
.blog-editor-danger h3 { color: var(--danger); margin-bottom: 8px; }
.blog-editor-danger p { font-size: 11px; color: var(--muted); line-height: 1.8; margin: 0 0 12px; }
.blog-editor-danger button { border: 0; background: transparent; color: var(--danger); font-size: 12px; padding: 0; cursor: pointer; }
.blog-preview-panel { padding: 20px; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.blog-preview-panel > div { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.blog-preview-panel h3 { font-size: 15px; margin: 0; }
.blog-editor-preview { display: block; width: 100%; height: 72vh; border: 1px solid var(--border); border-radius: 9px; background: var(--bg); }
@media (min-width: 1440px) { .blog-shell { max-width: 1240px; } }
@media (max-width: 1050px) {
  .blog-discovery { align-items: stretch; flex-direction: column; gap: 15px; }
  .blog-search { flex-basis: auto; width: 100%; }
  .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .blog-featured .blog-card-content { padding: 28px; }
  .blog-featured h2 { font-size: 24px; }
  .blog-reading-layout { grid-template-columns: 185px minmax(0,1fr); gap: 25px; }
  .blog-prose { padding: 28px; }
  .blog-editor-layout { grid-template-columns: minmax(0,1fr) 245px; gap: 16px; }
}
@media (max-width: 760px) {
  .blog-intro { padding: 38px 0 28px; }
  .blog-intro-note { display: none; }
  .blog-intro-lead { font-size: 20px; }
  .blog-intro-description { font-size: 14px; }
  .blog-discovery { margin-bottom: 24px; padding: 14px 0; }
  .blog-filter { padding: 9px 12px; font-size: 12px; }
  .blog-featured.card { grid-template-columns: 1fr; margin-bottom: 35px; }
  .blog-featured .blog-art { min-height: 225px; }
  .blog-featured .blog-art-drawing { width: 265px; height: 225px; right: 2%; top: -6px; }
  .blog-featured .blog-art-caption { font-size: 20px; left: 24px; bottom: 24px; }
  .blog-featured .blog-card-content { padding: 25px; }
  .blog-featured h2 { font-size: 23px; }
  .blog-section-heading h2 { font-size: 23px; }
  .blog-library { flex-direction: column; padding: 26px; margin-top: 38px; }
  .blog-library-links { flex-basis: auto; }
  .blog-library h2 { font-size: 21px; }
  .blog-reading-layout { display: block; }
  .blog-reading-sidebar { display: none; }
  .blog-breadcrumb { margin: 23px 0 30px; }
  .blog-article-header { margin-bottom: 25px; }
  .blog-article-lead { font-size: 16px; }
  .blog-mobile-toc { display: block; border: 1px solid var(--border); border-radius: 10px; padding: 15px 20px; margin-bottom: 20px; background: var(--surface); }
  .blog-mobile-toc summary { font-size: 14px; font-weight: 600; cursor: pointer; }
  .blog-mobile-toc[open] summary { margin-bottom: 12px; }
  .blog-prose { padding: 23px; font-size: 16px; }
  .blog-prose > p:first-child { font-size: 17px; }
  .blog-prose h2 { font-size: 22px; }
  .blog-cta { padding: 28px; }
  .blog-cta h2 { font-size: 27px; }
  .blog-page .site-footer > .container { display: block; }
  .blog-page .site-footer p { margin-bottom: 20px; }
  .blog-admin-heading { flex-direction: column; }
  .blog-admin-heading h2 { font-size: 25px; }
  .blog-admin-stats { gap: 10px; }
  .blog-admin-stat { display: block; padding: 16px; }
  .blog-admin-stat > span { display: none; }
  .blog-admin-stat strong { font-size: 22px; }
  .blog-admin-filters { grid-template-columns: 1fr 1fr; gap: 12px; padding: 18px; }
  .blog-admin-filters > .field:first-child { grid-column: 1 / -1; }
  .blog-admin-filters > button { grid-column: 1 / -1; }
  .blog-admin-table thead { display: none; }
  .blog-admin-table, .blog-admin-table tbody { display: block; }
  .blog-admin-table tr { display: grid; grid-template-columns: 1fr auto; position: relative; padding: 20px; border-top: 1px solid var(--border); gap: 12px; }
  .blog-admin-table td { display: block; padding: 0; border: 0; }
  .blog-admin-table td:first-child { grid-column: 1 / -1; padding-right: 32px; }
  .blog-admin-table td:last-child { position: absolute; right: 15px; top: 20px; }
  .blog-admin-table h3 { font-size: 14px; }
  .blog-editor-top { align-items: flex-start; flex-direction: column; }
  .blog-editor-top .blog-admin-actions { width: 100%; }
  .blog-editor-top .blog-admin-actions > button { flex: 1; }
  .blog-editor-layout { grid-template-columns: 1fr; }
  .blog-editor-settings { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .blog-editor-writing section { padding: 20px; }
  .blog-editor-writing-head { padding: 13px 18px; }
  .blog-editor-writing-head > span { display: none; }
  .blog-editor .blog-title-field textarea { font-size: 20px; }
}
@media (max-width: 520px) {
  .blog-grid { grid-template-columns: 1fr; gap: 22px; }
  .blog-card-content { padding: 23px; }
  .blog-card h2 { font-size: 20px; }
  .blog-art { height: 180px; }
  .blog-shell { padding-bottom: 42px; }
  .blog-page .site-header .btn { padding: 9px 12px; font-size: 12px; }
  .blog-page .site-header .brand-logo { width: 132px; }
  .blog-page .site-header .lang-switch { padding: 8px 10px; font-size: 11px; }
  .blog-prose { padding: 21px 18px; border-radius: 10px; }
  .blog-byline .blog-author-mark { width: 33px; height: 33px; font-size: 16px; }
  .blog-byline div > span, .blog-reading-time { font-size: 10px; }
  .blog-editor-settings { grid-template-columns: 1fr; }
  .blog-editor-writing section { padding: 16px; }
  .blog-editor .blog-title-field textarea { min-height: 155px; }
  .blog-admin-actions .btn { padding: 9px 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .blog-card.card { transition: none; } .blog-card:hover { transform: none; } }
