/* MOHU FOOTER IMPROVEMENTS */

.site-footer {
    background: #063466;
    color: #ffffff;
    padding: 34px 0 18px;
}

.site-footer .footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 34px;
    align-items: start;
}

.site-footer .footer-brand {
    grid-column: span 2;
}

.site-footer h3,
.site-footer h4 {
    color: #ffffff;
    margin-bottom: 12px;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer .footer-section {
    min-width: 0;
}

.site-footer .footer-section a {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    margin: 7px 0;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.site-footer .footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .footer-bottom {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.site-footer .footer-bottom p {
    margin: 0;
}

/* TABLET */

@media (max-width: 900px) {

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 26px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .site-footer {
        padding: 26px 0 16px;
    }

    .site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    .site-footer h3 {
        font-size: 1rem;
    }

    .site-footer h4 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .site-footer .footer-section a {
        font-size: 0.88rem;
        margin: 6px 0;
    }

    .site-footer .footer-brand p {
        font-size: 0.88rem;
        margin-bottom: 0;
    }

    .site-footer .footer-bottom {
        margin-top: 22px;
        padding-top: 14px;
        font-size: 0.82rem;
    }
}

/* VERY SMALL PHONES */

@media (max-width: 360px) {

    .site-footer .footer-grid {
        gap: 18px 12px;
    }

    .site-footer .footer-section a {
        font-size: 0.82rem;
    }
}


/* PHASE 1F — definitive compact two-column mobile footer */
@media (max-width: 600px) {
    .site-footer {
        padding: 18px 0 12px;
    }

    .site-footer .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 18px;
        align-items: start;
    }

    .site-footer .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 0;
    }

    .site-footer .footer-brand strong {
        display: block;
        font-size: .93rem;
        line-height: 1.22;
    }

    .site-footer .footer-brand p {
        font-size: .78rem;
        line-height: 1.35;
        margin: 5px 0 0;
    }

    .site-footer .footer-section {
        min-width: 0;
        padding: 0;
        margin: 0;
    }

    .site-footer .footer-section h4 {
        font-size: .88rem;
        line-height: 1.2;
        margin: 0 0 6px;
        padding-bottom: 5px;
        border-bottom: 1px solid rgba(255,255,255,.14);
    }

    .site-footer .footer-section a {
        font-size: .78rem;
        line-height: 1.28;
        margin: 4px 0;
        overflow-wrap: anywhere;
    }

    /* Contact remains full width but its links use two columns to stay short. */
    .site-footer .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 2px;
    }

    .site-footer .footer-contact h4 {
        grid-column: 1 / -1;
    }

    .site-footer .footer-contact a {
        margin: 2px 0;
        font-size: .75rem;
    }

    .site-footer .footer-bottom {
        margin-top: 14px;
        padding-top: 10px;
        font-size: .68rem;
        line-height: 1.3;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .site-footer .footer-grid {
        gap: 14px 12px;
    }
    .site-footer .footer-section a,
    .site-footer .footer-contact a {
        font-size: .72rem;
    }
}
