/* ========== 全局样式重置与基础设置 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body { font-family: "Microsoft YaHei", "SimHei", sans-serif; color: #333; background-color: #fff; font-size: 18px;}
:root {
    --main-color: #337ab7;
}
a { color: #333; text-decoration: none; }
a:hover { color: #0056b3; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
@media (min-width: 1400px) { .container { width: 1360px; } }
@media (min-width: 1600px) { .container { width: 1520px; } }
@media (min-width: 1920px) { .container { width: 1740px; } }
@media (min-width: 768px) { .h3, h3 { font-size: 48px; } }
/* 站点变灰。*/
.gray{
	 filter:grayscale(100%);
	 -webkit-filter:grayscale(100%);
	 -moz-filter:grayscale(100%);
	 -ms-filter:grayscale(100%);
	 -o-filter:grayscale(100%);
	 filter:url("data:image/svg+xml;utf8,#grayscale");
	 filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
	 -webkit-filter:grayscale(1);
 }
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }

/* 头部 */
.header-top { background: #065fa4 url(../images/top_bg.png) center bottom no-repeat; color: #fff; padding: 10px 0; }
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 80px; margin-right: 15px; }
@media (max-width: 768px) { .header-logo img { height: auto; width: 100%; } }
.header-logo h1 { font-size: 28px; font-weight: bold; margin: 0; color: #fff; }
.header-logo p { font-size: 12px; margin: 0; color: #fff; }
.header-lang { text-align: right; /*padding-top: 15px;*/ position: relative;}
.header-lang a { color: #fff; font-size: 12px; padding: 0 10px; }

/* 搜索框样式：绝对定位，图标左侧，默认隐藏 */
.search-box {
  display: none;
  position: absolute;
  right: 40px; /* 距离右侧，贴在搜索图标左边 */
  top: 50%;
  transform: translateY(-50%); /* 垂直居中 */
}
.search-box input {
  padding: 4px 8px;
  width: 200px;
  border: 1px solid #ccc;
}
/* 导航栏 */
.navbar { background-color: #005699; border: none; border-radius: 0; margin-bottom: 0; }
.navbar-header { background: #005699; }
.navbar-toggle { border-color: #fff; }
.navbar-toggle .icon-bar { background-color: #fff; }
.navbar-collapse { border: none; }
.navbar-nav { width: 100%; text-align: center; }
.navbar-nav > li { float: none; display: inline-block; width: 10%; }
@media(max-width: 768px){.navbar-nav > li {display: inherit; width: auto; }}
.navbar-nav > li > a { color: #fff; font-size: 18px; }
.navbar-nav > li > a:hover, .navbar-nav > li > a:focus { background-color: #004477; color: #fff; }
.nav .open>a, .nav .open>a:focus, .nav .open>a:hover { background-color: #FFFFFF1A; }
.navbar-nav .dropdown-menu { background: #fff; border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.navbar-nav .dropdown-menu > li > a { color: #333; padding: 12px 20px; font-size: 18px;}
.navbar-nav .dropdown-menu > li > a:hover { background: #f5f5f5; color: #005699; }

/* 轮播图 */
.carousel { /*margin-bottom: 30px; */}
.carousel-inner {
    position: relative;
    width: 100%;
    padding-top: 42%;     /* 保持宽高比，父容器获得高度 */
    overflow: hidden;
}

.carousel-inner .item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.carousel-inner img { width: 100%; height: 100%; object-fit: cover; object-position: center center;  /* 明确居中裁剪 */}
.carousel-caption { /*display: none;*/ }
.carousel-control.right, .carousel-control.left { background: transparent; }
.big-carousel{margin-bottom: 0; }
#newsCarousel .carousel-inner { width: 100%; height: 430px; overflow: hidden; }
#newsCarousel .carousel-inner .item { position: absolute; width: 100%; height: 100%; }
#newsCarousel .carousel-inner .item a{ width: 100%; height: 100%; }
#newsCarousel .carousel-inner img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { #newsCarousel .carousel-inner { height: 220px; } }

/* 统一栏目标题 */
.section-title, .notice-header { text-align: center; font-size: 28px; color: #005699; margin-bottom: 30px; position: relative; padding-bottom: 10px; }
.section-title a, .notice-header a{color: #005699}
.edu-header, .party-header, .group-header { font-size: 28px; line-height: 36px; color: #005699; margin-bottom: 20px; position: relative; text-align: left; }
.edu-header a, .party-header a, .group-header a{color: #005699;}
.section-title::after, .notice-header::after { content: ""; display: block; width: 60px; height: 2px; background-color: #005699; margin: 10px auto 0; }
.edu-header::after, .party-header::after, .group-header::after { content: ""; display: block; width: 120px; height: 2px; background-color: #005699; margin: 10px 0; }
.more-link { position: absolute; right: 15px; top: 0; font-size: 16px; color: #666; }

/* 学院要闻 */
.news-wrap {background: linear-gradient(to bottom, #f6fbfe, #ffffff), url(../images/news_bg.png) center bottom no-repeat;background-blend-mode: overlay; padding: 30px 0 10px 0;}
.news-section { margin-bottom: 40px; }
.news-left { padding: 0; }
.news-right { padding-left: 30px; }
.news-list li { padding: 14px 0; border-bottom: 1px dotted #eee; display: flex; justify-content: space-between; align-items: center; padding-left: 20px; }
.news-list li:last-child { border-bottom: none; }
.news-list li a { font-size: 16px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; margin-right: 10px; }
.news-list li a:hover { color: #005699; }
.news-date { font-size: 14px; color: #666; }


/* 通知公告 - 合并列表双栏布局 */
.notice-wrap {background:#eef2fd url(../images/notice_bg.png) center bottom no-repeat; background-size: cover;padding: 30px 0 10px 0; }
.notice-section { margin-bottom: 40px; }
.notice-tab { margin-bottom: 20px; }
.notice-tab .nav-tabs { margin-bottom: 40px; }
.notice-tab .nav-tabs > li > a { color: #333; border: none; font-size: 28px; }
.notice-tab .nav-tabs > li.active > a, .notice-tab .nav-tabs > li.active > a:hover, .notice-tab .nav-tabs > li.active > a:focus { color: #005699; border: none; border-bottom: 3px solid #005699; background: transparent; }
/* 标签激活样式 */
.nav-tabs{border-bottom: 0;}
#noticeTab li {
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}
#noticeTab li.active a {
    color: #0066cc;
    text-decoration: none;
}
/* 面板默认隐藏，激活显示 */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}
/* 合并后的双列列表样式 (保留原有条目样式) */
.notice-list.two-column-list {
	column-count: 2;
	column-gap: 15px;
	break-inside: avoid;
}
.notice-list.two-column-list li {
	break-inside: avoid;
	margin-bottom: 14px;
	page-break-inside: avoid;
}
/* 移动端适配：小屏幕恢复单列 */
@media (max-width: 768px) {
	.notice-list.two-column-list {
		column-count: 1;
		column-gap: 0;
	}
}

.notice-list li { 
	padding: 12px 0; 
	/*border-bottom: 1px dotted #eee; */
	display: flex; 
	align-items: flex-start; 
	margin-bottom: 0;
	background: #FFFFFF;
}
.notice-list li:last-child { border-bottom: none; }
.notice-date { 
	border-right: #eee 1px solid; 
	color: #333; 
	padding: 3px 8px; 
	font-size: 12px; 
	margin-right: 15px; 
	text-align: center; 
	min-width: 50px; 
	flex-shrink: 0;
}
.notice-day{ font-size: 22px; font-weight: 500; }
.notice-year{ padding: 0 10px; min-width: 68px; font-size: 12px; margin-bottom: 0;}
.notice-content a { 
	font-size: 18px;
	color: #333;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.8;
	max-height: 3.6em;
	word-break: break-all;
}
.notice-content a:hover { color: #005699; }


.dj-wrap{background: url(../images/dj_bg.png) center top no-repeat; background-size: cover; padding: 30px 0 10px 0;}
/* 党建 + 团学 */
.party-group-section { margin-bottom: 40px; }
.party-box, .group-box { padding: 0 15px; }
.party-first { display: flex; gap: 15px; padding-bottom: 15px; border-bottom: 1px dotted #eee; margin-bottom: 15px; }
.party-first-img { width: 240px; height: 160px; flex-shrink: 0; }
@media(max-width: 768px){ .party-first-img { width: 140px; height: 100px; } }
.party-first-img img { width: 100%; height: 100%; object-fit: cover; }
.party-first-info { flex: 1; }
.party-first-title { font-size: 18px; font-weight: bold; margin-bottom: 6px; line-height: 36px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.party-first-desc { font-size: 14px; color: #666; line-height: 1.5; text-indent: 2em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.party-first-time { font-size: 12px; color: #666; }
.party-list li { padding: 14px 0; border-bottom: 1px dotted #eee; display: flex; justify-content: space-between; align-items: center; }
.party-list li:last-child { border-bottom: none; }
.party-list li a { font-size: 18px; color: #333; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; }
.party-list li a:hover { color: #005699; }
.party-time { font-size: 14px; color: #666; }

/* 团学 Swiper 样式 */
.group-swiper { width: 100%; padding-bottom: 40px; position: relative; }
.group-card { width: 100%; background: #FFFFFF; }
.group-card-img { width: 100%; height: 210px; overflow: hidden; margin-bottom: 8px; }
@media(max-width: 768px){ .group-card-img { height: 140px; } }
.group-card-img img { width: 100%; height: 100%; object-fit: cover; transition: all 0.3s; }
.group-card-img img:hover { transform: scale(1.05); }
.group-card-title { font-size: 18px; padding: 0 10px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; min-height: 50px;}
.group-card-time { font-size: 12px; color: #666; padding: 10px; }
.group-swiper .swiper-pagination { bottom: 0; }
.group-swiper .swiper-pagination-bullet { width: 10px; height: 10px; background: #ccc; opacity: 1; }
.group-swiper .swiper-pagination-bullet-active { background: #005699; }
.group-swiper .swiper-button-prev, .group-swiper .swiper-button-next { width: 30px; height: 30px; background: rgba(0,0,0,0.3); border-radius: 50%; color: #fff; top: 50%; transform: translateY(-50%); margin-top: -15px; }
.group-swiper .swiper-button-prev:after, .group-swiper .swiper-button-next:after { font-size: 14px; font-weight: bold; }
.group-swiper .swiper-button-prev { left: 0; }
.group-swiper .swiper-button-next { right: 0; }

/* 本科生教育/研究生通知 */
.edu-section { margin-bottom: 40px; }
.edu-box { padding: 0 15px; }
.edu-list li { padding: 15px 0; border-bottom: 1px dotted #eee; display: flex; justify-content: space-between; align-items: center; }
.edu-list li:last-child { border-bottom: none; }
.edu-list li a { font-size: 18px; color: #333;display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;}
.edu-list li a:hover { color: #005699; }
.edu-date { font-size: 14px; color: #666; flex-shrink: 0;}

/* ========== 学院数据 ========== */
.data-wrap{background: url(../images/data_bg.png) center bottom no-repeat; background-size: cover; padding: 30px 0 10px 0;}
.data-section { margin-bottom: 40px; }
.data-flex-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.data-wrap .section-title{padding: 60px 0; margin-top: 0; background: url(../images/logo_bg.png) center center no-repeat;}
.data-box {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 60px;
	padding: 0 15px;
}
.data-box:nth-child(-n+3) {
	flex: 0 0 calc(100% / 3);
	max-width: calc(100% / 3);
}
.data-box:nth-child(n+4) {
	flex: 0 0 calc(100% / 4);
	max-width: calc(100% / 4);
}
/* 学院数据图标 - 使用背景图 + nth-child 区分 */
.data-icon {
	width: 80px;
	height: 80px;
	border: 1px solid #1e8be9;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
	flex-shrink: 0;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 32px 32px;
	background-color: #d8e7f5;
}

/* 分别设置第1到第7个 data-box 内的图标背景图（占位符示例） */
.data-box:nth-child(1) .data-icon {
	background-image: url('../images/icon1.png');
}
.data-box:nth-child(2) .data-icon {
	background-image: url('../images/icon2.png');
}
.data-box:nth-child(3) .data-icon {
	background-image: url('../images/icon3.png');
}
.data-box:nth-child(4) .data-icon {
	background-image: url('../images/icon4.png');
}
.data-box:nth-child(5) .data-icon {
	background-image: url('../images/icon5.png');
}
.data-box:nth-child(6) .data-icon {
	background-image: url('../images/icon6.png');
}
.data-box:nth-child(7) .data-icon {
	background-image: url('../images/icon7.png');
}
.data-box:nth-child(8) .data-icon {
	background-image: url('../images/icon8.png');
}

.data-icon img { width: 30px; height: 30px; }
.data-info {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.data-number {
	font-size: 30px;
	color: #005699;
	font-weight: bold;
}
.data-text {
	font-size: 14px;
	color: #666;
}
@media (max-width: 767px) {
	.data-box:nth-child(-n+3),
	.data-box:nth-child(n+4) {
		flex: 0 0 50%;
		max-width: 50%;
	}
}




/* 面包屑 */
.breadcrumb {
    background: #fafafa;
    padding: 10px 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    border: 1px solid #eee;
}
.breadcrumb a {
    color: #666;
}
.breadcrumb .active {
    color: var(--main-color);
}
/* 栏目导航 */
.column-nav {
    margin-bottom: 30px;
    border-bottom: 2px solid var(--main-color);
}
.column-nav > li > a {
    border-radius: 4px 4px 0 0;
    color: #666;
    font-size: 16px;
    padding: 10px 20px;
}
.column-nav > li.active > a {
    background-color: var(--main-color);
    color: #fff;
    border: none;
}
.column-nav > li > a:hover {
    background-color: var(--main-color);
    color: #fff;
    border: none;
}
/* 信息列表 */
.news-list {
    list-style: none;
    padding: 0;
}
.news-list li {
    padding: 14px 0;
    border-bottom: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.news-list li a::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--main-color);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}
.news-list li a {
    color: #333;
    font-size: 18px;
    text-decoration: none;
}
.news-list li a:hover {
    color: var(--main-color);
}
.news-list .time {
    color: #999;
    font-size: 13px;
}
/* 分页 */
.pagination-wrap {
    text-align: center;
    margin-top: 35px;
}
.pagination > li > a,
.pagination > li > span {
    padding: 6px 14px;
}



/* 新闻标题 */
.article-title {
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    color: #222;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* 标题下方信息栏 */
.article-info {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    line-height: 1.8;
}
.article-info span {
    margin: 0 10px;
}

/* 正文内容 */
.article-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
    text-align: justify;
    position: relative;
    padding-bottom: 60px;
}
.article-content img{
	max-width: 100%;
}




.leader-list {
    margin-top: 20px;
}
.leader-item {
    text-align: center;
    margin-bottom: 25px;
}
.leader-item a {
    text-decoration: none;
    color: #333;
    display: block;
}
.leader-img {
    
    padding: 4px;
    border-radius: 4px;
    overflow: hidden;
}
.leader-img img {
    height: 180px;
    object-fit: cover;
    margin: 0 auto;
	border: 1px solid #eee;
}




/*/领导//*/
.ld-wrap {
    margin-top: 60px;
    margin-bottom: 120px;
}
.ld-card {
    margin-bottom: 15px;
}
/* 左右两栏并排 */
.ld-text {
    display: flex;
    align-items: flex-start; /* 顶部对齐，方便职务内部换行 */
}
/* 职务区块：左侧，内部可换行 */
.ld-job {
    font-size: 24px;
    color: #065fa4;
    margin-right: 10px;
    line-height: 1.5;
    white-space: normal; /* 允许内部换行 */
	max-width: 360px;
	/*font-weight: bold;*/
}
/* 姓名链接：右侧，整块不换行 */
.ld-link {
    font-size: 24px;
    color: #000;
    text-decoration: none;
    white-space: nowrap; /* 姓名整体不换行 */
    line-height: 1.5;
	/*font-weight: bold;*/
	padding-left: 20px;
}
.ld-link:hover {
    text-decoration: underline;
}
/* 领导职务样式 */
.leader-post {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-top: 4px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
	height: 42px;
}


/* ========== 左侧一级+二级栏目导航样式 ========== */
.main-container {
    margin-top: 10px;
}
/* 左右栏间距 */
.sidebar-column {
    padding-right: 20px;
}
.content-column {
    padding-left: 20px;
}

/* 左侧导航容器 */
.sidebar-nav {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}
/* 一级栏目标题 */
.first-title {
    background-color: #065fa4;
    color: #fff;
    font-size: 22px;
    padding: 15px 15px;
    margin: 0;
    font-weight: normal;
}
/* 二级栏目列表 */
.second-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}
.second-menu li {
    border-bottom: 1px dotted #eee;
}
.second-menu li:last-child {
    border-bottom: none;
}
.second-menu li a {
    display: block;
    padding: 13px 15px 10px 25px;
    color: #333;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s;
}
/* 二级栏目 hover + 选中样式 */
.second-menu li a:hover {
    background-color: #f5f9fd;
    color: #005699;
}
.second-menu li.active a {
    background-color: #e8f0f8;
    color: #005699;
    font-weight: bold;
}

/* ========== 右侧顶部当前栏目标题栏 ========== */
.current-title-bar {
    border-bottom: 2px solid #005699;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.current-title-bar h2 {
    font-size: 20px;
    color: #005699;
    margin: 0;
    font-weight: bold;
}

/* ========== 移动端适配（768px 以下） ========== */
@media (max-width: 767px) {
    .sidebar-column {
        padding-right: 0;
        margin-bottom: 20px;
    }
    .content-column {
        padding-left: 0;
    }
}





/* ========== 重点：解决名字过长错乱 ========== */
.leader-name {
    margin-top: 8px;
    font-size: 14px;
    /*height: 40px; */      /* 固定文字区域高度，统一占位 */
    line-height: 20px;
    /*overflow: hidden;   
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
    word-break: break-all;*/
}

.leader-item a:hover {
    color: #066ac5;
}








/* 快速通道 */
.quick-channel { margin-bottom: 40px; }
.quick-channel .btn { margin: 0 10px; padding: 8px 30px; border:0; color: #FFFFFF; background-color: rgba(255,255,255,0.15); border-radius: 20px; transition: 0.2s; }
.quick-channel .btn:hover { background-color: rgba(255,255,255,0.3); color: #fff; border-color: #fff; }

/* 页脚 */
footer { background-color: #005699; color: #fff; padding: 30px 0; }
.footer-logo { display: flex; align-items: center; }
.footer-logo img { height: 50px; margin-right: 15px; max-width: 100%;}
.footer-logo h2 { font-size: 20px; margin: 0; color: #fff; }
.footer-logo p { font-size: 14px; margin: 0; color: #fff; }
.footer-info { padding-top: 10px; font-size: 14px; }
.footer-info p { margin: 5px 0; }
.footer-copyright { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); font-size: 12px; margin-top: 20px; }		