/* 人才招聘页面样式 */

.careers-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 2;
    margin-top: 1rem;
}

/* 招聘职位 */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.job-card {
    padding: 2.5rem;
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

/* 灰化处理 - 暂不招聘的职位 */
.job-disabled {
    opacity: 0.6;
    filter: grayscale(0.3);
    pointer-events: none;
    position: relative;
}

.job-disabled::before {
    content: '暂不招聘';
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    z-index: 10;
}

.job-disabled:hover {
    transform: none;
}

.job-type-disabled {
    background: #9ca3af !important;
    color: var(--white) !important;
}

.btn-disabled {
    background: #9ca3af !important;
    color: var(--white) !important;
    cursor: not-allowed;
    pointer-events: none;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-color);
}

.job-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.job-type {
    background: var(--accent-color);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
}

.job-info {
    margin-bottom: 1.5rem;
}

.job-info p {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.job-info strong {
    color: var(--primary-color);
}

.job-description {
    margin-bottom: 2rem;
}

.job-description h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.job-description h4:first-child {
    margin-top: 0;
}

.job-description ul {
    list-style: none;
    padding: 0;
}

.job-description li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.job-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* 员工福利 */
.benefits-grid {
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 申请流程 */
.apply-section {
    text-align: center;
}

.apply-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.step-item {
    position: relative;
    padding: 2rem 1.5rem;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow);
}

.step-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.step-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.apply-contact {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 2rem auto 0;
}

.apply-contact p {
    color: var(--text-dark);
    line-height: 2;
    margin-bottom: 0.5rem;
}

.apply-contact strong {
    color: var(--primary-color);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .apply-steps {
        grid-template-columns: 1fr;
    }

    .intro-text {
        font-size: 1rem;
    }
}

