@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

:root {
  --md-primary-fg-color: #ffffff;
  --md-primary-fg-color--light: #ffffff;
  --md-primary-fg-color--dark: #ffffff;
  --md-primary-bg-color: #1a1a1a;
}

/* Fix Header Visibility */
.md-header {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #eee;
}

.md-header__button,
.md-header__topic {
  color: #1a1a1a !important;
}

/* Sidebar Navigation */
.md-nav__link {
  color: #666 !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.md-nav__link--active,
.md-nav__link:hover {
  color: #1a1a1a !important;
  font-weight: 700 !important;
}

/* Typography Overrides */
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  color: #1a1a1a !important;
  font-family: "DM Sans", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
}

/* Enhanced Grid Card Styling */
.grid.cards > ul > li,
.grid.cards > ol > li,
.md-card {
  border: 1px solid #eee !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  border-radius: 8px !important;
  transition: all 0.3s ease;
  padding: 1.25rem;
}

.grid.cards > ul > li:hover,
.grid.cards > ol > li:hover,
.md-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
  border-color: #1a1a1a !important;
  transform: translateY(-2px);
}

/* Fix for nested card content spacing */
.grid.cards li hr {
  margin: 1rem 0;
  border: none;
  border-top: 1px solid #eee;
}

/* Team Member Images */
.team-member img {
  width: 120px !important;
  height: 120px !important;
  object-fit: cover !important;
  border-radius: 50%;
  border: 2px solid #f0f0f0;
}

a {
  text-decoration: none !important;
}

/* Tabs indicator */
.md-tabs__link--active {
  color: #1a1a1a !important;
  border-bottom: 2px solid #1a1a1a;
}
