/* 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;
  }
}

/* Modern subscribe refresh */
.subscribe-page {
  display: grid;
  gap: 1.5rem;
}

.subscribe-page .breadcrumb-bar-2 {
  margin-top: 0;
  padding: 0;
}

.subscribe-page > .h1,
.subscribe-page > header.h1 {
  max-width: 780px;
}

.subscribe-page > .h1 h1,
.subscribe-page > header.h1 h1 {
  font-size: 2.8rem;
  font-weight: 720;
  line-height: 1.08;
}

.subscribe-lede {
  max-width: 760px;
  margin: 0 0 1rem;
  color: var(--color-text-grey);
  font-size: 1.05rem;
}

.subscribe-page p {
  grid-column: auto;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .9rem;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  line-height: 1;
  text-transform: uppercase;
}

.section-kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  border-radius: 2px;
  background: var(--color-accent-2);
}

.newsletter-section {
  margin-top: 1rem;
  padding: 0;
  border: 1px solid rgba(21, 19, 17, .1);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-text);
  box-shadow: var(--shadow-small);
}

.newsletter-form {
  display: block;
}

.newsletter-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  gap: 2rem;
  align-items: end;
  padding: 2rem;
}

.newsletter-copy {
  max-width: 620px;
}

.newsletter-section .section-kicker {
  color: var(--color-accent);
}

.newsletter-copy h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  font-weight: 720;
  line-height: 1.08;
}

.newsletter-copy p {
  max-width: 560px;
  margin: 1rem 0 0;
  color: var(--color-text-grey);
}

.newsletter-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  align-items: stretch;
}

.newsletter-controls input[type=email] {
  min-width: 0;
  width: 100%;
  padding: .95rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #f9fbfa;
  color: var(--color-black);
  line-height: 1.2;
}

.newsletter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: .95rem 1.25rem;
  border: 1px solid var(--color-black);
  border-radius: var(--radius);
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(21, 19, 17, .14);
}

.newsletter-submit:hover {
  transform: translateY(-1px);
  border-color: var(--color-accent);
  background: var(--color-accent);
}

@media (max-width: 700px) {
  .subscribe-page > .h1 h1,
  .subscribe-page > header.h1 h1 {
    font-size: 2.15rem;
  }

  .newsletter-section {
    padding: 0;
  }

  .newsletter-panel,
  .newsletter-controls {
    grid-template-columns: 1fr;
  }

  .newsletter-panel {
    padding: 1.25rem;
  }
}
