/* Journal look for phpList's public pages (subscribe, unsubscribe, preferences). */
@import url("https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;1,400&display=swap");

:root {
  --se-primary: #dc3522;
  --se-primary-content: #f2e6d8;
  --se-text: #444444;
  --se-muted: #777777;
  --se-line: #cccccc;
  --se-footer: #dedede;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--se-text);
  font-family: "EB Garamond", Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

a {
  color: var(--se-primary);
}

.se-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 14rem;
  padding: 1.5rem;
  background: #ffffff;
}
.se-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("se-banner.jpg") center / cover;
  opacity: 0.8;
}
.se-hero a {
  position: relative;
  display: block;
  width: 100%;
  max-width: 28rem;
}
.se-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.se-main {
  max-width: 40rem;
  margin: 0 auto;
  padding: 2.5rem 1rem 3rem;
}

.se-main h3 {
  margin: 0 0 1rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
}

/* phpList lays forms out in tables; stack label above field instead. */
.se-main table,
.se-main tbody,
.se-main tr,
.se-main td {
  display: block;
  width: 100%;
}
.se-main td {
  padding: 0;
}
.se-main td.attributeinput {
  margin-bottom: 1rem;
}
.se-main label,
.se-main .required {
  font-weight: 500;
}
/* "required fields are marked red": nothing is red, and the asterisks say it already. */
.se-main .error > .required {
  display: none;
}
.se-main .error {
  color: var(--se-primary);
}

.se-main input[type="text"],
.se-main input[type="email"],
.se-main input[type="password"],
.se-main textarea,
.se-main select {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-top: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--se-line);
  border-radius: 0.25rem;
  background: #ffffff;
  color: var(--se-text);
  font: inherit;
}
.se-main input:focus,
.se-main textarea:focus,
.se-main select:focus {
  outline: 2px solid var(--se-primary);
  outline-offset: 1px;
  border-color: var(--se-primary);
}

.se-main input[type="submit"],
.se-main button {
  margin: 0.5rem 1rem 0.5rem 0;
  padding: 0.6rem 1.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--se-primary);
  color: var(--se-primary-content);
  font: inherit;
  cursor: pointer;
}
.se-main input[type="submit"]:hover,
.se-main button:hover {
  filter: brightness(0.9);
}

/* Index page: phpList labels this link with the subscribe page title; show "Subscribe" instead. */
.se-main .content > p > a[href*="?p=subscribe"] {
  display: block;
  width: fit-content;
  margin: 2rem auto 2.5rem;
  padding: 0.75rem 3rem;
  border-radius: 0.25rem;
  background: var(--se-primary);
  color: var(--se-primary-content);
  font-size: 0;
  text-decoration: none;
}
.se-main .content > p > a[href*="?p=subscribe"]::after {
  content: "Subscribe";
  font-size: 1.6rem;
}
.se-main .content > p > a[href*="?p=subscribe"]:hover {
  filter: brightness(0.9);
}

.se-main .poweredby {
  margin-top: 3rem;
  opacity: 0.5;
}

.se-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  padding: 2.5rem 1.5rem;
  background: var(--se-footer);
  font-size: 1rem;
}
.se-footer > div {
  flex: 1 1 16rem;
}
.se-footer p {
  margin: 0 0 0.75rem;
}
.se-footer a {
  color: inherit;
}
.se-footer .se-footer-logo {
  display: block;
  width: 12.5rem;
  height: auto;
  margin-bottom: 1rem;
}
.se-footer .se-partners img {
  height: auto;
  margin-right: 1.5rem;
  vertical-align: middle;
}
