/* Public site fixes, October 2026: readable footer, phone tap targets, quiet hero pause control.
 * Loaded after the other site styles on every public page. Colours stay neutral or use the brand variables. */

/* Footer links readable for older parents (the home footer was 11px). */
.website .site-footer .footer-top>div>a:not(.brand){font-size:14px}
.website .site-footer .footer-note{font-size:14px;line-height:1.9}

@media(max-width:700px){
 /* 44px tap targets on phones. */
 .website:is(.landing-page,.editorial-site) .contact-strip{font-size:13px;row-gap:0}
 .website .contact-strip a{display:inline-flex;align-items:center;min-height:44px}
 .website .site-footer .footer-top>div>a:not(.brand){display:flex;align-items:center;min-height:44px;margin-block:0;font-size:15px}
 .website.landing-page .site-footer .footer-top>div:last-child>a{display:flex;width:fit-content;min-height:44px;margin-bottom:10px}
 .website .site-footer .footer-note .contact-icon{display:inline-flex;align-items:center;min-height:44px}
 .website .text-link{min-height:44px}
 .website.landing-page :is(.programme-bottom,.news-meta) .round-arrow{width:44px;height:44px}
 .website.landing-page :is(.resource-card,.news-card) h3 a{display:inline-flex;align-items:center;min-height:44px}
 .website.landing-page .existing-student-login{display:flex;width:fit-content;align-items:center;min-height:44px}
 .website .contact-grid address .contact-icon{display:inline-flex;align-items:center;min-height:44px}
 .website .programme-card>a[href^="/programmes/"]{min-height:44px}
}

/* Home portal card: install link above the old-system link. */
.website.landing-page .existing-student-login+.existing-student-login{margin-top:6px}

/* Hero pause on phones: a small round icon button over the photo corner, not a second call to action. */
@media screen and (max-width:700px){
 .website.landing-page .hero-stage .hero-controls{position:absolute;inset:12px 12px auto auto;z-index:4;order:0;padding:0;background:transparent}
 .website.landing-page .hero-stage .hero-controls>button{position:relative;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:1px solid #ffffffd9;border-radius:50%;background:#0000008c;color:transparent;font-size:0;line-height:0;overflow:hidden}
 .website.landing-page .hero-stage .hero-controls>button::before{content:"";position:absolute;inset:0;margin:auto;width:12px;height:14px;box-sizing:border-box;border-inline:4px solid #fff}
 .website.landing-page .hero-stage .hero-controls>button[aria-label^="Play"]::before{width:0;height:0;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff;transform:translateX(2px)}
 .website.landing-page .hero-stage .hero-controls>button:is(:hover,:focus-visible){background:#000000b3;color:transparent}
}

/* Resources: two planner buttons side by side, stacked on phones. */
.website .resource-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}
@media(max-width:700px){.website .resource-actions .button{width:100%}}

/* Portrait programme photo (Business & Accounts): same box as its sibling cards, blurred fill kept. */
.website.editorial-site .programme-card>.portrait-frame{height:220px;margin:0 -27px 20px;border-radius:0}
.website.landing-page .programme-card>.portrait-frame{width:calc(100% + 56px);margin:-28px -28px 26px;border-radius:0}
@media(max-width:700px){
 .website.editorial-site .programme-card>.portrait-frame{width:calc(100% + 44px);height:200px;margin:0 -22px 18px}
 .website.landing-page .programme-card>.portrait-frame{width:calc(100% + 52px);margin:-26px -26px 26px}
}
