.page-header { padding: 3rem 0 2rem; }
.page-header-grid { display: grid; gap: 1.5rem; align-items: center; }
.page-header-tagline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  color: var(--color-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.page-header-tagline::before {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.page-header h1 b,
.page-header h1 strong { font-weight: 700; }
.page-header-blue .page-header-tagline,
.page-header-blue h1 b,
.page-header-blue h1 strong { color: var(--color-blue); }
.page-header-purple .page-header-tagline,
.page-header-purple h1 b,
.page-header-purple h1 strong { color: var(--color-purple); }
.page-header-yellow .page-header-tagline,
.page-header-yellow h1 b,
.page-header-yellow h1 strong { color: #c8960a; }
.page-header-media { position: relative; }
.page-header figure,
.page-header-media > img,
.page-header figure img { margin: 0; border-radius: var(--radius); }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; }
.page-anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--color-heading);
  font-weight: 500;
  text-decoration: none;
}
.page-anchor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
}
.page-anchor-icon::after {
  content: "";
  width: 0.4rem;
  height: 0.4rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
}
.page-anchor:hover .page-anchor-label { text-decoration: underline; }
.page-header-badges {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: min(16rem, 88%);
}
.page-badge {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border-radius: 0.9rem;
  box-shadow: 0 10px 28px rgba(22, 28, 45, 0.14);
}
.page-header .page-badge img {
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0.35rem;
  border-radius: 50%;
  background: #fff4d2;
  object-fit: contain;
}
.page-badge-title,
.page-badge-subtitle {
  margin: 0;
  color: var(--color-heading);
  font-size: 0.95rem;
  line-height: 1.3;
}
.page-badge-title { font-weight: 600; }
.page-badge-subtitle { color: var(--color-body); font-weight: 500; }
@media (min-width: 768px) {
  .page-header-grid:has(img) { grid-template-columns: 1.1fr 0.9fr; }
  .page-header-badges {
    left: 0;
    bottom: 1.35rem;
    transform: translateX(-0.85rem);
  }
}
