@font-face {
  font-family: "Molok Header Amiri";
  src: url("./site-header-amiri-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Molok Header Noto";
  src: url("./site-header-noto-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
.me-header {
  position: relative;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  min-height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 5.5%;
  background: linear-gradient(180deg, #081710f5, #0b1b14e6);
  border-bottom: 1px solid #dfcaa52b;
  color: #f3ebd8;
  font: 400 13px/1.8 "Molok Header Noto", Tahoma, sans-serif;
  text-align: start;
}
.me-header:has(+main > .hero:first-child) {
  position: absolute;
  inset: 0 0 auto;
}
.me-header + main > .hero:first-child { margin-top: 0; }
.me-header a {
  box-sizing: border-box;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.me-header a:hover, .me-header a[aria-current] { color: #dfbd75; }
.me-header a:focus-visible { outline: 2px solid #e8c980; outline-offset: 3px; }
.me-header .me-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font: 700 29px/1.35 "Molok Header Amiri", Georgia, serif;
}
.me-header__brand svg { display: block; flex: none; width: 44px; height: 48px; }
.me-header__brand small {
  display: block;
  margin-top: 5px;
  font: 700 8px/1.5 Georgia, serif;
  letter-spacing: 3px;
  text-align: center;
}
.me-header .me-header__nav { display: flex; gap: 35px; align-items: center; }
.me-header__nav a { display: grid; place-items: center; min-height: 44px; }
.me-header .me-header__account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 19px;
  border: 1px solid #d4b47440;
  font: 400 12px/1.8 "Molok Header Noto", Tahoma, sans-serif;
}
@media (max-width: 900px) {
  .me-header { display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; padding-block: 12px 4px; }
  .me-header .me-header__nav { grid-column: 1/-1; grid-row: 2; justify-content: center; gap: clamp(12px, 4vw, 30px); }
  .me-header__account { grid-column: 2; grid-row: 1; }
}
@media (max-width: 520px) {
  .me-header { padding: 10px 5% 4px; }
  .me-header .me-header__brand { font-size: 24px; gap: 8px; }
  .me-header__brand svg { width: 32px; height: 40px; }
  .me-header__brand small { margin-top: 1px; font-size: 7px; letter-spacing: 2px; }
  .me-header .me-header__account { padding-inline: 12px; }
  .me-header .me-header__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 8px; }
}
