.newsletter-form .form-row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--half-gutter) * -1) 3rem;
}

.newsletter-form .field {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 var(--half-gutter);
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .newsletter-form .field.field--half {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.newsletter-form .field label {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8c8cf;
  margin-bottom: 1rem;
}

.newsletter-form .field input[type="text"],
.newsletter-form .field input[type="email"],
.newsletter-form .field textarea,
.contact-form .field textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 2px solid #b8c8cf;
  font-family: "PT Serif", serif;
  font-size: 16px;
  color: #1a1a36;
  padding: 11px;
  transition: border-color 0.25s ease;
}

.newsletter-form .field input:focus,
.contact-form .field textarea:focus {
  outline: none;
  border-color: var(--brand-primary, #0047BB);
}

.newsletter-form__topics {
  margin-bottom: 3rem;
}

.newsletter-form__topics > p {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1a1a36;
  margin-bottom: 2rem;
}

.newsletter-topic-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(var(--half-gutter) * -1);
}

.newsletter-topic-card {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 var(--half-gutter);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .newsletter-topic-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (min-width: 992px) {
  .newsletter-topic-card {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
}

.newsletter-topic-card label {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  min-height: 100%;
  padding: 2rem;
  background: #edf3f4;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.newsletter-topic-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.newsletter-topic-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: #fff;
  color: var(--brand-primary, #0047BB);
  font-size: 18px;
}

.newsletter-topic-card__text {
  font-family: Poppins, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #1a1a36;
}

.newsletter-topic-card input:checked + label,
.newsletter-topic-card label.is-selected {
  border-color: var(--brand-primary, #0047BB);
  background: #fff;
}

.newsletter-topic-card input:checked + label .newsletter-topic-card__icon,
.newsletter-topic-card label.is-selected .newsletter-topic-card__icon {
  background: var(--brand-primary, #0047BB);
  color: #fff;
}

.newsletter-form .field--consent .cb-wrap {
  align-items: flex-start;
}

.newsletter-form .field--consent .cb-wrap p {
  font-size: 14px;
  line-height: 1.6;
}

.newsletter-form__actions {
  margin-top: 2rem;
}

.newsletter-form__actions .btn {
  min-width: 18rem;
}

.newsletter-alert {
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  font-family: Poppins, sans-serif;
  font-size: 16px;
}

.newsletter-alert--success {
  background: #e8f5e9;
  color: #1b5e20;
  border-left: 4px solid #2e7d32;
}

.newsletter-alert--error {
  background: #fdecea;
  color: #b71c1c;
  border-left: 4px solid #c62828;
}
