
body {
  font-family: "Montserrat", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #101130; 
  line-height: 1.6;
  background-color: #fff;
}

h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  color: #101130; 
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h1 {
  font-size: 2.2em;
  border-bottom: 3px solid #C5393F; 
  padding-bottom: 0.3em;
}

h2 {
  font-size: 1.8em;
  color: #101130;
}

h3 {
  font-size: 1.4em;
  color: #333;
}


a {
  color: #C5393F; 
  text-decoration: none;
}
a:hover {
  color: #101130; 
  text-decoration: underline;
}


p.caption {
  color: #555;
  font-size: 0.9em;
  margin-top: 8px;
  font-style: italic;
}


pre, code {
  font-family: "Courier New", Courier, monospace;
  background-color: #f7f7f7;
  border: 1px solid #ddd;
  padding: 3px 5px;
  border-radius: 3px;
  color: #101130;
  white-space: pre-wrap;
}


blockquote {
  border-left: 4px solid #C5393F;
  padding-left: 15px;
  color: #555;
  font-style: italic;
  background-color: #f9f9f9;
}


table {
  border-collapse: collapse;
  margin: 1em 0;
  width: 100%;
}
th, td {
  border: 1px solid #ccc;
  padding: 8px 12px;
}
th {
  background-color: #101130; 
  color: #fff;
  font-weight: 600;
}
tr:nth-child(even) {
  background-color: #f9f9f9;
}


.book .book-summary {
  background-color: #101130;
  color: #fff;
}
.book .book-summary a {
  color: #fff;
}
.book .book-summary a:hover {
  color: #C5393F;
}

/* Version banner */
.version-banner {
  background-color: #C5393F; 
  color: #fff;
  text-align: center;
  padding: 8px;
  font-weight: bold;
  font-family: "Montserrat", sans-serif;
}

/* Force sidebar text to be white */
.book .book-summary ul.summary li a {
  color: #fff !important;
}

.book .book-summary ul.summary li.active > a,
.book .book-summary ul.summary li a:hover {
  color: #C5393F !important; /* red accent on hover/active */
}
