Hello, I'm finding the conditional formatting options for MS Lists very limited compared to the choice you have in MS Excel and other competitor products like Smartsheet. As an organisation, we're in a position where we're trying to make the most of our enterprise agreement with Microsoft, with a potential view to migrate our Smartsheet users over to the Office 365 suite of products.
One particular use case I'm trying to migrate across is an asset management tracker, which I know there's a template for MS Lists. One requirement is to have either the entire row and/or the Due Date column to appear in differing colours, depending on how close to the Due Date column it is. This is certainly possible, but only with limited parameters:

In Excel or Smartsheet, you tend to get a wider set of parameters, such as:

What I'd really like is for the entire row and/or the Due Date column to appear in red when the date in the Due Date column is 7 days away or less.
I'm aware this might be possible through the Advanced Options by using JSON language to code this, however, I'm struggling to figure it out.
I've found a few articles online, such as: https://github.com/pnp/List-Formatting/tree/master/column-samples/date-range-format and https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/column-formatting#apply-formatting-based-on-date-ranges, but I am a novice at this and I'm struggling to work out how to tweak this to suit the above.
Any ideas and pointers would be much appreciated! Thank you in advance.