/* 二级页面 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
}       
:root {
    --primary-color: #097c25;
    --primary-dark: #065e1c;
    --secondary-color: #e0f2e1;
    --accent-color: #d9d9d9;
    --text-dark: #333;
    --text-light: #fff;
    --light-gray: #f5f7fa;
    --transition: all 0.3s ease;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}       
body {
    background-color: var(--light-gray);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}
/* 左侧菜单项为链接样式 */
.menu-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}       
.sub-menu-item a {
    color: inherit;
    text-decoration: none;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
}      
.sub-sub-menu-item a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}
.footer-section a {
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: #e0f0e0 !important;
    text-decoration: underline;
}	
/* 左侧菜单样式 */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-light);
    height: 100vh;
    position: fixed;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 3px 0 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}   
.logo-container {
    padding: 25px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.1);
}     
.college-name {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}   
.college-subtitle {
    font-size: 14px;
    margin-top: 8px;
    opacity: 0.85;
}      
.main-menu {
    padding: 15px 0;
}       
        .menu-item {
            padding: 14px 25px;
            cursor: pointer;
            transition: var(--transition);
            position: relative;
            border-left: 4px solid transparent;
            display: flex;
            align-items: center;
            font-size: 16px;
        }
        
        .menu-item:hover {
            background: rgba(255,255,255,0.1);
            border-left: 4px solid var(--secondary-color);
        }
        
        .menu-item.active {
            background: rgba(255,255,255,0.15);
            border-left: 4px solid var(--secondary-color);
        }
        
        .menu-item i {
            margin-right: 15px;
            width: 22px;
            text-align: center;
            font-size: 18px;
            transition: var(--transition);
        }
        
        .menu-item:hover i {
            transform: translateX(3px);
        }
        
        .sub-menu {
            background: rgba(0,0,0,0.12);
            display: none;
            animation: fadeIn 0.3s ease;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .sub-menu-item {
            padding: 12px 25px 12px 55px;
            cursor: pointer;
            font-size: 15px;
            transition: var(--transition);
            position: relative;
            display: flex;
            align-items: center;
        }
        
        .sub-menu-item:before {
            content: "";
            position: absolute;
            left: 40px;
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--secondary-color);
            transition: var(--transition);
        }
        
        .sub-menu-item:hover {
            background: rgba(255,255,255,0.08);
            padding-left: 58px;
        }
        
        .sub-menu-item:hover:before {
            transform: scale(1.5);
        }
        
        .sub-menu-item.active {
            color: var(--secondary-color);
            font-weight: 500;
        }
        
        .sub-menu-item.active:before {
            background: var(--secondary-color);
            transform: scale(1.5);
        }
        
        .sub-sub-menu {
            background: rgba(0,0,0,0.15);
            display: none;
            padding-left: 15px;
            animation: slideIn 0.3s ease;
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-10px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        .sub-sub-menu-item {
            padding: 10px 15px 10px 45px;
            cursor: pointer;
            font-size: 14px;
            transition: var(--transition);
            position: relative;
        }
        
        .sub-sub-menu-item:before {
            content: "›";
            position: absolute;
            left: 30px;
            color: var(--secondary-color);
        }
        
        .sub-sub-menu-item:hover {
            background: rgba(255,255,255,0.05);
            padding-left: 48px;
            color: var(--secondary-color);
        }
        
        .sub-sub-menu-item.active {
            color: var(--secondary-color);
            font-weight: 500;
        }
        
        /* 主内容区域 */
        .main-content {
            flex: 1;
            margin-left: 260px;
            transition: var(--transition);
        }
        
        /* 头部样式 */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 40px;
            background: var(--text-light);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 90;
        }
        
        .header-title {
            font-size: 26px;
            color: var(--primary-color);
            font-weight: bold;
            display: flex;
            align-items: center;
        }
        
        .header-title i {
            margin-right: 12px;
            color: var(--primary-dark);
        }
        
        .search-box {
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .search-box input {
            padding: 10px 20px;
            border: 1px solid var(--accent-color);
            border-radius: 30px;
            outline: none;
            width: 300px;
            font-size: 15px;
            padding-right: 45px;
            transition: var(--transition);
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        }
        
        .search-box input:focus {
            border-color: var(--primary-color);
            box-shadow: 0 2px 10px rgba(9, 124, 37, 0.15);
            width: 350px;
        }
        
        .search-box button {
            position: absolute;
            right: 10px;
            padding: 8px;
            background: transparent;
            color: var(--primary-color);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            transition: var(--transition);
        }
        
        .search-box button:hover {
            color: var(--primary-dark);
            transform: scale(1.1);
        }
        
        /* 内容区域 */
        .content-area {
            padding: 35px 40px;
            min-height: calc(100vh - 80px);
        }
        
        .content-section {
            background: white;
            border-radius: 12px;
            box-shadow: var(--shadow);
            padding: 30px;
            margin-bottom: 35px;
            border-left: 5px solid var(--primary-color);
            animation: contentAppear 0.5s ease;
            position: relative;
            overflow: hidden;
        }
        
        @keyframes contentAppear {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .content-section:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        }
        
        .content-title {
            font-size: 24px;
            color: var(--primary-color);
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--accent-color);
            display: flex;
            align-items: center;
        }
        
        .content-title i {
            margin-right: 12px;
            background: var(--secondary-color);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .content-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
        }
   
        .card {
            background: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0,0,0,0.05);
            transition: var(--transition);
            border: 1px solid var(--accent-color);
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        
        .card:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            border-color: rgba(9, 124, 37, 0.3);
        }
        
        .card-img {
            height: 180px;
            background: linear-gradient(120deg, var(--secondary-color), #c8e6c9);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 50px;
            position: relative;
            overflow: hidden;
        }
        
        .card-img:after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 30%;
            background: linear-gradient(transparent, rgba(0,0,0,0.05));
        }
        
        .card-content {
            padding: 22px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .card-title {
            font-size: 19px;
            margin-bottom: 12px;
            color: var(--primary-color);
            display: flex;
            align-items: center;
        }
        
        .card-title i {
            margin-right: 8px;
            font-size: 18px;
        }
        
        .card-text {
            font-size: 15px;
            color: #555;
            line-height: 1.7;
            margin-bottom: 15px;
            flex: 1;
        }

        .hidden {
            display: none;
        }
        /* 面包屑导航 */
        .breadcrumb {
            display: flex;
            align-items: center;
            margin-bottom: 25px;
            color: #666;
            font-size: 15px;
        }
        
        .breadcrumb a {
            color: var(--primary-color);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .breadcrumb a:hover {
            color: var(--primary-dark);
            text-decoration: underline;
        }
        
        .breadcrumb i {
            margin: 0 10px;
            font-size: 12px;
            opacity: 0.6;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .sidebar {
                width: 70px;
            }
            
            .logo-container .college-name,
            .logo-container .college-subtitle,
            .menu-item span {
                display: none;
            }
            
            .logo {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            .menu-item {
                padding: 18px 0;
                justify-content: center;
            }
            
            .menu-item i {
                margin-right: 0;
                font-size: 20px;
            }
            
            .sub-menu,
            .sub-sub-menu {
                position: absolute;
                left: 70px;
                width: 220px;
                box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
                z-index: 100;
            }
            
            .main-content {
                margin-left: 70px;
            }
            
            .header {
                flex-direction: column;
                align-items: flex-start;
                padding: 15px;
            }
            
            .header-title {
                margin-bottom: 15px;
            }
            
            .search-box {
                width: 100%;
            }
            
            .search-box input {
                width: 100%;
            }
            
            .content-area {
                padding: 25px 20px;
            }
            
            .email-address {
                font-size: 24px;
                padding: 15px 20px;
            }
        }
        
        @media (max-width: 768px) {
            .content-grid {
                grid-template-columns: 1fr;
            }
            
            .stats-container {
                grid-template-columns: 1fr;
            }
            
            .email-address {
                font-size: 20px;
                padding: 12px 15px;
            }
        }
        
        /* 切换动画 */
        .content-section {
            animation: fadeIn 0.4s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(15px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Footer专属样式 */
        footer.bg-\[\#1A4D27\] {
        background-color: #1A4D27;
        }
        .quick-links {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 8px;
        }
        .quick-link {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            transition: all 0.3s ease;
        }
        .quick-link:hover {
            background: rgba(255, 255, 255, 0.2);
            transform: translateX(5px);
        }
        .quick-link i {
            margin-right: 10px;
            font-size: 18px;
            color: #97c4a2;
        }
        .copy-btn {
            cursor: pointer;
            transition: all 0.3s ease;
        }
        @media (max-width: 768px) {
        .footer-grid {
            grid-template-columns: 1fr;
        }
        
        .footer-qr {
            margin-top: 2rem;
            order: 3; /* 二维码放在最后 */
        }
        
        .footer-links {
            margin-top: 3rem;
            order: 2;
        }
        }
        .footer-section {
            background-color: #1A4D27;
            color: white;
            padding:1.5rem 0;
            margin-top: auto; /* 确保页脚在页面底部 */
        }
        .footer-container {
            max-width: 1450px;
            margin: 0 auto;
            margin-top: 1.5rem;	
            padding: 0 20px;
        }
         .footer-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: flex-start;
        }       
        .footer-col-span-2 {
            flex: 1 1 300px;
        }
        .footer-logo-container {
            margin-bottom: 1rem;
        }       
        .footer-logo {
            background: transparent !important;
            width: auto !important;
            height: auto !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            margin: 0 !important;
            padding: 0 !important;
            display: block;
        }
         .footer-logo img {
            max-width: 220px;
            height: auto;
        }       
        .footer-contact-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.5rem;
        }
                
        .footer-contact-grid p {
            margin: 0.3rem 0;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
        }
                
        .footer-links {
            flex: 0 1 200px;
        }
                
        .footer-qr {
            flex: 0 0 auto;
            margin-top: 1rem;
            text-align: center;
            margin-left: 9rem
        }
                
        .footer-qr img {
            max-width: 100px;
            height: auto;
        }
                
        .footer-copyright {
            margin-top: 1.5rem;
            font-size: 0.8rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
        }
        .quick-link {
            display: flex;
            align-items: center;
            padding: 8px 12px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }
                
        .footer-links h4 {
            font-size: 1.1rem;
            margin-bottom: 1rem;
        }
        /* 改进移动端显示 */
        @media (max-width: 992px) {
            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 2rem;
            }
                
            .footer-col-span-2 {
                grid-column: span 2;
            }
        }

        @media (max-width: 576px) {
            .footer-grid {
                grid-template-columns: 1fr;
            }
                
            .footer-col-span-2 {
                grid-column: span 1;
            }
        }
        /* 缩小校徽尺寸 */
        .footer-col-span-2 .footer-logo img {
            max-width: 180px !important;
            height: auto;
        }
        /* 缩小联系信息字体 */
        .footer-contact-grid p {
            font-size: 0.8rem !important;
            margin: 0.1rem 0 !important;
        }
        /* 缩小二维码尺寸 */
        .footer-qr img {
            max-width: 90px !important;
            height: auto;
        }
        /* 移动端响应式 */
        @media (max-width: 768px) {
            .quick-links {
                grid-template-columns: 1fr;
            }
                
            .contact-wrapper {
                flex-direction: column;
                gap: 10px;
            }
        }
        /* 快速链接两列布局 */
        .quick-links-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 10px;
        }
        .quick-links-column {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        /* 调整快速链接区域宽度以适应两列 */
        .footer-links {
            flex: 0 1 300px !important;
        }
        /* 移动端响应式 */
        @media (max-width: 768px) {
            .quick-links-grid {
                grid-template-columns: 1fr;
            }
            
            .contact-wrapper {
                flex-direction: column;
                gap: 10px;
            }
            
            .footer-qr {
                margin-left: 0 !important;
            }
        }


/* 文字截断 + 提示框样式 */
.quick-link {
    height: 40px !important; /* 固定高度确保对齐 */
    position: relative; /* 为tooltip定位 */
    white-space: nowrap !important; /* 防止文字换行 */
    overflow: hidden !important; /* 隐藏溢出文字 */
    text-overflow: ellipsis !important; /* 显示省略号 */
}

.quick-link span {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 !important;
}

/* Tooltip样式 */
.quick-link::after {
    content: attr(data-fulltext);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    pointer-events: none;
}

.quick-link:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: calc(100% + 8px);
}

/* 高层次人才及团队内容、专任教师内容（七个学科的教师）*/
/* 高层次人才及团队样式 */
.team-section {
  margin-bottom: 40px;
}

.team-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
}

