/* Scoped redesign: intentionally overrides legacy footer colors without changing site-custom.css. */
#footer.front-site-footer.front-site-footer--jujuy {
    --jujuy-footer-background: #EB426C;
    --jujuy-footer-ink: #FFFFFF;
    --jujuy-footer-muted: #FFFFFF;
    --jujuy-footer-border: rgba(255, 255, 255, .3);
    background: var(--jujuy-footer-background) !important;
    color: var(--jujuy-footer-ink) !important;
    border-top: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.65;
}
#footer .jujuy-footer__container { max-width: 1440px; padding: 64px 32px 28px; }
#footer .jujuy-footer__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 6vw, 104px); padding-bottom: 42px; }
#footer .jujuy-footer__institution { min-width: 0; }
/* Frame the supplied logo's transparent margins, without modifying its pixels. */
#footer .jujuy-footer__brand { display: block; width: 160px; height: 77px; position: relative; overflow: hidden; margin-bottom: 24px; }
#footer .jujuy-footer__brand img { position: absolute; width: 277px; max-width: none; height: auto; left: -56px; top: -38px; }
#footer .jujuy-footer__institution-title { color: var(--jujuy-footer-ink) !important; margin: 0; font-size: 20px; line-height: 1.3; font-weight: 600; }
#footer .jujuy-footer__institution-subtitle { color: var(--jujuy-footer-ink) !important; margin: 5px 0 26px; font-size: 16px; line-height: 1.5; }
#footer .jujuy-footer__contact + .jujuy-footer__contact { margin-top: 26px; }
#footer .jujuy-footer__contact h3 { color: var(--jujuy-footer-ink) !important; font-size: 16px; line-height: 1.45; font-weight: 600; margin: 0 0 10px; }
#footer .jujuy-footer__contact address { margin: 0; font-style: normal; }
#footer .jujuy-footer__contact-line { display: flex; align-items: baseline; gap: 14px; color: var(--jujuy-footer-ink) !important; text-decoration: none; line-height: 1.65; }
#footer .jujuy-footer__contact-line + .jujuy-footer__contact-line { margin-top: 6px; }
#footer .jujuy-footer__contact-line i { flex: 0 0 18px; color: var(--jujuy-footer-muted); font-size: 18px; }
#footer .jujuy-footer__contact-line span { min-width: 0; overflow-wrap: anywhere; }
#footer .jujuy-footer__contact-line[href]:hover span { text-decoration: underline; text-underline-offset: 4px; }
#footer .jujuy-footer__navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 32px; align-content: start; padding-top: 16px; }
#footer .jujuy-footer__menu { min-width: 0; }
#footer .jujuy-footer__menu-title { color: var(--jujuy-footer-ink) !important; margin: 0 0 16px; font-size: 18px; font-weight: 600; line-height: 1.35; }
#footer .jujuy-footer__menu-title::after { display: none; }
#footer .front-footer-menu-list { padding: 0; margin: 0; list-style: none; }
#footer .jujuy-footer__menu .front-footer-menu-item + .front-footer-menu-item { margin-top: 9px; }
#footer .jujuy-footer__menu .front-footer-menu-list .front-footer-menu-list { margin-top: 9px; padding-left: 14px; }
#footer .jujuy-footer__menu .front-footer-menu-link { display: inline-block; color: var(--jujuy-footer-muted) !important; font-size: 15px; line-height: 1.55; text-decoration: none; overflow-wrap: anywhere; transition: color .18s; }
#footer .jujuy-footer__menu .front-footer-menu-link:hover { color: var(--jujuy-footer-ink) !important; text-decoration: underline; text-underline-offset: 4px; opacity: 1; }
#footer .front-footer-menu-link.is-disabled { opacity: .45; pointer-events: none; }
#footer a:focus-visible { outline: 2px solid var(--jujuy-footer-muted); outline-offset: 5px; border-radius: 3px; }
#footer .jujuy-footer__bottom { border-top: 1px solid var(--jujuy-footer-border); padding-top: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
#footer .jujuy-footer__signature { font-size: 14px; color: var(--jujuy-footer-ink); }
#footer .jujuy-footer__signature .front-footer-menu-list-inline { display: flex; flex-wrap: wrap; gap: 12px; }
#footer .jujuy-footer__signature a { text-decoration: none; }
#footer .jujuy-footer__social { display: flex; align-items: center; gap: 20px; }
#footer .jujuy-footer__social > span { font-size: 14px; }
#footer .jujuy-footer__social .front-footer-menu-list-inline { display: flex; flex-wrap: wrap; gap: 12px; }
#footer .jujuy-footer__social .front-footer-menu-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-height: 40px; color: var(--jujuy-footer-ink) !important; font-size: 20px; border: 1px solid var(--jujuy-footer-border); border-radius: 8px; text-decoration: none; transition: background-color .18s; }
#footer .jujuy-footer__social .front-footer-menu-link:hover { background: rgba(255,255,255,.12); opacity: 1; }
@media (max-width: 991.98px) {
    #footer .jujuy-footer__container { padding-top: 44px; }
    #footer .jujuy-footer__main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    #footer .jujuy-footer__institution { max-width: 650px; }
    #footer .jujuy-footer__navigation { padding-top: 30px; border-top: 1px solid var(--jujuy-footer-border); gap: 32px; }
}
@media (max-width: 575.98px) {
    #footer .jujuy-footer__container { padding: 36px 24px 24px; }
    #footer .jujuy-footer__brand { margin-bottom: 24px; }
    #footer .jujuy-footer__institution-title { font-size: 18px; }
    #footer .jujuy-footer__institution-subtitle { font-size: 15px; }
    #footer .jujuy-footer__contact-line { font-size: 15px; gap: 10px; }
    #footer .jujuy-footer__contact h3 { font-size: 16px; }
    #footer .jujuy-footer__menu-title { font-size: 18px; margin-bottom: 12px; }
    #footer .jujuy-footer__menu .front-footer-menu-link { font-size: 15px; }
    #footer .jujuy-footer__navigation { gap: 28px 22px; }
    #footer .jujuy-footer__bottom { align-items: flex-start; flex-direction: column; }
    #footer .jujuy-footer__social { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    #footer.front-site-footer--jujuy a { transition: none; }
}
