.ct-public-footer{background:#fff;border-top:1px solid #e0e9ef;padding:32px max(24px,calc((100% - 1152px)/2));display:flex;justify-content:space-between;align-items:center;gap:25px;flex-wrap:wrap;color:#778b99;font:12px/1.7 system-ui}
.ct-footer-brand{display:flex;align-items:center;gap:6px;color:#253e50;text-decoration:none;font-size:19px;font-weight:600}
.ct-footer-brand i{color:#087cb5;font-size:25px;margin-right:5px}
.ct-footer-brand strong{color:#ff5722}
.ct-public-footer p{margin:8px 0 0}
.ct-public-footer nav{display:flex;gap:20px;flex-wrap:wrap}
.ct-public-footer nav a{color:#486478;text-decoration:none}
.ct-public-footer{padding:27px 22px;align-items:flex-start;flex-direction:column}
.ct-catalog{max-width:1200px;margin:auto;padding:48px 24px;min-height:50vh}.ct-catalog form{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.ct-catalog input{padding:12px;border:1px solid #ccd9e2;border-radius:8px}.ct-catalog .groups-grid{display:grid;gap:24px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}.ct-catalog .pagination{margin-top:32px;gap:12px}
/* Shared footer alignment on every viewport. */
footer.ct-public-footer{align-items:center;justify-content:center;text-align:center;flex-direction:column}
footer.ct-public-footer .ct-footer-brand,footer.ct-public-footer nav{justify-content:center}
footer.ct-public-footer>div,footer.ct-public-footer>nav,footer.ct-public-footer>small{max-width:100%}

/* Keep the homepage statistics in one compact row on phones. */
@media (max-width:767.98px){
 body.home .statistics>.container>.row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0}
 body.home .statistics>.container>.row>div{width:auto;min-width:0;padding:0;margin-bottom:0!important}
 body.home .statistics .stat-box{padding:8px 0}
 body.home .statistics .stat-box i{font-size:20px}
 body.home .statistics .stat-box h3{font-size:clamp(16px,4.5vw,22px);line-height:1.3;margin:8px 0}
 body.home .statistics .stat-box p{font-size:clamp(10px,2.7vw,12px);line-height:1.45;margin:0;overflow-wrap:anywhere}
}
