* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #ffffff;
    color: #333;
}
.container {
    width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 顶部 */
.header {
    background: #990000;
    color: #fff;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
}
.logo-wrap {
    display: flex;
    align-items: center;
}
.logo {
    width: 100px;
    height: 100px;
}
.site-title h1 {
    font-size: 36px;
    font-weight: bold;
    margin-left: 15px;
}
.site-title p {
    font-size: 18px;
    margin-left: 15px;
    opacity: 0.9;
}
.header-links {
    font-size: 16px;
    margin-bottom: 10px;
    margin-right: 10px;
}

.header-links .divider2 {
    font-size: 16px;
	color: #fff; 
	margin: 0 0px;
  
}

.header-links a {
    color: #fff;
    text-decoration: none;
    margin: 14px;
}

/* 右侧整体布局 */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.header-right > * {
    margin-bottom: 12px;
}
.header-right > *:last-child {
    margin-bottom: 0;
}

/* 导航吸顶基础 */
.navbar {
    background: #990000 !important;
    border-top: none !important;
    position: relative !important;
    z-index: 999 !important;
}
.navbar.fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    background: #990000 !important;
}

/* 导航间距（无gap） */
.nav-list {
    width: auto !important;
    margin: 0 20px !important;
    padding: 0 !important;
    display: flex !important;
    list-style: none !important;
}
.nav-item {
    position: relative !important;
    margin-right: 10px !important;
}
.nav-item:last-child {
    margin-right: 0 !important;
}

.nav-link {
    display: inline-block !important;
    padding: 10px 18px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
}
.nav-link:hover,
.nav-link.active {
    background: #ffffff !important;
    color: #990000 !important;
}

/* 下拉菜单 */
.dropdown-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    min-width: 160px !important;
    background: #ffffff !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    overflow: hidden !important;
    z-index: 9999 !important;
}
.dropdown-item {
    display: block !important;
    padding: 10px 16px !important;
    font-size: 15px !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}
.dropdown-item:hover {
    background: #990000 !important;
    color: #fff !important;
}
.nav-item.dropdown:hover .dropdown-menu {
    display: block !important;
}

/* 横幅图片 */
.banner-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* 轮播图 */
.slider {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}
.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}
.slider-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}
.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.4);
    color: #fff;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    user-select: none;
}
.prev { left: 20px; }
.next { right: 20px; }
.slider-arrow:hover {
    background: rgba(0,0,0,0.7);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    opacity: 0;     /* 完全透明 */
    pointer-events: none;  /* 不影响点击/功能 */
    visibility: hidden;    /* 不占空间、不显示 */
}
.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
}
.slider-dot.active {
    background: #fff;
}

