/* 友情链接区域 */
.links-section {
    background: #1a3a6c;
    padding: 10px 0;
}

.links-container {
    max-width: 1500px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 30px;
}
@media screen and (max-width: 1799px) and (min-width: 1500px) {
    .links-container {
        max-width: 1300px;
    }
}

.links-title {
    font-size: 18px;
    color: #fff; /* 改为纯白色 */
    margin-bottom: 0;
    font-weight: 600;
    white-space: nowrap;
}

.links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;  /* ✅ 新增：占满剩余空间 */
    justify-content: space-between;  /* ✅ 新增：均匀分布 */
}

.links-list a {
    color: #fff; /* 改为纯白色 */
    text-decoration: none;
    font-size: 15px;
    transition: opacity 0.3s; /* 悬停效果改为透明度变化 */
}

.links-list a:hover {
    opacity: 0.9; /* 悬停时轻微透明 */
}

/* 页脚区域 */
.footer {
    background: #1a3a6c;
    color: #fff;
    padding: 40px 0; /* 上下间距增加20px */
}

.footer-container {
    max-width: 1500px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: center;
}
@media screen and (max-width: 1799px) and (min-width: 1500px) {
    .footer-container {
        max-width: 1300px;
    }
}

/* 图片展示区域 */
.logo-showcase {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    padding-right: 40px;
}

/* 黑色竖线 */
.logo-showcase::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 54px; /* 随logo高度等比例缩小 */
    width: 1px;
    background: rgba(0,0,0,0.3);
}

.school-logo img {
    height: 72px; /* 80px * 0.9 */
    width: auto;
    display: block;
    transform: scale(0.9); /* 新增缩放属性 */
    transform-origin: left center; /* 保持左侧对齐的垂直居中 */
}

.school-title img {
    height: 54px; /* 60px * 0.9 */
    width: auto;
    display: block;
    transform: scale(0.9); /* 新增缩放属性 */
    transform-origin: left center; /* 保持左侧对齐的垂直居中 */
}

/* 联系信息 */
.contact-info {
    flex: 1; /* 新增：占据剩余空间 */
}

.contact-item {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 5px 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .links-container,
    .footer-container {
        max-width: 100%;
        width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .links-container {
        flex-direction: column; /* 移动端标题和链接垂直排列 */
        align-items: flex-start;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .logo-showcase {
        padding-right: 0;
        padding-bottom: 30px;
        border-right: none;
    }

    .logo-showcase::after {
        display: none; /* 移动端隐藏竖线 */
    }
}