/**
 * Aimstyle – Job Details widget.
 *
 * Three layouts, each the original CSS of one source, scoped to its own root
 * class so a widget only ever uses its selected layout:
 *   --detailed    Technical Superintendent page (default)
 *   --reinforced  Junior Technical Superintendent page (same design, minor
 *                 spacing differences, !important rules against theme styles)
 *   --compact     Legacy rules from Additional CSS / aimstyle-customizer.css
 *
 * Scoping adds one class to every selector, so these rules always outrank the
 * unscoped legacy .swm-job-details rules that still load site-wide.
 * --sjd-* custom properties are Elementor Style control hooks; their var()
 * fallbacks are the original values.
 */

/* Shared: no sidebar (all sidebar boxes hidden) -> full-width content. */
.swm-job-details .swm-job-details__layout.swm-job-details__layout--full {
    grid-template-columns: minmax(0, 1fr);
}


/* ==========================================================================
   DETAILED — Technical Superintendent page CSS
   ========================================================================== */

.swm-job-details.swm-job-details--detailed,
.swm-job-details.swm-job-details--detailed *,
.swm-job-details.swm-job-details--detailed *::before,
.swm-job-details.swm-job-details--detailed *::after {
    box-sizing: border-box;
}

.swm-job-details.swm-job-details--detailed {
    --swm-navy: #04293d;
    --swm-blue: #034872;
    --swm-green: #00833e;
    --swm-text: #6f7d86;
    --swm-light: #f5f8f7;
    --swm-border: rgba(4, 41, 61, 0.14);

    width: 100%;
    padding: 65px 20px 90px;
    color: var(--swm-navy);
    background: #ffffff;
    font-family: "Rethink Sans", sans-serif;
}

.swm-job-details--detailed .swm-job-details__inner {
    width: min(1290px, 100%);
    margin: 0 auto;
}

/* ==========================================
   Intro
========================================== */

.swm-job-details--detailed .swm-job-details__intro {
    max-width: 980px;
    margin: 0 auto 55px;
    text-align: center;
}

.swm-job-details--detailed .swm-job-details__career-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(0, 131, 62, 0.2);
    border-radius: 50px;
    color: var(--swm-green);
    background: rgba(0, 131, 62, 0.055);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.swm-job-details--detailed .swm-job-details__career-type::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--swm-green);
}

.swm-job-details--detailed .swm-job-details__lead {
    margin: 0 auto 22px;
    color: var(--swm-green);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.025em;
}

.swm-job-details--detailed .swm-job-details__intro p {
    max-width: 900px;
    margin: 0 auto;
    color: var(--swm-text);
    font-size: 18px;
    line-height: 1.75;
}

/* ==========================================
   Main Layout
========================================== */

.swm-job-details--detailed .swm-job-details__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sjd-sidebar-width, 330px);
    align-items: start;
    gap: 38px;
}

.swm-job-details--detailed .swm-job-details__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
}

/* ==========================================
   Content Sections
========================================== */

.swm-job-details--detailed .swm-job-section {
    position: relative;
    padding: 34px 32px 32px;
    border: 1px solid var(--swm-border);
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
}

.swm-job-details--detailed .swm-job-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: var(--swm-green);
}

