.job-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    position: relative;
}

.job-hero {
    height: 100vh;
    width: 100%;
    background-image: url('./Imgs/office-lumos.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
}

.job-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.job-header {
    font-size:30px;
    width: 50%;
    text-align: left;
    margin-bottom: 50px;
    color: white;
    position: relative;
    z-index: 1;
    padding: 0 20px;
}
@media (max-width: 768px) {
    .job-header {
        font-size:18px;
    }
}
.job-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 80px;
}

.job-category-title {
    font-size: 24px;
    margin-top: 50px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 55px;
}

.job-category-title:first-of-type {
    margin-top: 0;
}

.job-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.job-category {
    margin: 0 15px;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.job-category.active {
    border-bottom: 2px solid #007BFF;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.job-card {
    background: white;
    border-radius: 8px;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: 1px solid #ffffff;
    position: relative;
    cursor: pointer;
}

.job-card:hover {
    transform: translateY(-3px);
    border-color: #e0e0e0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.job-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.job-info {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.job-title-container {
    display: flex;
    align-items: baseline;
}

.job-title {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
    margin-right: 15px;
    margin-left: 20px;
    margin-bottom: 10px;
}

.job-department {
    color: #8b8b8b;
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
}

.apply-btn {
    display: inline-block;
    color: #1c1c1c;
    padding: 10px 0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    z-index: 2;
    font-weight: 500;
}

.apply-btn:hover {
    color: #666;
}

.apply-btn::after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.apply-btn:hover::after {
    transform: translateX(5px);
}

.job-description {
    margin-bottom: 20px;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .job-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-title-container {
        flex-direction: column;
        margin-bottom: 15px;
    }

    .job-title {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .job-card {
        padding: 20px;
    }
}


/* 下拉菜单样式 */
/* 删除原有的.dropdown相关样式 */

.dropdown {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0 30px;
}

/* 下拉菜单容器样式 */
.dropdown {
    position: relative;
}

/* 下拉菜单内容样式 */
.dropdown-content {
    display: none;
    position: absolute;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 100vw;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 0px;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
}

/* 鼠标悬停时显示下拉菜单 */
@media (hover: hover) {
    .dropdown:hover .dropdown-content {
        display: block;
        opacity: 1;
        transform: translateX(-50%) translateY(2px);
    }
}
/* 下拉菜单列样式 */
.dropdown-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 下拉菜单项样式 */
.dropdown-content a {
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.dropdown-content a:hover {
    background: #f8f8f8;
}

.dropdown-content img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
}

.dropdown-content h4 {
    color: #222;
    margin: 0 0 5px 0;
    font-size: 18px;
}

.dropdown-content p {
    color: #222;
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 102, 204, 0.05);
    transform: translateX(5px);
}

.dropdown-content img {
    width: 100px;
    height: 100px;
    margin-right: 15px;
    border-radius: 4px;
}


.dropdown > a i {
    margin-left: 5px;
    font-size: 0.8em;
    transition: transform 0.3s;
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}