:root > * {
  --md-primary-fg-color:        #0061FF;       /* Base color */
  --md-primary-fg-color--light: #3385FF;       /* Lighter tint (~20% lighter) */
  --md-primary-fg-color--dark:  #0047B3;       /* Darker shade (~25% darker) */
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logo-grid figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-grid img {
  display: block;
  margin-bottom: 0.5rem; /* space between image and caption */
}

.logo-grid figcaption {
  text-align: center;
  min-height: 4em; /* space for multi-line captions */
} */

/* -------------------------------
   Dictionary item styling
---------------------------------*/

/* Word + pronunciation */
.md-typeset .dictionary-item-small .dict-word-small {
  font-size: 1.1rem;
  margin: 0;
  color: #111;
}

.md-typeset .dictionary-item-small .dict-pronunciation-small {
  font-size: 0.9rem;
  color: #555;
  font-weight: 400;
  margin-left: 0.3rem;
}

/* Part of speech */
.md-typeset .dictionary-item-small .dict-pos-small {
  font-size: 0.85rem;
  color: #777;
  margin: 0.1rem 0 0.3rem 0;
}

/* Definition text */
.md-typeset .dictionary-item-small .dict-definition-small {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.3;
  margin-bottom: 0.3rem;
}

/* Example sentence */
.md-typeset .dictionary-item-small .dict-example-small {
  font-size: 0.85rem;
  color: #444;
  font-style: italic;
}

/* Add shadow to any PNG or image inside the dictionary item */
.md-typeset .dictionary-item-small img {
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.6));
}

/* -------------------------------
  Stats item styling
---------------------------------*/

.stats-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 40px 0;
  flex-wrap: wrap;
  gap: 30px;
}

.stat {
  text-align: center;
  background: #f0f8ff; /* light blue background */
  padding: 20px 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #0077b6;
}

.stat-label {
  font-size: 1.1em;
  color: #023e8a;
  margin-top: 5px;
}