/* marketo-form.css — Marketo Form widget styles.
 *
 * Carved from tigera.css (Round 4, 2026-05-16). Conditionally enqueued by
 * enqueue_styles() when is_marketo_active() returns true:
 *   - any post with the marketo_form or inner_banner_marketo Elementor widget
 *   - any single-event page (template hardcodes .marketo-form__wrapper markup)
 *   - the ebook-LP page template (same — hardcoded markup)
 *
 * Cascade position: loads AFTER tigera.css and AFTER hero-banner.css, BEFORE
 * webstick.css — the same slot these rules occupied inside tigera.css before
 * the carve, so the cascade winners are preserved on every Marketo page.
 */
.marketo-form__wrapper .mktoForm[data-styles-ready=true] {visibility: visible}
.mktoForm .mktoError {
  color: red;
  margin-bottom: 10px;
  transition: .2s linear
}
.marketo-form__wrapper .marketo-form__container {
  padding: 45px
}
.marketo-form__wrapper h3 {
  font-weight: 700;
  margin-bottom: 24px
}
.marketo-form__wrapper .mktoForm {
  font-family: var(--font-family-base);
  visibility: hidden
}
.marketo-form__wrapper .mktoForm .mktoButtonRow {
  margin: 0 !important
}
.marketo-form__wrapper .mktoForm .mktoRequiredField label.mktoLabel {
  color: var(--color-brand-primary) !important;
  display: block;
  font-family: var(--font-family-base) !important;
  font-size: 14px !important;
  font-weight: 500 !important
}
.marketo-form__wrapper .mktoForm .mktoAsterix,
.marketo-form__wrapper .mktoForm .mktoErrorMsg {
  color: red !important
}
.marketo-form__wrapper .mktoForm .mktoFieldWrap {
  margin-bottom: 20px
}
.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoCheckboxList,
.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoGutter,
.marketo-form__wrapper .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c] {
  display: inline !important
}
.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoCheckboxList a,.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoGutter *,.marketo-form__wrapper .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c] a{display:inline}.marketo-form__wrapper .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c]{margin-right:10px;padding:0}.marketo-form__wrapper .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c].mktoLabel{color:var(--color-brand-primary);float:right;font-size:14px!important;font-weight:500!important;line-height:21px!important;width:90%}
.marketo-form__wrapper .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c] .mktoAsterix{margin-right:10px}.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoLabel{margin-bottom:5px!important}.marketo-form__wrapper .mktoForm .mktoFieldWrap .mktoLabel .mktoAsterix{float:left!important;margin-right:5px}

/* Marketo Form Modal — carved from non-critical.css 2026-05-16.
 * Only relevant when forms2.min.js opens a form as a modal popup.
 * Verified scope: 32 postmeta rows reference .mktoModal, of which 31 are
 * orphaned (deleted parents) and the 1 surviving post (49587, private
 * `/lp/nist-cybersecurity-framework-assessment-for-containers/`) is an
 * abandoned 2023 draft not in is_marketo_active() gate scope — cosmetic
 * regression there is acceptable; public traffic impact is zero. */
.mktoModalMain {
  width: auto !important;
  font-family: var(--font-family-base);
}
.mktoModal .mktoFieldDescriptor.mktoFormCol {margin-bottom: 0 !important}
.mktoModal .mktoForm .mktoFieldWrap {margin-bottom: 20px !important}
.mktoModal .mktoFieldWrap.mktoRequiredField label.mktoLabel {margin-bottom: 5px !important;padding-top: 0 !important;font-weight: 500 !important;color: var(--color-brand-primary) !important}
.mktoModal .mktoForm.mktoLayoutLeft .mktoRequiredField .mktoAsterix {float: left !important;padding-left: 0 !important;padding-right: 5px !important;color: red !important}
.mktoModal .mktoForm input[type=text],.mktoModal .mktoForm input[type=email],.mktoModal .mktoForm input[type=tel],.mktoModal .mktoForm input[type=number],.mktoModal .mktoForm textarea.mktoField,.mktoModal select {
  padding: 7px 15px !important;
  line-height: 32px !important;
  border-radius: 5px !important;
}
.mktoModal button[type="submit"] {
  border: 2px solid transparent!important;
  background: var(--btn-primary-bg) padding-box, var(--btn-primary-border) border-box!important;
  background-clip: padding-box, border-box!important;
  background-origin: border-box!important;
  border-radius: 5px;
  width: 100% !important;
  padding: 12px !important;
  font-size: var(--font-size-sm) !important;
  font-weight: 700 !important;
  line-height: 21px !important;
}
.mktoModal .mktoForm .mktoButtonWrap.mktoSimple button.mktoButton[type="submit"]:hover {
  border: 2px solid transparent!important;
  background: var(--btn-primary-bg-hover) padding-box, var(--btn-primary-border) border-box!important;
  background-clip: padding-box, border-box!important;
  background-origin: border-box!important;
  color: var(--btn-primary-text-hover)!important;
}
.mktoModal .mktoForm .mktoCheckboxList > label {
  display: inline;
  margin-top: -0.1em;
  margin-left: .5em;
  font-size: var(--font-size-sm);
  color: var(--color-brand-primary) !important;
}
.mktoModal .mktoLogicalField.mktoCheckboxList {
  display: inline !important;
  float: none;
}
.mktoModal .mktoForm .mktoCheckboxList > input {margin-top: 4px}

