@charset "UTF-8";
/* =============================================================================
 * recruit.css — Xdhy 测试站 · 人才招聘
 *   列表页 /recruits.html   详情页 /recruits/{别名或ID}.html
 *
 * 数据源：
 *   横幅图 —— 广告位「联系我们banner」（@ad('contact_banner')）
 *            与「联系我们」页共用同一张图，两页横幅背景完全一致
 *   职位   —— 招聘管理 portal_recruits（列表只列「在招中」）
 *
 * 配色：站点主色 —— 藏蓝 #0A2E5C / 品牌蓝 #0E4DA4 / 强调红 #CF0000
 * 栅格：沿用 sjfc-core.css 的 .sj-wrap（1400px 居中）
 * 断点：1200 / 992 / 768
 *
 * 版块索引
 *   0. 令牌
 *   1. 横幅        .rc-hero
 *   2. 通用        .rc-btn / .rc-head / .rc-tag
 *   3. 列表页      .rc-filter / .rc-jobs / .rc-job / .rc-pager
 *   4. 空态        .rc-empty
 *   5. 页尾行动条  .rc-cta
 *   6. 详情页      .rc-layout / .rc-facts / .rc-rich / .rc-side / .rc-related
 *   7. 断点
 *
 * 注：本页**不引用** inner.css 的 .pg-* 组件 —— 那套取那拉泉遗留的绿色
 *     （--nl-primary: #2f9e6e），与全站蓝红不符；招聘页的组件全部自带 .rc-* 命名。
 * ========================================================================== */

/* =============================================================================
 * 0. 令牌
 * ========================================================================== */
.rc {
    --rc-navy: #0a2e5c;
    --rc-blue: #0e4da4;
    --rc-blue-d: #0a3c82;
    --rc-blue-l: #1e63bd;
    --rc-blue-soft: #edf3fc;
    --rc-red: #cf0000;
    --rc-ink: #1f2d3d;
    --rc-text: #4a5567;
    --rc-gray: #6b7a8d;
    --rc-mute: #97a5b8;
    --rc-line: #e3eaf2;
    --rc-bg: #f5f8fb;
    --rc-soft: #f7fafd;
    --rc-ease: cubic-bezier(.22, .61, .36, 1);
}

/* =============================================================================
 * 1. 横幅 —— 与「联系我们」页 .ct-hero 同款（同一张图 / 同一压暗层 / 同一比例）
 * ========================================================================== */
.rc-hero {
    position: relative;
    display: flex;
    align-items: center;
    aspect-ratio: 1920 / 300;
    width: 100%;
    min-height: 300px;
    background-color: #0b3f72;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}

.rc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(6, 33, 61, .90) 0%, rgba(6, 33, 61, .72) 46%, rgba(6, 33, 61, .46) 100%);
}

.rc-hero > .sj-wrap {
    position: relative;
    z-index: 2;
    width: 100%;
}

.rc-hero__inner {
    max-width: 860px;
    padding: 30px 0 26px;
}

.rc-crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1;
    color: rgba(255, 255, 255, .72);
}

.rc-crumb a {
    color: rgba(255, 255, 255, .86);
    transition: color .2s var(--rc-ease);
}

.rc-crumb a:hover {
    color: #fff;
}

.rc-crumb i {
    font-style: normal;
    opacity: .5;
}

.rc-hero__kicker {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.rc-hero__title {
    margin-top: 12px;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: 1px;
    color: #fff;
}

.rc-hero__sub {
    margin-top: 14px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
}

/* =============================================================================
 * 2. 通用
 * ========================================================================== */
.rc-head {
    margin-bottom: 26px;
}

.rc-head__badge {
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--rc-blue);
}

.rc-head__title {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--rc-navy);
}

.rc-head__sub {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--rc-gray);
}

.rc-tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 6px;
    background: var(--rc-soft);
    border: 1px solid var(--rc-line);
    font-size: 12.5px;
    line-height: 1;
    color: var(--rc-gray);
    white-space: nowrap;
}

.rc-tag--state {
    border-color: transparent;
    background: var(--rc-blue-soft);
    color: var(--rc-blue);
    font-weight: 600;
}

.rc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    transition: transform .26s var(--rc-ease), box-shadow .26s var(--rc-ease), background-color .26s var(--rc-ease), border-color .26s var(--rc-ease), color .26s var(--rc-ease);
}

.rc-btn svg {
    width: 17px;
    height: 17px;
}

