/* Universal C2 mobile footer. Desktop styles and content are unchanged. */
@media(max-width:700px){
 .site-footer .footer-highlights,.site-footer .footer-trust>h3,.site-footer .footer-trust>p{display:none}
 .site-footer .footer-main{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px 24px;padding:26px 0 18px;align-items:start}
 .site-footer .footer-main>div{min-width:0;grid-column:auto;margin:0}
 .site-footer .footer-main .footer-about{grid-column:1/-1;display:flex;align-items:center;gap:16px;max-width:none;text-align:left;padding:0 0 16px;border-bottom:1px solid rgba(255,255,255,.15)}
 .site-footer .footer-about .footer-logo-link{flex:0 0 60px}
 .site-footer .footer-about .footer-c2-logo{width:60px;height:auto;margin:0}
 .site-footer .footer-about .footer-tagline{font-family:inherit;font-size:12px;font-weight:400;font-style:normal;line-height:1.6;color:#e1e9e9;margin:0}
 .site-footer .footer-main h3{font-family:inherit;font-size:11px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#bdcfd5;line-height:1.5;margin:0 0 10px}
 .site-footer .footer-main a:not(.footer-logo-link):not(.epic-link){display:block;width:fit-content;font-size:13px;line-height:1.5;padding:5px 0;margin:0;white-space:normal;overflow-wrap:anywhere;color:#f5f7f7}
 .site-footer .footer-main .footer-contact{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);column-gap:16px;row-gap:2px}
 .site-footer .footer-contact h3{grid-column:1/-1;margin-bottom:5px}
 .site-footer .footer-contact p{font-size:11px;line-height:1.7;color:#bdcfd5;margin:4px 0}
 .site-footer .footer-contact p:first-of-type{grid-column:1;grid-row:2/4}
 .site-footer .footer-contact a[href^="mailto:"]{grid-column:2;grid-row:2}
 .site-footer .footer-contact a[href^="tel:"]{grid-column:2;grid-row:3}
 .site-footer .footer-contact p:nth-of-type(2){grid-column:1;grid-row:4}
 .site-footer .footer-main .footer-contact .footer-button{grid-column:2;grid-row:4;background:none;border:0;border-radius:0;box-shadow:none;color:#e1b568;min-height:0;font-weight:600;padding:5px 0}
 .site-footer .footer-main .footer-trust{grid-column:1/-1;border-top:1px solid rgba(255,255,255,.15);padding-top:16px}
 .site-footer .footer-trust .trust-names{display:flex;align-items:center;justify-content:center;gap:22px;max-width:none;margin:0;flex-wrap:wrap}
 .site-footer .footer-trust .trust-names>span,.site-footer .footer-trust .trust-names>.epic-link{padding:0;border:0;min-height:0;flex:0 0 auto}
 .site-footer .footer-trust .trust-names>span:first-child{display:block;font-size:13px;line-height:1.1}
 .site-footer .footer-trust .trust-names small{font-size:6px}
 .site-footer .footer-trust .trust-names .ielts{font-size:19px}
 .site-footer .footer-trust .trust-names .elt{font-size:17px}
 .site-footer .footer-trust .trust-names>.epic-link img{width:60px;max-width:60px;height:auto}
 .site-footer .footer-legal{background:transparent;color:#bdcfd5;border-top:1px solid rgba(255,255,255,.15)}
 .site-footer .footer-legal>.wrap{display:flex;flex-wrap:wrap;justify-content:center;text-align:center;min-height:0;gap:10px;padding:12px 0;font-size:10px}
 .site-footer .footer-legal nav{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;margin:0}
 .site-footer .footer-legal a{color:#bdcfd5;font-size:10px}
}
@media(max-width:700px){
 .site-footer .footer-main .footer-contact .footer-button{color:#e1b568!important}
 .site-footer .footer-about .footer-tagline{font-family:Inter,Arial,sans-serif!important;font-size:12px!important;font-weight:400!important;font-style:normal!important;color:#e1e9e9!important}
}
/* One reading order for contact details on every mobile footer. */
@media(max-width:700px){
 .site-footer .footer-main .footer-contact{display:flex;flex-direction:column;align-items:flex-start;gap:0}
 .site-footer .footer-contact h3{order:0;margin-bottom:8px}
 .site-footer .footer-contact a[href^="mailto:"]{order:1}
 .site-footer .footer-contact a[href^="tel:"]{order:2}
 .site-footer .footer-contact p:first-of-type{order:3;margin:9px 0 0}
 .site-footer .footer-contact p:nth-of-type(2){order:4;margin:2px 0 0}
 .site-footer .footer-main .footer-contact .footer-button{order:5;margin-top:7px}
}
/* Compact mobile identity and contact row; desktop retains its tagline. */
@media(max-width:700px){
 .site-footer .footer-main .footer-about{grid-column:1;grid-row:1;display:block;border:0;padding:0;align-self:start}
 .site-footer .footer-about .footer-tagline{display:none}
 .site-footer .footer-about .footer-logo-link{display:block;width:68px}
 .site-footer .footer-about .footer-c2-logo{width:68px;height:auto}
 .site-footer .footer-main .footer-contact{grid-column:2;grid-row:1}
 .site-footer .footer-main{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);column-gap:18px}
 .site-footer .footer-main .footer-links,.site-footer .footer-main .footer-social{padding-top:17px;border-top:1px solid rgba(255,255,255,.15)}
}
@media(max-width:700px){
 .site-footer .footer-about .footer-tagline{display:block;text-align:left;margin:10px 0 0;max-width:135px;font-size:12px!important;line-height:1.6}
}
/* Balance both columns around the same centre as the education logos. */
@media(max-width:700px){
 .site-footer .footer-main{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
 .site-footer .footer-main .footer-about,
 .site-footer .footer-main .footer-contact,
 .site-footer .footer-main .footer-links,
 .site-footer .footer-main .footer-social{justify-self:center;width:fit-content;max-width:100%;text-align:left}
}
/* Use one consistent left edge per column, rather than centring each block. */
@media(max-width:700px){
 .site-footer .footer-main{width:calc(100% - 48px);max-width:420px;margin-left:auto;margin-right:auto}
 .site-footer .footer-main .footer-about,
 .site-footer .footer-main .footer-contact,
 .site-footer .footer-main .footer-links,
 .site-footer .footer-main .footer-social{justify-self:stretch;width:100%;max-width:none;text-align:left}
}
