/* 高管简历区块样式 */
.executive-profiles-block {
    padding: 50px 0;
    background: #ffffff;
    position: relative;
}

.executive-profiles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* 标题样式 */
.section-header {
    text-align: center;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #007cba, #00a0d2);
    border-radius: 2px;
}

/* 网格布局 - 默认每行一个元素 */
.executives-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}

.executives-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.executives-grid[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.executives-grid[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

.executives-grid[data-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
}

/* 高管卡片样式 */
.executive-card {
    background: #ffffff;
    border: none;
    border-bottom: 1px solid #e8e8e8;
    border-radius: 0;
    padding: 20px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: flex-start;
    box-shadow: none;
}

.executive-card:hover {
    box-shadow: none;
    border-bottom-color: #d0d0d0;
    transform: none;
}

/* 高管头部信息 - 左侧栏 */
.executive-header {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    min-width: 120px;
    flex-shrink: 0;
}

.executive-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0;
    line-height: 1.3;
    letter-spacing: 0.3px;
}

.executive-title {
    font-size: 12px;
    color: #757575;
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
}

/* 简历内容样式 - 右侧栏 */
.executive-bio {
    position: relative;
    flex: 1;
    min-width: 0;
}

.bio-preview {
    font-size: 13px;
    line-height: 1.6;
    color: #4a4a4a;
    display: block;
    overflow: visible;
    text-overflow: unset;
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
    text-align: justify;
    font-weight: 400;
}

.bio-preview::after {
    display: none;
}



/* 深色主题 */
.executive-profiles-block.theme-dark {
    background: #1a1a1a;
}

.theme-dark .executive-card {
    background: #2a2a2a;
    border-color: #404040;
}

.theme-dark .executive-card:hover {
    box-shadow: 0 8px 25px rgba(0, 160, 210, 0.2);
    border-color: #00a0d2;
}

.theme-dark .section-title {
    color: #ffffff;
}

.theme-dark .executive-name {
    color: #ffffff;
}

.theme-dark .executive-title {
    color: #cccccc;
}

.theme-dark .executive-header {
    border-bottom-color: #404040;
}

.theme-dark .bio-preview {
    color: #e0e0e0;
}

.theme-dark .bio-preview::after {
    background: linear-gradient(to right, transparent, #2a2a2a 50%);
}

.theme-dark .bio-full {
    background: #2a2a2a;
    border-color: #00a0d2;
    color: #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 160, 210, 0.3);
}

/* 浅色主题 */
.executive-profiles-block.theme-light {
    background: #f8f9fa;
}

.theme-light .executive-card {
    background: #ffffff;
    border-color: #dee2e6;
}

.theme-light .executive-card:hover {
    box-shadow: 0 8px 25px rgba(0, 124, 186, 0.1);
    border-color: #007cba;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .executives-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }
    
    .executive-profiles-container {
        padding: 0 16px;
    }
    
    .executive-profiles-block {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .executive-card {
        padding: 20px 0;
        flex-direction: column;
        gap: 16px;
    }
    
    .executive-header {
        min-width: auto;
        flex-direction: row;
        align-items: baseline;
        gap: 12px;
    }
    
    .executive-name {
        font-size: 16px;
    }
    
    .executive-title {
        font-size: 13px;
    }
    

}

@media (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .executive-name {
        font-size: 15px;
    }
    
    .executive-card {
        padding: 15px 0;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.executive-card {
    animation: fadeInUp 0.6s ease forwards;
}

.executive-card:nth-child(1) { animation-delay: 0.1s; }
.executive-card:nth-child(2) { animation-delay: 0.2s; }
.executive-card:nth-child(3) { animation-delay: 0.3s; }
.executive-card:nth-child(4) { animation-delay: 0.4s; }
.executive-card:nth-child(5) { animation-delay: 0.5s; }
.executive-card:nth-child(6) { animation-delay: 0.6s; }
.executive-card:nth-child(7) { animation-delay: 0.7s; }
.executive-card:nth-child(8) { animation-delay: 0.8s; }
.executive-card:nth-child(9) { animation-delay: 0.9s; }
.executive-card:nth-child(10) { animation-delay: 1.0s; }

/* 加载状态 */
.executive-profiles-block.loading .executive-card {
    opacity: 0;
}

/* 打印样式 */
@media print {
    .executive-profiles-block {
        background: white !important;
        padding: 20px 0;
    }
    
    .executive-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .bio-preview {
        -webkit-line-clamp: unset;
        overflow: visible;
    }
    
    .bio-preview::after {
        display: none;
    }
    
    .bio-full {
        position: static;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-top: 10px;
    }
}