.dashboards-hero {
  padding: 4rem 0 2rem 0;
  text-align: center;
}

.dashboards-hero p {
  max-width: 760px;
  margin: 1rem auto 0 auto;
}

.dashboards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem 0 4rem 0;
}

.dashboard-card {
  background: var(--colors-background-2);
  border: 1px solid rgba(10, 179, 217, 0.25);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-thumb {
  position: relative;
  display: block;
  width: 100%;
  padding: 0; /* garante que a thumb ocupe toda a largura */
  line-height: 0; /* evita gaps por linha base em fullscreen */
}

.card-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center; /* centraliza o foco da imagem */
  display: block;
  border-radius: 0; /* usa o border-radius do card (overflow hidden) para recorte perfeito */
}

.card-thumb .thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.25);
  color: #fff;
  font-weight: 700;
  opacity: 0;
  transition: opacity .25s ease;
  pointer-events: none; /* não bloquear clique do link */
}

.card-thumb:hover .thumb-overlay { opacity: 1; }

.card-chip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: #0ab3d9;
  color: #0e0e0e;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 700;
}

.card-body {
  padding: 1.2rem 1.2rem 1.6rem 1.2rem;
}

.card-body h3 {
  margin-bottom: 0.6rem;
}

.card-actions {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .dashboards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .dashboards-grid {
    grid-template-columns: 1fr;
  }
  .card-thumb img { height: 200px; }
}

