:root {
    --primary-gradient: linear-gradient(135deg, #4b4b4b 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --light-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --primary-color: #4b4b4b;
    --secondary-color: #d60000;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --white: #ffffff;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 35px rgba(0, 0, 0, 0.2);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html,
body,
div,
span,
iframe,
map,
font,
img,
a img,
samp,
strong,
hr,
h1,
h2,
h3,
h4,
h5,
h6,
b,
p,
blockquote,
a,
address,
code,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
table,
tr,
td,
th {
    padding: 0;
    margin: 0;
    border: 0;
    font-weight: normal;
    font-family: 'Microsoft YaHei', Arial, Helvetica, sans-serif;
    list-style: none;
    box-sizing: border-box;
}

html,
body {
    position: relative;
    height: 100%;
    scroll-behavior: smooth;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--secondary-color);
}

body {
    font-family: 'Inter', 'Microsoft YaHei', sans-serif;
    min-width: 375px;
    background-color: #fafbfc;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 教师卡片样式 */
.teacher-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.teacher-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: var(--shadow-xl);
    background-color: var(--white);
}

.teacher-card img {
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.teacher-card:hover img {
    transform: scale(1.05);
}

.teacher-name {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-name {
    color: var(--secondary-color);
}

.teacher-unit {
    transition: var(--transition-smooth);
}

.teacher-card:hover .teacher-unit {
    color: var(--primary-color);
}

/* 教师卡片链接样式 */
.teacher-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    transition: var(--transition-smooth);
}

.teacher-link:hover {
    text-decoration: none;
    color: inherit;
}

/* 项目与课题栏目样式 */
.xiangmu-list {
    background-color: var(--white);
    border-radius: 8px;
    padding: 15px;
}

.xiangmu-item {
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition-smooth);
    height: 80px;
}

.xiangmu-item:last-child {
    border-bottom: none;
}

.xiangmu-item:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
}

.xiangmu-item h5 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    /* 为项目符号留出空间 */
    flex: 1;
    overflow: hidden;
}

.xiangmu-item h5 a {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition-smooth);
    display: inline-block;
    width: 95%;
/*
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 43ch;
*/
}

.xiangmu-item h5 a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.xiangmu-item h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #6c757d;
    border-radius: 50%;
}

.xiangmu-item small {
    font-size: 14px;
    color: var(--text-light);
}

/* 当前位置样式优化 */
.dqwz {
    font-size: 14px;
    color: var(--text-light);
    padding: 10px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    font-weight: 400;
    text-align: right;
}

.dqwz a {
    color: var(--text-light);
    transition: var(--transition-smooth);
}

.dqwz a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.dqwz::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.dqwz span,
.dqwz::before {
    display: inline-flex;
    align-items: center;
}


.fengelinestyle0 .text-bold {
    padding: 0 90px 0 0 !important;
}

.fengelinestyle {
    font-size: 36px;
    line-height: 56px;
    color: #0046ae;
    text-align: center;
    height: 56px;
    position: relative;
    margin-bottom: 33px;
    background: url(./fengeline.gif) repeat-x 0 60%;
}


.fengelinestyle .text-bold {
    font-weight: bold;
    color: #0046ae;
    font-size: 24px;
    height: 56px;

    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 50px;
    z-index: 1;
}

.fengelinestyle .text-bold::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: -1;
    display: inline-block;
    border-top: 56px solid #f8f9fa;
    border-left: 50px solid rgba(0, 0, 0, 0);
    border-right: 50px solid rgba(0, 0, 0, 0)
}

.youqinglianjie .fengelinestyle .text-bold::before {
    border-top: 56px solid #f5f7fa;
}

.fengelinestyle .text-bold a {
    font-weight: bold;
    color: #0046ae;
    font-size: 26px;
}

.fengelinestyle .text-bold span {
    width: 16px;
    height: 16px;
    position: relative;
    margin-right: 30px
}

.fengelinestyle .text-bold span:last-child {
    margin-right: 0;
    margin-left: 30px;
    transform: rotateY(180deg)
}

.fengelinestyle .text-bold span::before {
    content: "";
    width: 11px;
    height: 11px;
    background: #cce0ee;
    position: absolute;
    left: 0;
    top: 0
}

