/* Reports grid */

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.report-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 1px solid #e6e6e6;
  border-top: 4px solid var(--accent, #666);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: #333;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.report-card:hover,
.report-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: #333;
}

.report-card__flag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 0.75rem;
  background: #fafafa;
}

.report-card__flag img {
  width: 100%;
  height: 90px;
  object-fit: contain;
  border: 1px solid #eee;
}

.report-card__name {
  padding: 0.6rem 1rem 0.1rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent, #333);
}

.report-card__hint {
  padding: 0 1rem 0.9rem;
  font-size: 0.8rem;
  color: #888;
}

@media (prefers-color-scheme: dark) {
  .report-card {
    background: #1e1e1e;
    border-color: #333;
    color: #eee;
  }
  .report-card:hover,
  .report-card:focus {
    color: #eee;
  }
  .report-card__flag {
    background: #262626;
  }
  .report-card__hint {
    color: #aaa;
  }
}
