/* Header */
.site-header {
  flex: none;
  max-width: var(--max-w-screen-xl);
  padding-top: 20px;
  margin: 0 auto;
  width: 100%;
}

.header-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header-nav-left {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.header-nav-right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

/* Header Logo */
.header-logo {
  display: block;
  padding: var(--space-4);
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-logo:hover {
  color: var(--link-primary);
}

@media (prefers-color-scheme: dark) {
  .header-logo {
    color: var(--color-gray-100);
  }
  
  .header-logo:hover {
    color: var(--color-yellow-300);
  }
}

.header-logo-short {
  display: block;
}

.header-logo-full {
  display: none;
}

@media (min-width: 768px) {
  .header-logo-short {
    display: none;
  }
  
  .header-logo-full {
    display: block;
  }
}

/* Header Links */
.header-link {
  display: inline-block;
  padding: var(--space-2) var(--space-3);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease;
}

.header-link--external {
  display: none;
}

@media (min-width: 768px) {
  .header-link--external {
    display: inline-block;
  }
}

.header-link:hover {
  color: var(--link-primary);
}

/* Header Breadcrumb */
.header-breadcrumb {
  display: none;
  align-items: center;
  height: 3rem;
  gap: var(--space-4);
}

.header-breadcrumb--active {
  display: flex;
}

.header-breadcrumb-separator {
  color: var(--border-primary);
}

.header-breadcrumb-current {
  color: var(--text-secondary);
}

.header-breadcrumb-wrapper {
  display: flex;
  align-items: center;
  height: 3rem;
}

.header-breadcrumb-link {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--space-4);
  color: var(--link-primary);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--border-primary);
  transition: all 0.15s ease;
}

.header-breadcrumb-link:hover {
  color: var(--link-hover);
  text-decoration-color: var(--border-secondary);
}