/* Jobs listing — matches Life / Hire light layout */
.jq-page {
    background: #ffffff;
    color: #1B1D21;
    overflow-x: clip;
}

.jq-shell {
    max-width: var(--max, 1180px);
    margin: 0 auto;
    padding: 0 1.35rem;
}

.jq-kicker {
    margin: 0 0 0.55rem;
    color: #E34133;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jq-lead {
    margin: 0.65rem 0 0;
    max-width: 42ch;
    color: #4A5565;
    font-size: 1.05rem;
    line-height: 1.55;
}

.jq-hero {
    padding: 3rem 0 2rem;
    background: linear-gradient(180deg, #F8FAFC 0%, #ffffff 100%);
    border-bottom: 1px solid #ECEEF1;
}

.jq-hero__row {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.jq-hero h1 {
    margin: 0;
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #1B1D21;
}

.jq-hero__count {
    margin: 0;
    color: #4A5565;
    font-weight: 650;
}

.jq-hero__count strong {
    color: #1B1D21;
    font-size: 1.35rem;
    font-weight: 800;
}

.jq-filters {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, minmax(0, 0.85fr)) auto;
    gap: 0.55rem;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 18px;
}

.jq-filters input,
.jq-filters select {
    width: 100%;
    min-height: 46px;
    border: 1px solid #ECEEF1;
    border-radius: 12px;
    padding: 0.55rem 0.8rem;
    font: inherit;
    background: #F8FAFC;
    color: #1B1D21;
}

.jq-filters input:focus,
.jq-filters select:focus {
    outline: none;
    border-color: rgba(227, 65, 51, 0.55);
    box-shadow: 0 0 0 4px rgba(227, 65, 51, 0.12);
    background: #ffffff;
}

.jq-list {
    padding: 2rem 0 4rem;
    background: #ffffff;
}

.jq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 1.35rem;
}

.jq-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #ECEEF1;
    background: #F8FAFC;
    text-decoration: none;
    font-weight: 750;
    font-size: 0.88rem;
    color: #4A5565;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.jq-tabs a.is-active,
.jq-tabs a:hover {
    background: #E34133;
    border-color: #E34133;
    color: #fff;
}

.jq-tabs__reset {
    margin-left: auto;
    border: 0 !important;
    background: transparent !important;
    color: #E34133 !important;
}

.jq-tabs__reset:hover {
    background: rgba(227, 65, 51, 0.08) !important;
    color: #C52F24 !important;
}

.jq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.jq-card {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.4rem 1.3rem 1.25rem;
    background: #F8FAFC;
    border: 1px solid #ECEEF1;
    border-radius: 18px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.jq-card:hover,
.jq-card.is-featured {
    background: #ffffff;
    border-color: rgba(227, 65, 51, 0.3);
    box-shadow: 0 14px 32px rgba(27, 29, 33, 0.07);
}

.jq-card:hover {
    transform: translateY(-3px);
}

.jq-card__badge {
    display: inline-flex;
    width: fit-content;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(227, 65, 51, 0.14);
    color: #E34133;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.jq-card h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.jq-card h2 a {
    color: #1B1D21;
    text-decoration: none;
}

.jq-card h2 a:hover {
    color: #E34133;
}

.jq-card__sum {
    margin: 0;
    color: #4A5565;
    line-height: 1.55;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.jq-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jq-card__facts span {
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    color: #4A5565;
    font-size: 0.8rem;
    font-weight: 700;
}

.jq-card__actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.35rem;
}

.jq-card__link {
    color: #E34133;
    font-weight: 800;
    text-decoration: none;
    font-size: 0.92rem;
}

.jq-card__link:hover {
    text-decoration: underline;
}

.jq-empty {
    padding: 2.5rem 1.5rem;
    text-align: center;
    background: #F8FAFC;
    border: 1px dashed #ECEEF1;
    border-radius: 18px;
}

.jq-empty h2 {
    margin: 0 0 0.45rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.jq-empty p:not(.jq-kicker) {
    margin: 0 0 1.15rem;
    color: #4A5565;
}

.jq-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: center;
    margin-top: 1.75rem;
}

.jq-pages a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid #ECEEF1;
    background: #ffffff;
    text-decoration: none;
    font-weight: 750;
    color: #1B1D21;
}

