.cl-careers {
    --cl-accent: #F05E3E;
    --cl-ink: #333333;
    --cl-ink-strong: #3E3E3E;
    --cl-muted: #676767;
    --cl-line: #E2E2E2;
    --cl-ground: #F4F4F4;
    --cl-field-line: #BDBDBD;
    --cl-shadow: 0 2px 28px rgba(51, 51, 51, 0.12);
    --cl-radius: 20px;
    color: var(--cl-ink);
    font-family: 'Montserrat', sans-serif;
}

.cl-careers .cl-crumb {
    margin-bottom: 0;
}
.cl-careers .cl-crumb .page-breadcrumb {
    padding-top: 48px;
}

/* Buttons: theme-btn stays sharp, as everywhere on the site */
.cl-careers .cl-btn {
    display: inline-block;
    border-radius: 0;
    padding: 14px 36px;
    font-size: 15px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.cl-careers .cl-btn--sm {
    padding: 10px 26px;
    font-size: 14px;
}
.cl-careers .cl-btn:focus-visible,
.cl-careers .cl-link:focus-visible {
    outline: 2px solid var(--cl-accent);
    outline-offset: 3px;
}
.cl-careers .cl-link {
    color: var(--cl-ink);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--cl-accent);
    transition: color 0.2s ease;
}
.cl-careers .cl-link:hover {
    color: var(--cl-accent);
}

/* Hero */
.cl-hero {
    padding: 40px 0 0;
}
.cl-hero__copy {
    max-width: 520px;
    padding-right: 24px;
}
.cl-hero__title {
    font-size: 60px;
    line-height: 1.06;
    letter-spacing: -1.6px;
    font-weight: 700;
    color: var(--cl-ink);
    margin: 0 0 28px;
}
.cl-hero__text {
    font-size: 20px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--cl-muted);
    margin: 0 0 44px;
    max-width: 470px;
}
.cl-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 36px;
}
.cl-hero__media {
    position: relative;
}
.cl-hero__img {
    display: block;
    width: 100%;
    height: 580px;
    object-fit: cover;
    object-position: 72% 50%;
}
.cl-hero__card {
    position: absolute;
    left: -72px;
    bottom: -64px;
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 30px 40px 30px 34px;
    background-color: #fff;
    border-radius: var(--cl-radius);
    box-shadow: var(--cl-shadow);
}
.cl-hero__num {
    font-size: 76px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
    color: var(--cl-accent);
}
.cl-hero__num-label {
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--cl-ink);
}

/* Image bleeds from the column edge to the viewport edge. Positioned against the
   full-width section (not vw) because the theme zooms <body> on desktop. */
@media (min-width: 992px) {
    .cl-hero { position: relative; }
    .cl-hero > .container > .row { min-height: 580px; }
    .cl-hero__media {
        position: absolute;
        top: 40px;
        left: calc(50% + 12px);
        right: 0;
    }
}

/* Section heads */
.cl-section-head {
    max-width: 640px;
    margin-bottom: 56px;
}
.cl-section-title {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: -1.2px;
    font-weight: 700;
    color: var(--cl-ink);
    margin: 0 0 16px;
}
.cl-section-text {
    font-size: 20px;
    line-height: 1.55;
    font-weight: 500;
    color: var(--cl-muted);
    margin: 0;
}

/* Open positions */
.cl-roles {
    padding: 200px 0 150px;
    scroll-margin-top: 90px;
}
.cl-roles__head,
.cl-role {
    display: grid;
    grid-template-columns: 2fr 1.7fr 1.3fr 1.1fr 0.8fr 120px;
    column-gap: 28px;
    align-items: center;
}
.cl-roles__head {
    padding-bottom: 18px;
    border-bottom: 2px solid var(--cl-ink);
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--cl-muted);
}
.cl-role {
    padding: 34px 0;
    border-bottom: 1px solid var(--cl-line);
}
.cl-role__title {
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    font-weight: 700;
    color: var(--cl-accent);
    margin: 0;
}
.cl-role__cell {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: var(--cl-ink);
}
.cl-role__action {
    text-align: right;
}
.cl-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.cl-roles__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px 32px;
    margin-top: 44px;
}
.cl-roles__foot p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--cl-muted);
}

/* Apply */
.cl-apply {
    background-color: var(--cl-ground);
    padding: 140px 0 150px;
    scroll-margin-top: 90px;
}
.cl-apply__intro {
    padding-right: 32px;
    margin-bottom: 48px;
}
.cl-apply__note {
    margin: 36px 0 0;
    padding-top: 22px;
    border-top: 1px solid var(--cl-field-line);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--cl-muted);
}
.cl-form-card {
    background-color: #fff;
    border-radius: var(--cl-radius);
    box-shadow: var(--cl-shadow);
    padding: 60px 64px 56px;
}

