/* Jobs listing + detail pages */

.jobs-page {
    --jobs-red: #e4572e;
    --jobs-red-dark: #c94520;
    --jobs-navy: #1f2a44;
    --jobs-blue: #3b6ea5;
    --jobs-peach: #f7ebe3;
    --jobs-muted: #6b7280;
    --jobs-border: #e5e7eb;
    color: #1f2937;
    padding-bottom: 40px;
}

.jobs-page .container {
    max-width: 1140px;
}

.jobs-hero {
    background-size: cover;
    background-position: center;
    min-height: 320px;
    position: relative;
}

.jobs-hero-sm {
    min-height: 260px;
}

.jobs-hero-overlay {
    background: linear-gradient(180deg, rgba(20, 28, 45, 0.45), rgba(20, 28, 45, 0.62));
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 70px 0 60px;
    color: #fff;
    text-align: center;
}

.jobs-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin: 10px 0 12px;
}

.jobs-hero-sub {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.92);
    font-size: 1.05rem;
    line-height: 1.55;
}

.jobs-breadcrumb {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
}

.jobs-breadcrumb a {
    color: #fff !important;
}

.jobs-intro-wrap {
    margin-top: -28px;
    position: relative;
    z-index: 2;
    padding-bottom: 10px;
}

.jobs-intro-box {
    background: #fff;
    border: 1px solid #111;
    padding: 22px 28px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.jobs-table-section {
    padding: 48px 0 30px;
}

.jobs-section-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 28px;
}

.jobs-empty {
    text-align: center;
    color: var(--jobs-muted);
}

.jobs-table-wrap {
    overflow-x: auto;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.jobs-table th,
.jobs-table td {
    border: 1px solid var(--jobs-border);
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.jobs-table thead th {
    background: #f3f4f6;
    font-weight: 700;
}

.jobs-view-link {
    color: var(--jobs-red) !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.jobs-insight,
.jobs-experience {
    padding: 40px 0;
}

.jobs-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.jobs-split-reverse .jobs-split-copy {
    order: 1;
}

.jobs-split-reverse .jobs-split-media {
    order: 2;
}

.jobs-split-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    object-fit: cover;
    max-height: 360px;
}

.jobs-eyebrow {
    display: inline-block;
    color: var(--jobs-blue);
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.jobs-split-copy h2 {
    font-size: 1.85rem;
    font-weight: 700;
    margin: 0 0 14px;
    position: relative;
    display: inline-block;
}

.jobs-split-copy h2::after {
    content: "";
    display: block;
    width: 56px;
    height: 3px;
    background: var(--jobs-red);
    margin-top: 10px;
}

.jobs-split-copy p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0;
}

/* Detail */
.jobs-detail-section {
    padding: 40px 0 20px;
}

.jobs-detail-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 36px;
    align-items: start;
}

.jobs-detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 18px;
    line-height: 1.25;
}

.jobs-detail-summary {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 28px;
}

.jobs-detail-summary p {
    margin-bottom: 14px;
}

.jobs-block {
    margin-bottom: 28px;
}

.jobs-block h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.jobs-richlist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jobs-richlist li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    line-height: 1.55;
    color: #374151;
}

.jobs-richlist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--jobs-red);
    transform: rotate(45deg);
}

.jobs-richlist h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 8px 0 12px;
}

.jobs-email {
    color: var(--jobs-red) !important;
    font-weight: 700;
    text-decoration: underline !important;
}

.jobs-detail-side {
    background: var(--jobs-peach);
    border-radius: 10px;
    padding: 22px 20px;
}

.jobs-back-link {
    display: inline-block;
    color: var(--jobs-navy) !important;
    font-weight: 600;
    margin-bottom: 18px;
}

.jobs-meta-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.jobs-meta-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #374151;
}

.jobs-meta-list i {
    width: 18px;
    color: var(--jobs-red);
    text-align: center;
}

.jobs-apply-btn {
    display: block;
    text-align: center;
    background: var(--jobs-red);
    color: #fff !important;
    font-weight: 700;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none !important;
}

.jobs-apply-btn:hover {
    background: var(--jobs-red-dark);
    color: #fff !important;
}

@media (max-width: 991px) {
    .jobs-split,
    .jobs-split-reverse,
    .jobs-detail-grid {
        grid-template-columns: 1fr;
    }

    .jobs-split-reverse .jobs-split-copy,
    .jobs-split-reverse .jobs-split-media {
        order: initial;
    }

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

@media (max-width: 640px) {
    .jobs-table thead {
        display: none;
    }

    .jobs-table tr {
        display: block;
        border: 1px solid var(--jobs-border);
        margin-bottom: 12px;
    }

    .jobs-table td {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        border: 0;
        border-bottom: 1px solid #f1f1f1;
    }

    .jobs-table td:last-child {
        border-bottom: 0;
    }

    .jobs-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: #6b7280;
    }
}