.rc-btn--primary {
    background: var(--rc-blue);
    color: #fff;
    box-shadow: 0 10px 24px rgba(14, 77, 164, .24);
}

.rc-btn--primary:hover {
    transform: translateY(-2px);
    background: var(--rc-blue-d);
    box-shadow: 0 14px 30px rgba(14, 77, 164, .32);
}

.rc-btn--red {
    background: var(--rc-red);
    color: #fff;
    box-shadow: 0 10px 24px rgba(207, 0, 0, .22);
}

.rc-btn--red:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(207, 0, 0, .3);
}

.rc-btn--ghost {
    border: 1px solid var(--rc-line);
    background: #fff;
    color: var(--rc-blue);
}

.rc-btn--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--rc-blue);
    background: var(--rc-blue-soft);
}

/* 深色底（藏蓝渐变）上用的浅色主按钮 */
.rc-btn--light {
    background: #fff;
    color: var(--rc-blue);
    box-shadow: 0 10px 24px rgba(4, 20, 44, .22);
}

.rc-btn--light:hover {
    transform: translateY(-2px);
    color: var(--rc-blue-d);
    box-shadow: 0 14px 30px rgba(4, 20, 44, .3);
}

/* =============================================================================
 * 3. 列表页
 * ========================================================================== */
.rc-list {
    background: var(--rc-bg);
    padding: 58px 0 74px;
}

.rc-list__top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px 24px;
}

.rc-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.rc-filter__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid var(--rc-line);
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: var(--rc-text);
    transition: all .24s var(--rc-ease);
}

.rc-filter__item span {
    font-size: 12.5px;
    color: var(--rc-mute);
}

.rc-filter__item:hover {
    border-color: var(--rc-blue-l);
    color: var(--rc-blue);
}

.rc-filter__item.is-on {
    border-color: var(--rc-blue);
    background: var(--rc-blue);
    color: #fff;
    font-weight: 600;
}

.rc-filter__item.is-on span {
    color: rgba(255, 255, 255, .78);
}

.rc-jobs {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.rc-job {
    display: flex;
    align-items: center;
    gap: 34px;
    padding: 26px 32px;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: #fff;
    transition: transform .3s var(--rc-ease), box-shadow .3s var(--rc-ease), border-color .3s var(--rc-ease);
}

.rc-job:hover {
    transform: translateY(-3px);
    border-color: #bcd4f2;
    box-shadow: 0 16px 38px rgba(10, 46, 92, .1);
}

.rc-job__main {
    flex: 1;
    min-width: 0;
}

.rc-job__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.rc-job__t {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--rc-navy);
}

.rc-job__t a {
    transition: color .2s var(--rc-ease);
}

.rc-job__t a:hover {
    color: var(--rc-blue);
}

.rc-job__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 13px;
}

.rc-job__brief {
    display: -webkit-box;
    margin-top: 13px;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.85;
    color: var(--rc-gray);
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.rc-job__hl {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--rc-blue);
}

.rc-job__aside {
    flex: none;
    width: 178px;
    padding-left: 32px;
    border-left: 1px solid var(--rc-line);
    text-align: right;
}

.rc-job__salary {
    display: block;
    margin-bottom: 14px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .3px;
    color: var(--rc-red);
}

.rc-job__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--rc-line);
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--rc-blue);
    transition: all .24s var(--rc-ease);
}

.rc-job__more svg {
    width: 15px;
    height: 15px;
}

.rc-job__more:hover {
    border-color: var(--rc-blue);
    background: var(--rc-blue-soft);
}

/* 分页 */
.rc-pager {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.rc-pager ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rc-pager a,
.rc-pager span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--rc-line);
    border-radius: 9px;
    background: #fff;
    font-size: 14px;
    color: var(--rc-text);
    transition: all .22s var(--rc-ease);
}

.rc-pager a:hover {
    border-color: var(--rc-blue-l);
    color: var(--rc-blue);
}

.rc-pager li.is-current span,
.rc-pager li.is-current a {
    border-color: var(--rc-blue);
    background: var(--rc-blue);
    color: #fff;
    font-weight: 600;
}

.rc-pager span.is-disabled {
    color: var(--rc-mute);
    background: var(--rc-soft);
    cursor: default;
}

/* =============================================================================
 * 4. 空态
 * ========================================================================== */
.rc-empty {
    padding: 64px 32px 60px;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(10, 46, 92, .05);
}

.rc-empty__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--rc-blue-soft);
    color: var(--rc-blue);
}

