.ec-job-detail-page {
    --ec-type-h1-size: 50px;
    --ec-type-h1-line: 1.15;
    --ec-type-h2-size: 40px;
    --ec-type-h2-line: 1.15;
    --ec-type-h3-size: 30px;
    --ec-type-h3-line: 1.25;
    --ec-type-h4-size: 25px;
    --ec-type-h4-line: 1.3;
    --ec-type-h5-size: 22px;
    --ec-type-h5-line: 1.3;
    --ec-type-body-size: 18px;
    --ec-type-body-line: 1.5;
    --ec-type-small-size: 14px;
    --ec-type-small-line: 1.4;
    color: #0c1318;
    isolation: isolate;
}

.hsfc-Step__Content {
    padding: 0 !important;
}

.ec-job-detail-page,
.ec-job-detail-page * {
    box-sizing: border-box;
}

.ec-job-detail-page .container,
.ec-job-detail-page .template-page,
.ec-job-detail-page .content,
.ec-job-detail-page .units,
.ec-job-detail-page .flex_column,
.ec-job-detail-page .av-layout-grid-container {
    max-width: none;
}

.ec-job-detail-page .template-page.content,
.ec-job-detail-page .template-page.content.av-content-full {
    float: none;
    margin: 0;
    width: 100%;
}

.ec-job-detail-page .entry-content-wrapper,
.ec-job-detail-page .entry-content-wrapper> :first-child {
    margin-top: 0;
}

.ec-job-detail-page .container_wrap_first {
    border-top-width: 0;
}

/* Enfold sets overflow: hidden on the body (#top), #wrap_all and #main, which
   creates scroll containers and breaks native position: sticky. Clip only the
   X axis (still prevents horizontal scroll) and keep Y visible so the sticky
   summary works. */
body#top.single-ec_pflegejob,
body.single-ec_pflegejob #wrap_all,
body.single-ec_pflegejob #main {
    overflow-x: clip;
    overflow-y: visible;
}

#top #wrap_all .ec-job-detail-page .avia-section,
#top #wrap_all .ec-job-detail-page__section.container_wrap,
#top #wrap_all .ec-job-detail-page__section {
    background-color: #FFFBF4;
    border-top: 0;
    box-shadow: none;
}

#top #wrap_all .ec-job-detail-page .avia-section.avia-shadow,
#top #wrap_all .ec-job-detail-page__section.avia-shadow {
    box-shadow: none;
}

#top #wrap_all .ec-job-detail-page .avia-section .container,
#top #wrap_all .ec-job-detail-page .avia-section .entry-content-wrapper,
#top #wrap_all .ec-job-detail-page .avia-section .flex_column,
#top #wrap_all .ec-job-detail-page__section .container,
#top #wrap_all .ec-job-detail-page__section .entry-content-wrapper,
#top #wrap_all .ec-job-detail-page__section .flex_column {
    background-color: transparent;
}

#top #wrap_all .ec-job-detail-page .avia-section .av-section-cont-open,
#top #wrap_all .ec-job-detail-page__section .av-section-cont-open {
    background: transparent;
    box-shadow: none;
    border-top: 0;
}

.ec-job-supply {
    align-items: start;
    column-gap: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    padding: 72px 0 80px;
}

.ec-job-supply__header {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 32px;
    max-width: 700px;
}

.ec-job-supply__eyebrow {
    color: #006A66;
    font-weight: 700;
    font-size: var(--ec-type-small-size, 14px);
    letter-spacing: 0.08em;
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 12px;
    text-transform: uppercase;
}

#top #wrap_all .ec-job-detail-page .ec-job-supply__title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    text-transform: none;
    margin: 0 0 16px;
}

#top #wrap_all .ec-job-detail-page .ec-job-supply__description {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 400;
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0;
}

.ec-job-supply__layout {
    display: contents;
}

.ec-job-supply__primary-card,
.ec-job-supply__summary {
    background: #fff;
    border: 1px solid #D4D8DB;
    border-radius: 16px;
}

.ec-job-supply__primary-card {
    container: ec-supply-card / inline-size;
    grid-column: 1;
    grid-row: 2;
    padding: 32px;
}

.ec-job-supply__profile {
    align-items: start;
    border-bottom: 1px solid #E9EBEE !important;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.ec-job-supply__profile-main {
    align-items: center;
    display: flex;
    gap: 16px;
    min-width: 0;
}

