/* Readable navigation and editorial media; EIWTC release 22 November 2026. */
.topbar { height: auto; min-height: 32px; padding-block: .35rem; line-height: 1.45; }
.site-header .header-inner { gap: 1.25rem; }
.site-header .main-nav { font-size: 1.0625rem; font-weight: 600; line-height: 1.4; gap: clamp(.85rem, 1.25vw, 1.5rem); }
.site-header .main-nav > a { min-height: 48px; display: flex; align-items: center; padding: .85rem 0; white-space: nowrap; color: #17313b; }
.site-header .main-nav > a.active { border-bottom-color: #98662f; }
.site-header .main-nav a:focus-visible, .site-header .menu-button:focus-visible { outline: 3px solid #98662f; outline-offset: 4px; }
.site-header .language { padding-left: 1rem; }
.site-header .eiwtc-lang-switch { padding: .2rem; gap: .15rem; }
.site-header .eiwtc-lang-switch a { min-width: 44px; width: auto; height: 48px; flex-direction: column; gap: .2rem; line-height: 1; font-size: .875rem; font-weight: 650; color: #17313b; }
.site-header .eiwtc-lang-switch a.active { color: #fff; }
.site-header .eiwtc-lang-switch .flag-svg { width: 24px; height: 15px; }
.site-header .menu-button { min-width: 48px; min-height: 48px; align-items: center; justify-content: center; flex: 0 0 auto; }
.site-header .eiwtc-lang-code { display: block; letter-spacing: .02em; }
@media (min-width: 1321px) {
  .site-header .main-nav { font-size: 1.0625rem; }
}
@media (max-width: 1320px) {
  .site-header .menu-button { display: flex; }
  .site-header .main-nav { font-size: 1.125rem; gap: .15rem; max-height: var(--eiwtc-menu-height, calc(100dvh - 112px)); overflow-y: auto; overscroll-behavior: contain; }
  .site-header .main-nav > a { padding: .8rem .75rem; min-height: 54px; white-space: normal; border-bottom: 0; border-left: 3px solid transparent; }
  .site-header .main-nav > a.active { border-left-color: #98662f; background: #eee8dc; }
  .site-header .language { padding: .6rem 0 .3rem; }
  .site-header .eiwtc-lang-switch { max-width: 100%; flex-wrap: wrap; }
  .site-header .eiwtc-lang-switch a { width: 48px; height: 48px; }
}
/* Content-driven compact mode also covers large browser text settings. */
.site-header.eiwtc-nav-compact .header-inner { min-height: 78px; }
.site-header.eiwtc-nav-compact .menu-button { display: flex; }
.site-header.eiwtc-nav-compact .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 1rem 5%; flex-direction: column; align-items: stretch; gap: .15rem; font-size: 1.125rem; background: #fcfbf8; border-bottom: 1px solid #d7e0e1; max-height: var(--eiwtc-menu-height, calc(100dvh - 112px)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 15px 20px #142f370c; }
.site-header.eiwtc-nav-compact .main-nav.open { display: flex; }
.site-header.eiwtc-nav-compact .main-nav > a { padding: .8rem .75rem; white-space: normal; min-height: 54px; border-bottom: 0; border-left: 3px solid transparent; }
.site-header.eiwtc-nav-compact .main-nav > a.active { border-left-color: #98662f; background: #eee8dc; }
.site-header.eiwtc-nav-compact .language { padding: .6rem 0 .3rem; border: 0; }
.site-header.eiwtc-nav-compact .eiwtc-lang-switch { flex-wrap: wrap; max-width: 100%; }
.site-header.eiwtc-nav-compact .eiwtc-lang-switch a { width: 48px; }
.eiwtc-lv-video { margin: 1.5rem 0 0; padding: clamp(1rem, 3vw, 2rem); border: 1px solid #c8d3d4; background: #fcfbf8; color: #17313b; min-width: 0; overflow-wrap: anywhere; }
.eiwtc-cfg .eiwtc-lv-video h3 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); line-height: 1.2; margin: .25rem 0 .65rem; }
.eiwtc-cfg .eiwtc-lv-video p { margin: .65rem 0; }
.eiwtc-lv-video .eiwtc-video-frame { margin: 1rem 0; }
.eiwtc-lv-video video { display: block; width: 100%; max-height: 75vh; aspect-ratio: 16 / 9; background: #17242c; object-fit: contain; }
@media (max-width: 600px) {
  .eiwtc-lv-video video { min-height: 18rem; object-position: center top; }
  .eiwtc-lv-video video::cue { font-size: .875rem; font-family: Arial, sans-serif; line-height: 1.4; white-space: pre-line; }
}
.eiwtc-lv-video video:fullscreen,
.eiwtc-lv-video video.eiwtc-video-fullscreen { width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; object-position: center; }
.eiwtc-lv-video video:fullscreen::cue,
.eiwtc-lv-video video.eiwtc-video-fullscreen::cue { font-size: clamp(1rem, 2.2vw, 1.8rem); font-family: Arial, sans-serif; line-height: 1.4; white-space: pre-line; }
.eiwtc-lv-video figcaption, .eiwtc-media-meta { font-size: .875rem; line-height: 1.5; color: #3c535b; }
.eiwtc-media-links { display: flex; gap: .5rem 1.25rem; flex-wrap: wrap; margin-top: .75rem; }
.eiwtc-media-links a, .eiwtc-video-card a, .eiwtc-video-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: .2em; font-weight: 600; }
.eiwtc-lv-video details, .eiwtc-brief-archive { border-top: 1px solid #c8d3d4; margin-top: 1rem; padding-top: .5rem; }
.eiwtc-lv-video summary, .eiwtc-brief-archive summary { min-height: 44px; padding-block: .5rem; cursor: pointer; font-weight: 600; }
.eiwtc-lv-video details section { margin-block: 1rem; }
.eiwtc-cfg .eiwtc-lv-video details h4 { font-size: 1.15rem; margin-bottom: .5rem; }
.eiwtc-video-card { margin-bottom: 2rem; padding: clamp(1rem, 3vw, 2rem); background: #f0eee7; border-left: 3px solid #98662f; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.eiwtc-video-card img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; background: #17242c; }
.eiwtc-video-card :is(h2,h3) { margin-top: .25rem; font-size: clamp(1.5rem, 2.5vw, 2rem); line-height: 1.25; }
.eiwtc-knowledge-video { padding-block: 0; }
.eiwtc-knowledge-video .eiwtc-video-card { margin-bottom: 0; }
.eiwtc-video-note { padding: 1rem 1.25rem; border-left: 3px solid #98662f; background: #f0eee7; margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.eiwtc-staging-only { border: 3px dashed #9b3d23; background: #fff2e9; padding: 1rem; }
.eiwtc-brief-archive .eiwtc-deck-downloads { margin-top: .5rem; }
.eiwtc-brief-archive p { font-size: .875rem; }
.kw-service :is(.detail-layout, .advisory-scope-key) > * { min-width: 0; overflow-wrap: anywhere; }
.kw-service .advisory-scope-key span { min-width: 0; }
.kw-service .advisory-sample-details summary { overflow-wrap: anywhere; }
.lv-showcase { overflow-wrap: anywhere; }
.lv-showcase :is(.lv-hero-text, .lv-document-cover, .lv-document-detail, .lv-rule) { min-width: 0; overflow-wrap: anywhere; }
.lv-showcase .lv-cta a.lv-btn { white-space: normal; }
@media (max-width: 760px) { .lv-showcase .lv-kpis { grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr)); } }
@media (max-width: 700px) { .eiwtc-video-card { grid-template-columns: minmax(0, 1fr); } }
