.resource-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.card-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.resource-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-img-overlay-top {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.card-img-overlay-top .badge {
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2c3e50;
  display: flex;
  align-items: center;
}

.card-text {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.card-actions .btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.card-actions .btn:hover {
  transform: translateY(-2px);
}

{{-- Badges con colores específicos --}}
.bg-primary-subtle {
  background-color: rgba(13, 110, 253, 0.1) !important;
}
.bg-success-subtle {
  background-color: rgba(25, 135, 84, 0.1) !important;
}
.bg-info-subtle {
  background-color: rgba(13, 202, 240, 0.1) !important;
}

{{-- Responsive --}}
@media (max-width: 768px) {
  .card-img-wrapper {
    height: 180px;
  }
  
  .card-body {
    padding: 1.2rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
}