#german-downed-aircraft-reports .german-report-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.german-report-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  text-decoration: none;
}

.german-report-card img {
  display: block;
  width: 100%;
  height: auto;
  background-color: var(--e-global-color-primary, var(--ast-global-color-4));
}

.german-report-card .german-report-card-label {
  margin-top: auto;
  background-color: var(--e-global-color-secondary, var(--ast-global-color-0));
  color: var(--e-global-color-astglobalcolor6, var(--ast-global-color-6));
  text-align: center;
  line-height: 1.3;
}

.german-report-card-serial {
  display: block;
  white-space: nowrap;
}

.german-report-card:hover .german-report-card-label {
  filter: brightness(1.12);
}

.german-report-card:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

#german-downed-aircraft-reports > article[hidden] {
  display: none;
}

@media (max-width: 1024px) {
  #german-downed-aircraft-reports .german-report-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #german-downed-aircraft-reports .german-report-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}
