/* Shared by the WordPress shortcode and the React header. */
@font-face {
  font-family: "RMT Nunito Sans";
  src: url("./nunito-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
}

.rmt-header {
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 100px;
  width: 100%;
  font: 400 16px/1.5 "RMT Nunito Sans", system-ui, sans-serif;
  letter-spacing: normal;
}

.rmt-header .rmt-header__inner {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1366px;
  width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.rmt-header img.rmt-header__logo {
  display: block;
  width: 80px;
  height: auto;
  max-width: 100%;
  border: 0;
}

.rmt-header .rmt-header__nav,
.rmt-header .rmt-header__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.rmt-header a.rmt-header__link,
.rmt-header a.rmt-header__pill,
.rmt-header a.rmt-header__admin,
.rmt-header a.rmt-header__profile {
  display: block;
  color: #fff;
  font-family: inherit;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}

.rmt-header a.rmt-header__link {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
}

.rmt-header a.rmt-header__link:hover { color: #3fe297; }

.rmt-header a.rmt-header__pill {
  background: #42b27c;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  text-transform: uppercase;
  transition: transform 300ms;
}

.rmt-header a.rmt-header__pill--login {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 16px;
}

.rmt-header a.rmt-header__pill:hover { transform: scale(1.03); }

.rmt-header a.rmt-header__admin {
  border: 1px solid #42b27c;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 600;
  color: #65dfa6;
}

.rmt-header a.rmt-header__admin:hover { background: #245e41; }

.rmt-header img.rmt-header__avatar {
  box-sizing: border-box;
  display: block;
  width: 45px;
  height: 45px;
  max-width: none;
  object-fit: cover;
  border: 3px solid #4a5565;
  border-radius: 50%;
  transition: transform 300ms;
}

.rmt-header a.rmt-header__profile:hover .rmt-header__avatar { transform: scale(1.09); }

.rmt-header :is(.rmt-header__link, .rmt-header__pill, .rmt-header__admin, .rmt-header__profile):focus-visible {
  outline: 2px solid #65dfa6;
  outline-offset: 4px;
}

.rmt-header [hidden] { display: none !important; }

@media (max-width: 767px) {
  .rmt-header .rmt-header__links { display: none; }
}

@media (max-width: 360px) {
  .rmt-header .rmt-header__nav { gap: 10px; }
  .rmt-header a.rmt-header__pill { padding-inline: 10px; }
  .rmt-header a.rmt-header__admin { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .rmt-header a.rmt-header__pill,
  .rmt-header img.rmt-header__avatar { transition: none; }
}
