.math-section .math-subjects{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}.math-section .math-subject-card{display:flex;flex-direction:column;border:4px solid white;border-radius:28px;overflow:hidden;background:#fff0b8;text-decoration:none;box-shadow:none;color:#244456;transition:box-shadow .15s}.math-section .math-subject-card:nth-child(3n+2){background:#e4daf7}.math-section .math-subject-card:nth-child(3n){background:#c7eadd}.math-section .math-subject-card:hover{transform:none;box-shadow:0 4px 14px #24445620}.math-section .math-subject-card .short-copy{padding:22px 22px 20px;min-height:178px;display:block}.math-section .math-subject-card .short-copy h2{font-size:clamp(1.45rem,2.3vw,1.95rem)!important;line-height:1.15!important;color:#244456!important;margin:0 0 14px!important;font-weight:800}.math-section .math-subject-card .short-copy p{font-size:1rem!important;line-height:1.5;margin:0;font-weight:400}.math-section .math-card-media{position:relative;margin-top:auto;border-top:4px solid white;background:#fffdf6;min-height:220px}.math-section .math-card-media>.counting-thumb,.math-section .math-card-media>.math-hub-art,.math-section .math-card-media>.foundation-thumb{height:220px;min-height:220px;width:100%;border:0;border-radius:0;margin:0;display:flex;justify-content:center;align-items:center}.math-section .math-card-media>.counting-thumb{display:block}.math-section .math-card-cta{position:absolute;right:12px;bottom:12px;padding:10px 16px;border-radius:15px;background:#244f56ed;color:white;font-size:1.05rem;font-weight:800}.math-section .math-card-media .counting-thumb>span{display:none}@media(max-width:700px){.math-section .math-subjects{grid-template-columns:1fr;gap:20px}.math-section .math-subject-card .short-copy{min-height:0;padding:20px}.math-section .math-subject-card .short-copy h2{font-size:1.65rem!important}.math-section .math-card-media{min-height:190px}.math-section .math-card-media>.counting-thumb,.math-section .math-card-media>.math-hub-art,.math-section .math-card-media>.foundation-thumb{height:190px;min-height:190px}}
.math-section .math-card-footer{padding:12px 16px;display:flex;justify-content:flex-end;background:#fffdf7;border-top:1px solid #e9e9e0}.math-section .math-card-footer .math-card-cta{position:static;margin:0;font-size:1.05rem;padding:9px 18px}.math-section .math-subject-diagram{display:block;width:100%;height:220px;object-fit:contain}.math-section .math-subject-card .short-copy{min-height:160px}.math-section .math-card-media{border-bottom:0}
