.job-detail-page {
    min-height: 100vh;
    padding: 72px 0;
    color: #e5e7eb;
    background:
        radial-gradient(circle at 16% 8%, rgba(225, 29, 72, .22), transparent 34%),
        radial-gradient(circle at 86% 12%, rgba(249, 115, 22, .16), transparent 30%),
        linear-gradient(135deg, #070a12 0%, #111827 52%, #09090b 100%);
}

.job-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.job-main,
.job-sidebar,
.job-detail-empty {
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: rgba(15, 23, 42, .78);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .28);
    backdrop-filter: blur(16px);
}

.job-main {
    padding: clamp(28px, 4vw, 54px);
}

.job-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 26px;
    color: #94a3b8;
    font-size: .92rem;
}

.job-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
}

.job-kicker {
    margin: 0 0 12px;
    color: #fb7185;
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.job-main h1 {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 4.2rem);
    font-weight: 950;
    line-height: 1.04;
}

.job-lead {
    max-width: 760px;
    margin: 22px 0 0;
    color: #cbd5e1;
    font-size: 1.08rem;
    line-height: 1.75;
}

.job-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 42px;
}

.job-cover {
    overflow: hidden;
    margin: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .045);
    aspect-ratio: 16 / 9;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.job-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.job-apply-btn,
.job-sidebar-apply,
.job-modal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    background: linear-gradient(135deg, #ff416c, #ff4b2b, #fb923c);
    box-shadow: 0 16px 38px rgba(255, 75, 43, .28);
}

.job-call-btn,
.job-modal-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    color: #f8fafc;
    font-weight: 850;
    text-decoration: none;
    background: rgba(255, 255, 255, .06);
}

.job-section {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .10);
}

.job-section + .job-section {
    margin-top: 30px;
}

.job-section h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 950;
}

.job-section p,
.job-prose {
    margin: 0;
    color: #d1d5db;
    line-height: 1.86;
}

.job-prose > *:first-child {
    margin-top: 0;
}

.job-prose > *:last-child {
    margin-bottom: 0;
}

.job-prose p,
.job-prose ul,
.job-prose ol {
    margin: 0 0 16px;
}

.job-prose ul,
.job-prose ol {
    padding-left: 22px;
}

.job-prose li + li {
    margin-top: 8px;
}

.job-prose h2,
.job-prose h3,
.job-prose h4 {
    margin: 24px 0 12px;
    color: #ffffff;
    font-weight: 950;
    line-height: 1.25;
}

.job-prose a {
    color: #fb7185;
    font-weight: 850;
}

.job-check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.job-check-list li {
    position: relative;
    padding-left: 28px;
    color: #e2e8f0;
    line-height: 1.65;
}

.job-check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .55em;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 6px rgba(34, 197, 94, .12);
}

.job-benefits li::before {
    background: #fbbf24;
    box-shadow: 0 0 0 6px rgba(251, 191, 36, .13);
}

.job-sidebar {
    position: sticky;
    top: 94px;
    padding: 24px;
}

.job-company-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.job-company-icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: #ffffff;
    font-weight: 950;
    background: #dc2626;
}

.job-company-card span,
.job-summary-list dt {
    display: block;
    color: #94a3b8;
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
}

.job-company-card strong {
    display: block;
    margin-top: 3px;
    color: #ffffff;
}

.job-summary-list {
    display: grid;
    gap: 14px;
    margin: 22px 0;
}

.job-summary-list div {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
}

.job-summary-list dd {
    margin: 6px 0 0;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 900;
}

.job-sidebar-apply {
    width: 100%;
}

.job-apply-modal {
    color: #e5e7eb;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: #111827;
}

.job-apply-modal .modal-header {
    border-bottom-color: rgba(255, 255, 255, .10);
}

.job-apply-modal .modal-body {
    display: grid;
    gap: 14px;
}

.job-detail-empty {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px;
    text-align: center;
}

.job-detail-empty h1 {
    color: #ffffff;
}

.job-detail-empty p {
    color: #cbd5e1;
}

.job-detail-empty a {
    color: #fb7185;
    font-weight: 900;
}

.job-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.job-empty-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 18px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ff416c, #ff4b2b, #fb923c);
}

.job-empty-actions a + a {
    background: rgba(255, 255, 255, .08);
}

@media (max-width: 920px) {
    .job-detail-page {
        padding: 34px 0;
    }

    .job-shell {
        grid-template-columns: 1fr;
    }

    .job-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 560px) {
    .job-shell {
        width: min(100% - 20px, 1180px);
    }

    .job-main,
    .job-sidebar {
        border-radius: 18px;
    }

    .job-main {
        padding: 24px 18px;
    }

    .job-actions,
    .job-apply-btn,
    .job-call-btn {
        width: 100%;
    }
}
