XF 2.2 change boder color for one node

Nicolas FR

Well-known member
I would like to change the color of the borders of a single node that is not in a category, so it is integrated into a block-container.
I tried many ways but i can't find the right code.

.block-container .node.node--id251 {
    border: 3px solid #F9C479;

.node.node--id251 {
    .block-container {
        border: 3px solid #F9C479;

I want to change the border-color of the container not the node-body because the result is not good in this way.

Capture web_20-9-2022_155747_regionalis.fr.jpeg

Thanks !!