/* css styles */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&family=Work+Sans:wght@300;400;500;600&display=swap');

body,
p,
.nav-link,
.navbar-nav {
  font-family: "Work Sans", -apple-system, sans-serif;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.title {
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.navbar-brand img {
  height: 42px;
  width: auto;
  margin-right: 0.5rem;
}

.footer-logo {
  height: 32px;
  width: auto;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.page-footer,
#quarto-footer {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.hero-carousel {
  margin-bottom: 0.5rem;
  border-radius: 6px;
  overflow: hidden;
}

.hero-carousel .carousel-item img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 0.5rem;
}

.hero-carousel .carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin: 0 4px;
}

@media (max-width: 576px) {
  .hero-carousel .carousel-item img {
    height: 260px;
  }
}

.team-grid,
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.course-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0 2.5rem;
}

.team-card,
.course-card,
.research-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 1.25rem;
}

.course-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 4px;
  margin-top: 1rem;
}

@media (max-width: 576px) {
  .course-card img {
    height: 260px;
  }
}

.team-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 0.75rem 0;
}

.research-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.bio-block {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 1.5rem 0 2.5rem;
}

.bio-block img {
  border-radius: 6px;
}

.bio-block .photo-placeholder {
  flex-shrink: 0;
  margin-bottom: 0;
}

.bio-block .bio-text {
  flex: 1 1 300px;
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-color: #f0f0f0;
  color: #999;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
