/* Slack-like pills */
.cm-cta {
  --cm-accent: #0a5;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 10px 16px !important;
  border-radius: 999px !important;
  border: 1.5px solid var(--cm-accent) !important;
  background: var(--cm-accent) !important;
  color: #fff !important;
  text-decoration: none !important;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}
.cm-cta:hover {
  background: var(--cm-accent) !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(10, 85, 34, 0.16);
  transform: translateY(-1px);
}

/* Mobile: show only Talk in compact header; both in hamburger block */
@media (max-width: 63.99em) {
  .c-nav .cm-cta.cm-watch {
    display: none !important;
  } /* header list */
  .c-nav .cm-cta.cm-sales {
    display: none !important;
  } /* hide original header pills */
  .cm-mobile-menu-ctas {
    display: block;
    padding: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .cm-mobile-menu-ctas .cm-cta {
    display: block !important;
    width: 100% !important;
    text-align: center;
    margin: 8px 0;
    padding: 12px 16px !important;
  }

  /* Simple fix: make logo bigger and position button absolutely */
  .c-logo__img,
  .c-logo img {
    max-width: 140px !important;
    height: auto !important;
  }

  /* Position button absolutely to right of hamburger */
  .cm-mobile-slot {
    position: absolute !important;
    top: 50% !important;
    right: 50px !important; /* Space for hamburger */
    transform: translateY(-50%) !important;
    z-index: 10 !important;
  }
  .cm-cta-mobile {
    display: inline-flex !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    min-width: auto !important;
  }

  /* Hide mobile header pill while drawer open */
  body.cm-nav-open .cm-mobile-slot {
    display: none !important;
  }
}
@media (min-width: 64em) {
  .cm-mobile-menu-ctas {
    display: none;
  }
  .cm-mobile-slot {
    display: none !important;
  }
  /* Reset desktop */
  .c-logo__img,
  .c-logo img {
    max-width: unset !important;
    height: unset !important;
  }
} /* desktop: hide mobile elements */
