/* ==============================================
   Page Hero Banner
   ============================================== */
.ch-page-hero {
  background: var(--primary);
  border-bottom: 4px solid var(--secondary);
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

/* Optional background image behind stripes */
.ch-page-hero-has-bg {
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
}

.ch-page-hero-has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  opacity: 0.85;
  z-index: 1;
}

/* Ghost text */
.ch-page-hero-ghost {
  position: absolute;
  right: -20px;
  top: -20px;
  font-family: var(--font-sans);
  font-size: 200px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.15);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
  z-index: 0;
}

.ch-page-hero-has-bg .ch-page-hero-ghost {
  z-index: 2;
}

/* Inner content */
.ch-page-hero-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 3;
}

/* Breadcrumbs */
.ch-page-hero-breadcrumbs {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.ch-page-hero-breadcrumbs a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s;
}

.ch-page-hero-breadcrumbs a:hover {
  color: #fff;
}

.ch-page-hero-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
}

.ch-page-hero-current {
  color: var(--secondary);
}

/* Title */
.ch-page-hero-title {
  font-family: var(--font-sans);
  font-size: 56px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #fff;
  line-height: 1;
  margin: 0;
}

/* ==============================================
   Section nav strip (below hero, optional)
   ============================================== */

/* When the nav is present, drop the hero's gold underline — the white nav strip is the divider */
.ch-page-hero-has-nav {
  border-bottom: none;
}

.ch-page-hero-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.ch-page-hero-nav-inner {
  max-width: var(--content-max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 4px;
  padding: 12px 24px;
}

.ch-page-hero-nav-item {
  flex: 0 1 auto;
  min-width: 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 10px 18px;
  border-radius: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}

.ch-page-hero-nav-item:hover {
  background: var(--soft);
  color: var(--ink);
}

.ch-page-hero-nav-item.is-active {
  background: var(--primary);
  color: var(--on-primary);
}
