/* ==========================================================================
   HERO BAND v3 — Photo strip (photos + tangram + spinning badge)
   Dependencies: cr-spinning-badge (in svg-collage.css)
   Used by: hero-band-v3.php
   ========================================================================== */

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

.cr-band-v3__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  height: clamp(70px, 10vw, 120px);
}

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

@media (max-width: 900px) {
  .cr-band-v3__grid { grid-template-columns: repeat(5, 1fr); height: clamp(60px, 10vw, 90px); }
  .cr-band-v3__cell:nth-child(6),
  .cr-band-v3__cell:nth-child(7) { display: none; }
}
@media (max-width: 600px) {
  .cr-band-v3__grid { grid-template-columns: repeat(4, 1fr); height: 55px; gap: 2px; }
  .cr-band-v3__cell:nth-child(5) { display: none; }
}
@media (max-width: 400px) {
  .cr-band-v3__grid { grid-template-columns: repeat(3, 1fr); height: 45px; }
  .cr-band-v3__cell:nth-child(4) { display: none; }
}