.ec-job-supply__profile-icon-wrap {
    align-items: center;
    background: linear-gradient(135deg, #CBF1EB 0%, #9CE1D7 100%);
    border-radius: 16px;
    display: inline-flex;
    flex: 0 0 78px;
    height: 78px;
    justify-content: center;
}

.ec-job-supply__profile-icon {
    color: #006A66;
    display: inline-flex;
    height: 36px;
    width: 36px;
}

.ec-job-supply__profile-icon svg {
    height: 100%;
    width: 100%;
}

.ec-job-supply__profile-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

#top #wrap_all .ec-job-detail-page .ec-job-supply__profile-title {
    color: #0C1318;
    font-family: "EC Crimson Text", Georgia, serif;
    font-size: var(--ec-type-h5-size);
    font-weight: 400;
    line-height: var(--ec-type-h5-line);
    margin-bottom: 6px;
}

#top #wrap_all .ec-job-detail-page .ec-job-supply__profile-subtitle {
    color: #353B40;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    line-height: var(--ec-type-small-line, 1.4);
}

.ec-job-supply__profile-badge {
    background: #E7FAF7;
    border-radius: 18px;
    padding: 14px 16px;
    text-align: right;
}

.ec-job-supply__profile-badge-label {
    color: #6D7277;
    display: block;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    letter-spacing: 0.05em;
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ec-job-supply__profile-badge-value {
    color: #003838;
    display: block;
    font-family: "EC Crimson Text";
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.ec-job-supply__features {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 24px;
}

/* Reduce feature columns based on the actual card width (not the viewport) so
   the boxes never get cramped when the left column is narrow. */
@container ec-supply-card (max-width: 700px) {
    .ec-job-supply__features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@container ec-supply-card (max-width: 400px) {
    .ec-job-supply__features {
        grid-template-columns: 1fr;
    }
}

.ec-job-supply__feature {
    align-items: start;
    background: #FBF4EA;
    border-radius: 10px;
    display: flex;
    gap: 14px;
    min-height: 0;
    padding: 16px;
}

.ec-job-supply__feature-icon-wrap {
    align-items: center;
    background: #fff;
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 44px;
    height: 44px;
    justify-content: center;
}

.ec-job-supply__feature-icon {
    display: inline-flex;
    height: 20px;
    width: 20px;
}

.ec-job-supply__feature-icon svg {
    height: 100%;
    width: 100%;
}

.ec-job-supply__feature-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

.ec-job-supply__feature-copy {
    min-width: 0;
}

.ec-job-supply__feature-label {
    color: #6D7277;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    letter-spacing: 0.04em;
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.ec-job-supply__feature-value {
    color: #0C1318;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 500;
    line-height: var(--ec-type-small-line, 1.4);
}

.ec-job-supply__notice {
    align-items: center;
    background: #FFF0D4;
    border-radius: 10px;
    color: #353B40;
    display: flex;
    gap: 12px;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    line-height: var(--ec-type-small-line, 1.4);
    padding: 15px 18px;
}

.ec-job-supply__notice-icon {
    align-items: center;
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.ec-job-supply__notice-icon img {
    display: block;
    height: 100%;
    width: 100%;
}

.ec-job-supply__summary {
    align-self: start;
    grid-column: 2;
    grid-row: 1 / span 10;
    padding: 22px 22px 20px;
    position: sticky;
    top: var(--ec-sticky-top, 96px);
    z-index: 2;
}

/* The checklists section is moved into the supply grid (left column) by JS so
   the summary can be natively sticky across both. */
.ec-job-supply .ec-job-checklists {
    grid-column: 1;
    grid-row: 3;
    margin-top: 32px;
    max-width: none;
}

#top #wrap_all .ec-job-detail-page .ec-job-supply__summary-title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 14px;
}

.ec-job-supply__summary-rows {
    margin-bottom: 18px;
}

.ec-job-supply__summary-row {
    align-items: center;
    border-bottom: 1px solid #E9EBEE !important;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 50px;
}

.ec-job-supply__summary-label {
    color: #6D7277;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.ec-job-supply__summary-value {
    color: #0C1318;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

.ec-job-supply__summary-row.is-salary .ec-job-supply__summary-value {
    color: #006A66;
    font-weight: 500;
    font-size: 16px;
    font-family: "EC Crimson Text";
}

.ec-job-supply__summary-row.is-salary {
    border-bottom: 0 !important;
}

.ec-job-supply__summary-button {
    align-items: center;
    background: #006A66;
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    gap: 5px;
    justify-content: center;
    margin-bottom: 16px;
    min-height: 56px;
    padding: 16px 26px;
    text-decoration: none !important;
    width: 100%;
}

.ec-job-supply__summary-button span {
    color: #fff;
}

.ec-job-supply__summary-button::before {
    content: unset !important;
}


.ec-job-supply__summary-button img {
    filter: brightness(0) invert(1);
    height: 18px;
    width: 18px;
}

.ec-job-supply__summary-response {
    color: #6D7277;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 400;
    line-height: var(--ec-type-body-line, 1.5);
    text-align: center;
}

.ec-job-supply__summary-response::before {
    color: #F6B100;
    content: "⚡";
    margin-right: 4px;
}

#top #wrap_all .ec-job-detail-page .ec-job-checklists__title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 0 28px;
    text-transform: none;
}

.ec-job-checklists__list {
    display: block;
}

.ec-job-checklists__list--tasks {
    margin-bottom: 68px;
}

.ec-job-checklists__item {
    align-items: flex-start;
    border-bottom: 1px solid #E9EBEE;
    column-gap: 16px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    min-height: 52px;
    padding: 12px 0;
}

.ec-job-checklists__list .ec-job-checklists__item:last-child {
    border-bottom: 0;
}

.ec-job-checklists__icon {
    align-items: center;
    background-color: #00857D;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 22px;
    height: 22px;
    justify-content: center;
    margin-top: 2px;
    width: 22px;
}

.ec-job-checklists__icon img {
    display: block;
    height: 12px;
    width: 12px;
}

.ec-job-checklists__text {
    color: #0C1318;
    display: block;
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 400;
    line-height: var(--ec-type-body-line, 1.5);
}

.ec-job-checklists__requirements {
    align-items: start;
    column-gap: 32px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1fr;
}

.ec-job-checklists__side-title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h4-size, 25px);
    font-weight: 400;
    line-height: var(--ec-type-h4-line, 1.3);
    margin: 16px 0 18px;
}

.ec-job-checklists__item--optional .ec-job-checklists__icon {
    background-color: #C2C8CD;
}

.ec-job-checklists__switch {
    background-color: #FBF4EA;
    border-radius: 999px;
    display: none;
    gap: 4px;
    margin-bottom: 24px;
    padding: 6px;
}

.ec-job-checklists__switch-btn {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 999px;
    color: #0C1318;
    cursor: pointer;
    flex: 1 1 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    padding: 12px 16px;
    text-align: center;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.ec-job-checklists__switch-btn.is-active {
    background-color: #fff;
    box-shadow: 0 6px 16px rgba(12, 19, 24, 0.08);
}

.ec-job-benefits {
    padding: 56px 0 80px;
}

.ec-job-benefits__eyebrow {
    color: #006A66;
    font-weight: 700;
    font-size: var(--ec-type-small-size, 14px) !important;
    letter-spacing: 0.08em;
    line-height: var(--ec-type-small-line, 1.4) !important;
    margin: 0 0 12px;
    text-transform: uppercase;
}

#top #wrap_all .ec-job-detail-page .ec-job-benefits__title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 0 36px;
    text-transform: none;
}

.ec-job-benefits__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ec-job-benefits__card {
    align-items: start;
    background: #FFF;
    border: 1px solid #D4D8DB;
    border-radius: 12px;
    column-gap: 18px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 26px 28px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ec-job-benefits__card:hover {
    background: linear-gradient(103deg, #E7FAF7 0%, #FFF 100%);
    border-color: #5CC6B9;
}

.ec-job-benefits__icon {
    align-items: center;
    background-color: #00857D;
    border-radius: 50%;
    display: inline-flex;
    flex: 0 0 40px;
    height: 40px;
    justify-content: center;
    margin-top: 2px;
    width: 40px;
}

.ec-job-benefits__icon img {
    display: block;
    height: 18px;
    width: 18px;
}

.ec-job-benefits__content {
    min-width: 0;
}

#top #wrap_all .ec-job-detail-page .ec-job-benefits__card-title {
    color: #0C1318;
    font-family: inherit;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 8px;
    text-transform: none;
}

.ec-job-benefits__card-text {
    color: #353B40;
    font-size: var(--ec-type-small-size, 14px) !important;
    font-weight: 400;
    line-height: var(--ec-type-small-line, 1.4) !important;
    margin: 0;
}


#top #wrap_all .ec-job-detail-page .ec-job-process__title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 0 20px;
    text-transform: none;
}

.ec-job-process__grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.ec-job-process__step {
    background: #FFF;
    border: 1px solid #D4D8DB;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 28px 24px;
}

/* Override Enfold .entry-content-wrapper li indentation/padding */
#top #wrap_all .ec-job-detail-page .ec-job-process__grid>.ec-job-process__step {
    margin: 0;
    padding: 28px 24px;
}

.ec-job-process__marker {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.ec-job-process__number {
    align-items: center;
    background-color: #006A66;
    border-radius: 50%;
    color: #FFF;
    display: inline-flex;
    flex: 0 0 44px;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 600;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.ec-job-process__content {
    min-width: 0;
}

#top #wrap_all .ec-job-detail-page .ec-job-process__step-title {
    color: #0C1318;
    font-family: inherit;
    font-size: var(--ec-type-body-size, 18px);
    line-height: var(--ec-type-body-line, 1.5);
    font-weight: 400;
    margin: 0 0 8px;
    text-transform: none;
}

.ec-job-process__step-text {
    color: #353B40;
    font-size: var(--ec-type-small-size, 14px) !important;
    line-height: var(--ec-type-small-line, 1.4) !important;
    font-weight: 400;
    margin: 0;
}

.ec-job-application {
    /* Match the width of the "Deine Aufgaben" column (full width minus the
       350px summary column and its 50px gap in the supply grid). */
    max-width: calc(100% - 400px);
    padding: 56px 0 80px;
}

.ec-job-application__eyebrow {
    color: #006A66;
    font-size: var(--ec-type-small-size, 14px);
    letter-spacing: 0.08em;
    line-height: var(--ec-type-small-line, 1.4);
    margin: 0 0 12px;
    text-transform: uppercase;
}

#top #wrap_all .ec-job-detail-page .ec-job-application__title {
    color: #0C1318;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 0 12px;
    text-transform: none;
}

.ec-job-application__subtitle {
    color: #353B40;
    font-size: var(--ec-type-body-size, 18px);
    font-weight: 400;
    line-height: var(--ec-type-body-line, 1.5);
    margin: 0 0 28px;
    max-width: 720px;
}

.ec-job-application__card {
    background: #FFF;
    border: 1px solid #D4D8DB;
    border-radius: 16px;
    padding: 32px;
}

.ec-job-application__badges {
    border-top: 1px solid #E9EBEE;
    color: #6D7277;
    column-gap: 24px;
    display: flex;
    flex-wrap: wrap;
    margin-top: 24px;
    padding-top: 20px;
    row-gap: 12px;
}

.ec-job-application__badge {
    align-items: center;
    color: #353B40;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    gap: 8px;
    line-height: 1.3;
}

.ec-job-application__badge-icon {
    color: #006A66;
    display: inline-flex;
    flex: 0 0 18px;
    height: 18px;
    width: 18px;
}

.ec-job-application__badge-icon svg {
    height: 100%;
    width: 100%;
}

/* HubSpot (classic v2 embed) form styling to match the page look.
   HubSpot adds inline widths/margins, so !important is required. */
.ec-job-application__form .hs-form fieldset {
    max-width: none !important;
    margin-bottom: 0;
}

/* Multi-column rows (e.g. Vorname / Nachname) */
.ec-job-application__form .hs-form .form-columns-2,
.ec-job-application__form .hs-form .form-columns-3 {
    column-gap: 18px;
    display: flex;
    flex-wrap: wrap;
}

.ec-job-application__form .hs-form .form-columns-2>.hs-form-field {
    flex: 1 1 0;
    min-width: 0;
    width: auto !important;
}

.ec-job-application__form .hs-form .form-columns-3>.hs-form-field {
    flex: 1 1 30%;
    min-width: 0;
    width: auto !important;
}

.ec-job-application__form .hs-form-field {
    margin-bottom: 18px;
    width: 100% !important;
}

.ec-job-application__form .hs-form-field>label {
    color: #0C1318;
    display: block;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 500;
    margin-bottom: 8px;
}

.ec-job-application__form .hs-form-field>label .hs-form-required {
    color: #006A66;
    margin-left: 2px;
}

.ec-job-application__form .input {
    margin: 0 !important;
}

.ec-job-application__form .hs-input:not([type="checkbox"]):not([type="radio"]) {
    background: #FFFBF4 !important;
    border: 1px solid #D9DCE0 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    box-sizing: border-box;
    color: #0C1318;
    font-size: 16px;
    height: auto;
    padding: 14px 16px !important;
    width: 100% !important;
}

.ec-job-application__form textarea.hs-input {
    min-height: 120px;
}

.ec-job-application__form .hs-input:focus {
    border-color: #006A66 !important;
    outline: none;
}

.ec-job-application__form .hs-fieldtype-intl-phone.hs-input {
    background: transparent !important;
    border: 0 !important;
    padding: 0 !important;
}

.ec-job-application__form .legal-consent-container,
.ec-job-application__form .hs-richtext {
    color: #353B40;
    font-size: var(--ec-type-small-size, 14px);
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 16px;
}

.ec-job-application__form .hs_submit .actions {
    margin: 8px 0 0;
    padding: 0;
}

.ec-job-application__form .hs-button {
    background: #006A66 !important;
    border: 0 !important;
    border-radius: 999px !important;
    color: #FFF !important;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px !important;
    transition: background-color 0.2s ease;
    width: auto;
}

.ec-job-application__form .hs-button:hover {
    background: #00504F !important;
}

.ec-job-application__form .hs-error-msg,
.ec-job-application__form .hs-error-msgs label {
    color: #C0392B;
    font-size: 13px;
}

.ec-job-detail-hero {
    background: linear-gradient(105deg, #E7FAF7 0%, #FBF4EA 80%);
    overflow: hidden;
    padding: 56px 0 64px;
    position: relative;
}

/* Hero intro: pure-CSS staggered entrance that plays immediately on load
   (no JS / observer needed, so it is reliable above the fold). */
@keyframes ecHeroReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: no-preference) {

    .ec-job-detail-hero__state,
    .ec-job-detail-hero__title,
    .ec-job-detail-hero__subtitle,
    .ec-job-detail-hero__meta,
    .ec-job-detail-hero__actions,
    .ec-job-detail-hero .ec-job-detail-contact {
        animation: ecHeroReveal 0.6s ease both;
    }

    .ec-job-detail-hero__state {
        animation-delay: 0.05s;
    }

    .ec-job-detail-hero__title {
        animation-delay: 0.15s;
    }

    .ec-job-detail-hero__subtitle {
        animation-delay: 0.25s;
    }

    .ec-job-detail-hero__meta {
        animation-delay: 0.35s;
    }

    .ec-job-detail-hero__actions {
        animation-delay: 0.45s;
    }

    .ec-job-detail-hero .ec-job-detail-contact {
        animation-delay: 0.55s;
    }
}

.ec-job-detail-hero::after {
    background: #CBF1EB;
    border-radius: 50%;
    content: "";
    filter: blur(30px);
    height: 500px;
    opacity: 0.5;
    pointer-events: none;
    position: absolute;
    right: -72px;
    top: -54px;
    width: 500px;
    z-index: 0;
}

.ec-job-detail-hero__grid {
    align-items: start;
    column-gap: 64px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    position: relative;
    z-index: 1;
}

.ec-job-detail-hero__content {
    max-width: 760px;
}

.ec-job-detail-hero__state {
    align-items: center;
    background: #fff2df;
    border-radius: 999px;
    color: #7f4600;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    font-weight: 700;
    gap: 10px;
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 26px;
    padding: 12px 18px;
}

.ec-job-detail-hero__state::before {
    background: currentColor;
    border-radius: 50%;
    content: "";
    flex-shrink: 0;
    height: 6px;
    width: 6px;
}

.ec-job-detail-hero__state--flexibel {
    background: #e7faf7;
    color: #005b2d;
    border: 1px solid #005b2d;
}

#top #wrap_all .ec-job-detail-page h1.ec-job-detail-hero__title {
    color: #0c1318;
    font-size: var(--ec-type-h1-size, 50px);
    font-weight: 400;
    line-height: var(--ec-type-h1-line, 1.15);
    margin: 0 0 6px;
}

