/* ==========================================================================
   IBM CARBON DESIGN SYSTEM - GLOBAL STICKY HEADER
   ========================================================================== */

.cds--header {
  position: sticky;
  top: 0;
  z-index: 9000;
  background-color: var(--cds-nav-bg, #161616); /* Fallback to Gray 100 if var missing */
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #393939;
  padding: 0 16px;
}

@media (min-width: 672px) {
  .cds--header {
    padding: 0 32px;
  }
}

.cds--header__name {
  color: #ffffff;
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-weight: 600; /* Semi-bold */
  font-size: 14px;
  line-height: 16px;
  letter-spacing: 0.16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden; /* Guillotines the overflowing padding */
}

.cds--header__name:hover {
  text-decoration: none;
  color: #ffffff;
}

.cds--header__nav {
  display: flex;
  height: 100%;
}

.cds--header__menu-bar {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
}

.cds--header__menu-item {
  color: var(--cds-nav-text, #c6c6c6);
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  font-size: 14px;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 16px;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.cds--header__menu-item:hover {
  color: var(--cds-nav-hover, #ffffff);
  background-color: #353535; /* Subtle hover state on black */
  text-decoration: none;
}

.sda-type-logo {
  display: flex;
  align-items: center;
  font-family: 'IBM Plex Sans', -apple-system, sans-serif;
  line-height: 1;
  user-select: none; /* Prevent selection */
}

.sda-abbr {
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.sda-full {
  font-weight: 400;
  font-size: 1.5rem; 
  letter-spacing: -0.5px;
  color: #c6c6c6;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS
   ========================================================================== */
@media (max-width: 800px) {
  .cds--header {
    flex-wrap: wrap;
    height: auto;
    padding: 0;
  }
  .cds--header__name {
    width: 100%;
    border-bottom: 1px solid #393939;
    padding: 0 16px;
    height: 56px;
  }
  .cds--header__nav {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    height: 48px;
    background-color: #121212;
  }
  .cds--header__menu-bar {
    width: max-content;
  }
  .cds--header__menu-item {
    font-size: 13px;
    padding: 0 16px;
  }
}
