/* Each of the 3 pillar plugins detaches its own root to a fullscreen,
 * position:fixed shell (search plugin: .ps-page-root; roadmap:
 * #patientsavvy-roadmap-root via detachRoadmapRootToBody(); cancer-stories:
 * #patientsavvy-cancer-stories-root) that otherwise paints over this nav
 * even though this nav renders earlier in the DOM. Pinning the nav itself
 * to position:fixed with a high z-index, and compensating each known root
 * container with matching top padding, keeps it visible everywhere without
 * editing those plugins' own CSS.
 */
.pshubnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999999;
  height: 44px;
  display: flex;
  align-items: center;
  background: #1B3A2D;
  padding: 0 16px;
  box-sizing: border-box;
}

.pshubnav__inner {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pshubnav__tab {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #EAF3EC;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s ease, color 0.15s ease;
}

.pshubnav__tab:hover {
  background: #3A7A57;
  color: #fff;
}

.pshubnav__tab--active {
  background: #2D7A45;
  border-color: #2D7A45;
  color: #fff;
}

@media (max-width: 480px) {
  .pshubnav__tab {
    padding: 5px 12px;
    font-size: 12px;
  }
}

/* Push each pillar's own fixed-position root shell down by the nav's
 * height so it isn't hidden underneath. */
.ps-page-root,
#patientsavvy-roadmap-root,
#patientsavvy-cancer-stories-root {
  padding-top: 44px !important;
  box-sizing: border-box !important;
}
