/* Festival header: clear three-point navigation on every screen. */
header .bar {
  position: relative;
  justify-content: center;
  padding-right: 72px;
  padding-left: 72px;
}

header .brand {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 5px;
  row-gap: 3px;
  margin: 0;
  color: #241109;
  font: 800 1.28rem/1 system-ui, "Noto Sans Armenian", sans-serif;
  letter-spacing: -.045em;
  transform: translate(-50%, -50%);
}

header .brand span { color: #241109 !important; font-size: 1em; letter-spacing: .02em; }
header .brand span:first-child,
header .brand i { color: #eb6515 !important; }
header .brand i { font-size: .88em; text-shadow: none; }

header .brand-city {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  margin: 0;
  padding: 0;
  color: #995226 !important;
  font: 600 .47rem/1 system-ui, "Noto Sans Armenian", sans-serif;
  letter-spacing: .19em;
}
header .brand::after { display: none !important; }

body.night header .brand { color: #fff3e8 !important; }
body.night header .brand span { color: #fff3e8 !important; }
body.night header .brand span:first-child,
body.night header .brand i { color: #ffad59 !important; }
body.night header .brand-city { color: #dba77a !important; }

.marketplace-switch,
header .actions .hamburger {
  display: grid !important;
  width: 40px;
  height: 40px;
  min-width: 40px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid #f2cfae;
  border-radius: 12px;
  background: #fffdf9;
  color: #8d3008;
  font: 900 1.08rem/1 system-ui, sans-serif;
}

.marketplace-switch {
  position: absolute;
  left: 14px;
  top: 50%;
  text-decoration: none;
  transform: translateY(-50%);
}

.marketplace-switch:hover,
header .actions .hamburger:hover { border-color: #eb6515; background: #fff0dd; }

header .actions {
  position: absolute;
  right: 14px;
  top: 50%;
  gap: 0;
  transform: translateY(-50%);
}

header .actions > :not(.hamburger) { display: none !important; }

body.night .marketplace-switch,
body.night header .actions .hamburger { border-color: #713414; background: #351b0f; color: #ffc28c; }

body.night .marketplace-switch:hover,
body.night header .actions .hamburger:hover { border-color: #f87520; background: #46230f; }

@media (max-width: 700px) {
  header .bar { height: 68px; padding-right: 55px; padding-left: 55px; }
  header .brand { top: 50%; column-gap: 3px; row-gap: 3px; padding: 0; font-size: 1.02rem; }
  header .brand span { display: block; font-size: 1em; }
  header .brand-city { font-size: .42rem; letter-spacing: .16em; }
  .marketplace-switch,
  header .actions .hamburger { width: 38px; height: 38px; min-width: 38px; }
  .marketplace-switch { left: 10px; }
  header .actions { right: 10px; }
}

@media (max-width: 370px) {
  header .brand { font-size: .91rem; }
  header .brand span { font-size: 1em; }
}
