/* Card styles for research, people, publications, and openings pages */
body {
  background-color: #f0f2f5;
}

.content-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 0;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
  margin-bottom: 0.5rem;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Publication card specific styles */
.card.text-white.bg-primary {
  margin-bottom: 0.25rem;
}

.card.text-white.bg-primary .card-body {
  padding: 0.5rem 1rem;
}

.card.text-white.bg-primary .card-text {
  margin-bottom: 0;
}

/* Default card image styles (for research page) */
.card-image {
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Special styles for people page */
.people-page .card-image {
  min-height: auto;
  padding: 1rem;
}

.people-page .card-image img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.card-content {
  height: 100%;
  padding: 1.5rem;
}

.card-title {
  color: #2c3e50;
  margin-bottom: 1rem;
  font-weight: 600;
}

.card-description {
  color: #34495e;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .card-image {
    min-height: 150px;
  }
  
  .card-content {
    padding: 1rem !important;
  }
} 