/* MyDataTheme - site footer. Loaded on every route.

   Compact and structured: solid navy, four columns, no decorative styling.
   It closes the page; it is not a second navigation surface. */

.md-footer {
    margin-top: 56px;
    background: var(--md-primary-dark);
    color: #c3d7e8;
    padding: 40px 0 20px;
    border-top: 4px solid var(--md-primary);
}
.md-footer a { color: #e3eef7; }
.md-footer h2 {
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.md-footer__grid {
    max-width: var(--md-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    gap: 32px;
    grid-template-columns: 1.5fr repeat(3, 1fr);
}
.md-footer__brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px; height: 32px;
    background: var(--md-primary);
    color: #fff;
    border-radius: var(--md-radius-md);
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}
.md-footer__brand-name { color: #fff; font-size: 18px; font-weight: 800; display: block; margin-bottom: 8px; letter-spacing: -.02em; }
.md-footer__brand p { color: #c3d7e8; max-width: 44ch; font-size: 14px; margin: 0; }

.md-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; }

.md-footer__bottom {
    max-width: var(--md-max-width);
    margin: 28px auto 0;
    padding: 16px 20px 0;
    border-top: 1px solid rgba(185, 211, 235, .22);
    font-size: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
}

@media (max-width: 900px) { .md-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .md-footer__grid { grid-template-columns: 1fr; gap: 24px; } }
