/* Scope only new text/fields. Existing offer and Calendly button styles stay intact. */
.sw18-newsletter-note {
  clear: both;
  box-sizing: border-box;
  margin: 0 auto 48px;
  padding-top: 18px;
  padding-bottom: 18px;
  border-top: 1px solid #dce3ec;
  color: #142f64;
  text-align: left;
}
.sw18-newsletter-note p { margin: 0; font-size: 15px; line-height: 1.6; }
.sw18-newsletter-note a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.sw18-newsletter-note a:focus-visible { outline: 2px solid #142f64; outline-offset: 4px; }
.sw18-request-metadata { clear: both; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
/* CF7 autop may wrap both labels in one p; keep the two labels as grid items. */
.sw18-request-metadata > p { display: contents; }
.sw18-request-metadata > p > br { display: none; }
.sw18-request-metadata label { display: block; min-width: 0; font-size: 15px; line-height: 1.5; }
.sw18-request-metadata input { box-sizing: border-box; display: block; width: 100%; }
.sw18-request-metadata input[readonly] { background: #f4f6f9; color: #142f64; opacity: 1; cursor: default; }
.sw18-newsletter-optin { clear: both; margin: 18px 0; font-size: 14px; line-height: 1.55; }
.sw18-newsletter-optin .wpcf7-list-item { margin: 0; }
.sw18-newsletter-optin label { display: flex; align-items: flex-start; gap: 10px; }
.sw18-newsletter-optin input[type="checkbox"] { width: auto; min-width: 16px; margin: 4px 0 0; flex-shrink: 0; }
.sw18-request-note { clear: both; margin: 8px 0 18px; font-size: 13px; line-height: 1.5; }
@media (max-width: 600px) {
  .sw18-request-metadata { grid-template-columns: 1fr; }
  .sw18-newsletter-note { margin-bottom: 32px; }
}

/* Contrast correction is confined to the approved inquiry forms, including repeated instances. */
:is(.wpcf7[id^="wpcf7-f695-"], .wpcf7[id^="wpcf7-f2767-"]) :is(input, textarea)::placeholder {
  color: #5b6774 !important;
  opacity: 1 !important;
}
