:root {
  --rg-strip-h: 5.5rem;
}

.rg-strip {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: #0d47a1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.6875rem;
  line-height: 1.45;
  color: #e8f0fe;
}

.rg-strip__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.45rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  text-align: center;
}

.rg-strip__badge {
  flex-shrink: 0;
  background: #ffcc66;
  color: #0f172a;
  font-weight: 800;
  padding: 0.12rem 0.45rem;
  border-radius: 0.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.04em;
}

.rg-strip__text {
  flex: 0 1 auto;
  margin: 0;
  min-width: 0;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rg-strip__text a {
  color: #4fc3f7;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rg-strip__text a:hover {
  color: #b3e5fc;
}

body.has-rg-strip {
  padding-top: var(--rg-strip-h);
  max-width: 100%;
  overflow-x: hidden;
}

body.has-rg-strip .header {
  top: var(--rg-strip-h);
}

@media (max-width: 767px) {
  .rg-strip {
    font-size: 0.625rem;
    line-height: 1.5;
  }

  .rg-strip__inner {
    padding: 0.4rem 0.75rem;
    gap: 0.3rem 0.5rem;
    align-items: center;
    justify-content: center;
  }

  .rg-strip__text {
    flex: 1 1 100%;
    min-width: 0;
    text-align: center;
  }
}

@media (min-width: 768px) {
  :root {
    --rg-strip-h: 2.75rem;
  }
}