/* 新闻小轮播 */
.news-banner-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}
.news-banner-item {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.main {
    background: #fff;
}

/* ==========================
   学院新闻（日期左侧间距已修复）
========================== */
.news-section {
    margin-top: 30px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #990000;
    margin-bottom: 20px;
}
.section-title {
    font-size: 22px;
    color: #990000;
    padding-bottom: 8px;
    border-bottom: 3px solid #990000;
    display: inline-block;
}
.more-link {
    color: #cc0000;
    font-size: 14px;
    text-decoration: none;
}
.news-content {
    display: flex;
}
/*=====新版新闻轮播CSS 完整替换=====*/
.news-banner {
    margin-right: 25px;
    position: relative;
    width: 50%;
    height: 320px;
    overflow: hidden;
    background: #fff;
}
/*可视窗口*/
.news-banner-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
/*滑动轨道：flex横向排布*/
.news-banner-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s ease;
}
/*单张轮播项*/
.news-banner-item {
    width: calc(100% / 3);
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background:#fff;
}
/*核心：图片完整显示不裁切、居中、等比缩放（白边保留不处理）*/
.news-banner-item img {
    max-width: 100%;
    max-height: calc(100%); /* 从55px改成38px，减少标题占用高度，图片变大 */
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}
/*底部标题遮罩*/
.news-banner-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(153, 0, 0, 0.85);
    color: #fff;
    padding: 7px 70px 7px 15px; /* 原来10px→7px，减少上下内边距 */
    display: flex;
    align-items: center;
}
.caption-date {
    font-size: 15px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
}
.caption-text {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
/*切换按钮定位*/
.news-banner-controls {
    position: absolute;
    bottom: 44px;
    right: 0;
    display: flex;
    z-index:9;
}
.news-banner-controls button {
    width: 32px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-banner-controls button:hover{
    background:rgba(153,0,0,0.7);
}
.caption-date {
    font-size: 15px;
    font-weight: bold;
    margin-right: 12px;
    white-space: nowrap;
}
.caption-text {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.news-banner-controls {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
}
.news-banner-controls button {
    width: 32px;
    height: 38px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.news-list {
    width: 50%;
}
.news-list .top-item {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
}
.top-date {
    background: #B8A46F;
    color: #fff;
    padding: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    margin-right: 12px;
    min-width: 60px;
    line-height: 1.4;
}
.top-title {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.top-title:hover {
    color: #990000;
}

/* 核心修复：强制清除左侧缩进 */
.news-list ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.news-list li {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 10px !important;
    line-height: 1.5 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.list-icon {
    color: #B8A46F !important;
    font-size: 15px !important;
    margin-right: 8px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.list-date {
    color: #B8A46F !important;
    font-size: 15px !important;
    min-width: 55px !important;
    margin-right: 12px !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.list-title {
    color: #333 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    flex: 1 !important;
}
.list-title:hover {
    color: #990000 !important;
}

/* 通知公告 */
.notice-section {
	width: 100%;
	background-image: url(../images/noticeBg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #e9e9e9;
	padding: 30px 0;
	margin-top: 30px;
}
.notice-section .section-header {
    border-bottom: none;
    padding-bottom: 10px;
}
.notice-section .section-title {
    border-bottom: 3px solid #990000;
    padding-bottom: 8px;
    display: inline-block;
}
.notice-content {
    display: flex;
    justify-content: space-between;
}
.notice-card {
    width: 31%;
    background: #ffffff;
    padding: 20px 22px;
    border-radius: 6px;
    display: flex;
    transition: all 0.3s ease;
    border: 1px solid #eeeeee;
    margin-right: 25px;
}
.notice-card:last-child {
    margin-right: 0;
}
.notice-card:hover {
    background: #990000;
    border-color: #990000;
}
.notice-left {
    font-size: 18px;
    color: #B8A46F;
    font-weight: 500;
    white-space: nowrap;
    min-width: 60px;
    text-align: center;
    line-height: 1.5;
    margin-right: 18px;
}
.notice-text {
    flex: 1;
}
.notice-text a {
    font-size: 15px;
    color: #333333;
    text-decoration: none;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}
.notice-card:hover .notice-text a {
    color: #ffffff;
}
.notice-card:hover .notice-left {
    color: #ffdf9c;
}

/* ==========================
   理论前沿/媒体关注（同步修复）
========================== */
.theory-section {
	width: 100%;
	background-image: url(../images/red-bg.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-color: #990000;
	padding: 30px 0;
	margin-top: 0px;
}
.theory-wrapper {
	background: rgba(255, 255, 255, 0.92);
	padding: 25px;
	border-radius: 6px;
	height: 100%;
	position: relative;
}
.theory-section .section-header {
	border-bottom: none;
	margin-bottom: 20px;
	position: relative;
	z-index: 2;
}
.theory-section .section-title {
    border-bottom: 3px solid #990000;
    padding-bottom: 8px;
    display: inline-block;
}
.theory-content {
	display: flex;
	align-items: flex-start;
	position: static;
}
.theory-list {
    margin-right: 30px;
}
.theory-more-link {
	position: absolute;
	top: -50px;
	right: 0px;
	color: #cc0000;
	font-size: 14px;
	text-decoration: none;
	z-index: 10;
}
.theory-more-link:hover {
	color: #8b0000;
	text-decoration: none;
}
.theory-poster {
	position: absolute;
	top: 25px;
	right: 25px;
	width: 32%;
	max-width: 320px;
	height: auto;
	z-index: 1;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.theory-poster img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 6px;
	object-fit: cover;
	background: #e6ddc0;
}
.theory-list {
	width: 65%;
	position: relative;
	z-index: 3;
}
.theory-list ul {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
}
.theory-list li {
	display: flex !important;
	align-items: center !important;
	margin-bottom: 10px !important;
	line-height: 1.5 !important;
	padding-left: 0 !important;
	margin-left: 0 !important;
}
.theory-list .list-icon {
	color: #B8A46F !important;
	font-size: 15px !important;
	margin-right: 8px !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
}
.theory-list .list-date {
	color: #B8A46F !important;
	font-size: 15px !important;
	min-width: 55px !important;
	margin-right: 12px !important;
	margin-left: 0 !important;
	padding-left: 0 !important;
	flex-shrink: 0;
}
.theory-list .list-title {
	color: #333 !important;
	font-size: 15px !important;
	text-decoration: none !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
	flex: 1 !important;
	transition: color 0.2s;
}
.theory-list .list-title:hover {
	color: #990000 !important;
}

/* 响应式 */
@media (max-width: 992px) {
	.theory-list {
		width: 100%;
	}
	.theory-poster {
		position: relative;
		top: auto;
		right: auto;
		width: 100%;
		max-width: 100%;
		margin-top: 24px;
		order: 2;
	}
	.theory-content {
		flex-direction: column;
	}
	.theory-more-link {
		top: 28px;
		right: 20px;
		font-size: 14px;
		padding: 3px 8px;
	}
}
@media (max-width: 640px) {
	.theory-list li {
		flex-wrap: wrap;
		margin-bottom: 16px;
	}
	.theory-list .list-date {
		min-width: 90px;
		margin-left: 22px;
	}
	.theory-list .list-icon {
		align-self: flex-start;
		margin-top: 2px;
	}
	.theory-list .list-title {
		white-space: normal;
		margin-left: 22px;
		width: calc(100% - 22px);
		flex: auto;
	}
	.theory-more-link {
		top: 24px;
		right: 16px;
		font-size: 13px;
	}
	.theory-section .section-title {
		font-size: 24px;
	}
}
@media (min-width: 993px) and (max-width: 1200px) {
	.theory-more-link {
		right: 25px;
		top: 32px;
	}
	.theory-poster {
		width: 30%;
	}
}

/* 专题聚合 */
.topic-section {
    width: 100%;
    padding: 30px 0;
    margin-top: 0px;
}
.topic-section .section-header {
    border-bottom: none;
    padding-bottom: 10px;
}
.topic-section .section-title {
    border-bottom: 3px solid #990000;
    padding-bottom: 8px;
    display: inline-block;
    font-size: 22px;
    color: #990000;
}
.topic-content {
    display: flex;
    justify-content: space-between;
}
.topic-img {
    width: 31%;
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eeeeee;
}
.topic-img img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.topic-img:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    border-color: #990000;
}

/* 快速链接 & 友情链接 */
.links-section {
    width: 100%;
    background: #f5f5f5;
    padding: 30px 0;
    margin-top: 0px;
}
.link-row {
    display: flex;
    align-items: center;
    line-height: 1.8;
    margin-bottom: 12px;
}
.link-row:last-child {
    margin-bottom: 0;
}
.link-title {
    font-size: 18px;
    font-weight: bold;
    color: #990000;
    min-width: 140px;
    display: inline-block;
}
.link-items {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.link-item {
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}
.link-item:hover {
    color: #990000;
}
.divider {
    font-size: 18px;
    color: #333;
    margin: 0 16px;
}
@media (max-width: 992px) {
    .link-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .link-title {
        margin-bottom: 8px;
    }
    .link-items {
        padding-left: 0;
    }
}

/* 页脚 */
.footer {
    width: 100%;
    background-color: #990000;
    color: #ffffff;
    padding: 20px 0 20px;
    margin-top: 0px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
}
.footer-left {
    display: flex;
    align-items: center;
}
.footer-logo {
    margin-right: 20px;
}
.footer-logo img {
    width: 120px;
    height: 120px;
    display: block;
}
.footer-title h2 {
    font-size: 32px;
    font-weight:bold;
    color: #ffffff;
    margin: 0 0 8px;
}
.footer-title p {
    font-size: 18px;
    line-height: 1.8;	
    color: rgba(255,255,255,0.85);
    margin: 0;
}
.footer-qrcode {
    text-align: center;
}
.footer-qrcode img {
    width: 140px;
    height: 140px;
    display: block;
    margin: 0 auto 10px;
    background: #ffffff;
    padding: 6px;
    border-radius: 4px;
}
.footer-qrcode p {
    font-size: 16px;
    color: #ffffff;
    margin: 0;
}
@media (max-width: 992px) {
    .footer-top {
        flex-direction: column;
        align-items: center;
    }
    .footer-left {
        flex-direction: column;
        align-items: center;
    }
    .footer-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .footer-title h2 {
        font-size: 32px;
        text-align: center;
    }
    .footer-title p {
        font-size: 18px;
        text-align: center;
    }
    .footer-bottom p {
        font-size: 16px;
        text-align: center;
    }
}
@media (max-width: 640px) {
    .footer-title h2 {
        font-size: 24px;
    }
    .footer-title p {
        font-size: 14px;
    }
    .footer-bottom p {
        font-size: 14px;
    }
}