/* ========================================================================
   汕头大学文学院 — 公共样式（首页 + 内页通用）
   重构于 2026-07-09，合并更新于 2026-07-13

   本文件分三大块：
     [A] 首页专用（.header-section、轮播图、学院新闻、学院通知、跑马灯…）
     [B] 内页专用（.wrapper-head 渐变头部、.head-son-bg 校门图、.news-list…）
     [C] 公共（全局重置、容器、响应式断点、面包屑、分页、友情链接…）

   注意：
     - 首页 (01_home.html)  和  内页 (02~16_*.html)  的头部 class 不同
     - 首页：.header-section + .header-nav （深蓝字导航）
     - 内页：.wrapper-head + .wrapper-head-top-title （白字导航）
   ======================================================================== */

/* ===== 全局重置 ===== */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
a { text-decoration: none; color: inherit; }
ul, li { list-style: none; }

.clearfix::after { content: ""; display: block; clear: both; }

/* ===== 公共容器 ===== */
.wrapper{background: linear-gradient(#003466, #efefef) no-repeat top center / 100% 250px;;}
.container {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    
}

/* ========================================================================
   [A] 首页专用样式（仅首页 01_home.html 使用）
   ======================================================================== */

/* ========================================================================
   头部：Logo + 顶部链接 + 主导航 + 跑马灯
   ======================================================================== */
.header-section {
    width: 100%;
    position: relative;
    z-index: 9999;
}
.header-section-index {
    width: 100%;
    background: #f8f8f8;
    position: relative;
    z-index: 9999;
}
/* 顶部 Logo + 快捷链接 */
.header-top {
    width: 100%;
    height: 140px;
   padding-top:20px;
}
.header-top-inner {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    height: 140px;
    text-align: center;
}
.header-logo {
    display: inline-block;
    height: 100px;
    line-height: 100px;
    margin: 15px 0 0 0;
    text-align: center;
}
.header-logo img {
    max-height: 100px;
    height: 100px;
    width: auto;
    display: inline-block;
    margin: 0 auto;
}
.header-top-right {
    position: absolute;
    top: 50px;
    right: 30px;
    width: 240px;
    text-align: right;
}
.header-quick {

    margin-bottom: 8px;
    overflow: hidden;
}
.header-quick li {
    float: right;
    width: 33.333%;
    height: 28px;
    line-height: 28px;
    text-align: right;
    border-radius: 5px;
    transition: background-color 0.3s;
    color: #003466;
}
.header-quick a:hover { background-color: #fff; color:#003466; }
.header-quick li:hover a { color: #fffff; padding: 5px 10px; border-radius: 5px; }
.header-quick li a {
padding: 5px 10px;
    color: #fff;
    font-size: 13px;
}
.header-lang {
    font-size: 13px;
    color: #003466;
    text-align: right;
    margin-top: 4px;
    margin-right:10px;
}
.header-lang a { color: #003466; text-shadow: 1px 1px 1px #fff; }
.header-lang span { margin: 0 4px; color: #003466; }

/* 主导航：白底深蓝字 + 下划线 hover（原站效果） */
.header-nav {
    width: 100%;
    height: 60px;
	margin-bottom:40px;
}
.header-nav-list {
    width: 1200px;
    max-width: 100%;
    height: 60px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.header-nav-item {
    position: relative;
    flex: 1;
    text-align: center;
}
.header-nav-item > a {
    display: block;
    height: 60px;
    line-height: 60px;
    font-size: 16px;
    color: #fff;
    position: relative;
    isolation: isolate;          /* 关键！创建层叠上下文 */
}

/* 底部蓝条用 ::after 实现 */
.header-nav-item > a::after {
    content: "";
    position: absolute;
    bottom: 13px;
    left: 50%;
    transform: translateX(-50%);
    height: 31px;
    background: #003466;
    border-radius: 5px;           /* 圆角生效！ */
    transition: width 0.25s ease;
    z-index: -1;                 /* 退到文字下方 */
}

.header-nav-item:hover > a::after,
.header-nav-item.active > a::after {
    width: 80%;                  /* hover 展开到80% */
}

.header-nav-item:hover > a,
.header-nav-item.active > a {
    color: #fff;                 /* 文字 hover 变白（可选）*/
}
.header-nav-item:hover .header-nav-sub { display: block; }
.header-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(0, 52, 102, 0.92);
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}
.header-nav-sub li {
    line-height: 32px;
    white-space: nowrap;
    list-style: none;
    text-align: left;
    position: relative;
    padding-left: 16px;
}
.header-nav-sub li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4bd5ff;
}
.header-nav-sub li a {
    color: #ffffff;
    font-size: 14px;
    text-align: left;
}
.header-nav-sub li a:hover { font-weight: bold; color: #4bd5ff; }

/* 跑马灯通知 */
.notice {
    width: 100%;
    height: 36px;
    background: rgba(0, 52, 102, 0.75);
    overflow: hidden;
    color: #ffffff;
    display: flex;
    align-items: center;
}
.notice-banner {
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}
.notice-content {
    display: flex;
    white-space: nowrap;
    will-change: transform;
}
.notice-content .item {
    flex: none;
    min-width: 600px;             /* 每条最小宽度 600px（原 400）*/
    padding-right: 200px;         /* 项间大间距 200px */
    height: 36px;
    line-height: 36px;
    font-size: 15px;
    text-align: center;
    color: #ffffff;
    letter-spacing: 1px;
}
.notice-content .item b { font-weight: bold; }
.notice-content .item font[color] { color: #FF9900; }

/* ========================================================================
   轮播图：独立区域
   ======================================================================== */
.banner-section {
    width: 100%;
    background: #000000;
    overflow: hidden;
}
.layui-carousel {
    width: 100%;
    height: 600px;
    z-index: 5;
}
/* 轮播图里图片：覆盖内联 height:600px，让图片填满容器 */
.layui-carousel [carousel-item] img {
    height: 100% !important;
    width: 100%;
    object-fit: cover;
}
.layui-carousel-ind {
    top: -50px;
}
.layui-carousel-ind ul {
    width: auto;
    border-radius: 0;
}
.layui-carousel-ind ul li {
    width: 30px;
    height: 2px;
    border-radius: 0;
}

/* Banner 中央文字叠加 */
.banner-text-wrap {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 999;
    pointer-events: none;
}
.banner-text {
    width: 1200px;
    max-width: 90%;
    margin: 0 auto;
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.55);
}
.banner-word {
    max-width: 60%;
    margin: 0 auto;
    height: auto;
}

/* ========================================================================
   搜索条
   ======================================================================== */
.wrapper-news-main-search {
    position: relative;
    z-index: 6;
    width: 100%;
    margin-top: -29px;
    background: #ffffff;
    display: flex;
    align-items: center;
}
.wrapper-news-main-search-text {
    flex: 1;
    border: none;
    color: #cccccc;
    font-size: 26px;
    padding: 0 6%;
    background: transparent;
    outline: none;
    height: 58px;
    line-height: 58px;
}
.wrapper-news-main-search-text::placeholder {
    color: #cccccc;
}
.wrapper-news-main-search-submit {
    width: 80px;
    height: 58px;
    background: #a4b8d4;
    border: none;
    border-left: 1px solid #e8e8e8;
color:#fff;
    cursor: pointer;
}
.wrapper-news-main-search-submit img {
    display: inline-block;
    vertical-align: middle;
}

/* ========================================================================
   学院新闻
   ======================================================================== */
.wrapper-news {
    width: 100%;
    background: #efefef;
    padding-bottom: 50px;
}
.wrapper-news-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
}

/* 标题 */
.wrapper-news-main-title {
    margin-top: 48px;
    color: #003466;
}
.wrapper-news-main-title-bottom {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.wrapper-news-main-title-bottom-left {
    font-size: 32px;
    font-weight: bold;
}
.wrapper-news-main-title-bottom-right { font-size: 20px; }
.wrapper-news-main-title-bottom-right a { color: #003466; }

/* 4 卡片（数据循环：每个 .picwrap-item 是 1 条新闻，可循环 N 次） */
.wrapper-news-main-picwrap {
    margin: 30px 0 0;
    list-style: none;
    padding: 0;
    height: 588.8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(50, 1fr);    /* 50 等分行，用 row-span 控制高度 */
    column-gap: 4%;
    row-gap: 0;
}
.wrapper-news-main-picwrap-item {
    display: block;
    position: relative;
    overflow: hidden;
}
.wrapper-news-main-picwrap-item > a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/* 左列：第 1 张小（40%=20 行），第 2 张大（56%=28 行），中间留 2 行 gap */
/* 用 :nth-of-type 而不是 :nth-child，因为博达会注入 <script> 到 <ul> 中 */
.wrapper-news-main-picwrap-item:nth-of-type(1) { grid-column: 1; grid-row: 1 / 21; }
.wrapper-news-main-picwrap-item:nth-of-type(2) { grid-column: 1; grid-row: 23 / 51; }
/* 右列翻转：第 3 张大（56%=28 行），第 4 张小（40%=20 行） */
.wrapper-news-main-picwrap-item:nth-of-type(3) { grid-column: 2; grid-row: 1 / 29; }
.wrapper-news-main-picwrap-item:nth-of-type(4) { grid-column: 2; grid-row: 31 / 51; }

.news-card {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cccccc;
    color: #ffffff;          /* 兜底白色 */
    overflow: hidden;
    /* 柔和过渡：让所有变化都慢下来 */
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background-color 0.6s ease,
        filter 0.5s ease,
        box-shadow 0.5s ease;
    will-change: transform;
}
/* 4 个色块（参考原站，亮度高，无背景图） */
.news-card-color-blue   { background: #a4b8d4; }
.news-card-color-green  { background: #b1c97a; }
.news-card-color-gray   { background: #b8b8b8; }
.news-card-color-orange { background: #dfa78a; }

/* 兼容旧 class 名（无 flex，避免覆盖 <a> 的 flex） */
.news-card-top,
.news-card-bottom { min-height: 0; }
.news-card-mask {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: transparent;
    display: block !important;   /* 覆盖 display:none，让子元素可见 */
}
.news-card-border {
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px;
    border: 2px solid #ffffff;
    padding: 30px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
}
.news-card-body {
    display: flex;
    align-items: center;
    flex: 1;
    min-height: 0;
    gap: 24px;
}
.news-card-title {
    font-size: 1.6em;
    letter-spacing: 2px;
    text-indent: 2em;
    line-height: 35px;
    color: #ffffff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    min-height: 0;
    flex: 1;
    min-width: 0;
}
.news-card-img {
    flex: 0 0 120px;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 8px;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 0 0 auto;
    margin-top: 16px;
}
.news-card-more {
    display: inline-block;
    padding: 5px 25px;
    border-radius: 10px;
    background: #4bd5ff;
    font-size: 1em;
    letter-spacing: 2px;
    color: #ffffff !important;  /* 强制白色 */
    transition: background 0.3s, transform 0.3s;
}
.news-card-time {
    font-size: 1.5em;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;          /* 强制白色 */
}

/* ====== Hover 效果（柔和版） ====== */
/* 1. 色块轻微放大 + 阴影浮起（颜色变化交给各自的 color-* 规则平滑过渡） */
.wrapper-news-main-picwrap-item > a:hover .news-card {
    transform: scale(1.03);                                  /* 1.05 → 1.03 更克制 */
    box-shadow: 0 12px 28px rgba(0, 52, 102, 0.18);         /* 投影更明显 */
}
/* 2. 蓝色卡 hover 时变深蓝（更柔和的色差） */
.wrapper-news-main-picwrap-item:nth-of-type(1):hover .news-card-color-blue,
.wrapper-news-main-picwrap-item:nth-of-type(4):hover .news-card-color-blue {
    background: #8aa2c2;
}
/* 3. 绿色卡 hover 时变深绿 */
.wrapper-news-main-picwrap-item:nth-of-type(2):hover .news-card-color-green,
.wrapper-news-main-picwrap-item:nth-of-type(3):hover .news-card-color-green {
    background: #9bb963;
}
/* 4. 灰色卡 hover 时变深灰 */
.wrapper-news-main-picwrap-item:nth-of-type(3):hover .news-card-color-gray,
.wrapper-news-main-picwrap-item:nth-of-type(2):hover .news-card-color-gray {
    background: #9d9d9d;
}
/* 5. 橙色卡 hover 时变深橙 */
.wrapper-news-main-picwrap-item:nth-of-type(4):hover .news-card-color-orange,
.wrapper-news-main-picwrap-item:nth-of-type(1):hover .news-card-color-orange {
    background: #cf8a6c;
}
/* 6. 了解更多按钮：缓慢的颜色翻转 + 微微右移 */
.news-card-more {
    transition: background-color 0.5s ease, color 0.5s ease, transform 0.4s ease, padding 0.4s ease;
}
.wrapper-news-main-picwrap-item > a:hover .news-card-more {
    background: #ffffff;
    color: #003466 !important;
    transform: translateX(2px);
}
.news-card-more img {
    transition: filter 0.5s ease, transform 0.4s ease;
}
.wrapper-news-main-picwrap-item > a:hover .news-card-more img {
    filter: invert(14%) sepia(85%) saturate(2976%) hue-rotate(202deg) brightness(95%) contrast(101%);
    transform: translateX(2px);
}

/* ========================================================================
   学院通知
   ======================================================================== */
.wrapper-notice {
    width: 100%;
    background: #003466;
}
.wrapper-notice-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 0;
}
.wrapper-notice-main-title { color: #ffffff; }
.wrapper-notice-main-title-bottom {
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.wrapper-notice-main-title-bottom-left {
    font-size: 32px;
    font-weight: bold;
}
.wrapper-notice-main-title-bottom-right { font-size: 20px; }
.wrapper-notice-main-title-bottom-right a { color: #ffffff; }
.wrapper-notice-main-ul {
    list-style: none;
    margin: 25px 0 0;
    padding: 0;
    display: flex;
    gap: 1.5%;
}
.wrapper-notice-main-ul-li {
    flex: 1;
    background: #ffffff;          /* 纯白卡片 */
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}
.wrapper-notice-main-ul-li:hover {
    border-color: #003466;        /* hover 边框变深蓝 */
    transform: translateY(-4px);  /* 上浮 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.wrapper-notice-main-ul-li-a {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 240px;
    color: #333;
    text-decoration: none;
}
/* 标题：占主体 */
.wrapper-notice-main-ul-li-title {
    flex: 0 0 auto;
    padding: 24px 18px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #003466;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: color 0.3s ease;
}
.wrapper-notice-main-ul-li-pic{ height:200px; overflow:hidden;}
.wrapper-notice-main-ul-li-pic img{width:100%;}
.wrapper-notice-main-ul-li:hover .wrapper-notice-main-ul-li-title { color: #000000; }
/* 摘要 */
.wrapper-notice-main-ul-li-summary {
    padding: 0 18px 12px;
    font-size: 13px;
    color: #888;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    flex: 1;
}
/* 底部时间 */
.wrapper-notice-main-ul-li-time {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 18px;
    border-top: 1px solid #f0f0f0;
    color: #999;
    font-size: 13px;
    margin-top: auto;
}
.wrapper-notice-main-ul-li-time-icon {
    margin-right: 6px;
    font-size: 14px;          /* layui icon 字体大小 */
    color: #003466;           /* 深蓝色 */
}

/* ========================================================================
   友情链接 + 联系
   ======================================================================== */
.wrapper-contact {
    width: 100%;
    background: #ffffff;
}
.friend-links {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding-top: 60px;
}
.friend-links-title {
    font-size: 32px;
    font-weight: bold;
    color: #003466;
    margin-bottom: 10px;
}
.friend-links a {
    display: inline-block;
    font-size: 18px;
    padding: 10px 20px 10px 0;
    color: #003466;
}
.wrapper-contact-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 40px 0 60px;
    display: flex;
    align-items: center;
    gap: 5%;
}
.wrapper-contact-main-left { width: 40%; }
.wrapper-contact-main-right { width: 55%; position: relative; }
.wrapper-contact-main-left-message {
    display: flex;
    align-items: center;
    padding: 8px 0;
}
.wrapper-contact-main-left-message-icon {
    font-size: 22px;        /* layui icon 字体大小 */
    color: #003466;         /* 深蓝色（与品牌色一致）*/
    margin-right: 12px;
    width: 22px;            /* 固定宽度对齐 */
    height: 22px;           /* SVG 也固定高度 */
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;  /* SVG 行内对齐 */
    vertical-align: middle;
}
.wrapper-contact-main-left-message:hover .wrapper-contact-main-left-message-icon {
    color: #0288D1;         /* hover 时变亮蓝 */
    transform: scale(1.15); /* 微微放大 */
}
.wrapper-contact-main-left-message-content {
    color: #888888;
    font-size: 18px;
    letter-spacing: 2px;
}
.wrapper-contact-main-right-ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 8%;
    width: 70%;
    float: left;
}
.wrapper-contact-main-right-ul-li {
    line-height: 45px;
    font-size: 18px;
    letter-spacing: 2px;
}
.wrapper-contact-main-right-ul-li-a { color: #003466; }
.wrapper-contact-main-right .qrcode {
    width: 25%;
    float: right;
    margin-top: 10px;
}

/* ========================================================================
   底部
   ======================================================================== */
.wrapper-foot {
    width: 100%;
    background: #003466;
}
.wrapper-foot-content {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 50px 0;
    color: #888888;
    text-align: left;
    font-size: 14px;
}
.copy-year { font-size: 0.9em; }

/* ========================================================================
   响应式：平板 (≤ 992px)
   ======================================================================== */
@media screen and (max-width: 992px) {
    .container,
    .header-top-inner,
    .header-nav-list,
    .wrapper-news-main,
    .wrapper-notice-main,
    .wrapper-contact-main,
    .wrapper-foot-content,
    .friend-links {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .header-top-right {
        position: static;
        transform: none;
        text-align: center;
        margin-top: 10px;
    }
    .header-quick { justify-content: center; }
    .header-top { height: auto; padding: 15px 0; }
    .header-top-inner { height: auto; }
    .header-logo { height: 60px; line-height: 60px; margin: 0; }
    .header-logo img { height: 60px; max-height: 60px; }
    .header-top-right { position: static; transform: none; width: auto; text-align: center; margin-top: 10px; }
    .header-quick { justify-content: center; flex-wrap: wrap; }
    .header-nav-list { flex-wrap: wrap; height: auto; }
    .header-nav-item { flex: 0 0 25%; }
    .header-nav-item > a { height: 50px; line-height: 50px; font-size: 14px; }

    .layui-carousel { height: 300px !important; }
    .layui-carousel-arrow { display: none !important; }
    .banner-text { padding: 30px 0; }
    .banner-text-wrap { top: 30px; }
    .banner-word { max-width: 70%; }

    .wrapper-news-main-picwrap {
        height: auto;
        flex-direction: column;
        gap: 20px;
    }
    .wrapper-news-main-picwrap {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 260px);
        height: auto;
    }
    .wrapper-news-main-picwrap-item:nth-child(1),
    .wrapper-news-main-picwrap-item:nth-child(2),
    .wrapper-news-main-picwrap-item:nth-child(3),
    .wrapper-news-main-picwrap-item:nth-child(4) {
        grid-row: auto; grid-column: auto;
    }
    .wrapper-news-main-picwrap-item:nth-child(1) { grid-column: 1; grid-row: 1; }
    .wrapper-news-main-picwrap-item:nth-child(2) { grid-column: 1; grid-row: 2; }
    .wrapper-news-main-picwrap-item:nth-child(3) { grid-column: 2; grid-row: 1; }
    .wrapper-news-main-picwrap-item:nth-child(4) { grid-column: 2; grid-row: 2; }

    .wrapper-notice-main-ul {
        flex-wrap: wrap;
        gap: 15px 1.2%;
    }
    .wrapper-notice-main-ul-li { flex: 0 0 48%; }
    .wrapper-notice-main-ul-li-a { min-height: 240px; }
    .wrapper-notice-main-ul-li-title { font-size: 15px; padding: 18px 14px 10px; }
    .wrapper-notice-main-ul-li-summary { padding: 0 14px 10px; font-size: 12px; }

    .friend-links-title { font-size: 26px; }
    .friend-links a { font-size: 16px; padding: 6px 12px 6px 0; }

    .wrapper-contact-main { flex-direction: column; gap: 20px; }
    .wrapper-contact-main-left, .wrapper-contact-main-right { width: 100%; }
    .wrapper-contact-main-right .qrcode { width: 30%; }

    .wrapper-foot-content { padding: 30px 15px; text-align: center; }
}

/* ========================================================================
   响应式：手机 (≤ 768px)
   ======================================================================== */
@media screen and (max-width: 768px) {
    /* Logo 缩小 + 居左 */
    .header-top { height: 70px; }
    .header-top-inner { height: 70px; text-align: left; }
    .header-logo { height: 50px; line-height: 50px; }
    .header-logo img { max-height: 50px; height: 50px; }
    .header-logo a { display: inline-block; height: 50px; line-height: 50px; }
    .header-top-right { display: none; }

    /* 手机端隐藏桌面导航的下划线 hover 效果 */
    .header-nav-item > a::after { display: none; }

    /* ===== 汉堡按钮 + 抽屉菜单模式 ===== */
    .mobile-menu-btn { display: block !important; }
    .header-nav { display: none; }

    /* 汉堡按钮三条线动画 → X */
    .mobile-menu-btn span { transition: all 0.3s ease; }
    .mobile-menu-open .mobile-menu-btn span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .mobile-menu-open .mobile-menu-btn span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-open .mobile-menu-btn span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu-open .header-nav {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        z-index: 99998;
        background: transparent;
        animation: slideInRight 0.3s ease;
    }
    @keyframes slideInRight {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }
    .mobile-menu-open .header-nav-list {
        display: flex !important;
        flex-direction: column;
        width: 100%;
        height: 100%;
        background: #003466;
        padding: 70px 0 20px;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -2px 0 10px rgba(0,0,0,0.2);
    }
    .mobile-menu-open .header-nav-item {
        flex: 0 0 auto;        /* 不伸缩 */
        width: 100%;           /* 强制宽度 100% */
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-sizing: border-box;
    }
    .mobile-menu-open .header-nav-item > a {
        color: #ffffff;
        padding: 0 20px;
        height: 50px;
        line-height: 50px;
        font-size: 15px;
    }
    .mobile-menu-open .header-nav-item:hover > a {
        background: rgba(255,255,255,0.1);
    }
    /* 手机端禁用 hover 触发子菜单，改用 .active class 控制 */
    .mobile-menu-open .header-nav-item:hover .header-nav-sub { display: none; }
    .mobile-menu-open .header-nav-item.active > .header-nav-sub { display: block; }
    .mobile-menu-open .header-nav-sub {
        position: static;
        transform: none;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        min-width: 0;
        width: 100%;
        text-align: left;
        max-width: 100%;
    }
    .mobile-menu-open .header-nav-sub li {
        padding: 0;
        border-bottom: none;
        width: 100%;
    }
    .mobile-menu-open .header-nav-sub li a {
        color: rgba(255,255,255,0.75);
        padding: 0 20px 0 30px;
        font-size: 13px;
        height: 40px;
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* 抽屉打开时显示遮罩 */
    .mobile-mask {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 99997;
        display: none;
        animation: fadeIn 0.3s ease;
    }
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    .mobile-menu-open .mobile-mask { display: block; }

    /* 抽屉打开时按钮变成白底蓝 X（更明显） */
    .mobile-menu-open .mobile-menu-btn {
        background: #ffffff;
    }
    .mobile-menu-open .mobile-menu-btn span {
        background: #003466;
    }

    .layui-carousel { height: 200px !important; }
    .layui-carousel-arrow { display: flex !important; }
    .layui-carousel-arrow em,
    .layui-carousel-arrow em.layui-icon {
        font-size: 30px !important;
        width: 30px !important;
        height: 30px !important;
        line-height: 30px !important;
    }
    .layui-carousel-ind { top: -28px; }
    .layui-carousel-ind ul li { width: 18px; height: 2px; }
    .banner-text-wrap { top: 10px; }
    .banner-text { padding: 10px 0; }
    .banner-text > div { display: none; }
    .banner-word { max-width: 70%; }

    .wrapper-news-main-search {
        margin-top: 0;
        height: 50px;
    }
    .wrapper-news-main-search-text {
        font-size: 18px;
        line-height: 50px;
    }
    .wrapper-news-main-search-submit { width: 60px; height: 50px; }

    .wrapper-news-main-title { margin-top: 70px; }
    .wrapper-news-main-title-bottom-left { font-size: 24px; }
    .wrapper-news-main-title-bottom-right { font-size: 16px; }

    .wrapper-news-main-picwrap {
        grid-template-columns: 1fr;          /* 单列 */
        grid-template-rows: repeat(4, 200px);
        height: auto;
        gap: 20px;
    }
    .wrapper-news-main-picwrap-item:nth-child(1),
    .wrapper-news-main-picwrap-item:nth-child(2),
    .wrapper-news-main-picwrap-item:nth-child(3),
    .wrapper-news-main-picwrap-item:nth-child(4) {
        grid-row: auto; grid-column: 1;
    }
    .news-card-title { font-size: 1.1em; line-height: 1.6; }
    .news-card-border { padding: 20px; }
    .news-card-body { gap: 14px; }
    .news-card-img { flex-basis: 120px; max-height: none; }
    .news-card-more { padding: 4px 15px; font-size: 0.85em; }
    .news-card-time { font-size: 1em; }

    .wrapper-notice-main { padding: 30px 15px; }
    .wrapper-notice-main-title-bottom-left { font-size: 24px; }
    .wrapper-notice-main-ul { gap: 15px; }
    .wrapper-notice-main-ul-li { flex: 0 0 100%; }
    .wrapper-notice-main-ul-li-a { min-height: 200px; }
    .wrapper-notice-main-ul-li-title { font-size: 16px; padding: 20px 16px 10px; }

    .friend-links { padding-top: 40px; }
    .friend-links-title { font-size: 22px; }
    .friend-links a { font-size: 14px; padding: 4px 8px 4px 0; }

    .wrapper-contact-main { padding: 20px 15px 40px; }
    .wrapper-contact-main-left-message-content { font-size: 14px; }
.wrapper-contact-main-left-message img{ width:90%; margin:0 auto;}
}

/* ========================================================================
   480px 及以下（小屏手机）
   ======================================================================== */
@media screen and (max-width: 480px) {
    .header-top { height: 80px; }
    .header-top-inner { height: 60px; }
    .header-logo { height: 42px; line-height: 42px; }
    .header-logo img { max-height: 42px; height: 42px; }
    .mobile-menu-btn { top: 12px; right: 10px; width: 32px; height: 32px; }
    .mobile-menu-btn span { width: 18px; margin: 3px auto; }
    .layui-carousel { height: 160px !important; }
}

/* ========================================================================
   [C] 公共样式（首页 + 内页通用：列表/详情特有样式）
   ======================================================================== */

/* ========================================================================
   列表页 / 详情页特有样式（合并自 index_son.css）
   ======================================================================== */

/* ----- 面包屑 ----- */
.breadcrumb {
    width: 1200px;
    max-width: 100%;
    margin: 20px auto 0;
    color: #888888;
    font-size: 14px;
    padding: 0 15px;
}
.breadcrumb a { color: #888888; }
.breadcrumb a:hover { color: #003466; }
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb .current { color: #003466; }

/* ----- 列表页主区 ----- */
.wrapper-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    display: flex;
    gap: 4%;
    align-items: flex-start;
}
.wrapper-main-wrap-left {
    flex: 1;
    min-width: 0;
}
.wrapper-main-wrap-right {
    width: 280px;
    flex-shrink: 0;
}

.list-main {
    background: #ffffff;
    padding: 20px;
    border: 1px solid #e8e8e8;
}

/* ----- 列表标题 ----- */
.list-title-bar {
    width: 100%;
    text-align: center;
    border-bottom: 1px dotted #003466;
    margin-bottom: 20px;
}
.list-title-bar-inner {
    display: inline-block;
    padding: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #003466;
}

/* ----- 列表项 ----- */
.list-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.list-item {
    width: calc(50% - 10px);
    padding: 0;
}
.list-item > a {
    display: flex;
    gap: 15px;
    color: #333;
    align-items: stretch;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    padding: 15px;
    transition: box-shadow 0.3s, transform 0.3s;
}
.list-item > a:hover {

}
.list-item-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 160px;
    background: url('images/nopic.jpg') center/cover #f0f0f0;
    border: 1px solid #e8e8e8;
}
.list-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.list-item-title {
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.4;
    color: #333;
    height: 62px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.list-item-content {
    flex: 1;
    margin-top: 8px;
    font-size: 0.9em;
    line-height: 1.7;
    color: #888;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.list-item-time {
    text-align: right;
    color: #999;
    font-size: 0.85em;
    margin-top: 8px;
}

/* ----- 分页 ----- */
.quotes {
    margin: 30px 0;
    text-align: center;
    width: 100%;
    color: #333;
    clear: both;
}

/* ----- 右侧栏：搜索 ----- */
.right-search {
    background: #ffffff;
    border: 1px solid #c0c0c0;
    padding: 5px;
    margin-top: 22px;
    display: flex;
}
.right-search input {
    flex: 1;
    border: none;
    padding: 10px 8px;
    font-size: 1em;
    outline: none;
background:#a4b8d4;
color:#fff;
}
.right-search .right-search-txt{background:#fff;color:#333;}
.right-search button {
    border: none;
    background: #003466;
    color: #ffffff;
    padding: 0 14px;
    cursor: pointer;
}

/* ----- 右侧栏：标题块 ----- */
.right-block {
    margin-top: 20px;
    background: #ffffff;
    border-top: 1px solid #a4a4a4;
    border-bottom: 1px solid #a4a4a4;
    padding: 30px 0;
    list-style: none;
}
.right-block li {
    line-height: 30px;
    list-style: disc inside;
    padding: 0 10px;
}
.right-block li a {
    color: #333;
    text-decoration: none;
}
.right-block li a:hover { color: #003466; font-weight: bold; }

/* ----- 右侧栏：相关阅读 ----- */
.right-news {
    margin-top: 20px;
    background: #ffffff;
    border-top: 1px solid #a4a4a4;
    border-bottom: 1px solid #a4a4a4;
    padding: 20px 0;
}
.right-news-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding: 0 10px;
}
/* ---- 相关阅读：左图右文卡片 ---- */
.right-news-item {
    padding: 12px 10px;
    border-bottom: 1px dashed #eeeeee;
    transition: background 0.2s;
}
.right-news-item:last-child {
    border-bottom: none;
}
.right-news-item:hover {
    background: #f8f9fa;
}

/* 链接容器 —— 替代内联 style */
.right-news-item a {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* 左侧图片 */
.right-news-item-img {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: #e8e8e8;
    border: 1px solid #ddd;
}
.right-news-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 右侧内容区 */
.right-news-item-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* 标题 */
.right-news-item-title {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-weight: 500;
}
.right-news-item a:hover .right-news-item-title {
    color: #003466;
}

/* 描述（新增） */
.right-news-item-desc {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

/* 时间 */
.right-news-item-time {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
}

/* ----- 详情页 ----- */
.detail-main {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
}
.detail-title {
    text-align: center;
    color: #003466;
    font-size: 28px;
    font-weight: bold;
    margin: 20px 0 10px;
}
.detail-meta {
    text-align: center;
    color: #999;
    font-size: 14px;
    border-bottom: 1px solid #e8e8e8;
    padding-bottom: 15px;
    margin-bottom: 25px;
}
.detail-content {
    line-height: 1.9;
    color: #444;
    font-size: 16px;
    min-height: 300px;
}
.detail-content img { max-width: 100%; height: auto; }

/* ----- 团队列表（学院介绍、学术团队栏目） ----- */
.team-ul {
    width: 100%;
    list-style: none;
    padding: 20px;
    background: rgba(0, 52, 102, 0.76);
    font-family: "Microsoft JhengHei", Arial, sans-serif !important;
}
.team-ul li {
    line-height: 40px;
    font-weight: bold;
    padding: 0 20px;
    border-bottom: 1px solid #ffffff;
    transition: background-color 0.25s;
}
.team-ul li:hover { background: #ffffff; }
.team-ul li:hover .team-ul-a { color: #003466; }
.team-ul li:hover .store-form-a { color: #003466; }
.team-ul-a {
    color: #ffffff;
    text-decoration: none;
    display: block;
}

/* 团队/教学服务 sidebar 子菜单 */
.store-form {
    list-style: none;
    padding: 6px 0 4px 14px;
    margin: 0 0 0 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.store-form li {
    line-height: 32px;
    padding: 0;
    border-bottom: none;
    font-weight: normal;
    transition: background-color 0.25s;
}
.store-form li.active .store-form-a {
    color: #4bd5ff;
    font-weight: bold;
}
.store-form-a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: none;
    display: block;
    transition: color 0.25s;
}
.store-form-a:hover { color: #ffffff; }

/* ========================================================================
   左侧二级分类菜单（教学服务等含父子层级的栏目）
   视觉风格与 .team-ul 统一：蓝底白字
   active 状态使用文字颜色/加粗，避免整块白色背景
   ======================================================================== */
.side-menu {
    width: 100%;
    list-style: none;
    padding: 20px;
    background: rgba(0, 52, 102, 0.76);
    font-family: "Microsoft JhengHei", Arial, sans-serif !important;
}
.side-menu > li {
    line-height: 40px;
    padding: 0 20px;
    transition: background-color 0.25s;
}
.side-menu > li:last-child { border-bottom: none; }
.side-menu-parent {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

.side-menu > li:hover > .side-menu-parent { color: #fff; }
.side-menu > li.active > .side-menu-parent {
    color: #4bd5ff;
    font-weight: bold;
}

/* 子菜单：蓝底上的浅色文字 */
.side-submenu {
    list-style: none;
    padding: 4px 0 8px 14px;
    margin: 0 0 0 6px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
}
.side-submenu li {
    line-height: 32px;
    padding: 0;
    border-bottom: none;
    font-weight: normal;
}
.side-submenu a {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s;
}
.side-submenu a:hover { color: #ffffff; }
.side-submenu li.active a {
    color: #4bd5ff;
    font-weight: bold;
}

/* 父级 hover 时，子菜单切换为白底深色文字 */
.side-menu > li:hover .side-submenu {
    border-left-color: #fff;
}
.side-menu > li:hover .side-submenu a {
    color: #fff;
}
.side-menu > li:hover .side-submenu a:hover {
    color: #4bd5ff;
}
.side-menu > li:hover .side-submenu li.active a {
    color: #4bd5ff;
    font-weight: bold;
}

/* 详情页正文（CMS 生成的 .lh 容器 - 包含大量内联样式的 HTML）*/
.lh img {
    max-width: 100%;
    margin: 0 14px 7px 14px;
    height: auto;       /* 防止图片被强制拉伸 */
}
.lh p {
    background: none !important;
    margin: 0 0 8px 0;
}
.lh ul {
    padding-left: 30px;
    list-style: disc;
}
.lh ol {
    padding-left: 30px;
    list-style: decimal;
}
.lh table {
    max-width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}
.lh table td,
.lh table th {
    border: 1px solid #ddd;
    padding: 6px 10px;
}

/* ========================================================================
   详情页布局（侧边栏小 + 正文大）
   ======================================================================== */
.wrapper-main.detail-layout {
    gap: 25px;
}
.wrapper-main.detail-layout .wrapper-main-wrap-left {
    flex: 0 0 290px;            /* 固定 220px 宽 */
    width: 290px;
}
.wrapper-main.detail-layout .wrapper-main-wrap-right {
    flex: 1;                    /* 占满剩余空间 */
    width: auto;
    min-width: 0;
}

.detail-main {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 30px 35px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.detail-title {
    font-size: 22px;
    font-weight: bold;
    color: #003466;
    text-align: center;
    padding-bottom: 18px;
    margin-bottom: 25px;
    border-bottom: 2px solid #003466;
    line-height: 1.5;
}
.detail-content {
    color: #333;
    font-size: 14px;
    line-height: 1.8;
}


/* ========================================================================
   学院通知列表（无图片 - 4 列网格）
   ======================================================================== */
.list-items.notice-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);   /* PC 端 4 列 */
    gap: 20px 24px;                          /* 上下 20px，左右 24px */
    margin-top: 20px;
}
.list-items.notice-list .list-item {
    width: auto;                             /* 覆盖默认 50% 宽度，交给 grid */
}
.list-item-notice {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px 22px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.list-item-notice:hover {
    border-color: #003466;
    transform: translateY(-3px);
}
.list-item-notice .list-item-link {
    display: block;
    padding: 0;
    border: none;
    background: transparent;
    text-decoration: none;
    color: inherit;
}
.list-item-notice-title {
    font-size: 16px;
    font-weight: bold;
    color: #003466;
    line-height: 1.6;
    height: 51px;                          /* 2 行固定 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
    transition: color 0.25s;
}
.list-item-notice:hover .list-item-notice-title {
    color: #0288D1;
}
.list-item-notice-summary {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    height: 44px;                          /* 2 行固定 */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 12px;
}
.list-item-notice-time {
    font-size: 13px;
    color: #999;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    display: flex;
    align-items: center;
}
.list-item-notice-time-icon {
    color: #003466;
    font-size: 14px;
    margin-right: 6px;
}

/* 通知列表标题栏（中文 + 英文） */
.list-title-bar {
    width: 100%;
    text-align: center;
    border-bottom: 1px dotted #003466;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.list-title-bar-title {
    font-size: 1.5em;
    font-weight: bold;
    color: #003466;
}
.list-title-bar-en {
    font-size: 0.9em;
    color: #888;
    letter-spacing: 2px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* ========================================================================
   纯文本新闻列表（教学服务、下载服务等无缩略图栏目）
   ======================================================================== */
.text-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.text-news-item {
    border-bottom: 1px solid #eeeeee;
}
.text-news-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 4px;
    color: #333;
    text-decoration: none;
    transition: color 0.25s, padding-left 0.25s;
}
.text-news-link:hover {
    color: #003466;
    padding-left: 12px;
}
.text-news-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 20px;
}
.text-news-date {
    flex-shrink: 0;
    color: #999;
    font-size: 14px;
}

@media screen and (max-width: 992px) {
    .list-items.notice-list { grid-template-columns: repeat(2, 1fr); }   /* 平板 2 列 */
}

@media screen and (max-width: 768px) {
    .list-items.notice-list { grid-template-columns: 1fr; }   /* 手机端单列 */
    .list-item-notice { padding: 16px 18px; }
    .list-item-notice-title { font-size: 15px; height: 48px; }
    .list-item-notice-summary { font-size: 12px; height: 40px; }

    .text-news-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 4px;
    }
    .text-news-link:hover { padding-left: 8px; }
    .text-news-title {
        width: 100%;
        padding-right: 0;
        font-size: 15px;
    }
    .text-news-date { font-size: 13px; }
}

/* ========================================================================
   学术团队人物列表
   ======================================================================== */
.team-member-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 40px;
    margin-top: 20px;
    list-style: none;
    padding: 0;
}
.team-member-item {
    border-bottom: 1px solid #eeeeee;
    padding: 20px;
    transition: background-color 0.25s;
}
.team-member-item:hover {
    background-color: #f8f9fa;
}
.team-member-link {
    display: flex;
    gap: 16px;
    color: inherit;
    text-decoration: none;
}
.team-member-photo {
    flex: 0 0 100px;
    width: 100px;
    height: 125px;
    border: 1px solid #dddddd;
    overflow: hidden;
    background: #f5f5f5;
}
.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-member-info {
    flex: 1;
    min-width: 0;
}
.team-member-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #333333;
    margin-bottom: 6px;
}
.team-member-en {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 4px;
}
.team-member-title {
    font-size: 16px;
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .team-member-list { grid-template-columns: 1fr; }
    .team-member-photo { flex: 0 0 80px; width: 80px; height: 100px; }
    .team-member-name { font-size: 1.1em; }
}

/* ========================================================================
   学术团队人物详情页
   ======================================================================== */
.team-detail-top {
    display: flex;
    gap: 30px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 30px;
    align-items: flex-start;
}
.team-detail-photo {
    flex: 0 0 160px;
    width: 160px;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    background: #e8e8e8;
    border: 1px solid #dddddd;
}
.team-detail-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.team-detail-info {
    flex: 1;
    min-width: 0;
}
.team-detail-name {
    font-size: 28px;
    font-weight: bold;
    color: #003466;
    margin-bottom: 8px;
}
.team-detail-en {
    font-size: 16px;
    color: #666666;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.team-detail-title {
    font-size: 15px;
    color: #003466;
    padding: 6px 14px;
    background: #e8f0f8;
    display: inline-block;
    border-radius: 4px;
}


@media screen and (max-width: 768px) {
    .team-detail-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    .team-detail-photo {
        flex: 0 0 auto;
        width: 140px;
        height: 180px;
    }
    .team-detail-name { font-size: 24px; }
}

/* sidebar 选中态（高亮当前栏目） */
.team-ul li.active {
    background: #ffffff !important;
}
.team-ul li.active .team-ul-a {
    color: #003466 !important;
    font-weight: bold;
}

/* ========================================================================
   新闻详情页（参考 live 站全宽布局）
   ======================================================================== */
.article-detail-title {
    font-size:2em;
    font-weight: bold;
    color: #333333;
    line-height: 1.5;
    margin: 20px 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}
.article-detail-meta {
    font-size: 14px;
    color: #999999;
    line-height: 40px;
    margin-bottom: 10px;
}
.article-detail-meta span { margin-right: 20px; }
.article-detail-content {
    padding: 10px 0 30px;
    line-height: 1.8;
    color: #333333;
    font-size: 15px;
}

.article-detail-content table {
    max-width: 100%;
    border-collapse: collapse;
}
.article-detail-content table,
.article-detail-content th,
.article-detail-content td {
    border: 1px solid #cccccc;
}
.article-detail-nav {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #eeeeee;
    margin-top: 10px;
}
.article-detail-nav a {
    display: inline-block;
    padding: 10px 30px;
    background: #003466;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.25s;
    margin: 0 8px;
}
.article-detail-nav a:hover { background: #002244; }

/* ========================================================================
   列表页 / 详情页 响应式
   ======================================================================== */
@media screen and (max-width: 992px) {
    .wrapper-main { gap: 20px; }
    .wrapper-main-wrap-right { width: 240px; }
    .list-item { width: 100%; }

    /* 详情页 sidebar 缩小 */
    .wrapper-main.detail-layout .wrapper-main-wrap-left { flex: 0 0 180px; width: 180px; }
}

@media screen and (max-width: 768px) {
    .breadcrumb { font-size: 13px; margin-top: 10px; }
    .wrapper-main {
        flex-direction: column;
        padding: 15px;
        gap: 20px;
    }
    .wrapper-main-wrap-left { width: 100%; }
    .wrapper-main-wrap-right { width: 100%; }
    .right-news { margin-top: 15px; }

    .list-title-bar-inner { padding: 15px; font-size: 1.2em; }

    .list-item { width: 100%; }
    .list-item > a { padding: 10px; }
    .list-item-thumb { width: 110px; height: 110px; }
    .list-item-title { font-size: 1em; height: 50px; }

    .right-search { margin-top: 0; }
    .right-block { padding: 15px 0; }

    .detail-title { font-size: 22px; margin-top: 10px; }
    .detail-content { font-size: 15px; }
    .detail-content img { width: 100% !important; height: auto !important; }

    .article-detail-title { font-size: 20px; margin: 15px 0 8px; }
    .article-detail-meta { font-size: 13px; line-height: 30px; }
    .article-detail-meta span { margin-right: 10px; }
    .article-detail-content { font-size: 14px; padding: 5px 0 20px; }
    .article-detail-content img { width: 100% !important; height: auto !important; }
    .article-detail-nav a { padding: 8px 20px; font-size: 14px; margin: 0 4px; }

    .team-ul { padding: 10px; }
    .team-ul li { line-height: 36px; padding: 0 10px; font-size: 14px; }

    /* 详情页 sidebar 移动端占满 */
    .wrapper-main.detail-layout .wrapper-main-wrap-left { flex: 0 0 100%; width: 100%; }
}

@media screen and (max-width: 480px) {
    .list-item-thumb { width: 90px; height: 90px; }
    .list-item-title { font-size: 0.95em; }
    .list-item-content { font-size: 0.8em; -webkit-line-clamp: 2; }
    .quotes a, .quotes span { padding: 4px 10px; margin: 0 2px; font-size: 13px; }
}

/* ≤ 480px 小屏手机 */
@media screen and (max-width: 480px) {
    .header-top { height: 80px; }
    .header-top-inner { height: 60px; }
    .header-logo { height: 42px; line-height: 42px; }
    .header-logo img { max-height: 42px; height: 42px; }
    .mobile-menu-btn { top: 12px; right: 10px; width: 32px; height: 32px; }
    .mobile-menu-btn span { width: 18px; margin: 3px auto; }
    .layui-carousel { height: 160px !important; }

    .wrapper-contact-main-right-ul{ width: 100%; float: none;}
    .wrapper-contact-main-right .qrcode{ float: none;}
    .header-nav-sub li::before{ display: none;}
    .article-detail-title { font-size: 18px; }
    .article-detail-content { font-size: 13px; }
    .article-detail-nav a { padding: 6px 16px; font-size: 13px; }
}

/* ========================================================================
   移动端汉堡菜单按钮（默认隐藏）
   ======================================================================== */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: #003466;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 99999;
    padding: 8px 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 3px auto;
}

/* ========================================================================
   [B] 内页专用样式（仅 .wrapper-head 系列、.head-son-bg、.news-list*）
   ======================================================================== */

/* 整页灰色背景（与原站一致） */
body { background: #efefef; }

/* ========================================================================
   内页头部（与首页不同：深蓝渐变 + 校门图）
   ======================================================================== */
.wrapper-head {
    width: 100%;
    background: linear-gradient(rgb(0, 52, 102) 0%, rgb(0, 52, 102) 60%, rgb(239, 239, 239) 100%);   /* 渐变覆盖整个头部 */
}
.wrapper-head-top {
    width: 100%;
    height: 140px;
    background: transparent;   /* 透出下方渐变 */
}
.wrapper-head-top-logowrap {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    height: 140px;
    position: relative;
    text-align: center;
}
.wrapper-head-top-logo {
    display: inline-block;
    height: 110px;
    line-height: 110px;
    margin: 15px 0 0 0;
}
.wrapper-head-top-logo img {
    max-height: 110px;
    height: 110px;
    width: auto;
    display: inline-block;
}
.wrapper-head-top-right {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    text-align: right;
    width: 280px;
}
.wrapper-head-top-right-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    margin-bottom: 8px;
}
.wrapper-head-top-right-ul-li {
    float: left;
    width: 33.333%;
    height: 28px;
    line-height: 28px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.wrapper-head-top-right-ul-li:hover { background-color: rgba(255, 255, 255, 0.15); }
.wrapper-head-top-right-ul-li:hover .wrapper-head-top-right-ul-li-a { color: #ffffff; }
.wrapper-head-top-right-ul-li-a {
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
}
.wrapper-head-top-right-div {
    font-size: 13px;
    color: #ffffff;
    margin-top: 4px;
}
.wrapper-head-top-right-div-language {
    color: #ffffff;
    margin: 0 4px;
}
.wrapper-head-top-right-div-language a { color: #ffffff; text-decoration: none; }

/* 导航 9 个菜单（横向深蓝字，与首页一致） */
.wrapper-head-titlewrap {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    height: 70px;
    background: #ffffff;   /* 白色背景 */
}
.wrapper-head-top-title {
    width: 100%;
    height: 70px;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.wrapper-head-top-title-li {
    flex: 1;
    text-align: center;
    list-style: none;
    position: relative;
}
/* 顶部导航链接（兼容带/不带 .wrapper-head-top-title-li-menu 两种写法） */
.wrapper-head-top-title-li > a,
.wrapper-head-top-title-li-menu {
    color: #003466;   /* 深蓝色，与首页一致 */
    font-size: 16px;
    display: block;
    height: 70px;
    line-height: 70px;
    text-decoration: none;
    transition: color 0.25s;
    position: relative;
}
/* hover 时底部显示 2px 深蓝线（简洁学术风） */
.wrapper-head-top-title-li > a::after,
.wrapper-head-top-title-li-menu::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #003466;
    transition: width 0.25s ease;
}
.wrapper-head-top-title-li:hover > a::after,
.wrapper-head-top-title-li-menu:hover::after {
    width: 80%;
}
.wrapper-head-top-title-li:hover > a,
.wrapper-head-top-title-li-menu:hover {
    color: #003466;
}

/* 下拉菜单 */
.wrapper-head-top-title-li-div {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(0, 52, 102, 0.95);
    border-radius: 12px;
    padding: 15px 20px;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-align: left;
}
.wrapper-head-top-title-li:hover .wrapper-head-top-title-li-div { display: block; }
.wrapper-head-top-title-li-div .wrapper-head-top-title-li-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    height: auto;
    line-height: normal;
    color: #ffffff;
    background: transparent;
}
.wrapper-head-top-title-li-div .wrapper-head-top-title-li-menu li {
    line-height: 32px;
    white-space: nowrap;
    text-align: left;
    position: relative;
    padding-left: 16px;
}
.wrapper-head-top-title-li-div .wrapper-head-top-title-li-menu li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4bd5ff;
}
.wrapper-head-top-title-li-div .wrapper-head-top-title-li-menu li a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}
.wrapper-head-top-title-li-div .wrapper-head-top-title-li-menu li a:hover {
    font-weight: bold;
    color: #4bd5ff;
}

/* 校门大图（与首页不一样：1200×300 单张图） */
.head-son-bg {
    width: 1200px;
    max-width: 100%;
    height: 300px;
    margin: 0 auto;
    background: url('../images/head_son_bg.jpg') center/cover no-repeat #ffffff;
}

/* ========================================================================
   新闻列表（内页）
   ======================================================================== */
.news-list-wrap {
    width: 1200px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 15px;
}
.news-list-title {
    width: 100%;
    text-align: center;
    border-bottom: 1px dotted #003466;
    margin-bottom: 0;
}
.news-list-title-inner {
    display: inline-block;
    padding: 20px;
    font-size: 1.5em;
    font-weight: bold;
    color: #003466;
}
.news-list {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-top: 20px;
}
.news-list-item {
    display: inline-block;
    width: 48%;
    padding: 10px;
    vertical-align: top;
}
.news-list-item > a {
    display: block;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.news-list-item > a:hover {
    transform: translateY(-1px);

}
.news-list-thumb {
    display: inline-block;
    width: 160px;
    height: 160px;
    background: #f0f0f0 url('../images/nopic.jpg') center/cover no-repeat;
    border: 1px solid #dddddd;
    vertical-align: center;
    overflow:hidden;
}
.news-list-thumb img{
width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-list-body {
    display: inline-block;
    width: calc(100% - 175px);
    margin-left: 10px;
    vertical-align: top;
}
.news-list-item-title {
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.4;
    height: 50px;
    color: #333;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.news-list-item > a:hover .news-list-item-title { color: #003466; }
.news-list-item-content {
    width: 100%;
    font-size: 14px;
    line-height: 150%;
    height: 72px;
    color: #888;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.news-list-item-time {
    width: 100%;
    text-align: right;
    line-height: 40px;
    color: #999;
    font-size: 0.9em;
}

/* ========================================================================
   内页头部 / 新闻列表 响应式
   ======================================================================== */
@media screen and (max-width: 992px) {
    .wrapper-head-top-title-li-menu { font-size: 14px; }
    .news-list-item { width: 100%; }
    .news-list-thumb { width: 130px; height: 130px; }
    .news-list-body { width: calc(100% - 145px); }
    .news-list-item-content { font-size: 13px; }
}

/* ========================================================================
   手机端：内页导航改成汉堡按钮 + 抽屉菜单（与首页一致）
   ======================================================================== */
@media screen and (max-width: 768px) {
    /* logo 区域白底保留 */
    .wrapper-head-top-logowrap { height: 70px; text-align: left; background: #ffffff; }
    .wrapper-head-top-logo { height: 50px; line-height: 50px; margin: 10px 0 0 15px; }
    .wrapper-head-top-logo img { max-height: 50px; height: 50px; }
    .wrapper-head-top-right { width: auto; position: static; transform: none; padding: 5px 10px; }
    .wrapper-head-top-right-ul-li { width: auto; float: none; display: inline-block; padding: 0 6px; }

    /* 导航条隐藏，改用汉堡按钮 */
    .wrapper-head-titlewrap { display: none; height: 0; }

    /* 抽屉展开后显示 */
    .mobile-menu-open .wrapper-head-titlewrap {
        display: block;
        height: auto;
    }
    .mobile-menu-open .wrapper-head-top-title {
        flex-direction: column;
        background: rgba(0, 52, 102, 0.95);
        border-radius: 8px;
        padding: 10px 0;
        height: auto;
    }
    .mobile-menu-open .wrapper-head-top-title-li { flex: 0 0 auto; width: 100%; }
    .mobile-menu-open .wrapper-head-top-title-li-menu { font-size: 14px; height: 44px; line-height: 44px; padding: 0 20px; }

    .head-son-bg { height: 180px; }

    .news-list-title-inner { padding: 15px; font-size: 1.2em; }
    .news-list-item { width: 100%; padding: 8px; }
    .news-list-thumb { width: 100px; height: 100px; }
    .news-list-body { width: calc(100% - 115px); }
    .news-list-item-title { font-size: 1em; height: 50px; }
    .news-list-item-content { font-size: 12px; line-height: 22px; height: 50px; }
    .news-list-item-time { line-height: 30px; font-size: 0.8em; }
}

@media screen and (max-width: 480px) {
    .head-son-bg { height: 130px; }
    .news-list-thumb { width: 80px; height: 80px; }
    .news-list-body { width: calc(100% - 95px); }
    .news-list-item-title { font-size: 0.95em; -webkit-line-clamp: 2; }
}