/* v0.6.65: compact public catalog, preserving original links and enrollment forms. */
@media(max-width:850px){
 body .at-shell .at-main:has(.ala-page-courses .ala-catalog){padding:5px!important}
 body .at-shell .at-main>.at-content:has(.ala-page-courses .ala-catalog){padding:6px!important;border-radius:10px!important}
 body .at-shell .at-content:has(.ala-page-courses .ala-catalog)>h1{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);padding:0!important;margin:0!important;white-space:nowrap}
 body .ala.ala-page-courses:has(.ala-catalog)>main{padding:0!important}
 body .ala:is(.ala-page-courses,.ala-page-academy,.ala-page-student_dashboard) main>.ala-catalog-heading{font-size:17px!important;line-height:1.25!important;letter-spacing:-.02em;margin:0 0 7px!important;padding:2px 0!important;min-height:0!important}
 body .ala:is(.ala-page-courses,.ala-page-academy,.ala-page-student_dashboard) main>.ala-catalog{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;align-items:stretch!important;margin:0!important;padding:0!important}
 body .ala:is(.ala-page-courses,.ala-page-academy,.ala-page-student_dashboard) .ala-catalog>:is(article,.ala-enrolled-card){margin:0!important;border-radius:10px!important;box-shadow:0 2px 7px #211b5010!important;border:1px solid #e0dfee!important;background:linear-gradient(180deg,#fff,#faf9ff);height:auto!important;min-height:0!important;min-width:0!important;display:flex!important;flex-direction:column}
 body .ala .ala-catalog .ala-cover .ala-course-art{aspect-ratio:16/9!important;object-fit:contain!important;height:auto!important;margin:0!important}
 body .ala .ala-catalog .ala-cover-link>span{font-size:9px!important;line-height:1.15!important;top:4px!important;left:4px!important;padding:3px 5px!important;border-radius:5px!important;background:#34256ee8;color:#fff}
 body .ala .ala-catalog .ala-cover-grad{display:none!important}
 body .at-shell .ala .ala-catalog .ala-cardbody,body .ala .ala-catalog .ala-cardbody{padding:6px!important;gap:4px!important;min-height:0!important;flex:1 1 auto}
 body .ala .ala-catalog .ala-mini-brand{display:none!important}
 body .at-shell .ala .ala-catalog .ala-cardbody h3,body .ala .ala-catalog .ala-cardbody h3{font-size:clamp(12px,3.4vw,15px)!important;line-height:1.28!important;min-height:2.56em!important;max-height:2.56em!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body .ala .ala-catalog .ala-teacherrow{gap:5px!important;margin:0!important;min-height:25px!important;align-items:center!important}
 body .ala .ala-catalog .ala-teacher-avatar{width:23px!important;height:23px!important;flex:0 0 23px!important;object-fit:cover;border-radius:50%!important}
 body .at-shell .ala .ala-catalog .ala-cardbody .ala-teacher,body .ala .ala-catalog .ala-cardbody .ala-teacher{font-size:11px!important;line-height:1.2!important;min-height:0!important;max-height:1.2em!important;display:block!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0!important}
 body .ala .ala-catalog .ala-teacher-prefix{display:none}
 body .ala .ala-catalog .ala-teacherrow small{font-size:10px!important;line-height:1.2!important;margin:1px 0 0!important}
 body .at-shell .ala .ala-catalog .ala-cardfoot,body .ala .ala-catalog .ala-cardfoot{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:4px 3px!important;align-items:center!important;align-content:end!important;border-top:1px solid #e9e6f2!important;margin-top:auto!important;margin-bottom:0!important;padding:4px 0 0!important;min-height:0!important}
 body .at-shell .ala .ala-catalog .ala-cardfoot strong,body .ala .ala-catalog .ala-cardfoot strong{font-size:13px!important;line-height:1.2!important;white-space:normal;overflow-wrap:anywhere}
 body .ala .ala-catalog .ala-cardfoot .ala-price-free{color:#17613f!important}
 body .ala .ala-catalog .ala-cardfoot .ala-enrolled-label{font-size:9px!important;line-height:1.25!important;padding:2px 4px!important;justify-self:end!important;white-space:nowrap;border-radius:4px!important;margin:0!important}
 body .ala .ala-catalog .ala-cardfoot>.ala-join-form,body .ala .ala-catalog .ala-cardfoot>a.ala-btn{grid-column:1/-1!important;width:100%!important;min-width:0!important;margin:0!important;padding:0}
 body .at-shell .ala .ala-catalog .ala-cardfoot .ala-btn,body .ala .ala-catalog .ala-cardfoot .ala-btn{width:100%!important;min-width:0!important;min-height:40px!important;height:auto!important;box-sizing:border-box;font-size:11px!important;line-height:1.2!important;padding:6px 3px!important;margin:0!important;border-radius:7px!important;box-shadow:none!important;text-align:center;display:flex!important;align-items:center;justify-content:center;background:linear-gradient(110deg,#ffb348,#ed831e)!important;color:#241b40!important;font-weight:750!important}
 body .ala .ala-catalog .ala-cardfoot:has(.ala-enrolled-label) .ala-btn{background:linear-gradient(115deg,#5c42c7,#4330a9)!important;color:#fff!important}
 body .ala .ala-catalog .ala-cardfoot .ala-btn:focus-visible{outline:2px solid #5037b8;outline-offset:-2px}
}
@media(max-width:350px){
 body .ala:is(.ala-page-courses,.ala-page-academy,.ala-page-student_dashboard) main>.ala-catalog{gap:5px!important}
 body .at-shell .ala .ala-catalog .ala-cardbody,body .ala .ala-catalog .ala-cardbody{padding:5px!important}
 body .ala .ala-catalog .ala-cardfoot .ala-enrolled-label{font-size:8px!important}
}
