/* Additions to the original compiled stylesheet (site.css). */

/* Logged-in admin bar: keep the fixed header below it. */
body.admin-bar #c9-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar #c9-header { top: 46px; } }

/* Anchor jumps land below the fixed header. */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 0; }

/* FAQ accordion (replaces the React/Radix version). */
.c9-acc-trigger { cursor: pointer; background: none; border: 0; width: 100%; font-family: inherit; }
.c9-acc-trigger[aria-expanded="true"] > svg { transform: rotate(180deg); }
.c9-acc-trigger:focus-visible { outline: 2px solid #5a7a56; outline-offset: 2px; }

/* Plain pages (404, future pages). */
.c9-page { padding: 8rem 0 6rem; }
.c9-prose p { margin-bottom: 1rem; }

/* Enquiry form, styled to match the site. */
.c9-form .c9-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
@media (min-width: 640px) { .c9-form .c9-grid { grid-template-columns: 1fr 1fr; } .c9-form .c9-full { grid-column: 1 / -1; } }
.c9-field label { display: block; margin-bottom: .5rem; color: #5a7a56; font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.c9-field input, .c9-field textarea { display: block; width: 100%; background: #fff; color: #1a2b1a; border: 1px solid #e5e7eb; border-radius: .25rem; padding: .75rem 1rem; font: inherit; font-size: .875rem; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.c9-field textarea { resize: vertical; min-height: 8rem; }
.c9-field input:focus, .c9-field textarea:focus { outline: none; border-color: #5a7a56; box-shadow: 0 0 0 3px rgba(90,122,86,.2); }
.c9-form button[type="submit"] { cursor: pointer; border: 0; font-family: inherit; }
.c9-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c9-note { border-radius: .25rem; padding: 1rem 1.25rem; font-size: .875rem; line-height: 1.5; margin-bottom: 1.5rem; }
.c9-note-ok { background: #eef5ec; border: 1px solid #c9dcc5; color: #2C3E2D; }
.c9-note-err { background: #fdf0ee; border: 1px solid #f0c9c3; color: #7a2a20; }
