/* Custom CSS for Peking University Biomedical Innovation Center */
:root {
    --primary-red: #8D1B11;
    --secondary-red: #8A0200;
    --accent-red: #FF4757;
    --accent-teal: #20B2AA;
    --accent-blue: #4169E1;
    --accent-yellow: #FFD700;
    --accent-green: #32CD32;
    --primary-grey: #333;
    --secondary-grey: #666;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

ul,
li {
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Body padding for fixed navbar */
body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    background: #f8f9fa;
}

/* 防止菜单打开时页面滚动 */
body.menu-open {
    overflow: hidden;
}

/* 主要白色导航栏 */
.header-main {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}
.wrap{
    width: 100%;
    background: url(/assets/images/bg.png) no-repeat top right;
}



.wide-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.wide-section {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.wide-section img {
    width: 100%;
}

/*首面-新闻动态*/

/* ui-banner */
.ui-banner {
    display: block;
    position: relative;
    width: 1154px;
}

.ui-banner.ui-banner-invalid {
    display: none;
}

.ui-banner,
.ui-banner .ui-banner-slides,
.ui-banner .ui-banner-slogans,
.ui-banner .ui-banner-arrow {
    height: 320px;
}

.ui-banner .ui-banner-slides,
.ui-banner .ui-banner-slogans,
.ui-banner .ui-banner-arrow {
    position: absolute;
    top: 0;
}

.ui-banner ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.ui-banner .ui-banner-slides {
    width: 445px;
    height: 320px;
    left: 1px;
}

.ui-banner .ui-banner-slides li {
    display: none;
    position: absolute;
    top: 5px;
}

.ui-banner .ui-banner-slides li img {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
    display: block;
}

.ui-banner .ui-banner-slides li.ui-banner-slides-current,
.ui-banner .ui-banner-slides li.ui-banner-slides-prev,
.ui-banner .ui-banner-slides li.ui-banner-slides-next {
    display: block;
}

.ui-banner .ui-banner-slides li.ui-banner-slides-current {
    left: 0;
}

.ui-banner .ui-banner-slides li.ui-banner-slides-prev {
    left: -654px;
}

.ui-banner .ui-banner-slides li.ui-banner-slides-next {
    left: 654px;
}

.ui-banner .ui-banner-slogans {
    height: 330px;
    overflow: hidden;
    width: 698px;
    right: 0;
}

.ui-banner .ui-banner-slogans ul {
    overflow-y: auto;
    overflow-x: hidden;
    height: 330px;
    padding-right: 10px;
}

.ui-bnnerimg {
    width: 103px;
    height: 83px;
}
.ui-bnnerimg img{
    max-width: 100%;
    height: 60px;
}

.ui-bnnerp {
    width: calc(100% - 103px);
    height: 83px;
    padding-left: 20px;
}

.ui-bnnerp h3 {
    font-size: 14px;
    color: #666;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    /* max-width: 500px; */
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

.banner-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    margin-left: 10px;
    display: inline-block;
    vertical-align: middle;
    min-width: 60px;
}

/* 移动端科研进展标题单行显示 */
@media (max-width: 768px) {
    .ui-bnnerp h3 {
        max-width: 250px;
    }

    .banner-date {
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .ui-bnnerp h3 {
        max-width: 180px;
        font-size: 13px;
    }

    .banner-date {
        font-size: 11px;
        margin-left: 6px;
    }
}

.ui-bnnerp p {
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    max-height: 2.8em;
}

.ui-line {
    zoom: 1;
    overflow: hidden;
}

.ui-line-hover {
    background: url("../images/stuj.png") no-repeat left center;
}

.ui-line .ullinehover {
    border-bottom: 1px solid #ececec;
    height: 96px;
    margin: 8px 0 8px 0px;
    padding: 6px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: relative;
}

.ui-line:hover .ullinehover {
    background-color: #9b040d;
    margin: 8px 0 8px 0;
    padding-left: 15px;
    padding-right: 15px;
}

.ui-line:hover .ui-bnnerp {
    color: #fff;
}

.ui-line:hover .ui-bnnerp h3,
.ui-line:hover .ui-bnnerp p,
.ui-line:hover .banner-date {
    color: #fff;
}

.ui-banner .ui-banner-arrow {
    display: block;
    width: 23px;
    outline: none;
}

.ui-banner .ui-banner-arrow.ui-banner-arrow-prev {
    background: transparent url("../images/jleft.jpg") no-repeat scroll 0 0;
    height: 23px;
    right: -43px;
    top: 17px;
    width: 23px;
}

.ui-banner .ui-banner-arrow.ui-banner-arrow-next {
    background: transparent url("../images/jright.jpg") no-repeat;
    height: 23px;
    right: -43px;
    top: 49px;
    width: 23px;
}

.ui-banner .ui-banner-arrow.ui-banner-arrow-next img {
    left: -15px;
}

.ui-banner .ui-banner-overlay {
    bottom: 0;
    height: 10px;
    position: absolute;
    right: 0;
    width: 173px;
}

/* 实验室区域样式 */
.labs-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.labs-section .section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-red);
}

.labs-section .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
}

