/* Folk Directory — public subscribe pages on lists.folkdirectory.co.uk */

:root {
  --fd-ink: #1c2418;
  --fd-paper: #f4f0e6;
  --fd-accent: #2f5d3a;
  --fd-muted: #5a6354;
  --fd-field: #e4e0d2;
  --fd-button: #243528;
  --fd-max: 42rem;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background-color: var(--fd-field) !important;
  background-image: linear-gradient(165deg, #ebe6d8 0%, #d5d0be 45%, #c8c3b0 100%) !important;
  background-attachment: fixed;
  color: var(--fd-ink);
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

a {
  color: var(--fd-accent);
}

a:hover {
  color: #000;
}

.container.wrap {
  max-width: var(--fd-max);
  margin: 1.5rem auto 2rem;
  padding: 0 0.75rem;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.fd-panel {
  background: var(--fd-paper);
  border-radius: 4px;
  padding: 2.5rem 2.2rem 2rem;
  box-shadow: 0 2px 12px rgba(28, 36, 24, 0.12);
  border: 1px solid rgba(36, 53, 40, 0.08);
}

.fd-panel .header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.fd-panel .subscribe-card {
  margin: 0;
}

.logo h1 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: normal;
  letter-spacing: 0.02em;
  color: var(--fd-accent);
}

.logo .subtitle {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--fd-muted);
  font-style: italic;
}

.subscribe-card .tagline {
  color: var(--fd-muted);
  margin: 0 0 1.25rem;
}

.subscribe-card h2 {
  font-size: 1.25rem;
  font-weight: normal;
  margin: 0 0 1rem;
}

.form input[type="email"],
.form input[type="text"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.55rem 0.65rem;
  border: 1px solid #b8b3a2;
  border-radius: 2px;
  font: inherit;
}

.form input:focus {
  outline: 2px solid var(--fd-accent);
  outline-offset: 1px;
}

.form input[type="submit"],
button[type="submit"] {
  background: var(--fd-button);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  font: inherit;
  cursor: pointer;
  border-radius: 2px;
  margin-top: 0.5rem;
}

.form input[type="submit"]:hover {
  background: #1a261c;
}

.site-footer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--fd-muted);
  margin-top: 1.5rem;
}

.site-footer .quiet {
  opacity: 0.85;
}

footer.container {
  background: transparent !important;
}

/* Hide stock listmonk footer; FD footer in template */
footer.container:not(.site-footer) {
  display: none;
}
