/* The locked-lesson panel, the padlock, and the course menu list on Courses pages.
   Loaded on every course and lesson page, and it is the ONLY stylesheet of ours that MemberPress Courses' classroom mode
   keeps (that mode drops the theme's CSS), so it carries its own colours, fonts and resets and needs nothing from base.css.
   Colours: ink #0b1f44, navy #0e2a5c, blue #1f65cc (the theme tokens, written out). */

/* The panel */
.crem-lock{display:grid;gap:16px;margin:24px 0;padding:20px;border:1px solid rgba(11,31,68,.12);border-radius:22px;background:#fff;color:#0b1f44;font:400 1rem/1.55 "Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;box-shadow:0 30px 80px -40px rgba(11,31,68,.35),0 10px 30px -20px rgba(11,31,68,.2)}
.crem-lock p{margin:0}
.crem-lock-lede{max-width:56ch;color:#4b5566;font-size:1.02rem}
.crem-lock-acts{display:grid;gap:10px}
.crem-lock a.crem-lock-btn,.crem-lock a.crem-lock-btn:link,.crem-lock a.crem-lock-btn:visited{display:inline-flex;align-items:center;justify-content:center;gap:12px;box-sizing:border-box;width:100%;min-height:52px;height:auto;padding:8px 10px 8px 24px;border:1.5px solid transparent;border-radius:999px;font:600 1rem/1.2 "Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;text-decoration:none;text-align:center;cursor:pointer;touch-action:manipulation;transition:transform .5s cubic-bezier(.32,.72,0,1),background-color .5s,border-color .5s,box-shadow .5s}
.crem-lock a.crem-lock-btn-main,.crem-lock a.crem-lock-btn-main:link,.crem-lock a.crem-lock-btn-main:visited{background:#0b1f44;color:#fff;border-color:#0b1f44}
.crem-lock a.crem-lock-btn-alt,.crem-lock a.crem-lock-btn-alt:link,.crem-lock a.crem-lock-btn-alt:visited{background:#fff;color:#0b1f44;border-color:rgba(11,31,68,.28)}
.crem-lock a.crem-lock-btn-main:hover,.crem-lock a.crem-lock-btn-main:focus-visible{background:#0e2a5c;border-color:#0e2a5c;color:#fff}
.crem-lock a.crem-lock-btn-alt:hover,.crem-lock a.crem-lock-btn-alt:focus-visible{background:#f4efe6;border-color:#0b1f44;color:#0b1f44}
.crem-lock a.crem-lock-btn:active{transform:scale(.98)}
.crem-lock a.crem-lock-btn:focus-visible,.crem-lock a.crem-lock-link:focus-visible{outline:3px solid #1f65cc;outline-offset:3px}
.crem-lock a.crem-lock-btn:not(:has(i)){padding-right:24px}
.crem-lock .crem-lock-btn i{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.14);font-style:normal;transition:transform .5s cubic-bezier(.32,.72,0,1)}
.crem-lock .crem-lock-btn-alt i{background:rgba(11,31,68,.06)}
.crem-lock .crem-lock-btn:hover i{transform:translate(3px,-1px)}
.crem-lock .crem-lock-btn svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.crem-lock-links{font-size:.95rem}
.crem-lock a.crem-lock-link,.crem-lock-links a,.crem-lock-links a:link,.crem-lock-links a:visited{display:inline-flex;align-items:center;min-height:44px;color:#1f65cc;font-weight:600;text-decoration:underline;text-underline-offset:.22em;text-decoration-thickness:1px;background:none;border:0}
.crem-lock-links a:hover{color:#0b1f44}
@media (min-width:640px){.crem-lock{padding:26px}.crem-lock-acts{grid-template-columns:auto auto;justify-content:start}.crem-lock a.crem-lock-btn{width:auto}}
@media (prefers-reduced-motion:reduce){.crem-lock a.crem-lock-btn,.crem-lock .crem-lock-btn i{transition:none}.crem-lock a.crem-lock-btn:active,.crem-lock .crem-lock-btn:hover i{transform:none}}

/* The padlock after a paid lesson's title (the markup also carries its own size and colour) */
.crem-lock-badge{display:inline-block;margin-left:6px;vertical-align:-3px;line-height:0;color:#5d6676}
.crem-lock-badge svg{width:16px;height:16px;max-width:16px;max-height:16px}
.mpcs-lesson:has(.crem-lock-badge) .mpcs-lesson-link{color:#4b5566}
.mpcs-lesson:has(.crem-lock-badge) .mpcs-lesson-button{display:none}

/* Course menu on the course page in classroom mode: sections and lessons under "Course Overview" */
.crem-sidebar-outline{list-style:none}
.crem-sidebar-outline .mpcs-section-header{display:block;width:100%;padding:12px 16px 4px;border:0;background:none;text-align:left;font:700 .72rem/1.3 "Plus Jakarta Sans","Segoe UI",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;color:inherit;opacity:.8}
.crem-sidebar-outline .mpcs-lessons{margin:0;padding:0 0 6px;list-style:none}
.crem-sidebar-outline .mpcs-section-description{display:none}
