/* Official Origin brand assets */
[title="Substituir pelo logotipo oficial quando o SVG/PNG for adicionado ao projeto"] {
  display: block !important;
  width: 156px !important;
  height: 35px !important;
  flex: 0 0 156px;
  background-color: #0A472F !important;
  -webkit-mask: url('/brand/origin-logo.svg?v=4') center / contain no-repeat;
  mask: url('/brand/origin-logo.svg?v=4') center / contain no-repeat;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  overflow: hidden;
}

footer [title="Substituir pelo logotipo oficial quando o SVG/PNG for adicionado ao projeto"] {
  background-color: #ffffff !important;
  filter: none !important;
}

header a[href="/"] > span:first-child {
  display: block !important;
  width: 40px !important;
  height: 40px !important;
  flex: 0 0 40px;
  border-radius: 0 !important;
  background-color: #0A472F !important;
  background-image: none !important;
  -webkit-mask: url('/brand/origin-mark.svg?v=4') center / contain no-repeat;
  mask: url('/brand/origin-mark.svg?v=4') center / contain no-repeat;
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
}

/* Keep the desktop wordmark wrapper visible. */
@media (min-width: 640px) {
  header a[href="/"] > span:first-child {
    display: none !important;
  }

  header a[href="/"] > span:nth-child(2) {
    display: inline-flex !important;
    align-items: center;
    min-width: 156px;
    min-height: 35px;
  }
}

/* Hide only the still-unconfirmed Instagram placeholder. */
footer a[href="#"] {
  display: none !important;
}
