/* v5.06 Videnscenter. Isolated from incident dashboards and maps. */
body.post-type-archive-o112_knowledge,body.single-o112_knowledge,body.tax-o112_viden_emne{overflow-y:auto!important;height:auto!important;min-height:100vh}
.o112-knowledge-app{min-height:100vh!important;height:auto!important;overflow:visible!important;display:flex;flex-direction:column}
.o112-knowledge-container{width:min(1440px,calc(100% - 40px));margin:0 auto;box-sizing:border-box;padding:30px 0 90px;color:#e5edf5;flex:1;line-height:1.65}
.o112-knowledge-crumb{font-size:13px;color:#92aabf;margin:0 0 22px;overflow-wrap:anywhere}
.o112-knowledge-crumb a{color:#9ad5fa;text-decoration:none}.o112-knowledge-crumb span{padding:0 7px}
.o112-knowledge-hero{padding:clamp(24px,4vw,55px);border:1px solid #30495d;border-radius:20px;background:linear-gradient(120deg,#142d40,#10212e 70%);margin-bottom:25px}
.o112-knowledge-kicker{font-size:12px;letter-spacing:.13em;font-weight:750;color:#7bddcc}
.o112-knowledge-hero h1{color:white;font-size:clamp(32px,4vw,56px);margin:8px 0 12px;line-height:1.13}
.o112-knowledge-hero p{max-width:900px;font-size:clamp(16px,1.4vw,20px);color:#c5d7e5;margin:0 0 20px}
.o112-knowledge-actions{display:flex;flex-wrap:wrap;gap:10px}
.o112-knowledge-actions a,.o112-knowledge-filters a{padding:10px 15px;border:1px solid #46657a;border-radius:10px;text-decoration:none;color:#dcebf6;background:#1a3143}
.o112-knowledge-actions a:hover,.o112-knowledge-filters a:hover,.o112-knowledge-filters a.is-active{background:#254b65;border-color:#78bde5}
.o112-knowledge-filters{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 24px}
.o112-knowledge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.o112-knowledge-card{min-width:0;overflow:hidden;border:1px solid #2d4458;border-radius:16px;background:#152839;display:flex;flex-direction:column}
.o112-knowledge-thumb{display:block}.o112-knowledge-thumb img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.o112-knowledge-card-body{padding:22px;display:flex;flex-direction:column;flex:1}
.o112-knowledge-tag{color:#80d2e8;font-size:12px;font-weight:750;letter-spacing:.06em;text-transform:uppercase}
.o112-knowledge-card h2,.o112-knowledge-card h3{font-size:clamp(18px,1.55vw,23px);line-height:1.3;margin:11px 0}
.o112-knowledge-card h2 a,.o112-knowledge-card h3 a{color:white;text-decoration:none}
.o112-knowledge-card h2 a:hover,.o112-knowledge-card h3 a:hover{text-decoration:underline}
.o112-knowledge-card p{margin:0 0 20px;color:#b8ccdc;font-size:15px;flex:1}
.o112-knowledge-read{color:#9fe1fb;text-decoration:none;font-weight:700;margin-top:auto}
.o112-knowledge-pagination{margin:30px 0}.o112-knowledge-pagination a,.o112-knowledge-pagination span{color:#d0e6f5;margin-right:12px}
.o112-knowledge-note{margin-top:30px;padding:19px 23px;border-left:3px solid #79b9db;background:#172b3c;border-radius:6px;color:#cbdde9}
.o112-knowledge-single{max-width:1030px}
.o112-knowledge-article{background:#152839;border:1px solid #30485a;border-radius:18px;overflow:hidden}
.o112-knowledge-article-head{padding:clamp(22px,4vw,54px);border-bottom:1px solid #2c465b}
.o112-knowledge-article-head h1{font-size:clamp(28px,3.1vw,47px);line-height:1.15;color:white;margin:12px 0 19px}
.o112-knowledge-subtitle{font-size:clamp(16px,1.45vw,20px);color:#c2d6e4;line-height:1.55}
.o112-knowledge-date{font-size:13px;color:#90a9bc;margin-top:15px}
.o112-knowledge-cover img{width:100%;height:auto;max-height:550px;object-fit:cover;display:block}
.o112-knowledge-prose{padding:clamp(22px,5vw,60px);font-size:clamp(16px,1.35vw,19px);line-height:1.8;overflow-wrap:anywhere}
.o112-knowledge-prose h2{font-size:clamp(22px,2vw,29px);color:#fff;line-height:1.3;margin:36px 0 12px}
.o112-knowledge-prose h2:first-child{margin-top:0}
.o112-knowledge-prose p{color:#d2dfeb;margin:0 0 19px}
.o112-knowledge-prose a{color:#a8e2ff;text-decoration:underline}
.o112-knowledge-prose li{margin-bottom:8px}.o112-knowledge-prose ul{padding-left:25px}
.o112-knowledge-prose .o112-knowledge-lead{font-size:1.11em;color:#e8f3fa}
.o112-knowledge-related{margin-top:35px}.o112-knowledge-related h2{color:white;font-size:25px}
@media(max-width:1000px){.o112-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.o112-knowledge-container{width:calc(100% - 24px);padding:18px 0 65px}.o112-knowledge-grid{grid-template-columns:1fr;gap:12px}.o112-knowledge-hero{padding:22px}.o112-knowledge-card-body{padding:18px}.o112-knowledge-article-head{padding:22px}.o112-knowledge-prose{padding:22px}}


/* v5.07: Knowledge pages are scrollable documents, not the fixed-height live map.
   The global desktop viewport grid previously placed the site footer over article text. */
body.odin112-next-body:is(.post-type-archive-o112_knowledge,.single-o112_knowledge,.tax-o112_viden_emne){
  display:block!important;
  height:auto!important;
  min-height:100dvh!important;
  max-height:none!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  padding-bottom:0!important;
}
body.odin112-next-body:is(.post-type-archive-o112_knowledge,.single-o112_knowledge,.tax-o112_viden_emne) > .o112-app.o112-knowledge-app{
  display:flex!important;
  flex-direction:column!important;
  position:relative!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  grid-row:auto!important;
}
body.odin112-next-body:is(.post-type-archive-o112_knowledge,.single-o112_knowledge,.tax-o112_viden_emne) > .o112-sitefoot{
  position:static!important;
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px 12px!important;
  grid-row:auto!important;
  inset:auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:12px 18px!important;
  line-height:1.5!important;
  z-index:auto!important;
}
body.odin112-next-body:is(.post-type-archive-o112_knowledge,.single-o112_knowledge,.tax-o112_viden_emne) > .o112-sitefoot .o112-sitefoot__credits{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
@media(max-width:760px){
  body.odin112-next-body:is(.post-type-archive-o112_knowledge,.single-o112_knowledge,.tax-o112_viden_emne) > .o112-sitefoot{
    padding:12px 14px 18px!important;
  }
}

/* v5.08 – Featured images: preserve the entire image in a consistent card frame.
   Cropping with object-fit:cover previously cut off portrait/square thumbnails. */
.o112-knowledge-grid .o112-knowledge-thumb,
.o112-knowledge-grid .o112-knowledge-thumb-placeholder{
  display:flex;
  width:100%;
  aspect-ratio:16 / 9;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:#0b1a27;
  border-bottom:1px solid #2d4458;
}
.o112-knowledge-grid .o112-knowledge-thumb img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  aspect-ratio:auto;
  object-fit:contain;
  object-position:center;
}
.o112-knowledge-grid .o112-knowledge-thumb-placeholder{
  color:#93b4ca;
  font-size:13px;
  font-weight:700;
  letter-spacing:.07em;
  text-transform:uppercase;
}

/* v5.30 – unified 16:9 editorial covers in listings and article view. */
.o112-knowledge-thumb { aspect-ratio:16 / 9; overflow:hidden; }
.o112-knowledge-thumb img,
.o112-knowledge-cover img { display:block; width:100%; aspect-ratio:16 / 9; height:auto; max-height:none; object-fit:cover; }
