/* AIONS shared fixes, loaded after each page's own stylesheet. */

/* ---------- Header logo ---------- */
.u-header .u-image.u-logo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.u-header .u-logo-image-1 {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(45, 22, 120, 0.22));
  transition: transform 200ms ease;
}

.u-header .u-logo:hover .u-logo-image-1,
.u-header .u-logo:focus-visible .u-logo-image-1 {
  transform: scale(1.05);
}

/* ---------- Footer ---------- */
.site-insta {
  display: inline-block;
  margin-left: 6px;
  vertical-align: middle;
}

.site-insta img {
  width: 32px;
  height: 32px;
}

.site-legal {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
}

.site-legal a {
  display: inline-block;
  margin: 0 10px;
  color: inherit;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-legal a:hover {
  opacity: 1;
}

@media (max-width: 575px) {

  /* Nicepage pulled the logo 24px left onto the screen edge and under the title text */
  .u-header .u-image-1 {
    width: 48px;
    height: 48px;
    margin-left: 0;
  }

  .u-header .u-text-1 {
    width: auto;
    margin-left: 58px;
    margin-right: 40px;
  }
}

/* 992-1199px: tighten the menu so it clears the title */
@media (min-width: 992px) and (max-width: 1199px) {
  .u-header .u-nav-1 > .u-nav-item > .u-nav-link {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}
