/* 招聘页面专用样式 */


/* 页面内部Banner */
.inner-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/hr.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.inner-banner-content {
    position: relative;
    z-index: 1;
    text-align: right !important;
    color: #fff;
    padding-right: 100px;
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 40px;
}

.inner-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 10px;
}

.inner-banner-subtitle {
    font-size: 24px;
    font-weight: 300;
    opacity: 0.95;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}



/* 主内容区域 */
.job-main {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 50px 20px;
}

.job-intro {
    text-align: center;
    margin-bottom: 50px;
}

.job-title {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 15px;
}

.job-slogan {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 招聘信息表格 */
.job-table-wrapper {
    overflow-x: auto;
    margin-bottom: 50px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 10px;
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

.job-table th {
    background-color: #1e3c72;
    color: #fff;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.job-table tr {
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.job-table tr:hover {
    background-color: #f9f9f9;
}

.job-table td {
    padding: 15px;
    color: #333;
}

.job-details-btn {
    background: none;
    border: none;
    color: #1e3c72;
    cursor: pointer;
    font-size: 1.5rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.job-details-btn:hover {
    background-color: #1e3c72;
    color: #fff;
}

.job-details-btn i {
    transition: transform 0.3s ease;
}

.job-details-btn.active i {
    transform: rotate(45deg);
}

/* 招聘详情 */
.job-details {
    background-color: #f9f9f9;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.job-details.active {
    padding: 20px 15px;
    max-height: 1000px;
}

.details-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.details-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.details-title {
    font-size: 1.2rem;
    color: #1e3c72;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.details-title i {
    margin-right: 10px;
}

.details-content {
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.details-content ul {
    padding-left: 20px;
    margin-top: 10px;
}

.details-content li {
    margin-bottom: 8px;
}

.contact-info {
    margin-top: 10px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-icon {
    margin-right: 10px;
    color: #1e3c72;
}

.apply-btn {
    display: inline-block;
    background-color: #1e3c72;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.apply-btn:hover {
    background-color: #2a5298;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .job-title {
        font-size: 2rem;
    }
    
    .job-slogan {
        font-size: 1.1rem;
    }
    
    .job-table th,
    .job-table td {
        padding: 12px 10px;
    }
    
    .details-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .inner-banner {
        height: 300px;
    }
    
    .inner-banner-title {
        font-size: 36px;
    }
    
    .job-title {
        font-size: 1.8rem;
    }
    
    .job-slogan {
        font-size: 1rem;
    }
    
    .job-main {
        padding: 30px 15px;
    }
    
    .job-table th,
    .job-table td {
        font-size: 0.9rem;
        padding: 10px 8px;
    }
    
    .job-table th:nth-child(4),
    .job-table td:nth-child(4),
    .job-table th:nth-child(6),
    .job-table td:nth-child(6) {
        display: none; /* 在小屏幕上隐藏部分列 */
    }
}

@media (max-width: 480px) {
    .inner-banner {
        height: 250px;
    }
    
    .inner-banner-title {
        font-size: 28px;
    }
    
    .job-title {
        font-size: 1.5rem;
    }
    
    .job-table th:nth-child(3),
    .job-table td:nth-child(3) {
        display: none; /* 在更小屏幕上隐藏更多列 */
    }
}

/* 员工风采展示 */
.employee-showcase {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.showcase-container {
    max-width: 1450px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.showcase-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 50px;
    font-weight: bold;
}

.showcase-wrapper {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    overflow: hidden;
    position: relative;
}

.showcase-item {
    flex: 0 0 calc(25% - 22.5px);
    max-width: 300px;
    min-width: 250px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.showcase-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.showcase-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-item:hover img {
    transform: scale(1.05);
}

.showcase-item h3 {
    font-size: 1.4rem;
    color: #1e3c72;
    text-align: center;
    margin: 20px 0 10px;
    font-weight: bold;
}

.showcase-item p {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin: 0 0 20px;
    padding: 0 20px;
    line-height: 1.6;
}

.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.prev-btn, .next-btn {
    background: rgba(30, 60, 114, 0.8);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.2rem;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(30, 60, 114, 1);
    transform: scale(1.1);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

/* 员工风采动画效果 */
.showcase-item.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.showcase-item.fade-out {
    opacity: 1;
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-30px);
    }
}

/* 员工风采响应式设计 */
@media (max-width: 1200px) {
    .showcase-item {
        flex: 0 0 calc(33.33% - 20px);
    }
}

@media (max-width: 992px) {
    .showcase-item {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .showcase-wrapper {
        flex-wrap: wrap;
    }
    .showcase-item {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .showcase-nav {
        display: none;
    }
}