/* ===== Global ===== */
body {

    padding-left: 15vw;
    padding-right: 20vw;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    background: #5c5c5c;
    color: #c6c3c3;
    font-size: 1.4vw;

}

p {
    text-shadow: 0 0 8px rgba(212, 212, 212, 0.8);
}

/* ===== Fixed Header ===== */
.fixed-top-right {
    position: fixed;
    top: 80px;
    right: 150px;
    z-index: 1000;
    font-size: 30px;
}


.fixed-top-right a {
    text-decoration: none;
    color: rgb(223, 223, 223);
    transition: transform 0.5s ease, color 0.2s ease, background 0.2s ease;

    display: inline-block;
    margin: 10px;
}

.fixed-top-right a:hover {
    transform: scale(2);
    color: white;

}

.fixed-top-right a::after {
    content: attr(data-info);
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    padding: 10px;
    padding: 4px 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
}

.fixed-top-right a:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}


.container {
    border: #e1e176;
    max-width: 1100px;
    margin: 50px auto 0;
    padding: 40px 20px;
}

/* ===== Two-Column Layout ===== */

.staff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* 三列 */
    gap: 25px 40px;
}



/* ===== Staff Card ===== */
.staff-card {
    display: flex;
    flex-direction: column;
    /* ← 改为垂直排列 */
    align-items: center;
    text-align: center;
}


.staff-photo {
    flex-shrink: 0;
    width: 20vw;
    object-fit: cover;
    border: 1px solid #8d8d8b;
}

/* ===== Info ===== */
.staff-info {
    width: 20vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(42, 41, 78);
    border: 1px solid #000000;
}

.staff-name {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.staff-role {
    font-size: 1.05vw;
    /* 原本 1.5vw → 1.05vw */
    opacity: 0.85;
    margin-top: 5px;
    margin-bottom: 5px;
}


/* ===== Responsive ===== */
@media (max-width: 800px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }

    .fixed-top-right {
        font-size: 2.4vw;
    }
}