/* ByteDance-inspired Job Listings Styles */
.jobs-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.jobs-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.jobs-container.campus-jobs {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

/* ByteDance-inspired content module */
.content__IN8vJ {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* Job card with ByteDance styling */
.job-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 24px;
    transition: all 0.3s ease;
    width: calc(33.333% - 20px);
    margin-bottom: 20px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.job-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.job-card.collapsed {
    max-height: 180px;
}

.job-card.collapsed::after {
    content: "点击查看详情";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    color: #1677ff;
    font-size: 14px;
}

.job-header {
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.job-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin: 0 0 4px 0;
}

.job-location {
    display: inline-block;
    font-size: 13px;
    color: #86909c;
    padding: 2px 8px;
    background-color: #f2f3f5;
    border-radius: 4px;
}

.job-requirements h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4e5969;
    margin: 16px 0 8px 0;
}

.job-requirements ul {
    padding-left: 20px;
    margin: 0;
}

.job-requirements li {
    font-size: 14px;
    color: #4e5969;
    line-height: 1.6;
    margin-bottom: 8px;
}

.apply-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #1677ff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #0958d9;
}

/* Section title styling */
.section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1d2129;
    text-align: center;
    margin-bottom: 16px;
}

.section-description {
    font-size: 16px;
    color: #4e5969;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 1200px) {
    .job-card {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .job-card {
        width: 100%;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-description {
        font-size: 14px;
    }
}

/* 招聘岗位布局 */
.jobs-layout {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

/* 左侧筛选 */
.job-filters {
    width: 200px;
    flex-shrink: 0;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    position: sticky;
    top: 100px;
    align-self: flex-start;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-options {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-options li {
    font-size: 14px;
    color: #4e5969;
    padding: 8px 10px;
    margin-bottom: 6px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-options li:hover {
    background-color: #f7f8fa;
    color: #1677ff;
}

.filter-options li.active {
    background-color: #e6f4ff;
    color: #1677ff;
    font-weight: 500;
}

/* 右侧职位列表 */
.job-listings {
    flex: 1;
}

.job-item {
    background-color: #fff;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}

.job-item:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.job-item.collapsed .job-item-content {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    visibility: hidden;
}

.job-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    position: relative;
    z-index: 1;
}

.job-item:not(.collapsed) .job-item-header {
    margin-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.job-item-title {
    font-size: 18px;
    font-weight: 600;
    color: #1d2129;
    margin: 0;
}

.job-item-location {
    display: inline-block;
    font-size: 13px;
    color: #86909c;
    padding: 2px 8px;
    background-color: #f2f3f5;
    border-radius: 4px;
}

.job-item-content {
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    max-height: 2000px;
    opacity: 1;
    overflow: hidden;
}

/* 岗位详情样式 */
.job-requirements h4 {
    font-size: 14px;
    font-weight: 600;
    color: #4e5969;
    margin: 16px 0 8px 0;
}

.job-requirements ul {
    padding-left: 20px;
    margin: 0;
}

.job-requirements li {
    font-size: 14px;
    color: #4e5969;
    line-height: 1.6;
    margin-bottom: 8px;
}

.apply-btn {
    display: inline-block;
    align-self: flex-end;
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #1677ff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.apply-btn:hover {
    background-color: #0958d9;
}

/* 隐藏非活动分类的职位 */
.job-item {
    display: none;
}

.job-item[data-type="social-product"] {
    display: flex;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .jobs-layout {
        flex-direction: column;
    }
    
    .job-filters {
        width: 100%;
        position: static;
        margin-bottom: 20px;
    }
    
    .filter-options {
        display: flex;
        flex-wrap: wrap;
    }
    
    .filter-options li {
        margin-right: 10px;
    }
}

/* 万声福利样式 */
.benefits-section {
    padding: 80px 0;
    background-color: #fff;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.benefits-row {
    display: flex;
    margin: 80px 0;
    gap: 30px;
    align-items: center;
}

.benefits-row.reverse {
    flex-direction: row-reverse;
}

.benefits-image-carousel,
.benefits-text {
    flex: 1;
}

.benefits-text h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1d2129;
    margin-bottom: 20px;
}

.benefits-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #4e5969;
    margin-bottom: 24px;
}

.benefits-text ul {
    padding-left: 20px;
}

.benefits-text li {
    font-size: 16px;
    color: #4e5969;
    margin-bottom: 12px;
    position: relative;
}

.benefits-text li:before {
    content: "•";
    color: #1677ff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 图片轮播样式 */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 400px;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #ffffff;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .benefits-row {
        flex-direction: column;
        margin: 40px 0;
    }
    
    .benefits-row.reverse {
        flex-direction: column;
    }
    
    .carousel-track {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 50px 0;
    }
    
    .carousel-track {
        height: 250px;
    }
}

/* 企业文化模块 */
.culture-section {
    padding: 0 0 40px 0;
    background-color: #fff;
}

.culture-banner {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 320px;
    margin: 0 auto;
    background-image: url('../lib/img/joinImg/joinImgHeader.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.culture-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.culture-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 200px;
    z-index: 2;
}

.culture-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.culture-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.culture-slide:nth-child(1) {
    animation-delay: 0s;
}

.culture-slide:nth-child(2) {
    animation-delay: 4s;
}

.culture-slide:nth-child(3) {
    animation-delay: 8s;
}

.culture-slide h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 2px;
}

.culture-slide p {
    font-size: 24px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
    letter-spacing: 12px;
}

/* Animation handled by JavaScript */

/* 响应式设计 */
@media (max-width: 768px) {
    .culture-banner {
        height: 300px;
    }
    
    .culture-slide h2 {
        font-size: 32px;
    }
    
    .culture-slide p {
        font-size: 18px;
    }
}

.product-page-container{
    padding: 80px 20px 20px;
}