.team-title i {
  margin-right: 10px;
}

.team-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  margin-bottom: 25px;
  overflow: hidden;
  border-left: 5px solid var(--primary-color);
}

.team-header {
  background: linear-gradient(135deg, var(--secondary-color), #f1f8e9);
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-name {
  font-size: 20px;
  color: var(--primary-color);
  margin: 0;
}

.team-badge {
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
}

.team-content {
  padding: 25px;
}

.team-intro {
  margin-bottom: 25px;
}

.team-intro p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

.team-members, .team-achievements {
  margin-bottom: 25px;
}

.team-members h5, .team-achievements h5 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-color);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
}

.member-item {
  background: var(--light-gray);
  padding: 15px;
  border-radius: 8px;
  border-left: 3px solid var(--primary-color);
}

.member-name {
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.member-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.member-research {
  font-size: 14px;
  color: #333;
}

.achievement-list {
  padding-left: 20px;
}

.achievement-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #555;
}

/* 院士团队样式 */
.academician-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.academician-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.academician-photo {
  height: 200px;
  overflow: hidden;
}

.academician-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.academician-info {
  padding: 20px;
  flex: 1;
}

.academician-name {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.academician-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}

.academician-research {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 500;
}

.academician-intro p {
  line-height: 1.6;
  color: #555;
  margin: 0;
}

