
      /* BANNER PART CSS */
:root {
  --reg-primary: #1e3a8a;
  --reg-primary-dark: #172b66;
  --reg-accent: #f5a524;
  --reg-accent-dark: #d98f12;
  --reg-ink: #14213d;
  --reg-muted: #4b5563;
  --reg-soft: #eef2ff;
  --reg-border: #d9def0;
  --reg-radius: 10px;
}

/* Option 1: top bar */
.reg-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  flex-wrap: wrap;
  position: relative;
  padding: 10px 48px 10px 16px;
  background: var(--reg-primary);
  color: #fff;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

.reg-bar[hidden] {
  display: none;
}

.reg-bar__text {
  margin: 0;
  font-weight: 500;
}

.reg-bar__link {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--reg-accent);
  color: var(--reg-ink);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.reg-bar__link:hover {
  background: var(--reg-accent-dark);
}

.reg-bar__close {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.reg-bar__close:hover {
  background: var(--reg-primary-dark);
}

/* Option 2: hero card */
.reg-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin: 32px auto;
  padding: 32px;
  border: 1px solid var(--reg-border);
  border-radius: 16px;
  background: var(--reg-soft);
}

.reg-hero[hidden] {
  display: none;
}

.reg-hero__body {
  flex: 1;
  min-width: 0;
  max-width: 560px;
}

.reg-hero__badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: var(--reg-radius);
  background: var(--reg-accent);
  color: var(--reg-ink);
  font-size: 13px;
  font-weight: 600;
}

.reg-hero__title {
  margin: 0 0 8px;
  color: var(--reg-ink);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  line-height: 1.2;
}

.reg-hero__text {
  margin: 0 0 20px;
  color: var(--reg-muted);
  font-size: 16px;
  line-height: 1.6;
}

.reg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.reg-btn {
  display: inline-block;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: var(--reg-radius);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.reg-btn--primary {
  background: var(--reg-primary);
  color: #fff;
}

.reg-btn--primary:hover {
  background: var(--reg-primary-dark);
}

.reg-btn--ghost {
  border-color: var(--reg-primary);
  color: var(--reg-primary);
}

.reg-btn--ghost:hover {
  background: #fff;
}

.reg-hero__art {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #fff;
  color: var(--reg-primary);
}

/* Keyboard focus */
.reg-bar__link:focus-visible,
.reg-bar__close:focus-visible,
.reg-btn:focus-visible {
  outline: 3px solid var(--reg-accent);
  outline-offset: 2px;
}

/* Mobile */
@media (max-width: 640px) {
  .reg-bar {
    font-size: 14px;
  }

  .reg-hero {
    flex-direction: column-reverse;
    align-items: flex-start;
    margin: 20px 16px;
    padding: 24px 20px;
  }

  .reg-hero__art {
    width: 80px;
    height: 80px;
  }
}
