/* ====================== Component: Page Hero ====================== */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-ink);
  color: var(--color-white);
}
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }

.page-hero__inner { position: relative; z-index: 2; padding-block: 64px; }

.page-hero__title {
  color: var(--color-white);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.48px;
  margin-top: 18px;
}
.page-hero__sub {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 540px;
}

/* ---------- Simple style: full dark overlay, left aligned ---------- */
.page-hero--simple .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(var(--color-ink-rgb), 0.8);
}

/* ---------- Card style: boxed panel with left border + side gradient ---------- */
.page-hero--card .page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 60%);
}
.page-hero--card .page-hero__inner { padding-block: 72px; }
.page-hero--card .page-hero__card {
  position: relative;
  background: rgba(var(--color-ink-rgb), 0.9);
  border-left: 3px solid var(--color-yellow);
  padding: 40px 28px;
  max-width: 705px;
}
.page-hero--card .page-hero__sub { color: rgba(255, 255, 255, 0.8); max-width: 400px; }
.page-hero--card .btn { margin-top: 28px; }

@media (min-width: 1024px) {
  .page-hero--card .page-hero__card { padding: 46px 50px; }
}