/* 人才统计样式 */
.stat-card {
    background: linear-gradient(135deg, var(--secondary-color), #f1f8e9);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    border: 1px solid rgba(9, 124, 37, 0.1);
}
.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}
.stat-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-family: 'Arial', sans-serif;
}
.stat-label {
    font-size: 16px;
    color: #555;
}
.talent-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.talent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.talent-category {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
} 
.talent-category h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-color);
}

.talent-category ul {
  padding-left: 20px;
  margin: 0;
}

.talent-category li {
  margin-bottom: 8px;
  line-height: 1.5;
  color: #555;
}
strong {          
  color: #1a3c1e;
  font-weight: 700;
}


/* 教师卡片样式 */
.teacher-category {
  margin-bottom: 40px;
}

.category-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-color);
  display: flex;
  align-items: center;
}

.category-title i {
  margin-right: 10px;
}

.category-title.professor {
  color: #c62828;
}

.category-title.associate {
  color: #1565c0;
}

.category-title.lecturer {
  color: #2e7d32;
}

.teacher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.teacher-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
  cursor: pointer;
}

.teacher-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.teacher-photo {
  height: 200px;
  overflow: hidden;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.teacher-card:hover .teacher-photo img {
  transform: scale(1.05);
}

.teacher-info {
  padding: 20px;
}

.teacher-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.teacher-title {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.teacher-research {
  font-size: 14px;
  color: #333;
}

/* 模态框样式 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  width: 80%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  position: relative;
  transform: translateY(-50px);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #aaa;
  transition: var(--transition);
}

.close:hover {
  color: #000;
}

#teacher-detail {
  line-height: 1.6;
}

#teacher-detail h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

#teacher-detail p {
  margin-bottom: 10px;
}

#teacher-detail p span {
    white-space: pre-line;
}
/* 教师详情弹窗内文本换行与加粗 */
#teacher-detail p span,
#teacher-detail .teacher-selfinfo,
#teacher-detail .teacher-detail-section p span {
    white-space: pre-line;
}

.teacher-detail-header {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 20px;
}

.teacher-detail-photo {
  flex: 0 0 200px;
  margin-right: 20px;
}

.teacher-detail-photo img {
  width: 100%;
  border-radius: 8px;
}

.teacher-detail-info {
  flex: 1;
}

.teacher-detail-name {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.teacher-detail-title {
  font-size: 18px;
  color: #666;
  margin-bottom: 15px;
}

.teacher-detail-section {
  margin-bottom: 20px;
}

.teacher-detail-section h4 {
  color: var(--primary-dark);
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--accent-color);
}

.hidden {
  display: none;
}

/* 接诉即办样式 */
.mailbox-content {
  background: linear-gradient(135deg, #e0f2e1, #f1f8e9);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 30px 0;
  border-left: 5px solid var(--primary-color);
}

.mailbox-title {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mailbox-title i {
  margin-right: 15px;
  font-size: 32px;
}

.email-address {
  font-size: 32px;
  color: var(--primary-color);
  background: white;
  padding: 20px 40px;
  border-radius: 10px;
  display: inline-block;
  margin: 20px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: var(--transition);
  border: 1px solid var(--secondary-color);
}

.email-address:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.contact-info2 {
  margin-top: 20px;
  margin-bottom: 10px;
  color: #555;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  font-weight: 600;
  padding: 8px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
  
  .academician-grid {
    grid-template-columns: 1fr;
  }
  
  .talent-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .talent-list {
    grid-template-columns: 1fr;
  }
  
  .team-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .team-badge {
    margin-top: 10px;
  }
  
  .teacher-grid {
    grid-template-columns: 1fr;
  }
  
  .email-address {
    font-size: 20px;
    padding: 12px 15px;
  }
  
  .teacher-detail-header {
    flex-direction: column;
  }
  
  .teacher-detail-photo {
    flex: none;
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* 学院团委样式 */
.contact-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent-color);
}

.contact-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin: 0;
}

.contact-info {
    display: flex;
    gap: 20px;
    font-size: 16px;
    color: #666;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.staff-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.staff-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.staff-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.staff-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 5px;
}

.staff-title {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.staff-duties {
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

/* 学院各学科联系方式样式 */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.contact-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.contact-name {
    font-weight: 500;
    color: var(--text-dark);
}

.contact-phone {
    color: var(--primary-color);
    font-weight: 500;
}

/* 学院办公室样式 */
.office-info {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.office-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--accent-color);
}

.office-title {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 500;
}

.office-name {
    font-size: 20px;
    color: var(--primary-dark);
    font-weight: bold;
}

.office-staff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.office-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.staff-role {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.staff-name {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.staff-phone {
    color: var(--primary-dark);
    font-weight: bold;
}

.office-location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    color: var(--primary-color);
    font-weight: 500;
}

/* 党委委员会样式 */
.committee-structure {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.committee-item {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.committee-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--accent-color);
}

.sub-committee {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.sub-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
}

.sub-item h4 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 16px;
}

.sub-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-item li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    color: #555;
    font-size: 14px;
}

.sub-item li:last-child {
    border-bottom: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .office-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .office-staff {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .sub-committee {
        grid-template-columns: 1fr;
    }
}
/* 团委图片 */
/* .committee-image-container {
    text-align: center;
    padding: 20px 0;
} */

/* .committee-image {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */
/* 图片容器样式 */
    .committee-image-container {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 20px 0;
        width: 100%;
        box-sizing: border-box;
    }

    /* 图片样式 */
    .committee-image {
        max-width: 100%;
        height: auto;
        border-radius: 6px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        display: block; /* 确保图片作为块级元素 */
    }

/* 学院团委样式 */
        .counselor-container {
            display: flex;
            gap: 25px;
        }
        
        .counselor-card {
            flex: 1;
            background: var(--light-gray);
            border-radius: 10px;
            padding: 25px;
            border-left: 4px solid var(--primary-color);
            box-shadow: var(--shadow);
            transition: var(--transition);
        }
        
        .counselor-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }
        
        .counselor-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--accent-color);
        }
        
        .counselor-header h3 {
            color: var(--primary-color);
            font-size: 20px;
            margin: 0;
        }
        
        .counselor-info {
            display: flex;
            flex-direction: column;
            gap: 10px;
            font-size: 14px;
            color: #666;
        }
        
        .counselor-info span {
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .responsibility-list {
            margin-top: 20px;
        }
        
        .responsibility-list h4 {
            color: var(--primary-dark);
            margin-bottom: 15px;
            font-size: 16px;
        }
        
        .responsibility-item {
            margin-bottom: 12px;
            padding-left: 15px;
            position: relative;
        }
        
        .responsibility-item:before {
            content: "•";
            color: var(--primary-color);
            position: absolute;
            left: 0;
        }

/* 学院办公室卡片样式 */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);  /* 一行五个卡片 */
    gap: 15px;  /* 卡片间距 */
}
.staff-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    /* 删除左侧边框 */
    border: 1px solid var(--accent-color);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: rgba(9, 124, 37, 0.3);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.staff-card .staff-name {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 8px;
}

