/* Contenedor principal de la card */
.nt-card {
  position: relative !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important; /* asegura que nada sobresalga */
  border-radius: 0.1rem !important; /* bordes redondeados */
  box-shadow: 0 2px 6px rgba(0,0,0,0.2) !important; /* sombra opcional */
}

/* Contenedor de la imagen */
.nt-card .nt-card-image {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Imagen */
.nt-card .nt-card-image img {
  width: 100% !important;
  height: 200px !important; /* ajustable */
  object-fit: cover !important; /* llena la card sin deformar */
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* Contenido encima de la imagen */
.nt-card .nt-card-content {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  background: transparent !important; /* sin fondo por defecto */
  color: white !important;
  padding: 1rem !important;
  z-index: 10 !important;
  transition: background 0.3s ease !important; /* transición suave */
}

/* Overlay solo al hover */
.nt-card:hover .nt-card-content {
  background: rgba(0,0,0,0.2) !important; /* semitransparente solo al hover */
}

/* Título */
.nt-card-title {
  color: white !important;
  font-size: 1.1rem !important;
  font-weight: bold !important;
  margin-bottom: 0.5rem !important;
}

/* Texto */
.nt-card-text {
  color: white !important;
  font-size: 0.85rem !important;
  margin: 0 !important;
  line-height: 1.3 !important;
}
