* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


    :root {
        --blue: #007bff;
        --indigo: #6610f2;
        --purple: #6f42c1;
        --pink: #e83e8c;
        --red: #dc3545;
        --orange: #fd7e14;
        --yellow: #ffc107;
        --green: #28a745;
        --teal: #20c997;
        --cyan: #17a2b8;
        --white: #fff;
        --gray: #6c757d;
        --gray-dark: #343a40;
        --primary: #007bff;
        --secondary: #6c757d;
        --success: #28a745;
        --info: #17a2b8;
        --warning: #ffc107;
        --danger: #dc3545;
        --light: #f8f9fa;
        --dark: #343a40;
        --breakpoint-xs: 0;
        --breakpoint-sm: 576px;
        --breakpoint-md: 768px;
        --breakpoint-lg: 992px;
        --breakpoint-xl: 1200px;
        --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    }
}

body {
    font-family: "微软雅黑", "Microsoft YaHei", "黑体", "Heiti SC", "PingFang SC", Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #fff;
    /* 移动端兼容性优化 */
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 顶部容器样式 */
.topBox {
    width: 100% !important;
    background: url(../../images/side_bg.png) center no-repeat;
    background-size: cover;
    background-position: center center;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    height: auto;
}

.logoBox {
    height: 90px;
}

.yuanxunBox {
    height: 55px;
}

/* PC端专属元素：大屏时显示，小屏隐藏 */
.pc-only {
    display: block;
}


/* 搜索框样式 */
.BD-searchBox {
    color: #fff;
    /* 增加文字颜色，保证可读性 */
    padding: 5px 10px;
}

/* 移动端菜单按钮样式 */
.mobile-menu-btn {
    border: none;
    background: transparent;
    cursor: pointer;
}

.icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    border: #fff 1px solid;
    margin: 4px 0;
}

/* 轮播图样式 - 响应式高度 */
.BD-slideBox {
    width: 100%;
    margin-bottom: 10px;
}

/* 轮播图片大屏显示时居中*/
#myCarousel .item img {
    margin: 0 auto !important;
}

.margin-top-20 {
    margin-top: 20px;
}

/* 头条区域样式 */
.BD-toutiaoBox {
    margin-top: 15px;
    background: url(../../images/tag.png) left top no-repeat #f3f4f5;
    background-size: auto 30%;
    text-align: center;
    border-radius: 4px;
    padding-left: 0;
}

.slogan {
    background: url(../../images/zhuantitu/yuanxun.jpg) center top no-repeat #f3f4f5;
    background-size: cover;
    height: 140px;
    margin-top: 10px;
    display: none;
}

/* 学院要闻/系部动态Tab样式 */
#myTab>li>a {
    color: #333;
    font-size: 16px;
}

/* 修复 Tab 小屏竖向排列问题：所有屏幕保持横向等宽 */
#myTab.nav-tabs.nav-justified>li {
    display: table-cell !important;
    width: 1% !important;
    float: none !important;
}

#myTab.nav-tabs>li>a {
    margin-bottom: 0 !important;
}

.nav-tabs.nav-justified>.active>a,
.nav-tabs.nav-justified>.active>a:focus,
.nav-tabs.nav-justified>.active>a:hover {
    color: #fff;
    background-color: #2f80ed;
}

.nav-tab .nav-justified>li>a {
    font-size: 16px;
}

.tab-pane>li {
    font-size: 1.5rem;
    line-height: 55px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #dfe2e9;
}

.tab-pane>li>a {
    color: #333;
    font-size: 1.5rem;
    background: url(../../images/list_ico.png) 3px center no-repeat;
    padding-left: 30px;
}


/* 激活时显示 */
.tab-panel.active {
    display: block;
}


/* 版权信息 */
.banquanBox {
    background-color: #2764b3;
    padding: 20px 0;
    margin-top: 20px;
}

.w1250 {
    width: 90%;
    max-width: 1250px;
    margin: 0 auto;
    text-align: center;
    /* 版权文字居中 */
}

.bqTxt {
    color: #fff;
}