.search-page {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    padding: 32px;
    border-radius: 64px;
    width: calc(100% - 64px);
    margin-top: 59px;
    margin-bottom: 284px;
    z-index: 1;
    position: relative;
}

.search-page h1 {
    font-family: Ermilov;
    font-weight: 700;
    font-style: Bold;
    font-size: 56px;
    text-align: center;
    leading-trim: NONE;
    line-height: 80px;
    letter-spacing: -3%;
    color: #4671B9;
}

.search-page__wrapper {
    display: flex;
    flex-direction: column;
}

.search-page__search-form-wrapper {
    margin-bottom: 30px;
    width: 100%;
}


.search-page__form {
    display: flex;
    width: 100%;
    gap: 10px;

}

.search-page__search-form-wrapper {
    border-bottom: 0.4px solid #E2E2E2;

}

.search-page__input {
    flex-grow: 1;
    width: calc(100% - 40px);
    padding: 12px 15px;
    font-size: 16px;
    border: none;
    color: #4671B9;
    border-radius: 0;
    background: none!important;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-page__input::placeholder {
    color: #4671B9;

}

.search-btn {
    background: unset;
    border: unset;
    position: absolute;
    right: 20px;
    top: 35px;
}

.search-page__input:focus {
    border-color: #007bff;
}

.search-page__submit {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.search-page__submit:hover {
    background-color: #0056b3;
}

.search-page__wrapper-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 12px;
}

.search-page__wrapper h2 {
    font-family: Ermilov;
    font-weight: 500;
    font-size: 32px;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: -3%;
    text-align: left;
    color: #2E2E2E;
}

.search-page__wrapper-items__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-page__wrapper-items__list a {
    font-family: Manrope;
    font-weight: 500;
    font-style: Medium;
    width: fit-content;
    font-size: 20px;
    text-align: center;
    leading-trim: NONE;
    line-height: 120%;
    letter-spacing: -2%;
    color: #4671B9 !important;
}

.search-page__wrapper p {
    font-family: Manrope;
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    text-align: center;
    leading-trim: NONE;
    width: fit-content;
    line-height: 120%;
    letter-spacing: -2%;
    color: #4671B9 !important;
}

@media screen and (max-width: 1024px) {
    .search-page {
        display: flex;
        flex-direction: column;
        gap: 24px;
        background: #FFFFFF;
        padding: 24px;
        border-radius: 24px;
        width: calc(100% - 48px);
        margin-top: 40px;
        margin-bottom: 84px;
        z-index: 1;
        position: relative;
    }

    .search-page h1 {
        font-family: Ermilov;
        font-weight: 700;
        font-style: Bold;
        font-size: 28px;
        text-align: center;
        leading-trim: NONE;
        line-height: 120%;
        letter-spacing: -3%;
        color: #4671B9;
    }

    .search-page__wrapper {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .search-page__search-form-wrapper {
        margin-bottom: 30px;
        width: 100%;
    }


    .search-page__form {
        display: flex;
        width: 100%;
        gap: 10px;

    }

    .search-page__search-form-wrapper {
        position: relative;
        border-bottom: 0.4px solid #E2E2E2;

    }

    .search-page__input {
        flex-grow: 1;
        width: calc(100% - 100px);
        padding: 12px 15px;
        font-size: 16px;
        border: none;
        color: #4671B9;
        border-radius: 0;
        outline: none;
        transition: border-color 0.3s ease;
    }

    .search-page__input::placeholder {
        color: #4671B9;

    }

    .search-btn {
        background: unset;
        border: unset;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .search-page__input:focus {
        border-color: #007bff;
    }

    .search-page__submit {
        padding: 12px 24px;
        font-size: 16px;
        background-color: #007bff;
        color: #ffffff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
        white-space: nowrap;
    }

    .search-page__submit:hover {
        background-color: #0056b3;
    }

    .search-page__wrapper-items {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 12px;
    }

    .search-page__wrapper h2 {
        font-family: Ermilov;
        font-weight: 500;
        font-size: 32px;
        leading-trim: NONE;
        line-height: 120%;
        letter-spacing: -3%;
        text-align: left;
        color: #2E2E2E;
    }

    .search-page__wrapper-items__list {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .search-page__wrapper-items__list a {
        font-family: Manrope;
        font-weight: 500;
        font-style: Medium;
        width: fit-content;
        font-size: 16px;
        text-align: center;
        leading-trim: NONE;
        line-height: 120%;
        letter-spacing: -2%;
        color: #4671B9 !important;
    }

    .search-page__wrapper p {
        font-family: Manrope;
        font-weight: 500;
        font-style: Medium;
        font-size: 16px;
        text-align: center;
        leading-trim: NONE;
        width: fit-content;
        line-height: 120%;
        letter-spacing: -2%;
        color: #4671B9 !important;
    }
}
