$3k max capital loss vs. capital gains.

Hi guys.  I took a big long term capital gains loss in 2023.  I'm reading that there is a maximum capital gains loss of $3k per year, with the rest being carried over to future years.  My question is, is it a maximum of $3k, or a maximum of $3k over your capital gains?  If i am claiming $10k in capital gains, can I claim $13k of capital loss?

 

Thanks!