
.tizi-header-appstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}
.tizi-header-appstore img {
  display: block;
  width: 125px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}
.tizi-header-appstore:focus-visible {
  outline: 3px solid #28aaa4;
  outline-offset: 4px;
  border-radius: 5px;
}
@media (max-width: 760px) {
  .masthead {
    height: auto;
    min-height: 76px;
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .masthead nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
  }
  .tizi-header-appstore img {
    width: 105px;
    max-height: 36px;
  }
}


/* V4: App Store badge belongs to the left logo group */
.masthead > .tizi-header-appstore {
  margin-left: 18px;
  margin-right: auto;
  flex-shrink: 0;
}

.masthead > nav {
  margin-left: auto;
}

@media (max-width: 760px) {
  .masthead > .tizi-header-appstore {
    margin-left: 10px;
    margin-right: auto;
  }

  .masthead > .tizi-header-appstore img {
    width: 100px;
    height: auto;
  }
}

/* V5: native-proportion Apple badge */
.masthead > .tizi-header-appstore img {
  display: block;
  width: 144px;
  height: auto;
  max-height: none;
  object-fit: contain;
}
.masthead > .tizi-header-appstore {
  line-height: 0;
}
@media (max-width: 760px) {
  .masthead > .tizi-header-appstore img {
    width: 116px;
    height: auto;
  }
}
