img.site-brand-logo{display:block;object-fit:contain!important;object-position:center!important;max-width:100%;background:transparent}
img[data-brand="lab-junior"]{aspect-ratio:226/220;width:140px;height:auto}
img[data-brand="kidsquest-games"]{aspect-ratio:2048/768;width:220px;height:auto}
header img[data-brand="lab-junior"],.restore-header img[data-brand="lab-junior"],.c-header img[data-brand="lab-junior"]{width:130px;height:130px;flex-shrink:0}
.c-header .c-logo{display:block;width:140px;flex-shrink:0}.c-header .c-logo img{width:130px;height:130px}
footer img[data-brand="lab-junior"],.sitefooter img[data-brand="lab-junior"]{width:115px;height:112px}
footer .site-kidsquest-link{display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;max-width:230px;text-decoration:none}
footer .site-kidsquest-link img{width:200px;height:75px}footer .site-kidsquest-link span{font-size:11px;color:inherit}
nav .site-kidsquest-nav img{width:150px;height:56px}.c-footer{flex-wrap:wrap;align-items:center}.c-footer .site-footer-home{margin-right:16px}
.restore-pair,.brandpair,.lj-pair{align-items:center;flex-wrap:wrap}
.restore-pair img[data-brand="lab-junior"],.brandpair img[data-brand="lab-junior"],.lj-pair img[data-brand="lab-junior"]{width:145px;height:141px}
.restore-pair img[data-brand="kidsquest-games"],.brandpair img[data-brand="kidsquest-games"],.lj-pair img[data-brand="kidsquest-games"]{width:230px;height:86px}
@media(max-width:700px){header img[data-brand="lab-junior"],.restore-header img[data-brand="lab-junior"],.c-header img[data-brand="lab-junior"]{width:105px;height:103px}.c-header .c-logo{width:110px}.restore-pair img[data-brand="lab-junior"],.brandpair img[data-brand="lab-junior"],.lj-pair img[data-brand="lab-junior"]{width:110px;height:107px}.restore-pair img[data-brand="kidsquest-games"],.brandpair img[data-brand="kidsquest-games"],.lj-pair img[data-brand="kidsquest-games"]{width:170px;height:64px}footer .site-kidsquest-link img{width:170px;height:64px}}
/* Footer logo grouping */
footer .footer-brand-stack{display:flex;flex-direction:column;align-items:center;gap:18px;width:220px;max-width:100%;justify-self:start;flex-shrink:0}
footer.sitefooter{grid-template-columns:220px minmax(180px,1fr) minmax(240px,1.2fr)}
footer .footer-brand-stack>a{margin:0!important;align-self:center}
footer .footer-brand-stack .site-kidsquest-link{width:220px;max-width:100%;align-items:center!important;text-align:center;gap:8px}
footer .site-kidsquest-link{align-items:center!important;text-align:center}
footer .site-kidsquest-link span{display:block;width:100%;text-align:center}
footer .site-kidsquest-link img{margin-left:auto;margin-right:auto}
@media(max-width:1000px){footer.sitefooter{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:600px){footer.sitefooter{grid-template-columns:1fr}footer .footer-brand-stack{width:200px}footer .footer-brand-stack .site-kidsquest-link{width:200px}}
/* Compact footer spacing */
footer.sitefooter,footer.c-footer{padding-top:16px;padding-bottom:16px;row-gap:12px}
footer .footer-brand-stack{gap:4px;margin:0;align-self:start}
footer .footer-brand-stack .site-kidsquest-link{gap:2px}
footer .footer-brand-stack .site-kidsquest-link img{height:62px}
footer.sitefooter>small{padding-top:12px}
main>.section:last-child{padding-bottom:24px}
@media(max-width:600px){footer.sitefooter,footer.c-footer{padding-top:12px;padding-bottom:14px;row-gap:12px}footer .footer-brand-stack{gap:2px}footer .footer-brand-stack .site-kidsquest-link img{height:56px}main>.section:last-child{padding-bottom:18px}}