﻿/* 公共样式 - 湖大经贸学院红色主题 */

/* 容器 */
.container {
    width: 100%;
    max-width: 1587px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* 导航栏容器 */
.nav-container {
    width: 100%;
    max-width: 1587px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ========== 顶部通栏（内页与首页共用） ========== */
.site-header {
    width: 100%;
}

.top-bar {
    height: 100px;
    background: #C41E24;
}

.top-bar .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 1587px;
}

.top-bar-logo img {
    height: 62px;
    width: auto;
    display: block;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    right: 20px;
}

.top-search {
    position: relative;
    width: 234px;
    height: 36px;
}

.top-search input[type="text"] {
    width: 100%;
    height: 36px;
    padding: 0 45px 0 18px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    color: #B66566;
    background: #FFFFFF;
    outline: none;
    box-sizing: border-box;
}

.top-search input::placeholder {
    color: #B66566;
}

.top-search .top-search-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 19px;
    height: 19px;
    border: none;
    padding: 0;
    cursor: pointer;
}

.lang-switch {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
}

.lang-switch a {
    color: #FFFFFF;
    text-decoration: none;
}

.lang-switch a:hover {
    font-weight: 500;
}

/* 主导航 */
.main-nav {
    background: #C41E24;
    height: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.main-nav .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* 移动端导航logo链接 - PC端隐藏 */
.nav-logo-link {
    display: none;
}

.nav-logo-link img {
    height: 28px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 38px;
    display: block;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: block;
    padding: 0 17px;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s;
    white-space: nowrap;
    text-decoration: none;
}

.nav-menu li a:hover {
    background: #B32D2B;
    color: #fff;
}

/* ========== 二级菜单 ========== */
.nav-menu li.has-submenu {
    position: relative;
}

.nav-menu li.has-submenu .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(193, 52, 50, 0.9);
    min-width: 192px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
}

.nav-menu li.has-submenu:hover .sub-menu {
    opacity: 1;
    visibility: visible;
}

.nav-menu li.has-submenu .sub-menu li {
    display: block;
    width: 100%;
}

.nav-menu li.has-submenu .sub-menu li a {
    display: block;
    padding: 0 20px;
    height: 44px;
    line-height: 44px;
    font-size: 16px;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.nav-menu li.has-submenu .sub-menu li a:hover {
    background: #CF955E;
}

/* 导航栏搜索按钮 */
.search-btn-nav {
    display: none;
    width: 22px;
    height: 22px;
    background: transparent url('../hnu-images/lanhu/icon-search-red@2x.png') center center no-repeat;
    background-size: contain;
    border: none;
    cursor: pointer;
    margin-left: 12px;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.search-btn-nav:hover {
    opacity: 0.8;
}

/* 汉堡菜单按钮 - 默认隐藏 */
.hamburger-btn {
    display: none;
}

/* PC端展开按钮 - 默认隐藏 */
.pc-nav-toggle {
    display: none;
}

/* PC端导航菜单覆盖层 - 保留结构但首页不使用 */
.pc-nav-overlay {
    display: none !important;
}

/* 右侧悬浮导航 */
.side-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-dot {
    display: block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(196, 30, 36, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s;
    cursor: pointer;
}

.side-dot:hover,
.side-dot.active {
    background: #C41E24;
    border-color: #fff;
    box-shadow: 0 0 0 2px #C41E24;
}

/* 更多按钮 */
.more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 30px;
    background: #C41E24;
    color: #fff;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
    transition: background 0.3s;
}

.more-btn::after {
    content: '';
    display: inline-block;
    width: 18px;
    height: 8px;
    background: url('../hnu-images/icon-arrow-right.png') center center no-repeat;
    background-size: contain;
    margin-left: 4px;
}

.more-btn:hover {
    background: #A3181D;
}

/* 详情按钮 */
.detail-btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #C41E24;
    color: #C41E24;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 20px;
    text-decoration: none;
}

.detail-btn:hover {
    background: #C41E24;
    color: #fff;
}

/* 区块标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 600;
    color: #333;
    position: relative;
    padding-left: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: #C41E24;
    border-radius: 2px;
}



.section-header h2 .section-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* 搜索弹窗 */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    display: flex;
}

.search-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.search-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
    box-sizing: border-box;
}

.search-modal-close {
    position: fixed;
    top: 30px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
    z-index: 10001;
}

