.volunteers-page .hero-design {
    background-image: url(../../img/volunteers/volunteers-hero.jpg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 62px;

    display: flex;
    flex-direction: column;
}

.volunteers-page .hero-design .hero-title {
    max-width: 958px;
}

.volunteers-page .hero-container {
    flex-grow: 1;
}

.volunteers-page .hero-design .btn {
    padding: 20px 40px;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
}

.volunteers-page .hero-design .breadcrumb-item + .breadcrumb-item {
    padding-left: 6px;
}

.volunteers-page__info {
    padding-top: 105px;
    padding-bottom: 130px;
}

.volunteers-page__info h1 {
    grid-column: 4 / -1;
    text-align: left;
    margin-bottom: 42px;
}

.volunteers-page__info h1 span:first-of-type {
    display: block;
    margin-left: -318px;
}

.volunteers-page .main-block {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 10px;
}

.volunteers-page .main-block .img-container {
    grid-column: 1 / span 3;
    padding-right: 30px;
    width: 100%;
    height: 100%;
}

.volunteers-page .main-block .img-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteers-page .main-block .desc {
    grid-column: 4 / span 4;
    margin-right: 62px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.volunteers-page .main-block .desc p {
    font-weight: 400;
    font-size: 22px;
    line-height: 133%;
    letter-spacing: -0.028em;
}

.volunteers-page .main-block .desc p b {
    letter-spacing: -0.02em;
    font-weight: 700;
}

.volunteers-page .main-block .desc * {
    text-align: left;
}

.volunteers-page .main-block .contacts {
    grid-column: 8 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 45px;
}

.volunteers-page .main-block .contacts .contact-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 16px;
    height: fit-content;
    border-top: 1px solid var(--black-1000);
    padding-top: 8px;
    padding-right: 38px;
    row-gap: 8px;
}

.volunteers-page .main-block .contacts .contact-item * {
    text-align: left;
}

.volunteers-page .main-block .contacts .contact-item img {
    display: block;
    width: 100%;
    max-width: 70px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    filter: grayscale(1);
    object-fit: cover;

    grid-row: 1 / span 2;
    align-self: start;
}

.volunteers-page .main-block .contacts .contact-item h5 {
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--black-1000);
}

.volunteers-page .main-block .contacts .contact-item p {
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
}

.volunteers-page .gallery .desktop-slider .swiper-thumbs .swiper-slide {
    flex: 1 0 0;
}

.volunteers-page .gallery-container {
    position: relative;
}

.volunteers-page .gallery-title {
    position: absolute;
    left: 48%;
    transform: translateX(-45%);
    top: 108px;
    z-index: 10;
    display: flex;
    max-width: 960px;
    gap: 24px;
}

.gallery .desktop-slider .main::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
    content: "";
    display: block;
    position: absolute;
    inset: 0;
}

.volunteers-page .gallery-title .hero-title, .volunteers-page .gallery-title h2 {
    color: var(--white);
}

.volunteers-page .gallery-title h2 {
    text-align: left;
}

.volunteers-page .main .swiper-slide::after,
.volunteers-page .swiper-mobile-main .swiper-slide::after{
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

.volunteers-page .main .swiper-slide img {
    object-position: center top;
}

.volunteers-page__help .title {
    grid-column: 1 / span 6;
    margin-bottom: 70px;
}

.volunteers-page__help .title h1 {
    text-align: left;
}

.volunteers-page__help .title h1:last-of-type {
    margin-left: 148px;
    margin-top: 8px;
}

.volunteers-page__help .title h1::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}


.volunteers-page__help .title h1::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__help .help-list {
    grid-column: 2 / span 5;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 687px;
}

.volunteers-page__help .help-list .list-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    column-gap: 32px;
    align-items: center;
}

.volunteers-page__help .help-list .list-item .img-container {
    width: 120px;
    height: 120px;
}

.volunteers-page__help .help-list .list-item .img-container img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.volunteers-page__help .help-list .list-item h4 {
    text-align: left;
}

