/* Count Block — solid brand-red square with big number + position label.
 * Used in "PROJECTED OPENINGS" clusters on results pages and school#show.
 *
 * Semantic structure: <dl>/<dt>(label)/<dd>(value); visual order is
 * value-above-label via flex-direction: column-reverse so the dt comes
 * first in the DOM (correct reading order for screen readers).
 *
 * See CountBlockComponent.
 */

.count-block {
  display: inline-flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.25rem;
  user-select: none;
  margin: 0;
}

.count-block dt,
.count-block dd { margin: 0; padding: 0; }

.count-block__value {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  background: var(--brand-primary);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family-display);
  font-size: 36px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
}

.count-block__label {
  font-family: var(--font-family-display);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-default);
}