#top #wrap_all .ec-job-detail-page .ec-job-detail-hero__subtitle {
    color: #006a66;
    font-family: "EC Crimson Text";
    font-size: var(--ec-type-h2-size, 40px);
    font-weight: 400;
    line-height: var(--ec-type-h2-line, 1.15);
    margin: 0 0 28px;
}

.ec-job-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.ec-job-detail-hero__pill {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    gap: 10px;
    line-height: var(--ec-type-small-line, 1.4);
    min-height: 44px;
    padding: 10px 18px;
}

.ec-job-detail-hero__pill img {
    height: 18px;
    width: 18px;
}

.ec-job-detail-hero__pill--light {
    background: #fff;
    border: 1px solid #d4d8db;
    color: #0c1318;
}

.ec-job-detail-hero__pill--dark {
    background: #00504F;
    color: #fff;
}

.ec-job-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ec-job-detail-hero__button {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 16px;
    font-weight: 400;
    gap: 10px;
    justify-content: center;
    min-height: 56px;
    padding: 16px 26px;
    text-decoration: none !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease, border-color 0.22s ease;
}

.ec-job-detail-hero__button img {
    height: 18px;
    width: 18px;
}

.ec-job-detail-hero__button--primary {
    background: #006A66;
    color: #fff !important;
}