.jq-pages a:hover,
.jq-pages a.is-active {
    background: #E34133;
    border-color: #E34133;
    color: #fff;
}

body.page-jobs .site-footer--sn { margin-top: 0; }

@media (max-width: 1100px) {
    .jq-filters {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 800px) {
    .jq-grid {
        grid-template-columns: 1fr;
    }

    .jq-filters {
        grid-template-columns: 1fr;
    }

    .jq-hero__row {
        align-items: start;
        flex-direction: column;
    }

    .jq-shell { padding: 0 1rem; }
    .jq-hero { padding-top: 2.25rem; }
}

/* -- Job detail page (jd-*) — theme matched -- */
.jd-page {
    background: #FAFBFC;
    color: #1B1D21;
    overflow-x: clip;
}

.jd-shell {
    max-width: var(--max, 1180px);
    margin: 0 auto;
    padding: 0 1.35rem;
}

.jd-kicker {
    margin: 0 0 0.55rem;
    color: #E34133;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.jd-empty {
    padding: 4rem 1.35rem;
    text-align: center;
}

.jd-empty h1 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
}

.jd-empty p {
    margin: 0 0 1.25rem;
    color: #4A5565;
}

.jd-hero {
    padding: 2.5rem 0 2.75rem;
    background: #ffffff;
    border-bottom: 1px solid #ECEEF1;
}

.jd-back {
    display: inline-flex;
    margin-bottom: 1.25rem;
    color: #4A5565;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.jd-back:hover { color: #E34133; }

.jd-hero h1 {
    margin: 0 0 1rem;
    max-width: 18ch;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.jd-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.35rem;
}

.jd-meta span {
    display: inline-flex;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: #FAFBFC;
    border: 1px solid #ECEEF1;
    color: #4A5565;
    font-size: 0.8rem;
    font-weight: 700;
}

.jd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.jd-layout {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 1.25rem;
    padding: 2rem 1.35rem 2.5rem;
}

.jd-main {
    display: grid;
    gap: 1rem;
}

.jd-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.jd-facts div {
    padding: 1rem 1.05rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 14px;
}

.jd-facts strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #6B7280;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.jd-facts span {
    color: #1B1D21;
    font-weight: 700;
    font-size: 0.95rem;
}

.jd-skills {
    padding: 1.15rem 1.2rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 16px;
}