.staff-card .staff-title {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.staff-card .staff-duties {
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .staff-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* 国家级高层次人才--两列布局样式 */
.talent-list.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.talent-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.talent-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    border-left: 4px solid var(--primary-dark);
}

.talent-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.talent-names {
    color: #333;
    font-size: 18px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .talent-list.two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .talent-item {
        padding: 15px;
    }
    
    .talent-title {
        font-size: 15px;
    }
    
    .talent-names {
        font-size: 14px;
    }
}
/* 学位授权点 */
/* 详情按钮样式 */
/* .detail-btn {
    margin-left: 8px;
    padding: 2px 8px;
    background-color: white; 
    color: var(--primary-color); 
    border: none;
    border-radius: 3px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.detail-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
} */

button[data-code] {
    margin-left: 8px !important;
    padding: 3px 10px !important;
    background-color: #097c25 !important;
    color: white !important;
    border: 1px solid #065e1c !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
}

button[data-code]:hover {
    background-color: #065e1c !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* 模态弹窗样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #555; /* 深灰色，在白色背景上可见 */
    background-color: rgba(255, 255, 255, 0.8); /* 半透明白色背景 */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.1); /* 浅灰色边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 轻微阴影 */
}

.close-btn:hover {
    color: var(--primary-color); /* 悬停时变为主题色 */
    background-color: white; /* 悬停时背景全白 */
    border-color: var(--primary-color); /* 悬停时边框变为主题色 */
    transform: scale(1.1); /* 轻微放大 */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* 悬停时阴影加深 */
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
    color: #333;
}

