.digest-sq-6  { width: 1.5rem;  height: 1.5rem;  flex-shrink: 0; }
.digest-sq-10 { width: 2.5rem;  height: 2.5rem;  flex-shrink: 0; }

/* values datatable v18 - grid layout only, no colors */
.values-datatable__row {
    display: grid;
    width: 100%;
    grid-template-columns: auto 1fr auto;
    column-gap: 1rem;
    row-gap: 0.75rem;
    align-items: start;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .values-datatable__row {
        grid-template-columns: 3rem 10rem 1fr 5rem;
        column-gap: 1.5rem;
        row-gap: 0;
    }
}

.values-datatable__num {
    grid-column: 1;
}

.values-datatable__title {
    grid-column: 2;
    margin: 0;
}

.values-datatable__desc {
    grid-column: 1 / -1;
    margin: 0;
    min-width: 0;
}

.values-datatable__rank {
    grid-column: 1 / -1;
    justify-self: start;
}

@media (min-width: 640px) {
    .values-datatable__desc {
        grid-column: 3;
    }

    .values-datatable__rank {
        grid-column: 4;
        justify-self: end;
    }
}

/* team v22 — grid with click-to-expand detail overlay */
.team-flipcard__card {
  cursor: pointer;
  height: 100%;
  min-height: 24rem;
}

.team-flipcard__card-face {
  position: relative;
  display: block;
  width: 100%;
  min-height: 24rem;
  height: 100%;
  overflow: hidden;
}

.team-flipcard__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 200ms ease;
  z-index: 0;
}

.team-flipcard__card:hover .team-flipcard__card-img {
  transform: scale(1.08);
}

.team-flipcard__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: opacity 200ms ease;
}

.team-flipcard__card:hover .team-flipcard__card-overlay {
  opacity: 0.75;
}

.team-flipcard__label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  transition: opacity 200ms ease;
  pointer-events: none;
}

.team-flipcard__card:hover .team-flipcard__label {
  opacity: 0;
}

.team-flipcard__detail {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.team-flipcard__detail.show {
  opacity: 1;
  pointer-events: auto;
}

.team-flipcard__detail-panel {
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
}

