/* "Help Find a Cure" call to action (2026-11-11), loaded site-wide from src/_data/head.json after wp-custom-css.
   desktop (#main-header, shown from 1025px): the button sits centered on its own row below the menu, in the center
   column, slightly larger than the wordpress header button. the right header section is left empty.
   mobile (#mobile-drawer): the same button, near full width, at the top of the drawer menu. */

#main-header .site-header-main-section-center {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

#main-header .header-cta-item {
  margin-right: 0;
}

#main-header .header-cta-item .header-button-wrap {
  margin: 0 0 8px;
}

#main-header .header-cta-item .header-button.button-size-custom {
  font-size: 1.15rem;
  padding: 12px 34px;
}

/* the button no longer sits in the right grid column, so the center column (Kadence grid 1fr auto 1fr) grows by
   about the button's width. Near 1100px the menu's first row then reaches "Get Involved", close to the right edge,
   and its 318px dropdown (laid out even while hidden) hangs past the viewport: a sideways scroll. Kadence's own
   sub-menu-edge class fixes this only after a mouseenter, so this dropdown opens to the left from the start,
   the same rule Kadence applies (header.min.css: .sub-menu.sub-menu-edge). */
#main-header #primary-menu > li.menu-item-2315 > ul.sub-menu,
#main-header #primary-menu > li.menu-item-3987 > ul.sub-menu {
  left: auto;
  right: 0;
}

#mobile-drawer .drawer-cta-item {
  display: block;
  margin: 0 0 1em;
}

#mobile-drawer .drawer-cta-item .mobile-header-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  min-height: 44px;
}
