/* ================= TEAM PAGE STYLES (V4 Wide) ================= */

/* Wrapper */
.f-team-wrapper {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--theme-palette-color-3);
    background-color: var(--theme-palette-color-7);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 
   FIX 1: 极宽布局 + 动态防贴边
   max-width: 1800px -> 让内容在 2K/4K 屏上也能铺开
   width: 90% -> 左右自动留出 5% 的空隙，永远不会贴边！
   margin: 0 auto -> 居中
*/
.f-container {
    max-width: 1800px;
    width: 90%; 
    margin: 0 auto;
    /* 取消之前的固定 px padding，改用 width 控制边距 */
    padding: 0; 
}

/* Helper for absolute centering */
.f-text-center { 
    text-align: center; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Team Hero */
.f-team-hero {
    padding: 120px 0 80px; /* 增加顶部空间 */
    background-color: var(--theme-palette-color-7);
    border: none;
}

.f-team-hero h1 {
    font-size: clamp(3rem, 6vw, 5rem); /* 标题更大气 */
    color: var(--theme-palette-color-1);
    font-weight: 800;
    margin-bottom: 25px;
    text-align: center; 
    width: 100%;
}

.f-team-hero p {
    font-size: 1.4rem;
    max-width: 900px; /* 副标题稍微放宽 */
    margin: 0 auto;
    text-align: center;
}

/* Expert Section Layout */
.f-expert-section {
    padding: 120px 0; /* 增加板块间距 */
    border: none;
    width: 100%;
}

/* 背景色是加在 Section 上的，所以是全屏宽 */
.f-bg-white { background-color: #ffffff; }

/* 
   FIX 2: 网格布局调整
   columns: 1fr 1fr -> 左右对半，视觉更平衡
   gap: 10vw -> 使用视口宽度的 10% 作为间距，屏幕越宽，中间空隙越大
*/
.f-expert-layout {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 8vw; /* 巨大的间距，显得很高级 */
    align-items: center;
    width: 100%;
}

/* Reverse layout for Nova */
.f-reverse {
    /* 保持 1:1 */
    grid-template-columns: 1fr 1fr; 
}
.f-reverse .f-expert-visual { order: 2; }
.f-reverse .f-expert-info { order: 1; }

/* Visual Column */
.f-expert-visual {
    width: 100%;
    position: relative;
    /* 确保图片不会无限大 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.f-expert-img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    max-width: 550px; /* 图片上限加大到 550px */
    margin: 0 auto 40px;
    border-radius: 40px; /* 圆角加大 */
    background-size: cover;
    background-position: center top;
    border: 4px solid var(--theme-palette-color-1);
    box-shadow: 25px 25px 0px rgba(0,0,0,0.05); 
}

#nova .f-expert-img { border-color: #EC4899; }
#orion .f-expert-img { border-color: #10B981; }

.f-expert-stats {
    width: 100%;
    background: #ffffff;
    padding: 35px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    max-width: 550px; /* 跟图片同宽 */
    margin: 0 auto;
    box-sizing: border-box;
}

.f-stat-row { margin-bottom: 25px; }
.f-stat-row:last-child { margin-bottom: 0; }

.f-stat-row span {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.f-stat-bar {
    width: 100%;
    height: 12px;
    background: #f1f5f9;
    border-radius: 6px;
    overflow: hidden;
}
.f-stat-fill { height: 100%; border-radius: 6px; }

/* Info Column */
.f-expert-info {
    /* 这里不需要 padding，因为 gap 已经够大了 */
    max-width: 700px; /* 限制文字最大宽度，防止一行太长读起来累 */
}

/* 右侧文字靠左对齐，左侧文字(Nova)靠右对齐？不，统一左对齐最易读 */
.f-reverse .f-expert-info {
    margin-left: auto; /* 让 Nova 的文字块靠向中心线 */
}

.f-expert-info h2 {
    font-size: clamp(3rem, 5vw, 4.5rem); /* 巨大的名字 */
    color: var(--theme-palette-color-4);
    margin: 20px 0 35px;
    line-height: 1;
    font-weight: 800;
}

.f-expert-bio {
    font-size: 1.35rem; /* 更大的字号 */
    color: var(--theme-palette-color-3);
    margin-bottom: 50px;
    line-height: 1.7;
}

.f-expert-focus h4 {
    color: var(--theme-palette-color-1);
    margin-bottom: 25px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 800;
}

.f-focus-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}
.f-focus-list li {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Button */
.f-btn-outline {
    display: inline-block;
    margin-top: 50px;
    padding: 20px 50px;
    border: 3px solid var(--theme-palette-color-1);
    color: var(--theme-palette-color-1);
    font-weight: 700;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
}
.f-btn-outline:hover {
    background: var(--theme-palette-color-1);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Tag */
.f-tag {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0,0,0,0.05);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 1100px) {
    .f-expert-layout {
        grid-template-columns: 1fr; /* 变回单列 */
        text-align: center;
        gap: 60px;
    }
    
    .f-reverse .f-expert-visual { order: 1; }
    .f-reverse .f-expert-info { order: 2; }
    
    /* 移动端恢复 padding 控制 */
    .f-container { width: 100%; padding: 0 30px; }
    
    .f-expert-img { max-width: 400px; }
    .f-expert-stats { text-align: left; }
    
    .f-focus-list { 
        text-align: left; 
        display: inline-grid; /* 让列表在中间对齐 */
    }
    
    .f-reverse .f-expert-info { margin-left: 0; }
    .f-expert-info { margin: 0 auto; }
}