/* === Round 6e carve from webstick.css (2026-05-18) === */
.mktoForm .mktoCheckboxList > label,
.mktoForm .mktoFieldWrap.mktoRequiredField label.mktoLabel,
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton {
  font-family: var(--font-family-base) !important;
  font-weight: 500;
}
.mktoForm .mktoButtonWrap.mktoSimple .mktoButton:hover {
  color: #447f19 !important;
  background: transparent !important
}
.mktoForm .mktoButtonRow span {
  margin: 0 auto !important;
}
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap label[for="Agree_to_trial_terms__c"] {
  width: auto !important;
}
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap input[name="Agree_to_trial_terms__c"] {
  margin: 0 8px 0 0 !important;
}
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoCheckboxList a, .marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoGutter a, .marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c] a {
  text-decoration: underline;
  color:  var(--color-brand-secondary);
}
.marketo-form__container .marketo-form__container-form .mktoForm .mktoCaptchaDisclaimer a {
  color:  var(--color-brand-secondary);
}
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoCheckboxList * {
  vertical-align: bottom;
}
.marketo-form__container .marketo-form__container-form .mktoForm .mktoCaptchaDisclaimer {
  display: block !important;
  margin: 0 0 20px !important;
}
.marketo-form__container .marketo-form__container-form .mktoForm .grecaptcha-badge {
  width: 256px;
  height: 60px;
  display: block;
  transition: right 0.3s ease 0s;
  position: fixed;
  bottom: 14px;
  right: -186px;
  box-shadow: gray 0px 0px 5px;
  border-radius: 2px;
  overflow: hidden;
  visibility: hidden;
}
.marketo-form__container .marketo-form__container-form .mktoForm .g-recaptcha iframe,
.marketo-form__container .marketo-form__container-form .mktoForm .g-recaptcha-response {
  display: none;
}
.mktoForm .mktoCaptchaDisclaimer {
  font-weight: 500;
}
.mailing-list__wrapper .mktoForm .mktoField:focus {
  outline-color: var(--color-brand-secondary);
}
.marketo-form__wrapper .mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton {
  border: 2px solid transparent !important;
  background: var(--btn-primary-bg) padding-box, var(--btn-primary-border) border-box !important;
  background-clip: padding-box, border-box !important;
  background-origin: border-box !important;
  color: var(--btn-primary-text) !important;
  border-radius: 5px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 21px !important;
  max-width: 100% !important;
  padding: 12px !important;
  width: 100% !important;
}
.marketo-form__wrapper .mktoForm .mktoButtonRow .mktoButtonWrap .mktoButton:hover {
  border: 2px solid transparent !important;
  background: var(--btn-primary-bg-hover) padding-box, var(--btn-primary-border) border-box !important;
  background-clip: padding-box, border-box !important;
  background-origin: border-box !important;
  color: var(--btn-primary-text-hover) !important;
}

@media (min-width: 48em) {
.marketo-form__wrapper .marketo-form__container-form .mktoForm .mktoFormRow { display: flex; }
}

@media (min-width: 64em) {
.inner-banner__wrapper .mktoForm .mktoFieldDescriptor textarea.mktoField { height: 120px !important; max-height: 120px !important; }
.marketo-form__wrapper .marketo-form__container { margin: 0 0 0 auto; max-width: 490px; }
}

/* Moved from functions.php tigera_critical_code() inline <style> (2026-05-19, task #258 Round 8 A2).
   Marketo-form-specific rules (mktoForm_3012 checkbox styling) — gated by is_marketo_active(),
   matches what marketo-form.css already conditionally loads. */
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm#mktoForm_3012 .mktoFieldWrap .mktoCheckboxList * { margin: 0 !important; }
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoCheckboxList,
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoGutter,
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap label[for=Email_Opt_In__c] { display: inline !important; }
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoCheckboxList *,
.marketo-form__wrapper .marketo-form__container .marketo-form__container-form .mktoForm .mktoFieldWrap .mktoGutter * { margin: 0 !important; }
