/* Public pages of newsletter.ritter-butzke.de (listmonk rbnews -> settings appearance.public.custom_css).
   Follows club.ritterbutzke.com: black page, white type, the white knight as the only mark, white
   buttons with black text, no colour. The site sets everything in Larsseit (Type Dynamic, commercial);
   DM Sans (SIL OFL 1.1, latin subset, wght 400-700) stands in until Ritter Butzke confirms their
   licence covers this domain - swap the file and the family name below to switch.
   Nothing is fetched from a third party: the font comes from this listmonk's own /uploads/ (the
   email template loads the same file; inlining it as well pushed the deploy command past 128 KiB). */

@font-face {
  font-family: "RB Sans";
  src: url(/uploads/rb-sans.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #fff;
  --page: #000;
  --muted: rgba(255, 255, 255, 0.65);
  --line: rgba(255, 255, 255, 0.25);
  --sans: "RB Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}

.container { max-width: 560px; margin: 0 auto; padding: 0 16px; }
.wrap { background: var(--page); border: 0; box-shadow: none; padding: 40px 0 24px; }

/* ---- the knight (app.logo_url), at the size the club site uses ---------- */
.header { border: 0; padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--line); }
.header .logo img { width: 50px; height: auto; max-width: none; }

/* ---- type -------------------------------------------------------------- */
h1, h2, h3 { font-family: var(--sans); font-weight: 500; color: var(--ink); line-height: 1.15; margin: 0 0 18px; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
.lists h2 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin: 28px 0 12px; color: var(--muted); }

p { margin: 0 0 14px; }
a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
.right { text-align: left; margin-top: 18px; }

/* ---- form -------------------------------------------------------------- */
label { color: var(--ink); font-weight: 500; font-size: 0.9rem; display: inline-block; margin-bottom: 4px; }

input[type="text"], input[type="email"], input[type="password"], select {
  width: 100%;
  padding: 10px 2px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
}
input::placeholder { color: rgba(255, 255, 255, 0.4); }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus {
  outline: none;
  border-bottom-width: 2px;
  padding-bottom: 9px;
}

.lists { margin: 0; padding: 0; }
.lists li { margin-bottom: 12px; list-style: none; }
.lists label { font-size: 1rem; }
.lists input[type="checkbox"] { accent-color: var(--ink); width: 16px; height: 16px; vertical-align: -2px; }
.lists .description { color: var(--muted); margin-left: 25px; font-size: 0.9rem; }

/* ---- buttons: white on black, like the site's primary ------------------ */
.button {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  background: var(--ink);
  color: var(--page);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 30px;
  min-width: 0;
}
.button:hover, .button:focus-visible { background: var(--page); color: var(--ink); }
.button.button-outline { background: var(--page); color: var(--ink); }
.button.button-outline:hover { background: var(--ink); color: var(--page); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---- archive, messages, footer ----------------------------------------- */
.archive li { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.archive .date, .pagination, footer, footer a { color: var(--muted); }
footer { font-size: 0.85rem; text-align: left; padding-top: 12px; }
