/* 联系我们部分 */
.contact-manner {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -40px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    max-height: 500px;
}

/* 管理模式 与 薪酬结构 标题与内容距离优化 */
.management-section .section-title,
.compensation-section .section-title,
.recruitment-section .section-title {
    margin-bottom: 24px; /* 保持紧凑 */
    text-align: center; /* 居中 */
    font-size: 2.2rem; /* 放大字号 */
    line-height: 1.25;
}

.management-section .management-content,
.compensation-section .compensation-content {
    margin-top: 0; /* 确保与标题紧凑 */
}

/* 三大区块外边距（桌面） */
.management-section { margin-bottom: 80px; }
.compensation-section { margin-bottom: 80px; }
.recruitment-section { margin-bottom: 40px; }

.management-section p,
.compensation-section p {
    margin-bottom: 10px;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
}

/* 如果未来添加列表或加粗段落，也保持两端对齐 */
.management-section .management-content p,
.compensation-section .plan p {
    text-align: justify;
    text-justify: inter-ideograph;
    text-align-last: left;
}

/* 移动端再微调 */
@media (max-width: 768px) {
    .management-section .section-title,
    .compensation-section .section-title,
    .recruitment-section .section-title { margin-bottom: 18px; font-size: 1.9rem; }

    /* 移动端适度缩小外边距 */
    .management-section { margin-bottom: 56px; }
    .compensation-section { margin-bottom: 56px; }
    .recruitment-section { margin-bottom: 32px; }
}

.contact-manner img {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.contact-manner:hover img { /* 去除悬停动效，保持原状 */
    transform: none;
}

.contact-manner .manner-text {
    position: absolute;
    bottom: 0;
    left: 130px;
    width: calc(100% - 20px);
    color: white;
    padding: 30px;
    text-align: left;
}

.contact-manner .manner-text h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.recruitment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.recruitment-column {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.recruitment-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 带图标的招聘标题 */
.recruitment-title.with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}

.recruitment-title .title-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .recruitment-title .title-icon { width: 40px; height: 40px; }
    .recruitment-title.with-icon { font-size: 1.6rem; }
}

.job-location {
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.requirements-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.requirements-list {
    list-style-type: none;
    margin-bottom: 25px;
}

.requirements-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.requirements-list li:before {
    content: "•";
    position: absolute;
    left: 10px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-email {
    margin-top: 25px;
}

.email-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.email-address {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-image {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: white;
    padding: 20px;
    height: 100%;
}

.contact-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 4px;
}

/* 薪酬结构饼状图样式 */
.compensation-chart-wrapper {
    margin-top: 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid #e4e8ef;
    border-radius: 12px;
    padding: 30px 30px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.compensation-chart-wrapper .chart-title {
    margin: 0 0 18px;
    font-size: 1.4rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 1px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.pie-chart-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

#compensationPie {
    max-width: 360px;
    height: auto;
}

/* Canvas 悬浮提示框 */
.pie-tooltip {
    position: fixed;
    z-index: 9999;
    background: rgba(30, 38, 50, 0.92);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
    transform: translateY(-4px);
    max-width: 180px;
}
.pie-tooltip strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
    letter-spacing: .5px;
}
.pie-tooltip .desc {
    font-weight: 400;
    opacity: .9;
    white-space: nowrap;
}


/* 响应式优化 */
@media (max-width: 768px) {
    .compensation-chart-wrapper { padding: 24px 20px 20px; }
    .compensation-chart-wrapper .chart-title { font-size: 1.25rem; }
    .pie-chart-container { gap: 20px; }
    #compensationPie { max-width: 300px; }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .contact-manner .manner-text {
        padding: 20px;
        left: 20px;
    }
    
    .contact-manner .manner-text h3 {
        font-size: 1.8rem;
    }
    
    .recruitment-container {
        grid-template-columns: 1fr;
    }
}
