
/* Newsletter section layout */
.newsletter-section {
  background: #f3b51b; /* warm yellow like the screenshot */
  padding: clamp(150px, 6vw, 96px) 16px;
}

.newsletter-section__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-section__title {
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #111;
}

.newsletter-section__text {
  max-width: 560px;
  margin: 0 auto 34px;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.75);
}

/* Contact Form 7 reset-ish */
.newsletter-section .wpcf7 {
  margin: 0;
}

.newsletter-form {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  text-align: left; /* inputs align nicely while section stays centered */
}

.newsletter-form__row {
  display: block;
  margin: 0 0 22px;
}

.newsletter-form__row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.newsletter-form__field {
  width: 100%;
}

/* Underline-only inputs */
.newsletter-section input[type="text"],
.newsletter-section input[type="email"] {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  background: transparent;
  padding: 10px 0 8px;
  font-size: 12px;
  color: #111;
  outline: none;
  border-radius: 0;
  box-shadow: none;
}

.newsletter-section input[type="text"]::placeholder,
.newsletter-section input[type="email"]::placeholder {
  color: rgba(0, 0, 0, 0.75);
}

/* Focus state */
.newsletter-section input[type="text"]:focus,
.newsletter-section input[type="email"]:focus {
  border-bottom-color: rgba(0, 0, 0, 0.9);
}

/* Acceptance + submit centered like screenshot */
.newsletter-form__row--center {
  text-align: center;
  margin-top: 26px;
  /* margin: auto; */
  display: flex;
  justify-content: center;
}

.newsletter-form__accept {
  display: inline-block;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.85);
}

.newsletter-form__accept a {
  color: rgba(0, 0, 0, 0.95);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* CF7 acceptance checkbox alignment */
.newsletter-section .wpcf7-acceptance {
  margin: 0;
}

.newsletter-section .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}

.newsletter-section .wpcf7-acceptance label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.newsletter-section .wpcf7-acceptance input[type="checkbox"] {
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: #111;
}

/* Submit button */
.newsletter-section input[type="submit"],
.newsletter-section button,
.newsletter-section .newsletter-form__submit {
  appearance: none;
  border: 0;
  background: #0b1b2a; /* deep navy */
  color: #fff;
  padding: 12px 46px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 120ms ease, opacity 120ms ease;
  /* margin: auto; */
  display: flex;
}

.newsletter-section input[type="submit"]:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.newsletter-section input[type="submit"]:active {
  transform: translateY(0);
}

/* CF7 response messages */
.newsletter-section .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 10px 12px;
  font-size: 11px;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: #111;
}

.newsletter-section .wpcf7-not-valid-tip {
  font-size: 10px;
  margin-top: 6px;
  color: rgba(0, 0, 0, 0.75);
}

/* Mobile */
@media (max-width: 640px) {
  .newsletter-form {
    max-width: 520px;
  }

  .newsletter-form__row--2col {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}


