/* ==========================================================================
   HERO BAND v1 — Triple mosaic layer INSIDE hero (behind text, over bg)
   Dependencies: none (self-contained)
   Used by: hero-band-v1.php
   ========================================================================== */

.cr-hero-band {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  opacity: 0.18;
  pointer-events: none;
}

.cr-hero-band__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  flex: 1;
}

.cr-hero-band__cell {
  overflow: hidden;
}
.cr-hero-band__cell svg {
  width: 100%; height: 100%; display: block;
}
.cr-hero-band__cell--photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.cr-hero-band__cell--badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cr-teal, #4AAFA0);
}

/* Ensure text stays above the band */
.cr-hero-team--with-band .cr-hero-team__inner { z-index: 3; }
.cr-hero-team--with-band .cr-hero-team__wave { z-index: 2; }

@media (max-width: 900px) {
  .cr-hero-band__row { grid-template-columns: repeat(5, 1fr); }
  .cr-hero-band__cell:nth-child(6),
  .cr-hero-band__cell:nth-child(7) { display: none; }
}
@media (max-width: 600px) {
  .cr-hero-band__row { grid-template-columns: repeat(4, 1fr); }
  .cr-hero-band__cell:nth-child(5) { display: none; }
  .cr-hero-band { opacity: 0.12; }
}
