.jobs-page {
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.1), transparent 26%),
        #f6f9fc;
}

.jobs-hero {
    padding: 5rem 0 2rem;
}

.jobs-hero-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
    align-items: stretch;
}

.jobs-hero-copy,
.jobs-hero-note,
.jobs-toolbar-inner,
.jobs-status-grid,
.job-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 2.4rem;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.07);
    backdrop-filter: blur(12px);
}

.jobs-hero-copy {
    padding: 3rem;
}

.jobs-kicker,
.jobs-section-kicker,
.jobs-filter-label,
.jobs-source-label,
.job-chip.company {
    margin: 0;
    color: #5b6b79;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.jobs-hero-copy h1 {
    margin: 1.2rem 0 0;
    color: #0f172a;
    font-size: clamp(4.2rem, 6vw, 6.8rem);
    line-height: 0.98;
}

.jobs-subtitle {
    max-width: 64rem;
    margin: 1.8rem 0 0;
    color: #506070;
    font-size: 1.9rem;
    line-height: 1.65;
}

.jobs-hero-metrics {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.6rem;
}

.jobs-metric {
    padding: 1.6rem;
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(14, 165, 233, 0.08), rgba(255, 255, 255, 0.62));
}

.jobs-metric strong,
.jobs-metric span {
    display: block;
}

.jobs-metric strong {
    margin-bottom: 0.4rem;
    color: #0f172a;
    font-size: 2.4rem;
}

.jobs-metric span {
    color: #506070;
    font-size: 1.35rem;
    line-height: 1.55;
}

.jobs-hero-note {
    padding: 2.6rem;
    background: linear-gradient(180deg, #0f172a, #12324a);
    color: rgba(255, 255, 255, 0.88);
}

.jobs-hero-note-label {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.jobs-hero-note ul {
    margin: 0;
    padding-left: 1.8rem;
    font-size: 1.5rem;
    line-height: 1.75;
}

.jobs-hero-note li + li {
    margin-top: 0.8rem;
}

.jobs-hero-note-foot {
    margin: 1.6rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.4rem;
    line-height: 1.65;
}

.jobs-toolbar {
    padding: 0 0 1.4rem;
}

.jobs-toolbar-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-end;
    justify-content: space-between;
    padding: 2rem;
}

.jobs-filter-group {
    display: grid;
    gap: 1rem;
}

.jobs-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.jobs-chip {
    min-height: 4rem;
    padding: 0 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.jobs-chip:hover {
    transform: translateY(-1px);
}

.jobs-chip.active {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.18);
}

.jobs-search {
    display: grid;
    gap: 0.8rem;
    min-width: min(42rem, 100%);
    color: #506070;
    font-size: 1.3rem;
    font-weight: 700;
}

.jobs-search input {
    width: min(42rem, 100%);
    min-height: 4.8rem;
    padding: 0 1.4rem;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 1.4rem;
    background: #fff;
    color: #0f172a;
    font-size: 1.5rem;
}

.jobs-status {
    padding: 0 0 1.4rem;
}

.jobs-status-grid {
    display: grid;
    gap: 1.2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1.8rem;
}

.jobs-source-status-card {
    padding: 1.4rem 1.6rem;
    border-radius: 1.8rem;
    background: rgba(15, 23, 42, 0.04);
}

.jobs-source-status-card.good {
    background: rgba(34, 197, 94, 0.1);
}

.jobs-source-status-card.fallback {
    background: rgba(245, 158, 11, 0.12);
}

.jobs-source-status-card.error {
    background: rgba(239, 68, 68, 0.12);
}

.jobs-source-label {
    margin-bottom: 0.8rem;
}

.jobs-source-status-card strong,
.jobs-source-status-card span {
    display: block;
}

.jobs-source-status-card strong {
    color: #0f172a;
    font-size: 1.55rem;
}

.jobs-source-status-card span {
    margin-top: 0.4rem;
    color: #506070;
    font-size: 1.35rem;
    line-height: 1.55;
}

.jobs-results {
    padding: 0 0 5rem;
}

.jobs-results-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.8rem;
}

.jobs-results-head h2 {
    margin: 0.8rem 0 0;
    color: #0f172a;
    font-size: 3.8rem;
    line-height: 1.05;
}

.jobs-results-copy {
    max-width: 44rem;
    margin: 0;
    color: #506070;
    font-size: 1.55rem;
    line-height: 1.65;
}

.jobs-grid {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.job-card {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    padding: 2rem;
}

.job-card-head {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: flex-start;
    justify-content: space-between;
}

.job-card-title {
    margin: 0.6rem 0 0;
    color: #0f172a;
    font-size: 2.3rem;
    line-height: 1.2;
}

.job-card-source {
    display: inline-flex;
    align-items: center;
    min-height: 3.4rem;
    padding: 0 1.2rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #506070;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.job-card-copy {
    margin: 0;
    color: #51606b;
    font-size: 1.45rem;
    line-height: 1.7;
}

.job-meta-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.job-meta-item {
    padding: 1.1rem 1.2rem;
    border-radius: 1.4rem;
    background: rgba(15, 23, 42, 0.04);
}

.job-meta-item strong,
.job-meta-item span {
    display: block;
}

.job-meta-item strong {
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.job-meta-item span {
    color: #51606b;
    font-size: 1.4rem;
    line-height: 1.5;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.job-chip {
    display: inline-flex;
    align-items: center;
    min-height: 3.2rem;
    padding: 0 1rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.08);
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
}

.job-chip.company {
    background: rgba(34, 197, 94, 0.1);
}

.job-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: auto;
}

.job-card-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 4.4rem;
    padding: 0 1.4rem;
    border-radius: 999px;
    font-size: 1.35rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.job-card-actions a:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.job-card-actions .primary {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #fff;
    box-shadow: 0 14px 24px rgba(14, 165, 233, 0.18);
}

.job-card-actions .secondary {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
}

.job-card-empty {
    padding: 3rem;
    border-radius: 2.4rem;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: #51606b;
    font-size: 1.6rem;
    line-height: 1.7;
    text-align: center;
}

.job-card.skeleton {
    overflow: hidden;
}

.job-skeleton-line,
.job-skeleton-tags span {
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.14), rgba(15, 23, 42, 0.08));
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite linear;
}

.job-skeleton-line {
    height: 14px;
}

.job-skeleton-line.short {
    width: 34%;
}

.job-skeleton-line.medium {
    width: 72%;
}

.job-skeleton-line.long {
    width: 92%;
}

.job-skeleton-tags {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.job-skeleton-tags span {
    width: 84px;
    height: 32px;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (max-width: 1080px) {
    .jobs-hero-inner,
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .jobs-status-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .jobs-hero-metrics,
    .job-meta-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .jobs-hero-copy,
    .jobs-hero-note,
    .jobs-toolbar-inner,
    .jobs-status-grid,
    .job-card {
        padding: 1.8rem;
        border-radius: 1.8rem;
    }

    .jobs-hero-copy h1 {
        font-size: 4.2rem;
    }
}
