/* ============================================================
   lzatc-fix.css — 兰州航空职业技术学院官网修正补丁 v1.5
   日期：2026-08-27
   修复内容：
   1. 左侧二级导航当前页高亮
   2. 顶部一级导航当前栏目高亮
   3. 页脚"省内高校"文字错误
   4. 搜索栏放大镜UI
   5. 行间距/模块间距缩减，页面更紧凑
   6. 学院要闻/学生工作/招生就业轮播进度条跟随
   7. 移动端新闻图片错位
   8. 新闻页面加载加速（配合 preconnect）
   9. 内容表格格式错误
   说明：本补丁必须配合 main.js 一起更新使用
   ============================================================ */

/* ===== 4. 搜索框放大镜UI ===== */
.top .search { border-radius: 20px; overflow: hidden; }
.top .search .s {
  height: 25px;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 13px;
  background: #fff;
}
.top .search .b {
  width: 30px;
  height: 25px;
  float: right;
  background: #143270 url(/images/search.png) no-repeat center;
  background-size: 15px 15px;
  border: none;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
  padding: 0;
}
.top .search .b:hover { background-color: #1e4a9e; }

/* 内页搜索框 */
.top.top1 .search{
  width:170px;height:28px;float:right;background:#fff;
  border-radius:25px;margin-top:6px;margin-right:10px;overflow:hidden;position:relative;
}
.top.top1 .search form.search{
  width:100%;height:100%;margin:0;padding:0;background:transparent;border-radius:0;overflow:hidden;
}
.top.top1 .search input.s{
  width:130px;height:28px;float:left;border:none;outline:none;padding:0 10px;
  font-size:13px;background:transparent;line-height:28px;
}
.top.top1 .search input.b{
  width:40px;height:28px;float:right;
  background:#143270 url(/images/search.png) no-repeat center;
  background-size:16px 16px;border:none;cursor:pointer;border-radius:0 25px 25px 0;padding:0;
}
.top.top1 .search input.b:hover{ background-color:#1e4a9e; }

/* ===== 5. 紧凑布局 ===== */
.content1 { height: 560px; }
.content1 .position { height:auto; }
.titlemain3 { margin: 5px 0 20px 0; }
.titlemain4 { margin: 35px 0 25px 0; }
.content1 .position .right .first { margin-bottom: 10px; padding: 15px 20px; height: 115px; }
.content1 .position .right .second { line-height: 40px; }
.zhxwlist_new li, .mtgzlist_new li { margin-bottom: 10px; height: 42px; }
.zhxwlist_new li .title, .mtgzlist_new li .title { line-height: 22px; height: 22px; font-size: 15px; }
.zhxwlist_new li .dete, .mtgzlist_new li .dete { font-size: 14px; }
.modulethree { padding: 5px 0; gap: 2.5rem; }

/* 内页紧凑 */
.content.page .right .neirong .n_list{padding:30px;}
.content.page .right .neirong .n_list .box{height:90px;margin-bottom:12px;}
.content.page .right .neirong .n_list .box .text{margin-left:25px;margin-top:22px;}
.content.page .right .neirong .n_list .box .text a{line-height:20px;}
.content.page .right .neirong .n_list .box .text p{margin-top:8px;line-height:16px;}
.content.page .right .neirong .n_list .box .date{height:65px;margin-top:12px;margin-right:25px;}
.content.page .right .neirong .n_list .box .date .mm{font-size:22px;line-height:22px;padding:4px 0;}
.content.page .right .neirong .d_page{padding:25px 30px;}
.content.page .right .neirong .d_page .up{line-height:1.8em;}
.content.page .right .neirong .d_page .detail_title{margin-top:20px;}
.content.page .right .neirong .d_page .detail_title .p1{
  font-size:22px;line-height:32px;padding:8px 0 20px 0;
}
.content.page .right .neirong .d_page .up p{padding:6px 0 18px 0;}
.content.page .right .neirong .d_page .jdyw-content{padding-top:15px;}
.content.page .right .neirong .d_page .jdyw-content .down p{
  line-height:1.9em;color:#333;margin-bottom:8px;
}
.detail_page{margin-top:25px;padding-top:18px;}
.detail_page li{line-height:26px;padding:4px 0;}

/* ===== 2. 顶部导航当前栏目高亮 ===== */
.guide .g_ul .g_li.nav-active > .g_a{
  color:#bd1a2d !important;
  font-weight:bold;
}

/* ===== 6. 轮播进度条 ===== */
.content1 .slideBoxnew .hdnew ul li{
  transition:background-color .3s ease;
}
.content1 .slideBoxnew .hdnew ul li.on{
  background:#143270;
}

/* ===== 9. 内容表格统一 ===== */
.content.page .right .neirong .d_page table,
.content.page .right .neirong .n_list table,
.content.page .right .neirong .d_page .jdyw-content table,
.d_page table, .n_list table, .jdyw-content table{
  width:100% !important;
  max-width:100% !important;
  border-collapse:collapse !important;
  margin:15px auto !important;
  font-size:15px !important;
  height:auto !important;
  table-layout:auto;
}
.content.page .right .neirong .d_page table td,
.content.page .right .neirong .n_list table td,
.content.page .right .neirong .d_page .jdyw-content table td,
.d_page table td, .n_list table td, .jdyw-content table td{
  border:1px solid #999 !important;
  padding:10px 12px !important;
  line-height:1.7 !important;
  word-break:break-word !important;
  height:auto !important;
  vertical-align:middle !important;
}
.content.page .right .neirong .d_page table span,
.content.page .right .neirong .n_list table span,
.d_page table span, .n_list table span{
  font-size:15px !important;
  line-height:1.7 !important;
}
.content.page .right .neirong .d_page table tr:first-child td,
.content.page .right .neirong .n_list table tr:first-child td,
.d_page table tr:first-child td,
.n_list table tr:first-child td{
  background:#f0f4fa !important;
  font-weight:bold !important;
}

/* ===== 7. 移动端图片/表格自适应 ===== */
@media (max-width:992px){
  .d_page .jdyw-content img,
  .d_page .down img,
  .n_list img,
  .jdyw-content img{
    max-width:100% !important;
    height:auto !important;
    display:block;
    margin:0 auto;
  }
  .d_page .jdyw-content table,
  .n_list table,
  .jdyw-content table{
    display:block;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    white-space:nowrap;
  }
  .d_page .jdyw-content table td,
  .n_list table td{
    white-space:normal;
  }
  .content1{height:auto !important;padding:20px 0 !important;}
  .content1 .position{height:auto !important;}
  .zhxwlist_new li,.mtgzlist_new li{height:auto;min-height:42px;padding:8px 10px;}
}

/* ============================================================
   v1.6 补丁 — 2026-08-27
   修复：页面底部空白过多、移动端列表页/内容页加载缓慢
   ============================================================ */

/* ===== 底部空白修复：清除浮动 + 取消多余 margin ===== */
.content.page {
  overflow: hidden;
  padding-bottom: 0 !important;
}
.content.page .position {
  overflow: hidden;
  padding-bottom: 20px;
}
.content.page .left,
.content.page .right {
  margin-bottom: 0 !important;
}
.content.page .right .neirong {
  margin-bottom: 0;
}
/* 页脚紧凑 */
.foot {
  margin-top: 0;
}

/* ===== 移动端内页布局自适应（≤992px） ===== */
@media (max-width: 992px) {
  .content.page {
    padding: 15px 0 !important;
  }
  .content.page .position {
    width: 100% !important;
    padding: 0 12px 20px 12px !important;
    box-sizing: border-box;
  }
  .content.page .left {
    width: 100% !important;
    float: none !important;
    margin-bottom: 15px !important;
  }
  .content.page .left .nei_guide .neititle {
    width: 100% !important;
    height: 50px !important;
    line-height: 50px !important;
    font-size: 20px !important;
    text-indent: 20px !important;
    background-size: cover !important;
  }
  .content.page .left .nei_guide ul {
    padding-top: 8px !important;
  }
  .content.page .left .nei_guide ul li {
    height: 42px !important;
    line-height: 42px !important;
    font-size: 14px !important;
    text-indent: 24px !important;
  }
  .content.page .right {
    width: 100% !important;
    float: none !important;
  }
  .content.page .right .weizhi {
    padding: 10px 15px !important;
    font-size: 12px !important;
    line-height: 24px !important;
  }
  .content.page .right .neirong {
    margin-top: 12px !important;
  }
  .content.page .right .neirong .n_list,
  .content.page .right .neirong .piclist,
  .content.page .right .neirong .d_page {
    padding: 15px !important;
  }
  /* 列表项紧凑 */
  .content.page .right .neirong .n_list .box {
    height: auto !important;
    min-height: 70px;
    padding: 10px 0 !important;
    margin-bottom: 8px !important;
  }
  .content.page .right .neirong .n_list .box .text {
    width: calc(100% - 80px) !important;
    margin-left: 15px !important;
    margin-top: 5px !important;
  }
  .content.page .right .neirong .n_list .box .text a {
    font-size: 14px !important;
    line-height: 20px !important;
  }
  .content.page .right .neirong .n_list .box .text p {
    font-size: 12px !important;
    margin-top: 4px !important;
    line-height: 16px !important;
  }
  .content.page .right .neirong .n_list .box .date {
    width: 48px !important;
    height: 55px !important;
    margin-top: 5px !important;
    margin-right: 12px !important;
    padding: 3px 0 !important;
  }
  .content.page .right .neirong .n_list .box .date .mm {
    font-size: 18px !important;
    line-height: 20px !important;
    padding: 2px 0 !important;
  }
  .content.page .right .neirong .n_list .box .date .yy,
  .content.page .right .neirong .n_list .box .date .dd {
    font-size: 11px !important;
  }
  /* 图文列表 */
  .content.page .right .neirong .piclist .box {
    height: auto !important;
    padding: 12px !important;
  }
  .content.page .right .neirong .piclist .box .img {
    width: 120px !important;
    height: 80px !important;
  }
  .content.page .right .neirong .piclist .box .img img {
    width: 120px !important;
    height: 80px !important;
  }
  .content.page .right .neirong .piclist .box .text {
    width: calc(100% - 140px) !important;
    height: auto !important;
    margin-left: 12px !important;
  }
  .content.page .right .neirong .piclist .box .text .topic {
    margin-top: 0 !important;
    font-size: 14px !important;
    line-height: 20px !important;
  }
  .content.page .right .neirong .piclist .box .text .des {
    font-size: 12px !important;
    line-height: 18px !important;
    margin-top: 6px !important;
  }
  .content.page .right .neirong .piclist .box .more {
    display: none !important;
  }
  /* 文章详情 */
  .content.page .right .neirong .d_page .detail_title .p1 {
    font-size: 18px !important;
    line-height: 26px !important;
    padding: 5px 0 12px 0 !important;
  }
  .content.page .right .neirong .d_page .jdyw-content .down p {
    font-size: 14px !important;
    line-height: 1.8em !important;
  }
  .content.page .right .neirong .d_page .jdyw-content .down p.vsbcontent_img img {
    max-width: 100% !important;
    width: 100% !important;
  }
  /* 内页 banner */
  .neiadv {
    height: 180px !important;
  }
  .neiadv img {
    height: 180px !important;
  }
  /* 页脚 */
  .foot {
    height: auto !important;
    padding: 20px 0 !important;
  }
  .foot .position {
    height: auto !important;
  }
  .foot .info_l {
    position: static !important;
    height: auto !important;
    text-align: center !important;
  }
  .foot .info_l .logo {
    justify-content: center !important;
    margin: 0 auto 10px !important;
    height: auto !important;
  }
  .foot .info_r {
    float: none !important;
    text-align: center !important;
    padding-top: 15px !important;
  }
  .foot .info_r .link {
    float: none !important;
    margin: 0 auto 12px !important;
  }
  .foot .info_r .xinxi {
    text-align: center !important;
  }
  /* 分页 */
  .pagebar {
    padding: 8px 0 20px 0 !important;
  }
  .pagebar a, .pagebar span {
    padding: 4px 8px !important;
    font-size: 12px !important;
  }
}

/* ===== 超小屏 ≤480px 进一步优化 ===== */
@media (max-width: 480px) {
  .content.page .position {
    padding: 0 8px 15px 8px !important;
  }
  .content.page .right .neirong .n_list .box .text {
    width: calc(100% - 65px) !important;
  }
  .content.page .right .neirong .n_list .box .date {
    width: 42px !important;
    height: 50px !important;
  }
  .content.page .right .neirong .n_list .box .date .mm {
    font-size: 16px !important;
  }
}

/* ===== 移动端加载加速：图片占位防止抖动 ===== */
.content.page .right .neirong img,
.content.page .left img {
  max-width: 100%;
  height: auto;
}
/* 懒加载图片占位 */
img[data-src] {
  opacity: 0;
  transition: opacity .3s ease;
}
img[data-src].loaded,
img:not([data-src]) {
  opacity: 1;
}
