/* RegexArena Sprint 2 · editorial examples (no JavaScript required) */
.learning-challenge-grid,.learning-recipe-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:16px;align-items:start}
.learning-challenge,.learning-worked,.learning-game-guide,.learning-recipe-grid>article{min-width:0;overflow-wrap:anywhere}
.learning-challenge .code-panel,.learning-worked .code-panel,.learning-recipe-grid .code-panel{white-space:pre-wrap;overflow-wrap:anywhere}
.learning-challenge .solution-box{margin-top:12px;padding:12px;border-radius:12px}
.learning-challenge .solution-box summary{cursor:pointer;font-weight:650}
.learning-tests{background:var(--bg-soft,#eef3ed);border-radius:10px;padding:12px;margin-top:12px}
.learning-tests p{margin:0 0 8px}.learning-tests p:last-child{margin:0}
.learning-challenge .article-actions,.learning-worked .article-actions{margin-top:12px}
.learning-worked{margin:28px 0;padding-top:8px}.learning-worked>.card-glass{margin:14px 0}
.learning-game-guide{max-width:1050px;margin:0 auto}
.learning-game-guide li{margin-bottom:7px}
.learning-recipe-grid .btn{white-space:normal}
@media(max-width:640px){.learning-challenge-grid,.learning-recipe-grid{grid-template-columns:minmax(0,1fr)}.learning-challenge,.learning-worked>.card-glass,.learning-recipe-grid>article{padding:18px!important}}