.fengelinestyle .text-bold span::after {
    content: "";
    width: 12px;
    height: 12px;
    background: #ff2626;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1
}

.fengelinestyle0 .text-bold span:last-child {
    display: none;
}

/* 稿件内容样式优化 */
.article-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.article-content:hover {
    box-shadow: var(--shadow-md);
}

/* 文章头部样式 */
.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-meta {
    font-size: 14px;
    color: var(--text-light);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 文章正文样式 */
.article-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 30px;
}
.article-content a{
    color: red;
}
.article-body p, .article-body div {
    text-indent: 0 !important;
}
.article-body video {
    max-height: min-content;
}
.article-summary {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 4px 4px 0;
}

.article-body p {
    margin-bottom: 20px;
    text-align: justify;
    /*
    text-indent: 2em;
    */
}

/* 文章图片样式 */
.article-image {
    margin: 30px 0;
    text-align: center;
}

.article-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
    max-width: 100%;
    height: auto;
}

.image-caption {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* 文章标签样式 */
.article-tags {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tag-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.tag-item {
    font-size: 13px;
    color: var(--primary-color);
    background-color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: var(--transition-smooth);
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
}

/* 附件下载样式 */
.article-attachments {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.attachments-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.attachments-list {
    margin: 0;
    padding: 0;
}

.attachments-list li {
    margin-bottom: 10px;
    padding: 10px;
    background-color: var(--white);
    border-radius: 4px;
    border: 1px solid #e9ecef;
    transition: var(--transition-smooth);
}

.attachments-list li:hover {
    background-color: #f0f0f0;
    border-color: var(--primary-color);
}

.attachments-list a {
    color: var(--primary-color);
    margin-left: 10px;
    transition: var(--transition-smooth);
}

.attachments-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.file-size {
    font-size: 12px;
    color: var(--text-light);
    margin-left: 10px;
}

/* 分享和打印样式 */
.article-actions {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-label {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    transition: var(--transition-smooth);
    font-size: 16px;
}

.share-btn.wechat {
    background-color: #07c160;
}

.share-btn.weibo {
    background-color: #e6162d;
}

.share-btn.qq {
    background-color: #12b7f5;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

.print-button {
    display: flex;
    align-items: center;
}

.print-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    transition: var(--transition-smooth);
    font-size: 14px;
}

.print-btn:hover {
    background-color: #3a3a3a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

/* 相关文章样式 */
.related-articles {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.related-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.related-list {
    margin: 0;
    padding: 0;
}

.related-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.related-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.related-list a {
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.related-list a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    padding-left: 5px;
}

/* 全局动画类 */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 按钮样式 */
.btn-flat {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.btn-flat:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-flat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.btn-flat:hover::before {
    left: 100%;
}

.text-14px {
    font-size: 14px !important;
}

.header {
    padding: 45px 0;
    height: 200px;
    background-color: #01355b;
    border-bottom: 1px solid #01355b;
}


.logo img {
    max-width: 510px;
    height: auto;
    min-width: 270px;
    width: 100%;
}

.mSearchBtn {
    display: none;
}

.nav-item {
    padding: 0 5px;
}

.nav-link {
    color: #fff;
    font-size: 24px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #007bff;
}

.bannerImg {
    max-height: 600px;
    overflow: hidden;
}

/* 通栏图片hover放大效果 */
.img-zoom-container {
    display: block;
    overflow: hidden;
    position: relative;
    width: 100%;
    height: auto;
}

.img-zoom {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.img-zoom-container:hover .img-zoom {
    transform: scale(1.05); /* 放大5% */
}

.bannerImg .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 600px;
}

.zhongxinxinwen .carousel-item img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    max-height: 385px;
}

.content {
    padding: 30px 0 60px 0;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}


.news-item:first-child {
    padding-top: 0px;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    color: #666;
    font-size: 14px;
}

.tuandui {
    padding: 30px 0;
    background-color: #f8f9fa;
}

.team-member {
    text-align: center;
    margin-bottom: 30px;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* 左侧栏优化样式 */
.list-sidebar {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.list-sidebar:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.sidebar-title {
    background: var(--primary-gradient);
    color: var(--white);
    padding: 16px 20px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.sidebar-nav {
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition-smooth);
}

.sidebar-nav li.active {
    background-color: rgba(214, 0, 0, 0.05);
}

.sidebar-nav li:last-child {
    border-bottom: none;
}

.sidebar-nav li:hover {
    background-color: #f8f9fa;
    padding-left: 8px;
}

.sidebar-nav li a {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-smooth);
    position: relative;
}

.sidebar-nav li a:hover {
    color: var(--secondary-color);
    padding-left: 25px;
}

.sidebar-nav li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: var(--secondary-color);
    opacity: 0;
    transition: var(--transition-smooth);
}

.sidebar-nav li a.menu_sub::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #6c757d; 
    border-radius: 50%;
    opacity: 1;
}
.sidebar-nav li a.menu_sub.active::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: red; 
    border-radius: 50%;
    opacity: 1;
}
.sidebar-nav li a.menu_sub:hover::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: red;
    border-radius: 50%;
}
.sidebar-nav li a:hover::before,
.sidebar-nav li a.active::before {
    opacity: 1;
}

.sidebar-nav li a.active {
    color: var(--secondary-color);
    font-weight: 600;
    /* background-color: rgba(214, 0, 0, 0.05); */
    padding-left: 25px;
}

/* 专家团队轮播样式 */
.team-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 0 50px;
    /* 为左右箭头留出空间 */
}

.team-carousel {
    position: relative;
    width: 100%;
}

.team-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.team-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    margin-top: 15px;
}

.team-carousel-inner .team-member {
    flex: 0 0 25%;
    /* 每个专家占25%宽度，显示4个 */
    padding: 0 18px;
    box-sizing: border-box;
}

.team-carousel-inner .team-member img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 26px;
}

