* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}
ul,li {list-style:none;}
a {text-decoration:none;color:#333;}
img {max-width:100%;display:block;}


.page-banner {
    background-image:url(../img/inner-banner.png);
    background-size: 100% 100%;
    background-position: center;
    height: 300px;
}

.sub-nav-wrap {
    max-width:1200px;
    margin:0 auto;
    padding:0 15px;
    position:relative;
}
.sub-nav {
    display:flex;
    flex-direction: column;
    align-items:stretch;
    position:relative;
    top:-70px;
    margin-bottom:-20px;
    z-index:10;
    gap: 10px;
}
.sub-nav-title {
    background:linear-gradient(135deg,#4096ff,#0066cc);
    color:#fff;
    padding:24px;
    display:flex;
    align-items:center;
    justify-content: space-between;
    font-size:26px;
    font-weight:bold;
    letter-spacing:3px;
    position:relative;
    clip-path:polygon(0 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
    min-width:180px;
}
.sub-nav-tabs {
    /*flex:1;*/
    display:flex;
    flex-direction: column;
    align-items:center;
    /*flex-wrap:wrap;*/
    padding-bottom:8px;
    border:1px solid #e6e8ee;
    border-radius: 8px;
    /*margin-left:-20px;*/
    /*padding-left:28px;*/
    background:#fff;
}
.sub-nav-tabs a {
    padding:10px 22px;
    font-size:15px;
    color:#555;
    transition:all 0.3s;
    border-bottom:2px solid transparent;
    margin-bottom:-1px;
    white-space:nowrap;
}
.sub-nav-tabs a:hover {
    color:#0066cc;
}
.sub-nav-tabs a.active {
    color:#0066cc;
    border-bottom-color:#0066cc;
    font-weight:500;
}

.content-wrap {
    max-width:1200px;
    margin:0 auto;
    padding:30px 15px 60px;
    display: flex;
}
.main-content {
    /*display:grid;*/
    /*grid-template-columns:200px 1fr;*/
    /*gap:30px;*/
    /*position:relative;*/
    padding: 25px;
    width: 100%;
}
/* 标题行：左标题 + 右当前位置（PC） */
.page-head {
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:20px;
    margin-bottom:28px;
    padding-bottom:18px;
    border-bottom:2px solid #f0f0f0;
    position:relative;
}
.page-head::after {
    content:'';
    position:absolute;
    bottom:-2px;
    left:0;
    width:80px;
    height:2px;
    background:#0066cc;
}
.page-title {
    font-size:28px;
    color:#0066cc;
    font-weight:500;
}
.breadcrumb {
    font-size:13px;
    color:#999;
    white-space:nowrap;
    padding-bottom:4px;
}
.breadcrumb a {
    color:#666;
    transition:color 0.3s;
}
.breadcrumb a:hover {
    color:#0066cc;
}

/* 移动端栏目展开按钮（PC 隐藏） */
.sub-nav-toggle {
    display:none;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    margin-left:auto;
    background:transparent;
    border:none;
    border-radius:6px;
    color:#fff;
    cursor:pointer;
    transition:background 0.3s;
    flex-shrink:0;
}
.sub-nav-toggle:hover {
    background:rgba(255,255,255,0.32);
}
.sub-nav-toggle svg {
    transition:transform 0.3s;
}
.sub-nav.open .sub-nav-toggle svg {
    transform:rotate(180deg);
}

.news-list {
    display:flex;
    flex-direction:column;
    gap:20px;
}
.news-item {
    background:#fff;
    border:1px solid #eef0f3;
    border-radius:8px;
    padding:24px 28px;
    transition:all 0.3s;
}
.news-item:hover {
    box-shadow:0 6px 20px rgba(0,102,204,0.08);
    transform:translateY(-3px);
    border-color:#dde7f7;
}
.news-item h3 {
    font-size:27px;
    color:#007eff;
    margin-bottom:16px;
    line-height:1.4;
    transition:color 0.3s;
    cursor:pointer;
    /*font-weight:500;*/
    font-weight: bold;
}
.news-item h3:hover {
    color:#0052a3;
}
.news-item p {
    font-size:14px;
    color:#555;
    line-height:1.8;
    margin-bottom:14px;
    text-align:justify;
}
.news-meta {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
}
.news-date {
    font-size:12px;
    color:#999;
}

@media (max-width: 992px) {

    .sub-nav-title {font-size:22px;padding:20px 28px;min-width:150px;}

    .main-content {grid-template-columns:180px 1fr;gap:20px;}
}

@media (max-width: 768px) {

    .page-banner {height:180px;}

    /* 移动端隐藏面包屑，仅保留标题 */
    .breadcrumb {display:none;}
    .page-head {margin-bottom:22px;padding-bottom:14px;}
    .page-title {font-size:22px;}

    .sub-nav {
        flex-direction:column;
        top:0px;
        margin-bottom:0;
        gap:0;   /* 收起时标题与 tabs 之间不留缝 */
    }
    .sub-nav-title {
        clip-path:none;
        border-radius:8px;   /* 收起状态四角圆润 */
        padding:16px 24px;
        font-size:20px;
        width:100%;
    }
    .sub-nav.open .sub-nav-title {
        border-radius:8px 8px 0 0;   /* 展开后顶部两角圆润 */
    }
    .sub-nav-toggle {
        display:flex;   /* 移动端显示展开按钮 */
    }
    .sub-nav-tabs {
        margin-left:0;
        border-radius:0 0 8px 8px;
        gap:0;
        border:1px solid #eef0f3;
        border-top:none;
        flex-direction: row;
        /* 默认收起：max-height 过渡实现展开动画 */
        max-height:0;
        overflow:hidden;
        padding-top:0;
        padding-bottom:0;
        border-width:0 1px;
        transition:max-height 0.35s ease, padding 0.35s ease, border-width 0.35s ease;
    }
    .sub-nav.open .sub-nav-tabs {
        max-height:120px;
        padding:6px 8px;
        border-width:0 1px 1px;
        overflow-x: auto;
    }
    .sub-nav-tabs a {
        padding:10px 12px;
        font-size:14px;
        flex:1;
        text-align:center;
        /*min-width:calc(50% - 8px);*/
    }

    .content-wrap {padding:20px 15px 40px;flex-direction: column;margin-top: -50px;}
    .main-content {grid-template-columns:1fr;gap:20px;}

    .news-item {padding:18px 20px;}
    .news-item h3 {font-size:18px;margin-bottom:12px;}
    .news-item p {font-size:13px;line-height:1.7;}
}

@media (max-width: 480px) {

    .news-item {padding:14px 16px;}
    .news-item h3 {font-size:26px;}

    .page-title {font-size:20px;}
}

/* ========== 机构卡片网格 ========== */
.dept-grid {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:24px;
}
.dept-card {
    display:flex;
    align-items:center;
    gap:24px;
    background:#fff;
    border:1px solid #eef0f3;
    border-radius:10px;
    padding:28px 32px;
    transition:all 0.3s ease;
    position:relative;
    overflow:hidden;
    cursor:pointer;
}
/* .dept-card::before {
    content:'';
    position:absolute;
    left:0;top:0;bottom:0;
    width:4px;
    background:linear-gradient(180deg,#4096ff,#0066cc);
    opacity:0;
    transition:opacity 0.3s ease;
} */
.dept-card:hover {
    border-color:#0066cc;
    box-shadow:0 8px 24px rgba(0,102,204,0.12);
    transform:translateY(-4px);
}
.dept-card:hover::before {opacity:1;}
.dept-card:hover .dept-ico {
    color:#fff;
    transform:rotate(-6deg) scale(1.05);
}
.dept-ico {
    flex-shrink:0;
    width:72px;
    height:72px;
    padding: 13px;
    border-radius:14px;
    background:#e8f2ff;
    color:#0066cc;
    font-size:32px;
    font-weight:bold;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:all 0.3s ease;
    letter-spacing:0;
}
.dept-info {flex:1;min-width:0;}
.dept-info h3 {
    font-size:22px;
    color:#0066cc;
    font-weight:bold;
    margin-bottom:8px;
    line-height:1.3;
    transition:color 0.3s;
}
.dept-card:hover .dept-info h3 {color:#0052a3;}
.dept-info p {
    font-size:14px;
    color:#666;
    line-height:1.7;
}
.dept-card::after {
    content:'›';
    position:absolute;
    right:24px;
    top:50%;
    transform:translateY(-50%);
    font-size:28px;
    color:#0066cc;
    opacity:0;
    transition:all 0.3s ease;
}
.dept-card:hover::after {
    opacity:1;
    right:20px;
}

/* 平板：保持 2 列但卡片紧凑 */
@media (max-width: 992px) {
    .dept-grid {gap:18px;}
    .dept-card {padding:22px 24px;gap:18px;}
    .dept-ico {width:60px;height:60px;font-size:26px;border-radius:12px;}
    .dept-info h3 {font-size:19px;}
    .dept-info p {font-size:13px;}
}

/* 手机：单列堆叠 */
@media (max-width: 768px) {
    .dept-grid {grid-template-columns:1fr;gap:14px;}
    .dept-card {padding:20px;gap:16px;border-radius:8px;}
    .dept-ico {width:54px;height:54px;font-size:22px;border-radius:10px;}
    .dept-info h3 {font-size:17px;margin-bottom:4px;}
    .dept-info p {font-size:12.5px;line-height:1.6;}
    .dept-card::after {font-size:22px;right:16px;}
}

@media (max-width: 480px) {
    .dept-card {padding:16px;gap:12px;}
    .dept-ico {width:46px;height:46px;font-size:20px;border-radius:10px;}
    .dept-info h3 {font-size:16px;}
}