body {
  margin: 0;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
h1 { font-size: 2.222rem; }
h2 { font-size: 1.667rem; }
h3 { font-size: 1.333rem; }
h4 { font-size: 1.167rem; }
h5 { font-size: 1.0rem; } 
h6 { font-size: 0.889rem; }

p, li {
  text-wrap: pretty;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

body {
  font-family: system-ui, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: system-ui, sans-serif;
  font-weight: bold;
}

main article, main .content {
  font-family: Charter, 'Bitstream Charter', 'Sitka Text', Cambria, serif;
}

/* Forms */
input, button, textarea, select {
  font: inherit;
}

input, select, textarea, img, picture, video, canvas, svg, table, pre {
  vertical-align: baseline;
}

label:has(+ textarea) {
  vertical-align: top;
}

select {
  padding: 0.25em;
  line-height: 1.2;
  vertical-align: baseline;
}

input, textarea, select, button {
  border: 1px solid #ccc;
  color: inherit;
}

input[type="range"] {
  background-color: transparent;
}        

/* Code */
:where(code, pre) {
  border: 1px solid #ccc;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.9em;
}

code {
  padding: 0.1em 0.3em;
  white-space: nowrap;
}

pre > code {
  all: unset;
}

pre {
  padding: 1em;
  overflow-x: auto;
  line-height: 1.4;
} 

/* Horizontal Rule */

hr {
  border: 0;
  border-bottom: 1px solid currentColor;
  height: 0;
  margin: 1rem 0;
}

/* Horizontal Rule */
hr {
  border: 0;
  border-bottom: 1px solid currentColor;
  height: 0;
  margin: 1rem 0;
}

/* Horizontal Links */
.horizontal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
  list-style: none;
  align-items: center;
}

.horizontal-links li {
  margin: 0;
  line-height: 1;
}

.horizontal-links a {
  white-space: nowrap;
}            

/* Visually hidden utility */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: 0;
  clip: rect(1px,1px,1px,1px);
}

/* Classic float to avoid flex jumpiness in some browsers. */
#menu-toggle {
  float: right;
  min-width: 2em;
  text-align: center;
  cursor: pointer;
}

#menu-toggle .icon-close {
  display:none;
}

#menu-toggle[aria-expanded="true"] .icon-open {
  display:none;
}

#menu-toggle[aria-expanded="true"] .icon-close {
  display:inline;
}            

.masthead::after {
  content: "";
  display: table;
  clear: both;
}

/* Sticky footer flex trick */
html, body {
  height: 100%
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

main {
  flex: 1 0 auto
}

footer {
  flex-shrink: 0;
  position: relative;
}

/* Bumping utility classes */
.bump-mt-0 { margin-top: 0; }
.bump-mt-1 { margin-top: 1rem; }
.bump-mt-2 { margin-top: 2rem; }
.bump-mt-3 { margin-top: 3rem; }

.bump-mb-0 { margin-bottom: 0; }
.bump-mb-1 { margin-bottom: 1rem; }
.bump-mb-2 { margin-bottom: 2rem; }
.bump-mb-3 { margin-bottom: 3rem; }

/* External links */
a[href^="http://"]:after,
a[href^="https://"]:after {
  content: '';
  display: inline-block;
  vertical-align: -0.11111em;
  margin-left: 0.25em;
  width: 0.8333em;
  height: 0.8333em;
  background: currentColor;
  mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="white" d="M10.5 1a.5.5 0 0 0 0 1h2.793L7.146 8.146a.5.5 0 1 0 .708.708L14 2.707V5.5a.5.5 0 0 0 1 0v-4a.5.5 0 0 0-.5-.5h-4z"/><path fill="white" d="M13 8a.5.5 0 0 1 .5.5v4A2.5 2.5 0 0 1 11 15H4A2.5 2.5 0 0 1 1.5 12.5V5A2.5 2.5 0 0 1 4 2.5h4a.5.5 0 0 1 0 1H4A1.5 1.5 0 0 0 2.5 5v7.5A1.5 1.5 0 0 0 4 14h7a1.5 1.5 0 0 0 1.5-1.5v-4a.5.5 0 0 1 .5-.5z"/></svg>');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}            

/* LIGHT THEME */
body {
  color: #323231;
  background-color: #eddfd0;
}
html[data-theme="light"] body,
html[data-theme="dark"] .light-theme {
  color: #323231;
  background-color: #eddfd0;
}
html[data-theme="light"] a,
html[data-theme="dark"] .light-theme a {
  color: #0f4780;
}
html[data-theme="light"] a:visited,
html[data-theme="dark"] .light-theme a:visited {
  color: #8a008a;
}
:where(code, pre),
html[data-theme="light"] :where(code, pre) {
  background-color: #e1d4c6;
  border-color: #d5c9bb;
}
:where(input, select, textarea, button, datalist, option),
html[data-theme="light"] :where(input, select, textarea, button, datalist, option) {
  background-color: #dbcec0;
  border-color: #c9beb1;
}
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) .light-theme {
    color: #323231;
    background-color: #eddfd0;
  }
  html:not([data-theme]) .light-theme a {
    color: #0f4780;
  }
  html:not([data-theme]) .light-theme a:visited {
    color: #8a008a;
  }
}