.modal-body p {
    margin-bottom: 10px;
}

.modal-body strong {
    color: var(--primary-dark);
}

/* 表格样式优化 */
#degree-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

#degree-table td {
    padding: 8px 10px;
    border: 1px solid #ddd;
    vertical-align: middle;
    position: relative;
}

#degree-table tr:first-child td {
    background-color: #f2f2f2;
    font-weight: bold;
    text-align: center;
}

#degree-table tr:hover {
    background-color: #f9f9f9;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header h3 {
        font-size: 16px;
    }
    
    .detail-btn {
        font-size: 10px;
        padding: 1px 6px;
    }
}
/* 学科授权点详情弹窗样式 */
#detailModal {
    position: fixed !important;
    z-index: 9999 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

#detailModal.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#detailModal .modal-content {
    background-color: white !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 10px !important;
    width: 80% !important;
    max-width: 800px !important;
    max-height: 80vh !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
    position: relative !important;
    z-index: 10000 !important;
}

#detailModal .modal-header {
    padding: 15px 20px !important;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
    color: white !important;
    border-radius: 10px 10px 0 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

#detailModal .modal-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    flex: 1 !important;
}

#detailModal .close-btn {
    font-size: 24px !important;
    cursor: pointer !important;
    color: white !important;
    background: none !important;
    border: none !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 15px !important;
    transition: all 0.2s ease !important;
}

