/* Truppa - locked triptych (ex-04), last row centered */

.tb-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tb-band {
  margin: 0;
}

.tb-logo {
  display: block;
  text-decoration: none;
}

.tb-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: brightness(0.92);
  transition: filter 0.35s ease, opacity 0.35s ease;
}

.tb-logo:hover img {
  filter: brightness(1.08);
}

.tb-name {
  margin: 0;
  font-family: "UnifrakturMaguntia", serif;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 400;
  line-height: 1.15;
}

.tb-name a {
  color: #ebe4d6;
  text-decoration: none;
}

.tb-name a:hover {
  color: #fff;
}

.tb-style {
  margin: 0.35rem 0 0;
  font-family: "IM Fell English", serif;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9080;
  line-height: 1.45;
}

.tb-members {
  margin: 0.4rem 0 0;
  font-style: italic;
  font-size: 1.02rem;
  color: #cfc7b8;
  line-height: 1.45;
}

/*
 * Same card geometry as the old 3-column grid, but flex + justify-content
 * so an incomplete last row stays horizontally centered (not left-packed).
 */
.tb-list--t04 {
  --tb-gap-x: 1.5rem;
  --tb-cols: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem var(--tb-gap-x);
}

.tb-list--t04 .tb-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  flex: 0 1 calc((100% - (var(--tb-cols) - 1) * var(--tb-gap-x)) / var(--tb-cols));
  width: calc((100% - (var(--tb-cols) - 1) * var(--tb-gap-x)) / var(--tb-cols));
  max-width: 16rem;
  text-align: center;
}

.tb-list--t04 .tb-logo {
  flex: 0 0 7rem;
  width: min(100%, 7.5rem);
  height: 7rem;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tb-list--t04 .tb-logo img {
  width: 100%;
  height: 100%;
  max-height: 7rem;
  object-fit: contain;
  object-position: center;
}

.tb-list--t04 .tb-copy {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  width: 100%;
}

.tb-list--t04 .tb-name {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  margin: 0;
  width: 100%;
}

.tb-list--t04 .tb-style {
  margin: 0;
  font-size: 0.78rem;
  width: 100%;
}

.tb-list--t04 .tb-members {
  margin: 0;
  font-size: 0.92rem;
  width: 100%;
}

@media (max-width: 820px) {
  .tb-list--t04 {
    --tb-cols: 2;
  }
}

@media (max-width: 640px) {
  .tb-list--t04 {
    --tb-cols: 1;
  }
}
