/* ============================================
   页脚样式（品牌信息 + 备案信息）
   --------------------------------------------
   设计取舍：
   1. 由原来"单行居中 + 竖线分隔"改为"左品牌、右备案"两栏，
      窄屏自动堆叠成一列，避免折行后参差不齐。
   2. 分隔符改用小圆点而不是竖线，视觉更轻，符合简约方向。
   3. 备案信息属次要信息，字号与颜色降一级，让品牌成为第一视觉点。
   4. 品牌左侧加一个渐变方块字标，复用站内品牌色令牌；
      备案图标与文字按中线对齐，不再出现图标"浮"在文字上方的观感。
   5. 只作用于页脚内部的 site-footer__* 类名，不修改 .footer 既有规则，
      因此不影响 site.css 里的 sticky footer 布局。
   ============================================ */

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
}

/* 左侧：字标 + 名称 / 域名 */
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
}

.site-footer__brand:hover,
.site-footer__brand:focus {
    text-decoration: none;
    color: var(--text);
}

.site-footer__logo {
    width: 30px;
    height: 30px;
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--brand-gradient);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
}

.site-footer__names {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.site-footer__names strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    transition: color .15s ease;
}

.site-footer__brand:hover .site-footer__names strong {
    color: var(--brand);
}

.site-footer__names span {
    font-size: 12px;
    color: #9a9aa6;
}

/* 右侧：备案信息 */
.site-footer__meta {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
}

.site-footer__meta a {
    color: #8b8b96;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s ease;
}

.site-footer__meta a:hover,
.site-footer__meta a:focus {
    color: var(--brand);
    text-decoration: none;
}

/* 圆点分隔符：纯装饰，窄屏隐藏避免行首出现孤立圆点 */
.site-footer__dot {
    width: 3px;
    height: 3px;
    flex: none;
    border-radius: 50%;
    background: #cfcfd8;
}

.site-footer__police {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.site-footer__police img {
    width: 14px;
    height: 14px;
    display: block;
    opacity: .85;
}

@media (max-width: 575.98px) {
    .site-footer {
        justify-content: flex-start;
        padding: 14px 0;
    }

    .site-footer__dot {
        display: none;
    }

    .site-footer__meta {
        gap: 6px 14px;
    }
}