.volunteers-page__help .help-list .list-item:first-of-type h4 {
    max-width: 489px;
}

.volunteers-page__help .help-list .list-item:not(:first-of-type) {
    padding-right: 84px;
}

.volunteers-page__help .photo-block {
    grid-column: 7 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 50% 50%;
    gap: 10px;
    margin-top: -165px;
    max-height: 607px;
}


.volunteers-page__help .photo-block .img-container {
    /*aspect-ratio: 1 / 1;*/
    height: 100%;
}

.volunteers-page__help .photo-block img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.volunteers-page__help .photo-block .link {
    grid-column: 3;
    grid-row: 1 / span 2;
}

.volunteers-page__help .photo-block .link a {
    width: 100%;
    height: 100%;
    background-color: var(--sun-yellow);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: space-between;
    padding: 32px;
    transition: all 300ms ease;
}

.volunteers-page__help .photo-block .link a img {
    max-width: 26px;
    max-height: 26px;
    align-self: end;
    margin-top: 5px;
    margin-right: 6px;
}

.volunteers-page__help .photo-block .link a h4 {
    text-align: left;
}

.volunteers-page__help .photo-block .link a h4::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}

.volunteers-page__help .photo-block .link a h4::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__help .run-row {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding-top: 68px;
    padding-bottom: 45px;
}

.volunteers-page__help .run-row h2 {
    display: inline-block;
    margin-right: 40px;
    animation: scroll 10s linear infinite;
    font-size: 60px;
}

.volunteers-page__help .run-row h2 span {
    margin-left: 40px;
}

.volunteers-page__help .vacancies {
    display: grid;
    grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
    column-gap: 16px;
    margin: 0 40px 120px;
}

.volunteers-page__help .vacancies .item {
    background-color: var(--grey-100);
    border-radius: 10px;
    padding: 33px 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.volunteers-page__form {
    background-color: var(--sun-yellow);
    min-height: 892px;
    height: fit-content;
}

.volunteers-page__form .left-desc {
    grid-column: 1 / span 7;
    margin-right: 80px;
    padding: 109px 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 42px;
    margin-left: clamp(0rem, -1.48rem + 1.75vw, 0.625rem);
}

.volunteers-page__form .left-desc .top-title {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.volunteers-page__form .left-desc .top-title h1::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}

.volunteers-page__form .left-desc .top-title h1::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__form .left-desc .top-title p {
    max-width: 348px;
    align-self: center;
}

.volunteers-page__form .left-desc .img-container  {
    width: 144px;
    height: 144px;
    aspect-ratio: 1 / 1;
    align-self: center;
}

.volunteers-page__form .left-desc .img-container img {
    display: block;
    object-fit: contain;
    width: 100%;
    height: auto;
    transform: rotate(-6deg);
}

.volunteers-page__form .left-desc h2 {
    max-width: 579px;
    align-self: center;
}

.volunteers-page__form .left-desc h2::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}

.volunteers-page__form .left-desc h2::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__form .right-form {
    grid-column: 8 / -1;
    min-height: calc(100% - 64px - 64px);
    margin: 64px 0;
    background-color: var(--white);
    border-radius: 10px;
    padding: 32px;
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.volunteers-page__form .right-form .top-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 16px;
}

.volunteers-page__form .right-form .top-title h4 {
    text-align: left;
    max-width: fit-content;
}

.volunteers-page__form .right-form .top-title h4::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}

.volunteers-page__form .right-form .top-title h4::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__form .right-form .top-title .step-count {
    background-color: var(--sun-yellow);
    border-radius: 100px;
    padding: 8px 10px;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--black-1000);
    white-space: nowrap;
}

.volunteers-page__form .form-step p {
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--grey-1000);
    text-align: left;
    margin-bottom: 32px;
}

.volunteers-page__form form, .volunteers-page__form .form-step {
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.volunteers-page__form .form-step .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
    flex-grow: 1;
}

.volunteers-page__form .form-step .form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-between;
    align-self: unset;
}

