/* static\css\navigation-page.css */

/* 
.navpage {
  outline: 4px solid green !important;
}

.navpage-grid {
  outline: 4px solid red !important;
}

.navpage-item {
  outline: 4px solid blue !important;
} */

.page-body:has(.navpage) {
  background-color: lab(94.2% -10.94 -3.7);
}

.page-body:has(.navpage) .navpage {
  background-color: lab(94.2% -10.94 -3.7);
}

.navpage {
  max-width: 60rem;   /* narrower */
  margin: 0 auto;     /* centre */
  padding: 0 1.5rem;  /* side spacing */
}

.navpage-grid {
  width: 100%;
  line-height: 1.6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.15rem;
  color: #222;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.navpage-grid a,
.summary-style a {
  font-size: 1.1rem;
  font-weight: 600;
}

.navpage-item {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 1.25rem;
  background: rgba(71, 178, 245, 0.3);
  border-color: rgba(0,77,153,0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navpage-item.nav-section {
  font-weight: 700;
}

.navpage-item.navpage-grid {
  font-weight: 400;
}

.navpage-item a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.navpage-item img {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  display: block;
  margin: auto 0;
}
