/* 师资队伍页面样式 */

/* 页面允许滚动 */
html,
body {
    overflow: auto;
    scrollbar-width: auto;
    height: auto;
    min-height: 100%;
}

/* 导航栏滚动后的样式 */
.main-nav.scrolled {
    background: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Webkit 浏览器显示滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 页面主体 */
.faculty-page,
.faculty-detail-page {
    padding-top: 80px;
    background: #eef6ff;
    min-height: calc(100vh - 245px);
}

/* ========== 滚动入场动画 ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-from-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-from-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-from-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* 移动端禁用滚动动画 */
@media (max-width: 768px) {
    .animate-on-scroll,
    .animate-from-left,
    .animate-from-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.faculty-container,
.faculty-detail-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 0 60px;
}

/* 页面标题 */
.page-header {
    text-align: center;
    margin-bottom: 30px;
}

.page-header h1 {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 36px;
    color: #0073ff;
    margin-bottom: 15px;
}

.title-icon {
    width: 484px;
    height: 21px;
    display: block;
    margin: 0 auto;
}

/* Tab 导航 */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 60px;
}

.tab-item {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 22px;
    color: #474747;
    text-decoration: none;
    min-width: 173px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
}

.tab-item.active {
    background: linear-gradient(180deg, #D0E5FF 0%, #F3F8FF 48.08%, #D0E5FF 100%);
    color: #0073ff;
}

.tab-item:hover {
    color: #0073ff;
}

/* Tab 内容 */
.tab-content {
    animation: fadeIn 0.3s ease;
}

.tab-content.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==================== 师资列表样式 ==================== */

/* 队伍概述内容 */
.overview-content {
    background: #fff;
    border-radius: 8px;
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.overview-content p {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #555;
    line-height: 1.9;
    text-indent: 2em;
    margin-bottom: 20px;
}

/* 师资分区 */
.faculty-section-list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.faculty-section-block {
    width: 100%;
}

.faculty-section-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 31px;
}

.faculty-section-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.faculty-section-icon::before {
    content: '';
    position: absolute;
    width: 32px;
    height: 32px;
    border: 1px dashed #0073ff;
    border-radius: 50%;
    box-sizing: border-box;
}

.faculty-section-icon::after {
    content: '';
    position: absolute;
    width: 26px;
    height: 26px;
    border: 1px solid #0073ff;
    border-radius: 50%;
    box-sizing: border-box;
}

.faculty-section-icon img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.faculty-section-title {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #333;
}

/* 教师卡片网格 */
.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 60px 60px;
    justify-content: start;
}

/* 教师卡片 */
.faculty-card {
    display: flex;
    width: 400px;
    height: 165px;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.faculty-card:hover {
    /* transform: translateY(-6px); */
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.faculty-card:hover .faculty-info {
    background: #D0E5FF;
}

/* 教师照片 */
.faculty-photo {
    width: 125px;
    height: 165px;
    flex-shrink: 0;
    overflow: hidden;
    background: #f0f6ff;
}

.faculty-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-photo img {
    transform: scale(1.05);
}

/* 教师信息 */
.faculty-info {
    flex: 1;
    width: 275px;
    height: 165px;
    padding: 18px 16px 18px;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    box-sizing: border-box;
}

.faculty-name {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #333;
    text-align: left;
    margin-bottom: 12px;
}

.faculty-title {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #0073ff;
    text-align: left;
    margin-bottom: 16px;
}

.faculty-direction {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
    line-height: 24px;
    text-align: justify;
    width: 219px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.faculty-more {
    position: absolute;
    right: 23px;
    top: 18px;
    display: none;
    align-items: center;
    gap: 4px;
    font-family: 'Times New Roman', serif;
    font-weight: 400;
    font-size: 12px;
    color: #0073ff;
}

.faculty-card:hover .faculty-more {
    display: flex;
}

.more-text {
    position: relative;
    padding: 2px 6px;
    z-index: 1;
}

.faculty-card:hover .more-text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 26px;
    border: 1px dashed #0073ff;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: -1;
}

.faculty-card:hover .more-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 38px;
    height: 20px;
    border: 1px solid #0073ff;
    border-radius: 50%;
    box-sizing: border-box;
    z-index: -1;
}


/* ==================== 分页样式 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
}

.page-info {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-size: 14px;
    color: #666;
    margin-right: 15px;
}

.page-btn {
    padding: 8px 15px;
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-btn:hover {
    color: #0073ff;
    border-color: #0073ff;
}

.page-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.page-num:hover {
    color: #0073ff;
    border-color: #0073ff;
}

.page-num.active {
    background: #0073ff;
    color: #fff;
    border-color: #0073ff;
}

/* ==================== 教师详情页样式 ==================== */

/* 详情页容器严格匹配设计稿 1200px 宽度 */
.faculty-detail-page .faculty-detail-container {
    max-width: 1200px;
}

/* 详情页 Tab 导航间距 */
.faculty-detail-page .tab-nav {
    margin-bottom: 45px;
}

/* ===== 教师详情卡片 - 基础样式 (适用于非PC) ===== */
.faculty-detail-card {
    display: flex;
    flex-direction: column;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}

.faculty-detail-top-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-bottom: 28px;
}

