Hi Sam,
1. The rebasing rules do not apply here, as it is a foreign property.
2. As the property was your main residence, you can claim Private Residence Relief.
Have a look here:
HS283 Private Residence Relief (2024) Updated 6 April 2024
3. You would only declare capital gains / losses on your 50% share.
4. As this is a foreign capital gain / loss, you will be requried to declare this in a Self Assessment tax return.
If you were required to pay Capital Gains Tax in the country where the property is located, you can claim a Foreign Tax Credit of up to 100% of the foreign tax paid.
Thank you.