/* KNX24 Academy — independent course page; scoped to #kpm-course only. */
#kpm-course{--kpm-red:#e02023;--kpm-ink:#212121;--kpm-gray:#f5f5f5;--kpm-blue:#3060c7;width:100%;max-width:100%;min-width:0;container-type:inline-size;color:var(--kpm-ink);font-family:Manrope,'Golos Text',Arial,sans-serif;font-size:18px;line-height:1.5;overflow-x:clip;isolation:isolate}
#kpm-course *,#kpm-course *::before,#kpm-course *::after{box-sizing:border-box}
#kpm-course :where(h1,h2,h3,p,ul){margin:0;padding:0}
#kpm-course :where(h1,h2,h3){line-height:1.22;font-family:Manrope,'Golos Text',Arial,sans-serif;font-weight:700;color:inherit}
#kpm-course :where(a,button){font-family:inherit}#kpm-course button{cursor:pointer}
#kpm-course a{text-decoration:none}#kpm-course a:focus-visible,#kpm-course button:focus-visible,#kpm-course summary:focus-visible{outline:3px solid #1364ff;outline-offset:3px}
#kpm-course .kpm-container{width:min(1200px,100%);padding:0 20px;margin-inline:auto;min-width:0}
#kpm-course .kpm-accent{color:var(--kpm-red)}
#kpm-course .kpm-serif{font-family:Manrope,'Golos Text',Arial,sans-serif;font-weight:700;font-size:44px;line-height:1.23;color:#1d1616}
#kpm-course .kpm-button{display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:55px;padding:12px 22px;border-radius:10px;border:2px solid transparent;text-align:center;line-height:1.4;font-size:18px;font-weight:700;transition:background-color .18s,color .18s,border-color .18s;cursor:pointer}
#kpm-course .kpm-button-red{background:var(--kpm-red);color:white;border-color:var(--kpm-red)}
#kpm-course .kpm-button-red:hover{background:#c8171c;border-color:#c8171c;color:#fff}
#kpm-course .kpm-button-outline{background:transparent;color:var(--kpm-red);border-color:var(--kpm-red)}
#kpm-course .kpm-button-outline:hover{background:#fff2f2}
#kpm-course .kpm-button-blue{background:var(--kpm-blue);color:white;border-color:var(--kpm-blue)}
#kpm-course .kpm-intro{position:relative;background:var(--kpm-gray);overflow:hidden}
#kpm-course .kpm-intro-illustration{position:absolute;z-index:0;top:-80px;left:calc(50% - 60px);width:1065px;max-width:none;height:auto;pointer-events:none;user-select:none}
#kpm-course .kpm-hero{position:relative;z-index:1;min-height:710px}
#kpm-course .kpm-hero-inner{padding-top:101px}
#kpm-course .kpm-brand{display:block;width:196px;max-width:100%;height:auto;margin-bottom:42px}
#kpm-course .kpm-hero-kicker{font-size:20px;line-height:1.55;color:#1f1b1b;margin-bottom:5px}
#kpm-course .kpm-hero h1{color:var(--kpm-red);font-size:58px;max-width:710px;letter-spacing:-.02em;margin-bottom:22px}
#kpm-course .kpm-hero-features{list-style:none;color:#1f1b1b;font-size:20px;line-height:1.55;max-width:750px}

