/**
 * The invitation to report a Sunday, and the form it opens over the article.
 */

.wl-sang {
  margin: 3rem 0;
  padding: 1.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #faf8f4;
}

.wl-sang__title {
  margin: 0 0 0.5rem;
  font-family: "IvyPresto Display", Georgia, serif;
  font-size: 1.625rem;
  line-height: 1.2;
  color: #1c1c1c;
}

.wl-sang__lede {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.55;
  color: #343434;
}

.wl-sang__said {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #22512f;
}

.wl-sang__said--warn {
  color: #8a2b2b;
}

.wl-sang__do {
  margin: 0;
}

.wl-sang__open {
  display: inline-block;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.wl-sang__open:hover,
.wl-sang__open:focus-visible {
  background: #3a3a3a;
  color: #fff;
}

.wl-sang-dialog {
  width: min(32rem, calc(100vw - 2rem));
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #fff;
}

.wl-sang-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.wl-sang-form {
  padding: 1.75rem;
}

.wl-sang-form__title {
  margin: 0 0 0.5rem;
  font-family: "IvyPresto Display", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: #1c1c1c;
}

.wl-sang-form__lede {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #4a4a4a;
}

.wl-sang-form__label {
  display: block;
  margin: 0 0 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4a4a4a;
}

.wl-sang-form__field {
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: #1c1c1c;
}

.wl-sang-form__field--songs {
  line-height: 1.5;
  resize: vertical;
}

.wl-sang-form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.wl-sang-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 0.5rem 0 0;
}

.wl-sang-form__send {
  padding: 0.75rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #1c1c1c;
  color: #fff;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.wl-sang-form__send:hover,
.wl-sang-form__send:focus-visible {
  background: #3a3a3a;
}

.wl-sang-form__cancel {
  padding: 0.75rem 0.5rem;
  border: 0;
  background: none;
  color: #4a4a4a;
  font-family: inherit;
  font-size: 0.9375rem;
  cursor: pointer;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .wl-sang {
    padding: 1.25rem;
  }

  .wl-sang__open,
  .wl-sang-form__send {
    width: 100%;
    text-align: center;
  }
}
