.site-footer {
    padding-top: 20px;
    background: #050505;
    color: #fff;
}

.site-footer__main {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.15fr) minmax(240px, 0.95fr);
    gap: 24px;
    padding-bottom: 20px;
}

.site-footer__title {
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.14;
    letter-spacing: -0.03em;
    font-weight: 700;
}

.site-footer__about,
.site-footer__empty {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.75;
}

.site-footer__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 360px;
    margin-top: 18px;
}

.site-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: var(--footer-social, #111);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.site-footer__recent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.site-footer__recent-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
    align-items: start;
}

.site-footer__recent-copy {
    min-width: 0;
}

.site-footer__recent-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--footer-tag, #ff5a21);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
}

.site-footer__recent-title {
    margin: 8px 0 6px;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    font-weight: 700;
}

.site-footer__recent-title a {
    color: #fff;
    text-decoration: none;
}

.site-footer__recent-date {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.4;
}

.site-footer__recent-thumb {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.site-footer__recent-image,
.site-footer__recent-image--placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.site-footer__recent-image {
    object-fit: cover;
}

.site-footer__recent-image--placeholder {
    background: linear-gradient(135deg, #2a2d46 0%, #111318 100%);
}

.site-footer__category-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer__category-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    text-decoration: none;
}

.site-footer__category-name {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.4;
}

.site-footer__category-name i {
    font-size: 10px;
}

.site-footer__category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 4px;
    background: var(--footer-count, #111);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__copyright {
    color: rgba(255, 255, 255, 0.86);
    font-size: 12px;
    line-height: 1.5;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.site-footer__nav-list {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav-list li {
    margin: 0;
    padding: 0;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
}

@media (max-width: 991px) {
    .site-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .site-footer__column--categories {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .site-footer {
        padding-top: 34px;
    }

    .site-footer__main {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 30px;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}
