* {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  height: 100vh;
  margin: 42px 0 0;
}

header {
  background-color: #ffffff;
  position: fixed;
  width: 100vw;
  top: 0;
  right: 0;
  border-bottom: 1px solid #7a7b7b;
}

header > .wrapper {
  padding: 5px 20px;
  display: flex;
}

#sagittal-logo {
  height: 32px;
}

main {
  display: flex;
  flex-direction: row;
  width: 100vw;
}

main img {
  max-width: 80%;
}

#sidebar {
  font-weight: 200;
  width: 220px;
  max-width: 220px;
  text-wrap:wrap;
  color: #7a7b7b;
  background: #ffffff;
  overflow: auto;
  display: inline;
  box-shadow: 1px 1px 5px #7a7b7b;
  padding: 0 15px;
}

#sidebar a, #sidebar a:hover {
  text-decoration: none !important;
  color: inherit;
}

#sidebar h4 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 300;
  margin-left: 5px;
}

.resizeable {
  resize: horizontal;
}

#neo-logo {
  aspect-ratio: 1;
  width: 30px;
}

#sidebar ul {
  margin: 0;
  list-style-type: none;
  padding: 0;
}

#sidebar summary {
  padding: 10px;
  display: block;
  cursor: pointer;
}

#sidebar summary::marker {
  content: '';
}

#sidebar summary::before {
  color: #f28b2a;
  font: var(--fa-font-solid);
  content: '\f054';
  font-weight: 100;
  display: inline-block;
  text-rendering: auto;
  padding-right: 0.2rem;
  width: 1em;
}

#sidebar details[open] summary {
  font-weight: 500;
}

#sidebar details[open] summary::before {
  content: "\f078";
}

#sidebar li, #sidebar summary {
  box-sizing: border-box;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 10px;
  font-weight: 200;
}

#sidebar li:hover, #sidebar summary:hover {
  background-color: #f28b2a33;
  border: 1px solid #f28b2a55;
  border-radius: 5px;
}

#main-content a{
  text-decoration: underline;
}

#main-content {
  font-size: 1.1rem;
  line-height: 1.8rem;
  color: #3c4149;
  max-width: 80ch;
  margin: 0 auto;
  text-align: left;
  overflow-y: auto;
  padding: 30px;
  flex: 1;
}

#sidebar details ul {
  padding-left: 1.5rem;
}

#sidebar .selected-subsection {
  background-color: white;
  color: #f28b2a;
  border-radius: 5px;
  border: 1px solid #f28b2a;
}

.codehilite {
  margin: 1em 0;
  padding: 1em;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 5px;
  overflow-x: auto;
}

.codehilite pre {
  margin: 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.95em;
  line-height: 1.5;
}

.did-you-know-banner {
  background: linear-gradient(135deg, #f28b2a22, #f28b2a11);
  border: 1px solid #f28b2a44;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(242, 139, 42, 0.1);
}

.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.banner-icon {
  color: #f28b2a;
  font-size: 1.2rem;
}

.banner-title {
  font-weight: 600;
  color: #f28b2a;
  font-size: 1rem;
}

.banner-text {
  color: #3c4149;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.banner-doc-link {
  color: #f28b2a;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

.banner-doc-link:hover {
  color: #d67320;
  text-decoration: none !important;
}

.banner-link {
  color: #f28b2a;
  text-decoration: none !important;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #f28b2a;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.banner-link:hover {
  background-color: #f28b2a;
  color: white;
  text-decoration: none !important;
}

.emoji-highlight {
  background-color: #f0f0f0;
  border-left: 4px solid #d3d3d3;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
}