/* Small presentation layer that complements the original Slate theme. */
.site-header { padding-bottom: 18px; }
.site-title { display: inline-block; color: #fff; font-size: 2rem; font-weight: 700; line-height: 1.2; text-decoration: none; }
.site-title:hover { text-decoration: none; color: #fff; }
#project_tagline { margin: 10px 0 18px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); }
.site-nav a { color: #dce8f4; font-weight: 600; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#main_content.inner { max-width: 900px; }
.section { margin: 0 0 24px; padding: 16px 0; }
.section.bg-light { padding: 22px; background: #f5f7fa; border: 1px solid #e5e9ef; border-radius: 8px; }
.container { width: 100%; }
.lead { font-size: 1.16rem; line-height: 1.65; color: #434d58; }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
a.button { display: inline-block; padding: 10px 16px; border-radius: 5px; background: #2676b8; color: #fff !important; font-weight: 700; text-decoration: none; }
a.button:hover { background: #1d5f96; text-decoration: none; }
a.button.secondary { background: #34495e; }
a.button.secondary:hover { background: #243746; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 28px; }
.project-card { min-width: 0; padding: 18px; border: 1px solid #dfe5ec; border-radius: 8px; background: #fff; }
.project-card h3, .project-card h2 { margin-top: 0; }
.project-card p:last-child { margin-bottom: 0; }
.project-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .95rem; }
.project-entry { margin: 0 0 24px; padding: 20px; border: 1px solid #e1e6ec; border-radius: 8px; }
.project-entry:nth-child(even) { background: #f7f9fb; }
.project-entry h2 { margin-top: 0; }
.inline-note { padding: 14px 16px; border-left: 4px solid #2676b8; background: #f3f7fb; }
.link-list { padding-left: 22px; }
.link-list li { margin: 8px 0; }
.site-footer { line-height: 1.65; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-disclaimer { font-size: .88rem; opacity: .88; }
.page-intro { margin-bottom: 24px; }
@media (max-width: 650px) {
  #main_content.inner { max-width: 100%; }
  .project-grid { grid-template-columns: 1fr; }
  .site-title { font-size: 1.65rem; }
  .section.bg-light, .project-entry { padding: 16px; }
}
/* One page-specific H1 is rendered by the shared default layout. */
.page-heading { padding-top: 12px; padding-bottom: 4px; margin-bottom: 0; }
.page-title { margin-top: 0; margin-bottom: 12px; }
