﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 响应式容器 */
.job-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 1560px) {
    .job-container {
        width: 85%;
        max-width: none;
    }
}

@media screen and (max-width: 1280px) {
    .job-container {
        width: 96%;
    }
}

/* 通用标题样式 */
.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 80px;
    line-height: 1.3;
}



/* 工作机会主内容 */
.job-main-content {
    background: #fff;
}

.job-section {
    padding: 100px 0;
}

/* 第一部分：优势区域 */
.advantage-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.advantage-item {
    background: white;
    border-radius: 20px;
    padding: 60px 30px 40px;
    text-align: center;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.advantage-item:hover {
    transform: translateY(-10px);
    border-color: #02a7eb;
    box-shadow: 0 20px 40px rgba(2, 167, 235, 0.15);
}

/* Font Awesome图标样式 */
.advantage-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantage-icon i {
    font-size: 60px;
    color: #666;
    transition: all 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.advantage-icon em {
    font-size: 60px;
    color: #666;
    transition: all 0.4s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.advantage-icon .icon-bg {
    opacity: 1;
    color: #ddd;
}

.advantage-icon .icon-main {
    opacity: 0;
    color: #02a7eb;
}

.advantage-item:hover .icon-bg {
    opacity: 0;
}

.advantage-item:hover .icon-main {
    opacity: 1;
}

.advantage-title {
    font-size: 24px;
    font-weight:normal;
    color: #444;
    margin: 0;
    line-height: 1.4;
}

/* 优势区域logo */
.advantage-logo {
    text-align: center;
    margin-bottom: 20px;
}

.advantage-logo img {
    max-width: 250px;
    margin: 0 auto;
}

/* 优势描述 */
.advantage-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.advantage-description p {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

/* 第二部分：加入我们区域 - 背景图片版本 */
.join-section {
    position: relative;
    padding: 120px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.join-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.join-background .desktop-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.join-background .mobile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(7, 5, 39, 0.85) 0%, rgba(7, 5, 39, 0.7) 50%, rgba(7, 5, 39, 0.4) 100%);
    z-index: 2;
}

.join-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.join-text {
    max-width: 600px;
    color: white;
}

.join-text h2 {
    font-size: 44px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 30px;
    color: white;
}

.join-desc {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

/* 加入按钮 */
.join-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid white;
    border-radius: 10px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
	line-height:34px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.join-btn:hover {
    background: white;
    color: #070527;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.join-btn svg {
    transition: transform 0.3s ease;
}

.join-btn:hover svg {
    transform: translateX(5px);
}

@media screen and (max-width: 1560px) {
    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }
	
.advantage-title {
    font-size: 22px;
}
}
@media screen and (max-width: 1024px) {
    .job-section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 33px;
        margin-bottom: 50px;
    }
    
    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .advantage-item {
        padding: 50px 25px 30px;
    }
    
    .advantage-icon {
        width: 100px;
        height: 100px;
    }
    
    .advantage-icon i {
        font-size: 50px;
    }
        .advantage-icon em {
        font-size: 50px;
    }
    .advantage-title {
        font-size: 20px;
    }
    
    .join-section {
        min-height: 500px;
        padding: 100px 0;
    }
    
    .join-text h2 {
        font-size: 36px;
    }
    

}

/* 手机设备 */
@media screen and (max-width: 768px) {
    .job-container {
        padding: 0 1px;
    }
    
    .job-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
      .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        margin-bottom: 60px;
    }
    
    .advantage-item {
        padding: 10px 20px 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .advantage-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
    
    .advantage-icon i {
        font-size: 40px;
    }
       .advantage-icon em {
        font-size: 40px;
    }
    .advantage-title {
        font-size: 15px;
    }
    
    .advantage-logo img {
        max-width: 200px;
    }
    
    .advantage-description p {
        font-size: 16px;
        padding: 0 10px;
		 line-height: 2;
		   margin-bottom: 1px;
    }
    
    .join-section {
        min-height: 400px;
        padding: 80px 0;
    }
    
    /* 手机端图片切换 */
    .join-background .desktop-bg {
        display: none;
    }
    
    .join-background .mobile-bg {
        display: block;
    }
    
    .bg-overlay {
        background: linear-gradient(90deg, rgba(7, 5, 39, 0.9) 0%, rgba(7, 5, 39, 0.7) 70%, rgba(7, 5, 39, 0.4) 100%);
    }
    
    .join-content {
        text-align: center;
    }
    
    .join-text {
        padding: 0 6px;
    }
    
    .join-text h2 {
        font-size: 23px;
        margin-bottom: 20px;
    }
    
    .join-desc {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .join-btn {
        padding: 11px 17px;
        font-size: 16px;
    }

}



/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantage-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }

.join-text {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* 工具类 */
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-50 { margin-top: 50px; }

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}



.positions-section {
    background: #f9fafc;
    padding: 100px 0;
}


.positions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* 招聘职位卡片 */
.position-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.position-card:hover {
    border-color: #02a7eb;
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(2, 167, 235, 0.15);
}

/* 职位标题区域 */
.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2f5;
}

.position-title {
    font-size: 22px;
    font-weight: 700;
    color: #02a7eb;
    margin: 0;
    line-height: 1.3;
}

/* 急聘标签 */
.position-tag {
    display: inline-block;
    padding: 6px 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    text-align: center;
    white-space: nowrap;
}

/* 职位信息网格 */
.position-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.info-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* 职位描述 */
.position-description {
    max-height: 320px;
    overflow: hidden;
    position: relative;
    margin-bottom: 5px;
    line-height: 1.7;
    color: #555; font-size:15px
}

.position-description p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.7;
}

/* 渐变遮罩效果 */
.position-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 100%);
    pointer-events: none;
}

/* 申请按钮 */
.position-apply {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f0f2f5;
}

.apply-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #02a7eb 0%, #1890ff 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 140px;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 167, 235, 0.3);
}

.apply-btn i {
    font-size: 14px;
}

/* 空状态 */
.no-positions {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    border: 2px dashed #e0e6ff;
}

.no-positions p {
    font-size: 18px;
    color: #7a8bf2;
    margin: 0;
}

/* 招聘分页样式 */
.job-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e6ff;
    border-radius: 8px;
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 46px;
    text-align: center;
}

.pagination-btn:hover {
    background: #f0f3ff;
    border-color: #4a6cf7;
    color: #4a6cf7;
}

.pagination-btn.active {
    background: #4a6cf7;
    border-color: #4a6cf7;
    color: white;
    box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* 响应式设计 */

/* 平板设备 */
@media screen and (max-width: 1024px) {
    .positions-section {
        padding: 80px 0;
    }
    
    .positions-list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 25px;
    }
    
    .position-card {
        padding: 25px;
    }
    
    .position-title {
        font-size: 20px;
    }
    
    .position-info {
        gap: 12px;
    }
    
    .info-value {
        font-size: 15px;
    }
}

/* 手机设备 */
@media screen and (max-width: 768px) {
    .positions-section {
        padding: 60px 0;
    }
    
    .positions-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .position-card {
        padding: 20px;
    }
    
    .position-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .position-title {
        font-size: 18px;
        width: 100%;
    }
    
    .position-tag {
        align-self: flex-start;
    }
    
    .position-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .info-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .position-description {
       max-height: 1000px;
        font-size:15px
    }
    
    .apply-btn {
        width: 100%;
        max-width: 280px;
    }
    
    .job-pagination {
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 8px 16px;
        font-size: 14px;
        min-width: 40px;
    }
}