.faculty-detail-left-group {
    display: flex;
    flex: 1;
    min-width: 0;
}

/* 详情照片 */
.faculty-detail-photo {
    height: 400px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f0f6ff;
}

.faculty-detail-photo img {
        width: auto;
        height: 100%;
        object-fit: cover;
        display: block;
        max-width: none;
    }

/* 信息卡片 (默认无背景图，用于非PC) */
.faculty-detail-info-card {
    flex: 1;
    min-width: 0;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faculty-detail-name {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.faculty-detail-title {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 18px;
    color: #0073ff;
    margin-bottom: 16px;
}

.faculty-detail-direction {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 右侧联系方式区域 (默认样式用于非PC) */
.faculty-detail-contact-area {
    flex: 1;
    min-width: 280px;
    background: #f5f9ff;
    border-radius: 8px;
    padding: 24px;
    box-sizing: border-box;
}

.faculty-contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faculty-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.faculty-contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
}

.faculty-contact-icon img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.faculty-contact-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.faculty-contact-label {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #999;
    margin-bottom: 4px;
}

.faculty-contact-value {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #333;
    word-break: break-all;
}

/* 底部区域 (默认样式用于非PC) */
.faculty-detail-bottom-area {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-sizing: border-box;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.faculty-section {
    margin-bottom: 30px;
}

.faculty-section:last-child {
    margin-bottom: 0;
}

.faculty-section-heading {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #333;
    margin-bottom: 14px;
}

.faculty-section-content {
    font-family: 'Microsoft YaHei UI', sans-serif;
    font-weight: 400;
    font-size: 15px;
    color: #555;
    line-height: 1.8;
}

.faculty-section-content p {
    margin-bottom: 12px;
}

.faculty-section-content p:last-child {
    margin-bottom: 0;
}

/* ===== PC端教师详情布局 (>= 1025px) ===== */
@media (min-width: 1025px) {
    /* 卡片整体无背景/阴影/内边距 */
    .faculty-detail-card {
        display: block;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    /* 顶部行：左侧(照片+信息) + 右侧(联系方式) 水平排列 */
    .faculty-detail-top-row {
        display: flex;
        flex-wrap: nowrap;
        gap: 28px;
        margin-bottom: 28px;
    }

    /* 左侧组：照片 + 信息卡片 水平排列 */
    .faculty-detail-left-group {
        display: flex;
        flex: 1;
        min-width: 0;
    }

    /* 照片固定尺寸 */
    .faculty-detail-photo {
        width: 202px;
        height: 267px;
        flex-shrink: 0;
        border-radius: 0;
    }

    /* 信息卡片：flex占满剩余宽度，带 infoBg 背景图 */
    .faculty-detail-info-card {
        flex: 1;
        height: 267px;
        min-width: 0;
        background-image: url('../images/faculty_detail/infoBg.png');
        background-size: cover;
        background-position: center;
        padding: 35px 70px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faculty-detail-info-card .faculty-detail-name {
        font-size: 32px;
        color: #333;
        margin-bottom: 20px;
    }

    .faculty-detail-info-card .faculty-detail-title {
        font-size: 18px;
        color: #0073ff;
        margin-bottom: 26px;
    }

    .faculty-detail-info-card .faculty-detail-direction {
        font-size: 16px;
        color: #555;
        line-height: 1.6;
    }

    /* 右侧联系方式区域：固定尺寸，白色背景，内容垂直居中 */
    .faculty-detail-contact-area {
        width: 439px;
        height: 267px;
        flex: 0 0 auto;
        background: #fff;
        border-radius: 0;
        padding: 30px 28px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faculty-detail-contact-area .faculty-contact-list {
        gap: 28px;
    }

    .faculty-detail-contact-area .faculty-contact-item {
        gap: 14px;
    }

    .faculty-detail-contact-area .faculty-contact-icon {
        width: 40px;
        height: 40px;
        background: #f5f9ff;
        border-radius: 50%;
    }

    .faculty-detail-contact-area .faculty-contact-icon img {
        width: 20px;
        height: 20px;
    }

    .faculty-detail-contact-area .faculty-contact-label {
        font-size: 14px;
        color: #999;
        margin-bottom: 6px;
    }

    .faculty-detail-contact-area .faculty-contact-value {
        font-size: 16px;
        color: #333;
    }

    /* 底部区域：独占一排，白色背景 */
    .faculty-detail-bottom-area {
        width: 100%;
    
        background: #fff;
        border-radius: 0;
        padding: 35px 40px;
        box-sizing: border-box;
        overflow-y: auto;
        box-shadow: none;
    }

    .faculty-detail-bottom-area .faculty-section-heading {
        font-size: 18px;
        margin-bottom: 14px;
    }

    .faculty-detail-bottom-area .faculty-section-content {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ==================== 大屏幕适配 (1920px 以下) ==================== */
@media (max-width: 1920px) {
    .faculty-container,
    .faculty-detail-container {
        max-width: 1320px;
        padding: 0 0 60px;
    }
}

/* ==================== 1600px 以下适配 ==================== */
@media (max-width: 1600px) {
    .faculty-container,
    .faculty-detail-container {
        max-width: 1200px;
        padding: 0 0 50px;
    }

    .page-header h1 {
        font-size: 32px;
    }

    .tab-item {
        font-size: 20px;
        min-width: 160px;
        height: 48px;
    }

    .faculty-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }

    .faculty-card {
        width: 100%;
    }

    .faculty-photo {
        width: 115px;
    }

    .faculty-info {
        width: auto;
    }

    .faculty-direction {
        width: auto;
    }

    .faculty-detail-name {
        font-size: 28px;
    }
}

/* ==================== 1440px 以下适配 ==================== */
@media (max-width: 1440px) {
    .faculty-container,
    .faculty-detail-container {
        max-width: 1100px;
        padding: 0 0 45px;
    }

    .page-header h1 {
        font-size: 30px;
    }

    .title-icon {
        width: 400px;
        height: auto;
    }

    .tab-nav {
        margin-bottom: 50px;
    }

    .tab-item {
        font-size: 18px;
        min-width: 150px;
        height: 46px;
    }

    .faculty-grid {
        gap: 35px;
    }

    .faculty-section-list {
        gap: 60px;
    }

    .faculty-detail-name {
        font-size: 26px;
    }
}

/* ==================== 1366px 以下适配 ==================== */
@media (max-width: 1366px) {
    .faculty-container,
    .faculty-detail-container {
        max-width: 1000px;
        padding: 0 0 40px;
    }

    .page-header h1 {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .title-icon {
        width: 360px;
    }

    .tab-nav {
        margin-bottom: 45px;
    }

    .tab-item {
        font-size: 17px;
        min-width: 140px;
        height: 44px;
    }

    .faculty-section-icon {
        width: 30px;
        height: 30px;
    }

    .faculty-section-icon::before {
        width: 28px;
        height: 28px;
    }

    .faculty-section-icon::after {
        width: 22px;
        height: 22px;
    }

    .faculty-section-icon img {
        width: 16px;
        height: 16px;
    }

    .faculty-section-title {
        font-size: 20px;
    }

    .faculty-grid {
        gap: 30px;
    }

    .faculty-card {
        height: 155px;
    }

    .faculty-photo {
        width: 105px;
        height: 155px;
    }

    .faculty-info {
        height: 155px;
        padding: 15px 14px 18px;
    }

    .faculty-name {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .faculty-title {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .faculty-direction {
        font-size: 14px;
    }

    .faculty-detail-name {
        font-size: 24px;
    }

    .faculty-detail-title {
        font-size: 16px;
    }

    .faculty-contact-list {
        gap: 16px;
    }

    .faculty-contact-icon {
        width: 36px;
        height: 36px;
    }

    .faculty-contact-icon img {
        width: 18px;
        height: 18px;
    }

    .faculty-contact-value {
        font-size: 14px;
    }
}

/* ==================== 1280px 以下适配 ==================== */
@media (max-width: 1280px) {
    .faculty-container,
    .faculty-detail-container {
        max-width: 950px;
        padding: 0 0 35px;
    }

    .page-header {
        margin-bottom: 25px;
    }

    .page-header h1 {
        font-size: 26px;
    }

    .title-icon {
        width: 320px;
    }

    .tab-item {
        font-size: 16px;
        min-width: 130px;
        height: 42px;
    }

    .faculty-grid {
        gap: 25px;
    }

    .faculty-detail-name {
        font-size: 22px;
    }
}

/* ==================== 1024px 以下适配 (平板横屏) ==================== */
@media (max-width: 1024px) {
    .faculty-page,
    .faculty-detail-page {
        padding-top: 80px;
    }

    .faculty-container,
    .faculty-detail-container {
        max-width: 100%;
        padding: 0 0 30px;
    }

    .page-header h1 {
        font-size: 24px;
    }

    .title-icon {
        width: 280px;
    }

    .tab-nav {
        margin-bottom: 40px;
    }

    .tab-item {
        font-size: 15px;
        min-width: 120px;
        height: 40px;
    }

    .faculty-section-list {
        gap: 50px;
        padding: 0 20px;
    }

    .faculty-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .faculty-card {
        width: 100%;
        height: auto;
        min-height: 165px;
    }

    .faculty-photo {
        height: auto;
        min-height: 165px;
    }

    .faculty-info {
        width: auto;
        height: auto;
        min-height: 165px;
        padding: 20px;
    }

    .faculty-direction {
        width: auto;
    }

    .overview-content {
        margin: 0 20px;
        padding: 35px;
    }

    .pagination {
        margin-top: 40px;
    }

    /* 详情页在 1024px 以下使用简化布局 */
    .faculty-detail-card {
        margin: 0;
    }

    .faculty-detail-top-row {
        gap: 20px;
        margin-bottom: 20px;
    }

    .faculty-detail-left-group {
        flex-wrap: wrap;
    }

    .faculty-detail-photo {
        height: 240px;
    }

    .faculty-detail-info-card {
        padding: 0 20px;
    }

    .faculty-detail-name {
        font-size: 24px;
    }

    .faculty-detail-title {
        font-size: 16px;
    }

    .faculty-detail-contact-area {
        padding: 18px;
    }

    .faculty-detail-bottom-area {
        padding: 24px;
    }
}

/* ==================== 移动端适配 (768px 以下) ==================== */
@media (max-width: 768px) {
    /* 移动端 logo 切换为深色 */
    .faculty-page .main-nav .logo img,
    .faculty-detail-page .main-nav .logo img {
        content: url('../images/logo-b.png');
    }

    /* 搜索按钮深色 */
    .faculty-page .main-nav .search-btn-nav,
    .faculty-detail-page .main-nav .search-btn-nav {
        background-image: url('../images/search-dark.png');
        filter: brightness(0) saturate(100%) invert(31%) sepia(97%) saturate(1620%) hue-rotate(198deg) brightness(97%) contrast(101%);
    }

    .faculty-page,
    .faculty-detail-page {
        padding-top: 60px;
    }

    .faculty-container,
    .faculty-detail-container {
        padding: 20px 15px 30px;
    }

    .page-header {
        margin-bottom: 16px;
    }

    .page-header h1 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    /* 移动端使用更精致的装饰线替代大图 */
    .title-icon {
        width: 220px;
        height: auto;
        display: block;
        margin: 0 auto;
        object-fit: contain;
    }

    .tab-nav {
        margin-bottom: 28px;
    }

    .tab-item {
        font-size: 16px;
        min-width: auto;
        width: auto;
        height: 38px;
        padding: 0 18px;
    }

    .tab-item.active {
        background: linear-gradient(180deg, #D0E5FF 0%, #F3F8FF 48.08%, #D0E5FF 100%);
    }

    .faculty-section-list {
        gap: 32px;
        padding: 0;
    }

    .faculty-section-header {
        gap: 8px;
        margin-bottom: 14px;
    }

    .faculty-section-icon {
        width: 28px;
        height: 28px;
    }

    .faculty-section-icon::before {
        width: 26px;
        height: 26px;
    }

    .faculty-section-icon::after {
        width: 20px;
        height: 20px;
    }

    .faculty-section-icon img {
        width: 14px;
        height: 14px;
    }

    .faculty-section-title {
        font-size: 17px;
    }

    .faculty-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .faculty-card {
        width: 100%;
        height: 144.5px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        border-radius: 0;
    }

    .faculty-card:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .faculty-card:hover .faculty-info {
        background: #fff;
    }

    .faculty-photo {
        width: auto;
        height: 144.5px;
        flex-shrink: 0;
        border-radius: 0;
        background: #f0f6ff;
        overflow: hidden;
    }

    .faculty-photo img {
        width: auto;
        height: 100%;
        object-fit: cover;
        display: block;
        max-width: none;
    }

    .faculty-info {
        flex: 1;
        min-width: 0;
        height: 144.5px;
        padding: 20px 24px 20px 0;
        background: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        box-sizing: border-box;
    }

    .faculty-info .faculty-name {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .faculty-info .faculty-title {
        font-size: 15px;
        margin-bottom: 8px;
        color: #0073ff;
    }

    .faculty-info .faculty-direction {
        font-size: 14px;
        line-height: 1.5;
        color: #555;
        text-align: left;
        width: 100%;
        -webkit-line-clamp: 2;
    }

    /* 移动端隐藏 More 按钮 */
    .faculty-more {
        display: none !important;
    }

    .overview-content {
        margin: 0;
        padding: 20px 16px;
    }

    .overview-content p {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 12px;
    }

    .pagination {
        margin-top: 24px;
    }

    .page-info {
        font-size: 12px;
        margin-right: 10px;
    }

    .page-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .page-num {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* 详情页移动端 — 三个区域竖向等宽排列 */
    .faculty-detail-card {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 0;
        margin: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .faculty-detail-top-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 0;
    }

    .faculty-detail-left-group {
        display: flex;
        flex-direction: row;
        gap: 0;
    }

    .faculty-detail-photo {
        width: auto;
        height: 144.5px;
        flex-shrink: 0;
        border-radius: 0;
    }

    .faculty-detail-photo img {
        width: auto;
        height: 100%;
        object-fit: cover;
        display: block;
        max-width: none;
    }

    .faculty-detail-info-card {
        flex: 1;
        min-width: 0;
        height: 144.5px;
        background-image: url('../images/faculty_detail/infoBg.png');
        background-size: cover;
        background-position: center;
        padding: 20px 24px 20px 24px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faculty-detail-info-card .faculty-detail-name {
        font-size: 22px;
        color: #333;
        margin-bottom: 6px;
    }

    .faculty-detail-info-card .faculty-detail-title {
        font-size: 15px;
        color: #0073ff;
        margin-bottom: 8px;
    }

    .faculty-detail-info-card .faculty-detail-direction {
        font-size: 14px;
        color: #555;
        line-height: 1.5;
    }

    .faculty-detail-contact-area {
        width: 100%;
        background: #fff;
        padding: 30px 28px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faculty-detail-contact-area .faculty-contact-list {
        gap: 28px;
    }

    .faculty-detail-contact-area .faculty-contact-item {
        gap: 14px;
    }

    .faculty-detail-contact-area .faculty-contact-icon {
        width: 40px;
        height: 40px;
        background: #f5f9ff;
        border-radius: 50%;
    }

    .faculty-detail-contact-area .faculty-contact-icon img {
        width: 20px;
        height: 20px;
    }

    .faculty-detail-contact-area .faculty-contact-label {
        font-size: 14px;
        color: #999;
        margin-bottom: 6px;
    }

    .faculty-detail-contact-area .faculty-contact-value {
        font-size: 16px;
        color: #333;
    }

    .faculty-detail-bottom-area {
        width: 100%;
        background: #fff;
        padding: 35px 30px;
        box-sizing: border-box;
    }

    .faculty-section {
        margin-bottom: 20px;
    }

    .faculty-section-heading {
        font-size: 15px;
        margin-bottom: 10px;
        padding-left: 0;
    }

    .faculty-section-heading::before {
        display: none;
    }

    .faculty-section-content {
        font-size: 14px;
        line-height: 1.8;
    }

    .faculty-section-content p {
        margin-bottom: 10px;
        text-indent: 0;
    }
}

@media (max-width: 480px) {
    .faculty-card {
        height: 118px;
    }

    .faculty-photo {
        height: 118px;
    }

    .faculty-info {
        height: 118px;
        padding: 20px;
    }

    .faculty-name {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .faculty-title {
        font-size: 12px;
        margin-bottom: 6px;
    }

    .faculty-direction {
        font-size: 12px;
        line-height: 1.5;
    }

    .faculty-page .page-header h1,
    .faculty-detail-page .page-header h1 {
        font-size: 20px;
    }

    .tab-item {
        font-size: 14px;
        height: 34px;
        padding: 0 12px;
    }

    .faculty-section-title {
        font-size: 15px;
    }
}

/* 平板与移动端导航高度为 60px，页面顶部留白同步调整 */
@media (max-width: 1200px) {
    .faculty-page,
    .faculty-detail-page {
        padding-top: 60px;
    }
}