/* footer.css - 页脚独立样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 页脚主样式 */
.footer {
    background: #fff;
    color: #191818;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #0d47a1;padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: #bbdefb;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: #bbdefb;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #37474f;
    color: #000000;font-size: 0.9rem;
}

/* 移动端适配（768px以下） */
@media (max-width: 768px) {
    .footer {
        padding: 10px 0 5px; /* 减少上下内边距，避免页面过长 */
    }

    .footer-grid {
        gap: 20px; /* 缩小列间距，适配小屏幕 */
        grid-template-columns: repeat(2,1fr); /* 强制1列布局，避免小屏幕挤2列 */
    }

    .footer-col {
        padding: 0 5px;
    }

    .footer-col h3 {
        font-size: 1rem; /* 缩小标题字体 */
        margin-bottom: 12px;
        text-align: left; /* 标题居中，更符合移动端视觉习惯 */
		padding-bottom: 8px;
    }

    /* 标题下划线也居中（配合标题居中） */
    .footer-col h3::after {
        left: 0;
        transform: none;width: 30px;
    }

    .footer-col ul {
        text-align: left; /* 列表文字居中，避免单侧贴边 */
    }

    .footer-col ul li {
        margin-bottom: 10px; /* 增大列表项间距，提升点击体验 */
        padding-left: 5px;
    }

    .footer-col ul li a {
        font-size: 0.9rem; /* 缩小列表文字，避免换行过多 */
    }

    .copyright {
        padding-top: 20px;
        font-size: 0.85rem;
        line-height: 1.5; /* 增大行高，提升可读性 */
    }
}