/* Dedicated public CF7 document; never theme or admin styling. */
:root { color-scheme: light; font-family: system-ui, sans-serif; color: #1c1c19; background: #fff; font-size: 16px; line-height: 1.6; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 46rem; margin: auto; padding: 1.5rem; }
h1 { font-family: Georgia, serif; font-size: 1.65rem; line-height: 1.25; margin: 0 0 1rem; }
p { margin: 0 0 1.25rem; }
label { display: block; font-weight: 600; }
input:not([type=checkbox]):not([type=radio]), textarea, select { font: inherit; font-weight: 400; max-width: 100%; width: 100%; padding: .7rem; border: 1px solid #7c6f5b; border-radius: .25rem; background: #fff; color: inherit; }
textarea { min-height: 10rem; resize: vertical; }
input[type=submit], button { font: inherit; font-weight: 600; cursor: pointer; background: #c8a96e !important; color: #1c1c19 !important; border: 0 !important; border-radius: .25rem; padding: .8rem 1.4rem; width: auto !important; }
a { color: #735b28; }
:focus-visible { outline: 3px solid #735b28; outline-offset: 3px; }
.uk-contact-trap, .wpcf7-form .hidden-fields { display: none; }
/* Keep the submit target stationary when blur removes a validation tip.
   The placeholder shares row 2; long messages may still grow rather than clip. */
.wpcf7-form-control-wrap { display: grid; grid-template-rows: auto minmax(3rem, auto); }
.wpcf7-form-control-wrap > .wpcf7-form-control { grid-row: 1; }
.wpcf7-form-control-wrap::after { content: ''; grid-row: 2; }
.wpcf7-not-valid-tip { grid-row: 2; grid-column: 1; font-weight: 600; color: #9f2d25; }
.wpcf7-form-control-wrap::after { grid-column: 1; }
.wpcf7-response-output { margin: 1rem 0 !important; padding: 1rem !important; }
.wpcf7-spinner { vertical-align: middle; }
