/* Homepage navigation. Keep Stars available on phones and tablets as well. */
.site-header__stars-link { display: none; }

@media screen {
  .site-header__stars-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex: 0 0 auto;
    color: #3c4353;
    font-size: 14px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
  }

  .site-header__stars-link:hover {
    color: var(--ink);
    text-decoration: underline;
  }
}

@media screen and (max-width: 960px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding-block: .45rem;
    gap: .2rem 1rem;
  }

  .site-header__account {
    margin-inline-start: auto;
  }
}

@media screen and (max-width: 540px) {
  .site-header__start {
    gap: .5rem;
  }

  .header-brand-slot,
  .language-switcher {
    flex: 0 0 auto;
  }

  .site-header__stars-link {
    min-width: 0;
    flex: 1 1 0;
    justify-content: flex-end;
    font-size: 13px;
    text-align: end;
    white-space: normal;
    overflow-wrap: anywhere;
  }
}
