/* excellent_v1.css - 优秀成员页面专用样式 */

/* 优秀成员容器 */
.contest-container {
    max-width: 1600px;
    margin: 40px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin: 30px 0;
    color: #333;
    font-size: 2rem;
}

/* 成员网格布局 */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1500px;
    margin: 0 auto;
    justify-content: center;
}

/* 成员卡片样式 */
.member-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 300px;
    margin: 0 auto 30px;
}

.member-card:hover {
    transform: translateY(-5px);
}

.member-photo {
    width: 100%; /* 宽度填满卡片 */
    height: 250px; /* 固定高度 */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.member-photo::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 2px;
    background: #0066cc;
}

.member-photo img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #0066cc;
}

.member-info {
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
}

.member-info h3 {
    margin: 0 0 10px 0;
    color: #0066cc;
    text-align: center;
}

.member-info p {
    margin: 8px 0;
    color: #555;
}

.honors {
    margin-top: 10px;
}

.honors ul {
    margin: 8px 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

.honors li {
    margin-bottom: 8px;
    color: #555;
    line-height: 1.4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-card {
        flex-direction: column;
    }
    
    .member-photo,
    .member-info {
        width: 100%;
    }
    
    .member-photo::after {
        display: none;
    }
}

/* 添加其他样式规则 */
/* 升学就业去向时间轴样式 */
.destination-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.timeline-container {
    position: relative;
    max-width: 100%;
    overflow-x: auto;
    padding: 30px 0;
}

/* 隐藏滚动条 */
.timeline-container::-webkit-scrollbar {
    height: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: #0066cc;
    border-radius: 4px;
}

.timeline {
    display: flex;
    flex-direction: row;
    position: relative;
    /* 设置固定宽度确保所有项目在同一行 */
    width: max-content;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: #0066cc;
    border-radius: 2px;
    /* 限制宽度与内容一致 */
    width: 100%;
}

.timeline-item {
    /* 固定宽度确保所有项目大小相同 */
    width: 320px;
    min-width: 320px;
    padding-top: 70px;
    text-align: center;
    position: relative;
    padding-left: 20px;
    padding-right: 20px;
}

/* 时间轴标记点 */
.timeline-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #0066cc;
    border: 4px solid #ffffff;
    border-radius: 50%;
    top: 42px;
    left: 50%;
    margin-left: -10px;
    z-index: 1;
    box-shadow: 0 0 0 4px #0066cc;
}

/* 时间轴内容 */
.timeline-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    box-sizing: border-box;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.timeline-content h3 {
    margin-top: 0;
    color: #0066cc;
    font-size: 1.4rem;
}

.timeline-info {
    margin: 10px 0;
    color: #555;
}

.timeline-destination {
    margin: 10px 0;
    color: #333;
    font-weight: 500;
}

.timeline-destination .fa-graduation-cap {
    color: #0066cc;
    margin-right: 8px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .timeline-container {
        padding: 20px 0;
    }

    .timeline-item {
        width: 280px;
        min-width: 280px;
        padding: 60px 10px 0 10px;
    }

    .timeline-content {
        padding: 15px;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }
}
