/* EC mobile enrollment and public course page usability 2026-11-05 */
@media(min-width:901px){.header .ec-checkout-mobile-menu{display:none}}
@media(max-width:900px){
.header .ec-checkout-mobile-menu{display:block;position:relative}
.header .ec-checkout-mobile-menu summary{display:flex;justify-content:center;align-items:center;min-height:48px;min-width:48px;padding:7px 11px;list-style:none;border:1px solid #bea070;border-radius:10px;color:#f9edcd;background:#10373a;font-size:13px;font-weight:850;cursor:pointer;touch-action:manipulation}
.header .ec-checkout-mobile-menu summary::-webkit-details-marker{display:none}
.header .ec-checkout-mobile-menu nav{position:absolute;display:grid;gap:3px;z-index:90;right:0;top:calc(100% + 9px);width:min(310px,calc(100vw - 24px));max-height:min(65dvh,520px);overflow-y:auto;overscroll-behavior:contain;background:#092c2e;padding:10px;border:1px solid #c0a06b;border-radius:12px;box-shadow:0 20px 45px #0009}
.header .ec-checkout-mobile-menu nav a{display:flex;align-items:center;min-height:48px;padding:11px 13px;color:#f8ead0;font-size:14px;border-radius:9px;white-space:normal;text-decoration:none;font-weight:760}
.header .ec-checkout-mobile-menu nav a:focus-visible{outline:3px solid #efd196;outline-offset:-2px}
}
@media(max-width:530px){
.header .header-inner{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
.header .logo img{width:clamp(114px,34vw,157px)!important;max-width:100%!important}
.header .nav-actions{gap:6px!important;min-width:0!important}
.header .lang button{min-width:34px;min-height:40px}
.checkout-grid .fee-row{align-items:flex-start;gap:10px}
.checkout-grid .fee-row>span{flex:1;min-width:0;overflow-wrap:anywhere}
.checkout-grid .fee-row strong{flex:0 0 auto}
.checkout-grid :is(select,input:not([type=checkbox]),textarea){font-size:16px!important;max-width:100%;min-height:46px}
.checkout-grid #pay{min-height:56px;font-size:16px}
.checkout-grid #retry{min-height:44px}
.checkout-grid .ec-early-consent input{width:22px;min-width:22px;height:22px}
.hero .steps{gap:5px!important}
.hero .steps li:not(:last-child)::after{display:none!important}
}
@media(max-width:375px){.header .header-inner{padding-inline:10px!important}.header .lang button{min-width:32px}.trust{grid-template-columns:1fr!important}}
@media(min-width:761px){header .ec-pricing-mobile-menu{display:none}}
@media(max-width:760px){
body>header:has(.ec-pricing-mobile-menu){display:flex;align-items:center;flex-wrap:nowrap;gap:10px;padding:12px 15px}
header:has(.ec-pricing-mobile-menu)>nav[aria-label="Main navigation"]{display:none}
header .ec-pricing-mobile-menu{display:block;position:relative;order:3}
header .ec-pricing-mobile-menu summary{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;list-style:none;cursor:pointer;padding:7px 10px;color:#f8edda;border:1px solid #bba06c;border-radius:10px;font-size:13px;font-weight:800}
header .ec-pricing-mobile-menu summary::-webkit-details-marker{display:none}
header .ec-pricing-mobile-menu nav{position:absolute;right:0;top:calc(100% + 9px);z-index:90;width:min(310px,calc(100vw - 24px));max-height:min(65dvh,500px);overflow-y:auto;display:grid;gap:3px;background:#092e2b;border:1px solid #bb9d65;border-radius:12px;padding:8px;box-shadow:0 20px 45px #0009}
header .ec-pricing-mobile-menu nav a{display:flex;align-items:center;min-height:48px;padding:10px 14px;color:#f8ebd5;text-decoration:none;font-size:14px}
header .ec-pricing-mobile-menu :is(summary,a):focus-visible{outline:3px solid #e4c586;outline-offset:2px}
header .language{margin-left:auto;gap:2px}
header .language button{min-width:38px;min-height:42px}
header:has(.ec-pricing-mobile-menu)>.logo{font-size:clamp(13px,3.7vw,18px);white-space:nowrap}
.hero:has(+.content){padding:45px 20px}
.hero:has(+.content) h1{font-size:clamp(36px,9vw,56px)}
.content{padding:34px 16px}
.table-wrap{-webkit-overflow-scrolling:touch}
.table-wrap :is(th,td){padding:12px 11px}
.table-wrap a.ec-cost-buy{display:inline-flex;align-items:center;justify-content:center;min-height:46px;min-width:114px;white-space:normal;font-size:13px;line-height:1.3}
.next a{min-height:46px;display:inline-flex;align-items:center}
}
@media(max-width:360px){header:has(.ec-pricing-mobile-menu){padding-inline:10px;gap:6px}header:has(.ec-pricing-mobile-menu)>.logo{font-size:13px}header .language button{min-width:35px;padding:6px 8px}}
@media(max-width:700px){
.ec-language-journey .ec-lp-menu summary{display:flex!important;align-items:center!important;justify-content:center!important;min-width:48px!important;min-height:48px!important;padding:8px 10px!important}
.ec-language-journey .ec-lp-menu[open] nav{z-index:201!important;max-height:min(68dvh,520px)!important;overflow-y:auto!important;overscroll-behavior:contain}
.ec-language-journey .ec-lp-menu[open] nav a{min-height:48px!important;display:flex!important;align-items:center!important;padding:11px 13px!important;font-size:15px!important}
.ec-language-journey .ec-lp-nav-actions .ec-interface-language [data-ec-interface-lang]{min-height:42px!important;min-width:38px!important}
.ec-language-journey .ec-lp-price-grid{gap:10px!important}
.ec-language-journey .ec-lp-price{min-width:0!important;align-items:stretch!important;padding:18px 10px!important;overflow-wrap:anywhere}
.ec-language-journey .ec-lp-price strong{font-size:clamp(18px,4.7vw,26px)!important;line-height:1.25!important}
.ec-language-journey .ec-lp-price small{font-size:12px!important;line-height:1.45!important}
.ec-language-journey .ec-lp-price-actions .ec-lp-btn{min-height:48px!important}
.ec-language-journey .ec-lp-goal-form :is(select,input,textarea){font-size:16px!important}
.ec-language-journey .ec-lp-hero{overflow-wrap:break-word}
}
