It’s important to understand how the new capital gains tax rules will affect property sales before and after July 30, 2027.