.team-carousel-inner .team-member h4 {
    font-size: 16px;
    margin: 10px 0 5px 0;
    text-align: center;
}

.team-carousel-inner .team-member p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    color: #666;
}

.team-carousel-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 14px;
}

.team-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.team-carousel-prev {
    left: -45px;
}

.team-carousel-next {
    right: -45px;
}

/* 手机端网格样式 */
.team-mobile-grid {
    padding: 0 50px;
}

.team-mobile-grid .team-member {
    margin-bottom: 20px;
}

.team-mobile-grid .team-member img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.team-mobile-grid .team-member h4 {
    font-size: 14px;
    margin: 10px 0 5px 0;
    color: red;
}

.team-mobile-grid .team-member p {
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    position: relative;
    /* 移除overflow: hidden以允许下拉菜单完整显示 */
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.footer p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer:hover p {
    opacity: 1;
}

/* 底部友情链接样式 */
.footer .col-md-6 h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer .dropdown {
    margin-bottom: 10px;
}

.footer .dropdown-toggle {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 180px;
}

.footer .dropdown-toggle:hover,
.footer .dropdown-toggle:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95); /* 浅色背景 */
    border: 1px solid rgba(0, 0, 0, 0.1); /* 浅灰色边框 */
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); /* 调整阴影深度 */
    z-index: 10000; /* 设置高z-index确保显示在最上层 */
    margin-top: 0; /* 调整间距避免菜单与按钮重叠 */
    position: absolute;
}