#kpm-course .kpm-cost{display:flex;align-items:baseline;gap:20px;color:#000}
#kpm-course .kpm-cost-label{font-size:24px;font-weight:700;white-space:nowrap}
#kpm-course .kpm-cost strong{display:block;font-size:28px;line-height:1.3;font-weight:700}
#kpm-course .kpm-cost div>span{display:block;font-size:18px;font-weight:400;line-height:1.6}
#kpm-course .kpm-hero-cost{margin-top:55px}
#kpm-course .kpm-hero-actions{display:flex;gap:20px;margin-top:65px;max-width:620px}
#kpm-course .kpm-hero-actions .kpm-button{flex:1}
#kpm-course .kpm-audience{position:relative;z-index:1;min-height:730px}
#kpm-course .kpm-audience .kpm-container{padding-top:84px}
#kpm-course .kpm-audience h2{font-size:44px;margin:0 0 52px}
#kpm-course .kpm-audience-list{display:grid;gap:40px;max-width:965px}
#kpm-course .kpm-audience-item{display:grid;grid-template-columns:105px minmax(0,1fr);gap:57px;align-items:start;min-height:123px}
#kpm-course .kpm-audience-circle{display:block;width:105px;height:105px;max-width:100%;border-radius:50%;background:#fff705}
#kpm-course .kpm-audience-circle img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover}
#kpm-course .kpm-audience-item h3{font-size:24px;color:#424242;margin:3px 0 11px}
#kpm-course .kpm-audience-item p{font-size:18px;line-height:1.55;color:#424242;max-width:790px}
#kpm-course .kpm-outcomes{padding:65px 0 30px;background:#fff}
#kpm-course .kpm-outcomes h2{margin-bottom:55px}
#kpm-course .kpm-outcome-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:58px;row-gap:70px}
#kpm-course .kpm-outcome{min-height:110px;max-width:380px}
#kpm-course .kpm-outcome img{display:block;width:30px;height:30px;margin-bottom:24px}
#kpm-course .kpm-outcome p{font-size:24px;line-height:1.25}
#kpm-course .kpm-demo{padding:60px 0 15px;background:#fff}
#kpm-course .kpm-demo-card{min-height:356px;background:#303030;border-radius:25px;display:grid;grid-template-columns:40% 1fr;align-items:center;gap:0;overflow:hidden;color:#fff}
#kpm-course .kpm-demo-media{display:flex;align-items:end;justify-content:center;min-width:0;align-self:stretch}
#kpm-course .kpm-demo-media img{display:block;width:100%;max-width:470px;height:auto;align-self:end;object-fit:contain}
#kpm-course .kpm-demo-body{padding:28px 60px 28px 18px;max-width:640px}
#kpm-course .kpm-demo-body h2{font-size:32px;color:#fff;line-height:1.2;margin-bottom:16px}
#kpm-course .kpm-demo-body h2 span{color:var(--kpm-red)}
#kpm-course .kpm-demo-body p{font-size:23px;line-height:1.45;color:#fff;margin-bottom:27px}
#kpm-course .kpm-demo-body .kpm-button{width:100%;max-width:500px}
#kpm-course .kpm-prerequisites{padding:65px 0 65px;background:#fff}
#kpm-course .kpm-prerequisites h2{margin-bottom:36px}
#kpm-course .kpm-prerequisites ul{list-style:none}
#kpm-course .kpm-prerequisites li{position:relative;padding-left:40px;font-size:24px;line-height:2}