/* DARK THEME */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]) body {
    color: #eddfd0;
    background-color: #323231;
  }
  html:not([data-theme]) a {
    color: #8acaf4;
  }
  html:not([data-theme]) a:visited {
    color: #ffa3ff;
  }
  html:not([data-theme]) :where(code, pre) {
    background-color: #414140;
    border-color: #515150;
  }
  html:not([data-theme]) :where(input, select, textarea, button, datalist, option) {
    background-color: #515150;
    border-color: #70706f;
  }
}
html[data-theme="dark"] body,
html[data-theme="light"] .dark-theme {
  color: #eddfd0;
  background-color: #323231;
}
html[data-theme="dark"] a,
html[data-theme="light"] .dark-theme a {
  color: #8acaf4;
}
html[data-theme="dark"] a:visited,
html[data-theme="light"] .dark-theme a:visited {
  color: #ffa3ff;
}
html[data-theme="dark"] :where(code, pre) {
  background-color: #414140;
  border-color: #515150;
}
html[data-theme="dark"] :where(input, select, textarea, button, datalist, option) {
  background-color: #515150;
  border-color: #70706f;
}
@media (prefers-color-scheme: light) {
  html:not([data-theme]) .dark-theme {
    color: #eddfd0;
    background-color: #323231;
  }
  html:not([data-theme]) .dark-theme a {
    color: #8acaf4;
  }
  html:not([data-theme]) .dark-theme a:visited {
    color: #ffa3ff;
  }
}

/* LIGHT HIGH-CONTRAST THEME */
html[data-contrast="high"] body {
  color: #000000;
  background-color: #ffffff;
}

/* DARK HIGH-CONTRAST THEME */
html[data-contrast="high"][data-theme="dark"] body {
  color: #ffffff;
  background-color: #000000;
}
@media (prefers-color-scheme: dark) {
  html[data-contrast="high"]:not([data-theme]) body {
    background-color: #000000;
    color: #ffffff;
  }
}


/****** Rusty Kane ******
 */

/* Masthead */

body > header  {
    padding-top: 0;
}

header nav a {
    font-weight: bold;
}

header .p-note {
    display: block;
    line-height: 1.4;
}

.masthead {
    position: relative;
    padding-inline-end: 3.25rem;
}

#menu-toggle {
    position: absolute;
    inset-block-start: .25rem;
    inset-inline-end: .25rem;
}

.masthead::after {
    content: none;
}

.hero-image {
    display: flex;
    justify-content: flex-end; /* align picture(s) to the right */
}

.hero-image picture {
    margin: 0;
}

/* If your site sets data-theme="dark", show the dark override instead */
html[data-theme="dark"] .theme-img.os-driven,
html[data-theme="dark"] .theme-img.site-light {
    display: none;
}

html[data-theme="dark"] .theme-img.site-dark {
    display: block;
}

