/* Small fixes to the website's own (Elementor) sections, shipped with this plugin so they reach the published site
   without waiting for a new database export (as the header's "Log in" does). */

/* Home page "Find what you need, fast" (#blResources): the cards reuse the booking form's .bl-tag, whose cream
   background made the pale "For patients" text unreadable on the dark card (owner 2026-11-16). The pill fits its
   words, and on the dark card it is a light glass pill with white text. */
#blResources .bl-tag {
  align-self: flex-start;
  width: fit-content;
}

#blResources .bl-card.bl-b .bl-tag {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

/* Owner 2026-11-23: no "Developed by" agency logo in the footer - its slot is hidden too. */
.bl-agency-logo {
  display: none !important;
}

/* Owner 2026-11-24: the footer line "(c) 2025 All rights reserved | Powered by VHV" centred on the page. The row that
   holds it was sized for the copyright, the logo and the credit side by side (60% wide, a fixed-width copyright box
   aligned right), which left the line off centre once the logo went. */
.e-con:has(> .bl-copyright) {
  width: 100% !important;
  max-width: 100% !important;
  justify-content: center !important;
}

.bl-copyright {
  width: auto !important;
  max-width: 100% !important;
}

.bl-copyright .ekit-heading,
.bl-copyright .ekit-heading--title {
  text-align: center !important;
}

/* "Powered by VHV" sits inside the copyright line, in its type; only the name is bold. ElementsKit paints a span in a
   heading as a highlighted word (its own colour and box), so the line's own look is put back here. */
.bl-copyright .bl-powered,
.bl-copyright .bl-powered span {
  display: inline !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  color: inherit !important;
  font: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

.bl-copyright .bl-powered {
  white-space: nowrap;
}

.bl-copyright .bl-powered strong {
  color: inherit !important;
  font-weight: 600 !important;
}

/* On a phone "Powered by VHV" gets its own line under the copyright: no divider in front of it. */
@media (max-width: 767px) {
  .bl-copyright .bl-powered {
    display: block !important;
    margin-top: 4px !important;
  }

  .bl-copyright .bl-powered span.bl-powered-divider {
    display: none !important;
  }
}

/* Owner 2026-11-20: the phone number and email made tappable by contact-links.js look as they did - the text's own
   colour - and show they can be tapped when pointed at. */
a.bl-contact-link {
  color: inherit;
  text-decoration: none;
}

a.bl-contact-link:hover,
a.bl-contact-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Owner 2026-11-20: the Contact Us form's thank-you or problem (contact-form.js), in Elementor's message style but
   without its icon - the published site does not load that icon font, which showed an empty box. */
.elementor-message.bl-contact-message {
  margin-top: 12px;
}

.elementor-message.bl-contact-message::before {
  display: none;
}