.ec-job-detail-hero__button--primary span {
    color: #fff;
}

.ec-job-detail-hero__button--primary::before {
    content: unset !important;
}

.ec-job-detail-hero__button--primary img {
    filter: brightness(0) invert(1);
}

.ec-job-detail-hero__button--secondary {
    cursor: pointer;
    background: transparent;
    border: 1px solid #9CE1D7;
    color: #00504F;
}

.ec-job-detail-hero__button:hover,
.ec-job-detail-hero__button:focus-visible {
    box-shadow: 0 16px 28px rgba(12, 19, 24, 0.1);
    transform: translateY(-2px);
}

.ec-job-detail-contact-section {
    display: none;
    padding: 40px 0 56px;
}

.ec-job-detail-contact--mobile {
    width: 100%;
}

.ec-job-detail-contact {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #d4d8db;
    border-radius: 18px;
    box-shadow: 0 4px 16px 0 rgba(20, 40, 50, 0.06), 0 1px 2px 0 rgba(20, 40, 50, 0.04);
    padding: 24px 22px 20px;
}

.ec-job-detail-contact__eyebrow {
    color: #6D7277;
    font-size: var(--ec-type-small-size, 14px);
    letter-spacing: 0.08em;
    line-height: var(--ec-type-small-line, 1.4);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.ec-job-detail-contact__person {
    align-items: center;
    border-bottom: 1px solid #e4e8eb;
    display: flex;
    gap: 14px;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.ec-job-detail-contact__avatar {
    align-items: center;
    background: #00857D;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex-shrink: 0;
    font-size: 18px;
    font-family: "EC Crimson Text";
    font-weight: 700;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.ec-job-detail-contact__name {
    color: #0c1318;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 3px;
}

.ec-job-detail-contact__role {
    color: #6d7277;
    font-size: var(--ec-type-small-size, 14px);
    line-height: var(--ec-type-small-line, 1.4);
}

.ec-job-detail-contact__links {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.ec-job-detail-contact__link {
    align-items: center;
    background: #FBF4EA;
    border-radius: 8px;
    color: #003838 !important;
    display: inline-flex;
    font-size: 16px;
    gap: 10px;
    line-height: 1.3;
    min-height: 48px;
    padding: 12px 16px;
    text-decoration: none !important;
}

.ec-job-detail-contact__link img {
    flex-shrink: 0;
    height: 18px;
    width: 18px;
}

.ec-job-detail-contact__link::before {
    content: unset !important;
}

.ec-job-detail-contact__response {
    align-items: center;
    background: #fff2d8;
    border-radius: 8px;
    color: #353B40;
    display: inline-flex;
    font-size: var(--ec-type-small-size, 14px);
    gap: 10px;
    line-height: var(--ec-type-small-line, 1.4);
    min-height: 48px;
    padding: 10px 16px;
    width: 100%;
}

.ec-job-detail-contact__response::before {
    content: "⚡";
}

@media (max-width: 989px) {
    .ec-job-application {
        max-width: none;
    }

    /* Supply collapses to a single column: undo the sticky / grid placement and
       restore the natural stacking order (summary, header, primary card, checklists). */
    .ec-job-supply .ec-job-checklists {
        grid-column: auto;
        grid-row: auto;
        margin-top: 24px;
        order: 4;
    }

    .ec-job-process__grid {
        gap: 0;
        grid-template-columns: 1fr;
    }

    .ec-job-process__step {
        background: transparent;
        border: 0;
        border-radius: 0;
        column-gap: 20px;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
    }

    #top #wrap_all .ec-job-detail-page .ec-job-process__grid>.ec-job-process__step {
        padding: 0;
    }

    .ec-job-process__marker {
        align-items: center;
        margin-bottom: 0;
    }

    .ec-job-process__marker::after {
        background: #B9DED8;
        content: "";
        flex: 1 1 auto;
        min-height: 12px;
        width: 2px;
    }

    .ec-job-process__step:last-child .ec-job-process__marker::after {
        flex: 0 0 auto;
        height: 18px;
    }

    .ec-job-process__content {
        padding: 2px 0 28px;
    }

    .ec-job-process__step:last-child .ec-job-process__content {
        padding-bottom: 18px;
    }

    .ec-job-supply {
        display: flex;
        flex-direction: column;
        padding: 56px 0;
    }

    .ec-job-supply__layout {
        display: contents;
    }

    .ec-job-supply__summary {
        margin-bottom: 28px;
        order: 1;
        position: static;
        width: 100%;
    }

    .ec-job-supply__header {
        order: 2;
    }

    .ec-job-supply__primary-card {
        order: 3;
        width: 100%;
    }

    .ec-job-checklists__list--tasks {
        margin-bottom: 52px;
    }

    .ec-job-checklists__item {
        border-bottom: 0;
        min-height: 0;
        padding: 6px 0;
    }

    .ec-job-checklists__requirements {
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .ec-job-checklists__side-title {
        margin-top: 0;
    }

    .ec-job-checklists__requirements[data-ec-checklists-switch] .ec-job-checklists__switch {
        display: flex;
    }

    .ec-job-checklists__requirements[data-ec-checklists-switch] .ec-job-checklists__side-title {
        display: none;
    }

    .ec-job-checklists__requirements[data-active-panel="requirements"] [data-panel="optional"] {
        display: none;
    }

    .ec-job-checklists__requirements[data-active-panel="optional"] [data-panel="requirements"] .ec-job-checklists__list {
        display: none;
    }

    .ec-job-detail-hero {
        padding: 44px 0 48px;
    }

    .ec-job-detail-hero__grid {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    .ec-job-detail-hero .ec-job-detail-contact {
        display: none;
    }

    .ec-job-detail-contact-section {
        display: block;
    }
}

@media (max-width: 767px) {
    .ec-job-supply {
        padding: 36px 0 44px;
    }

    .ec-job-application {
        padding: 36px 0 48px;
    }

    .ec-job-application__card {
        padding: 22px 18px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-application__title {
        margin-bottom: 10px;
    }

    .ec-job-application__form .hs-form .form-columns-2,
    .ec-job-application__form .hs-form .form-columns-3 {
        display: block;
    }

    .ec-job-application__form .hs-button {
        width: 100% !important;
    }

    .ec-job-benefits {
        padding: 36px 0 48px;
    }

    .ec-job-benefits__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-benefits__title {
        margin-bottom: 24px;
    }

    .ec-job-benefits__card {
        padding: 20px 22px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-benefits__card-title {
        font-size: 18px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-process__title {
        margin-bottom: 24px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-checklists__title {
        margin-bottom: 20px;
    }

    .ec-job-checklists__list--tasks {
        margin-bottom: 40px;
    }

    .ec-job-checklists__item {
        column-gap: 14px;
        grid-template-columns: 20px minmax(0, 1fr);
        min-height: 0;
        padding: 6px 0;
    }

    .ec-job-checklists__icon {
        height: 20px;
        width: 20px;
    }

    .ec-job-checklists__text {
        font-size: 17px;
    }

    .ec-job-checklists__side-title {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 14px;
    }

    .ec-job-supply__header {
        margin-bottom: 24px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-supply__title {
        margin-bottom: 12px;
    }

    .ec-job-supply__primary-card,
    .ec-job-supply__summary {
        border-radius: 20px;
    }

    .ec-job-supply__primary-card {
        padding: 22px;
    }

    .ec-job-supply__profile {
        gap: 18px;
        margin-bottom: 22px;
        padding-bottom: 22px;
        flex-direction: column;
    }

    .ec-job-supply__profile-main {
        align-items: start;
    }

    .ec-job-supply__profile-icon-wrap {
        border-radius: 20px;
        flex-basis: 72px;
        height: 72px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-supply__profile-title {
        margin-bottom: 4px;
    }

    .ec-job-supply__profile-badge {
        flex: 0 0 auto;
        padding: 14px 16px;
        text-align: left;
        width: 100%;
    }

    .ec-job-supply__features {
        margin-bottom: 22px;
    }

    .ec-job-supply__feature {
        min-height: 0;
        padding: 16px;
    }

    .ec-job-supply__notice {
        align-items: start;
        padding: 14px 16px;
    }

    .ec-job-supply__summary {
        padding: 22px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-supply__summary-title {
        margin-bottom: 18px;
    }

    .ec-job-supply__summary-row {
        min-height: 56px;
    }

    .ec-job-detail-page {
        --ec-type-h1-size: 34px;
        --ec-type-h1-line: 1.15;
        --ec-type-h2-size: 28px;
        --ec-type-h2-line: 1.15;
        --ec-type-h3-size: 24px;
        --ec-type-h3-line: 1.25;
        --ec-type-body-size: 17px;
        --ec-type-body-line: 1.5;
    }

    .ec-job-detail-hero {
        padding: 36px 0 40px;
    }

    .ec-job-detail-hero::after {
        filter: none;
        height: 200px;
        right: -42px;
        top: -18px;
        width: 200px;
    }

    #top #wrap_all .ec-job-detail-page h1.ec-job-detail-hero__title {
        margin-bottom: 10px;
    }

    #top #wrap_all .ec-job-detail-page .ec-job-detail-hero__subtitle {
        margin-bottom: 24px;
    }

    .ec-job-detail-hero__meta {
        display: flex;
        gap: 8px;
        margin-bottom: 20px;
    }

    .ec-job-detail-hero__pill {
        padding: 10px 16px;
    }

    .ec-job-detail-hero__actions {
        align-items: center;
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .ec-job-detail-hero__button--primary {
        flex: 1 1 auto;
        min-width: 0;
    }

    .ec-job-detail-hero__button--secondary {
        border-radius: 50%;
        flex: 0 0 56px;
        min-height: 56px;
        min-width: 56px;
        padding: 0;
    }

    .ec-job-detail-hero__button--secondary span:last-child {
        display: none;
    }

}

@media (prefers-reduced-motion: reduce) {
    .ec-job-detail-hero__button {
        transition: none;
    }

    /* Safety: never keep content hidden when motion is reduced. */
    .ec-job-detail-page.ec-anim-ready .ec-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===== Reveal on scroll / load ===== */
.ec-job-detail-page.ec-anim-ready .ec-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ec-job-detail-page.ec-anim-ready .ec-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ===== Hover micro-interactions (pointer devices only) ===== */
@media (hover: hover) {

    .ec-job-detail-hero__button,
    .ec-job-supply__summary-button,
    .ec-job-detail-contact__link,
    .ec-job-application__form .hs-button {
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    }

    .ec-job-detail-hero__button--primary:hover,
    .ec-job-supply__summary-button:hover,
    .ec-job-application__form .hs-button:hover {
        box-shadow: 0 10px 22px rgba(0, 80, 79, 0.22);
        transform: translateY(-2px);
    }

    .ec-job-detail-hero__button--secondary:hover {
        transform: translateY(-2px);
    }

    .ec-job-detail-hero__button img,
    .ec-job-supply__summary-button img {
        transition: transform 0.2s ease;
    }

    .ec-job-detail-hero__button--primary:hover img,
    .ec-job-supply__summary-button:hover img {
        transform: translateX(3px);
    }

    .ec-job-detail-contact__link:hover {
        border-color: #9CD9D0;
        transform: translateY(-1px);
    }

    .ec-job-benefits__card,
    .ec-job-supply__feature {
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.2s ease;
    }

    .ec-job-benefits__card:hover,
    .ec-job-supply__feature:hover {
        box-shadow: 0 12px 26px rgba(12, 19, 24, 0.08);
        transform: translateY(-3px);
    }
}

@media (hover: hover) and (min-width: 990px) {
    .ec-job-process__step {
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .ec-job-process__step:hover {
        box-shadow: 0 12px 26px rgba(12, 19, 24, 0.08);
        transform: translateY(-3px);
    }
}