@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {
  font-family: 'Inter', sans-serif;
  background-color: #ffffff;
  color: #2a2a2a;
  scroll-behavior: smooth;
  margin: 0;
}

h1, h2, h3 {
  color: #004b6e;
}

/* Specific to Omeka S + Lively theme */
.page-title {
  margin-bottom: 0.5rem;
  color: #004b6e;
}

body .block-html:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

section {
  margin-bottom: 5rem;
}

img.rounded-profile {
  width: 96px;
  height: 96px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
  margin-bottom: 1rem;
}

.zoom-in-profile {
  object-position: center 20%;
}

.profile-card {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s;
}

.profile-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* max 2 columns */
  gap: 2rem;
  justify-items: center;
}

.profile-card {
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  width: 100%;           /* makes card fill available space */
  max-width: 360px;      /* ensures consistent width */
  transition: box-shadow 0.2s;
}

.profile-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
