:root {
    --primary: #294C7DFF;
    --primary-dark: #0d3d7a;
    --accent: #2d7dd2;
    --text: #333;
    --text-light: #666;
    --border: #e5e5e5;
    --bg-light: #f5f7fa;
    --success: #28a745;
    --warning: #ffc107;
    --radius: 6px;
}
a, a:link, a:visited, a:hover, a:focus, a:active {
    text-decoration: none!important;
}
a {
    text-decoration: none!important; /* 彻底移除下划线 */
}
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
    overflow-x: hidden;
}
.containerTop{
     width: 1400px;
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin: 0 auto;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { -webkit-tap-highlight-color: transparent; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.navbar{
  margin-bottom: 10px!important;
}
.newsTop{
    height: 40px;
    border-bottom: 1px solid #E5E7EBFF;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}
.newsMore{
     /*position: absolute;*/
     right: 15px;
     bottom: 5px;
}
.newBtn{
    width: 124px;
    height: 39px;
    background: #F3F4F6;
    font-size: 18px;
    color: #4B5563FF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.newBtn:hover{
    background-color: #0E6EB8FF;
    color: #fff;
}
.newBtn_on{
     background-color: #0E6EB8FF!important;
     color: #fff!important;
     position: relative;
}
.arrItem{
    display: none;
}
.newBtn_on .arrItem{
     width: 9px;
     height: 9px;
     display: block;
     background-color:#0E6EB8FF;
     transform: rotateZ(45deg);
     position: absolute;
     bottom: -5px;
}
.riliBox{
    width: 47px;
    background: #F9FAFB;
    flex-shrink: 0;
}
.riliBox_top{
    height: 20px;
    background: #4B5563;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
}
.riliBox_num{
    font-size: 20px;
    color: #374151FF;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    border: 1px solid #E5E7EB;
}
.serviceBox{
    height: 137px;
    background: #F5F5F5;
    border-radius: 4px 4px 4px 4px;
    border: 1px solid #E5E7EB;
    display: grid;
    grid-template-columns:1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    padding: 0 50px;
    gap: 120px;
}
.overText_tow{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* 防止被 Autoprefixer 等工具删除 */
    -webkit-box-orient: vertical;
    /*! autoprefixer: ignore next */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.overText{
    white-space: nowrap;      /* 强制不换行 */
    overflow: hidden;         /* 超出隐藏 */
    text-overflow: ellipsis;
}
.serviceItem{
     display: flex;
     align-items: center;
     justify-content: center;
     flex-flow: column;
     height: 100%;
}
.serviceItem_icon{
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    box-shadow: 0px 1px 2px 0px rgba(0,0,0,0.05);
    border-radius: 9999px 9999px 9999px 9999px;
    border: 2px solid #E5E7EB;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.serviceItem_label{
    color: #374151FF;
    font-size: 13px;
}

.navLabel{
    width: 124px;
    height: 35px;
    background: #0E6EB8;
    font-size: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lostType{
    width: 36px;
    height: 20px;
    background: #3B82F6;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.lostImg{
    width: 115px;
    height: 73px;
    border: 1px solid #E5E7EB;
    flex-shrink: 0;
}
.footerBox{
    width: 1920px;
    height: 162px;
    background-color:#0E6EB8FF;
}
.showOn{
    background-color:#007CD2FF;
}
.navbar{
    border-radius: 0!important;
}
.navbar-collapse{
    padding: 0!important;
}
.container-fluid{
    padding: 0!important;
}


.newsListCont{
     width: 1400px;
     margin: 0 auto;
     padding-top: 50px;
     padding-bottom: 50px;
}
.newsListMain_nav{
    margin-right: 20px;
    width: 390px;
    box-sizing: border-box;
}
/* ===== 顶栏 ===== */
.top-bar {
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    padding: 6px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a { opacity: 0.9; padding: 4px 8px; }
.top-bar a:hover { opacity: 1; text-decoration: underline; }
.repairTr{
    cursor: pointer;
}
#newCont_a a:first-child>div{
    padding-top: 0!important;
}
#newCont_b a:first-child>div{
    padding-top: 0!important;
}
#newCont_c a:first-child>div{
    padding-top: 0!important;
}
.repairTr:hover >div{
    color: #0e6eb8;
    font-weight: bold;
}
.serverTr{
    cursor: pointer;
}
.serverTr:hover >div{
    color: #0e6eb8;
    font-weight: bold;
}
.ellipsisList{
    display: -webkit-box;           /* 必须：将对象作为弹性伸缩盒子模型显示 */
    -webkit-box-orient: vertical;   /* 必须：设置伸缩盒对象的子元素垂直排列 */
    -webkit-line-clamp: 2;          /* 核心：限制文本最多显示 2 行 */
    overflow: hidden;               /* 隐藏超出容器的内容 */
    text-overflow: ellipsis;        /* 溢出时显示省略号 */
}
.muPushBtn{
    width: 200px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #ff9900;
    color: #fff;
    margin: 80px auto;
    border-radius: 4px;
    font-size: 16px;
}
/* ===== 头部 ===== */
.header {
    padding: 16px 0;
    /*border-bottom: 1px solid var(--border);*/
}
.containerBox{
     width: 1400px!important;
     margin: 0 auto;
}
.navbar-inverse{
     background-color:#294C7DFF!important;
}
.header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    flex-shrink: 0;
}
.site-title h1 {
    font-size: 22px;
    color: var(--primary-dark);
    font-weight: 700;
    line-height: 1.3;
}
.site-title p {
    font-size: 12px;
    color: var(--text-light);
}
.search-box {
    display: flex;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    min-width: 260px;
}
.search-box select {
    border: none;
    padding: 8px 12px;
    background: var(--bg-light);
    font-size: 13px;
    outline: none;
}
.search-box input {
    flex: 1;
    border: none;
    padding: 8px 12px;
    outline: none;
    min-width: 100px;
    font-size: 14px;
}
.search-box button {
    background: #fff;
    color: #fff;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    min-width: 44px;
    min-height: 35px;
}
.search-box button:active { background: var(--primary-dark); }
.page{
    text-align: center;
}
/* ===== 导航 ===== */
.nav-wrap {
    background: var(--primary-dark);
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    padding: 12px 16px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    min-height: 48px;
    position: relative;
}
.nav-toggle::after {
    content: "菜单";
    font-size: 14px;
    margin-left: 8px;
    vertical-align: middle;
}
.main-nav ul {
    display: flex;
    flex-wrap: wrap;
}
.main-nav li a {
    display: block;
    color: #fff;
    padding: 14px 18px;
    font-size: 14px;
    transition: background 0.2s;
    min-height: 48px;
    line-height: 20px;
}
.main-nav li a:hover,
.main-nav li a.active {
    background: rgba(255,255,255,0.15);
}
.main-nav li a:active {
    background: rgba(255,255,255,0.25);
}

/* ===== Banner ===== */
.hero {
    min-height: 280px;
    background: linear-gradient(135deg, #0d3d7a 0%, #1a5fb4 30%, #4a90d9 60%, #87ceeb 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop offset='0' stop-color='%231a5fb4'/%3E%3Cstop offset='1' stop-color='%234a90d9'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill='url(%23g)' width='400' height='300'/%3E%3Ccircle cx='300' cy='80' r='60' fill='%23ffd700' opacity='0.3'/%3E%3Crect x='0' y='200' width='400' height='100' fill='%232d5016' opacity='0.3'/%3E%3C/svg%3E") center/cover;
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
    max-width: 800px;
}
.hero-content h2 {
    font-size: 36px;
    letter-spacing: 6px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.4;
}
.hero-content p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== 通用区块 ===== */
.section { padding: 23px 0; }
.section-title {
    font-size: 18px;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary);
    padding-left: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.section-title .more {
    font-size: 13px;
    color: var(--text-light);
    font-weight: normal;
    padding: 6px 12px;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.panel-header {
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 600;
}

/* ===== 新闻 Tab ===== */
.news-tabs {
    display: flex;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.news-tabs button {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-light);
    white-space: nowrap;
    min-height: 44px;
    transition: color 0.2s;
}
.news-tabs button.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
    margin-bottom: -2px;
}
.news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.news-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    min-height: 240px;
    background: linear-gradient(135deg, #ffb7c5, #ffc0cb);
}
.news-featured .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    color: #fff;
}
.news-featured .overlay h3 { font-size: 16px; line-height: 1.5; }
.news-list li {
    display: flex;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--border);
}
.news-list li:last-child { border-bottom: none; }
.news-date {
    flex-shrink: 0;
    width: 52px;
    text-align: center;
    background: var(--bg-light);
    padding: 6px;
    border-radius: 4px;
}
.news-date .day { font-size: 22px; font-weight: 700; color: var(--primary); }
.news-date .month { font-size: 12px; color: var(--text-light); }
.news-item-content h4 { font-size: 14px; margin-bottom: 4px; line-height: 1.5; }
.news-item-content p { font-size: 12px; color: var(--text-light); line-height: 1.6; }

/* ===== 快捷服务 ===== */
.quick-services {
    background: var(--bg-light);
    padding: 32px 0;
}
.service-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    text-align: center;
}
.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: #fff;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 48px;
}
.service-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.service-icon:active {
    transform: scale(0.96);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}
