/* Telephone and email in the main header. */
#header .top-bar {
  display: block !important;
}
#header .top-bar > .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 16px;
}
#header .top-bar .e64-top-navigation {
  margin-inline-end: auto;
}
#header .top-bar .e64-top-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 14px;
}
#header .top-bar .e64-top-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
  white-space: nowrap;
}
#header .top-bar .e64-top-contact a:hover,
#header .top-bar .e64-top-contact a:focus-visible {
  text-decoration: underline;
}
#header .top-bar > .container > .social {
  position: static;
  margin-inline-start: auto;
}
@media (max-width: 767px) {
  #header .top-bar {
    height: auto !important;
    min-height: 0;
    max-height: none;
    background: #8b306f;
  }
  #header .top-bar > .container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: auto !important;
    padding-inline: 8px;
  }
  #header .top-bar .e64-top-navigation,
  #header .top-bar > .container > .social { display: none !important; }
  #header .top-bar .e64-top-contact { width: 100%; column-gap: 8px; }
  #header .top-bar .e64-top-contact a {
    min-height: 38px;
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* Keep the top-bar menu centered between contact details and social links. */
@media (min-width: 768px) {
  #header .top-bar {
    height: auto !important;
    max-height: none;
  }
  #header .top-bar > .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "contact menu social";
    column-gap: 10px;
  }
  #header .top-bar .e64-top-contact {
    grid-area: contact;
    justify-content: flex-start;
  }
  #header .top-bar .e64-top-navigation {
    grid-area: menu;
    justify-self: center;
    margin: 0;
  }
  #header .top-bar > .container > .social {
    grid-area: social;
    justify-self: end;
    margin: 0;
  }
}
@media (min-width: 768px) and (max-width: 959px) {
  #header .top-bar > .container {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "contact social" "menu menu";
  }
}