/* 基础样式设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.winemaking-team {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* 标题样式 */
.team-title {
    text-align: center;
    margin: 40px 0 60px;
    position: relative;
}

.team-title h2 {
    font-size: 32px;
    color: #bd3827;
    margin: 0;
    padding-bottom: 15px;
    display: inline-block;
    position: relative;
}

.title-underline {
    position: absolute;
    left: 10%;
    bottom: 0;
    width: 80%;
    height: 3px;
    background-color: #bd3827;
    border-radius: 3px;
}

.team-title p {
    color: #666;
    margin-top: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 团队成员样式 - 第一组 */
.team-member.primary {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 80px;
    gap: 30px;
    align-items: center;
}

.team-member.primary .member-photo {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    position: relative;
}

.team-member.primary .member-photo img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    object-fit: cover;
}

.member-role {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: #bd3827;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(189,56,39,0.3);
}

.team-member.primary .member-info {
    flex: 1.2;
    min-width: 300px;
    padding: 20px 0;
}

.team-member.primary .member-info h3 {
    font-size: 26px;
    color: #333;
    margin: 0 0 15px;
    position: relative;
    padding-left: 20px;
}

.info-marker {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background-color: #bd3827;
    border-radius: 2px;
}

.team-member.primary .member-info p {
    color: #666;
    margin: 0 0 20px;
    line-height: 1.8;
    font-size: 16px;
}

.member-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn-outline {
    text-decoration: none;
    color: #bd3827;
    border: 1px solid #bd3827;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-solid {
    text-decoration: none;
    color: white;
    background-color: #bd3827;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
}

/* 团队成员样式 - 第二组 */
.team-members-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.team-member.secondary {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.team-member.secondary .member-photo {
    height: 300px;
    overflow: hidden;
}

.team-member.secondary .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member.secondary .member-info {
    padding: 30px;
    flex-grow: 1;
}

.team-member.secondary .member-info h3 {
    font-size: 22px;
    color: #333;
    margin: 0 0 10px;
}

.member-position {
    color: #bd3827;
    margin: 0 0 20px;
    font-weight: 500;
}

.team-member.secondary .member-info p {
    color: #666;
    margin: 0;
    line-height: 1.7;
    font-size: 15px;
}