/* ==============================================
   Hero Section
   ============================================== */
.ch-hero {
  position: relative;
  min-height: 75vh;
  background: var(--primary);
  overflow: hidden;
  border-bottom: 5px solid var(--secondary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Green diagonal right panel */
.ch-hero::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 100%;
  background: var(--secondary);
  clip-path: polygon(30% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

/* Horizontal scanline overlay */
.ch-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 38px,
    rgba(255, 255, 255, 0.035) 38px,
    rgba(255, 255, 255, 0.035) 39px
  );
  z-index: 1;
  pointer-events: none;
}

/* Faded watermark logo */
.ch-hero-watermark {
  position: absolute;
  width: 68%;
  max-width: 820px;
  top: 50%;
  left: 50%;
  transform: translate(-44%, -50%);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0.11;
  filter: grayscale(100%) brightness(3.5);
  mix-blend-mode: screen;
}

/* ==============================================
   Background Image Mode
   ============================================== */
.ch-hero-has-image {
  background-size: cover;
  background-position: center;
}

/* Hide the green diagonal panel when a background image is set */
.ch-hero-has-image::before {
  display: none;
}

/* Dark navy overlay so text stays readable over the image */
.ch-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--primary);
  opacity: 0.75;
}

/* ==============================================
   Inner Layout
   ============================================== */
.ch-hero-inner {
  position: relative;
  z-index: 3;
  max-width: var(--content-max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: flex-end;
  box-sizing: border-box;
}

/* ==============================================
   Left Column — Team Identity
   ============================================== */
.ch-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ch-hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ch-hero-tag::before {
  content: '';
  width: 32px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  display: block;
  flex-shrink: 0;
}

.ch-hero-tag::after {
  content: none;
}

.ch-hero-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(5rem, 11vw, 10rem);
  line-height: 0.85;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 32px;
  text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.2);
}

/* ==============================================
   Record Stats Row
   ============================================== */
.ch-hero-record {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}

.ch-rec-item {
  padding: 12px 28px 12px 0;
  margin-right: 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.ch-rec-item:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.ch-rec-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: #fff;
  line-height: 1;
}

.ch-rec-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ==============================================
   Right Column — Next Game Card
   ============================================== */
.ch-hero-right {
  background: #fff;
  padding: 28px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  position: relative;
}

/* Navy top accent bar */
.ch-hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
}

.ch-ng-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--header-border);
}

.ch-ng-when {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7a8a;
  margin-bottom: 12px;
}

.ch-ng-team {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1.6rem;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.ch-ng-team.ch-ng-opp {
  color: #6a7a8a;
  font-size: 1.25rem;
  font-weight: 700;
}

.ch-ng-vs {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--header-border);
  margin: 6px 0;
}

.ch-ng-where {
  font-size: 0.8rem;
  color: #6a7a8a;
  margin: 14px 0 20px;
  line-height: 1.5;
  padding-top: 12px;
  border-top: 1px solid var(--header-border);
}

.ch-ng-empty {
  font-size: 0.9rem;
  color: #6a7a8a;
  margin: 12px 0 20px;
  line-height: 1.5;
}

.ch-ng-btn {
  display: block;
  text-align: center;
  background: var(--secondary);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.15s;
}

.ch-ng-btn:hover {
  background: var(--secondary-light);
  color: #fff;
}

/* ==============================================
   Promo Mode (no schedule / no record)
   ============================================== */
.ch-hero-promo-text {
  font-family: 'Barlow', sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0;
}

.ch-hero-promo-text p {
  margin: 0 0 12px;
}

.ch-hero-promo-text p:last-child {
  margin-bottom: 0;
}

/* Promo card sizes to its content rather than the full record row height */
.ch-hero-is-promo .ch-hero-right {
  align-self: flex-end;
}
