Deductions & credits

When all else fails read the FORM instructions ...  https://www.irs.gov/forms-pubs/about-schedule-d-form-1040

 

which will confirm my answer from 27 years in the business teaching income tax courses.