.jd-skills > strong {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

.jd-skills > div {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.jd-skills span {
    display: inline-flex;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    background: rgba(227, 65, 51, 0.14);
    color: #E34133;
    font-size: 0.75rem;
    font-weight: 800;
}

.jd-body {
    padding: 1.5rem 1.4rem 1.6rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 18px;
}

.jd-body section + section {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ECEEF1;
}

.jd-body h2 {
    margin: 0 0 0.75rem;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.jd-body p,
.jd-body li {
    color: #4A5565;
    line-height: 1.65;
}

.jd-body ul,
.jd-body ol {
    margin: 0;
    padding-left: 1.15rem;
}

.jd-body li + li { margin-top: 0.35rem; }

/* Job description content inside jd-body */
.jd-body .job-desc .jd-kicker {
    margin-bottom: 0.4rem;
}

.jd-body .job-desc h2 {
    margin-bottom: 0.85rem;
}

.jd-body .job-desc__content {
    display: grid;
    gap: 0.6rem;
}

.jd-body .job-desc__normal {
    margin: 0;
    font-family: var(--font-lede, "Inter", system-ui, sans-serif);
    font-size: 1.02rem;
    line-height: 1.75;
    color: #4A5565;
    font-weight: 400;
}

.jd-body .job-desc__bold {
    margin: 0;
    padding: 0.1rem 0 0.1rem 0.85rem;
    border-left: 3px solid #E34133;
    font-family: var(--font-nav, "Plus Jakarta Sans", system-ui, sans-serif);
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.5;
    color: #1B1D21;
}

.jd-body .job-desc__normal + .job-desc__bold {
    margin-top: 0.25rem;
}

.jd-side {
    align-self: start;
}

.jd-form input[type="file"] {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
    background: #fff;
}

.jd-side__card .btn--primary {
    width: 100%;
    min-height: 48px;
}

.jd-form .btn--primary {
    width: 100%;
    min-height: 48px;
}

.jd-side__card {
    position: sticky;
    top: 6.5rem;
    padding: 1.5rem 1.35rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 18px;
}

.jd-side__card h2 {
    margin: 0 0 0.45rem;
    font-size: 1.35rem;
    font-weight: 800;
}

.jd-side__card > p:not(.jd-kicker) {
    margin: 0 0 1.15rem;
    color: #4A5565;
    line-height: 1.5;
    font-size: 0.95rem;
}

.jd-apply {
    padding: 3.5rem 0 4rem;
    background: #ffffff;
    border-top: 1px solid #ECEEF1;
}

.jd-apply__head {
    max-width: 40rem;
    margin-bottom: 1.75rem;
}

.jd-apply__head h2 {
    margin: 0;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.jd-apply__head p:not(.jd-kicker) {
    margin: 0.65rem 0 0;
    color: #4A5565;
}

.jd-alert {
    margin-bottom: 1.15rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
}

.jd-alert--ok {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #166534;
}

.jd-alert--err {
    background: rgba(227, 65, 51, 0.1);
    border: 1px solid rgba(227, 65, 51, 0.3);
    color: #C52F24;
}

.jd-form {
    padding: 1.5rem;
    background: #FAFBFC;
    border: 1px solid #ECEEF1;
    border-radius: 18px;
}

.jd-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.jd-form__full { grid-column: 1 / -1; }

.jd-form label {
    display: grid;
    gap: 0.35rem;
}

.jd-form label > span:first-child {
    font-size: 0.82rem;
    font-weight: 750;
    color: #1B1D21;
}

.jd-form input,
.jd-form textarea {
    width: 100%;
    border: 1px solid #ECEEF1;
    border-radius: 12px;
    padding: 0.7rem 0.85rem;
    font: inherit;
    background: #ffffff;
    color: #1B1D21;
}

.jd-form input:focus,
.jd-form textarea:focus {
    outline: none;
    border-color: rgba(227, 65, 51, 0.55);
    box-shadow: 0 0 0 4px rgba(227, 65, 51, 0.12);
}

.jd-form textarea {
    min-height: 110px;
    resize: vertical;
}

.jd-file {
    display: block;
    margin-top: 0.35rem;
    color: #6B7280;
    font-size: 0.85rem;
    font-weight: 650;
}

.jd-related {
    padding: 3.5rem 0 4rem;
    background: #FAFBFC;
    border-top: 1px solid #ECEEF1;
}

.jd-related__head {
    margin-bottom: 1.35rem;
}

.jd-related__head h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.8vw, 2.1rem);
    font-weight: 800;
}

.jd-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.jd-related__card {
    display: block;
    padding: 1.25rem 1.2rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.jd-related__card:hover {
    border-color: rgba(227, 65, 51, 0.3);
    box-shadow: 0 12px 28px rgba(27, 29, 33, 0.07);
    transform: translateY(-2px);
}

.jd-related__card span {
    display: inline-flex;
    margin-bottom: 0.55rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(227, 65, 51, 0.14);
    color: #E34133;
    font-size: 0.72rem;
    font-weight: 800;
}

.jd-related__card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
}

.jd-related__card p {
    margin: 0;
    color: #4A5565;
    font-size: 0.9rem;
}

body.page-job-detail .jd-sticky,
body.page-job-detail .sticky-apply {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    background: #ffffff;
    border: 1px solid #ECEEF1;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(27, 29, 33, 0.14);
}

body.page-job-detail .jd-sticky.is-visible,
body.page-job-detail .sticky-apply.is-visible {
    display: flex;
}

.jd-sticky strong,
.sticky-apply strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 800;
}

.jd-sticky span,
.sticky-apply span {
    color: #6B7280;
    font-size: 0.82rem;
    font-weight: 650;
}

body.page-job-detail .site-footer--sn { margin-top: 0; }

@media (max-width: 960px) {
    .jd-layout,
    .jd-facts,
    .jd-form__grid,
    .jd-related__grid {
        grid-template-columns: 1fr;
    }

    .jd-side__card { position: static; }
    .jd-hero h1 { max-width: none; }
}

@media (max-width: 720px) {
    .jd-shell { padding-left: 1rem; padding-right: 1rem; }
    .jd-layout { padding-left: 1rem; padding-right: 1rem; }
    .jd-facts { grid-template-columns: 1fr 1fr; }
}

/* â”€â”€ Force light theme on job detail â”€â”€ */
body.page-job-detail.jd-light,
body.page-job-detail.jd-light .jd-page {
    background: #FAFBFC !important;
    color: #1B1D21 !important;
}

body.page-job-detail.jd-light .jd-hero,
body.page-job-detail.jd-light .jd-apply,
body.page-job-detail.jd-light .jd-body,
body.page-job-detail.jd-light .jd-skills,
body.page-job-detail.jd-light .jd-facts div,
body.page-job-detail.jd-light .jd-side__card,
body.page-job-detail.jd-light .jd-related__card,
body.page-job-detail.jd-light .jd-form input,
body.page-job-detail.jd-light .jd-form textarea {
    background: #ffffff !important;
    color: #1B1D21;
}

body.page-job-detail.jd-light .jd-related,
body.page-job-detail.jd-light .jd-form,
body.page-job-detail.jd-light .jd-meta span {
    background: #FAFBFC !important;
}

body.page-job-detail.jd-light .jd-hero,
body.page-job-detail.jd-light .jd-apply,
body.page-job-detail.jd-light .jd-related,
body.page-job-detail.jd-light .jd-body,
body.page-job-detail.jd-light .jd-skills,
body.page-job-detail.jd-light .jd-facts div,
body.page-job-detail.jd-light .jd-side__card,
body.page-job-detail.jd-light .jd-related__card,
body.page-job-detail.jd-light .jd-form,
body.page-job-detail.jd-light .jd-form input,
body.page-job-detail.jd-light .jd-form textarea,
body.page-job-detail.jd-light .jd-meta span {
    border-color: #ECEEF1 !important;
}

body.page-job-detail.jd-light h1,
body.page-job-detail.jd-light h2,
body.page-job-detail.jd-light h3,
body.page-job-detail.jd-light .jd-facts span,
body.page-job-detail.jd-light .jd-form label > span:first-child {
    color: #1B1D21 !important;
}

body.page-job-detail.jd-light p,
body.page-job-detail.jd-light li,
body.page-job-detail.jd-light .jd-back,
body.page-job-detail.jd-light .jd-meta span,
body.page-job-detail.jd-light .jd-body p,
body.page-job-detail.jd-light .jd-body li,
body.page-job-detail.jd-light .jd-side__card > p:not(.jd-kicker),
body.page-job-detail.jd-light .jd-related__card p,
body.page-job-detail.jd-light .jd-file {
    color: #4A5565 !important;
}

body.page-job-detail.jd-light .jd-kicker,
body.page-job-detail.jd-light .jd-skills span,
body.page-job-detail.jd-light .jd-related__card span {
    color: #E34133 !important;
}

body.page-job-detail.jd-light .jd-skills span,
body.page-job-detail.jd-light .jd-related__card span {
    background: rgba(227, 65, 51, 0.14) !important;
}

body.page-job-detail.jd-light .sticky-apply,
body.page-job-detail.jd-light .jd-sticky {
    background: #ffffff !important;
    border: 1px solid #ECEEF1 !important;
    color: #1B1D21 !important;
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    border-radius: 16px !important;
}

body.page-job-detail.jd-light .btn--ghost {
    background: #ffffff;
    border-color: #ECEEF1;
    color: #1B1D21;
}

body.page-job-detail.jd-light .btn--ghost:hover {
    background: #FAFBFC;
    color: #E34133;
    border-color: rgba(227, 65, 51, 0.35);
}
