/* EduFlow RC17 — product-wide mobile system. Loaded on every public template. */
@media (max-width: 759px) {
 html,body{width:100%;max-width:100%;overflow-x:hidden}
 body{font-size:.94rem}
 .ef-container{width:100%;max-width:100%;padding-inline:1rem;margin-inline:auto}
 :where(main,section,article,header,footer,nav,div,figure,form){min-width:0;max-width:100%}
 :where(img,video,iframe,embed,object,svg){max-width:100%;height:auto}
 :where(h1,h2,h3,h4,h5,h6,p,li,blockquote,a,span,strong,small){overflow-wrap:break-word;word-break:normal}
 table{display:block;width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 pre{max-width:100%;overflow:auto;white-space:pre-wrap}
 input,select,textarea,button{max-width:100%;font:inherit}
 .alignwide,.alignfull,.wp-block-image,.wp-block-gallery,.wp-block-columns,.wp-block-group{max-width:100%!important;margin-inline:0!important}
 .wp-block-columns{gap:1rem!important}.wp-block-column{min-width:0!important;flex-basis:100%!important}
 .wp-block-media-text{grid-template-columns:1fr!important}.wp-block-media-text .wp-block-media-text__content{padding:1rem 0!important}
 .ef-page-standard{padding-block:1.25rem 2.25rem!important}
 .ef-page-standard>article>h1,.ef-page-standard>h1{font-size:clamp(1.65rem,7vw,2.15rem)!important;line-height:1.3;margin:0 0 1rem}
 .ef-demo-page{gap:1.35rem!important}.ef-page-intro{padding:1.15rem 1rem!important;border-radius:1rem!important}.ef-page-intro:after{display:none}
 .ef-demo-page h2{font-size:clamp(1.35rem,6vw,1.8rem)!important}.ef-demo-page h3{font-size:1rem!important}.ef-demo-page p{font-size:.86rem;line-height:1.7!important}
 .ef-demo-grid,.ef-demo-split,.ef-contact-grid{grid-template-columns:1fr!important;gap:.7rem!important}
 .ef-demo-card,.ef-demo-panel,.ef-contact-item{padding:.9rem!important;border-radius:.9rem!important}.ef-demo-card__icon{width:2.35rem;height:2.35rem;margin-bottom:.55rem}
 .ef-demo-list{gap:.45rem!important;margin-top:.7rem!important}.ef-demo-list li{padding:.6rem!important}.ef-demo-cta{grid-template-columns:1fr!important;padding:1rem!important;border-radius:1rem!important}.ef-demo-button{width:100%;min-height:44px}
 .ef-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto}.ef-empty-state{margin:1.5rem auto!important;padding:1rem!important}
 .ef-site-footer{padding:2.2rem 0 1.2rem!important}.ef-footer-grid,.ef-footer-widgets{grid-template-columns:1fr!important;gap:1.1rem!important}.ef-footer-bottom{margin-top:1.2rem!important;padding-top:1rem!important}
 .ef-footer-menu ul{gap:.55rem 1rem!important}.ef-footer-brand p{line-height:1.75!important}
}
@media (max-width: 390px){.ef-container{padding-inline:.85rem}.ef-search-form{grid-template-columns:1fr}.ef-search-form button{min-height:44px}}

/* RC24 — responsive contract for all seven distinct demo systems.
 * This extends the RC17 product-wide mobile contract to RC23's new ef23 layouts.
 */
@media (max-width: 759px) {
 .ef23,.ef23 *{box-sizing:border-box}
 .ef23,.ef23 :where(main,section,article,header,footer,nav,div,figure,form,ol,ul,li){min-width:0;max-width:100%}
 .ef23 .ef-container{width:100%;max-width:100%;padding-inline:1rem;margin-inline:auto;overflow:visible}
 .ef23 :where(.ef23-herogrid,.ef23-proofgrid,.ef23-coursegrid,.ef23-story>.ef-container){width:100%;max-width:100%;min-width:0}
 .ef23-herogrid,.ef23-story>.ef-container,.ef23-school .ef23-herogrid,.ef23-skills .ef23-herogrid,.ef23-creator .ef23-herogrid{grid-template-columns:minmax(0,1fr)!important}
 .ef23-proofgrid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .ef23-coursegrid,.ef23-konkur .ef23-coursegrid,.ef23-code .ef23-coursegrid,.ef23-art .ef23-coursegrid,.ef23-creator .ef23-coursegrid{grid-template-columns:minmax(0,1fr)!important;width:100%}
 .ef23-course,.ef23-university .ef23-course,.ef23-skills .ef23-course,.ef23-creator .ef23-course:first-child{grid-template-columns:minmax(0,34fr) minmax(0,66fr)!important;width:100%;max-width:100%}
 .ef23-course>*{min-width:0;max-width:100%}
 .ef23-coursebody{min-width:0;overflow-wrap:anywhere}
 .ef23-art{min-width:0;max-width:100%;overflow:hidden}
 .ef23-visual{width:100%;max-width:100%;min-width:0}
 .ef23-actions,.ef23-actions a,.ef23-final,.ef23-final>.ef-container,.ef23-final a{max-width:100%}
 .ef23 :where(h1,h2,h3,p,blockquote,strong,span,a){max-width:100%;overflow-wrap:break-word}
 .ef23-code :where(strong,b,i,span,p),.ef23 :where(code,pre){overflow-wrap:anywhere;word-break:break-word;white-space:normal}
 .ef23-skills .ef23-proofgrid{display:grid!important;gap:.5rem;width:100%}
 .ef23-creator .ef23-visual{width:100%;aspect-ratio:auto!important}
}
@media (max-width:390px){.ef23 .ef-container{padding-inline:.85rem}.ef23-course,.ef23-university .ef23-course,.ef23-skills .ef23-course,.ef23-creator .ef23-course:first-child{grid-template-columns:minmax(0,31fr) minmax(0,69fr)!important}}
