/* Compact case-file metadata cluster shared by every portfolio case study. */
body.editorial-case[data-page] .case-kicker.case-meta-band {
  grid-column: 1 / -1;
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 clamp(42px, 7vh, 72px);
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

body.editorial-case[data-page] .case-kicker.case-meta-band span,
body.editorial-case[data-page] .case-kicker.case-meta-band span:nth-child(2),
body.editorial-case[data-page] .case-kicker.case-meta-band span:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  justify-self: auto;
  box-sizing: border-box;
  width: auto;
  max-width: 100%;
  min-height: 40px;
  margin: 0;
  padding: 9px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper-bright) 88%, transparent);
  font-family: inherit;
  font-size: 0.66rem;
  font-stretch: 78%;
  font-weight: 650;
  letter-spacing: 0.055em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(12px);
}

@media (max-width: 760px) {
  body.editorial-case[data-page] .case-kicker.case-meta-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 6px;
    width: fit-content;
    max-width: 100%;
    margin-bottom: 48px;
    padding: 0;
  }

  body.editorial-case[data-page] .case-kicker.case-meta-band span,
  body.editorial-case[data-page] .case-kicker.case-meta-band span:nth-child(2),
  body.editorial-case[data-page] .case-kicker.case-meta-band span:last-child {
    width: auto;
    min-width: 0;
    min-height: 36px;
    padding: 7px 9px;
    font-size: clamp(0.43rem, 1.85vw, 0.52rem);
    letter-spacing: 0.035em;
    line-height: 1.08;
    text-align: center;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  body.editorial-case[data-page] .case-kicker.case-meta-band {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  body.editorial-case[data-page] .case-kicker.case-meta-band span,
  body.editorial-case[data-page] .case-kicker.case-meta-band span:nth-child(2),
  body.editorial-case[data-page] .case-kicker.case-meta-band span:last-child {
    width: 100%;
    padding-inline: 5px;
  }
}
