/* NEWSLETTER */
.nl-flow > * + * {
  margin-top: var(--nl-flow-spacer, var(--nl-spacer));
}

* {
  font-family: inherit;
  line-height: inherit;
  color: inherit;
}

.nl-main,
.nl-container {
  width: min(95%, 1136px);
  margin: 0 auto;
}

.nl-news__title {
  font-size: 1.75rem;
  margin-bottom: 1.5em;
}

.nl-news-grid {
  display: grid;
}

.nl-checkbox {
  opacity: 0;
  position: relative;
}

.nl-checkbox + label {
  display: grid;
  grid-template-columns: 24px auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 1em;
  position: relative;
  cursor: pointer;
}

.nl-checkbox[type=checkbox] + label::before {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 3px;
  border: 1px solid #8f94a1;
  background: transparent;
}

.nl-checkbox[type=checkbox] + label::after {
  content: "✓";
  color: white;
  font-size: 1.25rem;
  position: absolute;
  top: 0px;
  left: 4px;
  transform: scale(0);
  transition: all 300ms ease-in-out;
}

.nl-checkbox[type=checkbox]:checked + label::before {
  background-color: black;
}

.nl-checkbox[type=checkbox]:checked + label::after {
  transform: scale(1);
}

h5 {
  font-size: 1.25rem;
  white-space: nowrap;
}

p {
  grid-column: 2/-2;
}

.nl-card {
  padding: 0 12px;
}

.nl-news__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

input[type=email] {
  border: 0;
  outline: 0;
  padding: 20px 30px;
  border-radius: 3px;
  border: 1px solid #8f94a1;
}

.nl-news__btn {
  border: none;
  outline: none;
  background: transparent;
  background-color: black;
  padding: 20px 30px;
  color: white;
  border-radius: 3px;
  cursor: pointer;
}

@media (min-width: 768px) { /* 550 */
  .nl-news-grid {
    grid-auto-flow: column;
    grid-template-columns: repeat(3, 1fr);
  }

  .nl-news {
    padding: 4.125em 2.25em;
  }

  .nl-news__form {
    flex-direction: row;
    gap: 10px;
  }

  input[type=email] {
    flex: 0 0 480px;
  }
}