/* Zytca front-end fixes. Managed from wp/edits/05-tracking-file.php in the zytca-site repo. */

/* CookieYes blocks HubSpot's live chat until a visitor accepts cookies, and swaps it for a
   black "Please accept cookies to access this content" box pinned to the bottom-right corner
   of every page. That reads as a broken site. Hide the placeholder instead. The real chat
   still appears the moment someone consents, because CookieYes then injects a real iframe. */
#hubspot-messages-iframe-container .video-placeholder-normal,
#hubspot-messages-iframe-container .video-placeholder-text-normal {
  display: none !important;
}
#hubspot-messages-iframe-container:not(:has(iframe)) {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  pointer-events: none !important;
}