/**
 * custom.css - 全站自定义样式
 * 来源：index.html 内联样式 + listcolumn/displayinfo/teacherlist 页面内联样式合并
 * 包含：基础响应式、板块样式、Footer、移动端、列表/详情/教师页样式等
 */

/* ============================================
   基础响应式样式
   ============================================ */

/* ============================================
   导航栏、Logo 与移动端菜单响应式优化
   ============================================ */

/* 顶部 Logo 基础样式、垂直居中与防重叠设置 */
.header-area {
    padding: 0;
}

.header-area:not(.header-position) {
    background-color: #355a90 !important;
}

.header-area .container > .row {
    display: flex !important;
    align-items: center !important;
}

.logo {
    display: flex !important;
    align-items: center !important;
    height: 100%;
}

.logo a {
    display: inline-flex !important;
    align-items: center !important;
}

.mini-logo {
    display: block;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* 彻底解决全站页面在 576px-767px 及移动端 Logo 与汉堡图标重叠问题：隐藏冗余 mobile-title，确保主 Logo 始终显示 */
.mobile-title,
div.mobile-title,
.header-area .mobile-title {
    display: none !important;
}

.header-area .logo,
.header-area .logo a,
.header-area .logo img,
.header-area .logo .mini-logo,
.header-area .logo .desktop-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* =======================================================
   桌面端（>=992px，包括 1440px+、1200-1399px、992-1199px）：
   均保持 Logo 原始大小（308px × 119px，100% 原始像素呈现无缩放失真）
   ======================================================= */
@media (min-width: 992px) {
    .header-area .col-lg-3,
    .header-area .container > .row > div:first-child {
        flex: 0 0 auto !important;
        max-width: none !important;
        width: auto !important;
    }

    .header-area .col-lg-9,
    .header-area .container > .row > div:last-child {
        flex: 1 1 auto !important;
        max-width: none !important;
        width: auto !important;
    }

    /* 保持 Logo 100% 原始像素尺寸 */
    .mini-logo {
        width: 308px !important;
        height: 119px !important;
        max-width: 308px !important;
        max-height: 119px !important;
    }

    .header-area .container > .row {
        min-height: 125px !important;
    }

    .main-menu {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: 100% !important;
        min-height: 125px !important;
    }

    /* 仅对一级主菜单应用横向 flex 布局 */
    .main-menu > nav > ul,
    .main-menu ul.menu {
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }

    /* 全站一级主菜单项保持纯白色、悬停淡蓝效果，全站风格高度统一（仅匹配顶层一级 a） */
    .main-menu > nav > ul > li > a,
    .main-menu ul.menu > li > a,
    .header-area .main-menu > nav > ul > li > a,
    .header-area .main-menu ul.menu > li > a {
        color: #ffffff !important;
        text-decoration: none !important;
        transition: color 0.25s ease !important;
    }

    .main-menu > nav > ul > li:hover > a,
    .main-menu ul.menu > li:hover > a,
    .header-area .main-menu > nav > ul > li:hover > a,
    .header-area .main-menu ul.menu > li:hover > a {
        color: #90c0ff !important;
    }

    /* 1. 大尺寸/高分屏（1440px ~） */
    @media (min-width: 1400px) {
        .main-menu > nav > ul > li,
        .main-menu ul.menu > li {
            margin-left: 18px !important;
            padding: 45px 0 !important;
        }
        .main-menu > nav > ul > li > a,
        .main-menu ul.menu > li > a {
            font-size: 16px !important;
            font-weight: 500 !important;
        }
    }

    /* 2. 标准桌面端（1200px ~ 1399px，如常见笔记本屏） */
    @media (min-width: 1200px) and (max-width: 1399px) {
        .main-menu > nav > ul > li,
        .main-menu ul.menu > li {
            margin-left: 12px !important;
            padding: 45px 0 !important;
        }
        .main-menu > nav > ul > li > a,
        .main-menu ul.menu > li > a {
            font-size: 15px !important;
            font-weight: 500 !important;
        }
    }

    /* 3. 紧凑桌面/横屏（992px ~ 1199px）：保持原始大小，菜单紧凑单行防变形（问题 1.1） */
    @media (max-width: 1199px) {
        .main-menu > nav > ul > li,
        .main-menu ul.menu > li {
            margin-left: 6px !important;
            padding: 45px 0 !important;
        }
        .main-menu > nav > ul > li > a,
        .main-menu ul.menu > li > a {
            font-size: 12.5px !important;
            padding: 0 2px !important;
            white-space: nowrap !important;
        }
    }
}

/* =======================================================
   桌面端二级及三级下拉子菜单样式修复（垂直单列排列、恢复正常块级排版）
   ======================================================= */
.main-menu ul li ul {
    background: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    left: 0;
    opacity: 0;
    position: absolute !important;
    top: 100% !important;
    visibility: hidden;
    width: 200px !important;
    min-width: 180px !important;
    z-index: 99999 !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    border-radius: 4px !important;
    display: block !important;
    transition: opacity 0.25s ease, visibility 0.25s ease !important;
}

/* 下拉菜单列表项（垂直块级排列） */
.main-menu ul li ul li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
    text-align: left !important;
    background: transparent !important;
    position: relative !important;
    transition: background 0.2s ease !important;
}

.main-menu ul li ul li:first-child {
    border-top: none !important;
}

.main-menu ul li ul li:hover {
    background: #f4f6fa !important;
}

/* 下拉菜单超链接样式（二级与三级子菜单） */
.main-menu ul li ul li a,
.main-menu ul.menu li ul li a,
.header-area .main-menu ul li ul li a,
.header-area .main-menu ul.menu li ul li a {
    display: block !important;
    width: 100% !important;
    padding: 11px 18px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333333 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    white-space: nowrap !important;
    text-transform: none !important;
    box-sizing: border-box !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
}

