/* ==========================================================================
   HERO BAND v4 — Triple external (3 rows standalone, not inside hero)
   Dependencies: cr-spinning-badge (in svg-collage.css)
   Used by: hero-band-v4.php
   ========================================================================== */

.cr-band-v4 {
  position: relative;
  width: 100%;
  overflow: hidden;
  z-index: 3;
  margin-top: -2px;
}

.cr-band-v4__row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  height: clamp(55px, 8vw, 90px);
}
.cr-band-v4__row + .cr-band-v4__row {
  margin-top: 3px;
}

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

@media (max-width: 900px) {
  .cr-band-v4__row { grid-template-columns: repeat(5, 1fr); height: clamp(45px, 8vw, 70px); }
  .cr-band-v4__cell:nth-child(6),
  .cr-band-v4__cell:nth-child(7) { display: none; }
}
@media (max-width: 600px) {
  .cr-band-v4__row { grid-template-columns: repeat(4, 1fr); height: 40px; gap: 2px; }
  .cr-band-v4__row + .cr-band-v4__row { margin-top: 2px; }
  .cr-band-v4__cell:nth-child(5) { display: none; }
}
@media (max-width: 400px) {
  .cr-band-v4__row { grid-template-columns: repeat(3, 1fr); height: 35px; }
  .cr-band-v4__cell:nth-child(4) { display: none; }
}
