/* ============================================================
   colophon.css
   Specific styles for the Colophon page
   ============================================================ */

.colophon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem 3rem;
  margin: 2.5rem 0 3rem;
}

.colophon-section h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bm-text-heading);
  margin-bottom: 0.75rem;
}

.colophon-section p {
  font-size: 0.95rem;
  color: var(--bm-text-dark-muted);
  line-height: 1.65;
  margin: 0 0 0.75rem;
}

.colophon-section p:last-child {
  margin-bottom: 0;
}

.colophon-section strong {
  color: var(--bm-text-dark);
  font-weight: 500;
}

.colophon-section a {
  color: var(--bm-text-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--bm-rule);
  transition: border-bottom 0.2s ease;
}

.colophon-section a:hover {
  border-bottom: 1px solid currentColor;
}

.colophon-note {
  font-size: 0.8rem;
  color: var(--bm-text-muted);
  font-weight: 300;
  line-height: 1.5;
}

/* Mobile: stack to single column */
@media (max-width: 600px) {
  .colophon-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Dark mode overrides – inherit the same palette as bookmarks-subpage */
[data-theme="dark"] .colophon-section strong {
  color: #d4cfc4;
}
[data-theme="dark"] .colophon-section a {
  color: #d4cfc4;
  border-bottom-color: rgba(212,207,196,0.15);
}
[data-theme="dark"] .colophon-note {
  color: rgba(212,207,196,0.5);
}

/* Ensure footer link matches bookmark sub‑pages */
.bm-footer .bm-footer-link {
  font-size: 0.72rem;
}