.labs-section .section-title i {
    font-size: 20px;
}

.well-services {
    z-index: 1;
    background: #fff;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.well-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.services-img {
    position: relative;
    text-align: center;
    padding: 30px 30px 0px;
    background: #F5F8FB;
    margin-bottom: 40px;
    z-index: 1;
}

.services-img::after {
    border-top: 99px solid #F5F8FB;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    height: 50px;
    width: 100%;
    position: absolute;
    content: "";
    z-index: -1;
    left: 0;
    bottom: -40px;
}

.big-icon {
    font-size: 22px;
    display: inline-block;
    line-height: 62px;
    color: #1067DB;
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
    border: 1px solid #1067DB;
    border-radius: 50%;
}

.main-wel {
    padding: 35px 20px 20px;
    height: 246px;
    overflow: hidden;
}

.wel-content h4 {
    display: inline-block;
    font-size: 18px;
    margin-bottom: 0;
    padding: 0 0 10px;
}
.wel-content p{
    font-size: 12px;
    font-weight: 300;
}

.well-services:hover .services-img {
    background: #1067DB;
    transition: 0.4s;
}

.well-services:hover .services-img::after {
    border-top: 99px solid #1067DB;
    border-left: 90px solid transparent;
    border-right: 90px solid transparent;
    height: 50px;
    width: 100%;
    position: absolute;
    content: "";
    z-index: -1;
    left: 0;
    bottom: -40px;
    transition: 0.4s;
}

.well-services:hover .big-icon {
    transition: 0.4s;
    color: #fff;
    border: 1px solid #fff;
}

/* 实验室响应式设计 */
@media screen and (max-width: 1200px) {
    .labs-section {
        padding: 30px 0;
    }
}

