/* 联系页主体样式 */

.contact-section {
    padding: 4rem 0;
    background: var(--primary-color-10);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.section-header {
    margin-bottom: 2.5rem;
    border-left: 4px solid var(--secondary-color);
    padding-left: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.contact-details p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-persons {
    margin-top: 2rem;
}

.contact-person {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	justify-content: space-between; /* 分散对齐 */
    align-items: center; /* 垂直居中对齐 */
    width: 100%; /* 确保父容器宽度占满 */
}
.person-info, .social-qr-code {
    flex: 0 0 auto; /* 禁止伸缩，保持内容宽度 */
}
.person-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.social-qr-code {
    text-align: center;
    flex-shrink: 0;
	position: relative;
}

.social-qr-code img {
    width: 120px;
    height: 120px;
    border: 1px solid #eee;
    padding: 0.5rem;
}

.social-qr-code p {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* 联系表单样式 */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* 表单与社交平台之间的间距 */
}

.consult-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.consult-form h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(27,45,107,0.1);
}

.submit-btn {
    background: var(--primary-color);
    color: white;
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.submit-btn span {
    display: block;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    opacity: 0.9;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

/* 社交媒体平台 */
.social-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 0; /* 移除原来的顶部间距 */
}
/* 新增：社交项尺寸控制 */
.social-item {
    position: relative;
    text-align: center;
}
/* 修改：二维码图片适配 */
.social-item .social-qr-code img {
    width: 100%;
    max-width: 150px; /* 控制最大尺寸 */
    height: auto;
    border: 1px solid #eee;
    padding: 0.5rem;
}

/* 新增：社交平台文字说明 */
.social-item p {
    font-size: 0.9rem;
    margin-top: 0.8rem;
    color: #666;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-person {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .qr-code img {
        width: 100px;
        height: 100px;
    }
    
    .consult-form {
        padding: 1.5rem;
    }
    
    .social-platforms {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-person {
        padding: 1rem;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 0.8rem;
    }
}

/* 招聘区样式 */
.jobs-section {
    padding: 4rem 0;
    background: white;
}

.jobs-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.job-item {
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease;
}

.job-item:hover {
    box-shadow: 0 4px 12px rgba(27,45,107,0.1);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    background: var(--primary-color-10);
}

.job-meta {
    flex: 1;
}

.job-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.job-tags {
    display: flex;
    gap: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.job-status {
    text-align: right;
    color: #999;
    font-size: 0.9rem;
}

.update-tag {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-left: 0.5rem;
}

.job-details {
    padding: 0 1.5rem; /* 修改前：padding:1.5rem */
    border-top: 1px solid #eee;
    
	max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease; /* 新增过渡效果 */
    opacity: 0;
}

.job-details.active {
    display: block;
}
.job-item.active .job-details {
    padding: 1.5rem; /* 配合过渡动画 */
    max-height: 1000px; /* 足够大的值容纳内容 */
    opacity: 1;
}
/* 新增指示图标 */
.job-header::after {
    content: "▾";
    margin-left: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.job-item.active .job-header::after {
    transform: rotate(180deg);
}
.detail-block {
    margin-bottom: 1.5rem;
}

.detail-block h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.detail-block ul {
    padding-left: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.job-contact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #eee;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.apply-btn svg {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
}

.apply-btn:hover svg {
    transform: translateX(3px);
}

/* 移动端适配 */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .job-tags {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .job-status {
        width: 100%;
        text-align: left;
    }
    
    .job-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .jobs-section {
        padding: 2rem 0;
    }
    
    .job-header {
        padding: 1rem;
    }
    
    .job-title {
        font-size: 1.1rem;
    }
}