Partial year HSA deduction

Planing ahead for this years return.

My wife and I had a HDHP health insurance plan thru May 31 this year.  As of June 1 my new employer offered, and we enrolled in, a great health insurance plan but which is not HSA eligible.  Is our HSA contribution for 2023 prorated for 5 months of the yearly eligible amount?  We are both over 60.  I would like to maximize my deduction and also be able to utilize the HSA to pay eligible expenses.

Thanks!