#footer {
    padding-block-start: 40px;
    padding-block-end: 18px;
    background: var(--color-bg-inverse);
    color: var(--color-font-inverse);
}

#footer > .inner {
    max-width: var(--innerWideWidth);
}

#footer .content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    gap: 36px;
}

#footer .content .top {
    width: 100%;
}

#footer .content .bottom {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

#footer .content .bottom .left {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    flex-shrink: 0;
    width: 100%;
}

#footer .content .bottom .left .logo {
    display: block;
    max-width: 142px;
    filter: grayscale(1) contrast(0) brightness(5);
}

#footer .content .bottom .left .credits {
    text-align: center;
}

#footer .content .bottom .left .credits .label {
    color: var(--color-white);
    font-size: 14px;
    line-height: 125%;
    margin-block-end: 8px;
}

#footer .content .bottom .left .credits .item {
    color: #909090;
    font-size: 10px;
    line-height: 133%;
}

#footer .content .bottom .left .credits .item:not(:last-child) {
    margin-block-end: 2px;
    white-space: nowrap;
}

#footer .content .bottom .nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    flex-grow: 1;
    width: 100%;
    max-width: 744px;
}

#footer .content .bottom .nav .group {
    overflow: hidden;
    width: 100%;
}

#footer .content .bottom .nav .group .title {
    font-size: 18px;
    line-height: 125%;
    font-weight: 550;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: center;
}

#footer .content .bottom .nav .group .links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-block-start: 16px;
}

#footer .content .bottom .nav .group .links .link {
    display: block;
    font-size: 14px;
    line-height: 125%;
    font-weight: 400;
    color: #909090;
    max-width: max-content;
    text-align: center;
}

#footer
    .content
    .bottom
    .nav
    .group
    .links
    .link:is(:hover, :active, :focus-visible) {
    opacity: 0.85;
}

#footer .content .bottom .nav .group .links .link.active {
    color: var(--color-font-inverse);
}

#footer .content .cookies {
    padding-inline: 16px;
    padding-block: 12px;
    background: hsl(from var(--color-white) h s l / 5%);
    border-radius: 12px;
    text-align: center;
    color: var(--color-gray-11);
    font-size: 12px;
    line-height: 133%;
    text-wrap: balance;
}

#footer .content .cookies .link:is(:hover, :active, :focus-visible) {
    text-decoration: underline;
}
