/*
 * Wildcard AEO - PDP attributes block styles.
 *
 * Two-column DL layout on wide viewports, single-column stack on
 * narrow. `display: contents` on the row keeps the grid track
 * alignment consistent across a variable number of rows without
 * a per-row wrapper element that would break the grid.
 */

.wildcard-aeo-attributes {
  margin: 1.25rem 0;
}

.wildcard-aeo-attributes__heading {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wildcard-aeo-attributes__list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 480px) {
  .wildcard-aeo-attributes__list {
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    column-gap: 1rem;
    row-gap: 0.4rem;
  }
}

.wildcard-aeo-attributes__row {
  display: contents;
}

.wildcard-aeo-attributes__row > dt {
  margin: 0;
  font-weight: 600;
  color: inherit;
}

.wildcard-aeo-attributes__row > dd {
  margin: 0;
  color: inherit;
}

.wildcard-aeo-attributes__more {
  margin-top: 0.75rem;
}

.wildcard-aeo-attributes__more > summary {
  cursor: pointer;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
