.pme-maths .hero{background:#fffdf8;border-color:#e5decf;box-shadow:none}
.pme-maths .eyebrow{color:#665521}
.pme-maths .subtitle{font-size:clamp(22px,4vw,30px);font-weight:700}
.pme-maths .pme-lesson-figure{max-width:620px;margin-left:auto!important;margin-right:auto!important}
.pme-maths .pme-lesson-core{background:white}
.pme-maths .pme-lesson-core>h2{background:#fff8e7}
.pme-maths .math-bar{display:flex;min-height:52px;margin:12px 0;border:2px solid #1B2A4A;border-radius:4px;overflow:hidden}
.pme-maths .math-bar span{display:flex;align-items:center;justify-content:center;padding:8px 4px;text-align:center;font-size:16px;min-width:0;border-right:1px solid #1B2A4A}
.pme-maths .math-bar span:last-child{border-right:0}
.pme-maths .part-a{background:#deedf7}.pme-maths .part-b{background:#fff0c4}.pme-maths .unspent{background:#e9f1e6}
.pme-maths .equation{font-weight:700;background:#faf7f0;padding:12px;border-radius:8px}
.pme-maths .support-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.pme-maths .support-grid section{padding:18px;border:1px solid #dde3ea;border-radius:10px;background:white}
.pme-maths .support-grid h3{font-size:19px}
.pme-maths .pme-lesson-long .pme-lesson-note h2{font-size:18px}
.pme-maths .pme-lesson-nav a{border:1px solid #d6dce5;border-radius:8px;text-decoration:none;background:white}
.pme-maths .site-footer{padding:24px;max-width:1040px;margin:auto;background:#fffdf8}
@media(max-width:620px){.pme-maths .support-grid{grid-template-columns:1fr}.pme-maths .page-content{padding:18px 14px 36px}.pme-maths .hero{padding:20px}.pme-maths .math-bar span{font-size:14px}}
