/*
Join Our Team page — additions on top of the shared contact-page skin
(page-contact.css is enqueued first; this file depends on it).
Covers only what the application form adds: two-column name row, the
required marker, the PDF file input, and CF7 acceptance checkboxes.
*/

/* Two-column name row inside the CF7 form body. CF7's autop wraps the
   labels in a <p> and injects <br> between them — display:contents lifts
   the labels back out as direct grid items and the <br> is dropped. */
.jt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.jt-row p { display: contents; }
.jt-row br { display: none; }
@media (max-width: 600px) { .jt-row { grid-template-columns: 1fr; } }

/* Required marker (matches the sell page's .req) */
.contact-form-panel .req { color: var(--gold); margin-left: 3px; }

/* PDF resume file input */
.contact-form-panel .wpcf7 input[type="file"] { width: 100%; background: var(--dark); border: 1px solid var(--border); border-radius: 2px; color: var(--mist); font-family: var(--body); font-size: 13px; padding: 10px 12px; cursor: pointer; }
.contact-form-panel .wpcf7 input[type="file"]:focus { border-color: var(--gold-lt); box-shadow: 0 0 0 2px var(--gold-lt); outline: none; }
.contact-form-panel .wpcf7 input[type="file"]::file-selector-button { background: var(--steel); color: var(--silver); border: 1px solid var(--border); border-radius: 2px; padding: 8px 14px; margin-right: 12px; font-family: var(--head); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s; }
.contact-form-panel .wpcf7 input[type="file"]::file-selector-button:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Acceptance checkboxes — sentence-case body text, not the label chrome */
.contact-form-panel .wpcf7-acceptance { display: block; }
.contact-form-panel .wpcf7-acceptance .wpcf7-list-item { margin: 0 0 14px; display: block; }
.contact-form-panel .wpcf7-acceptance .wpcf7-list-item label { display: flex; gap: 10px; align-items: flex-start; font-family: var(--body); font-size: 13px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--mist); line-height: 1.6; margin-bottom: 0; cursor: pointer; }
.contact-form-panel .wpcf7-acceptance input[type="checkbox"] { width: auto; margin: 3px 0 0; accent-color: var(--gold); flex-shrink: 0; }
.contact-form-panel .wpcf7-acceptance a { color: var(--gold-lt); text-decoration: underline; }
.contact-form-panel .wpcf7-acceptance a:hover { color: var(--gold); }
/* Both acceptance boxes are required — append the gold asterisk marker */
.contact-form-panel .wpcf7-acceptance .wpcf7-list-item label::after { content: ' *'; color: var(--gold); font-weight: 700; }
