/* --- Mintlify-style Cards Component --- */
.mt-cards-container {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.mt-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-radius: 12px !important;
  border: 1px solid #edf2f7 !important;
  background-color: #fff;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.mt-card-link {
  text-decoration: none !important;
}

.mt-card-link:hover .mt-card {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05) !important;
  border-color: #3174ff !important;
}

.mt-card-img-container {
  background-color: #f8fafc;
  border-bottom: 1px solid #edf2f7;
  width: 100%;
  height: 160px; /* Reduced height */
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
}

.mt-card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

.mt-card .card-body {
  padding: 1rem; /* Reduced padding from 1.25rem */
}

.mt-card .card-title {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important; /* Reduced from 0.75rem */
  color: #1a202c;
  font-size: 1.1rem;
  text-decoration: none !important;
}

.mt-card-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
}

.mt-card .card-text {
  font-size: 0.9rem;
  color: #4a5568 !important;
  line-height: 1.5; /* Slightly tighter line height */
}

.mt-card .card-text p:last-child {
  margin-bottom: 0 !important;
}

.mt-card .btn-primary {
  background-color: #3174ff;
  border-color: #3174ff;
  border-radius: 6px;
  font-weight: 500;
}

.mt-card .btn-primary:hover {
  background-color: #2659cc;
  border-color: #2659cc;
}
/* --- End Cards Component --- */
