Using a theme and a separate stylesheet for differrent sections

Hi there, I am trying to implement an openstreetmap map with a list of locations and geolocaction of the user and came across this excellent example: GitHub - ttntm/hugo-leaflet-store-locator: A Leaflet based store locator rendered as a static site by hugo

I am having severe trouble to use it with my chosen template (console-theme) though, as this example doesn’t really use a template as such, but gets style input from a plain text css, which I don’t know how to handle.

Also, I don’t want the map to appear on the main landing page, but under a post.

I would be very grateful for any input.