#foot-menu * {
    -webkit-font-smoothing: auto;
}

.footer-desc {
    margin-top: 0;
    border-bottom: 1px solid rgb(204, 204, 204);
    padding: .5rem 0;
}
.footer-desc b {
    color: rgba(0,0,0,0.9);
    font-size: 1rem;
}
.footer-desc p {
    color: rgba(0,0,0,.7);
    font-size: .9rem;
    padding: 1rem 0;
    line-height: normal;
}
.footer-link {
    display: flex;
    flex-direction: column;
    font-weight: normal;
}
.footer-link a {
    font-size: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgb(204, 204, 204);
}
.footer-link span {
    color: rgba(0,0,0,.5);
}
.contact-link {
    gap: 2rem;
    padding: 1rem 0 2.5rem;
    border-bottom: 1px solid rgb(204, 204, 204);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
}

.contact-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2rem;
    width: 2rem;
    height: 2rem;
    color: rgba(0,0,0,0.9);
}

.contact-link i {
    font-size: 1.6rem;
    margin: 0;
}

.line-container {
    width: 100%;
    height: 1px;
    background-color: #aca4a4;
    margin: 2rem 0;
}

body.theme-dark .line-container {
    background-color: #444444;
}

body.theme-dark .contact-link a {
    color: #fff;
}
body.theme-dark .footer-desc b {
    color: #fff;
}
body.theme-dark .footer-desc p {
    color: rgba(255,255,255,.7);
}
body.theme-dark .footer-link span {
    color: rgba(255,255,255,.5);
}
body.theme-dark .footer-link a {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .footer-desc {
    border-bottom: 1px solid rgb(68, 68, 68);
}
body.theme-dark .contact-link {
    border-bottom: 1px solid rgb(68, 68, 68);
}

#footer .protocol {
    padding: 0 0 1.875rem;
}
#footer .protocol a {
    color: #939292;
    font-weight: 500;
    font-size: 0.875rem;
}

@media (max-width: 767px) {
    #foot-menu,
    #footer.site-footer-legal {
        box-sizing: border-box;
        width: 100%;
        margin: 0;
        color: #c7c7c7;
        background: #151515;
        letter-spacing: 0;
    }

    #foot-menu *,
    #footer.site-footer-legal * {
        box-sizing: border-box;
    }

    #foot-menu .line-container {
        display: none;
    }

    #foot-menu .foot-menu-inner {
        width: calc(100% - 58px);
        max-width: none;
        margin: 0 auto;
        padding: 32px 0 0;
    }

    #foot-menu .footer-desc {
        margin-top: 0;
        padding: 0;
        border: 0;
    }

    #foot-menu .footer-desc b {
        color: #fff;
        font-size: 13px;
        line-height: 1.35;
    }

    #foot-menu .footer-desc p {
        margin: 8px 0 0;
        padding: 0;
        color: #c7c7c7;
        font-size: 10px;
        line-height: 1.5;
    }

    #foot-menu .footer-link-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-top: 14px;
        border-top: 1px solid #454545;
    }

    #foot-menu .footer-link {
        min-width: 0;
        margin: 0;
    }

    #foot-menu .footer-link a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 0;
        min-height: 30px;
        padding: 0;
        border-bottom: 1px solid #454545;
        font-size: 10px;
        line-height: 1.2;
        text-align: center;
    }

    #foot-menu .footer-link span {
        overflow: hidden;
        color: #8f8f8f;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    #foot-menu .contact-link {
        gap: 0;
        justify-content: space-evenly;
        padding: 10px 0;
        border-bottom: 1px solid #454545;
    }

    #foot-menu .contact-link a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 28px;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        color: #fff;
        background: #3b3939;
    }

    #foot-menu .contact-link i {
        margin: 0;
        font-size: 16px;
        line-height: 1;
    }

    #footer.site-footer-legal {
        padding: 12px 29px 4px;
        text-align: center;
    }

    #footer.site-footer-legal .protocol {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
        padding: 0 0 8px;
    }

    #footer.site-footer-legal .protocol a {
        color: #8f8f8f;
        font-size: 9px;
    }

    #footer.site-footer-legal > .container {
        width: 100%;
        max-width: none;
        padding: 0;
        color: #f0f0f0;
        font-size: 9px;
        line-height: 1.4;
    }

    #footer.site-footer-legal > .container a {
        color: #ff9903;
    }
}
