.fancybox__container {
–fancybox-bg: rgba(0, 0, 0, 0.35);
–fancybox-content-bg: rgb(255, 255, 255);
–fancybox-content-color: #393939;
}
…
this is styling the Modal but affecting the slideshow.
Worth noting also that #tiltshift .fancybox__container would do nothing, as the selectors are in the wrong sequence. And I think it won’t be possible to set --fancybox-bg here, because it’s used before the #tiltshift in the DOM tree.
Btw, did you check out the “Modals” control group for Kookaburra Page? It offers some color options.
Anyway, if you want to apply custom styling for this one modal, then you’d probably need to instantiate the modal specifically, rather than relying on the “generic” instantiation code, and then you’d be able to specify options, such as a custom class name for the container that would allow you to target styling. This is what I have to do for our slideshows.