/* =========================================================
   DTC theme additions: rich text blocks and Contact Form 7 styling
   (the design itself lives in main.css, copied unchanged).
   ========================================================= */

/* Paragraph blocks that were hard-coded <p> tags in the static design */
.rich-text p{ color:var(--slate-muted); margin-bottom:1.2rem; }
.rich-text p:last-child{ margin-bottom:0; }
.rich-text.is-lead p:last-child{ margin-bottom:1.8rem; }
.rich-text strong{ color:var(--slate); }
.rich-text h2,.rich-text h3{ margin:1.6rem 0 1rem; }
.rich-text ul,.rich-text ol{ margin:0 0 1.2rem 1.4rem; color:var(--slate-muted); }
.rich-text ul{ list-style:disc; }
.rich-text ol{ list-style:decimal; }
.rich-text a{ color:var(--gold-700); text-decoration:underline; }

/* Contact Form 7 inside the form card */
.form-card .wpcf7{ width:100%; }
.form-card .wpcf7-form-control-wrap{ display:block; }
.form-card .wpcf7 .btn-block{ width:100%; justify-content:center; }
.form-card .wpcf7-spinner{ display:none; }
.form-card .wpcf7 form.submitting .wpcf7-spinner{ display:inline-block; margin:1rem auto 0; }
.form-card .wpcf7-not-valid-tip{ color:#c0392b; font-size:.8rem; margin-top:.35rem; display:block; }
.form-card .wpcf7-not-valid{ border-color:#c0392b !important; }
.form-card .wpcf7 form .wpcf7-response-output{
  margin:1rem 0 0; padding:0; border:0; font-size:.9rem; font-weight:600; color:var(--gold-700);
}
.form-card .wpcf7 form.invalid .wpcf7-response-output,
.form-card .wpcf7 form.failed .wpcf7-response-output,
.form-card .wpcf7 form.unaccepted .wpcf7-response-output,
.form-card .wpcf7 form.spam .wpcf7-response-output{ color:#c0392b; }
.form-card .wpcf7 p{ margin:0; }
.form-card .wpcf7 .form-note{ margin-top:1rem; }
.form-card .wpcf7 select{ appearance:auto; }
