/* Remove the "(dcterms:...)" tag printed next to labels site-wide */
body .field-term,
body dt .field-term,
body dd .field-term,
body .item-with-metadata .field-term {
  display: none !important;
}

/* Just in case the theme injects pseudo-content on that span */
body .field-term::before,
body .field-term::after {
  content: none !important;
}
/* ===== Custom Item Set 55 Grid ===== */
.itemset-55 .item-set,
.itemset-55 .item.resource,
.itemset-55 .item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.itemset-55 .item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.itemset-55 .item h3,
.itemset-55 .item .resource-title {
  color: #384f68;
  font-size: 1.1rem;
  padding: 0.75rem;
  margin: 0;
  text-decoration: none;
}

.itemset-55 .item a {
  text-decoration: none;
}

.itemset-55 .item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Responsive grid wrapper */
.custom-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
/* Tidy up Browse preview item cards */
.browse .resource-list .resource {
  background:#fff; border-radius:12px; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  transition:transform .2s ease, box-shadow .2s ease;
}
.browse .resource-list .resource:hover {
  transform:translateY(-4px); box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.browse .resource-list .resource img {
  width:100%; height:200px; object-fit:cover; display:block;
}
.browse .resource-list .resource .resource-name {
  color:#384f68; font-size:1.1rem; padding:.75rem; margin:0; text-align:center;
}
/* Responsive grid wrapper */
.custom-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Individual cards */
.custom-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.custom-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.custom-card-title {
  color: #384f68;
  font-size: 1.1rem;
  padding: 0.75rem;
  margin: 0;
}

.custom-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
/* Tidy up Browse preview cards */
.browse .resource-list .resource {
  background:#fff; border-radius:12px; overflow:hidden;
  box-shadow:0 2px 8px rgba(0,0,0,0.1);
  transition:transform .2s ease, box-shadow .2s ease;
  text-align:center;
}
.browse .resource-list .resource:hover {
  transform:translateY(-4px); box-shadow:0 4px 12px rgba(0,0,0,0.15);
}
.browse .resource-list .resource img {
  width:100%; height:200px; object-fit:cover; display:block;
}
.browse .resource-list .resource .resource-name {
  color:#384f68; font-size:1.1rem; padding:.75rem; margin:0;
}
