In general, casual leaves are on a pro-rata basis and sanctioned for no more than three days. The intervening holidays and weekly offs are considered part of the leave. In the present scenario, either two casual leaves on the 24th or 25th, or the 27th and 28th, can be taken.
In the case of Earned Leave or PL, the intervening holidays/weekly offs cannot be considered part of the leave.
Additionally, as per your service rules/leave policy, in some organizations, there is no bifurcation of leaves. Instead, a lump sum amount of leaves will be credited to the employee, and the employee can use them in any way.
Thanks and regards,
Kamesh