.rc-empty__ico svg {
    width: 34px;
    height: 34px;
}

.rc-empty b {
    display: block;
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--rc-navy);
}

.rc-empty p {
    max-width: 540px;
    margin: 0 auto 26px;
    font-size: 14.5px;
    line-height: 1.9;
    color: var(--rc-gray);
}

.rc-empty__acts {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* =============================================================================
 * 5. 页尾行动条
 * ========================================================================== */
.rc-cta {
    background: var(--rc-bg);
    padding: 0 0 76px;
}

.rc-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 22px 30px;
    padding: 34px 40px;
    border-radius: 16px;
    background: linear-gradient(120deg, var(--rc-navy) 0%, var(--rc-blue) 100%);
    box-shadow: 0 18px 44px rgba(10, 46, 92, .18);
}

.rc-cta__txt b {
    display: block;
    font-size: 21px;
    font-weight: 700;
    color: #fff;
}

.rc-cta__txt span {
    display: block;
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .78);
}

.rc-cta__acts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.rc-cta__acts .rc-btn--ghost {
    border-color: rgba(255, 255, 255, .42);
    background: transparent;
    color: #fff;
}

.rc-cta__acts .rc-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .14);
}

/* =============================================================================
 * 6. 详情页
 * ========================================================================== */
.rc-detail {
    background: var(--rc-bg);
    padding: 54px 0 76px;
}

.rc-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.rc-layout__main {
    flex: 1;
    min-width: 0;
}

.rc-layout__side {
    width: 336px;
    flex: none;
}

/* 岗位信息速览：每项一张小卡，排成网格；数量不足时不会留下断线 */
.rc-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.rc-facts__item {
    padding: 18px 20px;
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    background: #fff;
}

.rc-facts__label {
    display: block;
    font-size: 12.5px;
    line-height: 1.6;
    color: var(--rc-mute);
}

.rc-facts__val {
    display: block;
    margin-top: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.5;
    color: var(--rc-navy);
    word-break: break-all;
}

.rc-facts__val--salary {
    color: var(--rc-red);
}

.rc-alert {
    margin-top: 20px;
    padding: 18px 22px;
    border-radius: 12px;
    border-left: 3px solid var(--rc-red);
    background: #fef4f4;
}

.rc-alert b {
    display: block;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 700;
    color: #a00;
}

.rc-alert span {
    font-size: 13.5px;
    line-height: 1.8;
    color: #8a5a5a;
}

.rc-panel {
    margin-top: 22px;
    padding: 32px 34px;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: #fff;
}

.rc-h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--rc-navy);
}

.rc-h2::before {
    content: "";
    flex: none;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: var(--rc-blue);
}

.rc-h2 + .rc-rich {
    margin-top: 0;
}

.rc-panel .rc-h2 ~ .rc-h2 {
    margin-top: 30px;
}

.rc-rich {
    font-size: 15px;
    line-height: 1.95;
    color: var(--rc-text);
    word-break: break-word;
}

.rc-rich p {
    margin: 0 0 12px;
}

.rc-rich p:last-child {
    margin-bottom: 0;
}

.rc-rich h2,
.rc-rich h3 {
    margin: 20px 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--rc-navy);
}

.rc-rich ul,
.rc-rich ol {
    margin: 0 0 12px;
    padding-left: 20px;
}

.rc-rich li {
    margin-bottom: 6px;
}

.rc-rich img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.rc-panel__hl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

/* 侧栏 */
.rc-side {
    padding: 26px 26px 28px;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    background: #fff;
}

.rc-side + .rc-side {
    margin-top: 20px;
}

.rc-side__t {
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--rc-line);
    font-size: 16px;
    font-weight: 700;
    color: var(--rc-navy);
}

.rc-side__phone {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 14px;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .3px;
    color: var(--rc-blue);
    transition: color .22s var(--rc-ease);
}

.rc-side__phone svg {
    flex: none;
    width: 20px;
    height: 20px;
}

.rc-side__phone:hover {
    color: var(--rc-blue-d);
}

.rc-side__row {
    display: flex;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.85;
    color: var(--rc-text);
}

.rc-side__row + .rc-side__row {
    margin-top: 9px;
}

.rc-side__row i {
    flex: none;
    width: 44px;
    font-style: normal;
    color: var(--rc-mute);
}

.rc-side__row span {
    flex: 1;
    min-width: 0;
    word-break: break-all;
}

.rc-side__row a {
    color: var(--rc-blue);
}

