.career > .vc_row,
.career > .vc_row > .vc_column_container {
    max-width: 100vw;
}

/* Native Xleb typography, spacing and outlined/M form match the homepage. */
@media (min-width: 768px) {
    .page-id-57 .career-photo-gallery .xleb-illustration {
        aspect-ratio: 2560 / 1180;
        object-fit: cover;
    }
}

.page-id-57 .career-reviews .reviews-item .description-wrapper > :first-child {
    font-weight: var(--titleWeight);
}

/* Legacy child label rules hide the native file control; restore its label. */
.page-id-57 .career-resume .xleb-form .file-field > label {
    display: flex !important; /* The legacy child selector hides all field labels. */
}

.page-id-57 .career-resume .file-field:focus-within > label {
    outline: 2px solid var(--primary500);
    outline-offset: 4px;
}

.page-id-57 .navigation-slider{
    display: none !important;
}

.page-id-57 .slider-controls{
    justify-content: center;
}

.page-id-57 .slider-controls .swiper-pagination{
    justify-content: center;
}

/* Compact phone benefit rows keep each icon and label on one line. */
@media (max-width: 767px) {
    .career-benefit-list {
        align-items: center;
    }

    .career-benefit-list > .vc_column_container {
        justify-content: center;
    }

    .career-benefits .titleXXS {
        --titleXXSsize: var(--textMsize);
        --titleXXSheightT: var(--textMheightT);
        --titleXXStopT: 0px;
        --titleXXSbottomT: 0px;
    }

    .career-benefits h3 {
        white-space: nowrap;
    }
}

@media (max-width: 359px) {
    .career-benefits .titleXXS {
        --titleXXSsize: var(--textSsize);
        --titleXXSheightT: var(--textSheightT);
    }
}

/* Keep the number, accordion heading and toggle on the same mobile line. */
@media (max-width: 991px) {
    .career-values .accordion-title {
        min-height: var(--titleLheightT);
        padding-block: 0;
    }

    .career-values .titleL > p,
    .career-values .accordion-title-text {
        margin-block: 0;
    }
}

/* Full review copy stays in the component; JS adds controls only when needed. */
.career-reviews .lead.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}

.career-reviews .career-review-toggle {
    appearance: none;
    padding: 0;
    margin-top: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: var(--textFont);
    font-size: var(--textMsize);
    line-height: var(--textMheightT);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.career-reviews .career-review-toggle[hidden] {
    display: none;
}

/* Tight text uses negative paragraph margins; keep all four lines inside the clip. */
.career-reviews .lead.is-collapsed > p {
    margin-block: 0;
}

.page-id-57 .career-reviews .reviews-item .description-wrapper {
    row-gap: var(--gapX1);
}

/* Phone review cards keep a next-slide preview without pagination controls. */
@media (max-width: 767px) {
    .career-reviews .slider-controls {
        display: none;
    }
}

/* Career value headings align with their numbers in the open desktop state. */
@media (min-width: 992px) {
    .career-values .accordion-title {
        min-height: var(--titleLheightT);
        padding-block: 0;
    }

    .career-values .titleL > p,
    .career-values .accordion-title-text {
        margin-block: 0;
    }
}

.career-values .accordion-content > .textM > :first-child {
    margin-top: 0;
}

.career-values .accordion-content > .textM > :last-child {
    margin-bottom: 0;
}

/* Use the existing Phosphor light minus for an expanded value. */
.career-values .accordion-title[aria-expanded="true"] .ph-plus::before {
    content: "\e32a";
}
