.v2-vacancy,
.v2-vacancy * {
    box-sizing: border-box;
}

.v2-vacancy {
    width: 100%;
    min-width: 0;
    overflow: clip;
    background: #ffffff;
    color: #111827;
}

.v2-vacancy__hero,
.v2-vacancy__available,
.v2-vacancy__criteria,
.v2-vacancy__list {
    width: 100%;
}

.v2-vacancy__hero {
    padding: 48px 120px;
    background: #ffffff;
}

.v2-vacancy__hero-inner,
.v2-vacancy__available-inner,
.v2-vacancy__section-inner {
    width: 100%;
    max-width: 1200px;
    min-width: 0;
    margin: 0 auto;
}

.v2-vacancy__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 568px);
    justify-content: space-between;
    gap: clamp(32px, 10.5556vw, 152px);
}

.v2-vacancy__hero-title,
.v2-vacancy__hero-lead,
.v2-vacancy__available-title,
.v2-vacancy__section-title,
.v2-vacancy__card-title,
.v2-vacancy__card-text,
.v2-vacancy__card-schedule,
.v2-vacancy__requirements,
.v2-vacancy__requirements ul {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}

.v2-vacancy__hero-title {
    color: #111827;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
}

.v2-vacancy__hero-lead {
    align-self: center;
    color: #000000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.v2-vacancy__curve {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 20px;
    overflow: hidden;
    background: #202124;
}

.v2-vacancy__curve::before {
    position: absolute;
    left: 0;
    width: 100%;
    height: 40px;
    border-radius: 32px;
    background: #ffffff;
    content: "";
}

.v2-vacancy__curve--top::before {
    top: -20px;
}

.v2-vacancy__curve--bottom::before {
    bottom: -20px;
}

.v2-vacancy__available {
    padding: 48px 120px;
    overflow: hidden;
    background: #202124;
    color: #ffffff;
}

.v2-vacancy__available-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0;
    padding: 20px 0;
}

