.top-campaign-banner[hidden] {
      display: none !important;
}

.top-campaign-banner {
      position: fixed;
      top: 1rem;
      left: 50%;
      width: min(calc(100% - 2rem), 1100px);
      padding: 1.4rem 1.75rem;
      color: #000;
      background-color: var(--orange, #fcb319);
      border-radius: 3px;
      box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
      opacity: 0;
      transform: translate(-50%, calc(-100% - 2rem));
      transition: opacity 0.2s ease, transform 0.2s ease;
      z-index: 10000;
}

.top-campaign-banner.is-visible {
      opacity: 1;
      transform: translate(-50%, 0);
}

.top-campaign-banner__inner {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.5rem;
}

.top-campaign-banner__message {
      flex: 1;
      margin: 0;
      color: #000;
      font-size: clamp(1.15rem, 2vw, 1.65rem);
      font-weight: 600;
      line-height: 1.3;
      text-align: center;
}

.top-campaign-banner__actions {
      display: flex;
      flex: 0 0 auto;
      align-items: center;
      justify-content: center;
      gap: 0.75rem;
}

.top-campaign-banner__primary,
.top-campaign-banner__dismiss {
      min-height: 3.4rem;
      padding: 0.85rem 1.8rem;
      border-radius: 5px;
      font-family: var(--font, Montserrat, sans-serif);
      font-size: 1rem;
      line-height: 1.25;
      text-align: center;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.top-campaign-banner__primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 12.5rem;
      color: #fff;
      background-color: var(--blue, #0e41a5);
      border: 1px solid var(--blue, #0e41a5);
      text-decoration: none;
}

.top-campaign-banner__primary:hover,
.top-campaign-banner__primary:focus-visible {
      color: #fff;
      background-color: #082f7d;
}

.top-campaign-banner__dismiss {
      color: #000;
      background: transparent;
      border: 1px solid transparent;
}

.top-campaign-banner__dismiss:hover,
.top-campaign-banner__dismiss:focus-visible {
      border-color: rgba(0, 0, 0, 0.5);
}

.top-campaign-banner__primary:focus-visible,
.top-campaign-banner__dismiss:focus-visible {
      outline: 3px solid #fff;
      outline-offset: 2px;
}

@media screen and (max-width: 920px) {
      .top-campaign-banner {
            width: min(calc(100% - 1.5rem), 700px);
            padding: 1.25rem;
      }

      .top-campaign-banner__inner {
            flex-direction: column;
            gap: 1rem;
      }

      .top-campaign-banner__actions {
            width: 100%;
      }
}

@media screen and (max-width: 599px) {
      .top-campaign-banner {
            top: 0.5rem;
            width: calc(100% - 1rem);
            padding: 1rem;
      }

      .top-campaign-banner__message {
            font-size: 1rem;
      }

      .top-campaign-banner__actions {
            flex-direction: column;
            gap: 0.35rem;
      }

      .top-campaign-banner__primary,
      .top-campaign-banner__dismiss {
            width: 100%;
            min-height: 3rem;
            padding: 0.75rem 1rem;
            font-size: 0.9rem;
      }
}

@media (prefers-reduced-motion: reduce) {
      .top-campaign-banner {
            transition: none;
      }
}
