/* ==========================================================================
   WordPress additions on top of the source design (main.css).
   Keep design changes in main.css; this file only covers WordPress/CF7 markup.
   ========================================================================== */

/* FAQ question is an H4 inside <summary>: keep the summary's own type styles. */
.faq__q { font: inherit; letter-spacing: inherit; }

/* Footer column labels are paragraphs (not headings). */
p.footer__label { margin-top: 0; }

/* Highlighted words inside headings (orange) — same look as the source spans. */
.hl { color: var(--orange); }

/* ---------- Contact Form 7 ---------- */
.wpcf7 { width: 100%; }
.wpcf7 form.form > div:first-child[style*="none"],
.wpcf7 .hidden-fields-container { display: none; }
.wpcf7-form-control-wrap { display: block; }
.wpcf7-form-control-wrap > input,
.wpcf7-form-control-wrap > textarea { display: block; } /* no inline baseline gap under the textarea */
.field select { width: 100%; }

.field:has(.wpcf7-not-valid) input,
.field:has(.wpcf7-not-valid) textarea,
.field .wpcf7-not-valid { border-color: #c8361d; background: #fff1ee; }

.wpcf7-not-valid-tip {
  display: block; margin-top: 0.35rem; padding-left: 0.4rem;
  font-size: 13.5px; font-weight: 700; color: #b0301a;
}

.form .wpcf7-response-output {
  grid-column: 1 / -1; margin: 0; padding: 0.85rem 1.2rem;
  border: 0 !important; border-radius: 20px;
  font-size: 14.5px; font-weight: 700; color: var(--stone); background: var(--cloud);
}
.form .wpcf7-response-output:empty { display: none; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { color: #b0301a; background: #fff1ee; }
.wpcf7 form.sent .wpcf7-response-output { color: var(--blue-ink); background: #e7f2fe; }

.form .wpcf7-spinner { display: none; }
.wpcf7 form.submitting .btn[type="submit"] { opacity: 0.7; pointer-events: none; }

.screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Block editor content inside .prose ---------- */
.prose .wp-block-image img, .prose figure img { border-radius: var(--r-card, 28px); }
.prose .aligncenter { margin-inline: auto; }

/* WordPress admin bar should not cover the fixed header. */
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 0px); }