#detailModal .close-btn:hover {
    color: #e0f2e1 !important;
    transform: scale(1.1) !important;
}

#detailModal .modal-body {
    padding: 20px !important;
    overflow-y: auto !important;
    flex: 1 !important;
    line-height: 1.6 !important;
    color: #333 !important;
}

#detailModal .modal-body p {
    margin-bottom: 10px !important;
}

#detailModal .modal-body strong {
    color: var(--primary-dark) !important;
}


/* 学位点详情按钮样式 */
#xwsqpoints button[data-code] {
    margin-left: 8px !important;
    padding: 3px 10px !important;
    background-color: #097c25 !important;
    color: white !important;
    border: 1px solid #065e1c !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-weight: normal !important;
    line-height: 1.2 !important;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif !important;
    position: relative !important;
    z-index: 10 !important;
}
 
#xwsqpoints button[data-code]:hover {
    background-color: #065e1c !important;
    transform: scale(1.05) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
}

/* 表格行高亮效果 */
#xwsqpoints tr.highlighted {
    background-color: #e8f5e9 !important;
    transition: background-color 0.5s ease !important;
}

#xwsqpoints tr.highlighted td {
    border-color: #097c25 !important;
}

/* 学位授权点表格样式 - 简洁版 */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 15px;
    line-height: 1.5;
}

