#mvp-foot-wrap,
#mvp-leader-foot-wrap,
#mvp-foot-leader-wrap,
#mvp-leader-foot {
    display: none !important;
}

.bd-footer {
    clear: both;
    float: none;
    width: 100%;
    background: #091c3d;
    color: #fff;
    font: 400 15px/1.55 system-ui, sans-serif;
}

.bd-footer *,
.bd-footer *::before,
.bd-footer *::after { box-sizing: border-box; }

.bd-footer__grid,
.bd-footer__credits {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}

.bd-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.2fr) minmax(0, .8fr);
    align-items: start;
    gap: clamp(20px, 4vw, 60px);
    padding: 34px 0;
}

.bd-footer .bd-footer__logo {
    display: block;
    max-width: min(170px, 100%);
    max-height: 52px;
    width: auto;
    height: auto;
    margin-bottom: 10px;
}

.bd-footer h2 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 20px;
    line-height: 1.2;
}

.bd-footer p { margin: 0; color: #fff; }
.bd-footer a { color: #fff !important; }
.bd-footer a:hover { text-decoration: underline; }
.bd-footer a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.bd-footer__links,
.bd-footer-social ul { margin: 0; padding: 0; list-style: none; }
.bd-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; }
.bd-footer-social ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.bd-footer-social a {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 4px 7px;
    border: 1px solid #8297bd;
    border-radius: 6px;
}
.bd-footer-social svg { display: block; flex: 0 0 20px; }

.bd-footer__bar { background: #b4112c; }
.bd-footer__credits { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px 0; font-size: 13px; }

html:has(body.bd-blue-background) {
    min-height: 100%;
    overflow-x: clip;
    background: linear-gradient(180deg, #082779 0%, #164aaa 26%, #78b8ed 70%, #d8efff 100%) no-repeat #d8efff;
}

body.bd-blue-background,
body.bd-blue-background :is(#mvp-site, #mvp-site-main, #mvp-main-wrap, #mvp-main-body-wrap, #mvp-main-body) { background: transparent !important; }
body.bd-blue-background :is(#mvp-wallpaper, #mvp-wall-link) { display: none !important; }
body.bd-blue-background.single-post :is(#mvp-article-wrap, #mvp-content-main),
body.bd-blue-background.category :is(#mvp-arch-content, #mvp-arch-wrap) { background-color: #fff; }

@media (max-width: 800px) {
    .bd-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bd-footer__about { grid-column: 1 / -1; max-width: 56ch; }
}

@media (max-width: 520px) {
    .bd-footer__grid { grid-template-columns: minmax(0, 1fr); }
    .bd-footer-social ul { max-width: 320px; }
}
