/*
 * WMRN accession display: fresh, cache-safe stylesheet for the WPVibe draft.
 * 4 newest Tainacan catalog accessions remain visible together.
 */
html body.home .wmrn-home-refresh > .wmrn-home-latest {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  max-height: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
}
html body.home .wmrn-home-refresh > .wmrn-home-latest > .wmrn-home-container {
  width: min(1440px, calc(100% - 70px)) !important;
  max-width: 1440px !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
html body.home .wmrn-home-refresh .wmrn-home-latest__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  overflow: visible !important;
  gap: clamp(13px, 1.3vw, 20px) !important;
}
html body.home .wmrn-home-refresh .wmrn-home-latest__grid > article.wmrn-home-latest-card,
html body.home .wmrn-home-refresh .wmrn-home-latest__grid > article.wmrn-home-latest-card:nth-child(4) {
  display: flex !important;
  position: relative !important;
  grid-column: auto !important;
  grid-row: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  animation: none !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
}
html body.home .wmrn-home-featured-card__image img {
  filter: none !important;
  -webkit-filter: none !important;
}
@media (max-width: 1050px) {
  html body.home .wmrn-home-refresh .wmrn-home-latest__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 620px) {
  html body.home .wmrn-home-refresh > .wmrn-home-latest > .wmrn-home-container {
    width: calc(100% - 30px) !important;
  }
  html body.home .wmrn-home-refresh .wmrn-home-latest__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
