/**
 * @file
 * admu2026 — Global Footer
 *
 * All footer layout, typography, and responsive styles extracted from
 * theme.css and theme2.css.
 */

/* ══════════════════════════════════════════════════════════════════════
   BASE FOOTER
   ══════════════════════════════════════════════════════════════════════ */

footer {
    padding: 30px 0px 0px;
}

.footer-logo {
    margin-bottom: 3px;
    width: 580px;
    max-width: 100%;
}

.footer-header {
    font-size: 1rem;
    margin-bottom: 9px;
}

.footer-links li a {
    color: var(--color-primary);
    font-size: .75rem;
    font-weight: 400;
}

.footer-links li a:hover {
    text-decoration: none !important;
}

.footer-links li {
    margin-bottom: 9px;
    line-height: 110%;
}

.footer-header {
    margin-top: 27px;
}

.footer-copyright {
    padding: 21px 0px;
    background: linear-gradient(to bottom, var(--color-dark-blue), var(--color-primary));
}

.footer-socmed-link {
    height: 30px;
    width: 30px;
    background-color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 12px;
    transition: all .2s ease-out;
    border: 1px solid var(--color-primary);
}

.footer-socmed-link .on-hover {
    position: absolute;
    opacity: 0;
    transition: all .3s;
}

.footer-socmed-link:hover .on-hover {
    opacity: 1;
}

.footer-socmed-link:hover {
    background-color: var(--color-white);
}

.mobile-footer--dropdown {
    display: none;
}

/* Dropdown links (footer columns 6 & 7) */
#footerDropdown7 .footer-links li a,
#footerDropdown6 .footer-links li a {
    font-size: 1rem;
    font-family: var(--admu-font-body);
    color: #1c1c1c;
    text-decoration: underline;
}

/* Footer font size/weight overrides */
.footer-header,
.footer-links li a,
#footerDropdown7 .footer-links li a,
#footerDropdown6 .footer-links li a {
    font-size: 0.75rem;
}
.footer-header,
#footerDropdown7 .footer-links li a,
#footerDropdown6 .footer-links li a {
    font-weight: 600;
    text-decoration: underline;
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — max-width: 767px  (mobile accordion dropdowns)
   ══════════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

    footer .row > div:nth-last-child(2) .mobile-footer--dropdown,
    footer .row > div:nth-last-child(3) .mobile-footer--dropdown {
        display: none !important;
    }

    footer .row > div:nth-last-child(3) .footer-header,
    footer .row > div:nth-last-child(2) .footer-header {
        display: none !important;
    }

    footer #footerDropdown6,
    footer #footerDropdown7 {
        display: block !important;
    }

    footer .row > div:nth-last-child(3) .footer-mobile-dropdown li a,
    footer .row > div:nth-last-child(2) .footer-mobile-dropdown li a {
        margin-bottom: 0px;
        background-color: var(--color-dark-gray-2);
        color: var(--color-white) !important;
        margin-top: 20px;
        padding: 20px 13px;
        position: relative;
        font-size: .875rem !important;
        display: block;
    }

    footer .row > div:nth-last-child(2) .footer-mobile-dropdown li:last-child a {
        margin-bottom: 20px;
    }

    footer .row > div:nth-last-child(3) .footer-mobile-dropdown,
    footer .row > div:nth-last-child(2) .footer-mobile-dropdown {
        background-color: transparent !important;
    }

    footer .row > div:nth-last-child(3) .footer-mobile-dropdown ul,
    footer .row > div:nth-last-child(2) .footer-mobile-dropdown ul {
        padding: 0px;
    }

    .footer-copyright {
        background: var(--color-dark-gray-2);
        padding: 21px 0px 0px;
    }

    .socmed-mob-cont .footer-socmed-link {
        margin-left: 0px;
        width: 36px;
        height: 37px;
        background-color: var(--color-dark-gray);
        border-color: var(--color-dark-gray);
        padding: 0px 6px;
    }

    .socmed-mob-cont .footer-socmed-link .on-hover {
        display: none;
    }

    .socmed-mob-cont {
        margin: 30px 0px 43.4px;
        display: flex;
        justify-content: space-between;
    }

    .mobile-footer--dropdown {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        padding-right: 19px;
    }

    .mobile-footer--dropdown:after {
        content: ' ';
        border: 2px solid var(--color-gray);
        width: 20px;
        height: 20px;
        border-radius: 50%;
        position: absolute;
        right: 13.5px;
        margin-top: -1px;
    }

    .mobile-footer--dropdown img {
        width: 8.4px;
        height: 8.4px;
        transition: all .2s ease-out;
        transform-origin: center;
    }

    .mobile-footer--dropdown[aria-expanded="true"] img {
        transform: rotateX(180deg);
    }

    .footer-mobile-dropdown {
        background-color: var(--color-gray-2);
    }

    .footer-mobile-dropdown .footer-links {
        padding: 14px 13px;
        margin-bottom: 0px;
    }

    .footer-mobile-dropdown .footer-links li a {
        color: var(--color-gray);
    }

    .footer-links li:last-child {
        margin-bottom: 0px;
    }

    .footer-header {
        margin-bottom: 0px;
        background-color: var(--color-dark-gray-2);
        color: var(--color-white);
        margin-top: 20px;
        padding: 20px 13px;
        position: relative;
        font-size: .875rem;
    }

    footer.bg-light-gray {
        background-color: var(--color-dark-gray-3) !important;
        padding: 54px 0px 0px;
    }

    .footer-location {
        margin-bottom: 24px;
        margin-top: 27px;
        color: var(--color-gray);
    }

    .footer-location a {
        color: var(--color-gray);
    }

    .footer-location > div {
        margin-top: 11px;
    }

    .footer-location i {
        margin-right: 19.8px;
        margin-top: 2px;
        color: var(--color-gray-2);
    }
}

/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE — min-width: 768px  (show footer mobile dropdown)
   ══════════════════════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .footer-mobile-dropdown {
        display: block !important;
    }
}
