/* Preserve the legacy float layout and its 13-line break before each seventh item. */
.public-catalog {
  display: block;
}

.public-catalog .catalog-entry {
  float: left;
  width: 100px;
  min-height: 0;
  margin: 0 10px 0 0;
  text-align: left;
  font-size: 12px;
}

.public-catalog .catalog-entry img {
  width: 100px;
  height: 100px;
  object-fit: fill;
}

.public-catalog .catalog-clear {
  clear: both;
}

@media (max-width: 900px) {
  .public-catalog {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
    row-gap: 14px;
  }

  .public-catalog .catalog-row-break {
    display: none;
  }

  .public-catalog .catalog-entry {
    float: none;
    width: auto;
  }

  /* Same look as the home page release columns: plain white, dark top rule, large cover, caption below. */
  .public-catalog { column-gap: 14px; row-gap: 22px; }

  .public-catalog .catalog-entry {
    box-sizing: border-box;
    padding: 6px 0 0;
    background: none;
    border: 0;
    border-top: 2px solid #333;
    border-radius: 0;
    line-height: 1.4;
  }

  .public-catalog .catalog-entry > br {
    display: none;
  }

  .public-catalog .catalog-entry img {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1;
    margin: 6px 0 10px;
    object-fit: fill;
  }

  .public-catalog .catalog-entry .comingsoon {
    display: block;
    margin-bottom: 4px;
  }

  .public-catalog .catalog-entry > a:last-child {
    display: block;
    color: #000;
  }

  .public-catalog .catalog-entry > a:last-child b {
    text-transform: uppercase;
  }
}
