/* nokit.org — Projects site overrides */
.navbar-logo { height: 28px; filter: brightness(0) invert(1); }

.mol-structure {
  float: right;
  width: 190px;
  margin: 0 0 1.25em 1.75em;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  padding: 5px;
  text-align: center;
}

.mol-structure p { margin: 0; }

.mol-structure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .mol-structure {
    float: none;
    width: 160px;
    margin: 0 auto 1em auto;
  }
}

[data-bs-theme="dark"] .mol-structure {
  background: #1e1e1e;
  border-color: rgba(255, 255, 255, 0.15);
  filter: invert(1) hue-rotate(180deg);
}

.hazard-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.haz-safe    { background: #d4edda; color: #155724; }
.haz-caution { background: #fff3cd; color: #664d00; }
.haz-danger  { background: #f8d7da; color: #58151c; }

[data-bs-theme="dark"] .haz-safe    { background: #1a3a22; color: #75c98a; }
[data-bs-theme="dark"] .haz-caution { background: #3a2e00; color: #ffc107; }
[data-bs-theme="dark"] .haz-danger  { background: #3a0f12; color: #f5a0a7; }

.experiments-list {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05) 0%, rgba(var(--bs-primary-rgb), 0.02) 100%);
  border-left: 3px solid var(--bs-primary);
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1rem;
  margin: 1rem 0 1.5rem 0;
  font-size: 0.9rem;
}

.experiments-list strong {
  color: var(--bs-primary);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.5rem;
}

.experiments-list ul {
  margin: 0;
  padding-left: 1.25rem;
}

.experiments-list li {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.experiments-list a {
  font-weight: 500;
}

[data-bs-theme="dark"] .experiments-list {
  background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.12) 0%, rgba(var(--bs-primary-rgb), 0.05) 100%);
}