.footer .dropdown-item {
    color: #333; /* 深色文字 */
    padding: 10px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer .dropdown-item:hover,
.footer .dropdown-item:focus {
    background-color: #01355b;
    color: white;
}

.footer .dropdown-toggle i {
    margin-right: 8px;
    font-size: 14px;
}

/* 下拉菜单悬停效果 */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* 扁平化风格的下拉菜单样式 */
.dropdown-menu {
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: #12809d;
    padding: 0;
    margin-left: -32px;
    text-align: center;

}

.dropdown-item {
    padding: 10px 20px;
    color: #fff;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

/* 确保下拉菜单不会被截断 */
.navbar-nav {
    flex-wrap: wrap;
}

/* 导航栏居右样式 */
.nav-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}

.nav-container .nav {
    margin-left: auto;
}

.nav-container .navbar-nav {
    justify-content: flex-end;
}

/* 顶部搜索框样式 */
.search-container {
    margin-right: 10px;
    text-align: right;
    justify-content: flex-end;
    display: flex;
}

.search-form .input-group {
    width: 250px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-form .form-control {
    border: none;
    border-radius: 25px 0 0 25px;
    padding: 8px 15px;
    font-size: 14px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.search-form .form-control:focus {
    outline: none;
    box-shadow: none;
    background-color: #fff;
}

.search-form .btn-primary {
    border: none;
    border-radius: 0 25px 25px 0;
    background-color: #3498db;
    color: white;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.search-form .btn-primary:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.search-form .btn-primary i {
    font-size: 14px;
}

/* 移动端响应式调整 */
@media (max-width: 768px) {
    .search-form .input-group {
        width: 200px;
    }

    .search-form .form-control {
        font-size: 12px;
        padding: 6px 12px;
    }

    .search-form .btn-primary {
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .search-form .input-group {
        width: 160px;
    }
}




.nav-container {
    position: relative;
}

.nav-container .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.date-box {
    width: 65px;
    height: 65px;
}

.date-box .day {
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px solid #e4e1e18f;
    line-height: 22px;
    font-family: Times, Helvetica, sans-serif;
}

.date-box .month-year {
    font-size: 12px;
}

.news-list .news-item a {
    font-size: 16px;
}

/* 文字截断样式 */
.text-truncate-50 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* 限制显示2行，大约50字 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    color: gray;
}

/* 通知公告向上滚动样式 */
.announcement-scroll-container {
    height: 415px;
    overflow: hidden;
    position: relative;
}

.announcement-scroll-content {
    animation: scrollUp 40s linear infinite;
}

.announcement-scroll-content:hover {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* 确保两组新闻高度相同，实现无缝循环 */
.announcement-scroll-content .announcement-list:first-child {
    margin-bottom: 0;
}

.announcement-scroll-content .announcement-list:last-child {
    margin-top: 0;
}

/* 三列布局样式 */
.section-title {
    border-bottom: 3px solid #3498db;
    padding-bottom: 8px;
    text-align: center;
}

.section-title_zxxw,
.section-title_tzgz {
    border-bottom: 3px solid #3498db;
    padding-bottom: 8px;
    text-align: center;
}

/* 通知公告样式 */
.announcement-section,
.academic-section {
    background: #f8f9fa;
    padding: 0px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.announcement-item,
.academic-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.academic-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.announcement-item h5,
.academic-item h5 {
    margin-bottom: 5px;
    font-size: 16px;
    position: relative;
    padding-left: 15px;
}

.announcement-item h5::before,
.academic-item h5::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: #6c757d;
    border-radius: 50%;
}

.announcement-item h5 a,
.academic-item h5 a {
    transition: color 0.3s ease;
}

.announcement-item h5 a:hover,
.academic-item h5 a:hover {
    color: var(--secondary-color);
}

/* 通知公告标题与时间布局优化 */
.announcement-item .d-flex {
    gap: 10px;
    align-items: flex-start;
}

.announcement-item h5 {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
    line-height: 1.4;
}

.announcement-item h5 a {
    display: block;
}

.announcement-item small {
    flex-shrink: 0;
    white-space: nowrap;
    line-height: 1.4;
}

/* 通知公告红色标题样式 */
.announcement-item h5 a.text-danger {
    color: var(--secondary-color) !important;
}

.announcement-item h5 a.text-danger:hover {
    color: var(--secondary-color) !important;
}

.xueshuxinxi h5 {
    font-size: 18px;
}

.xueshuxinxi .card-hover a {
    color: #007bff;
}

.xueshuxinxi .card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: #84b0df;
}


.xueshuxinxi .card-hover:hover a,
.xueshuxinxi .card-hover:hover a span {
    color: #ffffff !important;
}

.xueshuxinxi .card-hover:hover p {
    color: #dddd !important;
}

.xueshuxinxi img {
    width: 260px;
    height: 185px;
    object-fit: cover;
}

/* 视频区域样式 */
.video-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.video-container {
    position: relative;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.video-container video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3498db;
    transition: transform 0.3s ease, background 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.video-description {
    color: #6c757d;
    font-size: 16px;
    margin-top: 10px;
    line-height: 28px;
}


/* 轮播指示器样式 - 定位到图片右下角 */
#newsCarousel .carousel-indicators {
    position: absolute;
    bottom: 10px;
    right: 10px;
    left: auto;
    margin: 0;
    z-index: 10;
}

#newsCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid #fff;
    margin: 0 3px;
    transition: all 0.3s ease;
}

#newsCarousel .carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

#newsCarousel .carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

h4 {
    font-size: 16px;
}

.carousel-control-next,
.carousel-control-prev {
    top: 40% !important;
    bottom: auto;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    /*
    background: var(--primary-gradient);
    border-radius: 50%;
    */
    opacity: 0.8;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
}

.carousel-control-next:hover,
.carousel-control-prev:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-control-prev {
    left: 15px !important;
}

.carousel-control-next {
    right: 15px !important;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    margin: 0 6px;
    transition: var(--transition-smooth);
}

.carousel-indicators .active {
    border-color: var(--white);
    /*
    background: var(--primary-gradient);
    transform: scale(1.2);
    */
}

/* 通知公告滚动动画优化 */
@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 脉冲动画 */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
    }
}

/* 悬停放大效果 */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* 文字发光效果 */
.text-glow {
    text-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}


/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--white);
}

