/* 加入我们页面 - 1:1 效果图 */
/* 基础与容器 */
.page-join {
    font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    color: #333;
    background: #fff;
    margin: 0;
    padding: 0;
}

.join-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 当前页导航高亮：加入我们 白色下划线（透明头部下更明显） */
.page-join .nav-active > a {
    color: #fff;
}
.page-join .nav-list > li.nav-active::after {
    width: 100%;
    background: #fff;
}

/* 加入我们页面头部：默认半透明深色（保证菜单可见），鼠标滑入后变为浅蓝底色 */
.page-join .site-header {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}
.page-join .site-header:hover {
    background: rgba(191, 202, 215, 0.8);
    backdrop-filter: blur(10px);
}

/* 菜单字号放大 */
.page-join .site-header .nav-list > li > a {
    font-size: 16px;
}

/* ========== Hero 区域：背景图 + 文案，搜索框在轮播图下方居中 ========== */
.join-hero {
    position: relative;
    width: 100%;
    min-height: 82vh;
    margin-top: -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.join-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.join-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.join-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px 100px;
}

.join-hero-title {
    font-size: 28px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 搜索栏：固定在轮播图下方中间，药丸形、白底+浅绿按钮、柔和阴影 */
.join-hero-search {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    max-width: 580px;
    padding: 0 24px;
    box-sizing: border-box;
}

.join-search-bar {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 56px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    background: #fff;
    border: 1px solid #e8e8e8;
}

.join-search-icon {
    flex-shrink: 0;
    width: 52px;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") no-repeat center;
    background-size: 20px 20px;
}

.join-search-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px 0 0;
    border: none;
    font-size: 15px;
    color: #333;
    background: transparent;
}

.join-search-input::placeholder {
    color: #999;
}

.join-search-input:focus {
    outline: none;
}

.join-search-btn {
    flex-shrink: 0;
    width: 110px;
    height: 100%;
    border: none;
    border-radius: 0 28px 28px 0;
    margin: -1px -1px -1px 0;
    background: #b8d477;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.join-search-btn:hover {
    background: #a8c967;
}

/* ========== 主内容：白底 + 左右两栏 ========== */
.join-main {
    background: #fff;
    padding: 48px 0 80px;
}

.join-container {
    display: flex;
    align-items: flex-start;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 左侧筛选 */
.join-sidebar {
    width: 220px;
    flex-shrink: 0;
    padding-right: 32px;
    border-right: 1px solid #e5e7eb;
}

.filter-block {
    margin-bottom: 32px;
}

.filter-block:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 15px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 16px;
}

.filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.filter-list li {
    margin: 0 0 10px;
}

.filter-link {
    display: block;
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.filter-link:hover,
.filter-link.active {
    color: #374151;
    font-weight: 600;
}

/* 右侧职位列表 */
.join-content {
    flex: 1;
    min-width: 0;
    padding-left: 40px;
}

.join-content-title {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 24px;
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.job-card {
    padding: 24px 20px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    border-color: #b8d477;
    box-shadow: 0 0 0 1px #b8d477;
    z-index: 1;
}

.job-card-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin: 0 0 8px;
}

.job-card-location {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 12px;
}

.job-card-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
    padding-left: 20px;
}

.job-card-desc li {
    margin-bottom: 6px;
}

/* 分页 */
.join-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 24px;
}

.page-link,
.page-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font-size: 13px;
    color: #374151;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.page-link:hover,
.page-num:hover {
    background: #f3f4f6;
}

.page-num.active {
    background: #b8d477;
    color: #fff;
}

.page-ellipsis {
    padding: 0 2px;
    font-size: 13px;
    color: #6b7280;
}

/* ========== 页脚（与首页一致） ========== */
.page-join .site-footer {
    background: #b8d477;
    padding: 0 0 48px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-join .site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    min-height: 80px;
    background: url('../images/footbg.png') no-repeat center top;
    background-size: 100% auto;
    z-index: 1;
}

.page-join .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 0;
    position: relative;
    z-index: 2;
}

.page-join .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 40px;
}

.page-join .footer-section {
    color: #fff;
}

.page-join .footer-left {
    flex: 0 1 auto;
    min-width: 280px;
    text-align: left;
}

.page-join .footer-brand {
    margin-bottom: 24px;
}

.page-join .footer-logo-img {
    max-height: 48px;
    width: auto;
    display: block;
    margin-bottom: 8px;
}

.page-join .footer-brand-en {
    font-size: 11px;
    color: #fff;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

.page-join .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-join .contact-block {
    margin-bottom: 20px;
}

.page-join .contact-block:last-child {
    margin-bottom: 0;
}

.page-join .contact-block-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.page-join .footer-contact .contact-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.page-join .contact-block-title {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
}

.page-join .contact-block-detail {
    font-size: 14px;
    line-height: 1.4;
    color: #fff;
    margin: 0;
    padding-left: 26px;
}

.page-join .footer-legal {
    flex: 1;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* 页脚右侧文字统一字号 - 确保所有文字完全一致 */
.page-join .footer-legal p,
.page-join .footer-legal .copyright,
.page-join .footer-legal .license {
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    color: #fff !important;
    margin: 2px 0 !important;
}

/* 平板 */
@media (max-width: 1024px) {
    .join-container {
        flex-direction: column;
        padding: 0 20px;
    }

    .join-sidebar {
        width: 100%;
        padding-right: 0;
        padding-bottom: 24px;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
    }

    .filter-block {
        margin-bottom: 0;
        min-width: 180px;
    }

    .join-content {
        padding-left: 0;
        padding-top: 24px;
    }

    .join-hero-title {
        font-size: 24px;
    }

    .join-search-bar {
        max-width: 100%;
    }
}

/* 移动端 */
@media (max-width: 768px) {
    .join-hero {
        min-height: 70vh;
    }

    .join-hero-search {
        bottom: 24px;
        padding: 0 16px;
    }

    .join-hero-title {
        font-size: 20px;
    }

    .join-search-bar {
        height: 50px;
        border-radius: 25px;
    }

    .join-search-icon {
        width: 44px;
        background-size: 18px 18px;
    }

    .join-search-btn {
        width: 90px;
        border-radius: 0 25px 25px 0;
    }

    .join-main {
        padding: 32px 0 60px;
    }

    .join-sidebar {
        flex-direction: column;
    }

    .join-content-title {
        font-size: 18px;
    }

    .job-card {
        padding: 18px 16px;
    }

    .job-card-title {
        font-size: 15px;
    }

    .join-pagination {
        justify-content: center;
        margin-top: 24px;
    }

    .page-join .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-join .footer-legal {
        align-items: flex-start;
        text-align: left;
        max-width: 100%;
    }
}
