/* The public pages of the newsletter (confirm, unsubscribe, sign-up, archive) and the login,
   in the look of koestlerwein.at: black, white type, headings in Abril Fatface, text in Aaux Next
   (both from the Adobe Fonts kit the website uses), pill buttons. */
:root {
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html, body {
  padding: 0;
  margin: 0;
  min-width: 320px;
}
body {
  background: #000;
  font-family: "aaux-next", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #e6e6e6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: #fff;
  text-underline-offset: 3px;
}
a:hover {
  color: #a8a8a8;
}
label {
  cursor: pointer;
  color: #e6e6e6;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 18px;
  font-family: "abril-fatface", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.15;
  color: #fff;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 22px;
}
.section {
  margin-bottom: 45px;
}

input[type="text"], input[type="email"], input[type="password"], select {
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 0;
  width: 100%;
  background: transparent;
  color: #fff;
  font: inherit;
}
  input:focus {
    outline: none;
    border-color: #fff;
  }
input::placeholder {
  color: #7a7a7a;
}
input:focus::placeholder {
  color: transparent;
}
input[type="checkbox"], input[type="radio"] {
  accent-color: #fff;
  width: 17px;
  height: 17px;
  margin-right: 8px;
  vertical-align: -2px;
}

input[disabled] {
  opacity: 0.5;
}

.center {
  text-align: center;
}
.right {
  text-align: right;
}
.small {
  font-size: 0.875em;
}
.error {
  color: #ff8a80;
}
.button {
  background: #fff;
  padding: 17px 34px;
  border-radius: 999px;
  border: 1px solid #fff;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  display: inline-block;
  min-width: 150px;
  font: inherit;
  font-size: 13px;
  letter-spacing: 0.2em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  transition: background-color 0.3s, color 0.3s;
}
.button:hover {
  background: transparent;
  color: #fff;
}
.button.button-outline {
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.5);
  color: #fff;
}
.button.button-outline:hover {
  border-color: #fff;
  background-color: #fff;
  color: #000;
}

.container {
  margin: 0 auto;
  max-width: 600px;
}

.wrap {
  padding: 0 32px 40px;
}

/* The vineyard banner with the logo stands above every page, as in the mails. */
.header {
  margin: 0 -32px 40px;
}
.header .logo a {
  display: block;
}
.header .logo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
}

.unsub-all {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #2b2b2b;
}

.row {
  margin-bottom: 20px;
}
.lists {
  list-style-type: none;
  padding: 0;
}
  .lists li {
    margin: 0 0 5px 0;
  }
  .lists .description {
    margin: 0 0 15px 0;
    font-size: 0.875em;
    line-height: 1.3rem;
    color: #a8a8a8;
    margin-left: 29px;
  }
  .lists h2 {
    margin-top: 28px;
    font-size: 22px;
  }
  .form .nonce {
    display: none;
  }
  .form .captcha {
    margin-top: 30px;
  }
/* What somebody signed up for: a white line with a rule at its left, as in the mails. */
.optin-form ul {
  margin: 4px 0 30px;
  padding: 4px 0 4px 18px;
  border-left: 2px solid #fff;
  list-style: none;
  font-size: 19px;
  line-height: 1.4;
  color: #fff;
}

.archive {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}
  .archive .date {
    display: block;
    color: #a8a8a8;
    font-size: 0.875em;
  }
  .archive li {
    margin-bottom: 15px;
  }
  .feed {
    margin-right: 15px;
  }

.home-options {
  margin-top: 30px;
}
  .home-options a {
    margin: 0 7px;
  }

.pagination {
  margin-top: 30px;
  text-align: center;
}
  .pg-page {
    display: inline-block;
    padding: 0 10px;
    text-decoration: none;
  }
  .pg-page.pg-selected {
    text-decoration: underline;
    font-weight: bold;
  }

.login .submit {
  margin-top: 20px;
}
  .login button {
    width: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .login button img {
    max-width: 24px;
    margin-right: 10px;
  }
  .login input[name=totp_code] {
    font-size: 2em;
    letter-spacing: 5px;
    text-align: center;
  }

footer.container {
  padding: 28px 32px 44px;
  border-top: 1px solid #2b2b2b;
  color: #a8a8a8;
  font-size: 13px;
  line-height: 1.6;
}
  footer a {
    color: #a8a8a8;
  }
  footer a:hover {
    color: #fff;
  }

@media screen and (max-width: 650px) {
  .wrap {
    padding: 0 22px 32px;
  }
  .header {
    margin: 0 -22px 30px;
  }
  footer.container {
    padding: 24px 22px 36px;
  }
  h2 {
    font-size: 27px;
  }
}