#kpm-course .kpm-program{padding:45px 0 35px;background:#fff;scroll-margin-top:30px}
#kpm-course .kpm-program h2{margin-bottom:48px}
#kpm-course .kpm-modules{border-bottom:1px solid #eee}
#kpm-course .kpm-module{border-top:1px solid #eee}
#kpm-course .kpm-module summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:48px;padding:9px 10px;list-style:none;font-size:20px;line-height:1.5;color:#222;cursor:pointer}
#kpm-course .kpm-module summary::-webkit-details-marker{display:none}
#kpm-course .kpm-module-icon{width:21px;height:21px;display:block;position:relative;flex:none;border-radius:50%}
#kpm-course .kpm-module-icon::before,#kpm-course .kpm-module-icon::after{content:'';position:absolute;top:10px;left:1px;width:19px;height:1px;background:#222}
#kpm-course .kpm-module-icon::after{transform:rotate(90deg);transition:transform .15s}
#kpm-course details[open] .kpm-module-icon::after{transform:rotate(0deg)}
#kpm-course .kpm-module-body{padding:8px 15px 22px;color:#8c8c8c;font-size:20px;line-height:1.55}
#kpm-course .kpm-module-body ul{margin:0;padding-left:25px;list-style:disc}
#kpm-course .kpm-module-body li{padding:0;margin-bottom:6px}
#kpm-course .kpm-module-body:empty{display:none}
#kpm-course .kpm-download{text-align:center;margin:42px auto 0}
#kpm-course .kpm-download .kpm-button{width:min(500px,100%);font-weight:600}
#kpm-course .kpm-career{padding:25px 0 50px;background:#fff}
#kpm-course .kpm-career-card{display:grid;grid-template-columns:37% 1fr;align-items:center;gap:20px;min-height:356px;background:var(--kpm-gray);border-radius:25px;overflow:hidden}
#kpm-course .kpm-career-media{display:flex;justify-content:center;align-items:center;height:100%;min-width:0}
#kpm-course .kpm-career-media img{width:min(345px,94%);height:auto;display:block}
#kpm-course .kpm-career-body{padding:35px 60px 35px 0}
#kpm-course .kpm-career-body h2{font-size:32px;line-height:1.2;max-width:660px;margin-bottom:30px}
#kpm-course .kpm-career .kpm-cost{margin-bottom:35px}
#kpm-course .kpm-career .kpm-button{width:min(500px,100%)}
#kpm-course .kpm-format{padding:55px 0 80px;background:var(--kpm-gray)}
#kpm-course .kpm-format h2{margin-bottom:55px}
#kpm-course .kpm-format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px}
#kpm-course .kpm-format-item img{width:68px;height:68px;object-fit:contain;display:block;margin-bottom:18px}
#kpm-course .kpm-format-item h3{font-size:24px;line-height:1.4;margin-bottom:18px}
#kpm-course .kpm-format-item p{font-size:18px;line-height:1.55}
#kpm-course .kpm-contact{padding:75px 0 55px;background:var(--kpm-gray)}
#kpm-course .kpm-contact-card{min-height:678px;background:#fff;border-radius:15px;display:grid;grid-template-columns:1fr 424px;gap:55px;align-items:center;padding:55px 95px 55px 63px}
#kpm-course .kpm-contact-lead{font-size:24px;font-weight:700;margin-bottom:12px}
#kpm-course .kpm-contact-copy h2{font-size:41px;color:var(--kpm-red);line-height:1.2;max-width:490px;margin-bottom:30px}
#kpm-course .kpm-contact-copy>p:last-child{font-size:20px;line-height:1.25;max-width:480px}
#kpm-course .kpm-contact-form{width:100%;min-width:0;min-height:430px;display:flex;align-items:flex-start;justify-content:center}
#kpm-course .kpm-crm-widget{width:100%;min-height:320px}