.service-icon span { font-size: 13px; }

/* ===== 双列布局 ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.panel {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.panel-body { padding: 16px; }
.panel-illustration {
    height: 120px;
    background: linear-gradient(135deg, #e8f4fc, #d0e8f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin-bottom: 12px;
    border-radius: 4px;
}

/* ===== 表格 ===== */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.data-table th,
.data-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.data-table th {
    background: var(--bg-light);
    color: var(--text-light);
    font-weight: 500;
}
.status-done { color: var(--success); font-weight: 500; }
.status-pending { color: #e67e22; font-weight: 500; }
/* 移动端卡片式表格 */
.table-cards { display: none; }
.table-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    background: #fff;
}
.table-card .card-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.table-card .row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    align-items: center;
}
.table-card .label { color: var(--text-light); flex-shrink: 0; margin-right: 12px; }
.table-card .value { text-align: right; }

/* ===== 列表项 ===== */
.item-list li {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}
.item-list li:last-child { border-bottom: none; }
.item-thumb {
    width: 80px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #ccc;
}
.item-info h4 { font-size: 14px; margin-bottom: 4px; line-height: 1.5; }
.item-info p { font-size: 12px; color: var(--text-light); }
.text-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
    min-height: 44px;
}
.text-list li:last-child { border-bottom: none; }
.text-list .title-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
    line-height: 1.5;
}
.text-list .date {
    color: var(--text-light);
    font-size: 12px;
    flex-shrink: 0;
}