.rc-side__row a:hover {
    text-decoration: underline;
}

.rc-side__tip {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 9px;
    background: var(--rc-soft);
    font-size: 12.5px;
    line-height: 1.8;
    color: var(--rc-gray);
}

.rc-side--cta {
    border-color: transparent;
    background: linear-gradient(130deg, var(--rc-navy) 0%, var(--rc-blue) 100%);
}

.rc-side--cta b {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.rc-side--cta p {
    margin: 9px 0 18px;
    font-size: 13.5px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .76);
}

.rc-side--cta .rc-btn {
    width: 100%;
}

.rc-side--cta .rc-btn + .rc-btn {
    margin-top: 10px;
}

.rc-side--cta .rc-btn--ghost {
    border-color: rgba(255, 255, 255, .42);
    background: transparent;
    color: #fff;
}

.rc-side--cta .rc-btn--ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .14);
}

/* 其它在招岗位 */
.rc-related {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.rc-related__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--rc-line);
    border-radius: 11px;
    background: #fff;
    transition: all .26s var(--rc-ease);
}

.rc-related__item:hover {
    transform: translateY(-2px);
    border-color: #bcd4f2;
    box-shadow: 0 12px 26px rgba(10, 46, 92, .08);
}

.rc-related__item b {
    min-width: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--rc-navy);
}

.rc-related__item span {
    flex: none;
    font-size: 13px;
    color: var(--rc-red);
}

.rc-back {
    display: flex;
    margin-top: 26px;
}

/* =============================================================================
 * 7. 断点
 * ========================================================================== */
@media (max-width: 1200px) {
    .rc-hero__title {
        font-size: 34px;
    }

    .rc-layout__side {
        width: 300px;
    }

    .rc-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .rc-hero {
        min-height: 250px;
    }

    .rc-hero__title {
        font-size: 30px;
    }

    .rc-job {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px 24px 22px;
    }

    .rc-job__aside {
        width: 100%;
        padding: 18px 0 0;
        border-left: 0;
        border-top: 1px dashed var(--rc-line);
        text-align: left;
    }

    .rc-job__salary {
        margin-bottom: 12px;
    }

    .rc-layout {
        flex-direction: column;
        gap: 24px;
    }

    .rc-layout__side {
        width: 100%;
    }

    .rc-panel {
        padding: 26px 24px;
    }
}

@media (max-width: 768px) {
    .rc-hero {
        min-height: 200px;
    }

    .rc-hero__title {
        font-size: 25px;
    }

    .rc-hero__sub {
        margin-top: 10px;
        font-size: 14px;
        font-weight: 400;
    }

    .rc-list,
    .rc-detail {
        padding: 34px 0 48px;
    }

    .rc-head__title {
        font-size: 23px;
    }

    .rc-job {
        padding: 22px 20px 18px;
    }

    .rc-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .rc-facts__item {
        padding: 14px 16px;
    }

    .rc-related {
        grid-template-columns: minmax(0, 1fr);
    }

    .rc-cta {
        padding-bottom: 48px;
    }

    .rc-cta__box {
        padding: 26px 22px;
    }

    .rc-cta__acts {
        width: 100%;
    }

    .rc-cta__acts .rc-btn {
        flex: 1;
        min-width: 0;
    }

    .rc-empty {
        padding: 46px 20px 42px;
    }
}
/* =============================================================================
 * 移动端横幅（2026-09-21）：图片按原始比例整幅显示
 * 与「联系我们」页 .ct-hero 同款：横幅原图 1920×300，
 * 窄屏高度严格按宽度等比（390 宽 → 约 61px），图片不裁切不放大；
 * 文案绝对定位压在图上、垂直居中，放不下的部分由 overflow 裁掉。
 * 桌面端不受影响（只作用于 ≤768px）。
 * ========================================================================== */
@media (max-width: 768px) {
    .rc-hero {
        aspect-ratio: 1920 / 300;
        min-height: 0;
        padding: 0;
        overflow: hidden;
    }

    .rc-hero > .sj-wrap {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0 16px;
    }

    .rc-hero__inner {
        min-height: 0;
        padding: 0;
    }

    /* 横幅只有约 61px 高：只留「面包屑 + 标题」 */
    .rc-hero__kicker,
    .rc-hero__sub {
        display: none;
    }

    .rc-hero .rc-hero__title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 20px;
        line-height: 1.3;
    }

    .rc-hero .rc-crumb {
        margin-bottom: 6px;
    }
}
