/* ---------------------------------------------------------------------------
 * Zahner branding for the public listmonk pages.
 *
 * This file is the canonical copy. listmonk stores custom CSS in its database,
 * so it has to be pasted into:
 *     Admin -> Settings -> Appearance -> Public -> Custom CSS
 * Keep the two in sync; the live value is captured by the nightly pg_dump.
 *
 * listmonk's own static/public/static/style.css uses hardcoded colours with no
 * CSS custom properties, so everything below is a targeted override of its
 * selectors rather than a variable change.
 * ------------------------------------------------------------------------- */

/* Brand crimson, taken from zahner-logo.svg */

/* style.css caps the logo at 150px. The wordmark is 557x146 (~3.8:1), so at
 * that cap it renders only ~39px tall and reads as an afterthought. */
.header .logo img {
  max-width: 220px;
}

a {
  color: #a02832;
  text-decoration-color: #e0b0b5;
}

a:hover {
  color: #111;
}

.button {
  background: #a02832;
}

.button:hover {
  background: #7a1e26;
  color: #fff;
}

.button.button-outline {
  border-color: #a02832;
  color: #a02832;
}

.button.button-outline:hover {
  border-color: #7a1e26;
  background-color: #7a1e26;
  color: #fff;
}

/* style.css focuses inputs with its own blue. Recolour the border and add a
 * ring rather than removing the indicator — this is the only focus cue on the
 * subscribe form and keyboard users depend on it. */
input:focus {
  border-color: #a02832;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(160, 40, 50, 0.18);
}

/* The list picker is the main event on the subscription form: one row per
 * product, each with its description underneath. Give the rows room to breathe
 * so a list of six products stays scannable. */
.lists li {
  margin: 0 0 14px 0;
}

.lists .description {
  color: #666;
}

/* "Powered by listmonk" in the footer is left in place deliberately — it is
 * already visually muted, and stripping the attribution of AGPL software is a
 * choice worth making explicitly rather than by accident. To remove it:
 *     footer.container { display: none; }
 */