/* ===== 口号 ===== */
.slogan-section {
    text-align: center;
    padding: 48px 16px;
    background: linear-gradient(135deg, #f0f7ff, #e8f4fc);
}
.slogan-section h2 {
    font-size: 28px;
    color: var(--primary-dark);
    letter-spacing: 4px;
    margin-bottom: 16px;
}
.slogan-section p { color: var(--text-light); font-size: 14px; }

/* ===== 校园风采 ===== */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.gallery-item .photo {
    height: 140px;
    background: linear-gradient(135deg, #b0c4de, #87a9c9);
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255,255,255,0.6);
}
.gallery-item p { font-size: 13px; text-align: center; color: var(--text-light); }

/* ===== 招标公告 ===== */
.bid-list li {
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 44px;
}
.bid-list li:last-child { border-bottom: none; }
.bid-list .bid-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-right: 12px;
    color: var(--primary);
}
.bid-list .bid-date { color: var(--text-light); font-size: 12px; flex-shrink: 0; }

/* ===== 页脚 ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}
.footer-info p { margin-bottom: 6px; line-height: 1.8; }
.footer-qr {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-size: 11px;
    flex-shrink: 0;
}

/* ===== 返回顶部 ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 99;
    transition: opacity 0.3s;
}
.back-to-top:active { background: var(--primary-dark); }
.back-to-top.show { display: flex; }

/* ===== 响应式 - 平板 ===== */
@media (max-width: 992px) {
    .service-icons { grid-template-columns: repeat(3, 1fr); }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .hero-content h2 { font-size: 28px; letter-spacing: 4px; }
}

