May seem simple approach but here goes. 2 Options

Option 1. 2 separate coolers one for beers one for food. If you dont open the food cooler till the morning the cooling will last much longer.

Options 2. The easier option place your beers in the freezer as well not long enough for them to freeze but maybe 5 hours they would drop to  -4 > -7 degrees not freeze therefore not damage bottles or cans but enough that they will double the life of you cooler as they will continue to cool all the time they are in there