/* 专科介绍页面样式 */

/* 头部样式 */
.department-header {
    background: linear-gradient(135deg, #0066CC, #003366);
    padding: 120px 20px 60px;
    text-align: left;
    color: white;
    position: relative;
    overflow: hidden;
}

.department-header .mascot {
    width: 120px;
    margin: 0 0 20px;
    display: inline-block;
    vertical-align: middle;
}

.department-header .mascot img {
    width: 100%;
    height: auto;
}

.department-header h1 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: normal;
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
}

/* 添加头部内容容器 */
.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 专科介绍部分 */
.department-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.department-intro {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-image {
    flex: 0 0 50%;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.intro-content {
    flex: 1;
}

.intro-content h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 20px;
}

.intro-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

/* 专家团队部分 */
.department-experts-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.department-experts-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
}

.experts-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
}

.experts-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.expert-card {
    flex: 0 0 calc(25% - 22.5px);
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.expert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.expert-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f0f0f0;
}

.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-card h3 {
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.expert-title {
    text-align: center;
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.4;
}

.expert-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    height: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.scroll-btn:hover {
    background: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.scroll-btn.scroll-left {
    left: 10px;
}

.scroll-btn.scroll-right {
    right: 10px;
}

.scroll-btn i {
    font-size: 16px;
    color: #333;
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 1200px) {
    .expert-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media screen and (max-width: 992px) {
    .expert-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .expert-card {
        flex: 0 0 100%;
    }
    
    .experts-wrapper {
        gap: 20px;
    }
    
    .experts-slider {
        padding: 0 40px;
    }
}

@media screen and (max-width: 480px) {
    .expert-avatar {
        width: 80px;
        height: 80px;
    }
    
    .experts-slider {
        padding: 0 30px;
    }
    
    .expert-card {
        padding: 20px;
    }
}

/* 先进设备部分 */
.equipment-section {
    padding: 80px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.equipment-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333;
    margin-bottom: 50px;
}

.equipment-grid-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
}

.equipment-grid {
    display: flex;
    transition: transform 0.5s ease;
}

.equipment-link {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    text-decoration: none;
    color: inherit;
}

.equipment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

.equipment-info {
    padding: 20px;
}

.equipment-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.equipment-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.6;
}

.equipment-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.equipment-nav:hover {
    background: #f8f9fa;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.equipment-nav.prev {
    left: 10px;
}

.equipment-nav.next {
    right: 10px;
}

.equipment-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.equipment-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.equipment-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.equipment-dot.active {
    background: #0066cc;
    transform: scale(1.2);
}

@media screen and (max-width: 1200px) {
    .equipment-link {
        flex: 0 0 calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .equipment-link {
        flex: 0 0 calc(100% - 20px);
    }

    .equipment-card img {
        height: 180px;
    }

    .equipment-info {
        padding: 15px;
    }

    .equipment-nav {
        width: 35px;
        height: 35px;
    }
}

/* 响应式适配 */
@media screen and (max-width: 768px) {
    .department-intro {
        flex-direction: column;
    }

    .intro-image {
        flex: 0 0 100%;
    }

    .department-header h1 {
        font-size: 2rem;
    }

    .experts-grid,
    .equipment-grid {
        grid-template-columns: 1fr;
    }

    .expert-card img {
        height: 250px;
    }
} 