.v2-vacancy__available-title {
    flex: 0 1 283px;
    width: 283px;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.v2-vacancy__quick-links {
    width: 923px;
    max-width: calc(100% - 277px);
    flex: 0 0 min(923px, calc(100% - 277px));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.v2-vacancy__quick-link {
    --v2-button-color: #2a568e;
    padding-right: 24px;
    padding-left: 24px;
    color: #2a568e;
    font-size: 16px;
    scroll-margin-top: 96px;
}

.v2-vacancy__quick-link:hover,
.v2-vacancy__quick-link:focus-visible,
.v2-vacancy__quick-link:active,
.v2-vacancy__quick-link .v2-button__label {
    color: #2a568e;
}

.v2-vacancy__criteria {
    padding: 48px 120px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.v2-vacancy__section-title {
    color: #111827;
    font-size: 32px;
    font-weight: 900;
    line-height: 32px;
}

.v2-vacancy__criteria-track {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 40px;
}

.v2-vacancy__criterion {
    min-width: 0;
    height: 373px;
    display: flex;
    grid-column: span 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 60px;
    padding: 20px 20px 30px;
    border-radius: 30px;
    outline: 0;
    background: #ffffff;
    scroll-margin-top: 96px;
}

.v2-vacancy__criterion:nth-child(n + 3):nth-child(-n + 5) {
    grid-column: span 2;
}

@media (min-width: 768px) {
    .v2-vacancy__criterion:nth-child(n + 4) {
        padding-top: 30px;
    }
}

.v2-vacancy__criterion:focus-visible,
.v2-vacancy__card:focus-visible {
    outline: 3px solid #68a8ff;
    outline-offset: -3px;
}

.v2-vacancy__criterion-icon {
    width: 80px;
    height: 80px;
    max-width: none;
    display: block;
    flex: 0 0 80px;
    object-fit: contain;
}

.v2-vacancy__criterion-copy {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.v2-vacancy__card-title {
    width: 100%;
    color: #111827;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.v2-vacancy__card-text,
.v2-vacancy__card-details {
    color: #111827;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.v2-vacancy__criteria-pagination {
    display: none;
}

.v2-vacancy__list {
    padding: 48px 120px;
    background: #f7f8fa;
}

.v2-vacancy__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 40px;
}

.v2-vacancy__card {
    min-width: 0;
    height: 367px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 30px 20px;
    border-radius: 30px;
    outline: 0;
    background: #ffffff;
    scroll-margin-top: 96px;
}

.v2-vacancy__card-content {
    width: 100%;
    min-width: 0;
    height: 250px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: hidden;
}

.v2-vacancy__card-details {
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.v2-vacancy__card-schedule {
    display: flex;
    flex-direction: column;
}

.v2-vacancy__card-schedule strong,
.v2-vacancy__requirements > strong {
    font-weight: 400;
}

.v2-vacancy__requirements {
    margin-top: 25.6px;
}

.v2-vacancy__requirements ul {
    padding: 0;
    list-style: none;
}

.v2-vacancy__requirements li {
    position: relative;
    padding-left: 13px;
}

.v2-vacancy__requirements li::before {
    position: absolute;
    left: 0;
    content: "-";
}

.v2-vacancy__card-action {
    flex: 0 0 auto;
}

.v2-vacancy > .v2-location {
    position: relative;
    width: 100%;
    padding: 48px 16px;
    background: linear-gradient(180deg, #f7f8fa 39.648%, #202124 79.833%);
}

.v2-vacancy > .v2-location .v2-location__card {
    width: 100%;
    max-width: 1408px;
    min-width: 0;
    min-height: 590px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    align-items: center;
    margin: 0 auto;
    padding: 40px 120px;
    border-radius: 32px;
    background: #f7f8fa;
}

.v2-vacancy > .v2-location .v2-location__media {
    min-width: 0;
    height: 503px;
    min-height: 0;
    overflow: hidden;
    border: 0;
    border-radius: 12px;
    background: #e9ebef url("../../images/v2/vacancy/location-map.png") center / cover no-repeat;
}

.v2-vacancy > .v2-location .v2-location__map {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    border: 0;
    object-fit: cover;
}

.v2-vacancy > .v2-location .v2-location__details {
    min-width: 0;
    min-height: 503px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 62px 26px 26px;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: none;
}

.v2-vacancy > .v2-location .v2-location__title,
.v2-vacancy > .v2-location .v2-location__description,
.v2-vacancy > .v2-location .v2-location__meta {
    margin: 0;
    color: #111827;
}

.v2-vacancy > .v2-location .v2-location__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
}

.v2-vacancy > .v2-location .v2-location__description,
.v2-vacancy > .v2-location .v2-location__meta {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.v2-vacancy > .v2-location .v2-location__description {
    margin-top: 14px;
}

.v2-vacancy > .v2-location .v2-location__meta {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: auto;
}

.v2-vacancy > .v2-location .v2-location__contacts,
.v2-vacancy > .v2-location .v2-location__meta-row {
    margin: 0;
}

.v2-vacancy > .v2-location .v2-location__meta-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.v2-vacancy > .v2-location .v2-location__meta-icon {
    width: 20px;
    height: 20px;
    max-width: none;
    flex: 0 0 20px;
    margin: 0;
}

.v2-vacancy > .v2-location .v2-location__address-link {
    color: inherit;
    text-decoration: none;
}

.v2-vacancy__location-curve {
    display: none;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .v2-vacancy__hero,
    .v2-vacancy__available,
    .v2-vacancy__criteria,
    .v2-vacancy__list {
        padding-right: 48px;
        padding-left: 48px;
    }

    .v2-vacancy__quick-links {
        max-width: calc(100% - 323px);
    }

    .v2-vacancy__criterion,
    .v2-vacancy__criterion:nth-child(n + 3):nth-child(-n + 5) {
        grid-column: span 3;
    }

    .v2-vacancy__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-vacancy > .v2-location .v2-location__card {
        padding-right: 48px;
        padding-left: 48px;
    }
}

@media (max-width: 767px) {
    .v2-vacancy__hero {
        padding: 48px 16px;
    }

    .v2-vacancy__hero-inner {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .v2-vacancy__available {
        padding: 24px 0 24px 16px;
    }

    .v2-vacancy__available-inner {
        flex-direction: column;
        gap: 24px;
        padding: 20px 0;
    }

    .v2-vacancy__available-title {
        width: calc(100% - 16px);
        flex-basis: auto;
    }

    .v2-vacancy__quick-links {
        width: 100%;
        max-width: none;
        flex: 0 0 auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 14px;
        padding-right: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-padding-inline: 16px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    .v2-vacancy__quick-links::-webkit-scrollbar,
    .v2-vacancy__criteria-track::-webkit-scrollbar {
        display: none;
    }

    .v2-vacancy__quick-link {
        padding-right: 24px;
        padding-left: 24px;
        font-size: 16px;
        scroll-snap-align: start;
    }

    .v2-vacancy__criteria {
        padding: 48px 8px;
    }

    .v2-vacancy__section-title {
        padding: 0 16px;
    }

    .v2-vacancy__criteria-track {
        display: flex;
        grid-template-columns: none;
        gap: 14px;
        margin-top: 40px;
        overflow-x: auto;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        touch-action: pan-x;
        -webkit-overflow-scrolling: touch;
    }

    .v2-vacancy__criterion,
    .v2-vacancy__criterion:nth-child(n + 3):nth-child(-n + 5) {
        width: min(375px, calc(100vw - 16px));
        height: 339px;
        display: flex;
        flex: 0 0 min(375px, calc(100vw - 16px));
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .v2-vacancy__criteria-pagination {
        width: fit-content;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 14px auto 0;
        padding: 8px 12px;
        border-radius: 50px;
        background: rgba(191, 191, 191, 0.44);
        backdrop-filter: blur(20px);
    }

    .v2-vacancy__criteria-dot {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: rgba(42, 86, 142, 0.3);
        cursor: pointer;
    }

    .v2-vacancy__criteria-dot.is-active {
        background: #2a568e;
    }

    .v2-vacancy__criteria-dot:focus-visible {
        outline: 3px solid #68a8ff;
        outline-offset: 3px;
    }

    .v2-vacancy__list {
        padding: 48px 8px;
    }

    .v2-vacancy__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v2-vacancy__card {
        width: min(375px, calc(100vw - 16px));
        justify-self: center;
    }

    .v2-vacancy > .v2-location {
        padding: 24px 8px 0;
        background: #f7f8fa;
    }

    .v2-vacancy > .v2-location .v2-location__card {
        min-height: 0;
        display: flex;
        flex-direction: column;
        padding: 0 8px;
        border-radius: 0;
        background: #f7f8fa;
    }

    .v2-vacancy > .v2-location .v2-location__media {
        position: relative;
        z-index: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 358 / 235;
        border-radius: 6px;
    }

    .v2-vacancy > .v2-location .v2-location__map {
        position: absolute;
        inset: 0;
    }

    .v2-vacancy > .v2-location .v2-location__details {
        width: 100%;
        min-height: 450px;
        align-self: auto;
        gap: 24px;
        margin: -4px 0 0;
        padding: 62px 26px 26px;
        border-radius: 30px;
    }

    .v2-vacancy__location-curve {
        position: relative;
        width: 100%;
        height: 20px;
        display: block;
        overflow: hidden;
        background: #202124;
    }

    .v2-vacancy__location-curve::before {
        position: absolute;
        top: -20px;
        left: 0;
        width: 100%;
        height: 40px;
        border-radius: 32px;
        background: #f7f8fa;
        content: "";
    }

    .v2-page + .v2-contact {
        padding: 48px 16px;
        scroll-margin-top: 56px;
    }

    .v2-page + .v2-contact .v2-contact__title {
        width: 100%;
        max-width: 100%;
        font-size: 32px;
        font-weight: 900;
        line-height: 32px;
        overflow-wrap: anywhere;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .v2-vacancy__quick-links,
    .v2-vacancy__criteria-track {
        scroll-behavior: auto;
    }
}
