@charset "utf-8";
/* CSS Document */
body, h1, h2, h3, h4, h5, h6,  p, blockquote, dl, ul, ol, li, pre, form, fieldset, legend, button, input, textarea {
    margin: 0;
    padding: 0;
    border: 0;
}
html {
    color: #000;
}
html, body {
    width: 100%;
    min-width: 320px;
    background-color: #eee;
}
hr {
    border:0px;
    border-bottom:1px solid #eee;
}
button, input, select, textarea {
    margin: 0;
    padding: 0;
    font-family: "微软雅黑", "Microsoft Yahei", "Arial", "Verdana", "sans-serif";
    font-size: 12px;
    background: #fff
}

em {
    font-style: normal;
}
a {
    text-decoration: none;
    outline: none;
}
a:hover {
    text-decoration: underline;
    color: #e85300;
}
legend {
    color: #000;
}
fieldset, img {
    border: 0;
}
label, button {
    cursor: pointer;
}
/*解决IE图片缩放失真*/
img {
    -ms-interpolation-mode: bicubic;
}
/*清除浮动*/
.clearfix:after {
    content: '';
    display: block;
    height: 0;
    clear: both;
}
.clearfix {
    zoom: 1;
}
.clear {
    clear: both;
}
/*连续英文、数字换行*/
.wordwrap {
    word-break: break-all;
    word-wrap: break-word;
}
/*单行文字超出显示省略号*/
.omg {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
img {
    border: 0;
    vertical-align: middle;
}
a {
    color: #3a3a3a;
    text-decoration: underline;
}
a:hover {
    color: #0256ac;
    text-decoration: none
}
a:active {
    color: #0256ac;
}
.fl {
    float: left;
}
.fr {
    float: right;
}

/* 设置滚动条的样式 */
::-webkit-scrollbar {
    width:4px;
}/* 滚动槽 */
::-webkit-scrollbar-track {
    background-color:#fff;
    border-radius:0px;
}/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background-color:#f2f3f6;
}
::-webkit-scrollbar-thumb:window-inactive {
    background-color:#f2f3f6;
}
*, a, button, input {
    -webkit-tap-highlight-color: rgba(255,0,0,0);
}
/*苹果手机默认按钮样式去除*/
input[type="button"], input[type="submit"], input[type="reset"] {
    -webkit-appearance: none;
}
textarea {
    -webkit-appearance: none;
}
input {
    border-radius: 0;
}
.header-wrapper{
    background-color: #eee;
}
.header{
    margin:0 auto;
    max-width:1440px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo{
    height:102px;
}

.header .concat{
    font-size:30px;
    font-weight: bold;
    color: #dc0c40;
    margin-right: 20px;
}

.header .search-container{
    flex: 0.8;
    margin-left:30px;
    display: flex;
    align-items: center;
}

.header .search-container input{
    border:1px solid #0ba360;
    border-radius: 5px;
    height: 35px;
    flex:1;
    padding-left:10px;
}

.header .search-container input:focus{
    outline: none;
}

.header .search-container button{
    border:0;
    border-radius: 5px;
    background-color: #0ba360;
    color:#fff;
    height:35px;
    width:80px;
    margin-left:10px;
    font-size:18px;
}

.menu-wrapper{
    width:100%;
    height:60px;
    background-color:#a18cd1;
    border-bottom: 1px solid #eee;
}

.menu-wrapper .menu{
    margin: 0 auto;
    max-width: 1290px;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.menu-wrapper .menu .menu-item{
    text-decoration: none;
    color: #fff;
    font-size:23px;
    padding: 0 30px;
    font-weight: bold;
    line-height: 50px;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    margin-left:10px;
}

.menu-wrapper .menu .menu-item:hover, .menu-active{
    background-color: #fff;
    color:#a18cd1!important;
}

.content-container{
    margin: 0 auto;
    max-width: 1440px;
}

.content-container .content-header {
    display: flex;
    margin-top:20px;
    padding:0px 0px 7px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom:  1px solid #d0d0d0;
}

.content-container .nav-header{
    margin-top:20px;
    border-bottom:  1px solid #d0d0d0;
    padding:0px 0px 7px 0px;
}

/* 列表页/单页标题区 */
.content-container .list-header,
.content-container .page-header{
    margin-top:20px;
    padding:18px 20px;
    background:#fff;
    border-radius:10px;
    box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.content-container .list-title{
    font-size:26px;
    font-weight:bold;
    color:#333;
    margin:0;
    line-height:1.4;
}
.content-container .list-intro{
    margin:10px 0 0;
    color:#777;
    font-size:14px;
    line-height:1.8;
}
.search-empty{
    grid-column:1/-1;
    padding:60px 0;
    text-align:center;
    color:#999;
    font-size:16px;
}

.content-container .content-header div{
    display: flex!important;
    align-items: center;
}

.content-container .content-header .title{
    font-size: 25px;
    font-weight: bold;
    color: rgba(183, 33, 255, 0.81);
    text-shadow: 1px 1px 2px #fbc8d4;
    text-decoration: none;
}
.content-container .content-header .tip{
    font-size:16px;
    margin-left:20px;
    color: #918989;
}
.content-container .content-header .more{
    text-decoration: none;
    font-size:16px;
}

.content-container .content-header .more:hover{
    color: #aaa;
    text-decoration: underline;
}

/** 使用Grid布局，每行显示5个 ,间距20px**/
.content-container .content-body{
    margin-top:20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 30px;
}

.soft-container{
    display: flex;
    flex-direction: column;
    background-color: #fff;
    padding:10px 15px;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.1);
}
.soft-container .soft-img{
    height:200px;
}

.soft-container .soft-img img{
    height:100%;
    width:100%;
    cursor: pointer;
    transition: all 0.6s;
    -moz-transition: all 0.6s; /* 0.6s完成过渡效果 */
    -webkit-transition: all 0.6s;
}
.soft-container .soft-img img:hover{
    transform: scale(1.1);
}
.soft-container .soft-title{
    font-size: 14px;
    padding:15px 0px 5px 0px;
    text-align: center;
    text-decoration: none;
}

.soft-container .soft-title:hover{
    color: #e85300;
    text-decoration: underline;
}
.article-body{
    grid-template-columns: repeat(3, 1fr)!important;
    grid-gap: 20px 30px!important;
    /* background-color: #fff; */
    border-radius: 10px;
    padding:20px;
}
.article-item{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width:100%;
}
.article-title{
    font-size: 16px;
    text-decoration: none;
    flex:1;
    width:0;
}
.article-title:hover{
    color: #e85300;
    text-decoration: underline;
}
.article-date{
    font-size: 12px;
    color: #aaa;
    white-space:nowrap;
}
.flink-body{
    grid-template-columns: repeat(10, 1fr)!important;
    grid-gap: 20px 30px!important;
    margin-top:5px!important;
}

.footer-container{
    text-align: center;
    font-size:14px;
}
.footer-container .contact-container{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size:50px;
    /*background: linear-gradient(135deg, #a1c4fd, #c2e9fb);*/
    background-image: linear-gradient(to top, #0ba360 0%, #3cba92 100%);
    border-radius: 15px;
    box-shadow: 5px 5px 6px rgba(0, 0, 0, 0.1);
    margin:15px auto;
    color:#fff;
    text-shadow: 2px 2px 3px #565d64;
    padding: 20px 0px;
}
.content-container a{
    text-decoration: none;
}

.footer-container div{
    margin:10px;
}
.contact-img-container{
    display: flex;
    justify-content: center;
    width:100%;
}
.contact-img:first-child{
    margin-right:100px;
}
.contact-img{
    display: flex;
    flex-direction: column;
}
.contact-img div{
    margin:0px!important;
    text-align: center;
    flex:1;
}
.contact-img-item img{
    margin-top:20px;
    width:220px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
}
.detail-container{
    margin-top:10px;
    padding:30px;
    background-color: #fff;
    border-radius: 10px;
}
.detail-desc img{
    max-width: 100%;
}
.detail-container table{
    width:100%!important;
}
.pagination{
    padding:20px 0px;
}

.pagination a{
    text-decoration: none;
    color: #75797d;
    font-size: 16px;
    border:1px solid #fff;
    padding: 5px 10px;
    background-color: #fff;
}

.pagination a:hover,.pagination a.active{
    background-color: #0078e7;
    color:#fff;
}

.detail-header{
    display: flex;
    font-size:20px;
}
.detail-header-info{
    flex:1;
}
.detail-header .detail-img{
    width:218px;
    height:218px;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.1);
    border:1px solid #eee;
    border-radius: 5px;
    margin-right:30px;
}

.detail-header .detail-header-title h1{
    font-size:30px;
    font-weight: bold;
    margin-bottom: 20px;
}

.detail-header .detail-header-type, .detail-header .detail-header-author, .detail-header .detail-header-time{
    color: #75797d;
    margin-bottom: 15px!important;
}

.detail-btns{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width:100%;
}

/** 强制换行**/
.detail-desc{
}

.detail-desc *{
    word-break: break-all!important;
    white-space: pre-wrap!important;
    text-wrap: normal!important;
}

.detail-desc p{
}

.detail-links{
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.detail-links .prev, .detail-links .next{
    color:rgba(232, 83, 0, 0.72);
    text-decoration: underline;
}

.detail-links .prev:hover, .detail-links .next:hover{
    color:rgba(232, 83, 0, 1);
    text-decoration: none;
}
.detail-sub-header{
    display: flex;
    justify-content: center;
    align-items: center;
}
.detail-sub-header .detail-header-type, .detail-sub-header .detail-header-author, .detail-sub-header .detail-header-time{
    color: #75797d;
    margin-bottom: 0px!important;
    margin-right: 40px;
}
.btn{
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    font-size:20px;
}

.btn-primary{
    color: #fff;
    background-color: #0078e7;
    border: 1px solid #0078e7;
}


.btn-danger{
    color: #fff;
    background-color: #e85300;
    border: 1px solid #e85300;
}
.btn-danger:hover{
    color: #fff;
    background-color: rgba(232, 83, 0, 0.72);
    border: 1px solid rgba(232, 83, 0, 0.72);
}
.center{
    text-align: center;
}

.type-link{
    color: blue;
}

/* ===================== 科技风主题升级（覆盖旧样式） ===================== */
/* 统一主题变量，便于后续扩展和快速换肤 */
:root{
    --tech-bg: #eef7ff;
    --tech-bg-soft: #dff1ff;
    --tech-card: rgba(255, 255, 255, 0.9);
    --tech-card-border: rgba(73, 156, 233, 0.28);
    --tech-primary: #2d98ec;
    --tech-primary-2: #57b3ff;
    --tech-text: #1a3552;
    --tech-text-muted: #6683a3;
    --tech-success: #19b89f;
    --tech-danger: #ff6b8b;
    --tech-shadow: 0 10px 30px rgba(32, 93, 148, 0.16);
}

html, body{
    background:
            radial-gradient(circle at 20% 15%, rgba(87, 179, 255, 0.26), transparent 30%),
            radial-gradient(circle at 85% 10%, rgba(130, 206, 255, 0.22), transparent 26%),
            linear-gradient(180deg, #f4fbff 0%, #eaf5ff 45%, #e2f1ff 100%);
    color: var(--tech-text);
}

body{
    font-family: "Microsoft Yahei", "微软雅黑", "Inter", "Arial", "Verdana", sans-serif;
}

a{
    color: #2b79b8;
    text-decoration: none;
}

a:hover{
    color: #11558e;
}

.header-wrapper{
    background: linear-gradient(90deg, rgba(235, 246, 255, 0.94), rgba(225, 241, 255, 0.9));
    border-bottom: 1px solid rgba(73, 156, 233, 0.25);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 30;
}

/* 滚动后增强阴影，提供悬浮层级感 */
.header-wrapper.header-scrolled{
    box-shadow: 0 8px 24px rgba(38, 102, 161, 0.2);
}

.header{
    min-height: 88px;
    padding: 0 18px;
}

.header .logo{
    height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(62, 166, 255, 0.2));
}

.header .concat{
    color: #1d77bb;
    font-size: 24px;
    text-shadow: 0 0 10px rgba(87, 179, 255, 0.22);
}

.header .search-container input{
    background: rgba(255, 255, 255, 0.94);
    color: var(--tech-text);
    border: 1px solid rgba(73, 156, 233, 0.4);
    box-shadow: inset 0 0 0 1px rgba(87, 179, 255, 0.08);
}

.header .search-container input::placeholder{
    color: #83a1be;
}

.header .search-container input:focus{
    border-color: var(--tech-primary);
    box-shadow: 0 0 0 3px rgba(62, 166, 255, 0.18);
}

.header .search-container button{
    background: linear-gradient(135deg, var(--tech-primary) 0%, var(--tech-primary-2) 100%);
    border: 0;
    box-shadow: 0 6px 18px rgba(62, 166, 255, 0.35);
}

.header .search-container button:hover{
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.menu-wrapper{
    height: 56px;
    background: rgba(226, 242, 255, 0.96);
    border-bottom: 1px solid rgba(73, 156, 233, 0.2);
    /* 二级吸顶：保证页面下拉时导航菜单仍然可见 */
    position: sticky;
    top: 88px;
    z-index: 29;
}

/* 默认隐藏移动端导航头部，仅在小屏显示 */
.menu-mobile-head{
    display: none;
}

.menu-toggle-input{
    display: none;
}

.menu-wrapper .menu{
    max-width: 1440px;
    overflow-x: auto;
    padding: 0 10px;
}

.menu-wrapper .menu .menu-item{
    position: relative;
    color: #29577f;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    line-height: 40px;
    padding: 0 18px;
    margin-left: 8px;
}

/* 使用底部高亮线强化导航反馈 */
.menu-wrapper .menu .menu-item::after{
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 4px;
    height: 2px;
    background: linear-gradient(90deg, var(--tech-primary), #5fffd7);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.menu-wrapper .menu .menu-item:hover::after,
.menu-wrapper .menu .menu-item.menu-active::after{
    transform: scaleX(1);
}

.menu-wrapper .menu .menu-item:hover,
.menu-wrapper .menu .menu-item.menu-active,
.menu-wrapper .menu .menu-item.menu-active:hover{
    background: rgba(87, 179, 255, 0.22);
    color: #0f5184 !important;
}

.content-container{
    max-width: 1440px;
    padding: 0 14px;
    margin-bottom: 10px;
}

.content-container .content-header,
.content-container .nav-header{
    border-bottom: 1px solid rgba(92, 134, 190, 0.3);
    margin-top: 22px;
}

.content-container .content-header .title{
    color: #1f527e;
    text-shadow: none;
    letter-spacing: 0.5px;
}

.content-container .content-header .tip{
    color: var(--tech-text-muted);
}

.content-container .content-header .more{
    color: #2f88d6;
}

.content-container .content-body{
    grid-gap: 22px;
}

.soft-container{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(241, 250, 255, 0.96));
    border: 1px solid var(--tech-card-border);
    border-radius: 12px;
    box-shadow: var(--tech-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.soft-container:hover{
    transform: translateY(-6px);
    border-color: rgba(80, 180, 255, 0.42);
    box-shadow: 0 16px 34px rgba(32, 93, 148, 0.24);
}

.soft-container .soft-img{
    border-radius: 8px;
    overflow: hidden;
}

.soft-container .soft-title{
    color: #1f496d;
    font-size: 16px;
}

.soft-container .soft-title:hover{
    color: #1577be;
}

/* .article-body{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.94), rgba(241, 250, 255, 0.96));
    border: 1px solid var(--tech-card-border);
    border-radius: 12px;
    box-shadow: var(--tech-shadow);
} */

.article-title{
    color: #214f75;
}

.article-title:hover{
    color: #1678bf;
}

.article-date{
    color: var(--tech-text-muted);
}

.flink-body{
    background: transparent;
    border: 0;
    border-radius: 12px;
    padding: 18px;
}

.flink-body a{
    color: #236196;
    background: rgba(87, 179, 255, 0.14);
    border: 1px solid rgba(87, 179, 255, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    text-align: center;
}

.flink-body a:hover{
    color: #0f4f82;
    background: rgba(87, 179, 255, 0.24);
}

.detail-container{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(241, 250, 255, 0.96));
    border: 1px solid var(--tech-card-border);
    border-radius: 12px;
    box-shadow: var(--tech-shadow);
}

.detail-header .detail-header-title h1{
    color: #1d4d75;
}

.detail-header .detail-header-type,
.detail-header .detail-header-author,
.detail-header .detail-header-time,
.detail-sub-header .detail-header-type,
.detail-sub-header .detail-header-author,
.detail-sub-header .detail-header-time{
    color: var(--tech-text-muted);
}

.detail-desc{
    color: #234f76;
    line-height: 1.9;
}

.detail-desc a{
    color: #1a7cc3;
    text-decoration: underline;
}

.detail-links .prev,
.detail-links .next{
    color: #2a80c6;
}

.detail-links .prev:hover,
.detail-links .next:hover{
    color: #0f558c;
}

.btn{
    border-radius: 8px;
}

.btn-primary{
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-primary-2));
    border-color: transparent;
}

.btn-danger{
    background: linear-gradient(135deg, #ff6b8b, #ff8b5d);
    border-color: transparent;
}

.btn-danger:hover{
    filter: brightness(1.07);
}

.pagination a{
    color: #2a6aa2;
    border: 1px solid rgba(87, 179, 255, 0.3);
    background-color: rgba(87, 179, 255, 0.1);
    border-radius: 6px;
}

.pagination a:hover, .pagination a.active{
    background: linear-gradient(135deg, var(--tech-primary), var(--tech-primary-2));
    color: #fff;
    border-color: transparent;
}

.footer-container .contact-container{
    background-image: linear-gradient(145deg, rgba(87, 179, 255, 0.2), rgba(167, 220, 255, 0.32));
    border: 1px solid rgba(87, 179, 255, 0.24);
}

.footer-container, .footer-container a{
    color: #2e5c84;
}

.contact-img-item img{
    border-radius: 8px;
    border: 1px solid rgba(87, 179, 255, 0.24);
}

.type-link{
    color: #247dc3;
}

/* 响应式：在中小屏幕自动降低列数，避免内容拥挤 */
@media screen and (max-width: 1280px){
    .content-container .content-body{
        grid-template-columns: repeat(4, 1fr);
    }
    .flink-body{
        grid-template-columns: repeat(6, 1fr)!important;
    }
}

@media screen and (max-width: 992px){
    .header{
        min-height: 78px;
    }
    .header .logo{
        height: 62px;
    }
    .header .concat{
        font-size: 18px;
        margin-right: 0;
    }
    .content-container .content-body{
        grid-template-columns: repeat(3, 1fr);
    }
    .article-body{
        grid-template-columns: repeat(2, 1fr)!important;
    }
    .flink-body{
        grid-template-columns: repeat(4, 1fr)!important;
    }
    .menu-wrapper{
        top: 78px;
    }
}

@media screen and (max-width: 768px){
    .header{
        flex-wrap: wrap;
        padding: 10px 12px;
        row-gap: 8px;
    }
    .header .search-container{
        order: 3;
        flex: 1 0 100%;
        margin-left: 0;
    }
    .menu-wrapper .menu .menu-item{
        font-size: 15px;
        line-height: 36px;
        padding: 0 12px;
    }
    /* 移动端改为经典 App 底部导航栏：图标在上、文字在下、常驻可见 */
    .menu-wrapper{
        height: 68px;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        z-index: 60;
        border-top: 1px solid rgba(73, 156, 233, 0.26);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.97);
        margin: 0;
        box-sizing: border-box;
        backdrop-filter: blur(8px);
        box-shadow: 0 -6px 20px rgba(23, 82, 140, 0.14);
    }
    /* App 底部导航不需要折叠菜单头 */
    .menu-mobile-head,
    .menu-toggle-input{
        display: none !important;
    }
    .menu-mobile-head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px;
        border-bottom: 0;
    }
    .menu-mobile-title{
        font-size: 14px;
        font-weight: bold;
        color: #2f6fa5;
        letter-spacing: 0.8px;
        text-transform: uppercase;
    }
    .menu-toggle-btn{
        width: 36px;
        height: 32px;
        border-radius: 10px;
        border: 1px solid rgba(73, 156, 233, 0.28);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(230, 244, 255, 0.9));
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 0 7px;
        box-sizing: border-box;
        cursor: pointer;
    }
    .menu-toggle-btn span{
        display: block;
        width: 100%;
        height: 2px;
        background: #2a74ac;
        border-radius: 2px;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }
    .menu-wrapper .menu{
        height: 100%;
        display: flex;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0;
        transition: none;
        -webkit-overflow-scrolling: touch;
    }
    .menu-wrapper .menu::-webkit-scrollbar{
        display: none;
    }
    .menu-toggle-input:checked ~ .menu{
        max-height: none;
        padding: 0;
    }
    /* 每个导航项是独立 tab：顶部小图标 + 下方文字 */
    .menu-wrapper .menu .menu-item{
        margin-left: 0;
        min-width: 72px;
        flex: 1 0 72px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        text-align: center;
        line-height: 1.2;
        border: 0;
        border-radius: 0;
        font-size: 12px;
        font-weight: 500;
        color: #6f7f90;
        background: transparent;
        box-shadow: none;
        padding: 4px 2px 6px 2px;
        /* Tab 文案超长时直接截断，不显示省略号 */
        overflow: hidden;
        white-space: nowrap;
        text-overflow: clip;
        position: relative;
    }
    /* 使用伪元素模拟 App 图标（圆形线框风格） */
    .menu-wrapper .menu .menu-item::before{
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        border: 2px solid #9ca7b3;
        border-radius: 50%;
        box-sizing: border-box;
        transition: all 0.2s ease;
    }
    .menu-wrapper .menu .menu-item::after{
        display: none;
    }
    .menu-wrapper .menu .menu-item:hover,
    .menu-wrapper .menu .menu-item.menu-active,
    .menu-wrapper .menu .menu-item.menu-active:hover{
        color: #2d98ec !important;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }
    .menu-wrapper .menu .menu-item:hover::before,
    .menu-wrapper .menu .menu-item.menu-active::before,
    .menu-wrapper .menu .menu-item.menu-active:hover::before{
        border-color: #2d98ec;
        box-shadow: 0 0 0 4px rgba(45, 152, 236, 0.16);
    }
    .menu-toggle-input:checked + .menu-mobile-head .menu-toggle-btn span:nth-child(1){
        transform: translateY(6px) rotate(45deg);
    }
    .menu-toggle-input:checked + .menu-mobile-head .menu-toggle-btn span:nth-child(2){
        opacity: 0;
    }
    .menu-toggle-input:checked + .menu-mobile-head .menu-toggle-btn span:nth-child(3){
        transform: translateY(-6px) rotate(-45deg);
    }
    .content-container .content-body{
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 14px;
    }
    .detail-container{
        padding: 16px;
    }
    .detail-header{
        flex-direction: column;
    }
    .detail-header .detail-img{
        margin-right: 0;
        margin-bottom: 16px;
    }
    .detail-btns{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    /* 为底部 Tab 栏预留空间，避免内容被遮挡 */
    body{
        padding-bottom: 78px;
    }
}

@media screen and (max-width: 520px){
    .menu-wrapper .menu .menu-item{
        min-width: 68px;
        flex-basis: 68px;
    }
    .content-container{
        padding: 0 10px;
    }
    .content-container .content-body{
        grid-template-columns: 1fr;
    }
    .article-body{
        grid-template-columns: 1fr!important;
    }
    .flink-body{
        grid-template-columns: repeat(2, 1fr)!important;
    }
}

/* ===================== 首页增强样式 ===================== */
/* 首页统一分区面板：让每个模块边界更清晰 */
.section-panel{
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.82), rgba(240, 249, 255, 0.92));
    border: 1px solid rgba(73, 156, 233, 0.2);
    border-radius: 14px;
    padding: 14px 16px 20px 16px;
    box-shadow: 0 10px 24px rgba(32, 93, 148, 0.12);
}

/* 首页Hero：展示品牌定位与关键入口 */
.home-hero{
    margin-top: 18px;
    border-radius: 14px;
    border: 1px solid rgba(73, 156, 233, 0.25);
    background:
            radial-gradient(circle at 78% 25%, rgba(87, 179, 255, 0.28), transparent 36%),
            linear-gradient(120deg, rgba(255, 255, 255, 0.9), rgba(230, 245, 255, 0.95));
    box-shadow: 0 14px 34px rgba(32, 93, 148, 0.16);
    padding: 26px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 26px;
}

.home-hero-left{
    flex: 1;
}

.hero-badge{
    display: inline-block;
    font-size: 12px;
    letter-spacing: 1.8px;
    color: #1f6faa;
    border: 1px solid rgba(73, 156, 233, 0.3);
    background: rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    padding: 5px 12px;
    margin-bottom: 12px;
}

.hero-title{
    font-size: 34px;
    line-height: 1.25;
    color: #1c4f79;
    margin-bottom: 10px;
}

.hero-desc{
    max-width: 700px;
    color: #5f7f9f;
    font-size: 16px;
    line-height: 1.8;
}

.hero-actions{
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.home-hero-right{
    min-width: 320px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hero-metric{
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(73, 156, 233, 0.24);
    border-radius: 10px;
    padding: 14px 10px;
    text-align: center;
}

.metric-value{
    font-size: 20px;
    font-weight: bold;
    color: #21679f;
}

.metric-label{
    font-size: 12px;
    color: #6787a7;
    margin-top: 4px;
}

@media screen and (max-width: 992px){
    .home-hero{
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }
    .home-hero-right{
        width: 100%;
        min-width: auto;
    }
}

@media screen and (max-width: 768px){
    .hero-title{
        font-size: 28px;
    }
    .hero-desc{
        font-size: 14px;
    }
    .home-hero-right{
        grid-template-columns: 1fr;
    }
    .hero-actions{
        flex-wrap: wrap;
    }
    .section-panel{
        padding: 10px 12px 16px 12px;
    }
}

/* ===================== Join 深蓝风格 ===================== */
/* 为 join 联系我们模块提供独立深蓝主题，避免影响其他浅蓝分区 */
.join-dark .contact-container{
    background:
            radial-gradient(circle at 18% 20%, rgba(109, 173, 255, 0.34), transparent 34%),
            radial-gradient(circle at 82% 16%, rgba(81, 211, 255, 0.24), transparent 28%),
            linear-gradient(135deg, #1b4f93 0%, #2562ad 46%, #2f75bf 100%);
    border: 1px solid rgba(189, 224, 255, 0.36);
    box-shadow: 0 12px 24px rgba(22, 72, 131, 0.25);
    color: #f3f9ff;
    text-shadow: none;
    margin: 22px auto 8px auto;
    padding: 26px 20px;
}

.join-dark .concat-title{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 34px;
    font-weight: bold;
    color: #f7fbff;
    letter-spacing: 0.5px;
}

.join-dark .concat-title span:last-child{
    color: #d6ecff;
    font-size: 30px;
}

.join-dark .join-tip{
    margin-top: 2px;
    font-size: 16px;
    color: #def0ff;
}

.join-dark .contact-img-container{
    margin-top: 10px;
    gap: 48px;
}

.join-dark .contact-img{
    background: rgba(255, 255, 255, 0.1);
    /* border: 1px solid rgba(198, 228, 255, 0.32); */
    border-radius: 12px;
    padding: 14px 16px 16px 16px;
    min-width: 280px;
}

.join-dark .contact-img:first-child{
    margin-right: 0;
}

.join-dark .contact-img .contact-img-item:first-child{
    color: #e8f5ff;
    font-size: 20px;
    margin-bottom: 4px !important;
}

.join-dark .contact-img-item img{
    margin-top: 12px;
    width: 220px;
    border-radius: 10px;
    border: 1px solid rgba(198, 228, 255, 0.4);
    box-shadow: 0 8px 14px rgba(20, 68, 126, 0.22);
}

@media screen and (max-width: 768px){
    .join-dark .concat-title{
        font-size: 26px;
    }
    .join-dark .concat-title span:last-child{
        font-size: 22px;
    }
    .join-dark .join-tip{
        font-size: 14px;
    }
    .join-dark .contact-img-container{
        flex-direction: column;
        align-items: center;
    }
    .join-dark .contact-img{
        width: 100%;
        max-width: 340px;
        min-width: 0;
    }
}

/* ===================== 全页面移动端布局优化 ===================== */
/* 覆盖 views 目录全部模板在手机端下的通用布局问题 */
@media screen and (max-width: 992px){
    .home-soft-news-body{
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .content-container .content-header h2{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 6px 10px;
    }
    .content-container .content-header .tip{
        margin-left: 0;
    }
}

@media screen and (max-width: 768px){
    /* 顶部信息区改为单列，避免 logo/电话/搜索互相挤压 */
    .header{
        align-items: flex-start;
    }
    .header > a{
        display: inline-flex;
    }
    .header .concat{
        order: 2;
        width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }
    .header .search-container{
        order: 3;
        width: 100%;
    }
    .header .search-container input{
        height: 38px;
        font-size: 14px;
    }
    .header .search-container button{
        height: 38px;
        width: 84px;
        font-size: 15px;
        margin-left: 8px;
    }

    /* 面包屑与区块头在小屏可换行，防止标题顶出容器 */
    .content-container .content-header,
    .content-container .nav-header{
        margin-top: 14px;
        padding-bottom: 8px;
        font-size: 13px;
        line-height: 1.7;
        word-break: break-word;
    }
    .content-container .content-header{
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 6px 10px;
    }
    .content-container .content-header h2{
        width: auto;
        min-width: 0;
        /* 关键：标题区域只占剩余空间，给“更多...”预留同一行位置 */
        flex: 1 0 0;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 6px 10px;
    }
    .content-container .content-header .title{
        font-size: 20px;
        line-height: 1.4;
    }
    .content-container .content-header .tip{
        display: block;
        /* 强制 tip 下沉到第二行 */
        flex: 1 0 100%;
        width: 100%;
        margin-left: 0;
        font-size: 13px;
        line-height: 1.7;
        word-break: break-word;
    }
    .content-container .content-header .more{
        flex: 0 0 auto;
        font-size: 14px;
        align-self: flex-start;
        margin-left: auto;
        white-space: nowrap;
        line-height: 1.5;
    }

    /* 文章列表：移动端标题与日期同一行，标题超出省略 */
    .article-item{
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 8px;
        padding: 8px 0;
        border-bottom: 1px dashed rgba(87, 179, 255, 0.25);
    }
    .article-title{
        min-width: 0;
        width: auto;
        flex: 1 1 auto;
        font-size: 15px;
        line-height: 1.45;
        white-space: nowrap;
        text-overflow: ellipsis;
        display: block;
        overflow: hidden;
    }
    .article-date{
        flex: 0 0 86px;
        width: 86px;
        text-align: right;
        margin-left: 0;
        font-size: 12px;
        color: #5f8cbc;
        white-space: nowrap;
    }
    .type-link{
        flex: 0 0 auto;
        margin-right: 2px;
        font-size: 12px;
    }
    .article-body{
        padding: 12px 14px !important;
        border-radius: 10px;
    }
    .article-body .article-item:last-child{
        border-bottom: 0;
    }

    /* 详情页信息区改为竖排并收紧按钮，覆盖 soft/jiaocheng/one_page 详情模板 */
    .detail-header .detail-header-title h1{
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.4;
    }
    .detail-sub-header{
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px 14px;
    }
    .detail-sub-header .detail-header-type,
    .detail-sub-header .detail-header-author,
    .detail-sub-header .detail-header-time{
        margin-right: 0;
        font-size: 13px;
    }
    .detail-btns{
        width: 100%;
    }
    .detail-btns .social-share{
        font-size: 13px;
        line-height: 1.6;
    }
    .detail-btns .btn{
        width: 100%;
        justify-content: center;
        font-size: 16px;
        padding: 10px 14px;
    }
    .detail-links{
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    .detail-desc{
        font-size: 14px;
        line-height: 1.85;
    }
    .detail-desc table{
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    .detail-desc pre{
        overflow-x: auto;
    }

    .soft-container .soft-img{
        height: 180px;
    }

    /* 分页改为横向滑动，避免数字太多时换行错位 */
    .pagination{
        display: flex;
        align-items: center;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 14px 0 4px 0;
    }
    .pagination a{
        flex: 0 0 auto;
        padding: 7px 10px;
        font-size: 14px;
    }

    /* 处理详情页中嵌套 content-container 的移动端缩进 */
    .content-container .content-container{
        padding: 0;
        margin-bottom: 0;
    }
}

@media screen and (max-width: 520px){
    .menu-wrapper .menu{
        grid-template-columns: 1fr;
    }
    .home-soft-news-body{
        grid-template-columns: 1fr !important;
    }
    .home-hero{
        padding: 16px;
    }
    .hero-title{
        font-size: 24px;
    }
    .hero-actions .btn{
        width: 100%;
        text-align: center;
        font-size: 15px;
    }
    .soft-container .soft-img{
        height: 295px;
    }
    .detail-header .detail-header-title h1{
        font-size: 21px;
    }
    .detail-container{
        padding: 12px;
    }
    .flink-body{
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .footer-container{
        font-size: 12px;
    }
}
