.locale-bar {
  position: relative;
  display: flex;
  justify-content: flex-end;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px 10px;
  font-size: 13px;
  line-height: 1.4;
}
.locale-picker {
  position: relative;
  z-index: 50;
}
.locale-picker summary {
  display: flex;
  gap: 8px;
  align-items: center;
  cursor: pointer;
  list-style: none;
  border: 1px solid #dce3e6;
  border-radius: 24px;
  padding: 7px 12px;
  background: #fff;
  color: #24353f;
  font-weight: 600;
  box-shadow: 0 2px 0 #e7edef;
}
.locale-picker summary::-webkit-details-marker {
  display: none;
}
.locale-picker summary::after {
  content: "⌄";
  margin-left: 6px;
}
.locale-picker[open] summary::after {
  content: "⌃";
}
.locale-picker nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid !important;
  gap: 2px !important;
  min-width: 190px;
  padding: 8px !important;
  background: #fff;
  border: 1px solid #dce3e6;
  border-radius: 16px;
  box-shadow: 0 10px 35px #182c3c26;
}
.locale-picker nav a {
  display: block !important;
  padding: 9px 12px !important;
  color: #24353f !important;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  min-height: 40px;
}
.locale-picker nav a:hover,
.locale-picker nav a[aria-current="page"] {
  background: #eef4f6 !important;
}
.locale-picker a:focus-visible,
.locale-picker summary:focus-visible {
  outline: 3px solid #257568;
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .locale-bar {
    padding: 0 20px 12px;
  }
  .locale-picker nav {
    max-height: 65dvh;
    overflow: auto;
  }
}
html:not([lang="en"]) h1,
html:not([lang="en"]) h2 {
  overflow-wrap: break-word;
  hyphens: auto;
}
html:not([lang="en"]) .button {
  white-space: normal;
}

/* NYC's original header had a fixed height and one-line English navigation. */
.site-header {
  height: auto;
}
.site-header .header-inner {
  height: auto;
  min-height: 96px;
}
.site-header .header-inner > nav {
  min-width: 0;
}
.site-header .header-inner > nav a {
  white-space: normal;
  text-align: center;
}
@media (max-width: 1050px) {
  .site-header .header-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .site-header .header-inner > nav {
    flex-basis: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 0;
  }
}
@media (max-width: 760px) {
  .site-header .header-inner > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
html:not([lang="en"]) a,
html:not([lang="en"]) h3,
html:not([lang="en"]) h4 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
