.webform-message .alert p {
    margin-bottom: 0;
}

.card-body ol {
    margin-bottom: 0;
}

body.page-node-type-job .block-page-title-block h1 {
    font-size: 24px;
}

.block-system-menu-blocksocial {
    z-index: 1;
}

.form-item-photo,
.form-item-rel-list,
.form-item-education-no,
.form-type-webform-multiple {
    margin-bottom: 2em !important;
}

.form-item-compensation {
    margin-top: 2em !important;
}

.form-item-knowledge,
.form-item-experience-list {
    margin-top: 0 !important;
}

.presentation-details legend {
    margin-bottom: 1em !important;
}

.presentation-details .fieldset-wrapper {
    gap: 0 !important;
}

.development-details .fieldset-wrapper {
    gap: 0 !important;
}

.development-details legend {
    margin-bottom: 1em !important;
}

#edit-experience-areas.webform-options-display-three-columns {
    max-width: none;
}

#edit-experience-areas.webform-options-display-three-columns .form-item {
    margin-bottom: 1em;
}

.reserve-position-marker {
    display: inline-block;
    flex: 0 0 1.5rem;
    text-align: center;
}

.selection-feedback-scale .webform-options-display-side-by-side {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: none;
    margin-top: 1rem;
}

.selection-feedback-scale--binary .webform-options-display-side-by-side {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: auto;
    max-width: max-content;
    justify-content: flex-start;
}

.selection-feedback-scale.selection-feedback-scale--binary .webform-options-display-side-by-side .form-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.625rem;
    width: auto;
    text-align: left;
}

.selection-feedback-scale.selection-feedback-scale--binary .webform-options-display-side-by-side label.option {
    font-size: 1.2rem;
    line-height: 1.2;
    white-space: normal;
}

.selection-feedback-scale.selection-feedback-scale--binary .webform-options-display-side-by-side label.option::first-line {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.selection-feedback-form > .bg-white {
    max-width: none;
}

.selection-feedback-form > .bg-white > * {
    width: 100%;
    max-width: 58rem;
    margin-left: auto;
    margin-right: auto;
}

.selection-feedback-form .webform-message .alert-warning {
    padding: 0;
    margin: 0;
    color: inherit;
    background: transparent;
    border: 0;
}

.selection-feedback-form .selection-feedback-access-message .alert-warning {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}

.selection-feedback-form--completed > .bg-white {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.selection-feedback-form--completed .selection-feedback-completion {
    max-width: 42rem;
    margin: 1rem auto 0;
    text-align: center;
}

.selection-feedback-form--completed .selection-feedback-completion h2 {
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.15;
}

.selection-feedback-form--completed .selection-feedback-completion p {
    margin-bottom: 0;
}

.selection-feedback-scale .description,
.selection-feedback-scale .field-prefix {
    display: block;
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

.selection-feedback-scale .webform-options-display-side-by-side .form-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin: 0;
    text-align: center;
}

.selection-feedback-scale .webform-options-display-side-by-side input[type="radio"] {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0;
}

.selection-feedback-scale .webform-options-display-side-by-side label.option {
    display: block;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    white-space: pre-line;
}

.selection-feedback-scale .webform-options-display-side-by-side label.option::first-line {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 767px) {
    .selection-feedback-scale .webform-options-display-side-by-side {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .selection-feedback-scale .webform-options-display-side-by-side .form-item {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
    }

    .selection-feedback-scale .webform-options-display-side-by-side label.option {
        white-space: normal;
    }

    .selection-feedback-scale .webform-options-display-side-by-side label.option::first-line {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .selection-feedback-scale--binary .webform-options-display-side-by-side {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        width: auto;
        max-width: max-content;
    }

    .selection-feedback-scale.selection-feedback-scale--binary .webform-options-display-side-by-side .form-item {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.625rem;
        width: auto;
        text-align: left;
    }
}

.job-comp-desc .card {
    border-radius: 2rem;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    min-height: 330px;
}

.job-comp-desc__card {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    gap: 1rem !important;
}

.job-comp-desc__card > :not(.job-comp-desc__step-num) {
    position: relative;
    z-index: 1;
}

.job-comp-desc__step-num {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 0;
    font-size: clamp(5rem, 10vw, 10rem);
    font-family: "Times New Roman", Times, serif;
    font-weight: 400;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.28);
    pointer-events: none;
    user-select: none;
}

.job-comp-desc__meta-wrap {
    min-height: 2.25rem;
}

.job-comp-desc__meta {
    font-size: 0.8rem;
    line-height: 1.35;
}

.job-comp-desc__meta--accent {
    display: inline-block;
    width: fit-content;
    margin: 0;
    padding: 0.125rem 0.375rem;
    color: #1f54c9;
    border: 1px solid #1f54c9;
    border-radius: 0.375rem;
}

.job-comp-desc__meta--muted {
    color: #6c757d;
}

.job-comp-desc__meta--placeholder {
    visibility: hidden;
}

.job-comp-desc__title {
    font-size: 0.95rem;
    line-height: 1.25;
    padding-right: 3rem;
}

.job-comp-desc__title-wrap {
    min-height: 3.75rem;
}

.job-comp-desc__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

.job-comp-desc__desc {
    font-size: 0.7rem;
    line-height: 1.35;
    padding-right: 3rem;
}

.job-comp-desc__subtitle {
    font-size: 0.7rem;
    line-height: 1.35;
    font-weight: 700;
}

.job-comp-desc__more {
    font-size: 0.7rem;
}
