Light card and css styles

I am trying to stylish a light card with this code:

              - type: light
                style: |
                  ha-card {
                  font-size: 12px;
                  font-family: 'Georgia';
                  font-weight: normal;
                  }
                entity: light.philips_4
                name: Lampada Piccola Salotto

But it doesn’t work, so my question is if the light card can be styled and if yes, where i am wrong?