.volunteers-page__form .form-step .form-field label, .form-group-title {
    font-weight: 700;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: -0.02em;
    color: var(--black-1000);
}

.volunteers-page__form .btn-simple:disabled {
    background-color: var(--grey-300);
    border: transparent;
}

.volunteers-page__form .form-buttons {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.volunteers-page__form .form-buttons button {
    padding: 22px 0;
    flex-grow: 1;
    font-size: 18px;
}

.volunteers-page__form .form-step-2 .form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(0.75rem, -1.026rem + 2.11vw, 1.5rem);
    row-gap: 12px;
    align-items: stretch;
}

.volunteers-page__form .form-step-2 .form-group .form-field {
    /*max-height: max-content;*/
    height: 100%;
}

.volunteers-page__form .form-step-2 select {
    padding: 19px 8px 19px 24px;
    border-radius: 10px;
    background-color: var(--grey-100);
    border: 1px solid var(--grey-300);
    outline: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: -0.02em;
}

.volunteers-page__form .form-step-2 .form-field:has(textarea) {
    grid-column: 1 / -1;
}

.volunteers-page__form .form-step-2 .form-buttons {
    grid-column: 1 / -1;
}

.volunteers-page__form input[type="text"], .volunteers-page__form input[type="tel"] {
    padding: 20px 8px 20px clamp(0.5rem, -1.868rem + 2.81vw, 1.5rem);
}

.volunteers-page__form .form-step-3 .form-field, .volunteers-page__form .form-step-4 .form-field  {
    flex-direction: row;
    justify-content: start;
}

.volunteers-page__form .form-step-3 .form-field input, .volunteers-page__form .form-step-4 .form-field input  {
    appearance: none;
    -webkit-appearance: none;
}

.volunteers-page__form .form-step-3 .form-field label, .volunteers-page__form .form-step-4 .form-field label {
    padding-left: 24px;
    font-weight: 400;
    font-size: 22px;
    line-height: 130%;
    letter-spacing: -0.03em;
    position: relative;
    cursor: pointer;
}

.volunteers-page__form .form-step-3 .form-field label::before, .volunteers-page__form .form-step-4 .form-field label::before {
    content: "";
    display: block;
    position: absolute;
    left: -7px;
    top: 2px;
    width: 24px;
    height: 24px;
    border-radius: 2px;
    border: 1px solid var(--black-1000);
}

.volunteers-page__form .form-step-3 .form-field input:checked + label::before, .volunteers-page__form .form-step-4 .form-field input:checked + label::before {
    background: url("../../img/icons/sun-done-icon.svg"), var(--black-1000);
    background-repeat: no-repeat;
    background-position: center center;
}

.volunteers-page__form .form-step-3 .form-group, .volunteers-page__form .form-step-4 .form-group {
    gap: 16px;
}

.modal-backdrop.show {
    opacity: 0.8;
}


.volunteers-page__photos {
    padding-top: 120px;
    padding-bottom: 120px;
}

.volunteers-page__photos .title {
    margin-left: 85px;
}

.volunteers-page__photos .title h2 {
    text-align: left;
}

.volunteers-page__photos .title h2:first-of-type {
    max-width: 970px;
    margin-bottom: 21px;
}

.volunteers-page__photos .title h2:last-of-type {
    max-width: 1138px;
    margin-left: 118px;
}

.volunteers-page__photos .title h2::before {
    content: "";
    display: block;
    margin-top: -0.14em;
}

.volunteers-page__photos .title h2::after {
    content: "";
    display: block;
    margin-bottom: -0.12em;
}

.volunteers-page__photos .four-photos {
    gap: 16px;
}


@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 40px));
    }
}

@media (hover: hover) {
    .volunteers-page__help .photo-block .link a:hover {
        background-color: var(--green);
    }
}

.volunteers-page__form .form-step.form-step-2, .volunteers-page__form .form-step.form-step-3, .volunteers-page__form .form-step.form-step-4 {
    display: none;
}