.main-menu ul li ul li:hover > a,
.main-menu ul.menu li ul li:hover > a,
.header-area .main-menu ul li ul li:hover > a,
.header-area .main-menu ul.menu li ul li:hover > a {
    color: #355a90 !important;
    padding-left: 22px !important;
}

/* 二级子菜单悬停展开 */
.main-menu ul.menu > li:hover > ul,
.main-menu > nav > ul > li:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* 三级子菜单定位与悬停展开 */
.main-menu ul li ul li > ul {
    top: 0 !important;
    left: 100% !important;
    margin-top: 0 !important;
    opacity: 0;
    position: absolute !important;
    visibility: hidden;
    display: block !important;
}

.main-menu ul li ul li:hover > ul {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

/* 靠右侧栏目的二级及三级下拉菜单向左展开，防止溢出屏幕右侧边缘（问题 1.1） */
.main-menu ul.menu > li:last-child > ul,
.main-menu ul.menu > li:nth-last-child(2) > ul,
.main-menu > nav > ul > li:last-child > ul,
.main-menu > nav > ul > li:nth-last-child(2) > ul {
    left: auto !important;
    right: 0 !important;
}

.main-menu ul.menu > li:last-child ul li > ul,
.main-menu ul.menu > li:nth-last-child(2) ul li > ul,
.main-menu ul.menu > li:nth-last-child(3) ul li > ul,
.main-menu > nav > ul > li:last-child ul li > ul,
.main-menu > nav > ul > li:nth-last-child(2) ul li > ul,
.main-menu > nav > ul > li:nth-last-child(3) ul li > ul {
    left: auto !important;
    right: 100% !important;
}

/* 平板端与移动端导航栏（<= 991px，对应问题 1.2 及问题 1.3） */
@media (max-width: 991px) {
    .header-area,
    .mobile-only,
    .header-area.header-color,
    header .header-area {
        background-color: #355a90 !important;
        background: #355a90 !important;
        padding: 10px 0;
        position: relative;
    }

    /* 彻底隐藏桌面端导航菜单，杜绝移动端/平板端文字竖向换行溢出 */
    .main-menu,
    .main-menu nav,
    .main-menu ul,
    .main-menu ul.menu,
    .header-area .main-menu,
    .header-area .main-menu nav,
    .header-area .main-menu ul {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .mobile-menu {
        position: static;
        display: block !important;
    }

    .header-area .container {
        position: relative;
    }

    .header-area .container > .row {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .header-area .col-sm-10,
    .header-area .col-lg-3,
    .header-area .container > .row > div:first-child {
        flex: 1 1 auto !important;
        max-width: calc(100% - 60px) !important;
        width: auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .header-area .col-sm-2,
    .header-area .col-lg-9,
    .header-area .container > .row > div:last-child {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: 60px !important;
        position: static !important;
    }

    /* MeanMenu 汉堡按钮美化与垂直居中对齐 */
    .mean-container .mean-bar {
        background: transparent !important;
        min-height: 0 !important;
        padding: 0 !important;
        position: static !important;
        float: none !important;
    }

    .mean-container a.meanmenu-reveal {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 7px 9px !important;
        border: 1px solid rgba(255, 255, 255, 0.6) !important;
        border-radius: 6px !important;
        cursor: pointer;
        width: 38px !important;
        height: 34px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 4px !important;
        text-indent: -9999px;
        transition: all 0.3s ease;
        background: rgba(255, 255, 255, 0.1) !important;
        z-index: 1000;
    }

    .mean-container a.meanmenu-reveal:hover {
        border-color: #fff !important;
        background: rgba(255, 255, 255, 0.25) !important;
    }

    .mean-container a.meanmenu-reveal span {
        display: block !important;
        background: #fff !important;
        height: 2px !important;
        width: 20px !important;
        margin: 0 !important;
        border-radius: 2px !important;
    }

    /* 开启状态时的关闭图标 */
    .mean-container a.meanmenu-reveal.meanclose {
        text-indent: 0 !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        color: #fff !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    /* 展开后的下拉菜单面板（问题 1.2 美化与防拥挤） */
    .mean-container .mean-nav {
        position: absolute !important;
        left: 15px !important;
        right: 15px !important;
        top: 100% !important;
        width: auto !important;
        margin-top: 8px !important;
        background: #2b4974 !important;
        border-radius: 8px !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
        overflow: hidden !important;
        z-index: 999999 !important;
    }

    .mean-container .mean-nav ul {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        list-style: none !important;
        max-height: 75vh !important;
        overflow-y: auto !important;
        float: left !important;
    }

    .mean-container .mean-nav ul li {
        position: relative !important;
        float: left !important;
        width: 100% !important;
        clear: both !important;
        margin: 0 !important;
        padding: 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        list-style: none !important;
        box-sizing: border-box !important;
    }

    .mean-container .mean-nav ul li:first-child {
        border-top: none !important;
    }

    /* 菜单超链接项（排除展开按钮） */
    .mean-container .mean-nav ul li > a:not(.mean-expand) {
        color: #fff !important;
        font-size: 15px !important;
        padding: 13px 20px !important;
        padding-right: 56px !important; /* 预留右侧 + 按钮空间，防止文字重合 */
        font-weight: 500 !important;
        line-height: 22px !important;
        width: 100% !important;
        display: block !important;
        float: left !important;
        box-sizing: border-box !important;
        text-decoration: none !important;
        border: none !important;
        text-transform: none !important;
        transition: background 0.2s ease !important;
    }

    .mean-container .mean-nav ul li > a:not(.mean-expand):hover {
        background: rgba(255, 255, 255, 0.1) !important;
    }

    /* 二级子菜单列表项 */
    .mean-container .mean-nav ul li ul {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        float: left !important;
    }

    .mean-container .mean-nav ul li ul li {
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        background: rgba(0, 0, 0, 0.12) !important;
    }

    .mean-container .mean-nav ul li ul li > a:not(.mean-expand) {
        padding-left: 36px !important;
        padding-right: 56px !important;
        padding-top: 11px !important;
        padding-bottom: 11px !important;
        font-size: 13px !important;
        line-height: 20px !important;
        color: rgba(255, 255, 255, 0.9) !important;
        background: transparent !important;
    }

    .mean-container .mean-nav ul li ul li > a:not(.mean-expand):hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    /* 三级子菜单列表项 */
    .mean-container .mean-nav ul li ul li ul li {
        background: rgba(0, 0, 0, 0.24) !important;
    }

    .mean-container .mean-nav ul li ul li ul li > a:not(.mean-expand) {
        padding-left: 52px !important;
        padding-right: 20px !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        font-size: 13px !important;
        line-height: 20px !important;
        color: rgba(255, 255, 255, 0.82) !important;
        background: transparent !important;
    }

    .mean-container .mean-nav ul li ul li ul li > a:not(.mean-expand):hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    /* 展开/收起按钮：无论一级或二级展开，均精确定位在各自所属 li 的右上角，彻底防止堆叠 */
    .mean-container .mean-nav a.mean-expand,
    .mean-container .mean-nav ul li a.mean-expand {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        width: 48px !important;
        height: 48px !important;
        line-height: 48px !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        display: block !important;
        float: none !important;
        border: none !important;
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
        background: rgba(0, 0, 0, 0.15) !important;
        color: #fff !important;
        font-size: 20px !important;
        font-weight: bold !important;
        cursor: pointer !important;
        z-index: 5 !important;
        box-sizing: border-box !important;
        transition: background 0.2s ease !important;
    }

    .mean-container .mean-nav a.mean-expand:hover,
    .mean-container .mean-nav ul li a.mean-expand:hover {
        background: rgba(255, 255, 255, 0.22) !important;
        color: #fff !important;
    }

    /* 二级菜单中的展开按钮微调尺寸（针对具有三级菜单的二级栏目，如“专业介绍”、“师资力量”、“规章制度”等） */
    .mean-container .mean-nav ul li ul li a.mean-expand {
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
        font-size: 18px !important;
        background: rgba(0, 0, 0, 0.22) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.12) !important;
    }
}

/* 平板端 (768px - 991px) 下拉面板与 Logo 保持清晰原始大小 */
@media (min-width: 768px) and (max-width: 991px) {
    .mean-container .mean-nav {
        width: 340px !important;
        left: auto !important;
        right: 15px !important;
    }

    .header-area .container > .row {
        min-height: 110px !important;
    }

    .mini-logo {
        width: 308px !important;
        height: 119px !important;
        max-width: 308px !important;
        max-height: 119px !important;
        object-fit: contain;
    }
}

/* 大屏移动端/小平板 (576px - 767px，对应 766px 视口)：大幅放大 Logo，与桌面端/平板端平滑衔接 */
@media (min-width: 576px) and (max-width: 767px) {
    .header-area .container > .row {
        min-height: 105px !important;
    }

    .mini-logo {
        width: auto !important;
        height: auto !important;
        max-width: 290px !important;
        max-height: 105px !important;
        object-fit: contain;
    }

    .header-area,
    .mobile-only,
    .header-area.header-color {
        background: #355a90 !important;
        background-color: #355a90 !important;
    }
}

/* 中屏移动端 (480px - 575px) */
@media (min-width: 480px) and (max-width: 575px) {
    .header-area .container > .row {
        min-height: 90px !important;
    }

    .mini-logo {
        width: auto !important;
        height: auto !important;
        max-width: 240px !important;
        max-height: 85px !important;
        object-fit: contain;
    }

    .header-area,
    .mobile-only,
    .header-area.header-color {
        background: #355a90 !important;
        background-color: #355a90 !important;
    }
}

/* 小屏移动端 (小于 480px，如常见窄屏手机) */
@media (max-width: 479px) {
    .header-area .container > .row {
        min-height: 75px !important;
    }

    .mini-logo {
        width: auto !important;
        height: auto !important;
        max-width: calc(100% - 10px) !important;
        max-height: 65px !important;
        object-fit: contain;
    }

    .header-area,
    .mobile-only,
    .header-area.header-color {
        background: #355a90 !important;
        background-color: #355a90 !important;
    }
}

/* ============================================
   板块背景样式
   ============================================ */

.notification-bg {
    background-image: url("static2026/img/bg/notification_bg.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #f6f6f6;
}

.research-bg {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-color: #f6f6f6;
}

/* ============================================
   通知公告板块样式
   ============================================ */

/* 通知公告标签 - 强制单行显示，清除内联缩进，与栏目标题严格左对齐 */
.notification-tags {
    margin-left: 0 !important;
    padding-left: 0 !important;
    margin-top: 10px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.notification-tags::-webkit-scrollbar {
    display: none;
}

.notification-tag {
    display: inline-block;
    flex: 0 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 5px 14px;
    margin: 0;
    background-color: #f1f5f9;
    color: #475569;
    border-radius: 16px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.25s ease;
    border: 1px solid #e2e8f0;
}

.notification-tag:hover {
    background-color: #355a90;
    color: #fff;
    border-color: #355a90;
}

.notification-tag.active {
    background-color: #355a90;
    color: #fff;
    border-color: #355a90;
    font-weight: 600;
}

/* 通知公告列表项 - 统一内边距与边框 */
.notification-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.notification-item .p-3 {
    padding: 12px 0 !important;
    border-bottom: 1px dashed #e2e8f0;
}

.notification-item:last-child .p-3 {
    border-bottom: none;
}

.notification-items {
    min-height: 200px;
}

/* 通知公告条目水平排版与对齐容器 */
.notification-item .hstack {
    display: flex !important;
    align-items: baseline !important;
    gap: 12px !important;
    width: 100% !important;
}

/* 日期：严格固定 92px，永不换行，数字等宽对齐 */
.notification-item .hstack > div:first-child {
    flex: 0 0 92px !important;
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-variant-numeric: tabular-nums;
    text-align: left !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.notification-item .hstack > div:first-child strong {
    font-weight: 500 !important;
    color: inherit !important;
}

/* 竖线分割线：统一高度 14px 与垂直居中，绝不拉伸变形或左右移位 */
.notification-item .hstack .vr {
    display: inline-block !important;
    flex: 0 0 1px !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 14px !important;
    min-height: 14px !important;
    max-height: 14px !important;
    background-color: #cbd5e1 !important;
    opacity: 1 !important;
    align-self: center !important;
    margin: 0 2px !important;
    padding: 0 !important;
    border: none !important;
}

/* 公告标题：自适应剩余宽度，优雅换行，首行严格对齐 */
.notification-item .hstack > div:last-child {
    flex: 1 1 auto !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    text-align: left !important;
    word-break: break-all;
    transition: color 0.2s ease;
    cursor: pointer;
}

.notification-item .hstack > div:last-child:hover {
    color: #355a90 !important;
}

/* ============================================
   通用组件样式
   ============================================ */

/* 更多链接 - 严格不折行、紧凑对齐 */
.more-link {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    flex-shrink: 0 !important;
    color: #689be6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.more-link:hover {
    color: #4a7bc8;
    background-color: rgba(104, 155, 230, 0.1);
    transform: translateX(-3px);
}

.more-link::after {
    content: " >>";
    margin-left: 4px;
    white-space: nowrap !important;
    transition: transform 0.3s ease;
}

.more-link:hover::after {
    transform: translateX(3px);
}

.more-link-wrapper {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    height: 100%;
}

/* 栏目标题统一样式 */
.h3.title,
span.h3.title,
p.h3.title {
    font-size: 30px;
    font-weight: 600;
    color: #689be6;
    margin: 0 0 20px 0;
    padding: 0 0 10px 0;
    line-height: 1.4;
    position: relative;
    display: inline-block;
    border-bottom: 2px solid #689be6;
}

.h3.title i,
span.h3.title i,
p.h3.title i {
    display: none;
}

/* ============================================
   教研动态板块样式
   ============================================ */

/* 横向滚动容器 */
.research-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.research-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #689be6 #f0f0f0;
    padding: 20px 0;
    gap: 20px;
}

.research-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.research-scroll-wrapper::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.research-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #689be6;
    border-radius: 4px;
}

.research-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: #4a7bc8;
}

/* 教研动态卡片 */
.research-card {
    flex: 0 0 auto;
    width: 320px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.research-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(104, 155, 230, 0.3);
}

.research-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.research-card-title {
    padding: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
    text-align: left;
    min-height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.research-card:hover .research-card-title {
    color: #689be6;
}

/* ============================================
   新闻动态板块样式
   ============================================ */

/* 新闻大图 */
.news-featured-image {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

.news-featured-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(104, 155, 230, 0.2);
}

.news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
}

.news-featured-image:hover img {
    transform: scale(1.05);
}

/* 新闻标题和描述 */
.news-featured-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-featured-title:hover {
    color: #689be6;
}

.news-featured-description {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* 新闻列表 - 左右内边距清零，与上方首篇图文新闻及大图左侧严格像素级对齐 */
.news-list-group {
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

.news-list-group .list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    padding: 18px 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    transition: all 0.25s ease;
    background-color: transparent;
}

.news-list-group .list-group-item:last-child {
    border-bottom: none;
}

.news-list-group .list-group-item:hover {
    background-color: transparent;
    padding-left: 0 !important;
    box-shadow: none;
}

.news-list-group .list-group-item .d-flex {
    align-items: baseline !important;
    gap: 15px !important;
}

.news-list-group .list-group-item h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.5;
    flex: 1 1 auto;
    transition: color 0.3s ease;
}

.news-list-group .list-group-item:hover h5 {
    color: #355a90;
}

.news-list-group .list-group-item small {
    color: #999;
    font-size: 13px;
    font-weight: 500;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    text-align: right;
}

.news-list-group .list-group-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   走进我们板块样式
   ============================================ */

/* 文字介绍 */
.about-us-text {
    color: #555;
    font-size: 16px;
    line-height: 2;
    margin: 0;
    padding-top: 5px;
}

/* 视频容器 */
.about-us-content-box {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.about-us-content-box video {
    width: 100%;
    height: auto;
    display: block;
}

/* 文字链接 */
.about-us-links {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    gap: 10px;
}

.about-us-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    min-height: 46px;
}

.about-us-link:hover {
    background-color: #689be6;
    color: #fff;
    border-color: #689be6;
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(104, 155, 230, 0.3);
}

.about-us-link-item {
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.5;
    word-break: keep-all;
    white-space: nowrap;
}

/* ============================================
   板块布局和间距
   ============================================ */

/* 统一板块内边距 */
.aboutus-area,
.project-area,
.specialization-area {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.aboutus-area.ptb-20,
.project-area.ptb-20 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.specialization-area.pt-70 {
    padding-top: 60px !important;
}

.specialization-area.pb-55 {
    padding-bottom: 60px !important;
}

/* 统一容器内边距 */
.aboutus-area .container,
.project-area .container,
.specialization-area .container {
    padding-left: 15px;
    padding-right: 15px;
}

/* 统一内容行间距 */
.aboutus-area .row.my-3,
.project-area .row.my-3 {
    margin-top: 25px;
    margin-bottom: 0;
}

.aboutus-area .row.my-3.pt-3,
.project-area .row.my-3.pt-3 {
    padding-top: 25px !important;
}

.aboutus-area .row.my-3.ptb-20 {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* 走进我们板块特殊样式 */
.specialization-area .row.my-3 {
    align-items: flex-start;
    margin-top: 30px !important;
}

.specialization-area .row.my-3.pt-3 {
    padding-top: 25px !important;
}

.specialization-area .row.my-3.--bs-body-bg {
    padding: 25px !important;
}

.specialization-area .title {
    margin-bottom: 25px;
}

.specialization-area .col-lg-6,
.specialization-area .col-lg-4,
.specialization-area .col-lg-2 {
    padding-left: 15px;
    padding-right: 15px;
}

.specialization-area .col-lg-6 {
    padding-right: 20px;
}

.specialization-area .col-lg-4 {
    padding-left: 10px;
    padding-right: 10px;
}

.specialization-area .col-lg-2 {
    padding-left: 10px;
}

/* ============================================
   响应式样式
   ============================================ */

/* 平板及以下 (≤991px) */
@media (max-width: 991px) {
    /* 板块内边距 */
    .aboutus-area,
    .project-area,
    .specialization-area {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    /* 内容行间距 */
    .aboutus-area .row.my-3,
    .project-area .row.my-3 {
        margin-top: 20px;
    }

    .aboutus-area .row.my-3.pt-3,
    .project-area .row.my-3.pt-3 {
        padding-top: 20px !important;
    }

    .specialization-area .row.my-3.--bs-body-bg {
        padding: 20px !important;
    }

    /* 走进我们链接 */
    .about-us-links {
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 20px;
    }

    .about-us-link {
        flex: 1 1 calc(50% - 10px);
        min-width: 150px;
    }

    /* 首页新闻列表在 <=991px（如单列堆叠时的 989px）：与首篇图文新闻建立间距与精致分割线，确保整体对齐 */
    .news-list-group {
        margin-top: 24px !important;
        border-top: 1px solid #e9ecef !important;
    }

    /* 栏目标题与“更多 >>”在平板与手机视口下始终两端对齐，彻底解决“更多 >>”下沉与换行问题 */
    .aboutus-area .row.my-3.pt-3,
    .project-area .row.my-3.pt-3 {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .aboutus-area .row.my-3.pt-3 > .col-12:first-child,
    .project-area .row.my-3.pt-3 > .col-12:first-child {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .aboutus-area .row.my-3.pt-3 > .col-12:last-child,
    .project-area .row.my-3.pt-3 > .col-12:last-child {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap !important;
        margin-top: 4px !important;
    }
}

/* 手机端 (≤767px) */
@media (max-width: 767px) {
    /* 板块内边距 */
    .aboutus-area,
    .project-area,
    .specialization-area {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    /* 栏目标题 */
    .h3.title,
    span.h3.title,
    p.h3.title {
        font-size: 24px;
        padding-bottom: 8px;
        margin-bottom: 15px;
        color: #689be6;
        border-bottom: 2px solid #689be6;
    }

    /* 更多链接在小屏幕下保持右上对齐且永不折行 */
    .more-link-wrapper {
        justify-content: flex-end !important;
        margin-top: 0 !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .more-link {
        white-space: nowrap !important;
        word-break: keep-all !important;
        flex-shrink: 0 !important;
    }

    /* 通知公告标签在移动端单行展示并微调间距与字号，完美适配小屏一整行显示 */
    .notification-tags {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        gap: 6px !important;
        margin-top: 8px !important;
        margin-bottom: 6px !important;
        padding-bottom: 2px !important;
    }

    .notification-tag {
        flex-shrink: 0 !important;
        font-size: 12px !important;
        padding: 4px 9px !important;
        border-radius: 14px !important;
    }

    /* 教研动态卡片 */
    .research-card {
        width: 280px;
    }

    .research-card-image {
        height: 180px;
    }

    /* 新闻动态 - 保持各端左侧 0px 像素级严格对齐 */
    .news-featured-image {
        padding: 0 !important;
        margin: 0 0 20px 0 !important;
        width: 100%;
    }

    .news-list-group .list-group-item {
        padding: 14px 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .news-list-group .list-group-item:hover {
        padding-left: 0 !important;
    }

    /* 走进我们链接 */
    .about-us-link {
        flex: 1 1 100%;
    }
}

/* ============================================
   Footer 页脚样式 - 现代化简洁设计
   ============================================ */

/* Footer 整体样式 - 现代深色背景 */
footer.footer-bg {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    position: relative;
    padding-top: 70px;
    padding-bottom: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer 顶部装饰线 */
footer.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #689be6, transparent);
}

/* Footer 文字颜色 */
footer.footer-bg,
footer.footer-bg p,
footer.footer-bg span,
footer.footer-bg div {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer 链接样式 */
footer.footer-bg a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

footer.footer-bg a:hover {
    color: #689be6;
}

/* Footer 区域 */
.footer-area {
    position: relative;
    z-index: 1;
}

/* Footer 单列区域 */
.fotter-single-area {
    margin-bottom: 40px;
}

/* Footer 标题样式 - 现代化设计 */
.fotter-single-area h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;
    padding-bottom: 12px;
    position: relative;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.fotter-single-area h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #689be6, transparent);
    border-radius: 2px;
}

/* 联系信息样式 - 极简设计 */
.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 0;
    transition: all 0.25s ease;
}

.contact-details li:hover {
    transform: translateX(4px);
}

.contact-details li img {
    width: 16px;
    height: 16px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 5px;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.25s ease;
}

.contact-details li:hover img {
    opacity: 1;
}

.contact-details li p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    font-weight: 400;
    transition: color 0.25s ease;
}

.contact-details li:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Footer 菜单样式 - 简洁列表 */
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    padding: 4px 0;
    font-weight: 400;
    position: relative;
    line-height: 1.6;
}

.footer-menu a::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background-color: #689be6;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.25s ease;
}

.footer-menu a:hover {
    color: #689be6;
    padding-left: 12px;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0;
}

/* 社交媒体区域 - 现代设计 */
.post-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.post-area > div:first-child {
    margin-bottom: 16px;
}

.post-area img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.post-area img:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 20px rgba(104, 155, 230, 0.3);
    border-color: rgba(104, 155, 230, 0.5);
}

.post-single p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}
/* Footer 响应式 */
@media (max-width: 991px) {
    footer.footer-bg {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .fotter-single-area {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    /* 避免通用 .desktop-only 误伤 header logo */
    .desktop-only:not(.mini-logo) {
        display: none;
    }

    footer.footer-bg {
        padding-top: 50px;
        padding-bottom: 35px;
    }

    .fotter-single-area h4 {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .contact-details li {
        margin-bottom: 18px;
    }

    .contact-details li img {
        width: 14px;
        height: 14px;
        margin-right: 10px;
    }

    .contact-details li p {
        font-size: 13px;
    }

    .footer-menu li {
        margin-bottom: 10px;
    }

    .footer-menu a {
        font-size: 13px;
    }

    .post-area img {
        width: 90px;
    }

    .post-single p {
        font-size: 12px;
    }
}

/* ============================================
   列表/详情/教师页 内联样式合并
   (listcolumn / displayinfo / teacherlist)
   ============================================ */

/* Footer 页脚样式优化 */
footer.footer-bg {
    background-color: #2c3e50;
    color: #ecf0f1;
    position: relative;
}
footer.footer-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #689be6, transparent);
}
.footer-area {
    position: relative;
    z-index: 1;
}
.fotter-single-area {
    margin-bottom: 30px;
}
.fotter-single-area h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #689be6;
    display: inline-block;
}
.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-details li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}
.contact-details li:hover {
    background-color: rgba(104, 155, 230, 0.1);
    transform: translateX(5px);
}
.contact-details li img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-details li p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
}
.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
}
.footer-menu a:hover {
    color: #689be6;
    transform: translateX(5px);
    padding-left: 8px;
}
.post-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.post-area>div:first-child {
    margin-bottom: 15px;
}
.post-area img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}
.post-area img:hover {
    transform: scale(1.05);
}
.post-single p {
    color: #bdc3c7;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 991px) {
    .fotter-single-area {
        margin-bottom: 40px;
    }
    .contact-details li {
        padding: 12px;
    }
}
@media (max-width: 767px) {
    .fotter-single-area h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    .contact-details li {
        padding: 10px;
        margin-bottom: 15px;
    }
    .footer-menu li {
        margin-bottom: 10px;
    }
}

/* 左侧导航样式 (listcolumn / displayinfo / teacherlist) */
.blog-right-sidebar {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
}
.portfolio-meta .working-titel {
    background: linear-gradient(135deg, #689be6 0%, #4a7bc8 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    padding: 18px 20px;
    margin: 0;
    border: none;
    text-align: center;
    letter-spacing: 1px;
}
.portfolio-meta ul {
    background: #fff;
    border: none;
    margin: 0;
    padding: 0;
    list-style: none;
}
.portfolio-meta ul li {
    border-bottom: 1px solid #f0f0f0;
    padding: 0;
    margin: 0;
    transition: all 0.3s ease;
}
.portfolio-meta ul li:last-child {
    border-bottom: none;
}
.portfolio-meta ul li:hover {
    background-color: #f8f9fa;
}
.portfolio-meta ul li.selected {
    background-color: #f0f7ff;
    border-left: 3px solid #689be6;
}
.portfolio-meta ul li.selected:hover {
    background-color: #e6f2ff;
}
.portfolio-meta ul li .sub-nav {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-left: 15px;
    border-left: 2px solid #e0e0e0;
}
.portfolio-meta ul li .sub-nav li {
    margin: 0;
}
.portfolio-meta ul li .sub-nav li a {
    padding: 8px 20px 8px 35px;
    font-size: 14px;
    color: #666;
    background-color: transparent;
    position: relative;
}
.portfolio-meta ul li .sub-nav li a::before {
    left: 20px;
    width: 4px;
    height: 4px;
    background-color: #ccc;
}
.portfolio-meta ul li .sub-nav li a:hover {
    color: #689be6;
    background-color: transparent;
}
.portfolio-meta ul li .sub-nav li a:hover::before {
    background-color: #689be6;
}
.portfolio-meta ul li .sub-nav li.selected a,
.portfolio-meta ul li .sub-nav li.active a {
    color: #689be6;
    font-weight: 500;
}
.portfolio-meta ul li .sub-nav li.selected a::before,
.portfolio-meta ul li .sub-nav li.active a::before {
    background-color: #689be6;
}
.portfolio-meta ul li a {
    display: block;
    color: #333;
    font-size: 15px;
    padding: 14px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 45px;
}
.portfolio-meta ul li a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #689be6;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.portfolio-meta ul li a:hover {
    color: #689be6;
    padding-left: 50px;
    background-color: #f8f9fa;
}
.portfolio-meta ul li a:hover::before {
    width: 8px;
    height: 8px;
    background-color: #689be6;
}
.portfolio-meta ul li span a,
.portfolio-meta ul li.active a,
.portfolio-meta ul li.selected a {
    color: #689be6;
    font-weight: 600;
    background-color: #f0f7ff;
    padding-left: 50px;
}
.portfolio-meta ul li span a::before,
.portfolio-meta ul li.active a::before,
.portfolio-meta ul li.selected a::before {
    width: 8px;
    height: 8px;
    background-color: #689be6;
}
@media (max-width: 991px) {
    .blog-right-sidebar {
        margin-bottom: 30px;
    }
    .portfolio-meta .working-titel {
        font-size: 16px;
        padding: 15px 18px;
    }
    .portfolio-meta ul li a {
        font-size: 14px;
        padding: 12px 18px 12px 40px;
    }
    .portfolio-meta ul li a:hover,
    .portfolio-meta ul li span a,
    .portfolio-meta ul li.active a,
    .portfolio-meta ul li.selected a {
        padding-left: 40px;
    }
}
@media (max-width: 767px) {
    .portfolio-meta .working-titel {
        font-size: 15px;
        padding: 12px 15px;
    }
    .portfolio-meta ul li a {
        font-size: 13px;
        padding: 10px 15px 10px 35px;
    }
    .portfolio-meta ul li a::before {
        left: 15px;
        width: 5px;
        height: 5px;
    }
    .portfolio-meta ul li a:hover,
    .portfolio-meta ul li span a,
    .portfolio-meta ul li.active a,
    .portfolio-meta ul li.selected a {
        padding-left: 35px;
    }
    .portfolio-meta ul li.selected {
        border-left: 2px solid #689be6;
    }
    .portfolio-meta ul li .sub-nav {
        margin-left: 12px;
    }
    .portfolio-meta ul li .sub-nav li a {
        padding: 6px 15px 6px 30px;
        font-size: 13px;
    }
    .portfolio-meta ul li .sub-nav li a::before {
        left: 15px;
    }
}

/* 右侧内容共用：面包屑、标题、内容区 */
.breadcrumb-nav {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 25px;
}
.breadcrumb-nav a {
    color: #689be6;
    text-decoration: none;
    transition: all 0.3s ease;
}
.breadcrumb-nav a:hover {
    color: #4a7bc8;
    text-decoration: underline;
}
.breadcrumb-nav span {
    color: #666;
}
.col-md-9 {
    padding-left: 30px;
}
.list-title-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #689be6;
}
.list-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* 列表页 listcolumn：新闻列表 */
.news-list-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 20px 25px;
    margin-bottom: 30px;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item:hover {
    background-color: #f8f9fa;
    padding-left: 5px;
    padding-right: 5px;
    margin-left: -5px;
    margin-right: -5px;
    border-radius: 4px;
}
.news-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: #f0f7ff;
    color: #689be6;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}
.news-title {
    flex: 1;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.6;
    transition: all 0.3s ease;
    margin-right: 20px;
}
.news-title:hover {
    color: #689be6;
    text-decoration: underline;
}
.news-date {
    color: #999;
    font-size: 14px;
    white-space: nowrap;
    flex-shrink: 0;
}
.pagination-info {
    margin-bottom: 25px;
    padding: 15px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.pagination-info strong {
    color: #689be6;
    font-weight: 600;
    font-size: 15px;
}
@media (max-width: 991px) {
    .col-md-9,
    .col-sm-9 {
        padding-left: 15px;
    }
    .list-title {
        font-size: 20px;
    }
    .news-list-container {
        padding: 15px 20px;
    }
}

@media (max-width: 767px) {
    /* 解决列表页 (listcolumn)、详情页 (displayinfo)、教师页 (teacherlist) 
       在小屏幕（<768px）下侧边栏与主内容左右 25%/75% 挤压变形问题：
       全面解除 Bootstrap 5 col-sm-3 / col-sm-9 限制，转为上下单列堆叠全宽布局 */
    .blog-area .row > .col-md-3,
    .blog-area .row > .col-sm-3,
    .blog-leftbar .row > .col-md-3,
    .blog-leftbar .row > .col-sm-3,
    .blog-area .col-md-3,
    .blog-area .col-sm-3 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        margin-bottom: 20px !important;
    }

    .blog-area .row > .col-md-9,
    .blog-area .row > .col-sm-9,
    .blog-leftbar .row > .col-md-9,
    .blog-leftbar .row > .col-sm-9,
    .blog-area .col-md-9,
    .blog-area .col-sm-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
    }

    .blog-area .col-md-12,
    .blog-area .col-sm-12 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        /* padding-left: 0 !important; */
        /* padding-right: 0 !important; */
    }

    /* 侧边栏菜单在移动端单列全宽展示：文字水平展开，彻底消除纵向文字折行 */
    .blog-right-sidebar {
        margin-bottom: 20px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06) !important;
        overflow: hidden !important;
        width: 100% !important;
    }

    .portfolio-meta .working-titel {
        font-size: 16px !important;
        padding: 12px 16px !important;
        text-align: center !important;
    }

    .portfolio-meta ul li a {
        font-size: 14px !important;
        padding: 11px 16px 11px 38px !important;
        white-space: nowrap !important;
    }

    .portfolio-meta ul li .sub-nav {
        margin-left: 15px !important;
    }

    .portfolio-meta ul li .sub-nav li a {
        font-size: 13px !important;
        padding: 8px 16px 8px 36px !important;
        white-space: nowrap !important;
    }

    /* 面包屑导航与栏目标题 */
    .breadcrumb-nav {
        margin-bottom: 15px !important;
        padding: 10px 14px !important;
        font-size: 13px !important;
        border-radius: 6px !important;
        width: 100% !important;
    }

    .list-title-section {
        margin-bottom: 15px !important;
        padding-bottom: 10px !important;
        border-bottom: 2px solid #689be6 !important;
        width: 100% !important;
    }

    .list-title {
        font-size: 18px !important;
        font-weight: 600 !important;
    }

    /* 新闻列表容器与条目排版：左侧序号、中间标题自适应、右侧日期对齐 */
    .news-list-container {
        padding: 15px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    .news-item {
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        padding: 12px 0 !important;
        gap: 10px !important;
    }

    /* 移动端去除新闻列表序号，标题直接靠左自适应对齐 */
    .news-number {
        display: none !important;
    }

    .news-title {
        flex: 1 1 auto !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin: 0 !important;
        word-break: break-word !important;
    }

    .news-date {
        flex: 0 0 auto !important;
        font-size: 12px !important;
        color: #999 !important;
        white-space: nowrap !important;
        margin-top: 2px !important;
    }

    /* 页面分页样式居中与自适应 */
    .pagination-info {
        width: 100% !important;
        padding: 12px 10px !important;
        font-size: 13px !important;
        line-height: 1.8 !important;
        text-align: center !important;
        word-break: break-word !important;
        margin: 15px 0 30px !important;
        border-radius: 6px !important;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05) !important;
    }
}