/* ===== 响应式 - 手机 ===== */
@media (max-width: 768px) {
    .top-bar { font-size: 12px; padding: 4px 0; }
    .top-bar .welcome-text { display: none; }

    .header { padding: 12px 0; }
    .header-inner { gap: 12px; }
    .search-box { width: 100%; min-width: unset; order: 3; }
    .search-box select { display: none; }

    .nav-toggle { display: block; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    .main-nav.open ul { display: flex; }
    .main-nav li a {
        padding: 14px 16px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 15px;
    }

    .hero { min-height: 200px; }
    .hero-content { padding: 24px 16px; }
    .hero-content h2 { font-size: 22px; letter-spacing: 2px; }
    .hero-content p { font-size: 13px; }

    .section { padding: 24px 0; }
    .section-title { font-size: 16px; margin-bottom: 16px; }

    .news-grid,
    .two-col { grid-template-columns: 1fr; gap: 16px; }

    .news-tabs { gap: 0; }
    .news-tabs button { padding: 10px 16px; font-size: 14px; flex: 1; }

    .service-icons { grid-template-columns: repeat(3, 1fr); gap: 12px; }
    .icon-circle { width: 48px; height: 48px; font-size: 20px; }
    .service-icon { padding: 12px 4px; }
    .service-icon span { font-size: 12px; }

    /* 表格 → 卡片 */
    .data-table-wrap .data-table { display: none; }
    .table-cards { display: block; }

    .panel-illustration { height: 80px; font-size: 36px; }

    .item-thumb { width: 64px; height: 48px; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item .photo { height: 110px; }

    .slogan-section { padding: 32px 16px; }
    .slogan-section h2 { font-size: 22px; letter-spacing: 2px; }

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-qr { margin-top: 8px; }

    .back-to-top { bottom: 16px; right: 16px; }
}

/* ===== 响应式 - 小屏手机 ===== */
@media (max-width: 480px) {
    .site-title h1 { font-size: 17px; }
    .site-title p { font-size: 11px; }
    .logo { width: 100px;font-size: 10px; }

    .hero { min-height: 160px; }
    .hero-content h2 { font-size: 18px; letter-spacing: 1px; }
    .hero-content p { font-size: 12px; }

    .service-icons { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .icon-circle { width: 44px; height: 44px; font-size: 18px; }
    .service-icon span { font-size: 11px; }

    .gallery { grid-template-columns: repeat(2, 1fr); }
    .gallery-item .photo { height: 100px; }

    .news-tabs button { padding: 8px 10px; font-size: 13px; }

    .news-date { width: 44px; }
    .news-date .day { font-size: 18px; }

    .slogan-section h2 { font-size: 18px; }
}

/* ===== 触摸设备优化 ===== */
@media (hover: none) and (pointer: coarse) {
    .service-icon:hover { transform: none; box-shadow: none; }
    .service-icon:active {
        transform: scale(0.95);
        background: var(--bg-light);
    }
    .main-nav li a:hover { background: transparent; }
    .main-nav li a:active { background: rgba(255,255,255,0.15); }
}

/* ===== 安全区域适配 ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .back-to-top { bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   项目全局移动端响应式 (index.html 内联样式覆盖)
   ============================================================ */

/* ===== 平板 ≤ 1200px ===== */
@media (max-width: 1200px) {
    .containerTop { width: 100% !important; padding: 0 15px; }
    .containerBox { width: 100% !important; padding: 0 15px; }
    .footerBox { width: 100% !important; }
}

/* ===== 平板 ≤ 992px ===== */
@media (max-width: 992px) {
    .newsImagesCont,
    .newsImagesCont [style*="width: 693px"] { width: 100% !important; }
    .newsImagesCont_bg_item { width: 100% !important; height: 220px !important; }

    .serviceBox {
        gap: 30px;
        padding: 0 20px;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    .serviceItem_icon { width: 50px; height: 50px; }
    .serviceItem_label { font-size: 12px; }

    .section .newsTop { flex-wrap: wrap; height: auto; padding: 8px 0; }
    .newBtn { width: 100px; height: 34px; font-size: 15px; }
    .newsMore { position: static; margin-left: auto; }

    .repairCont .showImg { display: none; }

    /* 服务动态 - 图片隐藏 */
    section .section [style*="width: 510px"] { width: 100% !important; }
    section .section [style*="width: calc(100% - 510px)"] { width: 100% !important; }

    /* 校园风采 */
    section .section [style*="gap: 30px;display: flex"] {
        flex-wrap: wrap;
        gap: 15px !important;
    }
    section .section [style*="width: 328px"] { width: calc(50% - 10px) !important; }
    section .section [style*="height: 196px"] { height: 140px !important; }

    .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .gallery-item .photo { height: 120px; }

    .slogan-section h2 { font-size: 24px; }
}

/* ===== 手机横屏 ≤ 768px ===== */
@media (max-width: 768px) {
    /* 顶栏 */
    .top-bar { font-size: 12px; padding: 4px 0; }
    .top-bar .containerTop {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        padding: 0 10px;
    }
    .top-bar .welcome-text { display: none; }

    /* 头部 */
    .header { padding: 10px 0; }
    .header-inner {
        flex-direction: column;
        gap: 10px;
        padding: 0 10px;
    }
    .logo-area { gap: 8px; justify-content: center; }
    .logo img { max-width: 130px; height: auto; }
    .site-title img { max-width: 200px; height: auto; }
    .search-box {
        width: 100%;
        min-width: unset;
        order: 3;
    }
    .search-box select { font-size: 12px; padding: 6px 8px; }
    .search-box input { font-size: 13px; padding: 6px 10px; }
    .search-box button { padding: 6px 10px; }

    /* 导航 - Bootstrap navbar */
    .navbar { margin-bottom: 0 !important; }
    .navbar-inverse { background-color: #294C7DFF !important; }
    .navbar-toggle { margin-top: 8px; margin-bottom: 8px; }
    .navbar-nav { margin: 0 -15px; }
    .navbar-nav > li {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
    }
    .navbar-nav > li > a {
        padding: 12px 15px !important;
        font-size: 14px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .navbar-collapse { padding: 0 !important; }

    /* Banner */
    .layui-container-img .img-box .item,
    .layui-container-img .img-box .swiper-slide { height: 180px !important; }
    .layui-container-img .img-box img { height: 180px !important; object-fit: cover; }

    /* 新闻区域 */
    .newsTop { gap: 2px; }
    .newBtn { width: 80px; height: 30px; font-size: 13px; }
    .newsMore { font-size: 13px; bottom: 3px; }

    /* 新闻布局 - 左右变上下 */
    section .section [style*="display: flex;gap: 17px"] {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px 0 !important;
    }
    .newsImagesCont,
    section .section [style*="width: 693px"] { width: 100% !important;margin-bottom: 15px; }
    .newsImagesCont_bg_item { height: 180px !important;width: 100%!important; }
    .newsContWp,
    section .section [style*="width: calc(100% - 710px)"] { width: 100% !important; }
    .newsBox_h5_tp{
         display: block!important;
    }
    .newsBox_h5{
         width: 100%!important;
        margin-bottom: 30px!important;
    }
    .riliBox { width: 40px; }
    .riliBox_top { height: 16px; font-size: 10px; }
    .riliBox_num { height: 28px; font-size: 16px; }
    /* 快捷服务 */
    .serviceBox {
        gap: 15px;
        padding: 15px 10px;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
        display: flex!important;
    }
    .serviceItem { width: 140px; }
    .serviceItem_icon { width: 44px; height: 44px; }
    .serviceItem_icon img { width: 28px; height: 28px; }
    .serviceItem_label { font-size: 11px; }
    .newDataCont{
        padding: 0!important;
        padding-bottom: 50px!important;
    }
    /* 网络报修 + 服务监督 */
    section .section [style*="display: flex;gap: 25px"] {
        flex-direction: column !important;
        gap: 15px !important;
    }
    section .section [style*="width: 510px"] { width: 100% !important; }
    section .section [style*="width: calc(100% - 510px)"] { width: 100% !important; }

    .repairTable-content .top-one td { font-size: 12px; }
    .repairTable-content .conter { width: calc(100% - 80px); }

    /* 失物招领 + 跳蚤市场 */
    section[style*="grid-template-columns: 1fr 1fr"],
    .two-col { grid-template-columns: 1fr !important; gap: 20px !important; }

    .lostImg { width: 90px; height: 60px; }
    .lostType { width: 30px; height: 18px; font-size: 11px; }

    /* 通知 + 热门 */
    section[style*="grid-template-columns: 1fr 1fr;gap:25px"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        margin-bottom: 20px !important;
    }

    /* 口号 */
    .slogan-section { padding: 28px 16px; }
    .slogan-section h2 { font-size: 20px; letter-spacing: 2px; }
    .slogan-section img { max-width: 100%; height: auto; }

    /* 校园风采 */
    section .section [style*="gap: 30px;display: flex"] {
        flex-wrap: wrap;
        gap: 10px !important;
        padding: 10px 0 !important;
    }
    section .section [style*="width: 328px"] { width: calc(50% - 6px) !important; }
    section .section [style*="height: 196px"] { height: 120px !important; }

    /* 页脚 */
    .footerBox { width: 100% !important; height: auto !important; padding: 20px 0; }
    .footerBox .containerBox [style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
        text-align: center;
        height: auto !important;
    }
    .footerBox .containerBox [style*="display: flex"] > div { text-align: center; }
    .footerBox [style*="margin: 15px 0"] span {
        margin-left: 10px !important;
        display: inline-block;
    }

    /* 导航标签 */
    .navLabel { width: 100px; height: 30px; font-size: 13px; }

    /* 表格列标题 */
    section [style*="display: flex;align-items: center;color: #1F2937FF;font-weight: bold"] {
        font-size: 12px;
        gap: 4px;
    }

    .back-to-top { bottom: 16px; right: 16px; width: 42px; height: 42px; }
}

/* ===== 小屏手机 ≤ 480px ===== */
@media (max-width: 480px) {
    .top-bar { font-size: 11px; padding: 3px 0; }
     .menuList_item{
        width: auto!important;
        height: auto!important;
        text-align: center;
        padding: 0 15px!important;
        font-size: 16px!important;
     }
    .header { padding: 8px 0; }
    .logo img { max-width: 140px;margin-right: 30px; }
    .site-title img { max-width: 100px; }
    .search-box select { display: none; }
    .search-box input { font-size: 12px; padding: 6px 8px; }
    .search-box button { padding: 6px 8px; }

    .navbar-nav > li > a { font-size: 13px !important; padding: 10px 12px !important; }

    .layui-container-img .img-box .swiper-slide,
    .layui-container-img .img-box img { height: 140px !important; }

    .newsTop { justify-content: flex-start; }
    .newBtn { width: 70px; height: 28px; font-size: 12px; }
    .newsMore { font-size: 12px; }

    .newsImagesCont_bg_item { height: 140px !important;width: 100%!important; }
    .riliBox { width: 36px; }
    .riliBox_top { height: 14px; font-size: 9px; }
    .riliBox_num { height: 24px; font-size: 14px; }

    /*.serviceItem { flex: 0 0 calc(33.33% - 8px); }*/
    .serviceItem_icon { width: 40px; height: 40px; }
    .serviceItem_icon img { width: 24px; height: 24px; }
    .serviceItem_label { font-size: 10px; }

    .lostImg { width: 70px; height: 50px; }

    section .section [style*="width: 328px"] { width: calc(50% - 5px) !important; }
    section .section [style*="height: 196px"] { height: 100px !important; }

    .slogan-section h2 { font-size: 17px; letter-spacing: 1px; }
    .slogan-section p { font-size: 12px; }

    .navLabel { width: 80px; height: 26px; font-size: 12px; }

    .back-to-top { bottom: 12px; right: 12px; width: 38px; height: 38px; font-size: 16px; }
}

/* ===== 修复 website.css 中不存在的 @import（防止 404 阻塞渲染） ===== */
/* wap.css / base.css / common.css 引用路径不存在，此处补全关键样式 */

/* 移动端导航盒子 */
@media (max-width: 768px) {
    .navBox { display: block !important; }
    .navBoxPc { display: none !important; }
}

/* 移动端表格横向滚动 */
@media (max-width: 768px) {
    .repairTable-content { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .repairTable-content table { min-width: 500px; }
}

/* 移动端隐藏大图展示区图片（报修/监督右侧图） */
@media (max-width: 768px) {
    section .section [style*="width: 510px"]:has(img) img {
        max-width: 100%;
        height: auto;
    }
    .repairCont .showImg { display: none; }
}

/* 移动端新闻列表隐藏图片、只保留标题 */
@media (max-width: 768px) {
    .newsImagesCont_small { grid-template-columns: 1fr 1fr; gap: 10px; }
    .small_item_img { width: 100%; height: 100px; }
    .small_item_text { width: 100%; font-size: 12px; margin-top: 8px; }
}

/* 移动端新闻详情页 */
@media (max-width: 768px) {
    .newsDetailCont { top: -60px !important; }
    .newsDetailMainWrap { padding: 0 10px !important; }
    .sls-content { padding: 20px !important; }
    .sls-content-title { font-size: 18px !important; }
    .newsListMain { flex-direction: column !important; }
    .newsListMain_nav { display: none !important; }
    .newsListMain_h5 { display: block !important; }
    .newsListMain_nav_h5 { width: 100% !important; margin-right: 0 !important; }
    .newsListCont { width: 100% !important; padding: 0 10px !important; }
    .newsListMain_news_item { width: 100% !important;padding: 0!important; }
    .news_item_title { font-size: 14px !important; max-width: 100%; }
}

/* 移动端列表页 */
@media (max-width: 768px) {
    .headerNext { height: auto !important; }
    .headerNext_img { height: 180px !important; }
    .headerNext_img img { height: 100%; object-fit: cover; }
    .headerNext_nav { padding: 0 15px !important; height: auto !important; }
    .navTitle { width: 100% !important; padding-left: 15px !important; font-size: 20px !important; }
    .navTips { font-size: 14px !important; padding: 0 15px !important; }
    .newsCont_h5{
         display: block!important;
    }
    .block_h5{
         display: block!important;
    }
    .overFlow_h5{
        overflow: auto!important;
    }
    .hide_h5{
         display: none!important;
    }
    .cont_table_h5{
         width: 600px!important;''
    }
    .image_h5{
         width: 100%!important;
    }
    .news_list_h5{
         width: 100%!important;
    }
    .newsDetailMain{
         padding: 0!important;
    }
    .md-td{
         display: block!important;
    }
}

/* ===== 触摸设备优化 ===== */
@media (hover: none) and (pointer: coarse) {
    .service-icon:hover { transform: none; box-shadow: none; }
    .service-icon:active {
        transform: scale(0.95);
        background: var(--bg-light);
    }
    .main-nav li a:hover { background: transparent; }
    .main-nav li a:active { background: rgba(255,255,255,0.15); }
    .newBtn:hover { background: #F3F4F6; color: #4B5563FF; }
    .newBtn:active,
    .newBtn_on:active { background-color: #0E6EB8FF; color: #fff; }
    .newsList:hover { background: transparent; }
    .newsList:active { background: rgba(22,55,126,0.1); }
}

/* ===== iPhone X+ 安全区域底部适配 ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .back-to-top { bottom: calc(24px + env(safe-area-inset-bottom)); }
    .footerBox { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
    .navbar-collapse { padding-bottom: env(safe-area-inset-bottom); }
}

/* ===== 修复 website.css 中的 1920px 固定宽度 ===== */
.footerBox { width: 100% !important; max-width: 100%; }
