/* ============================================================
   2026-11-18 页脚美化（覆盖 .foot 系列既有类，不改动动态导航逻辑）
   只作用于 .foot 区域；与 sol、pro、news、ct 前缀完全解耦。
   删掉 base.html 的引入行即可整体回退到原始页脚。
   ============================================================ */

.foot {
    position: relative;
    /* 覆盖中文站 style.css 里的固定 height:266px，避免新增版权行后内容溢出露白 */
    height: auto;
    /* 纯色兜底 + 渐变提升质感，替换原来单一的 #69B77A 平涂 */
    background: #4a9559;
    background-image: linear-gradient(115deg, #5bab6e 0%, #47935a 55%, #3d824e 100%);
    /* 2026-11-18：底部留白 42→24px，收紧页脚下方间隙 */
    padding: 50px 0 24px;
}

/* 顶部一条高光分隔线，把页脚和正文拉开层次 */
.foot::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .5), rgba(255, 255, 255, .04));
}

.foot .ftnr {
    padding-top: 0;
}

/* 中文站导航列较宽(约850px)，须收窄到 810px 才能与 245px 的二维码区同排
   （810 + 245 + 25 间距 = 1080 容器宽），避免二维码被挤到下一行。 */
@media screen and (min-width: 1081px) {
    .foot .ftl {
        width: calc(100% - 270px) !important;
    }
}

/* 导航列标题：加大加粗 + 底部短装饰线 */
.foot .ftl ul p {
    margin-top: 0;
    margin-bottom: 14px;
}

.foot .ftl ul p a {
    position: relative;
    display: inline-block;
    margin: 0 0 6px;
    padding-bottom: 12px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
}

.foot .ftl ul p a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: rgba(255, 255, 255, .82);
    border-radius: 2px;
}

/* 子链接：加大行距、提亮、hover 微位移高亮 */
.foot .ftl ul li a {
    font-size: 12.5px;
    line-height: 2.15;
    color: rgba(255, 255, 255, .74);
    transition: color .2s ease, padding-left .2s ease;
}

.foot .ftl ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* 右侧二维码 / 版权区：左侧竖线分隔，整体更规整 */
.foot .ftr {
    border-left: 1px solid rgba(255, 255, 255, .18);
    padding-top: 6px;
    padding-bottom: 0;
}

/* 二维码加白色圆角卡片托底 + 轻微阴影 */
.foot .ftr_1 {
    display: inline-block;
    margin: 2px 0 18px;
    padding: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
}

.foot .ftr_1 img {
    display: block;
    width: 90px !important;
    height: 90px !important;
}

/* 版权 / 备案文字提亮、行距更舒展 */
.foot .ftr_2 {
    font-size: 12px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .86);
}

/* 版权 / 备案单独成行靠右，顶部细线分层 */
.foot .ft-copyright {
    clear: both;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .2);
    text-align: right;
}

.foot .ft-copyright .ftr_2 {
    display: inline-block;
    margin-left: 24px;
}

/* 窄屏：右侧区移到下方，改横线分隔并居中 */
@media screen and (max-width: 1080px) {
    .foot {
        padding: 38px 0 18px;
    }
    .foot .ftr {
        width: 100%;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .2);
        margin-top: 10px;
        padding-top: 26px;
        padding-bottom: 0;
        text-align: center;
    }
    .foot .ftr_1 {
        margin-bottom: 14px;
    }
}

@media screen and (max-width: 640px) {
    .foot .ftl ul p a {
        font-size: 14px;
    }
    .foot .ftl ul li a {
        font-size: 12px;
        line-height: 2;
    }
    .foot .ft-copyright {
        margin-top: 18px;
        padding-top: 14px;
    }
    .foot .ft-copyright .ftr_2 {
        display: block;
        margin-left: 0;
    }
}
