/* ABOUTME: Styles the shared CobWebApps portfolio header across all sites. */
/* ABOUTME: Keeps its links and focus indicators readable as text and viewport sizes change. */
.cobwebapps-header {
  background: #0c1426;
  color: #f3f6ff;
  font-family: system-ui, sans-serif;
  font-size: medium;
  line-height: 1.5;
}

.cobwebapps-header-inner {
  box-sizing: border-box;
  width: min(100%, 1240px);
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  column-gap: 24px;
  margin-inline: auto;
  padding: 12px clamp(24px, 4vw, 48px);
  border-bottom: 1px solid #2a344b;
}

.cobwebapps-header nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 1.6em;
  font-size: 0.875em;
  font-weight: 600;
}

.cobwebapps-header a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #c6cfe2;
  text-decoration: none;
  text-underline-offset: 5px;
}

.cobwebapps-header nav a {
  font-size: inherit;
  font-weight: inherit;
}

.cobwebapps-header a:hover,
.cobwebapps-header a[aria-current] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.cobwebapps-header a:focus-visible {
  outline: 3px solid #a5b9ff;
  outline-offset: 4px;
}

.cobwebapps-header .cobwebapps-wordmark {
  gap: 0.25em;
  color: inherit;
  font-size: 1.375em;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.cobwebapps-wordmark span {
  color: #8ca7ff;
  font-size: 1.35em;
}

@media (max-width: 700px) {
  .cobwebapps-header-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