.swm-job-details--detailed .swm-job-section h2 {
    margin: 0 0 20px;
    color: var(--swm-navy);
    font-size: clamp(26px, 2.5vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.swm-job-details--detailed .swm-job-section p {
    margin: 0 0 20px;
    color: var(--swm-text);
    font-size: 16px;
    line-height: 1.85;
}

.swm-job-details--detailed .swm-job-section p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   Lists
========================================== */

.swm-job-details--detailed .swm-job-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.swm-job-details--detailed .swm-job-list li {
    position: relative;
    padding-left: 30px;
    color: var(--swm-text);
    font-size: 16px;
    line-height: 1.6;
}

.swm-job-details--detailed .swm-job-list li::before {
    content: "";
    position: absolute;
    top: 0.65em;
    left: 2px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--swm-green);
    border-radius: 50%;
    transform: translateY(-50%);
}

/* ==========================================
   Sidebar
========================================== */

.swm-job-details--detailed .swm-job-details__sidebar {
    position: sticky;
    top: 125px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.swm-job-details--detailed .swm-job-info,
.swm-job-details--detailed .swm-job-values,
.swm-job-details--detailed .swm-job-apply {
    border-radius: 20px;
}

/* Job info */

.swm-job-details--detailed .swm-job-info {
    padding: 25px 28px;
    border: 1px solid var(--swm-border);
    background: var(--swm-light);
}

.swm-job-details--detailed .swm-job-info__item {
    padding: 0 0 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--swm-border);
}

.swm-job-details--detailed .swm-job-info__item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.swm-job-details--detailed .swm-job-info__label {
    display: block;
    margin-bottom: 9px;
    color: var(--swm-green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.swm-job-details--detailed .swm-job-info__value {
    display: block;
    color: var(--swm-navy);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

/* Values */

.swm-job-details--detailed .swm-job-values {
    padding: 28px;
    color: #ffffff;
    background: var(--swm-navy);
}

.swm-job-details--detailed .swm-job-values h3 {
    margin: 0 0 22px;
    color: #ffffff;
    font-size: 26px;
    font-weight: 700;
}

.swm-job-details--detailed .swm-job-value {
    margin-bottom: 22px;
}

.swm-job-details--detailed .swm-job-value:last-child {
    margin-bottom: 0;
}

.swm-job-details--detailed .swm-job-value strong {
    display: block;
    margin-bottom: 7px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.swm-job-details--detailed .swm-job-value span {
    display: block;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    line-height: 1.65;
}

/* Apply */

.swm-job-details--detailed .swm-job-apply {
    padding: 29px 28px;
    color: #ffffff;
    background: var(--swm-green);
}

.swm-job-details--detailed .swm-job-apply__path {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding: 7px 11px;
    border-radius: 50px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.swm-job-details--detailed .swm-job-apply__path::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.swm-job-details--detailed .swm-job-apply h3 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.12;
}

.swm-job-details--detailed .swm-job-apply p {
    margin: 0 0 13px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.65;
}

.swm-job-details--detailed .swm-job-apply__privacy {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.55;
}

.swm-job-details--detailed .swm-job-apply__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 23px;
    border: 1px solid var(--sjd-btn-bg, #ffffff);
    border-radius: 50px;
    color: var(--sjd-btn-color, var(--swm-navy)) !important;
    background: var(--sjd-btn-bg, #ffffff);
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.swm-job-details--detailed .swm-job-apply__button:hover {
    color: var(--sjd-btn-hover-color, #ffffff) !important;
    background: var(--sjd-btn-hover-bg, var(--swm-navy));
    border-color: var(--sjd-btn-hover-bg, var(--swm-navy));
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(4, 41, 61, 0.2);
}

.swm-job-details--detailed .swm-job-apply__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Back link */

.swm-job-details--detailed .swm-job-details__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    color: var(--swm-navy) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;

    transition: color 0.3s ease;
}

.swm-job-details--detailed .swm-job-details__back:hover {
    color: var(--swm-green) !important;
}

.swm-job-details--detailed .swm-job-details__back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ==========================================
   Responsive
========================================== */

@media (max-width: 1024px) {
    .swm-job-details--detailed .swm-job-details__layout {
        grid-template-columns: minmax(0, 1fr) var(--sjd-sidebar-width, 300px);
        gap: 25px;
    }

    .swm-job-details--detailed .swm-job-section {
        padding: 30px 27px;
    }
}

@media (max-width: 850px) {
    .swm-job-details.swm-job-details--detailed {
        padding-top: 50px;
    }

    .swm-job-details--detailed .swm-job-details__layout {
        grid-template-columns: 1fr;
    }

    .swm-job-details--detailed .swm-job-details__sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .swm-job-details--detailed .swm-job-apply {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .swm-job-details.swm-job-details--detailed {
        padding: 40px 14px 65px;
    }

    .swm-job-details--detailed .swm-job-details__intro {
        margin-bottom: 38px;
        text-align: left;
    }

    .swm-job-details--detailed .swm-job-details__lead {
        font-size: 34px;
    }

    .swm-job-details--detailed .swm-job-details__intro p {
        font-size: 16px;
    }

    .swm-job-details--detailed .swm-job-section {
        padding: 27px 22px 27px 25px;
        border-radius: 16px;
    }

    .swm-job-details--detailed .swm-job-section h2 {
        font-size: 25px;
    }

    .swm-job-details--detailed .swm-job-section p,
    .swm-job-details--detailed .swm-job-list li {
        font-size: 15px;
    }

    .swm-job-details--detailed .swm-job-details__sidebar {
        grid-template-columns: 1fr;
    }

    .swm-job-details--detailed .swm-job-apply {
        grid-column: auto;
    }

    .swm-job-details--detailed .swm-job-apply__button {
        width: 100%;
    }
}


/* ==========================================================================
   DETAILED – REINFORCED — Junior Technical Superintendent page CSS
   ========================================================================== */

.swm-job-details.swm-job-details--reinforced,
.swm-job-details.swm-job-details--reinforced *,
.swm-job-details.swm-job-details--reinforced *::before,
.swm-job-details.swm-job-details--reinforced *::after {
    box-sizing: border-box;
}

.swm-job-details.swm-job-details--reinforced {
    --swm-navy: #04293d;
    --swm-blue: #034872;
    --swm-green: #00833e;
    --swm-text: #6f7d86;
    --swm-light: #f5f8f7;
    --swm-white: #ffffff;
    --swm-border: rgba(4, 41, 61, 0.14);

    width: 100%;
    margin: 0;
    padding: 65px 20px 90px;
    color: var(--swm-navy);
    background: var(--swm-white);
    font-family: "Rethink Sans", sans-serif;
}

.swm-job-details--reinforced .swm-job-details__inner {
    width: min(1290px, 100%);
    margin: 0 auto;
}

/* =========================================
   Intro
========================================= */

.swm-job-details--reinforced .swm-job-details__intro {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 55px;
    text-align: center;
}

.swm-job-details--reinforced .swm-job-details__career-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    margin: 0 0 18px;
    padding: 9px 15px;
    border: 1px solid rgba(0, 131, 62, 0.2);
    border-radius: 50px;
    color: var(--swm-green);
    background: rgba(0, 131, 62, 0.055);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.swm-job-details--reinforced .swm-job-details__career-type::before {
    content: "";
    display: block;
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--swm-green);
}

.swm-job-details.swm-job-details--reinforced .swm-job-details__lead {
    width: 100%;
    max-width: 950px;
    margin: 0 auto 22px !important;
    padding: 0 !important;
    color: var(--swm-green) !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: clamp(34px, 4vw, 52px) !important;
    font-weight: 700 !important;
    line-height: 1.08 !important;
    letter-spacing: -0.025em !important;
    text-align: center !important;
    text-transform: none !important;
}

.swm-job-details--reinforced .swm-job-details__intro > p {
    width: 100%;
    max-width: 900px;
    margin: 0 auto !important;
    padding: 0 !important;
    color: var(--swm-text) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    text-align: center !important;
}

/* =========================================
   Main Layout
========================================= */

.swm-job-details--reinforced .swm-job-details__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--sjd-sidebar-width, 330px);
    align-items: start;
    gap: 38px;
    width: 100%;
}

.swm-job-details--reinforced .swm-job-details__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================================
   Content Sections
========================================= */

.swm-job-details.swm-job-details--reinforced .swm-job-section {
    position: relative;
    width: 100%;
    margin: 0 !important;
    padding: 34px 32px 32px !important;
    border: 1px solid var(--swm-border);
    border-radius: 20px;
    background: var(--swm-white);
    overflow: hidden;
}

.swm-job-details.swm-job-details--reinforced .swm-job-section::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 5px;
    background: var(--swm-green);
}

.swm-job-details.swm-job-details--reinforced .swm-job-section h2 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--swm-navy) !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: clamp(26px, 2.5vw, 32px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
}

.swm-job-details.swm-job-details--reinforced .swm-job-section p {
    width: 100%;
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--swm-text) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.85 !important;
}

.swm-job-details.swm-job-details--reinforced .swm-job-section p:last-child {
    margin-bottom: 0 !important;
}

/* =========================================
   Lists
========================================= */

.swm-job-details.swm-job-details--reinforced .swm-job-list {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.swm-job-details.swm-job-details--reinforced .swm-job-list li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 !important;
    padding: 0 0 0 30px !important;
    color: var(--swm-text) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
    list-style: none !important;
}

.swm-job-details.swm-job-details--reinforced .swm-job-list li::before {
    content: "";
    position: absolute;
    top: 0.78em;
    left: 2px;
    width: 9px;
    height: 9px;
    border: 2px solid var(--swm-green);
    border-radius: 50%;
    background: transparent;
    transform: translateY(-50%);
}

/* =========================================
   Sidebar
========================================= */

.swm-job-details--reinforced .swm-job-details__sidebar {
    position: sticky;
    top: 125px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.swm-job-details.swm-job-details--reinforced .swm-job-info,
.swm-job-details.swm-job-details--reinforced .swm-job-values,
.swm-job-details.swm-job-details--reinforced .swm-job-apply {
    width: 100%;
    margin: 0 !important;
    border-radius: 20px;
}

/* Job Info */

.swm-job-details.swm-job-details--reinforced .swm-job-info {
    padding: 25px 28px;
    border: 1px solid var(--swm-border);
    background: var(--swm-light);
}

.swm-job-details--reinforced .swm-job-info__item {
    width: 100%;
    margin: 0 0 22px;
    padding: 0 0 22px;
    border-bottom: 1px solid var(--swm-border);
}

.swm-job-details--reinforced .swm-job-info__item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.swm-job-details--reinforced .swm-job-info__label {
    display: block;
    width: 100%;
    margin: 0 0 9px;
    color: var(--swm-green);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.swm-job-details--reinforced .swm-job-info__value {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--swm-navy);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.55;
}

/* Values */

.swm-job-details.swm-job-details--reinforced .swm-job-values {
    padding: 28px;
    color: var(--swm-white);
    background: var(--swm-navy);
}

.swm-job-details.swm-job-details--reinforced .swm-job-values h3 {
    margin: 0 0 22px !important;
    padding: 0 !important;
    color: var(--swm-white) !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

.swm-job-details--reinforced .swm-job-value {
    width: 100%;
    margin: 0 0 22px;
}

.swm-job-details--reinforced .swm-job-value:last-child {
    margin-bottom: 0;
}

.swm-job-details--reinforced .swm-job-value strong {
    display: block;
    width: 100%;
    margin: 0 0 7px;
    color: var(--swm-white);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.swm-job-details--reinforced .swm-job-value span {
    display: block;
    width: 100%;
    margin: 0;
    color: rgba(255, 255, 255, 0.67);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
}

/* Apply Card */

.swm-job-details.swm-job-details--reinforced .swm-job-apply {
    padding: 29px 28px;
    color: var(--swm-white);
    background: var(--swm-green);
}

.swm-job-details--reinforced .swm-job-apply__path {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: auto;
    margin: 0 0 15px;
    padding: 7px 11px;
    border-radius: 50px;
    color: var(--swm-white);
    background: rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.swm-job-details--reinforced .swm-job-apply__path::before {
    content: "";
    display: block;
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--swm-white);
}

.swm-job-details.swm-job-details--reinforced .swm-job-apply h3 {
    margin: 0 0 14px !important;
    padding: 0 !important;
    color: var(--swm-white) !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: 27px !important;
    font-weight: 700 !important;
    line-height: 1.12 !important;
    letter-spacing: -0.02em !important;
}

.swm-job-details.swm-job-details--reinforced .swm-job-apply p {
    margin: 0 0 13px !important;
    padding: 0 !important;
    color: rgba(255, 255, 255, 0.82) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.swm-job-details--reinforced .swm-job-apply__privacy {
    display: block;
    width: 100%;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

/* Apply Button */

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 52px !important;
    margin: 0 !important;
    padding: 13px 22px !important;
    border: 1px solid var(--sjd-btn-bg, var(--swm-white)) !important;
    border-radius: 50px !important;
    color: var(--sjd-btn-color, var(--swm-navy)) !important;
    background: var(--sjd-btn-bg, var(--swm-white)) !important;
    background-color: var(--sjd-btn-bg, var(--swm-white)) !important;
    background-image: none !important;
    box-shadow: none !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow: hidden;

    transition:
        color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button::before,
.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button::after {
    content: none !important;
    display: none !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button:hover {
    color: var(--sjd-btn-hover-color, var(--swm-white)) !important;
    background: var(--sjd-btn-hover-bg, var(--swm-navy)) !important;
    background-color: var(--sjd-btn-hover-bg, var(--swm-navy)) !important;
    border-color: var(--sjd-btn-hover-bg, var(--swm-navy)) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(4, 41, 61, 0.2) !important;
}

/* Force correct SVG size */

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button svg,
.swm-job-details.swm-job-details--reinforced a.swm-job-details__back svg {
    position: static !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    overflow: visible !important;
    transform: none !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button svg path,
.swm-job-details.swm-job-details--reinforced a.swm-job-details__back svg path {
    fill: none !important;
    stroke: currentColor !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button svg {
    transition: transform 0.3s ease !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-apply__button:hover svg {
    transform: translateX(3px) !important;
}

/* =========================================
   Back Link
========================================= */

.swm-job-details.swm-job-details--reinforced a.swm-job-details__back {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    align-self: flex-start;
    width: auto !important;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    color: var(--swm-navy) !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-family: "Rethink Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    text-decoration: none !important;

    transition: color 0.3s ease !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-details__back::before,
.swm-job-details.swm-job-details--reinforced a.swm-job-details__back::after {
    content: none !important;
    display: none !important;
}

.swm-job-details.swm-job-details--reinforced a.swm-job-details__back:hover {
    color: var(--swm-green) !important;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 1100px) {
    .swm-job-details--reinforced .swm-job-details__layout {
        grid-template-columns: minmax(0, 1fr) var(--sjd-sidebar-width, 300px);
        gap: 25px;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-section {
        padding: 30px 27px !important;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-info,
    .swm-job-details.swm-job-details--reinforced .swm-job-values,
    .swm-job-details.swm-job-details--reinforced .swm-job-apply {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 850px) {
    .swm-job-details.swm-job-details--reinforced {
        padding-top: 50px;
    }

    .swm-job-details--reinforced .swm-job-details__layout {
        grid-template-columns: 1fr;
    }

    .swm-job-details--reinforced .swm-job-details__sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-apply {
        grid-column: 1 / -1;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-info,
    .swm-job-details.swm-job-details--reinforced .swm-job-values,
    .swm-job-details.swm-job-details--reinforced .swm-job-apply {
        height: 100%;
    }
}

@media (max-width: 600px) {
    .swm-job-details.swm-job-details--reinforced {
        padding: 40px 14px 65px;
    }

    .swm-job-details--reinforced .swm-job-details__intro {
        margin-bottom: 38px;
        text-align: left;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-details__lead {
        font-size: 34px !important;
        text-align: left !important;
    }

    .swm-job-details--reinforced .swm-job-details__intro > p {
        font-size: 16px !important;
        text-align: left !important;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-section {
        padding: 27px 22px 27px 25px !important;
        border-radius: 16px;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-section h2 {
        font-size: 25px !important;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-section p,
    .swm-job-details.swm-job-details--reinforced .swm-job-list li {
        font-size: 15px !important;
    }

    .swm-job-details--reinforced .swm-job-details__sidebar {
        grid-template-columns: 1fr;
    }

    .swm-job-details.swm-job-details--reinforced .swm-job-apply {
        grid-column: auto;
    }

    .swm-job-details.swm-job-details--reinforced a.swm-job-apply__button {
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .swm-job-details.swm-job-details--reinforced *,
    .swm-job-details.swm-job-details--reinforced *::before,
    .swm-job-details.swm-job-details--reinforced *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}


/* ==========================================================================
   COMPACT — legacy Additional CSS rules
   ========================================================================== */

.swm-job-details.swm-job-details--compact,
.swm-job-details.swm-job-details--compact *,
.swm-job-details.swm-job-details--compact *::before,
.swm-job-details.swm-job-details--compact *::after{
    box-sizing:border-box;
}

.swm-job-details.swm-job-details--compact{
    --swm-navy:#04293d;
    --swm-blue:#034872;
    --swm-green:#00833e;
    --swm-text:#66737b;
    --swm-border:rgba(4,41,61,.13);
    --swm-light:#f7faf9;

    width:100%;
    margin:0;
    padding:60px 0;
    background:transparent;

}

.swm-job-details--compact .swm-job-details__inner{
    width:100%;
    max-width:100%;
    margin:0 auto;
}

.swm-job-details--compact .swm-job-details__intro{
    max-width:900px;
    margin:0 auto 55px;
    text-align:center;
}

.swm-job-details--compact .swm-job-details__lead{
    margin:0 0 20px;
    color:var(--swm-green);
    font-size:clamp(27px,3vw,42px);
    font-weight:700;
    line-height:1.2;
}

.swm-job-details--compact .swm-job-details__intro p{
    margin:0;
    color:var(--swm-text);
    font-size:18px;
    line-height:1.8;
}

.swm-job-details--compact .swm-job-details__layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) var(--sjd-sidebar-width, 330px);
    gap:38px;
    align-items:start;
}

.swm-job-details--compact .swm-job-details__content{
    display:flex;
    flex-direction:column;
    gap:28px;
}

.swm-job-details--compact .swm-job-section{
    position:relative;
    padding:34px;
    border:1px solid var(--swm-border);
    border-radius:22px;
    background:#fff;
    overflow:hidden;
}

.swm-job-details--compact .swm-job-section::before{
    content:"";
    position:absolute;
    top:0;
    left:0;
    width:5px;
    height:100%;
    background:var(--swm-green);
}

.swm-job-details--compact .swm-job-section h2{
    margin:0 0 20px;
    color:var(--swm-navy);
    font-size:30px;
    font-weight:700;
    line-height:1.2;
}

.swm-job-details--compact .swm-job-section p{
    margin:0 0 18px;
    color:var(--swm-text);
    font-size:17px;
    line-height:1.75;
}

.swm-job-details--compact .swm-job-list{
    display:flex;
    flex-direction:column;
    gap:13px;
    margin:0;
    padding:0;
    list-style:none;
}

.swm-job-details--compact .swm-job-list li{
    position:relative;
    padding-left:30px;
    color:var(--swm-text);
    font-size:16px;
    line-height:1.6;
}

.swm-job-details--compact .swm-job-list li::before{
    content:"";
    position:absolute;
    top:.67em;
    left:0;
    width:9px;
    height:9px;
    border:2px solid var(--swm-green);
    border-radius:50%;
    transform:translateY(-50%);
}

.swm-job-details--compact .swm-job-details__sidebar{
    position:sticky;
    top:120px;
    display:flex;
    flex-direction:column;
    gap:22px;
}

.swm-job-details--compact .swm-job-info,
.swm-job-details--compact .swm-job-values,
.swm-job-details--compact .swm-job-apply{
    padding:28px;
    border-radius:20px;
}

.swm-job-details--compact .swm-job-info{
    border:1px solid var(--swm-border);
    background:var(--swm-light);
}

.swm-job-details--compact .swm-job-info__item{
    padding:16px 0;
    border-bottom:1px solid var(--swm-border);
}

.swm-job-details--compact .swm-job-info__item:first-child{
    padding-top:0;
}

.swm-job-details--compact .swm-job-info__item:last-child{
    padding-bottom:0;
    border-bottom:0;
}

.swm-job-details--compact .swm-job-info__label{
    display:block;
    margin-bottom:5px;
    color:var(--swm-green);
    font-size:12px;
    font-weight:700;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.swm-job-details--compact .swm-job-info__value{
    color:var(--swm-navy);
    font-size:16px;
    font-weight:600;
    line-height:1.5;
}

.swm-job-details--compact .swm-job-values{
    color:#fff;
    background:var(--swm-navy);
}

.swm-job-details--compact .swm-job-values h3,
.swm-job-details--compact .swm-job-apply h3{
    margin:0 0 20px;
    font-size:24px;
    font-weight:700;
    color: #fff
}

.swm-job-details--compact .swm-job-value{
    margin-bottom:18px;
}

.swm-job-details--compact .swm-job-value:last-child{
    margin-bottom:0;
}

.swm-job-details--compact .swm-job-value strong{
    display:block;
    margin-bottom:4px;
    color:#fff;
    font-size:17px;
}

.swm-job-details--compact .swm-job-value span{
    color:rgba(255,255,255,.72);
    font-size:14px;
    line-height:1.5;
}

.swm-job-details--compact .swm-job-apply{
    background:var(--swm-green);
    color:#fff;
}

.swm-job-details--compact .swm-job-apply p{
    margin:0 0 20px;
    color:rgba(255,255,255,.86);
    font-size:15px;
    line-height:1.6;
}

.swm-job-details--compact .swm-job-apply__button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:13px 22px;
    border-radius:50px;
    color:var(--sjd-btn-color, var(--swm-navy)) !important;
    background:var(--sjd-btn-bg, #fff);
    font-size:14px;
    font-weight:700;
    text-decoration:none !important;
    transition:transform .3s ease;
}

.swm-job-details--compact .swm-job-apply__button:hover{
    transform:translateY(-3px);
    color:var(--sjd-btn-hover-color, var(--sjd-btn-color, var(--swm-navy))) !important;
    background:var(--sjd-btn-hover-bg, var(--sjd-btn-bg, #fff));
}

@media(max-width:1024px){
    .swm-job-details--compact .swm-job-details__layout{
        grid-template-columns:minmax(0,1fr) var(--sjd-sidebar-width, 285px);
        gap:24px;
    }

    .swm-job-details--compact .swm-job-section{
        padding:28px;
    }
}

@media(max-width:767px){
    .swm-job-details.swm-job-details--compact{
        padding:35px 0;
    }

    .swm-job-details--compact .swm-job-details__intro{
        margin-bottom:35px;
        text-align:left;
    }

    .swm-job-details--compact .swm-job-details__intro p{
        font-size:16px;
    }

    .swm-job-details--compact .swm-job-details__layout{
        grid-template-columns:1fr;
    }

    .swm-job-details--compact .swm-job-details__sidebar{
        position:static;
    }

    .swm-job-details--compact .swm-job-section{
        padding:25px 22px;
        border-radius:18px;
    }

    .swm-job-details--compact .swm-job-section h2{
        font-size:25px;
    }
}

/* Elements the legacy CSS never styled: Detailed rules, unchanged. */

.swm-job-details--compact .swm-job-details__career-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 9px 15px;
    border: 1px solid rgba(0, 131, 62, 0.2);
    border-radius: 50px;
    color: var(--swm-green);
    background: rgba(0, 131, 62, 0.055);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.swm-job-details--compact .swm-job-details__career-type::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--swm-green);
}

.swm-job-details--compact .swm-job-apply__path {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 15px;
    padding: 7px 11px;
    border-radius: 50px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.swm-job-details--compact .swm-job-apply__path::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffffff;
}

.swm-job-details--compact .swm-job-apply__privacy {
    display: block;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    line-height: 1.55;
}

.swm-job-details--compact .swm-job-apply__button svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.swm-job-details--compact .swm-job-details__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 35px;
    color: var(--swm-navy) !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;

    transition: color 0.3s ease;
}

.swm-job-details--compact .swm-job-details__back:hover {
    color: var(--swm-green) !important;
}

.swm-job-details--compact .swm-job-details__back svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.swm-job-details--compact .swm-job-apply__button {
    gap: 9px;
}
