/* Knowledge presentation, 31 October 2026, revision 3.
   Shared typography is scoped to knowledge pages and journal articles. */
body:has(.sbv-editorial) { --sbv-editorial-ink:#292b2c; --sbv-editorial-muted:#62666a; --sbv-editorial-line:#d8dadc; }
body:has(.sbv-editorial) .sbv-knowledge { max-width:1200px; color:var(--sbv-editorial-ink); }
body:has(.sbv-editorial) .sbv-knowledge a { color:#2563eb; font-weight:400; }
body:has(.sbv-editorial) .sbv-knowledge a:focus-visible,
body:has(.sbv-editorial) .sbv-knowledge summary:focus-visible,
body:has(.sbv-editorial) .sbv-knowledge input:focus-visible,
body:has(.sbv-editorial) .sbv-knowledge select:focus-visible { outline:2px solid #343739; outline-offset:5px; }
body:has(.sbv-editorial) .sbv-knowledge__switch { font-size:15px; gap:28px; margin-bottom:48px; border-color:var(--sbv-editorial-line); }
body:has(.sbv-editorial) .sbv-knowledge__switch a { padding:8px 0; }
body:has(.sbv-editorial) .sbv-knowledge__switch a[aria-current=page] { border-bottom-color:var(--sbv-editorial-ink); }
body:has(.sbv-editorial) .page-top-wrapper { background:#f9f9f9; }
body:has(.sbv-editorial) .page-top h1 { font-weight:400; letter-spacing:-.035em; }
body:has(.sbv-editorial) .sbv-knowledge .sbv-knowledge__lead { color:var(--sbv-editorial-ink); max-width:1040px; margin-bottom:52px; font-weight:400; }
body:has(.sbv-editorial) .sbv-knowledge p a { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:4px; }
/* Journal: large editorial opening, followed by a clear rubric/article hierarchy. */
body:has(.sbv-editorial--journal) .sbv-knowledge .sbv-knowledge__lead { font-family:inherit; font-size:24px; line-height:1.55; letter-spacing:-.025em; }
.sbv-editorial--journal .sbv-journal__contents { display:flex; flex-wrap:wrap; gap:10px 28px; margin:0 0 32px; font-size:15px; }
.sbv-editorial--journal .sbv-journal__contents a { padding:8px 0; text-decoration:underline; text-decoration-color:#b1b4b6; text-underline-offset:6px; text-decoration-thickness:1px; }
.sbv-editorial--journal .sbv-journal__contents a:hover { text-decoration-color:#292b2c; }
.sbv-editorial--journal .sbv-journal__search-panel { margin-top:0; border-color:var(--sbv-editorial-line); }
.sbv-editorial--journal .sbv-knowledge__count { margin:22px 0 0; color:var(--sbv-editorial-muted); }
.sbv-editorial--journal .sbv-journal__grid,
.sbv-editorial--journal .sbv-journal__grid[data-filtered=true] { display:block; max-width:none; margin-top:28px; }
.sbv-editorial--journal .sbv-journal__section { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.8fr); gap:64px; padding:36px 0 44px; border-top:1px solid #b8bcbe; scroll-margin-top:110px; }
.sbv-editorial--journal .sbv-journal__section header { min-width:0; }
.sbv-editorial--journal .sbv-journal__section h2 { font-family:inherit; font-size:32px; font-weight:400; letter-spacing:-.025em; line-height:1.2; margin-bottom:18px; }
.sbv-editorial--journal .sbv-journal__meta { font-size:12px; letter-spacing:.07em; margin-bottom:18px; color:var(--sbv-editorial-muted); }
.sbv-editorial--journal .sbv-journal__intro { font-size:16px; line-height:1.6; color:var(--sbv-editorial-muted); }
.sbv-editorial__articles { min-width:0; }
.sbv-editorial--journal .sbv-knowledge__row { padding:20px 0; border-color:var(--sbv-editorial-line); }
.sbv-editorial--journal .sbv-editorial__articles > .sbv-knowledge__row:first-child { border-top:0; padding-top:0; }
.sbv-editorial--journal .sbv-knowledge__row h3 { font-size:22px; line-height:1.4; font-weight:400; }
body:has(.sbv-editorial--journal) .sbv-knowledge__row h3 a { display:flex; align-items:flex-start; justify-content:space-between; gap:24px; font-weight:400!important; }
.sbv-editorial--journal .sbv-editorial__article-arrow { flex:0 0 auto; font-size:20px; line-height:1.6; font-weight:400; }
.sbv-editorial--journal .sbv-journal__more { margin-top:0; border-color:var(--sbv-editorial-line); }
.sbv-editorial--journal .sbv-journal__more summary { min-height:48px; font-size:15px; }
.sbv-editorial--journal .sbv-journal__atlas-note { max-width:none; margin-top:4px; padding-top:28px; }
/* Atlas: the STRUGA reference's numbered chapters, pale field and quiet white cards. */
.sbv-editorial--atlas { background:#f4f4f4; padding:40px; }
body:has(.sbv-editorial--atlas) .sbv-knowledge .sbv-knowledge__lead { max-width:960px; font-size:24px; line-height:1.55; margin-bottom:44px; color:#4b5053; }
.sbv-editorial__chapter-heading { display:flex; gap:18px; align-items:baseline; border-top:1px solid var(--sbv-editorial-line); padding-top:26px; margin-bottom:28px; }
.sbv-editorial__chapter-heading > span { flex:0 0 auto; font-size:13px; letter-spacing:.08em; }
.sbv-editorial__chapter-heading h2 { font-size:32px; font-weight:400; line-height:1.2; margin:0; letter-spacing:-.035em; }
.sbv-editorial--atlas .sbv-knowledge__map { grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.sbv-editorial--atlas .sbv-knowledge__map .sbv-editorial__card { min-width:0; position:relative; border:1px solid #e4e5e6; background:#fff; padding:0; }
.sbv-editorial--atlas .sbv-editorial__card a { display:block; height:100%; padding:28px; text-decoration:none; }
.sbv-editorial--atlas .sbv-editorial__card h3 { display:block; font-size:22px; line-height:1.3; font-weight:400; margin:0 28px 16px 0; letter-spacing:-.015em; }
.sbv-editorial--atlas .sbv-editorial__card p { font-size:16px; line-height:1.55; color:var(--sbv-editorial-muted); margin:0; }
.sbv-editorial__arrow { position:absolute; right:24px; top:27px; font-size:23px; line-height:1.3; }
.sbv-editorial--atlas .sbv-editorial__card:hover { border-color:#8c9296; }
.sbv-editorial--atlas .sbv-editorial__card a:hover h3 { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:5px; }
.sbv-editorial--atlas .sbv-knowledge__aside { border:0; padding:0; margin-top:52px; }
.sbv-editorial--atlas .sbv-knowledge__aside > p { max-width:800px; color:var(--sbv-editorial-muted); }
@media(max-width:1100px) {
 .sbv-editorial--journal .sbv-journal__section { grid-template-columns:minmax(0,1fr) minmax(0,1.6fr); gap:36px; }
 .sbv-editorial--journal .sbv-journal__section h2 { font-size:32px; }
 .sbv-editorial--atlas { padding:28px; }
 .sbv-editorial--atlas .sbv-knowledge__map { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:767px) {
 body:has(.sbv-editorial) .sbv-knowledge__switch { margin-bottom:30px; }
 body:has(.sbv-editorial) .sbv-knowledge .sbv-editorial--journal .sbv-knowledge__lead { font-size:20px; margin-bottom:30px; }
 .sbv-editorial--journal .sbv-journal__contents { gap:6px 20px; font-size:15px; }
 .sbv-editorial--journal .sbv-journal__section { grid-template-columns:1fr; gap:12px; padding:28px 0 32px; }
 .sbv-editorial--journal .sbv-journal__section h2 { font-size:26px; }
 .sbv-editorial--journal .sbv-knowledge__row h3 { font-size:20px; }
 .sbv-editorial--journal .sbv-knowledge__row { padding:18px 0; }
 .sbv-editorial--journal .sbv-journal__meta { margin-bottom:12px; }
 .sbv-editorial--atlas { padding:22px 16px; }
 body:has(.sbv-editorial--atlas) .sbv-knowledge .sbv-knowledge__lead { font-size:20px; margin-bottom:32px; }
 .sbv-editorial--atlas .sbv-knowledge__map { grid-template-columns:minmax(0,1fr); gap:14px; }
 .sbv-editorial__chapter-heading { gap:12px; padding-top:22px; margin-bottom:24px; }
 .sbv-editorial__chapter-heading h2 { font-size:26px; }
 .sbv-editorial--atlas .sbv-editorial__card a { padding:24px 20px; }
 .sbv-editorial--atlas .sbv-editorial__card h3 { display:block; font-size:20px; margin-right:27px; }
 .sbv-editorial__arrow { right:18px; top:23px; }
}
@media(prefers-reduced-motion:no-preference) {
 .sbv-editorial__card { transition:border-color .15s ease; }
}

body:has(.sbv-editorial) #scrollToTop { background-color:#343739!important; }

body:has(.sbv-editorial) .sbv-editorial h2,
body:has(.sbv-editorial) .sbv-editorial h3 { text-align:left; }

@media(max-width:374px) { .sbv-editorial--atlas .sbv-editorial__card h3 { font-size:19px; } }

/* Shared quiet sans typography. Reuse the site's existing self-hosted Jost files. */
@font-face{font-family:SBVKnowledgeJost;font-style:normal;font-weight:400;font-display:swap;src:url('/local/include/sbv/brand-hubs/dahua/v1/fonts/jost-400-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:SBVKnowledgeJost;font-style:normal;font-weight:400;font-display:swap;src:url('/local/include/sbv/brand-hubs/dahua/v1/fonts/jost-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:SBVKnowledgeJost;font-style:normal;font-weight:500;font-display:swap;src:url('/local/include/sbv/brand-hubs/dahua/v1/fonts/jost-500-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:SBVKnowledgeJost;font-style:normal;font-weight:500;font-display:swap;src:url('/local/include/sbv/brand-hubs/dahua/v1/fonts/jost-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top-wrapper{background:#f9f9f9}
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top #pagetitle{font-family:SBVKnowledgeJost,Jost,Arial,sans-serif;font-size:clamp(28px,3vw,40px);font-weight:400;line-height:1.18;letter-spacing:-.025em;hyphens:none;word-break:normal;overflow-wrap:normal}
body .sbv-knowledge,
body .sbv-knowledge :is(h2,h3,input,select,summary),
body .sbv-funnel-journal :is(h2,h3){font-family:SBVKnowledgeJost,Jost,Arial,sans-serif}
body .sbv-knowledge :is(h2,h3),
body .sbv-funnel-journal :is(h2,h3){font-weight:400}
body .sbv-knowledge a{color:#2563eb;font-weight:400}
body .sbv-knowledge .sbv-knowledge__row h3 a{font-weight:400!important}
/* Contents and contextual links share the canonical blue. */
body .sbv-funnel-journal .sbv-funnel-journal__toc{border:0;border-top:1px solid #d8dadc;padding:22px 0;margin-bottom:36px}
body .sbv-funnel-journal .sbv-funnel-journal__toc-links{gap:0 28px}
body .sbv-funnel-journal .sbv-funnel-journal__toc a{display:block;color:#2563eb;font-weight:400;padding:12px 0;border-bottom:1px solid #e4e5e6;line-height:1.5}
body .sbv-funnel-journal .sbv-funnel-journal__toc a:hover{color:#1d4ed8;text-decoration:underline!important;text-underline-offset:4px}
@media(max-width:767px){body .sbv-funnel-journal .sbv-funnel-journal__toc-links{grid-template-columns:1fr}}

/* Readable breadcrumb text on the preserved gray title band. */
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs,
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs *{color:#707070}
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a:hover,
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a:hover *{color:#292b2c}

/* Shared type roles, based on the approved journal article. */
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)){--sbv-type-body:16px;--sbv-type-section:32px;--sbv-type-subheading:22px;--sbv-type-lead:24px;--sbv-link:#2563eb;--sbv-link-hover:#1d4ed8}
body .sbv-knowledge{font-size:var(--sbv-type-body);line-height:1.6;color:#202124}
body .sbv-knowledge .sbv-knowledge__path>p,
body .sbv-knowledge .sbv-knowledge__path li{font-size:var(--sbv-type-body);line-height:1.6}
body .sbv-knowledge .sbv-knowledge__path h2,
body .sbv-knowledge .sbv-journal__section h2,
body .sbv-knowledge .sbv-editorial__chapter-heading h2,
body .sbv-funnel-journal h2{font-size:var(--sbv-type-section);font-weight:400;line-height:1.2;letter-spacing:0;color:#202124}
body .sbv-knowledge .sbv-knowledge__row h3,
body .sbv-knowledge .sbv-editorial__card h3,
body .sbv-funnel-journal h3{font-size:var(--sbv-type-subheading);font-weight:400;line-height:1.3;letter-spacing:0}
body .sbv-knowledge .sbv-knowledge__lead,
body .sbv-funnel-journal .sbv-funnel-journal__lead{font-size:var(--sbv-type-lead);line-height:1.55;font-weight:400;letter-spacing:0}
body .sbv-funnel-journal .sbv-hl{background:#e7e7ea;color:#202124;white-space:normal;hyphens:none;word-break:normal;overflow-wrap:normal;border-radius:0;font-weight:400;padding:0 6px;box-decoration-break:slice;-webkit-box-decoration-break:slice}
/* Text links remain blue in navigation and prose; native button surfaces keep their contrast. */
body .sbv-knowledge a,
body .sbv-funnel-journal a:not(.sbv-funnel-journal__action):not(.btn):not([role=button]){color:var(--sbv-link)}
body .sbv-knowledge a:hover,
body .sbv-funnel-journal a:not(.sbv-funnel-journal__action):not(.btn):not([role=button]):hover{color:var(--sbv-link-hover)}
body .sbv-knowledge .sbv-editorial__card h3,
body .sbv-funnel-journal h2 a,
body .sbv-funnel-journal h3 a{color:var(--sbv-link)}
body .sbv-knowledge .sbv-editorial__card a:hover h3{color:var(--sbv-link-hover)}
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a[href]:not([href=""]),
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a[href]:not([href=""]) *{color:var(--sbv-link)}
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a[href]:not([href=""]):hover,
body:has(:is(.sbv-knowledge,.sbv-funnel-journal)) .page-top .breadcrumbs a[href]:not([href=""]):hover *{color:var(--sbv-link-hover)}
@media(max-width:767px){body:has(:is(.sbv-knowledge,.sbv-funnel-journal)){--sbv-type-section:26px;--sbv-type-subheading:20px;--sbv-type-lead:20px}}
@media(max-width:374px){body .sbv-knowledge .sbv-editorial__card h3{font-size:19px}}

body .sbv-knowledge .sbv-knowledge__switch a[aria-current=page]{color:var(--sbv-link)}
body .sbv-knowledge .sbv-knowledge__switch a[aria-current=page]:hover{color:var(--sbv-link-hover)}
@media(min-width:768px) and (max-width:1100px){.sbv-editorial--journal .sbv-journal__section{grid-template-columns:minmax(0,1.1fr) minmax(0,1.5fr)}}
