.portal-footer {
    --footer-ink: var(--portal-muted, #53675c);
    --footer-line: var(--portal-line, #dce5df);
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 32px;
    margin-top: 32px;
    padding-block: 20px 12px;
    border-top: 1px solid var(--footer-line);
    color: var(--footer-ink);
    font: inherit;
    letter-spacing: 0;
}
.portal-footer-brand { display: grid; gap: 4px; padding-block: 10px; min-width: 0; }
.portal-footer-brand strong { font-size: .8125rem; font-weight: 600; }
.portal-footer-brand span { font-size: .75rem; line-height: 1.6; }
.portal-footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; max-width: 680px; }
.portal-footer-links a {
    display: inline-flex; align-items: center; min-height: 44px;
    max-width: 100%; padding-block: 8px;
    font-size: .75rem; line-height: 1.5;
    color: inherit; text-decoration: underline; text-underline-offset: 4px;
    text-decoration-color: transparent; overflow-wrap: anywhere;
}
.portal-footer-links a:hover, .portal-footer-links a[aria-current] { text-decoration-color: currentColor; }
.portal-footer-links a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 2px; }
:is(.student-login-page, .student-register-page) .portal-footer {
    --footer-ink: #d0dbe6; --footer-line: #526078;
    margin-top: 8px; padding-bottom: 0;
}
:is(.student-login-page, .student-register-page) .portal-footer-brand { display: none; }
.visitor-page .portal-footer { max-width: 1080px; margin-inline: auto; }
@media (max-width: 760px) {
    .portal-footer { gap: 4px 24px; }
    .portal-footer-links { gap: 0 18px; }
    .visitor-page .portal-footer { margin-inline: 20px; }
}
@media print { .portal-footer { display: none; } }
