/* Places hub (/explore/) era cards.
   Cards reuse the main-app bookmark styles from /css/cards-bookmarks.css
   (.bookmark-card, .bookmark-image, .bookmark-content, ...), including the
   gold-glow + shine-sweep hover. This file only provides the 3-per-row
   grid, the link reset, and uniformity tweaks scoped to .era-grid. */
.era-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 2rem;
  align-items: stretch;
}
.era-card-link {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
}
.era-card-link:hover,
.era-card-link:focus-visible {
  color: inherit;
  text-decoration: none;
}
.era-card-link:focus-visible {
  outline: 2px solid #1fa2ff;
  outline-offset: 3px;
}
.era-grid .bookmark-card {
  height: 100%;
  margin-bottom: 0;
  cursor: pointer;
}
/* Fixed image band keeps every row even (app uses a % height instead). */
.era-grid .bookmark-image-container {
  height: 172px;
}
.era-grid .bookmark-content h3 {
  font-size: 1.05em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.era-grid .bookmark-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (max-width: 900px) {
  .era-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
@media (max-width: 560px) {
  .era-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .era-grid .bookmark-image-container {
    height: 190px;
  }
}