/* 详情页 displayinfo：文章内容与导航 */
.content-detail-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 30px 35px;
    margin-bottom: 30px;
}
.article-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    line-height: 1.4;
}
.article-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
    color: #666;
    font-size: 14px;
}
.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.article-meta i {
    color: #689be6;
}
.article-content {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.article-content p {
    margin-bottom: 0;
}
.article-content p:has(img) {
    margin-bottom: 0px;
}
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.article-content h2,
.article-content h3 {
    color: #333;
    font-weight: 600;
    margin: 25px 0 15px 0;
}
.article-content h2 {
    font-size: 22px;
}
.article-content h3 {
    font-size: 18px;
}
.article-content ul,
.article-content ol {
    margin: 15px 0;
    padding-left: 30px;
}
.article-content li {
    margin-bottom: 10px;
}

.article-content table p {
    margin-bottom: 0;
}
.article-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    padding: 20px 0 !important;
    border-top: 1px solid #e0e0e0 !important;
    margin-top: 30px !important;
    width: 100% !important;
}
.nav-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    width: 100% !important;
    padding: 12px 20px !important;
    background: #f8f9fa !important;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 6px !important;
    transition: all 0.3s ease !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    box-sizing: border-box !important;
}
.nav-btn span {
    display: block !important;
    width: 100% !important;
    text-align: left !important;
    word-break: break-word !important;
    margin: 0 !important;
    padding: 0 !important;
}
.nav-btn:hover {
    background: #689be6 !important;
    color: #fff !important;
    transform: translateX(4px) !important;
}
.nav-btn.next:hover {
    transform: translateX(4px) !important;
}
/* 彻底隐藏箭头图标，杜绝上一篇/下一篇因 HTML 内置图标位置不一致造成的左缩进不对齐 */
.nav-btn i {
    display: none !important;
}
.back-to-list {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #689be6 0%, #4a7bc8 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    margin-top: 20px;
}
.back-to-list:hover {
    background: linear-gradient(135deg, #5a8bd6 0%, #3a6bb8 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 155, 230, 0.3);
}
@media (max-width: 991px) {
    .content-detail-container {
        padding: 25px 25px;
    }
    .article-title {
        font-size: 24px;
    }
    .article-content {
        font-size: 15px;
    }
    .article-nav {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .nav-btn {
        width: 100% !important;
        justify-content: flex-start !important;
        text-align: left !important;
        padding: 12px 18px !important;
        box-sizing: border-box !important;
    }
    .nav-btn span {
        text-align: left !important;
        flex: 1 1 auto !important;
    }
}
@media (max-width: 767px) {
    .content-detail-container {
        padding: 20px 18px;
    }
    .article-title {
        font-size: 20px;
    }
    .article-meta {
        font-size: 13px;
        gap: 15px;
    }
    .article-content {
        font-size: 14px;
        line-height: 1.7;
    }
    .article-content h2 {
        font-size: 18px;
    }
    .article-content h3 {
        font-size: 16px;
    }
    .nav-btn {
        font-size: 13px !important;
        padding: 10px 15px !important;
        justify-content: flex-start !important;
        text-align: left !important;
    }
    .nav-btn span {
        text-align: left !important;
    }
    .back-to-list {
        font-size: 13px;
        padding: 8px 20px;
    }
}

/* 教师页 teacherlist：教师列表 */
.teacher-list-container {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 25px 30px;
    margin-bottom: 30px;
}
.teacher-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.teacher-item {
    text-align: center;
    transition: all 0.3s ease;
}
.teacher-item:hover {
    transform: translateY(-5px);
}
.teacher-image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.teacher-item:hover .teacher-image-wrapper {
    box-shadow: 0 4px 16px rgba(104, 155, 230, 0.3);
}
.teacher-image-wrapper:before{
    content: "";
    display:block;
    padding-top: 150%;
}
.teacher-image {
    position:absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.teacher-item:hover .teacher-image {
    transform: scale(1.05);
}
.teacher-name {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.4;
}
.teacher-name:hover {
    color: #689be6;
}
@media (max-width: 991px) {
    .teacher-list-container {
        padding: 20px 20px;
    }
    .teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 20px;
    }
}
@media (max-width: 767px) {
    .teacher-list-container {
        padding: 15px 15px;
    }
    .teacher-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 15px;
    }
    .teacher-name {
        font-size: 14px;
    }
}

.pager{display: flex;justify-content: center;align-items:center;padding: 20px 0;}
.pager a{display: block;background: #f4f4f5;transition: 0.3s;cursor: pointer;color: #606266;font-size: 14px;border-radius: 4px;line-height: 30px;height: 30px;padding: 0 10px;}
.pager a:not(:last-child){margin-right: 10px;}
.pager a:hover{color: #4a7bc8 ;}
.pager a.current{background-color: #4a7bc8 ;color: #fff}

@media screen and (max-width: 800px){
	.pager a{display: none;}
	.pager a.btn{display: block;}
	
}


.teacher_row{
margin-right: 0;
margin-left: 0;
}

.list_row{
margin-right: 0;
margin-left: 0;
}