@font-face {
  font-family: 'Cormorant';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-500.ttf) format('truetype');
}
@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/crimson-text-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Crimson Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/crimson-text-600.ttf) format('truetype');
}

/* Shared public-form field typography. A single rule for all form modules,
   deliberately excluded from the WP admin, calendar buttons and checkboxes.
   Keep the labels/headings and CTA typography independent of field text. */
:root {
  --ww-public-field-font: 'Crimson Text', Georgia, serif;
  --ww-public-field-weight: 400;
  --ww-public-field-size: 17px;
}
body:not(.wp-admin) :is(
  .wwb, .wwgv, .ww-pub, .ww-v2, .ww-self-service,
  .ww-account-entry, .ww-account-create, .ww-checkout, .woocommerce-checkout
) :is(
  input:not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([type=reset]):not([type=hidden]),
  select, textarea
) {
  font-family: var(--ww-public-field-font) !important;
  font-weight: var(--ww-public-field-weight) !important;
  font-size: var(--ww-public-field-size) !important;
  line-height: 1.45 !important;
}
body:not(.wp-admin) :is(
  .wwb, .wwgv, .ww-pub, .ww-v2, .ww-self-service,
  .ww-account-entry, .ww-account-create, .ww-checkout, .woocommerce-checkout
) :is(input,textarea)::placeholder {
  font-family: var(--ww-public-field-font) !important;
  font-weight: 400 !important;
  font-size: var(--ww-public-field-size) !important;
}


/* Public form consents use one calm, readable weight across all modules.
   Scope excludes WP admin and does not change field names, consent wording or links. */
body:not(.wp-admin) :is(.wwb,.wwgv,.ww-pub,.ww-v2,.ww-self-service,.ww-account-entry,.ww-account-create)
  :is(label.wwb-check,label.wwgv-check,label.ww-v2-check,label.ww-pub-consent),
body:not(.wp-admin) :is(.wwb,.wwgv,.ww-pub,.ww-v2,.ww-self-service,.ww-account-entry,.ww-account-create)
  :is(label.wwb-check,label.wwgv-check,label.ww-v2-check,label.ww-pub-consent) > span {
  font-family: 'Crimson Text', Georgia, serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}

/* Shared secondary actions: keep "Zurück" visually quieter than primary CTAs.
   Covers existing public multi-step forms without affecting date-picker navigation. */
body:not(.wp-admin) :is(.wwb,.wwgv,.ww-pub,.ww-v2,.ww-self-service)
  :is(.wwb-actions,.wwgv-actions,.ww-table-actions,.ww-v2-actions,.ww-contact-actions)
  :is(.wwb-back,[data-review-back],[data-back],[data-v2-back],[data-v2-edit-pending],[data-contact-back],[data-table-back],[data-workshop-waitlist-back]) {
  background:#f7f6f2 !important;
  border:1px solid #b6b9ae !important;
  color:#4c5748 !important;
  box-shadow:none !important;
  font-weight:400 !important;
}
