.research-team-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    color: #2C3E50;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
}
.people-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* 居中对齐所有卡片 */
}

.advisor-card {
    display: flex;
    flex-direction: column; /* 纵向堆叠 */
    background-color: white;
    padding: 20px;
    /* border: 1px solid #ddd; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    justify-content: center; /* 居中每一行 */
    text-align: center;
    width: calc(100% - 40px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.advisor-basic-info {
    display: flex;
    flex-direction: column; /* 纵向排列 */
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.advisor-info-container {
    display: flex;
    flex-direction: column; /* 纵向排列 */
    align-items: center;
}

.advisor-name,
.person-name {
    color: #37ac9a;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px; /* 减小内部标签间距 */
}

.advisor-name .en{
    font-size: 2rem;
    margin: 0;
    padding: 0;
}
.advisor-name .zh {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
}
.advisor-name .position {
    font-size: 1.3rem;
    margin: 0;
    padding: 0;
}

.advisor-card .description {
    width: 100%;
    margin-top: 20px;
    text-align: left;
}

.advisor-card::before, .advisor-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: -1;
}

.advisor-card::before {
    top: -50%;
    left: 0;
    transform: rotate(45deg);
    border-bottom: none;
    border-right: none;
}

.advisor-card::after {
    bottom: -50%;
    left: 0;
    transform: rotate(-45deg);
    border-top: none;
    border-left: none;
}
.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.person-card {
    display: flex;
    flex-direction: column;
    background-color: white;
    padding: 20px;
    /* border: 1px solid #ddd; */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: flex-start;
    width: calc(50% - 20px);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.person-card::before, .person-card::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: white;
    border: 1px solid #ddd;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: -1;
}

.person-card::before {
    top: -50%;
    left: 0;
    transform: rotate(45deg);
    border-bottom: none;
    border-right: none;
}

.person-card::after {
    bottom: -50%;
    left: 0;
    transform: rotate(-45deg);
    border-top: none;
    border-left: none;
}
.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.image-container {
    flex: 0 0 auto;
    margin-right: 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center; /* 横向居中 */
    width: 100%; /* 让容器宽度撑满父容器，便于居中 */
}
.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
}
.image-container .links {
    display: flex;
    flex-direction: column;
    margin: 0 0 0 10px;
}
.image-container .links a {
    margin-right: 0;
    margin-bottom: 8px;
}
.image-container .links a:last-child {
    margin-bottom: 0;
}
.info-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.person-name {
    color: #37ac9a;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px; /* 减小内部标签间距 */
}

.person-name .en {
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
}
.person-name .zh {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
}

.person-name .start-time {
    font-size: 0.8rem;
    color: #888;
    margin: 0;
    padding: 0;
}

.links a {
    margin-right: 10px;
}
.email a {
    text-decoration: none;
    color: #555;
}
.email img {
    vertical-align: middle;
    margin-right: 5px;
}
.achievements, 
.highlights {
    width: 100%;
    margin-top: 10px;
}
.achievements h3, .highlights h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #2C3E50;
}
.achievements ul, .highlights ul {
    list-style-type: disc;
    margin-left: 20px;
    font-size: 14px;
    color: #555;
}
.achievements li, .highlights li {
    margin-bottom: 3px;
}



/* 响应式设计 - 最窄设备：1列 */
@media (max-width: 769px) {
    body {
        padding-bottom: calc(var(--navbar-height) + 20px);
    }
    .person-card {
        width: calc(98%);
    }
    
    .advisor-card {
        width: calc(98%);
    }
    
    .people-list {
        gap: 15px;
    }
}

/* 中等屏幕设备：2列 */
@media (max-width: 1024px) and (min-width: 769px) {
    body {
        padding-bottom: calc(var(--navbar-height) + 20px);
    }
    .person-card {
        width: calc(50% - 15px);
    }
    
    .advisor-card {
        width: calc(98%);
    }
}

/* 大屏幕设备布局：每行四个卡片 */
@media (min-width: 1025px) {
    body {
        padding-top: calc(var(--navbar-height) + 20px);
    }
    .person-card {
        width: calc(25% - 15px);
    }

    .advisor-card {
        width: calc(100% - 40px);
    }
}
