/* Aetherion public header cleanup */

#header {
  position: relative !important;
}

/* Keep the real logo on the left and make it a bit larger */
.aetherion-client-brand,
#header .aetherion-client-brand {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  max-width: 320px !important;
}

.aetherion-client-brand a,
#header .aetherion-client-brand a {
  display: inline-flex !important;
  align-items: center !important;
}

.aetherion-client-logo-img,
#header .aetherion-client-logo-img {
  display: block !important;
  width: auto !important;
  max-width: 220px !important;
  height: 82px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 18px 36px rgba(217,179,92,.20)) !important;
}

/* Hide the old middle Aetherion support brand block */
.aetherion-support-brand,
.aetherion-public-brand,
.aetherion-brand,
#header .aetherion-support-brand,
#header .aetherion-public-brand,
#header .aetherion-brand {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  max-width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Hide leftover fake mark/wordmark elements from older version */
.aetherion-support-mark,
.aetherion-public-mark,
.aetherion-brand-mark,
.aetherion-support-wordmark,
.aetherion-public-wordmark,
.aetherion-brand-wordmark,
#header .aetherion-support-mark,
#header .aetherion-public-mark,
#header .aetherion-brand-mark,
#header .aetherion-support-wordmark,
#header .aetherion-public-wordmark,
#header .aetherion-brand-wordmark {
  display: none !important;
}

/* If the header uses flex, keep left logo and right links nicely spaced */
#header .pull-right,
#header .right,
#header .auth-links,
#header .guest-links {
  margin-left: auto !important;
}

@media (max-width: 760px) {
  .aetherion-client-logo-img,
  #header .aetherion-client-logo-img {
    max-width: 180px !important;
    height: 68px !important;
  }
}
