/**
 * tuandui.css - 管理团队页面样式
 */

/* Team Section */
.team-section {
    padding-bottom: 60px;
    background-color: #fff;
}

.team-header-container {
    padding-top: 50px;
    padding-bottom: 50px; /* Increased bottom padding to create space before first leader */
    position: relative;
    display: flex; /* Flexbox for alignment */
    justify-content: flex-start; /* Align to the left (start) */
    align-items: center; /* Vertically align items */
}

.team-section-title {
    font-size: 32px;
    color: #333;
    position: relative;
    z-index: 2;
    margin-bottom: 0; /* Remove margin-bottom */
}

.team-section-title .highlight-text {
    font-weight: bold;
    position: relative; /* For the pseudo-element */
    display: inline-block; /* Required for the pseudo-element to work correctly */
}

/* Replicating the underline style from qiye.css */
.team-section-title .highlight-text::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background: #e63935;
    position: absolute;
    bottom: -10px; /* Match qiye.css distance */
    left: 0;
}

.caeg-watermark {
    position: absolute;
    top: 50%; /* Center vertically */
    left: -20px;
    transform: translateY(-50%); /* Adjust for exact center */
    font-size: 130px; 
    color: rgba(0, 0, 0, 0.03);
    font-weight: 300; 
    font-family: Arial, sans-serif;
    letter-spacing: 5px;
    z-index: 1;
    pointer-events: none;
    line-height: 1; /* Reset line-height to avoid spacing issues */
    margin-top: -10px; /* Slight manual adjustment to visual center */
}

/* Leader List Container */
.team-list-container {
    width: 100%;
}

/* Individual Leader Block */
.leader-block {
    margin-top: 100px; /* Space for the avatar top half */
    position: relative;
}

/* The Grey Bar */
.leader-grey-bar {
    background-color: #f2f2f2; /* Darker Grey Background for visibility */
    width: 100%;
    padding: 35px 0; /* Reduced padding (was 60px) */
}

/* Container for positioning */
.leader-relative-container {
    position: relative;
    /* w-1300-center properties are inherited via class composition in HTML */
    height: 100%;
    /* Use Flexbox to center content */
    display: flex;
    justify-content: center; /* Center content horizontally */
}

/* Avatar Positioning */
.leader-avatar {
    position: absolute;
    /* Calculation:
       Padding top is 35px.
       To align center of 180px avatar (at 90px) with top of grey bar (at -35px relative to content):
       top + 90 = -35  => top = -125px
    */
    top: -125px;
    left: 200px; /* Adjusted left position to move towards center */
    width: 180px;
    height: auto;
    z-index: 10;
    /* Ensure no CSS styles interfere with the baked-in image style */
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.leader-avatar img {
    width: 100%;
    height: auto;
    display: block;
    /* No border radius or border as requested */
}

/* Text Content */
.leader-info {
    padding-left: 450px; /* Increased padding to push text right of the centered avatar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80px; /* Ensure some height */
    width: 100%; /* Take full width to allow flexbox centering to work properly */
}

.member-name-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-icon {
    height: 28px;
    width: auto;
    margin-right: 15px;
}

.name-divider {
    width: 1px;
    height: 24px;
    background-color: #ccc;
    margin-right: 15px;
}

.member-name {
    font-size: 34px; /* Increased from 30px */
    color: #333;
    font-weight: 500;
    letter-spacing: 1px;
    font-family: 'SourceHanSansCN-Medium', 'Microsoft YaHei', sans-serif; /* Custom font */
}

.member-title {
    font-size: 20px; /* Increased from 18px */
    color: #333;
    line-height: 1.6;
    font-weight: 400;
    font-family: 'SourceHanSansCN-Regular', 'Microsoft YaHei', sans-serif; /* Custom font */
}