@media(max-width:1199px){
 #kpm-course .kpm-intro-illustration{left:calc(50% - 60px);width:900px;top:-45px}
 #kpm-course .kpm-hero h1{font-size:clamp(37px,4.8vw,58px)}
 #kpm-course .kpm-audience-item{gap:38px}
 #kpm-course .kpm-contact-card{grid-template-columns:1fr 42%;gap:25px;padding:55px 45px}
}
@media(max-width:959px){
 #kpm-course .kpm-hero{min-height:780px}
 #kpm-course .kpm-intro-illustration{opacity:.35;left:37%;top:20px;width:780px}
 #kpm-course .kpm-hero-inner{padding-top:75px}
 #kpm-course .kpm-hero h1,#kpm-course .kpm-hero-features{max-width:660px}
 #kpm-course .kpm-audience{min-height:auto;padding-bottom:80px}
 #kpm-course .kpm-audience .kpm-container{padding-top:45px}
 #kpm-course .kpm-audience-list{gap:35px}
 #kpm-course .kpm-audience h2{font-size:38px}
 #kpm-course .kpm-outcome-grid{gap:55px 25px}
 #kpm-course .kpm-outcome p{font-size:21px}
 #kpm-course .kpm-demo-card{grid-template-columns:40% 60%}
 #kpm-course .kpm-demo-body{padding:30px}
 #kpm-course .kpm-demo-body h2{font-size:27px}
 #kpm-course .kpm-demo-body p{font-size:19px}
 #kpm-course .kpm-career-body{padding:25px 25px 25px 0}
 #kpm-course .kpm-career-body h2{font-size:27px}
 #kpm-course .kpm-cost-label{font-size:20px}
 #kpm-course .kpm-cost strong{font-size:23px}
 #kpm-course .kpm-format-grid{gap:22px}
 #kpm-course .kpm-format-item h3{font-size:21px}
 #kpm-course .kpm-contact-card{grid-template-columns:1fr;min-height:unset;padding:45px;gap:35px}
 #kpm-course .kpm-contact-form{min-height:300px}
}
@media(max-width:639px){
 #kpm-course{font-size:16px}
 #kpm-course .kpm-container{padding:0 20px}
 #kpm-course .kpm-serif{font-size:31px}
 #kpm-course .kpm-hero{min-height:860px}
 #kpm-course .kpm-hero-inner{padding-top:38px}
 #kpm-course .kpm-brand{width:170px;margin-bottom:45px}
 #kpm-course .kpm-intro-illustration{width:650px;left:10%;top:340px;opacity:.32}
 #kpm-course .kpm-hero-kicker{font-size:17px}
 #kpm-course .kpm-hero h1{font-size:38px;max-width:100%;margin-bottom:23px}
 #kpm-course .kpm-hero-features{font-size:17px;line-height:1.45}
 #kpm-course .kpm-hero-cost{margin-top:36px}
 #kpm-course .kpm-hero-actions{display:grid;gap:12px;margin-top:30px;max-width:100%}
 #kpm-course .kpm-button{width:100%;font-size:17px;min-height:52px}
 #kpm-course .kpm-audience .kpm-container{padding-top:40px}
 #kpm-course .kpm-audience h2{font-size:34px;margin-bottom:36px}
 #kpm-course .kpm-audience-item{grid-template-columns:67px minmax(0,1fr);gap:20px;min-height:0}
 #kpm-course .kpm-audience-circle{width:67px;height:67px}
 #kpm-course .kpm-audience-item h3{font-size:20px}
 #kpm-course .kpm-audience-item p{font-size:16px}
 #kpm-course .kpm-audience-list{gap:36px}
 #kpm-course .kpm-audience{padding-bottom:55px}
 #kpm-course .kpm-outcomes{padding:45px 0 20px}
 #kpm-course .kpm-outcomes h2{margin-bottom:34px}
 #kpm-course .kpm-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px 20px}
 #kpm-course .kpm-outcome p{font-size:18px}
 #kpm-course .kpm-outcome img{margin-bottom:13px}
 #kpm-course .kpm-demo{padding:35px 0 20px}
 #kpm-course .kpm-demo-card{display:flex;flex-direction:column}
 #kpm-course .kpm-demo-media{width:85%;max-height:240px;margin:0 auto}
 #kpm-course .kpm-demo-media img{max-height:230px;object-fit:contain}
 #kpm-course .kpm-demo-body{padding:12px 25px 30px;width:100%}
 #kpm-course .kpm-demo-body h2{font-size:27px}
 #kpm-course .kpm-demo-body p{font-size:17px}
 #kpm-course .kpm-prerequisites{padding:50px 0}
 #kpm-course .kpm-prerequisites li{font-size:18px;line-height:1.5;margin:12px 0}
 #kpm-course .kpm-program{padding:25px 0}
 #kpm-course .kpm-program h2{margin-bottom:28px}
 #kpm-course .kpm-module summary{font-size:17px}
 #kpm-course .kpm-module-body{font-size:17px}
 #kpm-course .kpm-career-card{grid-template-columns:1fr;gap:0}
 #kpm-course .kpm-career-media{max-height:200px;overflow:hidden}
 #kpm-course .kpm-career-media img{max-width:180px}
 #kpm-course .kpm-career-body{padding:20px 25px 28px}
 #kpm-course .kpm-career-body h2{font-size:25px}
 #kpm-course .kpm-format{padding:45px 0}
 #kpm-course .kpm-format h2{margin-bottom:35px}
 #kpm-course .kpm-format-grid{grid-template-columns:1fr;gap:35px}
 #kpm-course .kpm-format-item img{width:54px;height:54px;margin-bottom:8px}
 #kpm-course .kpm-format-item h3{font-size:22px;margin-bottom:9px}
 #kpm-course .kpm-format-item p{font-size:16px}
 #kpm-course .kpm-contact{padding:30px 0}
 #kpm-course .kpm-contact-card{padding:35px 22px}
 #kpm-course .kpm-contact-copy h2{font-size:30px}
 #kpm-course .kpm-contact-copy>p:last-child{font-size:17px}
 #kpm-course .kpm-contact-form{min-height:300px}
 #kpm-course .kpm-dialog-content{padding:22px 18px 25px}
}
@media(max-width:399px){
 #kpm-course .kpm-hero h1{font-size:32px}
 #kpm-course .kpm-hero{min-height:830px}
 #kpm-course .kpm-cost{gap:8px}
 #kpm-course .kpm-cost-label{font-size:17px}
 #kpm-course .kpm-cost strong{font-size:19px}
 #kpm-course .kpm-cost div>span{font-size:14px}
 #kpm-course .kpm-outcome-grid{gap:35px 15px}
 #kpm-course .kpm-outcome p{font-size:16px}
 #kpm-course .kpm-audience h2{font-size:30px}
 #kpm-course .kpm-audience-item{grid-template-columns:45px minmax(0,1fr);gap:14px}
 #kpm-course .kpm-audience-circle{width:45px;height:45px}
}
@media(prefers-reduced-motion:reduce){#kpm-course .kpm-button,#kpm-course .kpm-module-icon::after{transition:none}}

/* The page also adapts when the Bitrix content container is narrower than the viewport. */
@container (max-width:960px){
 #kpm-course .kpm-outcome-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:45px 25px}
 #kpm-course .kpm-intro-illustration{opacity:.28;left:36%;width:780px}
 #kpm-course .kpm-hero{min-height:780px}
 #kpm-course .kpm-audience-item{gap:25px}
 #kpm-course .kpm-demo-body{padding:25px}
 #kpm-course .kpm-career-body{padding:25px}
 #kpm-course .kpm-contact-card{grid-template-columns:1fr;padding:35px;gap:30px}
 #kpm-course .kpm-format-grid{gap:22px}
}
@container (max-width:640px){
 #kpm-course .kpm-hero{min-height:860px}
 #kpm-course .kpm-hero-inner{padding-top:38px}
 #kpm-course .kpm-intro-illustration{width:650px;left:10%;top:340px;opacity:.28}
 #kpm-course .kpm-hero h1{font-size:clamp(30px,8vw,40px)}
 #kpm-course .kpm-hero-features{font-size:17px}
 #kpm-course .kpm-hero-actions{display:grid;gap:12px;margin-top:30px}
 #kpm-course .kpm-hero-actions .kpm-button{width:100%}
 #kpm-course .kpm-audience{min-height:unset;padding-bottom:55px}
 #kpm-course .kpm-audience .kpm-container{padding-top:35px}
 #kpm-course .kpm-audience h2{font-size:32px}
 #kpm-course .kpm-audience-item{grid-template-columns:60px minmax(0,1fr);gap:15px;min-height:auto}
 #kpm-course .kpm-audience-circle{width:60px;height:60px}
 #kpm-course .kpm-audience-item h3{font-size:20px}
 #kpm-course .kpm-audience-item p{font-size:16px}
 #kpm-course .kpm-outcome p{font-size:18px}
 #kpm-course .kpm-demo-card{display:flex;flex-direction:column}
 #kpm-course .kpm-demo-media{width:85%;max-height:230px}
 #kpm-course .kpm-demo-media img{max-height:230px;object-fit:contain}
 #kpm-course .kpm-demo-body{width:100%;padding:12px 25px 30px}
 #kpm-course .kpm-demo-body h2{font-size:27px}
 #kpm-course .kpm-demo-body p{font-size:17px}
 #kpm-course .kpm-career-card{grid-template-columns:1fr;gap:0}
 #kpm-course .kpm-career-media{max-height:200px;overflow:hidden}
 #kpm-course .kpm-career-media img{max-width:180px}
 #kpm-course .kpm-career-body{padding:20px 25px 28px}
 #kpm-course .kpm-format-grid{grid-template-columns:1fr;gap:35px}
 #kpm-course .kpm-contact-card{padding:35px 22px}
 #kpm-course .kpm-contact-copy h2{font-size:30px}
}
/* Only this standalone course suppresses the duplicate Bitrix page-title strip. */
body:has(#kpm-course) .page-top-info{display:none!important}


/* Portal windows: MUST be direct body children, never children of container-type or overflow-clipped main. */
body > .kpm-dialog-backdrop[hidden]{display:none!important}
body > .kpm-dialog-backdrop{
 position:fixed!important;inset:0!important;left:0!important;top:0!important;
 width:100vw!important;height:100vh!important;height:100dvh!important;
 z-index:2147483000!important;display:flex!important;align-items:center!important;
 justify-content:center!important;padding:clamp(12px,3vw,30px)!important;
 margin:0!important;background:rgba(0,0,0,.72)!important;
 overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;
 box-sizing:border-box!important;font-family:Manrope,'Golos Text',Arial,sans-serif;
 font-size:16px;color:#1f1b1b;
}
body > .kpm-dialog-backdrop *,body > .kpm-dialog-backdrop *::before,body > .kpm-dialog-backdrop *::after{box-sizing:border-box}
body > .kpm-dialog-backdrop .kpm-dialog{
 position:relative!important;display:block!important;float:none!important;
 flex:0 1 750px!important;width:min(750px,100%)!important;max-width:750px!important;
 max-height:calc(100dvh - 24px)!important;overflow:auto!important;
 padding:0!important;margin:auto!important;background:#fff!important;
 color:#1f1b1b!important;border:0!important;border-radius:14px!important;
 box-shadow:0 18px 70px rgba(0,0,0,.35)!important;outline:none;
 -webkit-overflow-scrolling:touch;
}
body > .kpm-dialog-backdrop .kpm-dialog-form{flex-basis:560px!important;width:min(560px,100%)!important;max-width:560px!important;min-height:0}
body > .kpm-dialog-backdrop .kpm-dialog-mini > img{display:block;width:100%;height:auto;max-height:260px;object-fit:cover}
body > .kpm-dialog-backdrop .kpm-dialog-content{padding:30px 32px 34px}
body > .kpm-dialog-backdrop :is(h2,p,ul){font-family:inherit;margin-top:0}
body > .kpm-dialog-backdrop .kpm-dialog-content h2{font-size:27px;line-height:1.2;font-weight:700;margin-bottom:22px}
body > .kpm-dialog-backdrop .kpm-dialog-content p{font-size:17px;line-height:1.5;margin-bottom:12px}
body > .kpm-dialog-backdrop .kpm-dialog-content ul{list-style:disc;margin:0 0 20px;padding-left:24px;font-size:16px;line-height:1.5}
body > .kpm-dialog-backdrop .kpm-dialog-content li{margin:0 0 6px}
body > .kpm-dialog-backdrop .kpm-dialog-close{
 position:absolute!important;top:12px!important;right:12px!important;left:auto!important;
 z-index:2!important;float:none!important;display:flex!important;align-items:center;justify-content:center;
 width:42px!important;height:42px!important;padding:0!important;margin:0!important;
 border:0!important;border-radius:50%!important;background:#242424!important;
 color:#fff!important;font:300 30px/1 Arial,sans-serif!important;cursor:pointer;
}
body > .kpm-dialog-backdrop .kpm-dialog-close:hover{background:#e02023!important}
body > .kpm-dialog-backdrop .kpm-button{
 display:inline-flex!important;align-items:center;justify-content:center;
 width:auto;min-height:50px;padding:12px 24px;border:2px solid transparent;
 border-radius:10px;color:#fff!important;text-decoration:none!important;
 font:700 17px/1.3 Manrope,'Golos Text',Arial,sans-serif;
 text-align:center;cursor:pointer;
}
body > .kpm-dialog-backdrop .kpm-button-blue{background:#3060c7!important;border-color:#3060c7!important}
body > .kpm-dialog-backdrop .kpm-button-red{background:#e02023!important;border-color:#e02023!important}
body > .kpm-dialog-backdrop .kpm-button:hover{filter:brightness(.9)}
body > .kpm-dialog-backdrop .kpm-form-host{width:100%;min-width:0;min-height:180px;position:relative}
body > .kpm-dialog-backdrop .kpm-embedded{display:block;max-width:100%;width:100%;overflow:visible}
body > .kpm-dialog-backdrop .kpm-form-loading{font-size:15px!important;color:#656565;margin:4px 0 14px!important}
body > .kpm-dialog-backdrop .kpm-form-host .b24-form,body > .kpm-dialog-backdrop .kpm-form-host .b24-form-wrapper{max-width:100%;width:100%}
body.kpm-modal-open{overflow:hidden!important}
@media(max-width:639px){
 body > .kpm-dialog-backdrop{padding:12px!important;align-items:center!important}
 body > .kpm-dialog-backdrop .kpm-dialog{max-height:calc(100dvh - 24px)!important;border-radius:12px!important}
 body > .kpm-dialog-backdrop .kpm-dialog-content{padding:24px 18px 26px}
 body > .kpm-dialog-backdrop .kpm-dialog-content h2{font-size:23px;padding-right:24px}
 body > .kpm-dialog-backdrop .kpm-dialog-close{top:8px!important;right:8px!important;width:36px!important;height:36px!important}
 body > .kpm-dialog-backdrop .kpm-button{width:100%;font-size:15px}
}

body > .kpm-dialog-backdrop .kpm-form-loading[hidden]{display:none!important}

/* v3: Block Aspro's generated list prefixes without affecting other site lists.
   Decorative bullets are owned by ::after so the Bitrix template cannot duplicate them. */
#kpm-course .kpm-hero-features,
#kpm-course .kpm-prerequisites ul{list-style:none!important;list-style-type:none!important;list-style-position:outside!important}
#kpm-course .kpm-hero-features > li,
#kpm-course .kpm-prerequisites ul > li{list-style:none!important;list-style-type:none!important;position:relative!important}
#kpm-course .kpm-hero-features > li::before,
#kpm-course .kpm-prerequisites ul > li::before,
#kpm-course .kpm-module-body ul > li::before{content:none!important;display:none!important;visibility:hidden!important;background:none!important;border:0!important}
#kpm-course .kpm-hero-features > li{padding-left:15px!important}
#kpm-course .kpm-hero-features > li::after{
 content:'•'!important;display:block!important;position:absolute;left:0;top:0;
 color:currentColor;font-size:inherit;line-height:inherit;font-family:inherit;
 width:auto;height:auto;transform:none;opacity:1;pointer-events:none;
}
#kpm-course .kpm-prerequisites ul > li::after{
 content:'✓'!important;display:block!important;position:absolute;left:0;top:0;
 color:var(--kpm-red);font-size:35px;line-height:1.4;font-family:Arial,sans-serif;
 width:auto;height:auto;transform:none;opacity:1;pointer-events:none;
}
#kpm-course .kpm-module-body ul{list-style:disc outside!important;padding-left:25px!important}
#kpm-course .kpm-module-body ul > li{list-style:disc outside!important;position:relative}
#kpm-course .kpm-module-body ul > li::marker{color:currentColor;font-size:1em}
#kpm-course .kpm-hero-features > li::marker,
#kpm-course .kpm-prerequisites ul > li::marker{content:''!important}