@media screen and (max-width: 992px) {
    .labs-section {
        padding: 25px 0;
    }
    
    .labs-section .section-header {
        margin-bottom: 25px;
    }
    
    .labs-section .section-title {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .labs-section {
        padding: 20px 0;
    }
    
    .labs-section .section-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .labs-section .section-title {
        font-size: 15px;
    }
}

@media screen and (max-width: 576px) {
    .labs-section {
        padding: 15px 0;
    }
    
    .labs-section .section-header {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .labs-section .section-title {
        font-size: 14px;
    }
}

/* 科研进展区域样式 */
.progress-section {
    padding: 40px 0;
    background-color: white;
}

/* 新闻公告区域样式 */
.news-announcements-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

/* 科研进展和新闻公告容器布局 */
.progress-section .container,
.news-announcements-section .container {
    max-width: 1200px;
}

.progress-section .row,
.news-announcements-section .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

/* 区域头部样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-red);
}
.indexadd{
    width: 1200px;
    margin: 0 auto;
}
.indexadd .section-header{
    border-bottom: none;
    padding: 0;
    margin: 20px auto;
}
.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
}

.section-title i {
    font-size: 20px;
}

.more-link {
    color: var(--primary-grey);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}
.more-link i{
    margin-left: 6px;
}

.more-link:hover {
    color: var(--secondary-red);
    text-decoration: underline;
}

/* 公司新闻样式 */
.news-section {
    background: white;
    padding: 20px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* 重点新闻样式 */
.featured-news {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.news-image {
    flex: 0 0 120px;
}

.news-image .placeholder-image {
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border: 2px dashed #dee2e6;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    transition: all 0.3s ease;
}
.news-image .placeholder-image img{
    width: 100%;
    height: 100%;
}
.news-image .placeholder-image:hover {
    border-color: #007bff;
    background: #e3f2fd;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

.news-image .placeholder-image i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.news-image .placeholder-image p {
    font-size: 0.8rem;
    margin: 0;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-summary {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3em;
}

/* 新闻列表样式 */
.news-lists {
    /* 左右栏合并，不再需要flex布局 */
}

/* 左右栏合并后不再需要这些样式 */

.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background-color 0.3s ease;
}

.news-list li:hover {
    background-color: #f8f9fa;
}

.bullet {
    width: 6px;
    height: 6px;
    background-color: #dc3545;
    border-radius: 0;
    margin-right: 10px;
    flex-shrink: 0;
}

.news-text {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.news-date {
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 最新公告样式 */
.announcements-section {
    background: white;
    padding: 20px 20px 13px;
    border-radius: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.announcements-list {
    /* 移除上边距，与中心新闻结构一致 */
}

.announcement-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.announcement-list li {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #f0f0f0;
    transition: background-color 0.3s ease;
}

.announcement-list li:hover {
    background-color: #f8f9fa;
}


.announcement-text {
    flex: 1;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
}

.announcement-date {
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
    flex-shrink: 0;
}

/* 中心概况样式 */
.center-overview-content {
    padding: 10px 0;
}

.center-intro-text {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

.center-overview-link {
    text-align: right;
    margin-top: 10px;
}

.read-more-btn {
    display: inline-block;
    padding: 6px 15px;
    background-color: var(--primary-red, #c41e3a);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: var(--secondary-red, #a01729);
    color: white;
    text-decoration: none;
}

/* 科研队伍区域样式 */
.research-team-section {
    padding: 40px 0;
    background: url(/assets/images/bg.png) no-repeat top right;
    background-color: #f8f9fa;
}

.research-team-section .section-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-red);
}

.research-team-section .section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-red);
}

.research-team-section .section-title i {
    font-size: 20px;
}

.single-member {
    background-color: #fff;
    text-align: center;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.single-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.member-image {
    position: relative;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    height: 80%;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.single-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    padding: 15px 10px;
}

.member-info h3 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    line-height: 1.2;
    color: #333;
}

.member-info h5, .member-info h5 a{
    font-size: 12px;
    font-weight: 500;
    margin: 0 0 8px 0;
    line-height: 1.2;
    color: var(--primary-red);
}

.member-info p {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 300;
    margin: 0;
    color: #666;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.effect {
    max-height: 280px;
    min-height: 280px;
    overflow: hidden;
}

.effect .member-image{
    border-bottom: 5px solid #e5642b; 
    transition: 0.4s; 
    height: 200px; 
    width: 100%; 
    display: block; 
    overflow: hidden;
}
.col-lg-2:nth-child(even) .effect .member-image,
.col-md-3:nth-child(even) .effect .member-image,
.col-sm-4:nth-child(even) .effect .member-image,
.col-6:nth-child(even) .effect .member-image {
    border-bottom: 5px solid #0F68DC;
}


.effect .member-info {
    transition: 0.4s;
    height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.effect:hover .member-image {
    border-bottom: 0 !important;
    border-radius: 0 0 50px 50px;
    height: 120px;
    transition: 0.4s;
}

.effect:hover .member-info {
    height: 160px;
    transition: 0.4s;
}

/* 科研队伍响应式设计 */
@media screen and (max-width: 1200px) {
    .research-team-section {
        padding: 30px 0;
    }
    
    .effect {
        max-height: 260px;
        min-height: 260px;
    }
    
    .effect .member-image {
        height: 180px;
    }
    
    .effect:hover .member-image {
        height: 100px;
    }
    
    .effect:hover .member-info {
        height: 160px;
    }
}

@media screen and (max-width: 992px) {
    .research-team-section {
        padding: 25px 0;
    }
    
    .research-team-section .section-header {
        margin-bottom: 25px;
    }
    
    .research-team-section .section-title {
        font-size: 16px;
    }
    
    .effect {
        max-height: 240px;
        min-height: 240px;
    }
    
    .effect .member-image {
        height: 160px;
    }
    
    .effect:hover .member-image {
        height: 90px;
        border-bottom: 0 !important;
    }
    
    .effect:hover .member-info {
        height: 150px;
    }
    
    .member-info h3 {
        font-size: 13px;
    }
    
    .member-info h5 {
        font-size: 11px;
    }
    
    .member-info p {
        font-size: 10px;
        -webkit-line-clamp: 2;
    }
}

@media screen and (max-width: 768px) {
    .research-team-section {
        padding: 20px 0;
    }
    
    .research-team-section .section-header {
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    .research-team-section .section-title {
        font-size: 15px;
    }
    
    .effect {
        max-height: 220px;
        min-height: 220px;
    }
    
    .effect .member-image {
        height: 140px;
    }
    
    .effect:hover .member-image {
        height: 80px;
        border-bottom: 0 !important;
    }
    
    .effect:hover .member-info {
        height: 140px;
    }
    
    .member-info {
        padding: 12px 8px;
    }
    
    .member-info h3 {
        font-size: 12px;
    }
    
    .member-info h5 {
        font-size: 10px;
    }
    
    .member-info p {
        font-size: 9px;
        -webkit-line-clamp: 2;
    }
}

@media screen and (max-width: 576px) {
    .research-team-section {
        padding: 15px 0;
    }
    
    .research-team-section .section-header {
        margin-bottom: 15px;
        padding-bottom: 8px;
    }
    
    .research-team-section .section-title {
        font-size: 14px;
    }
    
    .effect {
        max-height: 200px;
        min-height: 200px;
    }
    
    .effect .member-image {
        height: 120px;
    }
    
    .effect:hover .member-image {
        height: 70px;
        border-bottom: 0 !important;
    }
    
    .effect:hover .member-info {
        height: 130px;
    }
    
    .member-info {
        padding: 10px 6px;
    }
    
    .member-info h3 {
        font-size: 11px;
    }
    
    .member-info h5 {
        font-size: 9px;
    }
    
    .member-info p {
        font-size: 8px;
        -webkit-line-clamp: 2;
    }
}

/*底部*/
.footer{
    background: url(/assets/images/footer_bg.png) no-repeat;
    position: relative;
    z-index: 1002;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer .container {
    /* max-width: 1200px; */
    margin: 30px auto;
    padding: 0 20px;
    background-color: #8b0000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 30px;
    gap: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
    min-width: 250px;
    background: #fff;
}

.footer-logo .logo {
    overflow: hidden;
    border-radius: 0;
}

.footer-logo .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.footer-logo .text-muted {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
    flex: 1;
    min-width: 300px;
    justify-content: center;
}

.footer-column {
    min-width: 120px;
}

.footer-column h4 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
}

.footer-info {
    text-align: center;
    margin-bottom: 15px;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 5px 0;
}

.footer-copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

/* Footer底部居中布局 */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-top: 20px;
    gap: 30px;
}

.footer-bottom-left {
    text-align: center;
}

.footer-bottom-right {
    text-align: center;
}

.qrcode {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 16px;
}

.qrcode img {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    object-fit: cover;
    transition: all 0.3s ease;
    background: white;
    padding: 5px;
}

.qrcode img:hover {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.qrcode p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

/* 科研队伍卡片样式 */
.team-grid {
    margin-top: 20px;
}

.team-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    border: 1px solid #f0f0f0;
    position: relative;
}

.team-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 40px rgba(141, 27, 17, 0.25);
    border-color: var(--primary-red);
}

.team-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    animation: badgePulse 2s infinite;
}

.team-badge i {
    color: white;
    font-size: 14px;
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    opacity: 0.85;
    filter: grayscale(0.3);
}

.team-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease, opacity 0.4s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-card:hover .team-image {
    opacity: 1;
    filter: grayscale(0);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(141, 27, 17, 0.8) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-view-btn {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-red);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.team-view-btn:hover {
    background: white;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.team-info {
    padding: 25px 20px;
    text-align: center;
    background: white;
    position: relative;
}

.team-info::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    border-radius: 2px;
}

.team-name {
    margin-bottom: 12px;
}

.team-name h4 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.3;
    position: relative;
}

.team-name h4::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    transition: width 0.3s ease;
}

.team-card:hover .team-name h4::after {
    width: 50px;
}

.team-role {
    display: block;
    font-size: 13px;
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 63px;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.skill-tag {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #495057;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: white;
    border-color: var(--primary-red);
    transform: translateY(-2px);
}

/* 动画效果 */
@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
    }
}

/* 科研队伍区域响应式设计 */
@media screen and (max-width: 992px) {
    .team-image {
        height: 200px;
    }

    .team-info {
        padding: 20px 15px;
    }

    .team-name h4 {
        font-size: 16px;
    }

    .team-role {
        font-size: 12px;
    }

    .team-bio {
        font-size: 12px;
        -webkit-line-clamp: 2;
        min-height: 64px;
    }

    .skill-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    .team-badge {
        width: 30px;
        height: 30px;
    }

    .team-badge i {
        font-size: 12px;
    }
}

/* 移动端 - 隐藏图片，一行两列 */
@media screen and (max-width: 768px) {
    .team-image {
        display: none;
    }

    .team-card {
        text-align: center;
        padding: 25px 20px;
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 1px solid #e9ecef;
        border-radius: 12px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 100%;
        position: relative;
        overflow: hidden;
    }

    .team-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    }

    .team-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    }

    .team-info {
        padding: 0;
    }

    .team-name {
        margin-bottom: 15px;
        position: relative;
    }

    .team-name h4 {
        font-size: 1.2rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .team-role {
        font-size: 0.95rem;
        color: var(--primary-red);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        max-height: 3.3em;
        padding: 6px 12px;
        background: rgba(141, 27, 17, 0.1);
        border-radius: 20px;
        margin-bottom: 15px;
        font-weight: 500;
        text-align: left;
    }

    .team-bio {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 20px;
        text-align: left;
        color: #666;
        position: relative;
        padding-left: 20px;
    }

    .team-bio::before {
        content: '"';
        position: absolute;
        left: 0;
        top: 0;
        font-size: 2rem;
        color: var(--primary-red);
        opacity: 0.3;
        font-family: Georgia, serif;
    }

    /* 移动端添加查看详情按钮 */
    .team-card .team-info::after {
        content: '查看详情';
        display: inline-block;
        margin-top: 15px;
        padding: 2px 20px;
        background: white;
        color: var(--primary-red);
        border: 2px solid var(--primary-red);
        border-radius: 20px;
        font-size: 0.85rem;
        text-decoration: none;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .team-card:hover .team-info::after {
        background: var(--primary-red);
        color: white;
        transform: scale(1.05);
    }
}

.footer-bottom-left p,
.footer-bottom-right p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin: 5px 0;
}

.footer-bottom-left a,
.footer-bottom-right a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-left a:hover,
.footer-bottom-right a:hover {
    color: white;
    text-decoration: underline;
}

/* Footer 移动端自适应 */
@media screen and (max-width: 768px) {
    .footer {
        padding: 30px 0 15px;
        margin-top: 30px;
    }
    
    .footer .container {
        padding: 0 15px;
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    }
    
    .footer-content {
        display: none;
    }
    
    .footer-logo {
        min-width: auto;
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 25px;
        min-width: auto;
        width: 100%;
    }
    
    .footer-column {
        min-width: auto;
        width: 100%;
        text-align: center;
    }
    
    .footer-column h4 {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .footer-column ul li a {
        font-size: 13px;
    }
    
    .footer-info p {
        font-size: 12px;
    }
    
    .footer-copyright {
        font-size: 11px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-bottom-left,
    .footer-bottom-right {
        flex: none;
        text-align: center;
    }

    .qrcode img {
        width: 80px;
        height: 80px;
        border-width: 2px;
        padding: 3px;
    }

    .qrcode p {
        font-size: 12px;
    }
}

@media screen and (max-width: 576px) {
    .footer {
        padding: 25px 0 10px;
        margin-top: 20px;
    }
    
    .footer .container {
        padding: 0 10px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    }
    
    .footer-content {
        display: none;
    }
    
    .footer-logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-logo .text-muted {
        font-size: 13px;
    }
    
    .footer-column h4 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-column ul li {
        margin-bottom: 8px;
    }
    
    .footer-column ul li a {
        font-size: 12px;
    }
    
    .footer-info p {
        font-size: 11px;
    }
    
    .footer-copyright {
        font-size: 10px;
    }
    
    .footer-bottom {
        gap: 10px;
        padding: 10px 0;
    }
    
    .footer-bottom-left p,
    .footer-bottom-right p {
        font-size: 12px;
    }
}

/* 轮播图移动端自适应 */
@media screen and (max-width: 768px) {
    .indexadd {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .indexadd .section-header {
        padding: 15px 20px 10px;
        margin: 0;
        background: white;
    }
    
    .ui-banner {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        background: white;
        border-radius: 0;
        overflow: visible;
        box-shadow: none;
    }
    
    /* 隐藏左侧大图 */
    .ui-banner .ui-banner-slides {
        display: none;
    }
    
    .ui-banner .ui-banner-slogans {
        width: 100%;
        height: auto;
        min-height: 250px;
        max-height: none;
        right: 0;
        position: relative;
        margin-top: 0;
          background: #f8f9fa;
        padding: 15px 20px 20px;
        overflow: visible;
    }
    
    .ui-banner .ui-banner-slogans ul {
        height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .ui-banner .ui-banner-arrow {
        display: none;
    }
    
    .ui-line {
        position: relative;
        margin-bottom: 16px;
        height: 70px;
        overflow: visible;
    }
    
    .ui-line:last-child {
        margin-bottom: 0;
    }
    
    /* 移动端只显示前3条 */
    .ui-line:nth-child(n+4) {
        display: none;
    }
    
    .ullinehover {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin: 0;
        padding: 0;
        height: auto;
        min-height: auto;
        border: none;
        transition: all 0.3s ease;
    }
    
    .ullinehover:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }
    
    .ui-bnnerimg {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }
    
    .ui-bnnerimg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 4px;
    }
    
    .ui-bnnerp {
        width: calc(100% - 80px);
        height: auto;
        padding-left: 0;
        padding-top: 0;
    }
    
    .ui-bnnerp h3 {
        font-size: 14px;
        line-height: 1.4;
        margin: 0 0 8px 0;
        color: #333;
        font-weight: 600;
    }
    
    .ui-bnnerp p {
        font-size: 12px;
        line-height: 1.5;
        color: #666;
        margin: 0;
        overflow: hidden;
        display: -webkit-box;
        line-clamp: 3;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }
}

@media screen and (max-width: 576px) {
    .indexadd {
        width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .indexadd .section-header {
        padding: 12px 15px 8px;
        margin: 0;
        background: white;
    }
    
    /* 确保左侧大图在最小屏幕上也隐藏 */
    .ui-banner .ui-banner-slides {
        display: none;
    }
    
    /* 小屏设备也只显示前3条 */
    .ui-line:nth-child(n+4) {
        display: none;
    }
    
    .ui-banner .ui-banner-slogans {
        padding: 12px 15px 15px;
        top: 24px;
        background: none;
        min-height: 220px;
    }
    
    .ui-line {
        height: 60px;
    }
    
    .ullinehover {
        gap: 10px;
        height: 100%;
    }
    
    .ui-bnnerimg {
        width: 60px;
        height: 45px;
    }
    
    .ui-bnnerp {
        width: calc(100% - 60px);
    }
    
    .ui-bnnerp h3 {
        font-size: 13px;
    }
    
    .ui-bnnerp p {
        font-size: 11px;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }
}

/* 科研进展和新闻公告响应式设计 */
@media screen and (max-width: 768px) {
    .progress-section,
    .news-announcements-section {
        padding: 20px 0;
    }

    .progress-section .row,
    .news-announcements-section .row {
        flex-direction: column;
    }
    
    .news-section,
    .announcements-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 16px;
    }
    
    .featured-news {
        flex-direction: row;
        gap: 10px;
    }
    
    .news-image {
        flex: 0 0 80px;
    }
    
    .news-image .placeholder-image {
        width: 100%;
        height: 60px;
    }
    
    .news-title {
        font-size: 15px;
    }
    
    .news-summary {
        font-size: 13px;
    }
    
    .news-lists {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-text,
    .announcement-text {
        font-size: 12px;
    }
    
    .news-date,
    .announcement-date {
        font-size: 11px;
    }
}

@media screen and (max-width: 576px) {
    .news-section,
    .announcements-section {
        padding: 12px;
    }
    
    .section-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        justify-content: space-between;
    }
    
    .section-title {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .more-link {
        font-size: 13px;
    }
    
    .featured-news {
        flex-direction: row;
        gap: 8px;
    }
    
    .news-image {
        flex: 0 0 60px;
    }
    
    .news-image .placeholder-image {
        height: 50px;
    }
    
    .news-image .placeholder-image i {
        font-size: 1.5rem;
    }
    
    .news-title {
        font-size: 14px;
    }
    
    .news-summary {
        font-size: 12px;
    }
    
    .news-text,
    .announcement-text {
        font-size: 11px;
    }
    
    .news-date,
    .announcement-date {
        font-size: 10px;
    }
    
    .bullet {
        width: 4px;
        height: 4px;
        margin-right: 8px;
    }
}



@media screen and (min-width: 1400px) {
    .container {
        width: 1200px;
        padding: 0;
    }
}

/* Header搜索框响应式样式 */
@media screen and (max-width: 768px) {
    .header {
        padding: 10px 15px;
        flex-wrap: nowrap;
        gap: 15px;
    }

    .logo-section {
        flex: 2;
        min-width: 0;
    }

    .logo-section .text-muted {
        font-size: 0.8em;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .search {
        flex: 1;
        max-width: 200px;
        min-width: 0;
    }

    .search .form-control {
        height: 32px;
        font-size: 0.8em;
        padding-left: 10px;
    }

    .search .btn {
        height: 32px;
        padding: 0 12px;
        font-size: 0.8em;
    }
}

@media screen and (max-width: 480px) {
    .header {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .logo-section {
        justify-content: center;
        text-align: center;
    }

    .search {
        max-width: 100%;
    }
}

/* 轮播样式 */
.carousel {
    width: 100%;
    height: 500px;
}

.carousel-item {
    height: 500px;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 不同幻灯片的背景 */
.slide-1 {
    background: linear-gradient(135deg, rgba(141, 27, 17, 0.8), rgba(138, 2, 0, 0.8)),
                url('/assets/images/banner.png') center/cover;
}

.slide-2 {
    background: linear-gradient(135deg, rgba(141, 27, 17, 0.8), rgba(138, 2, 0, 0.8)),
                url('https://via.placeholder.com/1920x600/8D1B11/ffffff?text=CRISPR+Research') center/cover;
}

.slide-3 {
    background: linear-gradient(135deg, rgba(141, 27, 17, 0.8), rgba(138, 2, 0, 0.8)),
                url('https://via.placeholder.com/1920x600/8D1B11/ffffff?text=International+Cooperation') center/cover;
}

.slide-4 {
    background: linear-gradient(135deg, rgba(141, 27, 17, 0.8), rgba(138, 2, 0, 0.8)),
                url('https://via.placeholder.com/1920x600/8D1B11/ffffff?text=Laboratory+Platform') center/cover;
}

.slide-5 {
    background: linear-gradient(135deg, rgba(141, 27, 17, 0.8), rgba(138, 2, 0, 0.8)),
                url('https://via.placeholder.com/1920x600/8D1B11/ffffff?text=Technology+Transfer') center/cover;
}

.carousel-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-text {
    text-align: center;
    color: white;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.carousel-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-text p {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-carousel {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 27, 17, 0.3);
    border: 2px solid transparent;
}

.btn-carousel:hover {
    background: transparent;
    border-color: white;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(141, 27, 17, 0.4);
}

/* 指示器样式 */
.carousel-indicators {
    bottom: 30px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: white;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 控制按钮样式 */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 20px;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(141, 27, 17, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    .carousel {
        height: 350px;
    }

    .carousel-item {
        height: 350px;
    }

    .carousel-text h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .carousel-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-carousel {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 45px;
        height: 45px;
        margin: 0 8px;
    }

    .carousel-indicators {
        bottom: 15px;
    }

    .carousel-indicators button {
        width: 9px;
        height: 9px;
        margin: 0 3px;
    }
}

@media screen and (max-width: 480px) {
    .carousel {
        height: 280px;
    }

    .carousel-item {
        height: 280px;
    }

    .carousel-text {
        padding: 0 15px;
    }

    .carousel-text h1 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .carousel-text p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.4;
    }

    .btn-carousel {
        padding: 6px 18px;
        font-size: 0.85rem;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
        margin: 0 5px;
    }

    .carousel-indicators button {
        width: 7px;
        height: 7px;
        margin: 0 2px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

