/* Preview R2: improve readability and keep the desktop navigation fully visible. */
@media (min-width: 768px) {
  html {
    font-size: 17px;
  }

  #root > div > header > div:first-child {
    width: 100%;
    max-width: 118rem;
    min-height: 4.5rem;
    height: auto;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    column-gap: 1.5rem;
  }

  #root > div > header > div:first-child > a:first-child {
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
  }

  #root > div > header > div:first-child > nav {
    flex: 1 1 auto;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    overflow: visible;
    white-space: normal;
  }

  #root > div > header > div:first-child > nav > a {
    padding: 0.5rem 0.55rem;
    font-size: 0.9rem;
    line-height: 1.25;
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  #root > div > header > div:first-child {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  html {
    font-size: 16px;
  }

  #root > div > header > div:first-child > nav {
    justify-content: flex-start;
  }
}
