/* Hide top section/tab buttons for the Causeview wizard in the right column only */
#donation-col:has(#cv_genform) > :is(
  nav,
  header,
  ul,
  ol,
  div
)[class*="tab" i],
#donation-col:has(#cv_genform) > :is(
  nav,
  header,
  ul,
  ol,
  div
)[class*="section" i],
#donation-col:has(#cv_genform) > :is(
  nav,
  header,
  ul,
  ol,
  div
)[class*="wizard" i],
#donation-col:has(#cv_genform) > :is(
  nav,
  header,
  ul,
  ol,
  div
)[class*="step" i],
#donation-col:has(#cv_genform) > [role="tablist"],
/* list-based button bars at the top */
#donation-col:has(#cv_genform) > ul:has(> li > :is(a, button)),
#donation-col:has(#cv_genform) > ol:has(> li > :is(a, button)) {
  display: none !important;
}

/* Common Causeview wizard nav class patterns, just in case */
#donation-col :is(
  .wizard-steps,
  .wizard__steps,
  .wizard-nav,
  .wizard__nav,
  .steps,
  .stepper,
  .progress,
  .cv-wizard,
  .cv-wizard-nav,
  .cv-section-tabs,
  .cvf-tabs,
  .cvf-step-tabs,
  .cv-section-buttons
) {
  display: none !important;
}

/* Keep the bottom action bar visible */
#donation-col #cv_genform :is(
  .actions,
  .form-actions,
  .wizard-buttons,
  .cv-actions,
  .button-bar,
  .cvf-actions
) {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Clean up any leftover spacing from removed top nav */
#donation-col :is(nav, header, .wizard-steps, .wizard-nav, .steps, .progress) {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  height: 0 !important;
}