/* Hero section on the home page */
.hero {
  padding: 3rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, var(--md-primary-fg-color) 0%, #7b1fa2 100%);
  color: white;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: white;
}

.hero .subtitle {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 0.25rem;
}

.hero .dates {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 1;
  margin-top: 1rem;
  background: rgba(255,255,255,0.15);
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 2rem;
}

/* Card grid for highlights */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.card {
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  padding: 1.2rem 1.4rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.card h3 {
  margin-top: 0;
  color: var(--md-primary-fg-color);
}

/* Schedule table improvements */
.schedule-table th {
  background: var(--md-primary-fg-color);
  color: white;
}

/* Team page */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.team-card {
  display: flex;
  flex-direction: column;
  background: var(--md-default-bg-color);
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.team-card.placeholder-card {
  opacity: 0.55;
  border-style: dashed;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--md-default-fg-color--lightest);
  overflow: hidden;
}

.team-photo p {
  margin: 0;
  height: 100%;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--md-default-fg-color--light);
  aspect-ratio: 1;
  max-height: 180px;
}

.team-photo.placeholder::after {
  content: '👤';
}

.team-info {
  padding: 1rem 1.2rem 1.2rem;
}

.team-info h3 {
  margin: 0 0 0.25rem;
  color: var(--md-primary-fg-color);
}

.team-info strong {
  font-size: 0.85rem;
  color: var(--md-default-fg-color--light);
}

/* Experiment logos */
.experiment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.experiment-logos img {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.2s;
}

.experiment-logos a:hover img {
  opacity: 0.8;
}


/* Top prev/next navigation */
.top-page-nav {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--md-default-fg-color--lightest);
  padding-bottom: 0.5rem;
}

/* Notebook badge buttons */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.badge-row a img {
  height: 28px;
}