.styled-table th {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    font-weight: bold;
    padding: 16px 12px;
    text-align: center;
    border: none;
}

.styled-table td {
    padding: 14px 12px;
    border: 1px solid #e8e8e8;
    vertical-align: middle;
}

.styled-table tr {
    border-bottom: 1px solid var(--accent-color);
    transition: var(--transition);
}

.styled-table tr:hover {
    background-color: var(--secondary-color);
}

/* 特殊单元格样式 */
.degree-type {
    background-color: rgba(9, 124, 37, 0.05);
    font-weight: 600;
    color: var(--primary-dark);
    text-align: center;
    vertical-align: middle;
}

.subject-category {
    background-color: rgba(9, 124, 37, 0.05);
    text-align: center;
    vertical-align: middle;
}

/* 表格分隔行 */
.table-divider td {
    padding: 15px 0;
    border: none;
}

.table-divider td:after {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    margin: 0 10px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .styled-table {
        font-size: 14px;
    }
    
    .styled-table th,
    .styled-table td {
        padding: 12px 8px;
    }
    
    .degree-type,
    .subject-category {
        font-size: 13px;
    }
}

/* 详情按钮样式 */
.styled-table .detail-btn {
    margin-left: 8px;
    padding: 4px 12px;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-dark);
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-block;
    vertical-align: middle;
    font-weight: normal;
    line-height: 1.2;
}

.styled-table .detail-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 高亮行效果 */
.styled-table tr.highlighted {
    background-color: #e8f5e9;
    transition: background-color 0.3s ease;
}

.styled-table tr.highlighted td {
    border-color: #097c25;
}