/**
 * Ambassador Layout Overrides
 *
 * Minimal overrides — base layout handled by .portal-layout.pos-themed
 * in pos-theme.css (sidebar flex, mobile header, etc.)
 *
 * On peaceofsleep.vip we ALSO have to undo a layout conflict that the
 * portal's Vite bundling masks but a plain Astro app surfaces: the
 * `.pos-sidebar` rule in pos-theme.css sets `position: fixed`, which
 * pulls the sidebar out of the `.portal-layout` flex flow on desktop
 * and lets the fixed sidebar overlay the main content (there is no
 * matching margin-left rule on `.portal-layout.pos-themed .main-content`
 * outside the mobile breakpoint). The higher-specificity rule below
 * forces the sidebar back into flex flow for desktop only.
 */

@media (min-width: 769px) {
  .portal-layout.pos-themed .sidebar.pos-sidebar {
    position: sticky;
    top: 0;
    left: auto;
    bottom: auto;
    height: 100vh;
    transform: none;
  }
}

/* Hide the status badge on board view cards (column header implies status) */
.ops-board .ambassador-mobile-badge {
  display: none;
}