/* Form */
.cl-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px 40px;
    align-items: end;
}
.cl-field {
    position: relative;
    min-width: 0;
}
.cl-field--full {
    grid-column: 1 / -1;
}
.cl-careers .wpcf7-form-control-wrap {
    display: block;
}
.cl-careers .cl-form .form-control {
    width: 100%;
    padding: 10px 0;
    font-size: 18px;
    line-height: 26px;
    font-weight: 400;
    color: var(--cl-ink);
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid var(--cl-field-line);
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.2s ease;
}
.cl-careers .cl-form .form-control::placeholder {
    color: #767676;
    opacity: 1;
}
.cl-careers .cl-form .form-control:focus {
    border-bottom-color: var(--cl-accent);
    outline: none;
}
.cl-careers .cl-form select.form-control {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 28px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23333333' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4px center;
}
.cl-careers .cl-form textarea.form-control {
    height: 96px;
    min-height: 96px;
    resize: vertical;
}
.cl-file-label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--cl-muted);
}
.cl-careers .cl-form input[type='file'] {
    display: block;
    width: 100%;
    padding: 0 0 12px;
    font-size: 15px;
    color: var(--cl-muted);
    border-bottom: 1px solid var(--cl-field-line);
    cursor: pointer;
}
.cl-careers .cl-form input[type='file']::file-selector-button {
    margin-right: 16px;
    padding: 8px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--cl-ink);
    background-color: #fff;
    border: 1px solid var(--cl-ink);
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.cl-careers .cl-form input[type='file']::file-selector-button:hover {
    color: #fff;
    background-color: var(--cl-ink);
}
.cl-consent .wpcf7-list-item {
    margin: 0;
}
.cl-consent label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}
.cl-consent input[type='checkbox'] {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--cl-accent);
}
.cl-consent .wpcf7-list-item-label {
    font-size: 14px;
    line-height: 1.55;
    color: var(--cl-muted);
}
.cl-submit {
    display: flex;
    align-items: center;
    gap: 16px;
}
.cl-careers .cl-form .wpcf7-submit {
    cursor: pointer;
}
.cl-careers .wpcf7-not-valid-tip {
    position: static;
    margin-top: 6px;
    font-size: 13px;
    color: #C0392B;
}
.cl-careers .wpcf7-not-valid-tip ~ .wpcf7-not-valid-tip {
    display: none;
}
.cl-careers .wpcf7 form .wpcf7-response-output {
    margin: 32px 0 0;
    padding: 14px 18px;
    font-size: 15px;
    line-height: 1.5;
    border-width: 1px;
}

/* Tablet */
@media (max-width: 1199px) {
    .cl-hero__title { font-size: 52px; }
    .cl-roles__head,
    .cl-role { grid-template-columns: 1.8fr 1.7fr 1.3fr 1.1fr 0.9fr 110px; column-gap: 20px; }
}
@media (max-width: 991px) {
    .cl-hero__copy { max-width: none; padding-right: 0; margin-bottom: 48px; }
    .cl-hero__img { height: 440px; }
    .cl-hero__card { left: 24px; bottom: -48px; }
    .cl-roles { padding: 150px 0 110px; }
    .cl-roles__head { display: none; }
    .cl-role {
        grid-template-columns: repeat(4, 1fr);
        row-gap: 20px;
        align-items: start;
        padding: 30px 0;
    }
    .cl-role__main,
    .cl-role__action { align-self: center; }
    .cl-roles__table { border-top: 2px solid var(--cl-ink); }
    .cl-role__main { grid-column: 1 / -2; }
    .cl-role__action { grid-column: -2 / -1; grid-row: 1; }
    .cl-role__cell::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--cl-muted);
    }
    .cl-apply { padding: 100px 0 110px; }
    .cl-apply__intro { padding-right: 0; max-width: 560px; }
}

/* Mobile */
@media (max-width: 767px) {
    .cl-careers .cl-crumb .page-breadcrumb { padding-top: 24px; }
    .cl-hero { padding-top: 24px; }
    .cl-hero__title { font-size: 40px; letter-spacing: -1px; margin-bottom: 20px; }
    .cl-hero__text { font-size: 17px; margin-bottom: 32px; }
    .cl-hero__media { margin-left: -30px; margin-right: -30px; }
    .cl-hero__img { height: 300px; }
    .cl-hero__card {
        position: relative;
        left: auto;
        bottom: auto;
        margin: -44px 20px 0;
        padding: 22px 26px;
    }
    .cl-hero__num { font-size: 56px; }
    .cl-section-title { font-size: 34px; letter-spacing: -0.8px; }
    .cl-section-text { font-size: 17px; }
    .cl-roles { padding: 96px 0 80px; }
    .cl-section-head { margin-bottom: 36px; }
    .cl-role { grid-template-columns: 1fr 1fr; }
    .cl-role__main { grid-column: 1 / -1; }
    .cl-role__action { grid-column: 1 / -1; grid-row: auto; text-align: left; }
    .cl-role__action .cl-btn { display: block; text-align: center; }
    .cl-roles__foot { flex-direction: column; align-items: flex-start; }
    .cl-apply { padding: 72px 0 80px; }
    .cl-form-card { padding: 36px 22px 32px; border-radius: var(--cl-radius); }
    .cl-form { grid-template-columns: 1fr; gap: 28px; }
    .cl-submit .cl-btn { width: 100%; }
}