/* 焦点样式 */
.focus-outline:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 图片懒加载占位符 */
img.lazy {
    filter: blur(5px);
    transition: filter 0.3s;
}

img.lazy.loaded {
    filter: blur(0);
}


.tongzhigonggao .tongzhi_more {
    font-size: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e9ecef;
}

.tongzhigonggao .tongzhi_more a {
    color: var(--primary-color);
    transition: var(--transition-smooth);
}

.tongzhigonggao .tongzhi_more a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

.slide_biaoti {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
}

/* 友情链接扁平化样式 */
.youqinglianjie {
    padding: 60px 0;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
    background-color: #f5f7fa;
    position: relative;
    overflow: hidden;
}

.youqinglianjie::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(102, 126, 234, 0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.youqinglianjie .container {
    position: relative;
    z-index: 1;
}


.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 20px auto 0;
    border-radius: 2px;
}


/* 分类容器横向排列 */
.categories-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* 分类样式 */
.link-category {
    margin-bottom: 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}


.link-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.link-category:hover::before {
    transform: scaleX(1);
}

.category-title {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f8f9fa;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.category-title i {
    margin-right: 12px;
    color: #667eea;
    font-size: 18px;
    transition: all 0.3s ease;
}


.link-category:hover .category-title {
    color: #667eea;
}

.link-category:hover .category-title i {
    transform: scale(1.2);
}

/* 链接竖向排列 */
.links-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: none;
    border-radius: 10px;
    text-decoration: none;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.link-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}


.link-item:hover i {
    color: red;
    transform: scale(1.2);
}

.link-item:hover span {

    color: var(--secondary-color);
}

/* 限制文本显示为三行 */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.link-item:hover::before {
    transform: translateX(0);
}

.link-item i {
    margin-right: 12px;
    font-size: 12px;
    color: #6c757d;
    transition: all 0.3s ease;
    flex-shrink: 0;
}


