/* Footer controls only. The navigation keeps the theme's colours and focus state. */
footer.site-footer {
    padding-block: 30px 18px;
}
.site-footer .site-footer__main {
    align-items: start;
    row-gap: 18px;
}
.site-footer .site-footer__main > .site-footer__brand {
    grid-row: auto;
    padding-block: 0;
}
.site-footer .site-footer__brand > p {
    margin-top: 10px;
    padding-top: 10px;
    line-height: 1.5;
}
.site-footer .site-footer__main > .site-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    justify-content: flex-start;
    border: 0;
    background: transparent;
    box-shadow: none;
    gap: 6px;
    min-width: 0;
    padding: 0;
    margin: 0;
}
.site-footer .site-footer__main .site-footer__links > h2 {
    align-self: flex-start;
    margin: 0 0 3px;
    padding-bottom: 6px;
}
.site-footer .site-footer__main .site-footer__links > a {
    width: fit-content;
    max-width: 100%;
    min-height: 32px;
    padding: 5px 12px;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.3;
    text-align: start;
}
.site-footer .site-footer__brand .dwgeo-footer-contacts {
    gap: 4px;
    margin-top: 10px;
}
.site-footer .dwgeo-footer-contacts .dwgeo-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin: 2px 0;
}
.site-footer .dwgeo-footer-social > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
}
.site-footer .dwgeo-social-mark {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.site-footer .dwgeo-footer-social svg { width: 18px; height: 18px; fill: currentColor; }
.dwgeo-social-whatsapp .dwgeo-social-mark { background: #16874a; }
.dwgeo-social-instagram .dwgeo-social-mark { background: linear-gradient(32deg,#ffd36c,#d52b70 50%,#6d3aaf); }
.dwgeo-social-facebook .dwgeo-social-mark { background: #0866ff; }
.dwgeo-social-telegram .dwgeo-social-mark { background: #fff; color: #208dca; }
.site-footer .dwgeo-social-telegram svg { width: 30px; height: 30px; }
.dwgeo-social-x .dwgeo-social-mark { background: #101010; }
.site-footer .dwgeo-footer-social > a:is(:hover,:focus-visible) .dwgeo-social-mark { outline: 2px solid #edc97c; outline-offset: 1px; }
footer.site-footer .site-footer__bottom { margin-top: 18px; padding-top: 12px; }
@media (max-width: 600px) {
    footer.site-footer { padding-block: 25px 16px; }
    .site-footer .site-footer__main > .site-footer__links { flex-direction: row; flex-wrap: wrap; gap: 7px; }
    .site-footer .site-footer__main .site-footer__links > h2 { flex-basis: 100%; }
    .site-footer .site-footer__main .site-footer__links > a { min-height: 36px; }
}
@media (pointer: coarse), (max-width: 600px) {
    .site-footer .dwgeo-footer-social > a { width: 44px; height: 44px; }
}
