/* Job market landing pages (/jobs/...) — loaded only on job_market views.
   Ported from the hello.switchcare.com/nurses landing page (sw-gs-* system),
   scoped under .sw-jobs so nothing leaks into the rest of the theme. */

.sw-jobs {
    --sw-coral: #ff6b55;
    --sw-navy: #242935;
    --sw-body-text: #383532;
    --sw-cream: #f9f6f2;
    --sw-white: #fff;
    --sw-teal: #3b9d91;
    --sw-border: #eae3d8;
    --sw-font-family: "stevie-sans", sans-serif;
    --sw-container-max: 1440px;
    --sw-container-padding: 60px;
    --sw-card-radius: 8px;
    --sw-btn-radius: 5px;
    font-family: var(--sw-font-family);
    color: var(--sw-body-text);
    background: var(--sw-white);
}

/* ---- Primitives (from template_switch-careers.min.css) ---- */
.sw-jobs .sw-container {
    margin: 0 auto;
    max-width: var(--sw-container-max);
    padding: 0 var(--sw-container-padding);
    width: 100%;
    box-sizing: border-box;
}
.sw-jobs .sw-section--cream { background-color: var(--sw-cream); }
.sw-jobs .sw-eyebrow {
    display: block;
    color: var(--sw-coral);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 18px;
    margin-bottom: 16px;
    text-transform: uppercase;
}
.sw-jobs .sw-btn {
    align-items: center;
    border: none;
    border-radius: var(--sw-btn-radius);
    cursor: pointer;
    display: inline-flex;
    font-family: var(--sw-font-family);
    font-size: 16px;
    font-weight: 600;
    gap: 12px;
    line-height: 1;
    padding: 16px 24px;
    text-decoration: none;
    transition: all .3s ease;
}
.sw-jobs .sw-btn--coral { background-color: var(--sw-coral); color: var(--sw-white); height: 54px; padding: 16px 32px; box-sizing: border-box; }
.sw-jobs .sw-btn--coral:hover { background-color: #e85d49; color: var(--sw-white); text-decoration: none; }
.sw-jobs h2 {
    font-family: var(--sw-font-family);
    color: var(--sw-body-text);
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    margin: 0 0 20px;
}
.sw-jobs h3 {
    font-family: var(--sw-font-family);
    color: var(--sw-body-text);
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    margin: 0 0 20px;
}
.sw-jobs h4 { font-family: var(--sw-font-family); font-weight: 500; }
.sw-jobs section { padding: 70px 0; }
.sw-jobs a:focus-visible,
.sw-jobs summary:focus-visible,
.sw-jobs button:focus-visible {
    outline: 2px solid var(--sw-coral);
    outline-offset: 2px;
}

/* ---- Device-aware app CTA ---- */
.sw-jobs .jm-cta-desktop { display: none; }
.sw-jobs .jm-cta-mobile { display: inline-block; }
@media (min-width: 768px) {
    .sw-jobs .jm-cta-desktop { display: flex; }
    .sw-jobs .jm-cta-mobile { display: none; }
}
.sw-jobs .sw-gs-badges { gap: 12px; align-items: center; }
.sw-jobs .sw-gs-badges a { display: inline-block; transition: opacity 0.2s ease; }
.sw-jobs .sw-gs-badges a:hover { opacity: 0.8; }
.sw-jobs .sw-gs-badges img { display: block; }

/* ---- Scroll reveal (job-markets.js adds .is-visible) ---- */
.sw-jobs .jm-reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.sw-jobs .jm-reveal.is-visible { opacity: 1; transform: none; }
.sw-jobs .jm-reveal:nth-child(2) { transition-delay: .12s; }
.sw-jobs .jm-reveal:nth-child(3) { transition-delay: .24s; }
.sw-jobs .jm-reveal:nth-child(4) { transition-delay: .12s; }
.sw-jobs .jm-reveal:nth-child(5) { transition-delay: .24s; }
.sw-jobs .jm-reveal:nth-child(6) { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
    .sw-jobs .jm-reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Hero: form-forward layout ---- */
.sw-jobs .sw-gs-hero { padding: 70px 0 90px; }

/* Full-bleed photo hero (markets with a hero_image) */
.sw-jobs .sw-gs-hero--photo {
    position: relative;
    background-size: cover;
    background-position: center;
}
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .sw-jobs .sw-gs-hero--photo { background-attachment: fixed; } /* subtle parallax */
}
.sw-jobs .sw-gs-hero--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(36, 41, 53, 0.88) 0%, rgba(36, 41, 53, 0.72) 55%, rgba(36, 41, 53, 0.45) 100%);
}
.sw-jobs .sw-gs-hero--photo .sw-container { position: relative; }
/* !important: the legacy theme colors headings via #id selectors
   (#main-content h1 ...) which outrank any class chain we can write. */
