/* V14.7: Lessons & hero presentation. No commerce/backend changes. */
.fp-legacy-content .lesson-body{box-sizing:border-box;width:min(880px,calc(100% - 48px));max-width:880px;margin:42px auto 88px!important;padding:40px clamp(22px,5vw,60px);border:1px solid #eae2f1;border-radius:24px;background:#fff;box-shadow:0 12px 40px rgba(38,23,58,.035)}
.fp-legacy-content .lesson-body>h1{font-size:clamp(32px,4vw,48px);line-height:1.18;margin:22px 0 18px}
.fp-legacy-content .lesson-body>h2{font-size:clamp(23px,2.6vw,29px);margin:32px 0 12px}
.fp-legacy-content .lesson-body>p{line-height:1.8;max-width:72ch}
.fp-legacy-content .lesson-body .lead{color:#625675;font-size:19px}
.fp-legacy-content .lesson-body .example-box{display:flex;gap:12px;align-items:baseline;margin:14px 0;padding:17px 20px;border-radius:14px;border:1px solid #e5dfee;line-height:1.6;overflow-wrap:anywhere}
.fp-legacy-content .lesson-body .example-box.correct{background:#effaf8;border-color:#ceeae4}
.fp-legacy-content .lesson-body .example-box.incorrect{background:#fff3f4;border-color:#f1d8df}
.fp-legacy-content .lesson-body .quiz-panel{margin:22px 0}
.fp-legacy-content .lesson-body button{max-width:100%}
.fp-legacy-content .lesson-body a{overflow-wrap:anywhere}
.fp-legacy-content .lesson-intro{margin:0!important;max-width:1000px!important}
.fp-v8.fp-legacy-content .library-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}
.fp-v8.fp-legacy-content .library-card{display:flex!important;flex-direction:column;gap:8px;min-height:172px;border:1px solid #e8e0ef;border-radius:18px;padding:22px 24px!important;background:#fff;transition:border-color .15s,background .15s}
.fp-v8.fp-legacy-content .library-card:hover{border-color:#b8a1d5;background:#fcfaff}
.fp-v8.fp-legacy-content .library-card h2{font-size:20px!important;line-height:1.28;margin:2px 0 0!important}
.fp-v8.fp-legacy-content .library-card p{font-size:14px;margin:0 0 4px;line-height:1.5;flex:1}
.fp-v8.fp-legacy-content .library-card strong{font-size:14px;margin-top:auto}
.fp-v8.fp-legacy-content .empty-library{display:none;padding:24px;background:#faf8fe;border-radius:14px}
.fp-v8.fp-legacy-content .library-tools{align-items:stretch}
.fp-v8.fp-legacy-content .library-tools input:focus-visible,.fp-v8.fp-legacy-content .library-tools select:focus-visible{outline:3px solid #c9b4e7;outline-offset:2px}
.fp-v8.fp-shop .fp-shop-hero,.fp-v8.fp-videos .fp-video-hero{padding:42px 0!important;min-height:0;background:#faf8fc!important;border-bottom:1px solid #ece3f1}
.fp-v8.fp-shop .fp-shop-hero>.fp-container,.fp-v8.fp-videos .fp-video-hero>.fp-container{width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;margin:auto;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);align-items:center;gap:42px}
.fp-hero-copy-v147{min-width:0}
.fp-v8.fp-shop .fp-shop-hero h1,.fp-v8.fp-videos .fp-video-hero h1{font-size:clamp(38px,4.6vw,66px)!important;line-height:1.08;margin:16px 0 18px;max-width:780px}
.fp-v8.fp-shop .fp-shop-hero p,.fp-v8.fp-videos .fp-video-hero p{font-size:17px;line-height:1.7;max-width:620px}
.fp-hero-feature-v147{position:relative;overflow:hidden;border:1px solid #e5d9f0;border-radius:26px;padding:28px;min-height:330px;background:linear-gradient(145deg,#f2ebfd,#e6f9f9);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px}
.fp-hero-feature-v147:after{content:'';position:absolute;width:230px;height:230px;right:-70px;top:-55px;border-radius:50%;background:rgba(255,255,255,.5);pointer-events:none}
.fp-hero-feature-v147 img{width:132px;height:132px;object-fit:contain;position:absolute;right:24px;top:12px;z-index:1}
.fp-hero-feature-v147 .fp-feature-eyebrow{font-size:12px;letter-spacing:.11em;font-weight:800;color:#572f86;text-transform:uppercase;max-width:60%}
.fp-hero-feature-v147 h2{font-size:clamp(25px,2.6vw,34px);color:#25183b;margin:28px 0 0;line-height:1.15;max-width:75%;position:relative;z-index:1}
.fp-hero-feature-v147 p{font-size:15px!important;line-height:1.5!important;max-width:72%!important;margin:0!important;color:#4b405b!important;position:relative;z-index:1}
.fp-feature-pills-v147{display:flex;gap:9px;flex-wrap:wrap;position:relative;z-index:1}
.fp-feature-pills-v147 span{display:inline-block;border:1px solid #dacee8;border-radius:99px;background:#fff;padding:7px 11px;color:#46315c;font-size:12px;font-weight:700}
.fp-hero-feature-v147 .fp-feature-link{position:relative;z-index:1;text-decoration:none;font-weight:700;color:white;background:#512e8a;padding:12px 17px;border-radius:12px}
@media(max-width:760px){.fp-v8.fp-shop .fp-shop-hero>.fp-container,.fp-v8.fp-videos .fp-video-hero>.fp-container{grid-template-columns:1fr;gap:23px}.fp-hero-feature-v147{min-height:260px}.fp-legacy-content .lesson-body{width:calc(100% - 30px);margin:22px auto 56px!important;padding:24px 20px}.fp-v8.fp-legacy-content .library-grid{grid-template-columns:1fr!important}.fp-v8.fp-shop .fp-shop-hero,.fp-v8.fp-videos .fp-video-hero{padding:32px 0!important}}

.fp-v8.fp-legacy-content .library-card[hidden]{display:none!important}