/* If your site sets data-theme="light", show the dark override instead */
html[data-theme="light"] .theme-img.os-driven,
html[data-theme="light"] .theme-img.site-dark {
    display: none;
}

html[data-theme="light"] .theme-img.site-light {
    display: block;
}

header .masthead a {
    font-size: 1.333rem;
}

header nav a {
    font-weight: bold;
}

/* Back to the top */

.scroll-links .layout-container {
    margin: 3em 0 2em;
}

.back-to-top {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.back-to-top .icon {
    width: 2em;
    height: 2em;
    background: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill=\'white\' viewBox=\'0 0 24 24\'><path d=\'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4H8.41c-.89 0-1.34-1.08-.71-1.71l3.59-3.59c.39-.39 1.02-.39 1.41 0l3.59 3.59c.63.63.19 1.71-.71 1.71H13v4c0 .55-.45 1-1 1z\'/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" fill=\'white\' viewBox=\'0 0 24 24\'><path d=\'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 15c-.55 0-1-.45-1-1v-4H8.41c-.89 0-1.34-1.08-.71-1.71l3.59-3.59c.39-.39 1.02-.39 1.41 0l3.59 3.59c.63.63.19 1.71-.71 1.71H13v4c0 .55-.45 1-1 1z\'/></svg>') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
    background-color: currentColor;
}

.back-to-top .label {
    font-size: 0.8889em;
    border-bottom: 2px solid transparent;
}

.back-to-top:hover .label,
.back-to-top:focus .label,
.back-to-top:active .label {
    border-bottom: none;
}

/* Footer */

footer {
    margin-top: 3em;
}

footer .layout-container {
    max-width: none;
}

footer .footline {
    font-size: 0.8889em;
    display: flex;
    align-items: baseline;
    gap: .75rem 1rem; /* keeps it readable on one line */
    flex-wrap: wrap; /* wraps only if it truly must */
    margin: 0 0 1em 0;
}

footer .inline-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Theme toggle */

#theme-toggle {
    margin: 1em 0;
}

#theme-toggle-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    display: inline-flex;
    align-items: center;
    gap: 0.4em;
    cursor: pointer;
}

#theme-toggle-btn::before {
    content: "";
    display: inline-block;
    width: 1.2em;
    height: 1.2em;
    background-color: currentColor;
    mask: url('data:image/svg+xml;utf8,<svg fill="none" viewBox="0 0 24 24" stroke="white" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z"/></svg>') no-repeat center;
    -webkit-mask: url('data:image/svg+xml;utf8,<svg fill="none" viewBox="0 0 24 24" stroke="white" xmlns="http://www.w3.org/2000/svg"><path d="M21 12.79A9 9 0 1111.21 3a7 7 0 009.79 9.79z"/></svg>') no-repeat center;
    mask-size: contain;
    -webkit-mask-size: contain;
}

#theme-toggle-btn.theme-is-light::before {
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='5'/><line x1='12' y1='1' x2='12' y2='3'/><line x1='12' y1='21' x2='12' y2='23'/><line x1='4.22' y1='4.22' x2='5.64' y2='5.64'/><line x1='18.36' y1='18.36' x2='19.78' y2='19.78'/><line x1='1' y1='12' x2='3' y2='12'/><line x1='21' y1='12' x2='23' y2='12'/><line x1='4.22' y1='19.78' x2='5.64' y2='18.36'/><line x1='18.36' y1='5.64' x2='19.78' y2='4.22'/></svg>") no-repeat center;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='5'/><line x1='12' y1='1' x2='12' y2='3'/><line x1='12' y1='21' x2='12' y2='23'/><line x1='4.22' y1='4.22' x2='5.64' y2='5.64'/><line x1='18.36' y1='18.36' x2='19.78' y2='19.78'/><line x1='1' y1='12' x2='3' y2='12'/><line x1='21' y1='12' x2='23' y2='12'/><line x1='4.22' y1='19.78' x2='5.64' y2='18.36'/><line x1='18.36' y1='5.64' x2='19.78' y2='4.22'/></svg>") no-repeat center;
}

/* Modified */