.sw-jobs .sw-gs-hero--photo .sw-gs-hero__content h1 {
    color: var(--sw-white) !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}
.sw-jobs .sw-gs-hero--photo .sw-gs-checks li { color: var(--sw-white); }
.sw-jobs .sw-gs-hero--photo .sw-gs-hero__content > p { color: rgba(255, 255, 255, 0.85); }
.sw-jobs .sw-gs-hero--photo .sw-gs-hero__proof { color: rgba(255, 255, 255, 0.65); }
.sw-jobs .sw-gs-hero--photo .sw-gs-checks li svg { color: #6fd1c5; }
.sw-jobs .sw-gs-hero__grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 70px;
    align-items: start;
}
.sw-jobs .sw-gs-hero__content { padding-top: 32px; }
.sw-jobs .sw-gs-hero__content h1 {
    font-family: var(--sw-font-family);
    font-size: 50px;
    line-height: 58px;
    font-weight: 500;
    margin: 0 0 20px;
    color: var(--sw-body-text);
}
.sw-jobs .sw-gs-hero__content > p {
    font-size: 19px;
    line-height: 31px;
    color: #6d6d6d;
    margin-bottom: 36px;
    max-width: 440px;
}
.sw-jobs .sw-gs-checks { list-style: none; padding: 0; margin: 0 0 36px 0; }
.sw-jobs .sw-gs-checks li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 16px;
    line-height: 24px;
    color: var(--sw-body-text);
    margin-bottom: 14px;
}
.sw-jobs .sw-gs-checks li svg {
    width: 20px;
    height: 20px;
    color: var(--sw-teal);
    flex-shrink: 0;
    margin-top: 2px;
}
.sw-jobs .sw-gs-hero__proof { font-size: 14px; line-height: 20px; color: #999; margin-top: 20px; }
.sw-jobs .sw-nowrap { white-space: nowrap; }

/* ---- Form card ---- */
.sw-jobs .sw-gs-form {
    background: var(--sw-white);
    border-radius: 10px;
    padding: 40px 36px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--sw-border);
}
.sw-jobs .sw-gs-form__heading {
    font-family: var(--sw-font-family);
    font-size: 26px;
    font-weight: 500;
    line-height: 34px;
    margin-bottom: 4px;
    color: var(--sw-body-text);
}
.sw-jobs .sw-gs-form__sub {
    font-size: 15px;
    line-height: 24px;
    color: #6d6d6d;
    margin-bottom: 24px;
}
/* HubSpot form overrides (mirrors the landing page) */
.sw-jobs .sw-gs-form .hs-form fieldset { max-width: 100% !important; }
.sw-jobs .sw-gs-form .hs-form-field { margin-bottom: 12px; }
.sw-jobs .sw-gs-form .hs-form-field > label {
    font-family: var(--sw-font-family);
    font-size: 13px;
    font-weight: 600;
    color: var(--sw-body-text);
    margin-bottom: 4px;
    display: block;
}
.sw-jobs .sw-gs-form .hs-input,
.sw-jobs .sw-gs-form .hs-fieldtype-select .input select {
    font-family: var(--sw-font-family);
    font-size: 15px;
    color: var(--sw-body-text);
    border: 1px solid var(--sw-border);
    border-radius: 5px;
    padding: 10px 14px;
    width: 100% !important;
    height: 44px;
    background: #fafaf8;
    transition: border-color 0.25s ease, background 0.25s ease;
    box-sizing: border-box;
}
.sw-jobs .sw-gs-form .hs-input:focus {
    outline: none;
    border-color: var(--sw-coral);
    background: var(--sw-white);
}
.sw-jobs .sw-gs-form select.hs-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23383532' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.sw-jobs .sw-gs-form .form-columns-2 { display: flex; gap: 10px; }
.sw-jobs .sw-gs-form .form-columns-2 .hs-form-field { flex: 1; }
.sw-jobs .sw-gs-form .hs-richtext {
    font-size: 12px;
    line-height: 18px;
    color: #999;
    margin-top: 6px;
}
.sw-jobs .sw-gs-form .hs-richtext a { color: var(--sw-coral); }
.sw-jobs .sw-gs-form .hs-button,
.sw-jobs .sw-gs-form .hs_submit input.hs-button.primary.large {
    font-family: var(--sw-font-family);
    font-size: 16px;
    font-weight: 600;
    background-color: var(--sw-coral);
    background-image: none; /* theme paints an arrow bg on .hs-button sitewide */
    color: var(--sw-white);
    border: none;
    border-radius: 5px;
    padding: 15px 40px;
    height: 52px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.25s ease;
    margin-top: 6px;
}
.sw-jobs .sw-gs-form .hs-button:hover,
.sw-jobs .sw-gs-form .hs_submit input.hs-button.primary.large:hover { background-color: #e85d49; }
.sw-jobs .sw-gs-form .hs-error-msgs {
    font-size: 12px;
    color: #dc3232;
    margin-top: 3px;
    list-style: none;
    padding: 0;
}
.sw-jobs .sw-gs-form .legal-consent-container .hs-form-booleancheckbox-display {
    display: flex !important;
    align-items: flex-start;
    gap: 8px;
}
.sw-jobs .sw-gs-form .legal-consent-container .hs-form-booleancheckbox-display input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px;
    margin: 2px 0 0 0 !important;
    accent-color: var(--sw-coral);
    flex-shrink: 0;
}
.sw-jobs .sw-gs-form .legal-consent-container .hs-form-booleancheckbox-display > span {
    font-size: 12px !important;
    color: #999 !important;
    line-height: 18px !important;
}
.sw-jobs .sw-gs-form .legal-consent-container ul { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.sw-jobs .sw-gs-form .legal-consent-container li { margin-bottom: 10px; }
.sw-jobs .sw-gs-form .legal-consent-container .hs-richtext p {
    font-size: 11px !important;
    line-height: 16px !important;
    color: #999 !important;
}

/* ---- Local market section (intro + photo + role cards) ---- */
.sw-jobs .sw-gs-local__grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.sw-jobs .sw-gs-local__grid--has-image { grid-template-columns: 1fr 460px; }
.sw-jobs .sw-gs-local__copy { max-width: 720px; font-size: 19px; line-height: 31px; }
.sw-jobs .sw-gs-local__copy p { font-size: 19px; line-height: 31px; margin-bottom: 16px; }
.sw-jobs .sw-gs-local__figure { margin: 0; }
.sw-jobs .sw-gs-local__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}
.sw-jobs .sw-gs-roles { margin-top: 64px; }
.sw-jobs .sw-gs-local__grid + .sw-gs-roles { margin-top: 64px; }
.sw-jobs .sw-gs-roles__answer { font-size: 19px; line-height: 31px; max-width: 720px; margin-bottom: 28px; }
.sw-jobs .sw-gs-roles__src { font-size: 14px; color: #8a8a8a; white-space: nowrap; }
.sw-jobs .sw-gs-role-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; }
.sw-jobs .sw-gs-role-card {
    background: var(--sw-cream);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-card-radius);
    padding: 24px;
}
.sw-jobs .sw-gs-role-card__head {
    display: flex;
    flex-wrap: wrap; /* long role names drop the badge to its own line instead of crushing it */
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.sw-jobs .sw-gs-role-card__role {
    background: var(--sw-navy);
    color: var(--sw-white);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    line-height: 18px;
    padding: 4px 10px;
    border-radius: 4px;
    max-width: 100%;
}
.sw-jobs .sw-gs-role-card__badge {
    color: var(--sw-teal);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap; /* never stack "HIRING NOW" vertically */
    margin-left: auto;
    padding-top: 5px;
}
.sw-jobs .sw-gs-role-card__badge::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sw-teal);
    margin-right: 6px;
    vertical-align: 1px;
}
.sw-jobs .sw-gs-role-card__loc { font-size: 14px; line-height: 20px; color: #6d6d6d; margin-bottom: 10px; }
.sw-jobs .sw-gs-role-card__rate {
    font-size: 32px;
    line-height: 1.1;
    font-weight: 500;
    color: var(--sw-coral);
    margin-bottom: 16px;
}
.sw-jobs .sw-gs-role-card__rate span { font-size: 16px; color: #6d6d6d; font-weight: 400; }
.sw-jobs .sw-gs-role-card__link {
    font-size: 15px;
    font-weight: 600;
    color: var(--sw-body-text);
    text-decoration: none;
    border-bottom: 1px solid var(--sw-coral);
    transition: color .2s ease;
}
.sw-jobs .sw-gs-role-card__link:hover { color: var(--sw-coral); }
.sw-jobs .sw-gs-roles__note { font-size: 14px; line-height: 22px; color: #999; max-width: 720px; margin-top: 24px; }

/* ---- Silo links ---- */
.sw-jobs .sw-gs-local + .sw-gs-links { padding-top: 0; }
.sw-jobs .sw-gs-links--compact { padding-top: 0; padding-bottom: 56px; }
/* Pull the lone link-up line up under the local section so it reads as its
   footer instead of an orphan floating between sections. */
.sw-jobs .sw-gs-local + .sw-gs-links--compact { margin-top: -40px; }
.sw-jobs .sw-gs-links--compact .jm-link-up { margin: 0; }
.sw-jobs .jm-links { list-style: none; margin: 8px 0 32px; padding: 0; columns: 2; column-gap: 32px; }
@media (min-width: 768px) { .sw-jobs .jm-links { columns: 3; } }
.sw-jobs .jm-links--single { columns: 1 !important; }
.sw-jobs .jm-links li { margin: 0 0 10px; break-inside: avoid; font-size: 16px; line-height: 24px; }
.sw-jobs .jm-links a,
.sw-jobs .jm-link-up a { color: var(--sw-body-text); text-decoration: none; border-bottom: 1px solid var(--sw-border); transition: color .2s ease, border-color .2s ease; }
.sw-jobs .jm-links a:hover,
.sw-jobs .jm-link-up a:hover { color: var(--sw-coral); border-color: var(--sw-coral); }
.sw-jobs .sw-gs-states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
@media (max-width: 991px) { .sw-jobs .sw-gs-states { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .sw-jobs .sw-gs-states { grid-template-columns: 1fr; } }
.sw-jobs .sw-gs-state h4 { font-size: 20px; line-height: 28px; margin: 0 0 12px; }
.sw-jobs .sw-gs-state h4 a { color: var(--sw-body-text); text-decoration: none; }
.sw-jobs .sw-gs-state h4 a:hover { color: var(--sw-coral); }

/* ---- Stats strip ---- */
.sw-jobs .sw-gs-stats { background: var(--sw-navy); padding: 48px 0; }
.sw-jobs .sw-gs-stats__row { display: flex; justify-content: center; gap: 80px; text-align: center; }
.sw-jobs .sw-gs-stat__num {
    font-family: var(--sw-font-family);
    font-size: 44px;
    font-weight: 500;
    color: var(--sw-coral);
    line-height: 1;
    margin-bottom: 8px;
}
.sw-jobs .sw-gs-stat__text { font-size: 14px; line-height: 20px; color: rgba(255,255,255,0.6); max-width: 180px; margin: 0 auto; }

/* ---- Testimonial grid ---- */
.sw-jobs .sw-gs-testimonials__heading { text-align: center; margin-bottom: 40px; }
.sw-jobs .sw-gs-quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sw-jobs .sw-gs-quote-card {
    background: var(--sw-cream);
    border: 1px solid var(--sw-border);
    border-radius: var(--sw-card-radius);
    padding: 28px;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.sw-jobs .sw-gs-quote__stars { display: flex; gap: 3px; margin-bottom: 16px; }
.sw-jobs .sw-gs-quote__stars svg { width: 16px; height: 16px; color: var(--sw-coral); }
.sw-jobs .sw-gs-quote-card blockquote {
    font-size: 16px;
    line-height: 26px;
    color: var(--sw-body-text);
    margin: 0 0 20px;
    border: none;
    padding: 0;
    flex: 1;
}
.sw-jobs .sw-gs-quote-card figcaption strong { display: block; font-size: 15px; line-height: 21px; }
.sw-jobs .sw-gs-quote-card figcaption span { font-size: 13px; line-height: 19px; color: #6d6d6d; }

/* ---- Value props ---- */
.sw-jobs .sw-gs-value { padding: 90px 0; }
.sw-jobs .sw-gs-value__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.sw-jobs .sw-gs-vcard {
    text-align: center;
    background: var(--sw-white);
    border-radius: var(--sw-card-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 44px 32px;
    transition: transform .3s ease, box-shadow .3s ease;
}
.sw-jobs .sw-gs-vcard:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0, 0, 0, 0.10); }
.sw-jobs .sw-gs-vcard__icon {
    width: 72px;
    height: 72px;
    background: rgba(255,107,85,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
}
.sw-jobs .sw-gs-vcard__icon svg { width: 32px; height: 32px; color: var(--sw-coral); }
.sw-jobs .sw-gs-vcard h3 {
    font-family: var(--sw-font-family);
    font-size: 22px;
    line-height: 30px;
    font-weight: 500;
    margin: 0 0 10px;
    color: var(--sw-body-text);
}
.sw-jobs .sw-gs-vcard p { font-size: 16px; line-height: 26px; color: #6d6d6d; margin: 0 auto; max-width: 300px; }

/* ---- FAQ accordion (native details/summary) ---- */
.sw-jobs .jm-faq { max-width: 860px; }
.sw-jobs .jm-faq-item { border-bottom: 1px solid var(--sw-border); padding: 4px 0; }
.sw-jobs .jm-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    line-height: 26px;
    color: var(--sw-body-text);
    padding: 14px 32px 14px 0;
    list-style: none;
    position: relative;
}
.sw-jobs .jm-faq-item summary::-webkit-details-marker { display: none; }
.sw-jobs .jm-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sw-coral);
    font-size: 1.4em;
    font-weight: 400;
}
.sw-jobs .jm-faq-item[open] summary::after { content: "\2212"; }
.sw-jobs .jm-faq-answer { padding: 0 0 16px; font-size: 16px; line-height: 26px; color: #6d6d6d; }

/* ---- Bottom CTA ---- */
.sw-jobs .sw-gs-bottom { padding: 0 0 100px; }
.sw-jobs .sw-gs-bottom__card {
    background: var(--sw-coral);
    border-radius: var(--sw-card-radius);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.sw-jobs .sw-gs-bottom__card h3 {
    color: var(--sw-white);
    font-size: 34px;
    line-height: 42px;
    font-weight: 500;
    margin: 0;
    max-width: 420px;
}
.sw-jobs .sw-gs-bottom__card .sw-btn--coral { background: var(--sw-navy); }
.sw-jobs .sw-gs-bottom__card .sw-btn--coral:hover { color: var(--sw-coral); }

/* ---- Responsive ---- */
@media (max-width: 1060px) {
    .sw-jobs .sw-gs-hero__grid { grid-template-columns: 1fr 420px; gap: 50px; }
}
@media (max-width: 991px) {
    .sw-jobs .sw-container { padding: 0 30px; }
    .sw-jobs .sw-gs-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    .sw-jobs .sw-gs-hero__content { padding-top: 0; }
    .sw-jobs .sw-gs-hero__content h1 { font-size: 42px; line-height: 50px; }
    .sw-jobs .sw-gs-stats__row { gap: 40px; }
    .sw-jobs .sw-gs-value__grid { grid-template-columns: 1fr; gap: 32px; }
    .sw-jobs .sw-gs-bottom__card { flex-direction: column; text-align: center; padding: 48px 32px; }
    .sw-jobs .sw-gs-role-cards { grid-template-columns: 1fr; max-width: 480px; }
    .sw-jobs .sw-gs-quote-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .sw-jobs .sw-gs-hero__content h1 { font-size: 34px; line-height: 42px; }
    .sw-jobs .sw-gs-form { padding: 28px 22px; }
    .sw-jobs .sw-gs-stats__row { flex-direction: column; gap: 28px; }
    .sw-jobs .sw-gs-stat__num { font-size: 36px; }
    .sw-jobs .sw-gs-bottom__card h3 { font-size: 28px; line-height: 36px; }
    .sw-jobs h2, .sw-jobs h3 { font-size: 28px; line-height: 36px; }
    .sw-jobs section { padding: 48px 0; }
    .sw-jobs .sw-gs-quote-grid { grid-template-columns: 1fr; }
    .sw-jobs .sw-gs-roles { margin-top: 48px; }
}

/* ── Pay comparison: Switch realized pay vs. local staff wages ───────────── */

.sw-jobs .sw-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.sw-jobs .sw-gs-paycompare { padding: 72px 0; background: var(--sw-cream); }
.sw-jobs .sw-gs-paycompare h2 { margin-bottom: 14px; }
.sw-jobs .sw-gs-paycompare__sub {
    font-size: 19px; line-height: 31px; max-width: 720px; margin-bottom: 26px;
}

.sw-jobs .sw-gs-paycompare__legend {
    display: flex; flex-wrap: wrap; gap: 12px 28px;
    font-size: 14px; color: #6b6b6b; margin-bottom: 18px;
}
.sw-jobs .sw-swatch {
    display: inline-block; width: 14px; height: 10px;
    border-radius: 3px; margin-right: 8px; vertical-align: 1px;
}
.sw-jobs .sw-swatch--switch { background: var(--sw-coral); }
.sw-jobs .sw-swatch--bls    { background: rgba(36, 41, 53, .3); }
.sw-jobs .sw-swatch--reach  {
    width: 18px; height: 0; border-radius: 0; vertical-align: 4px;
    border-top: 2px solid rgba(255, 107, 85, .5);
}

/* Wide content scrolls in its own box — the page never scrolls sideways. */
.sw-jobs .sw-gs-paycompare__chart {
    background: var(--sw-white); border: 1px solid var(--sw-border);
    border-radius: var(--sw-card-radius); padding: 18px 16px 6px; overflow-x: auto;
}
.sw-jobs .sw-gs-paycompare__chart svg {
    display: block; width: 100%; min-width: 520px; height: auto;
}

.sw-jobs .sw-pc-grid   { stroke: var(--sw-border); stroke-width: 1; }
.sw-jobs .sw-pc-tick   { fill: #8a8a8a; font-size: 12px; font-family: var(--sw-font-family); }
.sw-jobs .sw-pc-tick--y { text-anchor: end; }
.sw-jobs .sw-pc-role   { fill: var(--sw-navy); font-size: 15px; font-weight: 600;
                         font-family: var(--sw-font-family); }

/* Bands: thickness = that role's pay range. Market sits under Switch. */
.sw-jobs .sw-pc-band            { stroke: none; }
.sw-jobs .sw-pc-band--bls       { fill: rgba(36, 41, 53, .16); }
.sw-jobs .sw-pc-band--switch    { fill: rgba(255, 107, 85, .22); }
.sw-jobs .sw-pc-edge            { fill: none; stroke-width: 2; stroke-linejoin: round;
                                  stroke-linecap: round; }
.sw-jobs .sw-pc-edge--bls       { stroke: rgba(36, 41, 53, .45); }
.sw-jobs .sw-pc-edge--switch    { stroke: var(--sw-coral); }
.sw-jobs .sw-pc-reachline       { fill: none; stroke: rgba(255, 107, 85, .6); stroke-width: 2;
                                  stroke-dasharray: 5 4; stroke-linecap: round; }
/* A market paying one uniform rate pinches to a segment, not a zero-area band. */
.sw-jobs .sw-pc-single          { stroke-width: 9; stroke-linecap: round; }
.sw-jobs .sw-pc-single--bls     { stroke: rgba(36, 41, 53, .35); }
.sw-jobs .sw-pc-single--switch  { stroke: var(--sw-coral); }

.sw-jobs .sw-gs-paycompare__table {
    width: 100%; border-collapse: collapse; margin-top: 22px;
    font-size: 16px; background: var(--sw-white);
    border: 1px solid var(--sw-border); border-radius: var(--sw-card-radius);
}
.sw-jobs .sw-gs-paycompare__table th,
.sw-jobs .sw-gs-paycompare__table td {
    padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--sw-border);
}
.sw-jobs .sw-gs-paycompare__table thead th {
    font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #8a8a8a;
}
.sw-jobs .sw-gs-paycompare__table tbody tr:last-child th,
.sw-jobs .sw-gs-paycompare__table tbody tr:last-child td { border-bottom: 0; }
.sw-jobs .sw-gs-paycompare__table tbody th { font-weight: 600; color: var(--sw-navy); }
.sw-jobs .sw-pc-upto { display: block; font-size: 13px; color: #8a8a8a; margin-top: 2px; }
.sw-jobs .sw-pc-na   { color: #b5b5b5; }

.sw-jobs .sw-gs-paycompare__note {
    font-size: 14px; line-height: 22px; color: #999; max-width: 760px; margin-top: 20px;
}

@media (max-width: 767px) {
    .sw-jobs .sw-gs-paycompare { padding: 52px 0; }
    .sw-jobs .sw-gs-paycompare__sub { font-size: 17px; line-height: 28px; }
    .sw-jobs .sw-gs-paycompare__table { font-size: 15px; }
    .sw-jobs .sw-gs-paycompare__table th,
    .sw-jobs .sw-gs-paycompare__table td { padding: 10px 12px; }
}

/* Chart hover/focus: guide line + tooltip */
.sw-jobs .sw-gs-paycompare__chart { position: relative; }
.sw-jobs .sw-pc-hit { cursor: pointer; outline: none; }
.sw-jobs .sw-pc-guide {
    stroke: var(--sw-navy); stroke-width: 1; stroke-dasharray: 3 3;
    opacity: 0; transition: opacity .12s ease;
}
.sw-jobs .sw-pc-hit:hover .sw-pc-guide,
.sw-jobs .sw-pc-hit:focus-visible .sw-pc-guide,
.sw-jobs .sw-pc-hit.is-active .sw-pc-guide { opacity: .45; }
.sw-jobs .sw-pc-hit:focus-visible rect { outline: 2px solid var(--sw-coral); outline-offset: -2px; }

.sw-jobs .sw-pc-tip {
    position: absolute; z-index: 5; pointer-events: none;
    transform: translate(-50%, -100%);
    background: var(--sw-navy); color: #fff; border-radius: 6px;
    padding: 10px 12px; min-width: 168px;
    font-size: 13px; line-height: 1.45; box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
}
.sw-jobs .sw-pc-tip[hidden] { display: none; }
.sw-jobs .sw-pc-tip__role { font-weight: 700; margin-bottom: 6px; font-size: 14px; }
.sw-jobs .sw-pc-tip__row  { display: flex; justify-content: space-between; gap: 14px; white-space: nowrap; }
.sw-jobs .sw-pc-tip__row + .sw-pc-tip__row { margin-top: 3px; }
.sw-jobs .sw-pc-tip__k { opacity: .72; }
.sw-jobs .sw-pc-tip__v { font-variant-numeric: tabular-nums; }
.sw-jobs .sw-pc-tip__dot {
    display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px;
}
.sw-jobs .sw-pc-tip__dot--switch { background: var(--sw-coral); }
.sw-jobs .sw-pc-tip__dot--bls    { background: rgba(255, 255, 255, .5); }
.sw-jobs .sw-pc-tip__dot--reach  { background: transparent; border-top: 2px dashed var(--sw-coral);
                                   height: 0; border-radius: 0; vertical-align: 3px; }

@media (prefers-reduced-motion: reduce) {
    .sw-jobs .sw-pc-guide { transition: none; }
}

/* ── Role x city offer (paid-ad landing surface) ─────────────────────────── */

.sw-jobs .sw-gs-offer { padding: 64px 0; background: var(--sw-cream); }
.sw-jobs .sw-gs-offer__grid {
    display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px;
    align-items: start;
}
.sw-jobs .sw-gs-offer__main h2 { margin: 10px 0 18px; }
.sw-jobs .sw-gs-offer__rate {
    font-size: 52px; line-height: 1.05; font-weight: 700; color: var(--sw-coral);
    letter-spacing: -0.02em;
}
.sw-jobs .sw-gs-offer__rate span { font-size: 22px; font-weight: 600; color: var(--sw-body-text); }
.sw-jobs .sw-gs-offer__ratenote {
    font-size: 15px; line-height: 24px; color: #6b6b6b; max-width: 560px; margin: 10px 0 22px;
}
.sw-jobs .sw-gs-offer__cta { margin-top: 26px; }

.sw-jobs .sw-gs-offer__card {
    background: var(--sw-white); border: 1px solid var(--sw-border);
    border-radius: var(--sw-card-radius); padding: 24px 26px;
}
.sw-jobs .sw-gs-offer__cardhead {
    font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
    color: #8a8a8a; margin-bottom: 12px;
}
.sw-jobs .sw-gs-offer__card ul { margin: 0; padding-left: 20px; }
.sw-jobs .sw-gs-offer__card li { margin-bottom: 8px; line-height: 25px; }
.sw-jobs .sw-gs-offer__cardnote {
    font-size: 14px; line-height: 22px; color: #8a8a8a;
    margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--sw-border);
}

@media (max-width: 900px) {
    .sw-jobs .sw-gs-offer__grid { grid-template-columns: 1fr; gap: 30px; }
    .sw-jobs .sw-gs-offer__rate { font-size: 42px; }
}
.sw-jobs .sw-gs-offer__cardsub {
    font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--sw-coral);
    margin: 18px 0 10px; padding-top: 16px; border-top: 1px solid var(--sw-border);
}