.link-item span {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计优化 */
@media (max-width: 992px) {
    .categories-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .team-carousel-prev {
        left: -20px;
    }

    .team-carousel-next {
        right: -20px;
    }


    .logo img {
        max-width: 300px;
    }

    .nav-link {
        font-size: 14px;
        padding: 10px 15px;
    }

    .bannerImg {
        max-height: 400px;
        border-radius: 0 0 15px 15px;
    }

    .content {
        padding: 40px 0;
    }

    .tuandui {
        padding: 50px 0;
    }

    .tuandui h2 {
        font-size: 28px;
    }

    .team-member {
        padding: 20px;
    }

    .team-member img {
        width: 100px;
        height: 100px;
    }

    .youqinglianjie {
        padding: 50px 0;
    }

    .youqinglianjie .section-title {
        font-size: 28px;
    }

    .link-category {
        padding: 25px;
    }

    .footer {
        padding: 35px 0;
    }


    .logo img {
        max-width: 250px;
        min-width: 200px;
    }

    .bannerImg {
        max-height: 300px;
        border-radius: 0;
    }

    .content {
        padding: 30px 0;
        background: var(--light-gradient);
    }

    .news-item {
        padding: 15px;
        margin-bottom: 12px;
    }

    .date-box {
        width: 60px;
        height: 60px;
    }


    .date-box .month-year {
        font-size: 0.8rem;
    }

    .news-list .news-item a {
        font-size: 16px;
    }

    .announcement-scroll-container {
        height: 400px;
        padding: 15px;
    }

    .academic-section,
    .video-section {
        padding: 20px;
        margin-bottom: 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .tuandui {
        padding: 40px 0;
    }

    .tuandui h2 {
        font-size: 24px;
    }

    .team-member {
        padding: 15px;
        margin-bottom: 20px;
    }

    .team-member img {
        width: 80px;
        height: 80px;
    }

    .team-member h4 {
        font-size: 16px;
    }

    .team-member p {
        font-size: 12px;
    }

    .youqinglianjie {
        padding: 40px 0;
    }

    .youqinglianjie .section-title {
        font-size: 24px;
        margin-bottom: 35px;
    }

    .categories-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .link-category {
        padding: 20px;
    }

    .category-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .links-row {
        gap: 10px;
    }

    .link-item {
        padding: 12px 16px;
        font-size: 13px;
    }

    .footer {
        padding: 30px 0;
    }

    .footer p {
        font-size: 14px;
    }

    .header {
        padding: 10px 0;
        height: auto;
    }

    .logo img {
        max-width: 450px;
        min-width: 150px;
    }

    .bannerImg {
        max-height: 250px;
    }

    .content {
        padding: 25px 0;
    }

    .news-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .date-box {
        /*
        width: 50px;
        height: 50px;
        */
    }


    .date-box .month-year {
        font-size: 0.7rem;
    }

    .news-list .news-item a {
        font-size: 14px;
    }

    .announcement-scroll-container {
        height: 350px;
        padding: 12px;
    }

    .announcement-item {
        padding: 12px;
    }

    .academic-section,
    .video-section {
        padding: 15px;
    }

    .section-title {
        font-size: 24px;
    }

    .academic-item {
        padding: 12px;
        margin-bottom: 10px;
    }

    .tuandui {
        padding: 30px 0;
    }

    .tuandui h2 {
        /*
        font-size: 20px;
        */
    }

    .team-member {
        padding: 12px;
        margin-bottom: 15px;
    }

    .team-member img {
        width: 70px;
        height: 70px;
    }

    .team-member h4 {
        font-size: 14px;
    }

    .team-member p {
        font-size: 11px;
    }

    .youqinglianjie {
        padding: 30px 0;
    }

    .youqinglianjie .section-title {
        /*
        font-size: 20px;
        */
        margin-bottom: 30px;
    }

    .link-category {
        padding: 15px;
    }

    .category-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .links-row {
        gap: 8px;
    }

    .link-item {
        padding: 10px 14px;
        font-size: 12px;
    }

    .link-item i {
        font-size: 11px;
        margin-right: 8px;
    }

    .footer {
        padding: 25px 0;
    }

    .footer p {
        font-size: 13px;
    }
}

/* 高级视觉效果和优化 */

/* 毛玻璃效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 渐变文字 */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* 浮动动画 */
.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 震动效果 */
.shake-animation {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* 波纹效果 */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple:hover::before {
    width: 300px;
    height: 300px;
}

/* 优化的阴影系统 */
.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-medium {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.shadow-strong {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 彩色阴影 */
.shadow-colorful {
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.shadow-colorful:hover {
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* 优化的按钮系统 */
.btn-gradient {
    background: var(--primary-gradient);
    color: var(--white);
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}


.btn-outline-gradient {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid;
    border-image: var(--primary-gradient) 1;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline-gradient:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-2px);
}

/* 特色资源栏目样式 */
.resource-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.resource-item {
    padding: 25px 15px;
    border-radius: 8px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.resource-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: white;
    text-decoration: none;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.resource-item:hover::before {
    left: 100%;
}

.resource-item h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* 7种不同颜色 */
.resource-color-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.resource-color-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.resource-color-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.resource-color-4 {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.resource-color-5 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.resource-color-6 {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.resource-color-7 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
    }
}

/* 学术成果-书籍封面轮播样式 */
.books-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.books-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background: white;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 渐变边框效果 */
    border-radius: 12px;
    background-clip: padding-box;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-origin: padding-box, border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 460px;
}

.books-carousel-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background-image: linear-gradient(white, white), linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.books-carousel-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
}

.books-carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.book-item {
    flex: 0 0 100%;
    text-align: center;
    padding: 0 10px;
    margin-top: 10px;

}

.book-cover-link {
    display: block;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.book-cover-link:hover {
    transform: translateY(-5px);
    color: #667eea;
}

.book-cover {
    width: auto;
    height: 300px;
    max-width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
    /* 精美的书籍封面边框 */
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 10px;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 0 0 3px white,
        inset 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #a2aace 0%, #dbcde8 100%);
    background-origin: padding-box, border-box;
    background-clip: padding-box, border-box;
    position: relative;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.book-cover-link:hover .book-cover {
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 0 0 3px white,
        inset 0 0 0 1px rgba(102, 126, 234, 0.3);
    transform: translateY(-2px);
}

.book-cover-link:hover .book-cover::before {
    opacity: 1;
    filter: blur(2px);
}

.book-title {
    font-size: 16px;
    color: var(--text-light);
    margin: 0;
    padding: 0 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 40px;
}

/* 左右切换按钮 */
.books-carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.books-carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.books-carousel-prev {
    left: 10px;
}

.books-carousel-next {
    right: 10px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .books-carousel-container {
        min-height: 350px;
    }

    .book-cover {
        height: 345px;
    }

    .book-title {
        font-size: 12px;
    }

    .books-carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* 卡片悬停效果 */
.card-hover {
    transition: var(--transition-smooth);
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-5px) scale(1.05);
}

/* 新闻列表页块悬停效果 */
.block-hover-slide {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.block-hover-slide:hover {
    transform: translateX(8px) scale(1.08);
    color: var(--secondary-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background-color: #dddddd;
    cursor: pointer;
}

.block-hover-slide:hover a {
    color: var(--secondary-color);
}

/* 导航链接专用悬停动画 */
.nav-link.hover-zoom-slide:hover {
    transform: translateX(6px) scale(1.05);
}

/* 侧边栏链接悬停动画 */
.sidebar-nav li a.hover-zoom-slide:hover {
    transform: translateX(10px) scale(1.06);
    padding-left: 30px;
}

/* 相关文章链接悬停动画 */
.related-list a.hover-zoom-slide:hover {
    transform: translateX(5px) scale(1.04);
    padding-left: 8px;
}

/* 标签悬停动画 */
.tag-item.hover-zoom-slide:hover {
    transform: translateX(4px) scale(1.08);
}

/* 按钮悬停动画 */
.btn-flat.hover-zoom-slide:hover {
    transform: translateX(0) scale(1.05);
}

/* 分享按钮悬停动画 */
.share-btn.hover-zoom-slide:hover {
    transform: translateX(0) scale(1.15) translateY(-2px);
}

/* 打印按钮悬停动画 */
.print-btn.hover-zoom-slide:hover {
    transform: translateX(0) scale(1.05) translateY(-2px);
}
}

/* 文字截断优化 */
.text-truncate-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 优化的输入框样式 */
.form-control-flat {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: var(--transition-smooth);
    background: #fafbfc;
}

.form-control-flat:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: var(--white);
}

/* 优化的表格样式 */
.table-flat {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table-flat thead {
    background: var(--primary-gradient);
    color: var(--white);
}

.table-flat tbody tr {
    transition: var(--transition-smooth);
}

.table-flat tbody tr:hover {
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.01);
}

/* 优化的徽章样式 */
.badge-flat {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* 优化的进度条样式 */
.progress-flat {
    height: 8px;
    border-radius: 4px;
    background: #e9ecef;
    overflow: hidden;
}

.progress-flat .progress-bar {
    background: var(--primary-gradient);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* 优化的模态框样式 */
.modal-flat .modal-content {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.modal-flat .modal-header {
    background: var(--primary-gradient);
    color: var(--white);
    border-radius: 16px 16px 0 0;
    border: none;
}

/* 优化的提示框样式 */
.alert-flat {
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
}

.alert-flat.alert-primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
}

/* 优化的分页样式 */
.pagination-flat .page-link {
    border: none;
    margin: 0 2px;
    border-radius: 8px;
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.pagination-flat .page-link:hover {
    background: var(--primary-gradient);
    color: var(--white);
    transform: translateY(-1px);
}

.pagination-flat .page-item.active .page-link {
    background: var(--primary-gradient);
    border-color: transparent;
}

.left_menu {
    padding-bottom: 15px;
    z-index: 1;
}


.footer img {
    max-width: 100%;
}
.footer h5 {
    color: #ceb597;
}
@media (min-width: 992px) {
    .nav-container .navbar-collapse {
        position: static;
        background: transparent;
        box-shadow: none;
        margin-top: 0;
        border-radius: 0;
    }
    
}

@media (min-width: 525px) and (max-width: 768px) {
    .logo img {
        max-width: 360px;
    }
}

@media (min-width: 450px) and (max-width: 525px) {
    .logo img {
        max-width: 350px;
    }
}

@media (max-width: 450px) {
    .logo img {
        max-width: 280px;
    }

    .m_menu_search {
        padding-left: 0px;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .team-mobile-grid .team-member img {
        height: 280px !important;
    }

}

@media (min-width: 300px) and (max-width: 440px) {
    .team-mobile-grid .team-member img {
        height: 140px !important;
    }
}

@media (min-width: 440px) and (max-width: 520px) {
    .team-mobile-grid .team-member img {
        height: 160px !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .team-carousel-inner .team-member img {
        height: 236px !important;
    }
    .header .container{
        max-width: unset;
    }
}

@media (max-width: 1400px) {
    .nav-link{
        font-size: 18px;
    }
}
@media (max-width: 992px) {

    .zhongxinxinwen h2 {
        text-align: center;
        font-size: 24px;
    }

    .nav-container .navbar-collapse {
        width: 175px;
        background: linear-gradient(135deg, #01355b 0%, #024a7d 100%);
        left: -90px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border-radius: unset;
    }

    .dropdown-menu {
        margin-left: 0;
        text-align: left;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    .dropdown-item {
        color: #333;
        font-weight: 500;
    }

    .dropdown-item:hover {
        background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
        color: #fff;
    }

    .nav-link {
        color: #fff;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        transform: translateX(5px);
    }

    .nav-link::after {
        display: none;
    }

    h4 {
        font-size: 16px;
    }

    .news-item:first-child {
        padding-top: 15px;
    }

    .news-list .news-item a {
        font-size: 16px;
    }

    .tongzhigonggao .col-md-4 {
        padding-top: 15px;
    }

    .zhongxinxinwen {
        padding-bottom: 0px;
    }

    .tongzhigonggao {
        padding-bottom: 15px;
    }

    .team-mobile-grid .team-member img {
        height: 185px;
    }

    .carousel-item img {
        max-height: 220px;
    }


    .carousel-indicators {
        left: auto !important;
        margin-bottom: auto !important;
        bottom: 5px;
        margin-right: 5px;
    }

    .announcement-item small {
        display: none;
    }


    .dqwz {
        display: none;
    }

    h5 {
        font-size: 18px;
    }

    .article-meta {
        display: block;
    }

    .article-title {
        font-size: 24px;
    }

    .padding-top-15 {
        padding-top: 15px;
    }

    .announcement-section,
    .academic-section {
        padding: 20px;
    }

    .fengelinestyle .text-bold {
        padding: 0;
        font-size: 20px !important;
    }

    .fengelinestyle .text-bold a {
        font-size: 20px;
    }

    .fengelinestyle {
        background: none;
        border-bottom: 1px solid #cccccc;
    }

    .fengelinestyle .text-bold::before {
        content: none;
    }

    .fengelinestyle0 .text-bold span:last-child {
        display: block;
    }

    .fengelinestyle0 .text-bold {
        padding: 0px !important;
    }

    .fengelinestyle0 {
        text-align: center !important;
    }

    .content {
        background: none;
    }

    .xueshuxinxi .flex-shrink-0 {
        display: none;
    }

    .bannerImg .carousel-item img {
        /* min-height: 160px; */
    }

    .xiangmu-item small {
        display: none;
    }

    .xiangmu-item:last-child {
        border-bottom: 1px solid #f0f0f0;
    }

    .xiangmu-list {
        padding: 0px 15px;
        border-radius: 0;
    }

    .xiangmu-item h5 a {
        white-space: normal;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
    }
    .footleft p {
        text-align: center;
    }
    .footleft h5, .foot02{
        display: none;
    }
    .foot03{
        padding-top: 15px;
    }
}

@media (max-width: 1200px) {
    .search-container {
        display: none;
    }
}