/* =========================================================
   Careers Job Post Page
   ========================================================= */

.job-post-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--section-padding);
}

.job-post-section .job-post-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
}

@media (min-width: 992px) {
    .job-post-section .job-post-layout {
        grid-template-columns: 1fr 360px;
        align-items: start;
    }
}

/* ---------- Left Content ---------- */

.job-post-section .job-post-content {
    gap: var(--space-xxm);
}

.job-post-section .job-post-content .h1,
.job-post-section .job-post-content h1 {
    margin-bottom: var(--space-sl);
}

.job-post-section .job-post-content .h2,
.job-post-section .job-post-content :is(h2, h3, h4, h5, h6) {
    margin-top: var(--space-sl);
}

.job-post-section .job-post-content p {
    color: var(--color-slate-700);
    line-height: 1.3529;
    font-size: var(--font-size-body-md);
}

.job-post-section .job-post-content ul {
    margin-top: 0;
}

/* Breadcrumbs */
.job-post-section .job-post-breadcrumbs {
    font-size: var(--font-size-body-sm, 14px);
    color: var(--color-slate-500);
    margin-bottom: var(--space-sm);
}

.job-post-section .job-post-breadcrumbs ol {
    gap: var(--space-xs);
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-post-section .job-post-breadcrumbs a {
    color: var(--color-slate-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.job-post-section .job-post-breadcrumbs a:hover {
    color: var(--color-teal-700);
}

/* Custom Checkmark List */
.job-post-section .job-post-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.job-post-section .job-post-list li {
    position: relative;
    padding-left: 28px;
    color: var(--color-slate-500);
    line-height: 1.6;
}

.job-post-section .job-post-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 14px;
    height: 14px;
    background-color: #0bd1a3;
    /* Primary Green */
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
    mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M20.285 2l-11.285 11.567-5.286-5.011-3.714 3.716 9 8.728 15-15.285z"/></svg>');
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
}

.job-post-section .job-post-list li strong {
    color: var(--color-heading, var(--color-ink-900));
}

/* ---------- Sidebar ---------- */

.job-post-section .job-post-sidebar {
    gap: var(--space-sl);
}

@media (max-width:1199px) {
    .job-post-section .job-post-layout {
        gap: var(--space-lg);
    }
}

@media (min-width: 992px) {
    .job-post-section .job-post-sidebar {
        position: sticky;
        top: 100px;
    }
}

@media (max-width:991px) {
    .job-post-section .job-post-layout {
        gap: var(--space-xm);
    }

    .job-post-section .job-post-content {
        gap: var(--space-xm);
    }

    .job-post-section .job-post-content .h1,
    .job-post-section .job-post-content h1 {
        margin-bottom: 0;
    }

    .job-post-section .job-post-content .h2,
    .job-post-section .job-post-content :is(h2, h3, h4, h5, h6) {
        margin-top: 0;
    }
}

.job-post-section .job-post-card {
    border-radius: var(--radius-2xl);
    padding: var(--space-llg);
    border: 1px solid var(--color-border);
}

/* Apply Card */
.job-post-section .job-post-card-apply {
    background-color: var(--color-heading);
    color: var(--color-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-llg);
}

.job-post-section .job-post-card-apply .job-post-card-eyebrow {
    font-size: var(--font-size-micro, 11px);
    color: #8FCCD9;
    text-transform: uppercase;
    font-weight: var(--font-weight-medium);
    line-height: var(--line-height-quote);
    font-family: var(--font-mono);
    margin-bottom: 3px;
}

.job-post-section .job-post-card-apply .caree-detail-info {
    margin-bottom: var(--space-sm);
}

.job-post-section .job-post-card-apply .caree-detail-info:last-of-type {
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.job-post-section .job-post-card-apply .job-post-card-location p {
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    line-height: 1.3125;
}

.job-post-section .job-post-card-apply .button {
    width: 100%;
}

/* Info Card */
.job-post-section .job-post-card-info {
    background-color: var(--color-signal-50);
    padding: 22px;
}

.job-post-section .job-post-card-info h3 {
    margin-bottom: var(--space-xxl);
    font-size: var(--font-size-quote);
    line-height: var(--line-height-stat);
}

.job-post-section .job-post-card-info p {
    color: var(--color-slate-700);
    font-size: var(--font-size-body-sm, 15px);
    margin-bottom: var(--space-xxl);
    line-height: 1.4;
}

.job-post-section .job-post-card-info p:last-child {
    margin-bottom: 0;
}