/* Tidy, accessible stat cards */
.stat-card {
  border: 5px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: var(--bs-body-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.stat-icon {
  width: 80px;
  height: 170px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 35px;
  font-size: 58px;
}

/* Count styling: bold, readable, scales well */
.stat-count {
  font-weight: 900;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

/* Label styling: subdued, consistent */
.stat-label {
  font-size: 1.25rem;
  color: var(--bs-secondary-color);
}

/* Optional: subtle Indigo utility (for open-book) */
.bg-indigo-subtle { background-color: #e9e6ff; }
.text-indigo { color: #4b3fe2; }

/* High-contrast mode support */
@media (prefers-contrast: more) {
  .stat-card { border-color: var(--bs-border-color); }
  .stat-label { color: var(--bs-body-color); }
}

/* Reduced motion consideration */
@media (prefers-reduced-motion: reduce) {
  .stat-card { transition: none; }
}



.news-card {
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 14px;
  background: var(--bs-body-bg);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.news-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 28px;
}

.news-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bs-secondary-color);
}
