.bh-vacancies {
    padding-block: var(--sp-30) var(--sp-60);
    color: #242227;
}

.bh-vacancies__breadcrumbs {
    margin-bottom: var(--sp-24);
    font-size: var(--small-font);
}

.bh-vacancies__breadcrumbs a,
.bh-vacancy__description a {
    color: #0d6047;
    text-decoration: underline;
}

.bh-vacancies h1 {
    margin: 0 0 var(--sp-30);
}

.bh-vacancies__list {
    display: grid;
    gap: var(--sp-24);
    max-width: 960px;
}

.bh-vacancy,
.bh-vacancies__empty {
    margin: 0;
    padding: clamp(18px, 4vw, 32px);
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow-wrap: anywhere;
}

.bh-vacancy h2 {
    margin: 0 0 var(--sp-15);
    font-weight: 600;
    line-height: 1.3;
}

.bh-vacancy__description {
    color: #5b5b5b;
    line-height: 1.55;
}

.bh-vacancy__application {
    margin-top: var(--sp-24);
}

.bh-vacancy__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 0;
    border-radius: 6px;
    background: #0d6047;
    color: #fff;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.bh-vacancy__button:hover {
    background: #0a4e3a;
}

.bh-vacancy__button:disabled {
    opacity: 0.55;
    cursor: default;
}

.bh-vacancy summary::-webkit-details-marker {
    display: none;
}

.bh-vacancy summary::after {
    content: '';
    width: 7px;
    height: 7px;
    margin: -4px 0 0 12px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bh-vacancy details[open] > summary::after {
    margin-top: 4px;
    transform: rotate(225deg);
}

.bh-vacancy__form {
    display: grid;
    gap: var(--sp-15);
    justify-items: start;
    margin-top: var(--sp-20);
    padding-top: var(--sp-20);
    border-top: 1px solid #dedede;
}

.bh-vacancy__fields {
    display: grid;
    width: 100%;
    max-width: 760px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-15);
}

.bh-vacancy__fields label {
    min-width: 0;
    font-weight: 600;
}

.bh-vacancy__fields label span {
    color: #5b5b5b;
    font-size: var(--small-font);
    font-weight: 400;
}

.bh-vacancy__fields input {
    display: block;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #8c8c8c;
    border-radius: 6px;
    background: #fff;
    color: #242227;
    font: inherit;
    font-size: var(--small-font);
}

.bh-vacancy .belhouse-form--agree label {
    color: #5b5b5b;
}

.bh-vacancy__form :focus-visible,
.bh-vacancy summary:focus-visible {
    outline: 2px solid #0d6047;
    outline-offset: 3px;
}

.bh-vacancy__result:empty {
    display: none;
}

.bh-vacancy__captcha:not(:empty) {
    width: min(100%, 380px);
}

@media (max-width: 620px) {
    .bh-vacancy__fields {
        grid-template-columns: 1fr;
    }
}
