/* ==================== 专家团队列表页样式 ==================== */

/* 英雄轮播区 */
.expert-hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.expert-hero-carousel .swiper-slide {
    position: relative;
    height: 500px;
}

.expert-hero-carousel .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.expert-hero-content {
    text-align: center;
    color: #fff;
}

.expert-hero-content h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.expert-hero-content .divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #f5deb3);
    margin: 0 auto 20px;
}

.expert-hero-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* 轮播按钮样式 */
.expert-hero-carousel .swiper-button-next,
.expert-hero-carousel .swiper-button-prev {
    color: #fff;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
}

.expert-hero-carousel .swiper-button-next:hover,
.expert-hero-carousel .swiper-button-prev:hover {
    background: rgba(212,165,116,0.8);
}

.expert-hero-carousel .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
}

.expert-hero-carousel .swiper-pagination-bullet-active {
    background: #d4a574;
}

/* 页面导航 */
.expert-nav {
    background: #f8f8f8;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.expert-nav-container {
    display: flex;
    justify-content: center;
}

.expert-nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 40px;
}

.expert-nav-link {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.expert-nav-link:hover,
.expert-nav-link.active {
    color: #d4a574;
    background: rgba(212,165,116,0.1);
}

.expert-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #d4a574;
}

/* PLACEHOLDER_PART2 */

/* 模块区域 */
.expert-section {
    padding: 80px 0;
}

.expert-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.expert-section .section-title {
    font-size: 36px;
    color: #333;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #d4a574, #f5deb3);
    margin: 0 auto 20px;
}

.expert-section .section-description {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* 专家网格布局 */
.expert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* 专家卡片 */
.expert-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    background: #fff;
}

.expert-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.expert-image-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.expert-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expert-card:hover .expert-image {
    transform: scale(1.1);
}

/* PLACEHOLDER_PART3 */

/* 专家基本信息（默认显示） */
.expert-info-static {
    padding: 20px;
    text-align: center;
    background: #fff;
    position: relative;
    z-index: 2;
}

.expert-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.expert-title {
    font-size: 16px;
    color: #d4a574;
    margin-bottom: 10px;
}

.expert-dept {
    font-size: 14px;
    color: #999;
}

.expert-dept i {
    margin-right: 5px;
}

/* 悬浮覆盖层 */
.expert-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(212,165,116,0.95) 0%, rgba(180,130,80,0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

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

.expert-overlay .expert-name {
    font-size: 22px;
    color: #fff;
    margin-bottom: 5px;
}

.expert-overlay .expert-title {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 8px;
}

.expert-overlay .expert-dept {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 15px;
}

.expert-overlay .expert-desc {
    font-size: 14px;
    color: #fff;
    text-align: center;
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expert-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 25px;
    background: #fff;
    color: #d4a574;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.expert-link:hover {
    background: #333;
    color: #fff;
}

/* PLACEHOLDER_PART4 */

/* 统计区域 */
.expert-stats {
    background: linear-gradient(135deg, #d4a574 0%, #c4956a 100%);
    padding: 60px 0;
    margin-top: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: #fff;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* 响应式 */
@media (max-width: 1024px) {
    .expert-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expert-hero-carousel,
    .expert-hero-carousel .swiper-slide {
        height: 350px;
    }

    .expert-hero-content h1 {
        font-size: 32px;
    }

    .expert-nav-list {
        gap: 15px;
    }

    .expert-nav-link {
        font-size: 14px;
        padding: 8px 15px;
    }

    .expert-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Toast 样式 */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.toast {
    background: #333;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
