/* Product-wide intrinsic layout safety.
 * Keeps demo systems shrinkable even when a mobile browser exposes a desktop-like CSS viewport. */
:where(.ef23,.ef30,.ef31,.ef-vertical){min-width:0;max-width:100%;overflow-x:clip}
:where(.ef23,.ef30,.ef31,.ef-vertical) :where(.ef-container,main,section,article,div,figure,form,ol,ul,li){min-width:0;max-width:100%;box-sizing:border-box}
:where(.ef23,.ef30,.ef31,.ef-vertical) :where(img,video,iframe,svg){max-width:100%;height:auto}

/* 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;box-sizing:border-box}
 :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}}


/* Responsive-system: Academy homepage and inner-page safety net.
 * This file is intentionally loaded after page-specific CSS. */
@media (max-width:760px){
 .eduflow-demo-academy .efa-home-v2,.eduflow-demo-academy .efa-home-v2 *{box-sizing:border-box}
 .eduflow-demo-academy .efa-home-v2 :where(section,article,div,form){min-width:0;max-width:100%}
 .eduflow-demo-academy .efa-home-v2 .efa-shell{width:calc(100% - 30px);max-width:1180px;margin-inline:auto}
 .eduflow-demo-academy .efa-hero-v2{padding:34px 0 28px}
 .eduflow-demo-academy .efa-hero-grid{grid-template-columns:minmax(0,1fr);gap:20px;min-height:0}
 .eduflow-demo-academy .efa-hero-copy{text-align:center}
 .eduflow-demo-academy .efa-hero-copy h1{font-size:clamp(2rem,10vw,2.25rem);line-height:1.3;letter-spacing:-1px;margin:10px 0 14px}
 .eduflow-demo-academy .efa-hero-copy p{font-size:.92rem;line-height:1.9;margin-inline:auto}
 .eduflow-demo-academy .efa-search{width:100%;margin:16px auto 0}
 .eduflow-demo-academy .efa-search input{min-width:0;width:100%}
 .eduflow-demo-academy .efa-search button{flex:0 0 auto;padding-inline:16px}
 .eduflow-demo-academy .efa-hero-visual{width:100%;height:280px;overflow:visible}
 .eduflow-demo-academy .efa-person{width:205px;height:260px;max-width:70vw}
 .eduflow-demo-academy .efa-person:before{width:92px;height:92px;top:34px;left:50%;transform:translateX(-50%);box-shadow:0 61px 0 24px #fff}
 .eduflow-demo-academy .efa-person span{font-size:2.3rem;margin-top:100px}
 .eduflow-demo-academy .efa-float-card{right:max(0px,calc(50% - 155px));bottom:14px;padding:12px 15px}
 .eduflow-demo-academy .efa-benefits{margin-top:0;padding:18px 0}
 .eduflow-demo-academy .efa-benefits .efa-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eduflow-demo-academy .efa-benefits article{min-width:0;padding:12px 8px;grid-template-columns:38px minmax(0,1fr)}
 .eduflow-demo-academy .efa-section-head{gap:12px;align-items:flex-start}
 .eduflow-demo-academy .efa-section-head h2{font-size:clamp(1.6rem,7.5vw,1.8rem);line-height:1.35}
 .eduflow-demo-academy .efa-card-grid-v2{grid-template-columns:minmax(0,1fr)}
 .eduflow-demo-academy .efa-start .efa-shell{grid-template-columns:minmax(0,1fr);padding:22px;gap:22px}
 .eduflow-demo-academy .efa-page>.efa-shell{width:calc(100vw - 30px);max-width:calc(100vw - 30px)}
 .eduflow-demo-academy .efa-detail-hero,.eduflow-demo-academy .efa-detail-body,.eduflow-demo-academy .efa-about,.eduflow-demo-academy .efa-contact{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:390px){
 .eduflow-demo-academy .efa-home-v2 .efa-shell{width:calc(100% - 24px)}
 .eduflow-demo-academy .efa-search{display:grid;grid-template-columns:minmax(0,1fr)}
 .eduflow-demo-academy .efa-search button{width:100%}
 .eduflow-demo-academy .efa-benefits .efa-shell{grid-template-columns:minmax(0,1fr)}
 .eduflow-demo-academy .efa-hero-visual{height:270px}
}


/* Academy mobile visual pass — tuned from staging screenshots. */
@media (max-width:760px){
 .eduflow-demo-academy .ef-site-header .ef-header-inner{min-height:4.2rem;gap:.45rem}
 .eduflow-demo-academy .ef-site-header .ef-brand{gap:.45rem;min-width:0}
 .eduflow-demo-academy .ef-site-header .ef-brand__mark{width:2.15rem;height:2.15rem;flex:0 0 2.15rem}
 .eduflow-demo-academy .ef-site-header .ef-brand__name{font-size:.84rem;line-height:1.35;white-space:nowrap}
 .eduflow-demo-academy .ef-site-header .ef-header-actions{gap:.35rem}
 .eduflow-demo-academy .ef-site-header .ef-header-auth{gap:.25rem}
 .eduflow-demo-academy .ef-site-header .ef-header-auth>a.ef-header-login,
 .eduflow-demo-academy .ef-site-header .ef-header-auth>a.ef-header-register{min-height:2.5rem;min-width:0;font-size:.74rem;padding-block:.5rem}
 .eduflow-demo-academy .ef-site-header .ef-header-auth>a.ef-header-login{padding-inline:.5rem}
 .eduflow-demo-academy .ef-site-header .ef-header-auth>a.ef-header-register{padding-inline:.65rem}
 .eduflow-demo-academy .ef-site-header .ef-menu-toggle{width:2.5rem;height:2.5rem;flex:0 0 2.5rem}
 .eduflow-demo-academy .efa-hero-copy h1{font-size:clamp(1.9rem,8.8vw,2.08rem);line-height:1.32}
 .eduflow-demo-academy .efa-hero-copy p{font-size:.88rem;line-height:1.8}
 .eduflow-demo-academy .efa-search{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:6px}
 .eduflow-demo-academy .efa-search input{padding:10px 12px}
 .eduflow-demo-academy .efa-search button{width:auto;min-width:96px;padding:10px 14px}
 .eduflow-demo-academy .efa-hero-visual{height:255px}
 .eduflow-demo-academy .efa-person{width:190px;height:240px}
 .eduflow-demo-academy .efa-person:before{width:86px;height:86px;top:31px;box-shadow:0 56px 0 22px #fff}
 .eduflow-demo-academy .efa-person span{font-size:2.05rem;margin-top:92px}
 .eduflow-demo-academy .efa-person b{font-size:.72rem;padding:6px 11px;letter-spacing:3px}
 .eduflow-demo-academy .efa-float-card{bottom:10px;padding:10px 12px}
 .eduflow-demo-academy .efa-float-card strong{font-size:1.05rem}
 .eduflow-demo-academy .efa-float-card small{font-size:.68rem}
 .eduflow-demo-academy .efa-benefits{padding:14px 0}
 .eduflow-demo-academy .efa-benefits .efa-shell{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px}
 .eduflow-demo-academy .efa-benefits article{padding:10px 7px;grid-template-columns:34px minmax(0,1fr);column-gap:8px}
 .eduflow-demo-academy .efa-benefits i{width:34px;height:34px;font-size:1.05rem}
 .eduflow-demo-academy .efa-benefits b{font-size:.8rem;line-height:1.45}
 .eduflow-demo-academy .efa-benefits small{font-size:.66rem;line-height:1.45}
 .eduflow-demo-academy .efa-featured{padding:38px 0}
 .eduflow-demo-academy .efa-section-head{margin-bottom:20px}
 .eduflow-demo-academy .efa-section-head h2{font-size:clamp(1.45rem,6.8vw,1.7rem)}
 .eduflow-demo-academy .efa-course-cover{height:145px;padding:16px}
 .eduflow-demo-academy .efa-course-cover b{font-size:2rem}
 .eduflow-demo-academy .efa-course-body{padding:16px}
 .eduflow-demo-academy .efa-course-body h3{font-size:1.02rem;line-height:1.6}
 .eduflow-demo-academy .efa-course-body p{min-height:0;font-size:.83rem;line-height:1.7}
 .eduflow-demo-academy .efa-course-body footer{gap:12px;padding-top:12px}
 .eduflow-demo-academy .efa-course-body footer>*{font-size:.8rem}
 .eduflow-demo-academy .efa-stats-v2{padding:22px 0}
 .eduflow-demo-academy .efa-start{padding:36px 0}
 .eduflow-demo-academy .efa-start .efa-shell{padding:18px;gap:18px}
 .eduflow-demo-academy .efa-start h2{font-size:clamp(1.55rem,7vw,1.9rem);line-height:1.5}
 .eduflow-demo-academy .efa-start-art{height:165px}
 .eduflow-demo-academy .efa-testimonial-v2{padding:40px 0}
}
@media (max-width:390px){
 .eduflow-demo-academy .efa-search{grid-template-columns:minmax(0,1fr) auto}
 .eduflow-demo-academy .efa-search button{width:auto;min-width:92px}
 .eduflow-demo-academy .efa-benefits .efa-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
 .eduflow-demo-academy .efa-hero-visual{height:245px}
}


/* Academy mobile polish pass 2 — staging screenshot refinements. */
@media (max-width:760px){
 .eduflow-demo-academy .efa-section-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-bottom:18px}
 .eduflow-demo-academy .efa-section-head>div{min-width:0}
 .eduflow-demo-academy .efa-section-head h2{font-size:clamp(1.35rem,6vw,1.58rem);line-height:1.45;margin-top:4px}
 .eduflow-demo-academy .efa-section-head a{align-self:end;font-size:.74rem;white-space:nowrap}
 .eduflow-demo-academy .efa-card-grid-v2{gap:14px}
 .eduflow-demo-academy .efa-course-v2{border-radius:16px}
 .eduflow-demo-academy .efa-course-cover{height:128px;padding:14px}
 .eduflow-demo-academy .efa-course-cover span{padding:5px 9px;font-size:.72rem}
 .eduflow-demo-academy .efa-course-cover b{font-size:1.8rem}
 .eduflow-demo-academy .efa-course-body{padding:14px}
 .eduflow-demo-academy .efa-course-body small{font-size:.72rem}
 .eduflow-demo-academy .efa-course-body h3{font-size:.98rem;line-height:1.55;margin:6px 0}
 .eduflow-demo-academy .efa-course-body p{font-size:.78rem;line-height:1.65;margin:6px 0 10px}
 .eduflow-demo-academy .efa-course-body footer{padding-top:10px}
 .eduflow-demo-academy .efa-course-body footer>*{font-size:.76rem}
 .eduflow-demo-academy .efa-start{padding:30px 0}
 .eduflow-demo-academy .efa-start .efa-shell{padding:16px;border-radius:22px}
 .eduflow-demo-academy .efa-start-art{height:145px;border-radius:18px}
 .eduflow-demo-academy .efa-start-art span{font-size:3.7rem}
 .eduflow-demo-academy .efa-start-art i{width:150px;height:150px;border-width:24px}
 .eduflow-demo-academy .efa-start h2{font-size:clamp(1.45rem,6.5vw,1.72rem);line-height:1.45;margin:6px 0}
 .eduflow-demo-academy .efa-start p{font-size:.82rem;line-height:1.8;margin-bottom:18px}
 .eduflow-demo-academy .efa-start a{min-height:44px;padding:.7rem 1rem;font-size:.84rem}
 .eduflow-demo-academy .efa-testimonial-v2 blockquote{font-size:clamp(1.08rem,5.4vw,1.3rem);line-height:1.9;margin:14px auto}
 .eduflow-demo-academy .efa-testimonial-v2 small{font-size:.76rem}
}


/* Academy mobile polish pass 3 — header containment and section-heading alignment. */
@media (max-width:760px){
 .eduflow-demo-academy .ef-site-header .ef-container.ef-header-inner{
   width:100%;
   max-width:100%;
   padding-inline:12px;
   box-sizing:border-box;
   display:grid;
   grid-template-columns:minmax(0,1fr) auto;
   align-items:center;
   column-gap:8px;
 }
 .eduflow-demo-academy .ef-site-header .ef-brand{
   min-width:0;
   max-width:100%;
   overflow:hidden;
 }
 .eduflow-demo-academy .ef-site-header .ef-brand__name{
   min-width:0;
   max-width:150px;
   overflow:hidden;
   text-overflow:ellipsis;
   white-space:nowrap;
 }
 .eduflow-demo-academy .ef-site-header .ef-header-actions{
   min-width:0;
   max-width:100%;
   justify-self:start;
   display:flex;
   flex-wrap:nowrap;
   align-items:center;
 }
 .eduflow-demo-academy .ef-site-header .ef-header-auth{
   flex:0 1 auto;
   min-width:0;
 }
 .eduflow-demo-academy .ef-site-header .ef-menu-toggle{
   flex:0 0 2.4rem;
   width:2.4rem;
   height:2.4rem;
   margin:0;
 }
 .eduflow-demo-academy .efa-section-head{
   display:grid;
   grid-template-columns:minmax(0,1fr) max-content;
   align-items:end;
   gap:8px 12px;
 }
 .eduflow-demo-academy .efa-section-head>div{
   grid-column:1;
 }
 .eduflow-demo-academy .efa-section-head>a{
   grid-column:2;
   grid-row:1;
   align-self:end;
   margin:0 0 2px;
 }
 .eduflow-demo-academy .efa-section-head h2{
   max-width:16ch;
 }
}
@media (max-width:420px){
 .eduflow-demo-academy .ef-site-header .ef-brand__name{max-width:132px}
 .eduflow-demo-academy .ef-site-header .ef-header-auth>a.ef-header-login{display:none!important}
 .eduflow-demo-academy .efa-section-head{
   grid-template-columns:minmax(0,1fr) auto;
 }
 .eduflow-demo-academy .efa-section-head h2{max-width:14ch}
}


/* Academy inner-page responsive contract.
 * One shared system for courses, course detail, teachers, about, contact and pricing. */
@media (max-width:760px){
 .eduflow-demo-academy .efa-page{
   padding-block:28px 52px;
 }
 .eduflow-demo-academy .efa-page>.efa-shell{
   width:calc(100% - 28px);
   max-width:calc(100% - 28px);
 }
 .eduflow-demo-academy .efa-heading{
   max-width:100%;
   margin-bottom:24px;
 }
 .eduflow-demo-academy .efa-heading>span{
   font-size:.78rem;
 }
 .eduflow-demo-academy .efa-heading h1{
   font-size:clamp(1.9rem,9vw,2.35rem);
   line-height:1.28;
   margin:.45rem 0 .55rem;
 }
 .eduflow-demo-academy .efa-heading p{
   max-width:34rem;
   font-size:.88rem;
   line-height:1.8;
 }
 .eduflow-demo-academy .efa-course-layout{
   grid-template-columns:minmax(0,1fr);
   gap:16px;
 }
 .eduflow-demo-academy .efa-filter{
   position:static;
   top:auto;
   padding:16px;
   border-radius:16px;
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:10px 14px;
 }
 .eduflow-demo-academy .efa-filter>input,
 .eduflow-demo-academy .efa-filter>h3{
   grid-column:1/-1;
 }
 .eduflow-demo-academy .efa-filter input{
   width:100%;
   min-height:44px;
 }
 .eduflow-demo-academy .efa-filter h3{
   margin:6px 0 0;
   font-size:.92rem;
 }
 .eduflow-demo-academy .efa-filter label{
   min-width:0;
   font-size:.78rem;
   line-height:1.55;
 }
 .eduflow-demo-academy .efa-card-grid{
   grid-template-columns:minmax(0,1fr);
   gap:14px;
 }
 .eduflow-demo-academy .efa-course-card{
   border-radius:16px;
 }
 .eduflow-demo-academy .efa-course-card .efa-photo{
   min-height:145px;
   padding:16px;
 }
 .eduflow-demo-academy .efa-course-card .efa-photo b{
   font-size:1.65rem;
 }
 .eduflow-demo-academy .efa-course-card>div:last-child{
   padding:15px;
 }
 .eduflow-demo-academy .efa-course-card h2{
   font-size:1rem;
   line-height:1.55;
 }
 .eduflow-demo-academy .efa-course-card p{
   font-size:.8rem;
   line-height:1.7;
 }
 .eduflow-demo-academy .efa-course-card footer{
   gap:12px;
   flex-wrap:wrap;
 }
 .eduflow-demo-academy .efa-banner{
   margin-top:24px;
   padding:20px;
   border-radius:18px;
   gap:12px;
 }
 .eduflow-demo-academy .efa-banner h2{
   font-size:1.2rem;
   line-height:1.55;
 }
 .eduflow-demo-academy .efa-banner a{
   width:100%;
   text-align:center;
   min-height:44px;
   display:grid;
   place-items:center;
 }
 .eduflow-demo-academy .efa-detail-hero{
   grid-template-columns:minmax(0,1fr);
   gap:18px;
   padding:18px;
   border-radius:18px;
   align-items:stretch;
 }
 .eduflow-demo-academy .efa-detail-hero>.efa-photo{
   min-height:175px;
   border-radius:14px;
 }
 .eduflow-demo-academy .efa-detail-hero h1{
   font-size:clamp(1.75rem,8vw,2.15rem);
   line-height:1.35;
   margin:.6rem 0;
 }
 .eduflow-demo-academy .efa-detail-hero p{
   font-size:.86rem;
   line-height:1.8;
 }
 .eduflow-demo-academy .efa-detail-hero>aside{
   order:3;
   padding:18px;
   gap:10px;
   border-radius:15px;
 }
 .eduflow-demo-academy .efa-facts{
   display:grid;
   grid-template-columns:repeat(3,minmax(0,1fr));
   gap:8px;
   margin-top:14px;
 }
 .eduflow-demo-academy .efa-facts b{
   min-width:0;
   padding:10px 7px;
   text-align:center;
   font-size:.85rem;
 }
 .eduflow-demo-academy .efa-facts small{
   font-size:.64rem;
   line-height:1.45;
 }
 .eduflow-demo-academy .efa-tabs{
   gap:18px;
   padding:16px 4px;
   overflow-x:auto;
   overscroll-behavior-inline:contain;
   scrollbar-width:none;
   white-space:nowrap;
 }
 .eduflow-demo-academy .efa-tabs>*{
   flex:0 0 auto;
   font-size:.82rem;
 }
 .eduflow-demo-academy .efa-detail-body{
   grid-template-columns:minmax(0,1fr);
   gap:16px;
   padding-top:20px;
 }
 .eduflow-demo-academy .efa-detail-body article,
 .eduflow-demo-academy .efa-teacher-mini{
   padding:18px;
   border-radius:16px;
 }
 .eduflow-demo-academy .efa-detail-body article h2{
   font-size:1.2rem;
 }
 .eduflow-demo-academy .efa-detail-body p,
 .eduflow-demo-academy .efa-detail-body li{
   font-size:.84rem;
   line-height:1.85;
 }
 .eduflow-demo-academy .efa-teacher-mini>div{
   width:74px;
   height:74px;
   font-size:1.25rem;
 }
 .eduflow-demo-academy .efa-chips{
   justify-content:flex-start;
   overflow-x:auto;
   scrollbar-width:none;
   gap:8px;
   margin-bottom:18px;
   padding-bottom:4px;
 }
 .eduflow-demo-academy .efa-chips>*{
   flex:0 0 auto;
   padding:7px 14px;
   font-size:.78rem;
 }
 .eduflow-demo-academy .efa-teachers{
   grid-template-columns:minmax(0,1fr);
   gap:14px;
 }
 .eduflow-demo-academy .efa-teachers article{
   padding:20px;
 }
 .eduflow-demo-academy .efa-avatar{
   width:96px;
   height:96px;
   border-radius:20px;
 }
 .eduflow-demo-academy .efa-about{
   grid-template-columns:minmax(0,1fr);
   gap:18px;
   padding:18px;
   border-radius:18px;
 }
 .eduflow-demo-academy .efa-about .efa-photo{
   min-height:190px;
   border-radius:14px;
 }
 .eduflow-demo-academy .efa-about article>p{
   font-size:.86rem;
   line-height:1.85;
 }
 .eduflow-demo-academy .efa-stats{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:8px;
   margin-top:18px;
 }
 .eduflow-demo-academy .efa-stats b{
   padding:13px 8px;
   font-size:1.05rem;
 }
 .eduflow-demo-academy .efa-section-title{
   margin:34px 0 16px;
   font-size:1.35rem;
 }
 .eduflow-demo-academy .efa-values{
   grid-template-columns:repeat(2,minmax(0,1fr));
   gap:10px;
 }
 .eduflow-demo-academy .efa-values article{
   padding:18px 12px;
   border-radius:15px;
   font-size:1.5rem;
 }
 .eduflow-demo-academy .efa-values h3{
   font-size:.9rem;
 }
 .eduflow-demo-academy .efa-values p{
   font-size:.74rem;
   line-height:1.65;
 }
 .eduflow-demo-academy .efa-contact{
   display:flex;
   flex-direction:column;
   gap:16px;
 }
 .eduflow-demo-academy .efa-contact form{
   order:1;
   grid-template-columns:minmax(0,1fr);
   padding:18px;
   gap:13px;
   border-radius:18px;
 }
 .eduflow-demo-academy .efa-contact aside{
   order:2;
   padding:16px;
   gap:10px;
   border-radius:18px;
 }
 .eduflow-demo-academy .efa-contact aside div{
   padding:12px 14px;
 }
 .eduflow-demo-academy .efa-contact input,
 .eduflow-demo-academy .efa-contact select,
 .eduflow-demo-academy .efa-contact textarea{
   width:100%;
   min-width:0;
 }
 .eduflow-demo-academy .efa-contact textarea{
   min-height:105px;
 }
 .eduflow-demo-academy .efa-pricing{
   grid-template-columns:minmax(0,1fr);
   gap:12px;
   align-items:stretch;
 }
 .eduflow-demo-academy .efa-pricing article,
 .eduflow-demo-academy .efa-pricing article.hot{
   width:100%;
   padding:20px;
   border-radius:17px;
   transform:none;
 }
 .eduflow-demo-academy .efa-pricing h2{
   font-size:1.5rem;
 }
 .eduflow-demo-academy .efa-pricing ul{
   line-height:2.05;
   font-size:.84rem;
 }
}
@media (max-width:390px){
 .eduflow-demo-academy .efa-filter{
   grid-template-columns:minmax(0,1fr);
 }
 .eduflow-demo-academy .efa-filter>*{
   grid-column:1;
 }
 .eduflow-demo-academy .efa-facts{
   grid-template-columns:minmax(0,1fr);
 }
 .eduflow-demo-academy .efa-values{
   grid-template-columns:minmax(0,1fr);
 }
}


/* Global mobile container containment — prevents padding from widening 100%-width shells. */
@media (max-width:759px){
 .ef-container,
 .ef-footer-grid,
 .ef-footer-widgets,
 .ef-footer-bottom{
   box-sizing:border-box;
   max-width:100%;
 }
 .ef-site-footer .ef-container{
   width:100%;
   padding-inline:1rem;
 }
}


/* Academy box-model contract — prevents padded shells/cards from exceeding grid tracks at tablet/desktop widths. */
.eduflow-demo-academy .efa-home-v2,
.eduflow-demo-academy .efa-home-v2 *,
.eduflow-demo-academy .efa-page,
.eduflow-demo-academy .efa-page *{
 box-sizing:border-box;
}
.eduflow-demo-academy :where(.efa-shell,.efa-contact,.efa-contact>*,.efa-start .efa-shell,.efa-detail-hero,.efa-detail-body,.efa-about,.efa-banner){
 min-width:0;
 max-width:100%;
}


/* Academy tablet contact breakpoint — 768px must not keep the desktop two-column form. */
@media (max-width:820px){
 .eduflow-demo-academy .efa-contact{
   display:flex;
   flex-direction:column;
   gap:16px;
 }
 .eduflow-demo-academy .efa-contact form{
   order:1;
   display:grid;
   grid-template-columns:minmax(0,1fr);
   gap:13px;
   width:100%;
   min-width:0;
   max-width:100%;
   padding:18px;
   box-sizing:border-box;
 }
 .eduflow-demo-academy .efa-contact aside{
   order:2;
   width:100%;
   min-width:0;
   max-width:100%;
   box-sizing:border-box;
 }
 .eduflow-demo-academy .efa-contact label,
 .eduflow-demo-academy .efa-contact label:nth-last-of-type(1),
 .eduflow-demo-academy .efa-contact button{
   grid-column:1;
   min-width:0;
   max-width:100%;
 }
 .eduflow-demo-academy .efa-contact input,
 .eduflow-demo-academy .efa-contact select,
 .eduflow-demo-academy .efa-contact textarea{
   width:100%;
   min-width:0;
   max-width:100%;
   box-sizing:border-box;
 }
}


/* Shared business-blueprint responsive contract.
 * RC30 home.css keeps intentionally distinct desktop compositions; on real phones
 * every business blueprint must collapse to a readable single content column. */
@media (max-width:760px){
 .ef30 :where(
   .ef30-en-hero>.ef-container,
   .ef30-ru-hero>.ef-container,
   .ef30-on-hero>.ef-container,
   .ef30-sc-hero>.ef-container,
   .ef30-uni-hero>.ef-container,
   .ef30-ko-hero>.ef-container,
   .ef30-code-hero>.ef-container,
   .ef30-art-hero>.ef-container,
   .ef30-sk-hero>.ef-container,
   .ef30-cr-hero>.ef-container
 ){
   display:grid!important;
   grid-template-columns:minmax(0,1fr)!important;
   gap:1.4rem!important;
   align-items:stretch!important;
 }
 .ef30 :where(
   .ef30-en-hero>.ef-container,
   .ef30-ru-hero>.ef-container,
   .ef30-on-hero>.ef-container,
   .ef30-sc-hero>.ef-container,
   .ef30-uni-hero>.ef-container,
   .ef30-ko-hero>.ef-container,
   .ef30-code-hero>.ef-container,
   .ef30-art-hero>.ef-container,
   .ef30-sk-hero>.ef-container,
   .ef30-cr-hero>.ef-container
 )>*{
   min-width:0!important;
   width:100%!important;
   max-width:100%!important;
 }
 .ef30 :where(.ef30-ru-hero,.ef30-on-hero,.ef30-uni-hero,.ef30-code-hero,.ef30-cr-hero){
   padding-block:2.5rem!important;
 }
 .ef30-ru-hero aside,
 .ef30-on-hero aside,
 .ef30-uni-hero aside,
 .ef30-code-hero pre,
 .ef30-cr-hero aside{
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   box-sizing:border-box!important;
 }
 .ef30-ru-hero aside{min-height:240px!important}
 .ef30-on-hero aside{margin-top:.25rem}
 .ef30-code-hero pre{
   margin:0;
   white-space:pre-wrap!important;
   overflow-wrap:anywhere;
   word-break:break-word;
   font-size:.9rem!important;
   line-height:1.55;
 }
 .ef30-cr-hero aside{
   width:min(280px,82vw)!important;
   justify-self:center;
 }
}

/* Career code panel must never establish a min-content width wider than a tablet track. */
.ef30-code-hero pre{
 min-width:0;
 max-width:100%;
 box-sizing:border-box;
 white-space:pre-wrap;
 overflow-wrap:anywhere;
 word-break:break-word;
}
@media (min-width:761px) and (max-width:820px){
 .ef30-code-hero pre{font-size:.78rem;line-height:1.5;padding:1.25rem}
}


/* Konkur portrait-tablet refinement: the asymmetric desktop hero becomes too narrow at 768px. */
@media (min-width:761px) and (max-width:900px){
 .ef30-ko-hero>.ef-container{
   grid-template-columns:minmax(0,1fr)!important;
   gap:1.5rem!important;
 }
 .ef30-ko-hero>.ef-container>div{
   width:min(520px,100%);
   max-width:100%;
   justify-self:center;
   box-sizing:border-box;
 }
 .ef30-ko-hero>.ef-container>div strong{
   font-size:5rem;
 }
 .ef30-ko-hero>.ef-container>section{
   width:100%;
   max-width:720px;
   justify-self:center;
 }
}
