
/* Team-members模块样式 */
/* 团队合照区域 */
.team-photo-section {
    padding: 30px 0;
    text-align: center;
}

.team-photo-container {
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    height: 600px;
}

.team-photo {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
    margin-top: -300px;
    transition: var(--transition);
}

.team-photo-container:hover .team-photo {
    transform: scale(1.1);
}

.team-photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}


.sms-mb-card {
  height: 480px;
  perspective: 1000px;
  cursor: pointer;
  font-family: GillSansMT;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.sms-mb-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.card-front {
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    text-align: center;
}

.card-back {
    background-color: #2c3e50;
    color: white;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #3498db;
}

.member-name {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 10px;
  color: #2c3e50;
}

.member-desc {
  font-size: 18px;
  line-height: 22px;
  text-align: justify;
  color: #7f8c8d;
}

.back-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
