
/* V14.8 layout regression fix: section must span the entire viewport. */
body.fp-v8 .fp-page-hero{width:100%!important;max-width:none!important;box-sizing:border-box;display:block!important;min-height:0!important;overflow:hidden}
body.fp-v8 .fp-page-hero > .fp-container{width:min(1200px,calc(100% - 48px))!important;max-width:1200px!important;margin:0 auto!important;box-sizing:border-box;display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;gap:clamp(20px,4vw,58px)!important;align-items:center!important;padding:28px 0!important}
body.fp-v8 .fp-page-hero .fp-hero-copy-v147{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.fp-v8 .fp-page-hero .fp-hero-feature-v147{width:100%!important;box-sizing:border-box;min-width:0!important;min-height:260px!important;padding:30px!important;align-self:stretch;justify-content:center;gap:14px}
body.fp-v8 .fp-page-hero .fp-hero-feature-v147 h2{max-width:100%;padding-right:100px;margin:8px 0 0!important;font-size:clamp(24px,2.6vw,34px)!important;overflow-wrap:break-word}
body.fp-v8 .fp-page-hero .fp-hero-feature-v147 p{max-width:100%!important;padding-right:38px}
body.fp-v8 .fp-page-hero .fp-hero-feature-v147 img{width:100px;height:100px;right:15px;top:12px;object-fit:contain}
body.fp-v8 .fp-page-hero h1{font-size:clamp(36px,4.3vw,64px)!important;line-height:1.12!important;margin:12px 0 18px!important}
body.fp-v8 .fp-page-hero{padding:22px 0!important}
body.fp-v8.fp-legacy-content main{width:100%!important;max-width:none!important;padding:0!important;display:block!important}
body.fp-v8.fp-legacy-content main>.lesson-body{margin:32px auto 65px!important;width:min(920px,calc(100% - 36px))!important;max-width:920px!important;padding:clamp(24px,4vw,52px)!important}
body.fp-v8.fp-legacy-content .lesson-body .example-box{display:flex;align-items:flex-start;flex-wrap:wrap;gap:10px}
body.fp-v8.fp-legacy-content .lesson-body .example-box strong{min-width:90px}
body.fp-v8.fp-legacy-content .lesson-body .lesson-next{display:flex!important;flex-wrap:wrap;gap:14px!important;margin-top:32px;align-items:center}
body.fp-v8.fp-legacy-content .lesson-body .lesson-next a{display:inline-flex!important;align-items:center;justify-content:center;line-height:1.4;text-decoration:none;border:1px solid #d9c9ea;border-radius:12px;padding:12px 17px;min-height:44px}
body.fp-v8.fp-legacy-content .lesson-body .lesson-next a:last-child{background:#512e8a;color:white;border-color:#512e8a}
body.fp-v8.fp-legacy-content .quiz-panel{border:1px solid #e3d8ee;border-radius:18px;padding:22px;margin:25px 0;background:#fbf9ff}
body.fp-v8.fp-legacy-content .quiz-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.fp-v8.fp-legacy-content .quiz-options button{white-space:normal;text-align:left;line-height:1.45;border:1px solid #ccb9e1;padding:14px 16px;background:white;border-radius:12px;color:#312040;cursor:pointer;font:inherit}
body.fp-v8.fp-legacy-content .quiz-options button:focus-visible{outline:3px solid #7856ab;outline-offset:2px}
body.fp-v8.fp-legacy-content .quiz-options button.is-correct{background:#e6f6f0;border-color:#3e947b}
body.fp-v8.fp-legacy-content .quiz-options button.is-incorrect{background:#fff0f2;border-color:#c66d84}
body.fp-v8.fp-legacy-content .quiz-feedback{min-height:1.4em;font-weight:700;margin:14px 0 0}
body.fp-v8.fp-legacy-content .quiz-panel .small-note{margin:8px 0 0;color:#554765}
@media(max-width:750px){body.fp-v8 .fp-page-hero>.fp-container{grid-template-columns:1fr!important;width:calc(100% - 32px)!important;padding:10px 0!important}body.fp-v8 .fp-page-hero .fp-hero-feature-v147 h2{padding-right:75px}body.fp-v8 .fp-page-hero .fp-hero-feature-v147 img{width:76px;height:76px}body.fp-v8.fp-legacy-content .quiz-options{grid-template-columns:1fr}}
