#block-healthcare-pro-medex-health-branding .navbar-brand img {
  height: 59px;
  width: 159px;
}

/* HEADER */
/* TOPBAR */

/* Language selector - always align to the right at all screen sizes */
@media (min-width: 0) and (max-width: 4000px) {
  #pt-header .topbar {
    padding: 0 0 0 0 !important;
  }
  #pt-header .topbar .topbar_right {
    padding: 0 !important;
    text-align: right !important;
    display: flex;
    ms-flex-pack: end !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
    max-width: none !important;
  }

  /* Ensure the ul containing language selector is right-aligned */
  #pt-header .topbar .topbar_right ul {
    margin-left: auto !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    justify-content: flex-end !important;
  }

  #pt-header .topbar .row {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: 0 0 0 0 !important;
  }

  /* Override topbar centering that might affect alignment */
  #pt-header .topbar {
    text-align: right !important;
  }
}

/* FOOTER */
.footer_bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer_bottom .social_link_main {
  padding: 0 0 0 0 !important;
  margin: 0 0 0 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer_bottom .social_link_main .social_link {
  margin: 0 0 0 2rem !important;
}

@media (max-width: 767.98px) {
  .footer_bottom .container {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .footer_bottom .social_link_main {
    margin-top: 1rem;
  }
}

// PAGE BANNERS

.banner-with-image {
  background-position: center center !important;
}

.banner-with-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35); /* adjust opacity here */
  z-index: 0;
}

.banner-with-image > * {
  position: relative;
  z-index: 1;
}
