/* LSA branding for Listmonk's public pages (confirm, unsubscribe, preferences, archive).
   Paste into Listmonk: Settings -> Appearance -> Public -> Custom CSS. Keep this file as the source.
   Fonts load from the LSA site; prod nginx allows https://lists.louisvillesustainabilityalliance.org
   to use them (CORS on *.woff2). Colors match user/themes/lsa/css/custom.css. */

@font-face { font-family: 'Cal Sans'; font-weight: 400; font-display: swap;
  src: url('https://louisvillesustainabilityalliance.org/user/themes/quark2/fonts/cal-sans/cal-sans-latin.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap;
  src: url('https://louisvillesustainabilityalliance.org/user/themes/quark2/fonts/inter/inter-latin.woff2') format('woff2'); }

body { background: #faf7f0; color: #2b2a25; font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; line-height: 1.65; }
h1, h2, h3, h4 { font-family: 'Cal Sans', 'Inter', system-ui, sans-serif; color: #1b2a1f; font-weight: 400; line-height: 1.2; }
a { color: #2a6238; text-decoration-color: rgba(42, 98, 56, 0.4); text-underline-offset: 0.18em; }
a:hover { color: #1b2a1f; }

/* Card */
.wrap { background: #fffdf8; border: 1px solid rgba(70, 60, 30, 0.14); border-top: 5px solid #2f6b3f; border-radius: 12px; box-shadow: none; }

/* Brand in place of the Listmonk logo: leaf mark + name, as in the site header */
.header .logo img { display: none; }
.header .logo a, .header .logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.header .logo::before {
  content: ""; flex: none; width: 34px; height: 34px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 26C6 13 13 5 27 5c0 14-7 21-17 21-1.5 0-2.7-.2-4-.6z' fill='%232f6b3f'/%3E%3Cpath d='M6 27C11 18 16 13 22 10' fill='none' stroke='%23fffdf8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
.header .logo::after {
  content: "Louisville Sustainability Alliance";
  font-family: 'Cal Sans', 'Inter', system-ui, sans-serif; font-size: 1.25rem; line-height: 1.15; color: #1b2a1f;
}
.header { border-bottom: 1px solid rgba(70, 60, 30, 0.14); padding-bottom: 1rem; margin-bottom: 1.25rem; }

/* Buttons: site green; outline variant (e.g. "Unsubscribe") in green too */
.button { background: #2b5d3a; color: #fff; border-radius: 8px; font-weight: 600; }
.button:hover { background: #21492d; color: #fff; }
.button.button-outline { background: transparent; border: 2px solid #2b5d3a; color: #2b5d3a; }
.button.button-outline:hover { background: #2b5d3a; border-color: #2b5d3a; color: #fff; }

/* Form fields */
input[type="text"], input[type="email"], select { border: 1px solid rgba(70, 60, 30, 0.26); border-radius: 8px; box-shadow: none; background: #fff; }
input:focus { border-color: #2f6b3f; outline: 3px solid rgba(47, 107, 63, 0.35); outline-offset: 1px; }
input[type="checkbox"] { accent-color: #2f6b3f; }

/* Footer: link back to the site, keep "Powered by listmonk" small */
footer.container { color: #5a574c; }
footer a { color: #5a574c; }
footer.container::before {
  content: "louisvillesustainabilityalliance.org"; display: block; margin-bottom: 0.25rem;
  font-family: 'Cal Sans', 'Inter', system-ui, sans-serif; font-size: 1.1em; color: #2a6238;
}
