/*!
 * 本站自绘页脚样式（品牌蓝多栏）
 *
 * 本文件在 responsive.css 之后加载。responsive.css 在 ≤1200px 会用
 * `body.site-body *{ ... !important }` 把页面整体扁平化（含 width/height/max-width），
 * 所以本文件里凡与它冲突的属性（宽高、字号）同样用 !important，靠"后加载"生效。
 */

.site-footer {
    background: #1a4f9c;
    color: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
    font-size: 14px !important;
    line-height: 1.8;
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* 顶部品牌色细线：呼应 logo 的蓝→粉 */
.site-footer::before {
    content: "";
    display: block;
    width: 100% !important;
    height: 4px !important;
    background: linear-gradient(90deg, #1650a0 0%, #3f7fd6 45%, #f5a5c5 100%);
}

/* ---------- 三栏主体 ---------- */
.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px 40px;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 40px 24px 26px;
    box-sizing: border-box;
}

.site-footer__col {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
}

.site-footer__brand {
    flex: 1.5 1 0;
}

/* 品牌栏 */
.site-footer__logo {
    display: inline-block;
    background: #fff;
    border-radius: 6px;
    padding: 6px 10px;
    margin-bottom: 14px;
    line-height: 0;
}

.site-footer__logo img {
    display: block;
    width: 178px !important;
    height: auto !important;
}

.site-footer__name {
    margin: 0 0 8px;
    font-size: 16px !important;
    font-weight: 700;
    color: #fff;
}

.site-footer__desc {
    margin: 0;
    font-size: 13px !important;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.72);
}

/* 栏标题 */
.site-footer__title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    font-size: 15px !important;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

/* 快速导航 */
.site-footer__nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__nav li {
    margin: 0 0 8px;
}

.site-footer__nav a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px !important;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__nav a:hover {
    color: #fff;
    padding-left: 5px;
}

/* 联系方式 */
.site-footer__contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__contact li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: 0 0 9px;
    font-size: 13px !important;
    color: rgba(255, 255, 255, 0.85);
}

.site-footer__contact em {
    flex: 0 0 44px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.55);
}

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

.site-footer__contact a:hover {
    text-decoration: underline;
}

/* ---------- 底部：版权 + 备案 ---------- */
.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 18px;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto;
    padding: 16px 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px !important;
    color: rgba(255, 255, 255, 0.62);
    box-sizing: border-box;
}

.site-footer__bottom a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.site-footer__bottom a:hover {
    color: #fff;
}

/* ---------- 窄屏：单列堆叠、居中 ---------- */
@media (max-width: 1024px) {
    .site-footer__inner {
        display: block !important;
        padding: 30px 18px 14px;
    }

    .site-footer__col {
        width: 100% !important;
        margin-bottom: 24px;
        text-align: center;
    }

    .site-footer__logo {
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer__logo img {
        width: 150px !important;
    }

    /* 列表整体居中、条目内部仍左对齐 */
    .site-footer__nav,
    .site-footer__contact {
        display: inline-block;
        text-align: left;
    }

    .site-footer__bottom {
        padding: 14px 18px 20px;
    }
}
