/* The Power YOU Are — apply.css (Dec 2026). WordPress addition, loaded after home.css on the Apply page:
   the WPForms "Coaching application" form in the design's application card (site.css: .form, .apply__*).
   The section headings and notes are widgets that tpya-glue.js slots into the form (data-slot). */
.tpya-m .apply__card .wpforms-container { margin: 0 !important; padding: 0 !important; }
.tpya-m .apply__card .wpforms-field-container { display: flex; flex-wrap: wrap; gap: 22px 20px; counter-reset: q; }
.tpya-m .apply__card .wpforms-field { flex: 1 1 100%; display: flex; flex-direction: column; gap: 8px; padding: 0 !important; margin: 0 !important; min-width: 0; }
.tpya-m .apply__card .wpforms-field.tp-half { flex: 1 1 240px; }
.tpya-m .apply__card .apply__group { margin-bottom: 0 !important; }
.tpya-m .apply__card .apply__note { margin: -6px 0 0; }
.tpya-m .apply__card .apply__note p { margin: 0; }

/* labels */
.tpya-m .apply__card .wpforms-field-label {
  margin: 0 !important; padding: 0 !important; font-family: var(--f-body) !important; font-weight: 700 !important;
  font-size: .95rem !important; line-height: 1.72 !important; color: var(--c-text-on-light) !important; }
.tpya-m .apply__card .wpforms-required-label { display: none; }
.tpya-m .apply__card .tp-optional { font-weight: 500; color: var(--c-text-on-light-muted); }

/* text boxes, text areas and lists */
.tpya-m .apply__card input[type=text], .tpya-m .apply__card input[type=email], .tpya-m .apply__card textarea, .tpya-m .apply__card select {
  width: 100% !important; max-width: none !important; height: auto !important; min-height: 52px; margin: 0 !important; padding: 14px 16px !important;
  border-radius: 12px !important; border: 1px solid rgba(16,17,20,.2) !important; background-color: var(--c-paper) !important;
  color: var(--c-text-on-light) !important; font: inherit !important; box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease; }
.tpya-m .apply__card textarea { min-height: 128px !important; height: 128px !important; resize: vertical; line-height: 1.55 !important; }
.tpya-m .apply__card select { appearance: auto; line-height: normal !important; }
.tpya-m .apply__card input[type=text]:focus, .tpya-m .apply__card input[type=email]:focus, .tpya-m .apply__card textarea:focus, .tpya-m .apply__card select:focus {
  outline: none !important; border-color: var(--c-cerulean-ink) !important; background-color: #fff !important; box-shadow: 0 0 0 4px rgba(29,172,214,.18) !important; }
.tpya-m .apply__card .wpforms-field input.wpforms-error, .tpya-m .apply__card .wpforms-field textarea.wpforms-error, .tpya-m .apply__card .wpforms-field select.wpforms-error { border-color: #B3261E !important; }
.tpya-m .apply__card label.wpforms-error, .tpya-m .apply__card em.wpforms-error { margin: 0 !important; padding: 0 !important; color: #B3261E !important; font-size: .88rem !important; font-weight: 600 !important; }

/* the six questions: numbered 01–06 in Fraunces above each, a little more room between them */
.tpya-m .apply__card .tp-q { counter-increment: q; }
.tpya-m .apply__card .tp-q ~ .tp-q { margin-top: 8px !important; }
.tpya-m .apply__card .tp-q .wpforms-field-label { max-width: 62ch; line-height: 1.45 !important; }
.tpya-m .apply__card .tp-q .wpforms-field-label::before {
  content: counter(q, decimal-leading-zero); display: block; margin-bottom: 6px;
  font-family: var(--f-display); font-weight: 400; font-size: 1.05rem; line-height: 1; color: var(--c-cerulean-ink); }

/* choices: the partnerships and the two confirmations as boxes, the last two as plain ticks */
.tpya-m .apply__card .wpforms-field ul { display: flex !important; flex-direction: column; gap: 10px !important; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.tpya-m .apply__card .wpforms-field li { position: relative; display: flex; gap: 12px; align-items: flex-start; margin: 0 !important; padding: 0 !important; }
.tpya-m .apply__card .wpforms-field li input { margin: 5px 0 0 !important; width: 18px !important; height: 18px !important; accent-color: var(--c-cerulean-ink); flex: 0 0 auto; }
.tpya-m .apply__card .wpforms-field li label { margin: 0 !important; padding: 0 !important; font-size: .95rem !important; line-height: 1.72 !important; color: var(--c-text-on-light-muted) !important; cursor: pointer; }
.tpya-m .apply__card .tp-options li label { line-height: 1.5 !important; }
.tpya-m .apply__card .wpforms-field li a { color: var(--c-cerulean-ink); }
.tpya-m .apply__card :is(.tp-options, .tp-confirm) li label {
  display: block; width: 100%; padding: 16px 18px 16px 50px !important; border-radius: 14px;
  border: 1px solid rgba(16,17,20,.16); background: var(--c-paper); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.tpya-m .apply__card :is(.tp-options, .tp-confirm) li input { position: absolute; left: 18px; top: 16px; z-index: 1; }
.tpya-m .apply__card :is(.tp-options, .tp-confirm) li label:hover { border-color: var(--c-cerulean-ink); }
.tpya-m .apply__card :is(.tp-options, .tp-confirm) li:has(input:checked) label { border-color: var(--c-cerulean-ink); background: #fff; box-shadow: 0 0 0 3px rgba(29,172,214,.16); }
.tpya-m .apply__card .tp-confirm li label { color: var(--c-text-on-light) !important; }
.tpya-m .apply__card .tp-options li strong { display: block; color: var(--c-text-on-light); font-size: 1.02rem; }
.tpya-m .apply__card .tp-options .wpforms-field-label { margin-bottom: 8px !important; }

/* the button and the line beside it */
.tpya-m .apply__card .wpforms-submit-container { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin: 28px 0 0 !important; padding: 0 !important; }
.tpya-m .apply__card .form__fine { margin: 0; }
.tpya-m .apply__card button.wpforms-submit {
  display: inline-flex !important; align-items: center; justify-content: center; height: auto !important; min-height: 52px; padding: .85em 1.7em !important;
  border: 1px solid transparent !important; border-radius: 999px !important; background: var(--c-cerulean) !important; color: #02131B !important;
  font-family: var(--f-body) !important; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.1 !important; letter-spacing: .01em; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(127,216,240,.55) inset, 0 10px 34px -10px rgba(29,172,214,.85), 0 0 22px -6px rgba(29,172,214,.7) !important;
  transition: transform .35s ease, background-color .25s ease, box-shadow .35s ease; }
.tpya-m .apply__card button.wpforms-submit:hover { background: #3CC0E6 !important; transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(200,240,252,.8) inset, 0 14px 44px -10px rgba(29,172,214,1), 0 0 36px -4px rgba(29,172,214,.85) !important; }

/* WPForms hyphenates its labels; the design never breaks words */
.tpya-m .apply__card :is(label, legend, .wpforms-field-label) { hyphens: manual !important; overflow-wrap: normal !important; word-break: normal !important; }
/* WPForms places its hidden spam-trap field at random, sometimes ahead of "About You": the first heading keeps no rule above it */
.tpya-m .apply__card .wpforms-field-container > .apply__group:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
