body.tg-restyled [data-tg-original-footer][hidden] {
    display: none !important;
}

.tg-site .tg-footer {
    padding: 48px 0 24px;
    border-top: 4px solid #ffca28;
    background: #f4f4f0;
    color: #161816;
    font: 400 15px/1.6 "TG DM Sans", Arial, sans-serif;
}

.tg-footer .tg-footbrandrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
}

.tg-site .tg-footer .tg-footbrand {
    display: inline-block;
    flex: 0 0 auto;
    margin: 0;
}

.tg-site .tg-footer .tg-footbrand img {
    width: 180px;
    height: auto;
}

.tg-footer .tg-footsocial {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.tg-footer .tg-footsocial a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
}

.tg-site .tg-footer .tg-footgrid {
    display: grid;
    grid-template-columns: 1.25fr 1.25fr .9fr 1fr;
    gap: 32px;
}

.tg-site .tg-footer .tg-footgrid > * {
    min-width: 0;
}

.tg-site .tg-footer h2 {
    margin: 0 0 18px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -.01em;
    text-wrap: initial;
}

.tg-site .tg-footer address {
    margin: 0 0 14px;
    font: inherit;
}

.tg-site .tg-footer .tg-footgrid a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.tg-footer .tg-footadditional {
    margin-top: 14px;
}

.tg-site .tg-footer .tg-footkvk {
    margin-top: 14px;
    font-size: 13px;
    color: #5b605b;
}

.tg-site .tg-footer a:hover {
    color: #161816;
    text-decoration: underline;
    text-decoration-color: #967100;
    text-underline-offset: 4px;
}

.tg-site .tg-footer .tg-footbase {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin-top: 38px;
    padding-top: 22px;
    border-top: 1px solid #d4d4ce;
    color: #5b605b;
    font-size: 12px;
    line-height: 1.6;
}

.tg-site .tg-footer .tg-footbase > span {
    width: auto;
    margin-right: 0;
}

.tg-footer .tg-footbase > nav {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.tg-site .tg-footer .tg-footbase .tg-footcredits {
    margin-left: auto;
}

@media (max-width: 1050px) {
    .tg-site .tg-footer .tg-footgrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
    .tg-site .tg-footer .tg-footgrid > div:first-child {
        grid-column: auto;
    }
}

@media (max-width: 600px) {
    .tg-site .tg-footer {
        padding-top: 34px;
    }
    .tg-footer .tg-footbrandrow {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        margin-bottom: 32px;
    }
    .tg-site .tg-footer .tg-footgrid {
        gap: 30px 20px;
    }
    .tg-footer .tg-footcontact {
        grid-column: 1 / -1;
    }
    .tg-site .tg-footer .tg-footbase {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        margin-top: 30px;
    }
    .tg-site .tg-footer .tg-footbase .tg-footcredits {
        margin-left: 0;
    }
}
