/* ==============================================
   Page Hero Banner — Barracuda-style
   Full-width dark banner: image-overlay capable,
   red diagonal accent, big Anton title + breadcrumbs.
   ============================================== */
.ch-page-hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-drop, #1a1c1b);
  border-bottom: 4px solid var(--primary);
  padding: 50px 24px 42px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}

/* Red diagonal slab (shown when there is no background image) */
.ch-page-hero:not(.ch-page-hero-has-bg)::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44%;
  background: linear-gradient(150deg, var(--primary) 0%, var(--primary-dark) 100%);
  clip-path: polygon(32% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Faint horizontal scanlines for texture */
.ch-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0 38px,
    rgba(255, 255, 255, 0.03) 38px 39px
  );
  z-index: 1;
  pointer-events: none;
}

/* ── Background-image mode (page featured image) ── */
.ch-page-hero-has-bg {
  background-size: cover;
  background-position: center;
}

.ch-page-hero-has-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 22, 21, 0.92) 0%,
    rgba(20, 22, 21, 0.62) 58%,
    rgba(20, 22, 21, 0.38) 100%
  );
  z-index: 0;
}

/* Ghost watermark of the page title */
.ch-page-hero-ghost {
  position: absolute;
  right: -8px;
  bottom: -34px;
  font-family: 'Oswald', sans-serif;
  font-size: 170px;
  font-weight: 500;
  text-transform: uppercase;
  color: rgba(217, 210, 194, 0.05);
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 1;
}

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

/* Breadcrumbs */
.ch-page-hero-breadcrumbs {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

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

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

.ch-page-hero-sep {
  color: rgba(217, 210, 194, 0.35);
  font-size: 11px;
}

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

/* Title */
.ch-page-hero-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #fff;
  line-height: 0.92;
  margin: 0;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.35);
}
