/* =========================================
          Staff Card Layout
          ========================================= */

.staff-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* 每個員工卡片之間的間距 */
}

/* =========================================
          Staff Card Block (BEM)
          ========================================= */

.staff-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px;
}

/* --- 左側：貓咪實體照與名字 --- */
.staff-card__figure {
    flex: 0 0 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.staff-card__photo {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 80px;
}

.staff-card__name {
    height: 24px;
    margin-top: -110px;
    margin-left: -200px;
    object-fit: contain;
    z-index: 1;
}

/* --- 中間：職位與詳細資訊 --- */
.staff-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

.staff-card__title-img {
    height:48px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 16px;
}

.staff-card__details {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-main);
}

.staff-card__detail-item {
    margin-bottom: 4px;
    display: flex;
    align-items: flex-start;
}

.staff-card__detail-label {
    margin-right: 6px;
    white-space: nowrap;
}

.staff-card__badge-tag {
    border: 1px solid var(--text-main);
    border-radius: 50px;
    padding: 0 8px;
    margin-right: 8px;
    font-size: 12px;
}

/* --- 右側：卡通圖示 --- */
.staff-card__avatar {
    flex: 0 0 150px;
    display: flex;
    justify-content: flex-end;
}

.staff-card__avatar-img {
    width: 100%;
    max-width: 130px;
    height: auto;
    object-fit: contain;
}

/* =========================================
          Responsive Web Design (RWD)
          ========================================= */
@media (max-width: 768px) {
    .staff-card {
        flex-direction: column;
        text-align: center;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 20px;
        padding: 30px 20px;
        margin: 16px 22px 0;
    }
    .staff-card__content {
        padding: 20px 0;
        align-items: center;
    }
    .staff-card__title-img {
        object-position: center;
    }
    .staff-card__details {
        text-align: center;
    }
    .staff-card__detail-item {
        justify-content: center;
    }
    .staff-card__avatar {
        justify-content: center;
    }
}
