According to current legislation, if the agreement on the purchase and sale of real estate did not take place due to the fault of the buyer, the deposit is not returned. If the deal "failed" as a result of the seller's failure to fulfill his obligations, he must return the deposit to the client, even in a double amount (in particular, according to the court's decision).
As you know, foreigners cannot buy agricultural land in Ukraine.
Ukrainian women and men who are married to foreign citizens will not have such an opportunity either.
The way out in such a situation may be the conclusion of a marriage contract, which provides for the personal status of land plots that will be acquired during a registered marriage.
In the current legislation of Ukraine, the Law "On the Organization of Labor Relations in the Conditions of Martial Law" dated 15.03.2023 applies, according to which, during the period of martial law, the employer, at the request of an employee who has left the territory of Ukraine or acquired the status of an internally displaced person, in compulsorily grants him leave without pay for the duration specified in the application, but no more than 90 calendar days, without counting the time spent on leave against the length of service, which gives the right to annual basic leave.