/* Local fallback header styles when /shared assets are unavailable */
.project-topbar {
  padding: 18px 12px 0;
}

.project-topbar__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 28px;
  background: rgba(255, 251, 246, 0.66);
  border: 1px solid rgba(17, 32, 52, 0.08);
  box-shadow: 0 20px 45px rgba(32, 27, 20, 0.08);
  backdrop-filter: blur(18px);
}

.project-topbar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #112034;
  text-decoration: none;
}

.project-topbar__logo-wrap {
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  padding: 10px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(17, 32, 52, 0.08), rgba(200, 113, 79, 0.16));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.project-topbar__logo {
  width: clamp(74px, 8vw, 98px);
  height: auto;
  object-fit: contain;
}

.project-topbar__logo-fallback {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.project-topbar__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-topbar__title {
  font-size: clamp(0.96rem, 1vw, 1.04rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-topbar__subtitle {
  font-size: 0.82rem;
  color: rgba(17, 32, 52, 0.62);
}

.project-topbar__meta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.project-topbar__pill,
.project-topbar__hub-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-topbar__pill {
  color: rgba(17, 32, 52, 0.72);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 32, 52, 0.08);
}

.project-topbar__hub-link {
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(135deg, #112034, #264765);
  box-shadow: 0 14px 28px rgba(17, 32, 52, 0.16);
}

.project-topbar__hub-link:hover,
.project-topbar__brand:hover {
  color: #112034;
}

.project-topbar__hub-link:hover {
  color: #ffffff;
  opacity: 0.92;
}

@media (max-width: 576px) {
  .project-topbar {
    padding: 14px 10px 0;
  }

  .project-topbar__inner {
    padding: 14px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-topbar__meta {
    width: 100%;
    flex-wrap: wrap;
  }

  .project-topbar__pill,
  .project-topbar__hub-link {
    width: 100%;
    justify-content: center;
  }

  .project-topbar__subtitle {
    display: none;
  }
}
