:root {
    --jobs-ink: #163730;
    --jobs-muted: rgba(22, 55, 48, 0.72);
    --jobs-border: rgba(22, 55, 48, 0.14);
    --jobs-border-strong: rgba(22, 55, 48, 0.28);
}

.subpage-hero,
.job-detail-hero {
    padding: calc(var(--header-height) + 56px) 0 56px;
    border-bottom: 1px solid var(--jobs-border);
    background:
        linear-gradient(180deg, rgba(245, 238, 229, 0.78) 0%, rgba(255, 255, 255, 0.86) 62%, rgba(255, 255, 255, 1) 100%);
}

.breadcrumb {
    margin-bottom: 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--jobs-muted);
}

.breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.subpage-hero h1,
.job-detail-hero h1 {
    max-width: 12ch;
    font-size: clamp(42px, 7vw, 78px);
    line-height: 1.04;
    letter-spacing: -0.05em;
    color: var(--jobs-ink);
    margin-bottom: 18px;
}

.subpage-hero p,
.job-detail-hero p,
.job-section p,
.job-section li,
.job-apply-panel p {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.75;
    color: rgba(40, 40, 40, 0.82);
}

.subpage-shell,
.job-detail-shell {
    padding: 56px 0 96px;
}

.jobs-intro,
.job-detail-layout,
.job-apply-panel {
    max-width: 920px;
}

.jobs-intro {
    margin-bottom: 40px;
}

.jobs-intro h2,
.job-section h2,
.job-apply-panel h2 {
    font-size: clamp(30px, 4vw, 46px);
    color: var(--jobs-ink);
    margin-bottom: 16px;
}

.role-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.role-card,
.job-section,
.job-apply-panel {
    padding-top: 22px;
    border-top: 1px solid var(--jobs-border);
}

.role-eyebrow,
.job-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--jobs-muted);
}

.role-card h3,
.job-section h3 {
    font-size: 28px;
    color: var(--jobs-ink);
    margin-bottom: 12px;
}

.role-card p + p,
.job-section p + p {
    margin-top: 14px;
}

.role-meta,
.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 16px 0 18px;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--jobs-muted);
}

.role-meta span,
.job-meta span {
    position: relative;
    padding-left: 16px;
}

.role-meta span::before,
.job-meta span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--jobs-ink);
    transform: translateY(-50%);
}

.role-list,
.job-section ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 18px 0 24px;
}

.role-list li,
.job-section li {
    position: relative;
    padding-left: 22px;
}

.role-list li::before,
.job-section li::before {
    content: "—";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--jobs-ink);
    font-weight: 700;
}

.role-actions,
.job-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.role-actions .btn,
.job-detail-actions .btn,
.job-apply-panel .btn {
    border-radius: 0;
    padding: 14px 22px;
}

.job-section {
    margin-bottom: 34px;
}

.job-apply-panel {
    margin-top: 40px;
}

.job-apply-panel ol {
    margin: 18px 0 24px 22px;
    color: rgba(40, 40, 40, 0.82);
}

.job-apply-panel li + li {
    margin-top: 10px;
}

.job-note {
    font-family: var(--font-heading);
    color: var(--jobs-muted);
}

@media (max-width: 1023px) {
    .role-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .subpage-hero,
    .job-detail-hero {
        padding: calc(var(--header-height) + 32px) 0 44px;
    }

    .subpage-shell,
    .job-detail-shell {
        padding: 48px 0 72px;
    }

    .subpage-hero p,
    .job-detail-hero p,
    .job-section p,
    .job-section li,
    .job-apply-panel p {
        font-size: 16px;
    }

    .role-card h3,
    .job-section h3 {
        font-size: 24px;
    }
}
