/* nokit.org — shared base styles
 * Canonical source. Edit here; subsites include this file directly via relative path in _quarto.yml.
 * Fallback: run scripts/sync-shared.sh to copy to subsites. */

body {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.nav-link,
.sidebar-title {
  font-family: 'Quicksand', sans-serif;
  font-weight: 600;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}


h1 {
  font-size: 1.75rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

h5,
h6 {
  font-size: 0.9rem;
}

.content>h1:first-child,
#quarto-content h1:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 0.75em;
}

ul,
ol {
  margin-bottom: 0.75em;
  padding-left: 2em;
}

ul {
  list-style-type: disc;
}

ol {
  list-style-type: decimal;
}

li {
  display: list-item;
  /* margin-bottom: 0.25em; */
}

code,
pre {
  font-family: 'Fira Code', monospace;
  font-size: 0.85em;
}

code {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 0.15em 0.35em;
  border-radius: 3px;
}

.navbar {
  padding: 0.4rem 1rem 0.4rem 1.75rem;
  min-height: auto;
}

/* Match our compact navbar height so quarto-nav.js has less to correct on load */
body.nav-fixed { padding-top: 55px; }

.navbar-brand {
  line-height: 1;
  text-wrap: wrap;
  max-width: 15ex
}

#quarto-header>nav {
  padding-left: 0;
}

.nav-item .menu-text {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  font-size: 1.2rem;
  text-transform: none;
}


html {
  scroll-padding-top: 60px;
  scroll-behavior: auto !important;
  -webkit-tap-highlight-color: transparent;
}

[id],
h1,
h2,
h3,
h4,
h5,
h6 {
  scroll-margin-top: 60px;
}

.navbar>.container-fluid {
  display: flex;
  align-items: center;
}

.navbar-container {
  padding-left: 4px;
  padding-right: 4px;
}

.navbar-brand {
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 0;
  margin-top: 1ex;
  margin-bottom: 1ex;
  margin-right: 6.5rem;
  padding: 0 0.5rem 0 0.5rem;
  text-align: center
}

.navbar-nav {
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 0 0.5rem !important;
  font-size: 1.35rem;
}

.nav-link.active {
  font-weight: 700;
  box-shadow: inset 0 -2px 0 rgba(255, 255, 255, 0.85);
}

.quarto-navbar-tools {
  margin-bottom: 0;
  margin-top: 1ex;
}

.navbar-toggler {
  padding: 0.15rem 0.4rem;
}

.sidebar {
  font-size: 0.85rem;
}

.sidebar-title {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.sidebar-item {
  padding: 0.2rem 0;
}

.sidebar-section {
  margin-bottom: 0.75rem;
}

#TOC,
.toc,
.sidebar-toc {
  font-size: 0.75rem;
}

#TOC a,
.toc a,
.sidebar-toc a {
  padding: 0.1em 0;
  line-height: 1.3;
  font-size: 0.75rem;
}

#toc-title,
.toc-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

table {
  font-size: 0.9rem;
  margin: 1em 0;
  width: 100%;
}

th,
td {
  padding: 0.4rem 0.6rem;
}

th {
  background-color: var(--bs-primary);
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

tbody tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

main {
  padding: 1.5rem 2rem;
}

hr {
  margin: 2rem 0;
  opacity: 0.15;
}

blockquote {
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  margin: 1rem 0;
  border-left: 3px solid var(--bs-primary);
  background: rgba(0, 0, 0, 0.02);
}

.content em,
main em {
  font-size: 0.92em;
  color: #555;
}

strong {
  font-weight: 700;
}

.callout {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  margin: 1rem 0;
}

.callout-title {
  font-size: 0.9rem;
}

.title {
  font-size: 2rem;
  margin-bottom: 0.25em;
}

.subtitle {
  font-size: 1.1rem;
  font-weight: 400;
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
}

a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Suppress mouse-click focus flash; preserve keyboard focus rings */
#quarto-header :focus:not(:focus-visible),
#quarto-sidebar :focus:not(:focus-visible),
#quarto-margin-sidebar :focus:not(:focus-visible),
.page-footer :focus:not(:focus-visible),
main :focus:not(:focus-visible) {
  outline: none !important;
  box-shadow: none !important;
}

#quarto-header .nav-link:focus-visible,
#quarto-header .btn:focus-visible,
#quarto-sidebar .sidebar-link:focus-visible,
main a:focus-visible {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

.page-footer {
  font-size: 0.8rem;
  padding: 1rem;
  opacity: 0.7;
}

@media print {

  .sidebar,
  .navbar,
  #TOC,
  .toc,
  .page-footer,
  .quarto-sidebar,
  #quarto-sidebar,
  .sidebar-navigation {
    display: none !important;
  }

  .page-columns,
  #quarto-content,
  #quarto-document-content,
  .page-layout-article,
  .page-layout-full {
    display: block !important;
    grid-template-columns: unset !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  main,
  .content,
  article {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.25cm 1cm 0.25cm 1cm !important;
    grid-column: unset !important;
  }

  body {
    font-size: 10pt;
  }

  h1 {
    font-size: 16pt;
  }

  h2 {
    font-size: 13pt;
  }

  h3 {
    font-size: 11pt;
  }
}

[data-bs-theme="dark"] code {
  background-color: rgba(255, 255, 255, 0.1);
}

[data-bs-theme="dark"] .content em,
[data-bs-theme="dark"] main em {
  color: #aaa;
}

[data-bs-theme="dark"] tbody tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.03);
}

[data-bs-theme="dark"] blockquote {
  background: rgba(255, 255, 255, 0.03);
}