/* Kurssidor i stil B: sidhuvud, sidfot och typografi som startsidan */
html body:is(body,#r1) .vh-header{position:sticky !important;top:0 !important;z-index:30 !important;background:rgba(255,255,255,.92) !important;backdrop-filter:blur(12px);border-bottom:1px solid #ECEBF0 !important}
html body:is(body,#r1) .vh-header-in{border:0 !important;min-height:84px !important;align-items:center !important}
html body:is(body,#r1) .vh-header .v3-logo img{height:52px !important}
html body:is(body,#r1) .vh-header .vk-menu a{font-size:15px !important;font-weight:400 !important;text-decoration:none !important;border:0 !important;color:#141414 !important}
html body:is(body,#r1) .vh-header .vk-menu a:hover,html body:is(body,#r1) .vh-header .vk-menu a[aria-current="page"]{color:#2F35C8 !important}
html body:is(body,#r1) .vh-header a.vh-cta{display:inline-flex !important;align-items:center !important;min-height:46px !important;padding:0 22px !important;border-radius:999px !important;background:#141414 !important;color:#fff !important;border:0 !important;font-size:15px !important;font-weight:500 !important;text-decoration:none !important}
html body:is(body,#r1) .vh-header a.vh-cta:hover{background:#2F35C8 !important}
html body:is(body,#r1) main :is(h1,h2,#zz){font-weight:300 !important;letter-spacing:-.045em !important}
html body:is(body,#r1) .vk-footer{background:#F6F6F8 !important;color:#141414 !important;border-top:1px solid #ECEBF0 !important}
html body:is(body,#r1) .vk-footer :is(a,p,span,li){color:#141414 !important}
html body:is(body,#r1) .vk-footer p{color:#55535D !important}
html body:is(body,#r1) .vk-footer h2{color:#6A6873 !important}
html body:is(body,#r1) .vk-footer a:hover{color:#2F35C8 !important}
html body:is(body,#r1) .vk-footer-bottom{border-top:1px solid #CFCDD6 !important}
html body:is(body,#r1) .vk-footer-bottom :is(span,a){color:#6A6873 !important}
@media (max-width:1023px){html body:is(body,#r1) .vh-header a.vh-cta{display:none !important}html body:is(body,#r1) .vh-header .v3-logo img{height:46px !important}}
html body:is(body,#r1) .vh-header .vk-menu .vk-menu-cta a{background:#2F35C8 !important;color:#fff !important;border-radius:999px !important}
/* Kompakt header som startsidan (nov 10) */
@media (min-width:1024px){
html body:is(body,#r1) .vh-header-in{min-height:68px !important;gap:28px !important;max-width:1240px !important;padding-left:32px !important;padding-right:32px !important;margin:0 auto !important;display:flex !important}
html body:is(body,#r1) .vh-header nav{margin-left:auto !important}
html body:is(body,#r1) .vh-header .vk-menu{gap:26px !important}
html body:is(body,#r1) .vh-header .vk-menu li{margin:0 !important}
}
html body:is(body,#r1) .vh-header .v3-logo img{height:44px !important}
html body:is(body,#r1) .vh-header a.vh-cta{min-height:42px !important;padding:0 20px !important;font-size:14.5px !important}
@media (max-width:1023px){html body:is(body,#r1) .vh-header-in{min-height:64px !important}html body:is(body,#r1) .vh-header .v3-logo img{height:40px !important}}
html body:is(body,#r1) .vh-header-in{padding-top:0 !important;padding-bottom:0 !important}html body:is(body,#r1) .vh-header .v3-logo{line-height:0 !important}html body:is(body,#r1) .vh-header .v3-logo img{width:auto !important}
/* Nytt kursinnehåll: underrubriker och etiketter i löptext (nov 11) */
html body:is(body,#r1) .kv-lesson h3.kv-h3,html body:is(body,#r1) .kv-sec h3.kv-h3{margin:34px 0 10px !important;padding-top:22px !important;border-top:1px solid #ECEBF0 !important;font-size:20px !important;font-weight:500 !important;letter-spacing:-.01em !important;color:#141414 !important}
html body:is(body,#r1) p.kv-label-in{margin:22px 0 4px !important;font-size:12px !important;font-weight:600 !important;letter-spacing:.08em !important;text-transform:uppercase !important;color:#2F35C8 !important}
html body:is(body,#r1) .kv-note p.kv-label+p,html body:is(body,#r1) .kv-note p:last-child{margin-bottom:0}
/* Ögonbrynet ligger i H1 för sökordens skull men ska se ut som tidigare */
h1 > .h1-eye{display:block;width:max-content;max-width:100%;line-height:1.6;margin:0 0 22px;font-family:inherit;font-style:normal}
/* Smalare innehåll på dator och balanserade rubriker (nov 12) */
@media (min-width:1024px){html body:is(body,#r1) .vh-header-in{max-width:1120px !important}}
html body:is(body,#r1) main{max-width:1184px !important}
html body:is(body,#r1) :is(h1,h2,h3){text-wrap:balance}
html body:is(body,#r1) .kv-hero h1{max-width:none}
html body:is(body,#r1) .kv-sec > h2{max-width:24ch}
html body:is(body,#r1) .vk-footer-top,html body:is(body,#r1) .vk-footer-bottom{max-width:1056px !important;margin-left:auto !important;margin-right:auto !important}

/* vh-cta-blå: samma färg på Boka-knappen som på resten av sajten */
html body:is(body,#r1) .vh-header a.vh-cta{background:#2F35C8 !important}
html body:is(body,#r1) .vh-header a.vh-cta:hover{background:#2329A3 !important}

/* Bilder på kurssidorna */
.kp-img{margin:clamp(28px,4vw,44px) 0 0;border-radius:24px;overflow:hidden;background:#EEF0FB}
.kp-img img{display:block;width:100%;max-width:100%;height:auto}
.kp-img{min-width:0;max-width:100%}
.kp-hero>*{min-width:0}

/* Tätare rytm mellan blocken (nov 22) */
html body:is(body,#r1) .kv-sec{padding-top:clamp(32px,4vw,56px) !important}
html body:is(body,#r1) .kp-sec{padding-top:clamp(36px,4.5vw,64px) !important;padding-bottom:clamp(36px,4.5vw,64px) !important}
html body:is(body,#r1) .kv-hero{padding-bottom:clamp(24px,3vw,40px) !important}
html{scroll-padding-top:96px;scroll-padding-bottom:88px}
