.rhn-notifications {
  width: 100%;
  position: relative;
  z-index: 9999;
}

.rhn-alert {
  width: 100%;
  overflow: hidden;
  transition: max-height 250ms ease, opacity 250ms ease;
}

.rhn-container {
  max-width: 1200px; /* tweak to match your theme container */
  margin: 0 auto;
  padding: 0 20px;
}

.rhn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
  font-weight: 600;
  text-align: center;
}

.rhn-text,
.rhn-link {
  color: #0b0b0b;
  text-decoration: none;
}

.rhn-link:hover {
  text-decoration: underline;
}

.rhn-close {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 2px 8px;
  color: #0b0b0b;
  opacity: 0.85;
}

.rhn-close:hover {
  opacity: 1;
}

/* Colour styles (match your screenshots vibe) */
.rhn-orange { background: #ff8b14; }
.rhn-teal   { background: #1dffe5; }
.rhn-green  { background: #6bd17a; }
.rhn-purple  { background: #976ce3; }
.rhn-dark   { background: #1f2937; }
.rhn-dark .rhn-text,
.rhn-dark .rhn-link,
.rhn-dark .rhn-close { color: #ffffff; }
.rhn-purple .rhn-text,
.rhn-purple .rhn-link,
.rhn-purple .rhn-close { color: #ffffff; }

/* If you want it “banner-tight” */
@media (max-width: 600px) {
  .rhn-inner { padding: 9px 0; font-size: 14px; }
}
