:root {
  --hdr: clamp(2.5rem, 5.4vh, 3.35rem);
  --ink: #21163d;
  --gold: #f3cb0f;
}

body { padding-top: var(--hdr); }
body.bleed { padding-top: 0; }

.rq-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--hdr) !important;
  min-height: 0 !important;
  max-height: var(--hdr) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: stretch !important;
  background: var(--ink) !important;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
}

.rq-nav { position: relative; height: 100%; }
.rq-burger {
  list-style: none;
  cursor: pointer;
  height: 100%;
  width: calc(var(--hdr) * 1.7);
  background: var(--gold);
  clip-path: polygon(0 0, 72% 0, 100% 50%, 72% 100%, 0 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .28rem;
  padding: 0 0 0 1.05rem;
}
.rq-burger::-webkit-details-marker { display: none; }
.rq-burger i {
  display: block;
  height: .18rem;
  background: var(--ink);
}
.rq-burger i:nth-child(1) { width: 1.55rem; }
.rq-burger i:nth-child(2) { width: 1.3rem; }
.rq-burger i:nth-child(3) { width: 1.05rem; }
.rq-burger i:nth-child(4) { width: .8rem; }

.rq-panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 16rem;
  max-height: calc(100svh - var(--hdr));
  overflow: auto;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: .4rem 0;
  box-shadow: 0 .4rem 1.2rem rgba(0,0,0,.35);
}
.rq-panel a {
  color: #fff;
  text-decoration: none;
  padding: .65rem 1.2rem;
  font-size: .95rem;
  white-space: nowrap;
}
.rq-panel a:hover { background: var(--gold); color: var(--ink); }

.rq-switch {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
}
.rq-switch a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: rgba(255,255,255,.42);
  text-decoration: none;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 500;
  letter-spacing: .02em;
}
.rq-switch a + a { box-shadow: inset 1px 0 0 rgba(255,255,255,.14); }
.rq-switch a.on { color: #fff; }
.rq-switch a.on::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .28rem;
  width: 2.2rem;
  height: 2px;
  transform: translateX(-50%);
  background: var(--gold);
}
.rq-switch a:not(.on):hover { color: rgba(255,255,255,.8); }
.rq-flags {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-right: .9rem;
}
.rq-flags img { height: 1.15rem; width: auto; display: block; }
.rq-logo {
  display: flex;
  align-items: stretch;
  height: 100%;
}
.rq-logo img {
  height: 100%;
  width: auto;
  display: block;
}
