html:has(body.kunst-material-student){margin-top:0!important;background:#e9eee8!important}
body.kunst-material-student{
    margin:0!important;
    padding:clamp(6px,1vw,14px)!important;
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:100vh!important;
    min-height:100dvh!important;
    background:#e9eee8!important;
    color:#202b24!important;
    font-family:system-ui,-apple-system,sans-serif!important;
}
.kunst-material-student *{box-sizing:border-box}
.kunst-material-slide{
    width:100%!important;
    max-width:none!important;
    min-height:calc(100dvh - 86px)!important;
    margin:0!important;
    padding:clamp(22px,3.2vw,64px)!important;
    border:1px solid #b7c8b8!important;
    border-radius:12px!important;
    background:#fdfdf9!important;
    box-shadow:none!important;
}
.kunst-material-slide-content-wrap{width:100%;max-width:none}
.kunst-material-kicker{
    font:500 14px/1.2 system-ui,-apple-system,sans-serif!important;
    letter-spacing:.12em!important;
    margin:0 0 12px!important;
}
.kunst-material-heading{
    font-family:Georgia,serif!important;
    font-size:clamp(18px,2.05vw,28px)!important;
    font-weight:700!important;
    line-height:1.08!important;
    letter-spacing:.045em!important;
    color:#28613b!important;
    text-transform:uppercase!important;
    border-bottom:3px solid #28613b!important;
    padding:0 0 7px!important;
    margin:0!important;
}
.kunst-material-slide h1{
    margin:clamp(14px,1.6vw,24px) 0 .45em!important;
    color:#202b24!important;
    font:700 clamp(30px,3.1vw,52px)/1.08 Georgia,serif!important;
    letter-spacing:0!important;
    text-transform:none!important;
    overflow-wrap:anywhere!important;
}
.kunst-material-slide-window{min-height:0!important;overflow:visible!important}
.kunst-material-slide-content{
    width:100%!important;
    max-width:none!important;
    font:clamp(18px,1.65vw,28px)/1.45 system-ui,-apple-system,sans-serif!important;
    overflow-wrap:anywhere!important;
    display:flow-root!important;
}
.kunst-material-slide-content>:first-child{margin-top:0!important}
.kunst-material-slide-content>:last-child{margin-bottom:0!important}
.kunst-material-slide-content img,
.kunst-material-slide-content video{
    display:block!important;
    max-width:100%!important;
    width:auto!important;
    height:auto!important;
    max-height:56vh!important;
    margin-left:auto!important;
    margin-right:auto!important;
    object-fit:contain!important;
}
.kunst-material-slide-content figure{
    width:fit-content!important;
    max-width:100%!important;
    margin:1em auto!important;
}
.kunst-material-slide-content figcaption{
    margin:6px 0 0!important;
    color:#66706a!important;
    font-size:.82em!important;
    line-height:1.35!important;
    text-align:left!important;
}
.kunst-material-slide-content h2,
.kunst-material-slide-content h3{
    color:#28613b!important;
    font-family:Georgia,serif!important;
    font-weight:700!important;
    line-height:1.15!important;
}
.kunst-material-slide-content a{color:#315f41;text-decoration:underline}
.kunst-material-slide-content table{max-width:100%;border-collapse:collapse}
.kunst-material-slide-content td,.kunst-material-slide-content th{border:1px solid #b7c8b8;padding:.3em}
.kunst-material-student-nav{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:none!important;
    min-height:64px!important;
    margin:0!important;
    padding:10px 12px!important;
    display:flex!important;
    justify-content:center!important;
    align-items:center!important;
    gap:10px!important;
    flex-wrap:wrap!important;
    background:#e9eee8!important;
    color:#315f41!important;
    font:16px/1.2 system-ui,-apple-system,sans-serif!important;
}
.kunst-material-student-nav a,
.kunst-material-student-nav button{
    opacity:1!important;
    visibility:visible!important;
    background:#fff!important;
    color:#315f41!important;
    border:1px solid #9fb5a4!important;
    border-radius:7px!important;
    padding:8px 12px!important;
    font:inherit!important;
    text-decoration:none!important;
    cursor:pointer!important;
}
.kunst-material-student-nav a:hover,
.kunst-material-student-nav button:hover{background:#edf4ee!important;border-color:#315f41!important}
.kunst-material-student-nav :focus-visible{outline:3px solid #315f41;outline-offset:3px}
@media(max-width:760px){
    body.kunst-material-student{padding:5px!important}
    .kunst-material-slide{min-height:calc(100dvh - 78px)!important;padding:18px!important;border-radius:9px!important}
    .kunst-material-kicker{font:500 10px/1.2 system-ui,-apple-system,sans-serif!important;margin-bottom:7px!important}
    .kunst-material-heading{font-size:clamp(15px,3.1vw,20px)!important;border-bottom-width:2px!important;padding-bottom:5px!important}
    .kunst-material-slide h1{font-size:clamp(26px,7vw,38px)!important}
    .kunst-material-slide-content{font-size:18px!important}
    .kunst-material-student-nav{gap:6px!important}
    .kunst-material-student-nav a,.kunst-material-student-nav button{padding:7px 9px!important}
}
@media print{
    body.kunst-material-student{padding:0!important;background:#fff!important}
    .kunst-material-slide{min-height:0!important;box-shadow:none!important;border:0!important}
    .kunst-material-student-nav{display:none!important}
}
/* Fit the complete slide to the visible screen, including its controls. */
html:has(body.kunst-material-student){height:100%;overflow:hidden;}
body.kunst-material-student{
    height:var(--kunst-student-height,100dvh)!important;min-height:0!important;
    display:flex!important;flex-direction:column!important;overflow:hidden!important;
}
body.kunst-material-student #wpadminbar{display:none!important;}
body.kunst-material-student .kunst-material-slide{
    flex:1 1 0!important;min-height:0!important;min-width:0!important;
    height:auto!important;overflow:hidden!important;padding:clamp(12px,2vw,32px)!important;
}
.kunst-material-slide-content-wrap{min-width:0;--kunst-student-font:18px;}
.kunst-material-slide-content{font-size:var(--kunst-student-font)!important;}
.kunst-material-kicker{font-size:max(10px,calc(var(--kunst-student-font) * .5))!important;margin-bottom:.5em!important;}
.kunst-material-heading{font-size:calc(var(--kunst-student-font) * .95)!important;}
.kunst-material-slide h1{font-size:calc(var(--kunst-student-font) * 1.8)!important;margin: .5em 0!important;}
.kunst-material-slide-content :is(h2,h3){font-size:1.1em!important;margin-block:.6em!important;}
.kunst-material-slide-content :is(p,ul,ol){margin-block:.65em;}
.kunst-material-slide-content :is(img,video,iframe){max-width:100%!important;max-height:calc(var(--kunst-student-height,100dvh) * .42)!important;}
.kunst-material-slide-content table{width:100%;table-layout:fixed;overflow-wrap:anywhere;}
.kunst-material-student-nav{flex:none!important;min-height:0!important;padding:8px!important;}
.kunst-material-student-nav :is(a,button){min-height:44px;display:inline-flex;align-items:center;justify-content:center;}
.kunst-material-slide.kunst-student-scrollable{overflow:auto!important;overscroll-behavior:contain;}
@media print{
    html:has(body.kunst-material-student){height:auto;overflow:visible;}
    body.kunst-material-student{height:auto!important;overflow:visible!important;display:block!important;}
    body.kunst-material-student .kunst-material-slide{overflow:visible!important;}
}

.kunst-material-student-nav [hidden]{display:none!important;}
