body[class*="portal-theme-"] .portal-footer { padding: 36px 0 0; }
body[class*="portal-theme-"] .portal-footer__brand { display: flex; justify-content: center; padding: 0 20px 32px; }
body[class*="portal-theme-"] .portal-footer__brand a { margin: 0; }
body[class*="portal-theme-"] .portal-footer__brand img { display: block; width: 270px; max-width: 100%; height: 100px; object-fit: contain; }
body[class*="portal-theme-"] .portal-footer__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
body[class*="portal-theme-"] .portal-footer__grid > div { min-width: 0; }
body[class*="portal-theme-"] .portal-footer__grid strong { font-size: 16px; line-height: 1.4; }
body[class*="portal-theme-"] .portal-footer a { overflow-wrap: anywhere; line-height: 1.5; }
body[class*="portal-theme-"] .portal-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
body[class*="portal-theme-"] .portal-footer a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body[class*="portal-theme-"] .portal-footer__contact { width: min(1690px, calc(100% - 80px)); margin: 32px auto; padding: 26px 28px; background: color-mix(in srgb, var(--theme-footer, #2f3438) 88%, var(--theme-footer-ink, #fff)); border: 1px solid color-mix(in srgb, currentColor 25%, transparent); border-radius: 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body[class*="portal-theme-"] .portal-footer__contact { grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: 32px; }
body[class*="portal-theme-"] .portal-footer__contact > div { position: relative; min-width: 0; overflow-wrap: anywhere; padding-left: 42px; }
body[class*="portal-theme-"] .portal-footer__contact > div > svg { position: absolute; top: 50%; transform: translateY(-50%); left: 0; width: 30px; height: 30px; }
body[class*="portal-theme-"] .portal-footer__contact strong { margin-bottom: 6px; }
body[class*="portal-theme-"] .portal-footer__contact a { margin: 0; }
body[class*="portal-theme-"] .portal-footer__bottom { border-top: 1px solid #ffffff26; padding: 18px 24px; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 32px; }
body[class*="portal-theme-"] .portal-footer__bottom a { margin: 0; }
@media (max-width: 1000px) {
    body[class*="portal-theme-"] .portal-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body[class*="portal-theme-"] .portal-footer__contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[class*="portal-theme-"] .portal-footer__contact > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 650px) {
    body[class*="portal-theme-"] .portal-footer__grid { width: calc(100% - 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
    body[class*="portal-theme-"] .portal-footer__institutional { grid-column: 1 / -1; }
    body[class*="portal-theme-"] .portal-footer__contact { width: calc(100% - 32px); padding: 22px 20px; grid-template-columns: 1fr; gap: 20px; }
    body[class*="portal-theme-"] .portal-footer__bottom { padding-bottom: 100px; text-align: center; }
}
