/* ANCOR Homepage Investment Opportunities CRM */

.io-crm-home-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
}

.io-crm-home-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.io-crm-home-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
}

.io-crm-home-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.io-crm-home-card:hover .io-crm-home-media img {
  transform: scale(1.045);
}

.io-crm-home-placeholder {
  width: 100%;
  height: 100%;
  place-items: center;
  background:
    radial-gradient(circle at center, #222 0, #111 58%, #080808 100%);
}

.io-crm-home-placeholder span {
  color: #b9975b;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 5px;
}

.io-crm-home-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.io-crm-home-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.io-crm-home-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.io-crm-home-card h3 a {
  color: inherit;
  text-decoration: none;
}

.io-crm-home-card p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.io-crm-home-foot {
  margin-top: auto;
}

.io-crm-home-loading,
.io-crm-home-empty {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
}

.io-crm-home-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(185, 151, 91, 0.22);
  border-top-color: #b9975b;
  border-radius: 50%;
  animation: io-crm-home-spin 0.8s linear infinite;
}

@keyframes io-crm-home-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .io-crm-home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .io-crm-home-grid {
    grid-template-columns: 1fr;
  }
}
