/* Shared navigation and comfortable reading sizes across the public website. */
body {
  font-size: 18px;
}
.header {
  position: relative;
  z-index: 10;
  isolation: isolate;
  background: #f7f4ed;
  backdrop-filter: none;
}
.header .nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 32px;
  max-width: 1440px;
  padding: 22px 36px 18px;
}
.header .brand {
  justify-self: start;
  gap: 12px;
}
.header .brand > img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
}
.header .brand > span:last-child {
  font-size: 12px;
  letter-spacing: 2.5px;
}
.header .brand small {
  font-size: 24px;
  letter-spacing: 3px;
}
.header .nav-account {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  gap: 18px;
  min-width: 0;
  font-size: 16px;
}
.header .nav-account > a:first-child {
  padding: 10px 4px;
  max-width: 230px;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 600;
}
.header .nav-account .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  font-size: 16px;
  white-space: nowrap;
}
.header #navigation {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin: 0;
  width: 100%;
  padding: 8px;
  border-radius: 16px;
  background: #193f34;
  box-shadow: 0 5px 16px #153d310b;
  font-size: 16px;
}
.header #navigation > a {
  padding: 12px 17px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #f7f5eb;
  line-height: 1.4;
  font-weight: 600;
  text-decoration: none;
}
.header #navigation > a:hover,
.header #navigation > a[aria-current='page'] {
  color: #fff;
  background: #315c4b;
  border-color: #ffffff20;
}
.header #navigation #admin-entry {
  color: #183d32;
  background: #ead9ae;
  border-color: #ead9ae;
  font-size: 16px;
}
.header #navigation .language-choice {
  margin-inline-start: auto;
}
.header .language-choice summary {
  min-height: 46px;
  font-size: 16px;
  border-color: #ffffff30;
  color: #fffdf5;
  background: #ffffff0d;
}
.header .language-options {
  position: absolute;
  inset-inline-start: auto;
  inset-inline-end: 0;
  top: calc(100% + 16px);
  width: 360px;
  max-height: min(560px, 65dvh);
  z-index: 1;
}
.header .language-options a {
  font-size: 16px;
  text-decoration: none;
}
.header .menu-button {
  display: none;
}
.header :focus-visible {
  outline: 3px solid #e6b968;
  outline-offset: 3px;
}
.page p,
.page li,
.mr-home p,
.mr-home li {
  line-height: 1.75;
}
.page p,
.page li,
.mr-home .mr-mode > p:not(.mr-mode-tag),
.mr-home .mr-section-heading > p,
.mr-home .mr-faq details p,
.mr-home .mr-steps li {
  font-size: 17px;
}
.mr-home .mr-hero .mr-lead {
  font-size: 20px;
}
.mr-home .mr-faq summary {
  font-size: 18px;
}
.mr-home .mr-mode > a,
.mr-home .mr-secondary,
.mr-home .mr-text-link,
.mr-home .mr-rank-periods span,
.page label,
.page .button,
.page input,
.page textarea,
.page select,
.page .ranking-tabs,
.page .ranking-table th,
.page .ranking-table td {
  font-size: 16px;
}
.mr-home .mr-proof,
.mr-home .mr-browser,
.mr-home .mr-mode-tag,
.mr-home .mr-streak span,
.mr-home .mr-streak small,
.page .eyebrow,
.page .muted,
.footer-top p,
.footer-bottom,
.footer-bottom a,
.cookie-banner p {
  font-size: 14px;
}
.mr-home .mr-eyebrow {
  font-size: 12px;
}
.mr-home .button {
  font-size: 16px;
}
@media (max-width: 900px) {
  .header .nav-wrap {
    grid-template-columns: 1fr;
    padding: 20px 16px 16px;
    gap: 16px;
  }
  .header .brand {
    justify-self: center;
  }
  .header .nav-account {
    grid-column: 1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .header .nav-account > a:first-child {
    max-width: 100%;
  }
  .navigation-ready .header .menu-button {
    grid-row: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 54px;
    height: auto;
    margin: 0;
    padding: 12px 18px;
    border: 1px solid #315c4b;
    border-radius: 12px;
    background: #193f34;
    color: #fffdf5;
    text-align: start;
    font-size: 18px;
    font-weight: 650;
  }
  .menu-icon {
    font-size: 23px;
    line-height: 1;
  }
  .menu-chevron {
    margin-inline-start: auto;
    width: 9px;
    height: 9px;
    border-inline-end: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    font-size: 0;
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }
  .menu-button[aria-expanded='true'] .menu-chevron {
    transform: rotate(225deg);
  }
  .header #navigation {
    grid-row: 4;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    margin: -8px 0 0;
    padding: 8px;
    order: initial;
    border-radius: 12px;
  }
  .navigation-ready .header #navigation:not(.open) {
    display: none;
  }
  .header #navigation > a {
    padding: 13px 16px;
    background: #ffffff08;
    font-size: 17px;
  }
  .header #navigation .language-choice {
    margin: 0;
    width: 100%;
  }
  .header .language-choice summary {
    justify-content: flex-start;
    padding: 13px 16px;
    font-size: 17px;
  }
  .header .language-options {
    position: static;
    width: 100%;
    max-height: 360px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 10px;
    box-shadow: none;
  }
  .header .language-options a {
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .mr-home .mr-hero .mr-lead {
    font-size: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-chevron {
    transition: none;
  }
}
