/* ============================================
   employee-detail.css
   数字员工IP形象设定逻辑 — 左图右文风格排版
   ============================================ */

/* ---- 内容容器 ---- */
.employee-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ---- 思维导图区 ---- */
.employee-mindmap {
    margin-bottom: 60px;
}

.employee-mindmap img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* ---- 风格区块 ---- */
.employee-style {
    margin-bottom: 60px;
}

.employee-style__header {
    display: flex;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}

/* 左侧代表图 */
.employee-style__hero {
    flex: 0 0 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #f5f5f7;
}

.employee-style__hero img {
    width: 100%;
    height: auto;
    display: block;
}

/* 右侧文字说明 */
.employee-style__info {
    flex: 1;
    padding-top: 8px;
}

.employee-style__title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text, #1a1a1a);
    letter-spacing: -0.01em;
}

.employee-style__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary, #555);
}

.employee-style__desc p {
    margin-bottom: 12px;
}

.employee-style__desc p:last-child {
    margin-bottom: 0;
}

/* ---- 变体展示网格 ---- */
.employee-variants {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.employee-variants--8 {
    grid-template-columns: repeat(4, 1fr);
}

.employee-variant {
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
    aspect-ratio: 3 / 4;
}

.employee-variant img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---- 响应式 ---- */
@media (max-width: 960px) {
    .employee-style__header {
        flex-direction: column;
        gap: 24px;
    }

    .employee-style__hero {
        flex: 0 0 auto;
        width: 100%;
        max-width: 320px;
    }

    .employee-variants {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .employee-content {
        padding: 24px 16px 56px;
    }

    .employee-style__title {
        font-size: 1.25rem;
    }

    .employee-variants {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