.search-modal-close:hover {
    opacity: 1;
}

.search-modal-form {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.search-modal-form input[type="text"] {
    flex: 1;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    font-size: 16px;
    outline: none;
}

.search-modal-form input::placeholder {
    color: #999;
}

.search-modal-btn {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

/* ==================== 底部栏公共样式 ==================== */
.page-footer,
.subjects-footer {

    color: #fff;
    width: 100%;
}

.footer-content {
    position: relative;
    z-index: 1;
    margin: 0 auto;
    /* padding: 22px 15px 0; */
    box-sizing: border-box;
}

.footer-row-top {
    width: 100%;
    background: #C41E24 url('../hnu-images/lanhu/footer-bg@2x.png') center bottom no-repeat;
    background-size: 100% 100%;
}

.footer-row-top-inner {
    max-width: 1587px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    height: 114px;
    align-items: center;
}

.footer-main {
    display: flex;
    gap: 72px;
    align-items: center;
}

.footer-logo img {
    width: 313px;
    height: 47px;
    display: block;
}

.footer-contact-info {
    display: flex;
    gap: 67px;
    align-items: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

.footer-contact-item img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.footer-contact-item span {
    display: flex;
    flex-direction: column;
}

.footer-contact-item .label-en {
    font-size: 18px;
    color: #FFFFFF;
    font-style: normal;
}

/* 学院微信二维码悬停展示 */
.wechat-qrcode {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(10px);
    width: 120px;
    height: 120px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.wechat-qrcode img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-contact-item:hover .wechat-qrcode {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.footer-row-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #333333;
    height: 55px;
    color: #BEBEBE;
}

.footer-address {
    line-height: 1.8;
    font-size: 16px;
    text-align: left;
    color: #FFFFFF;
}

/* 旧版 footer links 兼容样式（其他子页可能仍使用） */
.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.footer-contact {
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
    color: rgba(255, 255, 255, 0.9);
}

/* ========== 回到顶部按钮 ========== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 48px;
    height: 48px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #C41E24;
    border-color: #C41E24;
}

.back-to-top::before {
    content: '';
    width: 12px;
    height: 12px;
    border-top: 2px solid #666;
    border-right: 2px solid #666;
    transform: rotate(-45deg);
    margin-top: 4px;
    transition: border-color 0.3s ease;
}

.back-to-top:hover::before {
    border-top-color: #fff;
    border-right-color: #fff;
}

/* ==================== 内页公共布局 ==================== */
.inner-page,
.home-page {
    background: #fff;
}


/* 面包屑 */
.breadcrumb {
    max-width: 1587px;
    margin: 0 auto;
    padding: 44px 0;
    font-size: 14px;
    color: #8C8C8C;
}

.breadcrumb-prefix {
    color: #8C8C8C;
}

.breadcrumb a {
    color: #8C8C8C;
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #C41E24;
}

.breadcrumb .separator {
    margin: 0 4px;
    color: #8C8C8C;
}

.breadcrumb .current {
    color: #C41E24;
}

/* 内页主体 */
.inner-main {
    max-width: 1587px;
    margin: 0 auto;
    /* padding: 12px 15px 70px; */
    display: flex;
    gap: 75px;
    align-items: flex-start;
    justify-content: space-between;
}

/* 侧边栏 */
.sidebar {
    width: 340px;
    flex-shrink: 0;
    background: #fff;
    overflow: hidden;
}

.sidebar-header {
    height: 100px;
    background:  url('../hnu-images/teachers/faculty-section-title-bg@2x.png') center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
}

.sidebar-menu {
    width: 320px;
    margin: 0 auto;
    padding: 20px 0 30px;
    background: #fff;
    border: 1px solid #EEEEEE;
}

.sidebar-menu-item {
    position: relative;
}

.sidebar-menu-item>a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    /* height: 50px; */
    color: #333333;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s;
    line-height: 64px;

}

.sidebar-menu-item>a:hover {
    color: #C13432;
}

.sidebar-menu-item.active>a {
    width: calc(100% - 24px);
    max-width: 296px;
    height: 60px;
    margin: 0 auto;
    color: #C13432;
    background: url('../hnu-images/teachers/faculty-tab-bg@2x.png') center center no-repeat;
    background-size: cover;
    border-radius: 4px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-menu-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    background: url('../hnu-images/teachers/icon-scholar@2x.png') center center no-repeat;
    background-size: contain;
}

.sidebar-submenu {
    display: none;
    background: #fff;
    padding: 5px 0;
}

.sidebar-menu-item.open .sidebar-submenu {
    display: block;
}

.sidebar-submenu li a {
    display: block;
    padding: 0 20px 0 40px;
    height: 40px;
    line-height: 40px;
    color: #666;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s;
    
}

.sidebar-submenu li a:hover,
.sidebar-submenu li a.active {
    color: #C13432;
    text-decoration: underline;
}

.sidebar-arrow {
    position: absolute;
    right: 20px;
    width: 19px;
    height: 17px;
    background: url('../hnu-images/teachers/icon-arrow-down@2x.png') center center no-repeat;
    background-size: contain;
    transition: transform 0.3s;
    opacity: 0.7;
}

.sidebar-menu-item.open .sidebar-arrow {
    transform: rotate(180deg);
}

/* 内容区域 */
.content-area {
    flex: 1;
    min-width: 0;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1200px) {
    .nav-menu li a {
        padding: 0 10px;
        font-size: 14px;
    }

    .main-nav {
        height: 60px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo img {
        height: 34px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 0 20px;
        height: 48px;
        line-height: 48px;
        font-size: 16px;
        color: #333;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu li a.active {
        color: #C41E24;
        background: #FFF5F5;
    }

    .nav-menu li:last-child a {
        border-bottom: none;
    }

    /* 移动端二级菜单样式 */
    .nav-menu li.has-submenu .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        background: #f8f9fa;
        min-width: auto;
    }

    .nav-menu li.has-submenu.active .sub-menu {
        display: block;
    }

    .nav-menu li.has-submenu .sub-menu li a {
        height: 42px;
        line-height: 42px;
        font-size: 14px;
        padding-left: 40px;
        color: #555;
        /* border-bottom: 1px solid #eee; */
    }

    .nav-menu li.has-submenu .sub-menu li:last-child a {
        border-bottom: none;
    }

    /* 移动端三级菜单样式 */
    .nav-menu li.has-submenu .sub-menu li.has-submenu > a {
        /* padding-left: 52px;
        font-size: 13px; */
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu > a::before {
        content: '-';
        margin-right: 4px;
        color: #999;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu {
        background: #f0f0f0;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu li a {
        height: 38px;
        line-height: 38px;
        padding-left: 68px;
        font-size: 13px;
        color: #666;
        border-bottom: 1px solid #e5e5e5;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu li:last-child a {
        border-bottom: none;
    }

    .search-btn-nav {
        display: inline-flex;
        margin-left: auto;
        background-image: url('../hnu-images/icon-search.png');
        filter: brightness(0) invert(1);
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        background: transparent;
        border: none;
        cursor: pointer;
        margin-left: 12px;
        padding: 0;
        gap: 5px;
    }

    .hamburger-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .footer-row-top-inner {
        flex-direction: column;
        gap: 25px;
        height: auto;
        padding: 24px 15px;
        text-align: center;
    }

    .footer-main {
        flex-direction: column;
        gap: 25px;
        width: 100%;
    }

    .footer-contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .footer-row-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        height: auto;
        padding: 12px;
    }
}

@media (max-width: 768px) {
    /* 移动端导航菜单 ul 去掉 padding，使 li 从顶部开始排列，与首页移动端保持一致 */
    .nav-menu {
        padding: 0;
    }

    .section-header h2 {
        font-size: 22px;
    }

    .section-header h2::before {
        height: 18px;
    }

    .more-btn {
        width: 80px;
        height: 28px;
        font-size: 12px;
    }

    .search-modal-form {
        flex-direction: row;
        gap: 10px;
        padding: 0 15px;
    }

    .search-modal-form input[type="text"] {
        flex: 1;
        width: auto;
        text-align: left;
    }

    .search-modal-btn {
        cursor: pointer;
        flex-shrink: 0;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }

    .back-to-top::before {
        width: 10px;
        height: 10px;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        width: 100%;
    }

    /* 内页移动端 */
    .top-bar {
        display: none !important;
    }

    /* 移动端顶部栏与首页保持一致 */
    body {
        overflow-x: hidden;
    }

    body.menu-open {
        overflow: hidden;
    }

    .main-nav {
        height: 56px;
        background: #C41E24;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        position: relative;
    }

    .main-nav .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        padding: 0 15px;
    }

    /* 左侧 Logo：使用白色版本 */
    .main-nav .nav-container::before {
        display: none;
    }

    /* 移动端显示logo链接 */
    .nav-logo-link {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .nav-logo-link img {
        width: 180px;
        height: 28px;
        object-fit: contain;
    }

    .search-btn-nav {
        display: block;
        width: 22px;
        height: 22px;
        background: transparent url('../hnu-images/icon-search.png') center center no-repeat;
        background-size: contain;
        filter: brightness(0) invert(1);
        border: none;
        cursor: pointer;
        margin-left: auto;
        margin-right: 16px;
        flex-shrink: 0;
    }

    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 24px;
        height: 24px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        gap: 5px;
        flex-shrink: 0;
    }

    .hamburger-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* 移动端全屏菜单 */
    .nav-menu {
        display: none;
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #C41E24;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
        list-style: none;
        z-index: 999;
        overflow-y: auto;
        box-shadow: none;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .nav-menu li a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 54px;
        padding: 0 20px;
        font-size: 17px;
        color: #fff;
        background: transparent;
        border-bottom: none;
        line-height: normal;
    }

    .nav-menu li.has-submenu > a::after {
        content: '+';
        font-size: 22px;
        font-weight: 300;
        color: #fff;
        line-height: 1;
    }

    .nav-menu li.has-submenu.active > a::after {
        content: '?';
    }

    .nav-menu li a.active {
        color: #fff;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-menu li a:hover {
        color: #fff;
    }

    .nav-menu li.has-submenu .sub-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: rgba(0, 0, 0, 0.08);
        min-width: auto;
    }

    .nav-menu li.has-submenu.active .sub-menu {
        display: block;
    }

    .nav-menu li.has-submenu .sub-menu li {
        border-bottom: none;
    }

    .nav-menu li.has-submenu .sub-menu li a {
        display: flex;
        height: 46px;
        padding: 0 20px;
        font-size: 15px;
        color: rgba(255, 255, 255, 0.9);
        justify-content: flex-start;
        line-height: normal;
    }

    .nav-menu li.has-submenu .sub-menu li a::after {
        content: none;
    }

    .nav-menu li.has-submenu .sub-menu li a::before {
        content: '-';
        margin-right: 6px;
        color: rgba(255, 255, 255, 0.7);
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu {
        display: flex;
        flex-wrap: wrap;
        background: rgba(0, 0, 0, 0.12);
        padding: 0 20px;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu li {
        width: auto;
        border-bottom: none;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu li a {
        height: auto;
        padding: 5px 10px;
        font-size: 13px;
        color: rgba(255, 255, 255, 0.85);
        border-bottom: none;
        white-space: nowrap;
    }

    .nav-menu li.has-submenu .sub-menu li.has-submenu .sub-menu li a::before {
        content: none;
    }

    .breadcrumb {
        padding: 12px 15px;
        font-size: 12px;
    }

    .inner-main {
        flex-direction: column;
        padding: 10px 15px 40px;
        gap: 20px;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-header {
        height: 56px;
        font-size: 20px;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .sidebar-menu-item {
        flex: 1 1 auto;
        min-width: 100px;
    }

    .sidebar-menu-item>a {
        justify-content: center;
        padding: 0 12px;
        height: 44px;
        font-size: 14px;
        border-bottom: 2px solid transparent;
    }

    .sidebar-menu-item.active>a,
    .sidebar-menu-item>a:hover {
        background: #fff;
        color: #C41E24;
        border-bottom-color: #C41E24;
    }

    .sidebar-arrow {
        display: inline-block;
        position: static;
        width: 14px;
        height: 12px;
        margin-left: 4px;
        vertical-align: middle;
        opacity: 0.7;
        transform: none;
    }

    .sidebar-menu-item.open .sidebar-arrow {
        transform: rotate(180deg);
    }

    .sidebar-submenu {
        display: none;
        width: 100%;
        background: #f8f9fa;
        padding: 0;
        border-top: 1px solid #eee;
    }

    .sidebar-menu-item.open .sidebar-submenu {
        display: block;
    }

    .sidebar-submenu li a {
        display: block;
        padding: 0 10px;
        height: 38px;
        line-height: 38px;
        font-size: 13px;
        color: #555;
        text-align: center;
        text-decoration: none;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sidebar-submenu li a.active,
    .sidebar-submenu li a:hover {
        color: #C13432;
        text-decoration: none;
        background: #fff5f5;
    }

    .sidebar-submenu li:last-child a {
        border-bottom: none;
    }

    /* ---------- 页脚 - 所有页面移动端统一 ---------- */
    .page-footer {
        margin-top: 0;
    }

    .footer-row-top {
        background: transparent;
    }

    .footer-row-top-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 139px;
        padding: 20px 15px;
        text-align: center;
        background-image: url('../hnu-images/home/bottomBg.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        max-width: none;
        border-bottom: none;
    }

    .footer-main {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .footer-logo img {
        width: 205px;
        height: 31px;
        display: block;
        margin: 0 auto;
    }

    .footer-contact-info {
        display: none;
    }

    .footer-address {
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
        line-height: 2;
        text-align: center;
        margin-top: 10px;
    }

    .footer-row-bottom {
        height: 33px;
        background: #333333;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0;
        border-top: none;
    }

    .footer-copyright {
        font-weight: 400;
        font-size: 12px;
        color: #FFFFFF;
        text-align: center;
        visibility: hidden;
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-copyright::after {
        content: "Copyright ? 2025湖南大学经济与贸易学院版权所有";
        visibility: visible;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        white-space: nowrap;
    }
}

/* ==================== 响应式适配补充（teachers.html 全分辨率） ==================== */

/* 1200px–1920px：以 1920px 为基准的等比例缩放 */
@media (min-width: 1201px) and (max-width: 1920px) {
    .nav-menu li a {
        font-size: clamp(14px, 0.83vw, 16px);
        padding: 0 clamp(9px, 0.89vw, 17px);
    }

    .top-bar-logo img {
        height: clamp(45px, 3.23vw, 62px);
    }

    .top-search {
        width: clamp(170px, 12.2vw, 234px);
    }

    .lang-switch {
        font-size: clamp(14px, 0.83vw, 16px);
    }

    .breadcrumb {
        padding-top: clamp(24px, 2.3vw, 44px);
        padding-bottom: clamp(24px, 2.3vw, 44px);
        font-size: clamp(13px, 0.73vw, 14px);
    }

    .inner-main {
        gap: clamp(30px, 3.9vw, 75px);
    }

    .sidebar {
        width: clamp(280px, 17.7vw, 340px);
    }

    .sidebar-header {
        height: clamp(70px, 5.2vw, 100px);
        font-size: clamp(18px, 1.25vw, 24px);
    }

    .sidebar-menu {
        width: calc(100% - clamp(10px, 1.04vw, 20px));
        padding: clamp(15px, 1.04vw, 20px) 0 clamp(20px, 1.56vw, 30px);
    }

    .sidebar-menu-item>a {
        font-size: clamp(15px, 1.04vw, 20px);
        line-height: clamp(48px, 3.3vw, 64px);
    }

    .sidebar-menu-item.active>a {
        width: clamp(185px, 15.42vw, 296px);
        height: clamp(44px, 3.125vw, 60px);
        background-size: cover;
    }

    .sidebar-submenu li a {
        font-size: clamp(13px, 0.83vw, 16px);
        height: clamp(36px, 2.1vw, 40px);
        line-height: clamp(36px, 2.1vw, 40px);
    }

    .sidebar-arrow {
        right: clamp(8px, 1.04vw, 20px);
        width: clamp(14px, 0.99vw, 19px);
        height: clamp(13px, 0.89vw, 17px);
    }

    .footer-row-top-inner {
        height: clamp(90px, 5.94vw, 114px);
        padding-left: clamp(15px, 2vw, 40px);
        padding-right: clamp(15px, 2vw, 40px);
    }

    .footer-main {
        gap: clamp(30px, 3.75vw, 72px);
    }

    .footer-contact-info {
        gap: clamp(25px, 3.49vw, 67px);
    }

    .footer-contact-item {
        font-size: clamp(14px, 0.94vw, 18px);
    }



    .footer-contact-item .label-en {
        font-size: clamp(14px, 0.94vw, 18px);
    }

    .footer-logo img {
        width: clamp(220px, 16.3vw, 313px);
        height: auto;
    }

    .footer-address {
        font-size: clamp(13px, 0.83vw, 16px);
    }

    .footer-row-bottom {
        height: clamp(44px, 2.86vw, 55px);
        font-size: clamp(13px, 0.83vw, 16px);
    }
}

/* ≤1200px：紧凑桌面布局 */
@media (max-width: 1200px) {
    .breadcrumb {
        padding: 24px;
        font-size: 13px;
    }

    .inner-main {
        width: 100%;
        padding: 0 24px 60px;
        gap: 30px;
        box-sizing: border-box;
    }

    .sidebar {
        width: 280px;
    }

    .sidebar-header {
        height: 80px;
        font-size: 20px;
    }

    .sidebar-menu {
        width: calc(100% - 20px);
        padding: 15px 0 20px;
    }

    .sidebar-menu-item>a {
        font-size: 17px;
        line-height: 52px;
    }

    .sidebar-submenu li a {
        font-size: 14px;
        height: 38px;
        line-height: 38px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ≤992px：平板/窄屏，侧边栏与内容区上下堆叠 */
@media (max-width: 992px) {
    .inner-main {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        padding-bottom: 50px;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar-header {
        height: 64px;
        font-size: 18px;
    }

    .sidebar-menu {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
        border-left: none;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .sidebar-menu-item {
        flex: 1 1 auto;
        min-width: 110px;
        border-bottom: 1px solid #f0f0f0;
    }

    .sidebar-menu-item>a {
        justify-content: center;
        padding: 0 16px;
        height: 48px;
        line-height: 48px;
        font-size: 15px;
        border-bottom: 2px solid transparent;
    }

    .sidebar-menu-item.active>a,
    .sidebar-menu-item>a:hover {
        width: auto;
        height: auto;
        margin: 0;
        background: transparent;
        color: #C13432;
        border-bottom-color: #C13432;
        border-radius: 0;
    }

    .sidebar-arrow {
        position: static;
        display: inline-block;
        width: 14px;
        height: 12px;
        margin-left: 6px;
        vertical-align: middle;
        transform: none;
    }

    .sidebar-menu-item.open .sidebar-arrow {
        transform: rotate(180deg);
    }

    .sidebar-submenu {
        width: 100%;
        background: #f8f9fa;
        border-top: 1px solid #eee;
    }

    .sidebar-menu-item.open .sidebar-submenu {
        display: block;
    }

    .sidebar-submenu li a {
        padding: 0 10px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
        text-align: center;
        border-bottom: 1px solid #eee;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .footer-row-top-inner {
        flex-direction: column;
        height: auto;
        padding: 24px 15px;
        gap: 18px;
        text-align: center;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .footer-contact-info {
        flex-wrap: wrap;
        justify-content: center;
        gap: 24px;
    }

    .footer-logo img {
        width: auto;
        max-width: 260px;
        height: auto;
    }

    .footer-address {
        text-align: center;
        font-size: 14px;
    }
}

/* ≤768px：移动端侧边栏 Tab 化补充 */
@media (max-width: 768px) {
    .sidebar-header {
        height: 56px;
        font-size: 17px;
    }

    .sidebar-menu-item {
        min-width: 90px;
    }

    .sidebar-menu-item>a {
        padding: 0 12px;
        height: 44px;
        line-height: 44px;
        font-size: 14px;
    }

    .sidebar-submenu li a {
        height: 38px;
        line-height: 38px;
        font-size: 13px;
    }

    .footer-contact-info {
        gap: 18px;
    }

    .footer-contact-item {
        font-size: 14px;
    }

    .footer-contact-item img {
        width: 36px;
        height: 36px;
    }

    .footer-contact-item .label-en {
        font-size: 13px;
    }
}

/* ≤576px：小屏手机微调 */
@media (max-width: 576px) {
    .breadcrumb {
        padding: 12px 10px;
        font-size: 11px;
    }

    .breadcrumb .separator {
        margin: 0 4px;
    }

    .sidebar-menu-item {
        min-width: 80px;
    }

    .sidebar-menu-item>a {
        padding: 0 10px;
        font-size: 13px;
    }

    .sidebar-submenu li a {
        font-size: 12px;
    }

    .footer-row-top-inner {
        padding: 20px 12px;
    }

    .footer-contact-info {
        gap: 14px;
    }

    .footer-contact-item {
        font-size: 13px;
    }

    .footer-address {
        font-size: 12px;
        line-height: 1.7;
    }

    .footer-row-bottom {
        font-size: 12px;
        height: auto;
        padding: 12px;
        text-align: center;
    }
}