/* Newsletter pages (newsletter*.tpl, newsletter_token*.tpl): extras on top of css/auth.css (card, field, submit, end states).
   Tokens come from .rt-auth (DESIGN.md). */

/* what you get: plain list, check marks like the other inner-page lists */
.rt-auth .rt-nl__list { margin: 0 0 24px; padding: 0; list-style: none; }
.rt-auth .rt-nl__list li {
  position: relative; margin: 0; padding: 0 0 0 28px; color: var(--au-ink-2); line-height: 1.5;
}
.rt-auth .rt-nl__list li + li { margin-top: 10px; }
.rt-auth .rt-nl__list li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 11px; height: 6px;
  border-left: 2.5px solid var(--au-action); border-bottom: 2.5px solid var(--au-action);
  transform: rotate(-45deg);
}

/* fine print under the button */
.rt-auth .rt-nl__fine { margin: 16px 0 0 !important; color: var(--au-ink-3) !important; font-size: 14px; line-height: 1.5; text-align: center; text-wrap: pretty; }
.rt-auth .rt-nl__fine a { color: var(--au-link); text-underline-offset: 3px; }

/* the (masked) address a link page talks about */
.rt-auth .rt-nl__addr { display: inline-block; max-width: 100%; overflow-wrap: anywhere; color: var(--au-ink); font-weight: 700; }

/* quiet second action on an end state (resubscribe, stay subscribed) */
#contentWrapper .rt-auth button.rt-nl__ghost,
.rt-auth a.rt-nl__ghost {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; min-height: 46px; margin: 12px 0 0; padding: 0 22px;
  border: 1px solid var(--au-field) !important; border-radius: 999px !important;
  background: #fff; color: var(--au-ink) !important;
  font: inherit; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
#contentWrapper .rt-auth button.rt-nl__ghost:hover,
.rt-auth a.rt-nl__ghost:hover { border-color: var(--au-ink-3) !important; background: var(--au-soft); text-decoration: none; }
#contentWrapper .rt-auth button.rt-nl__ghost:focus-visible,
.rt-auth a.rt-nl__ghost:focus-visible { outline: 3px solid var(--au-accent); outline-offset: 2px; }
.rt-auth .rt-nl__form { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  #contentWrapper .rt-auth button.rt-nl__ghost, .rt-auth a.rt-nl__ghost { transition: none; }
}
