/* Portfolio return bar — shared across demo projects */
.portfolio-bar {
  background: #0a1f44;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12.5px;
  position: sticky;
  top: 0;
  z-index: 300;
  flex-shrink: 0;
}
.portfolio-bar-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.portfolio-bar-back {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.portfolio-bar-back:hover { color: #fff; }
.portfolio-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.portfolio-bar-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
}
.portfolio-bar-link:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.portfolio-bar-cv {
  background: #0a52a8;
  color: #fff;
  text-decoration: none;
  padding: 5px 14px;
  border-radius: 5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s;
}
.portfolio-bar-cv:hover { background: #083d80; color: #fff; }

body.has-portfolio-bar .site-header { top: 33px; }
body.has-portfolio-bar nav { top: 33px; }
body.has-portfolio-bar .toolbar { top: calc(56px + 33px); }

@media (max-width: 600px) {
  .portfolio-bar-inner { padding: 7px 14px; }
  .portfolio-bar-back { font-size: 12px; }
}
