@font-face {
  font-family: "SDG Geist";
  src: url("geist-latin.woff") format("woff");
  font-weight: 100 900;
  font-display: swap;
}

body.page {
  --sdg-ink: #101923;
  --sdg-navy: #152431;
  --sdg-orange: #ff864a;
  --sdg-paper: #f5f6f4;
  font-family: "SDG Geist", Arial, sans-serif;
  background: var(--sdg-paper);
  color: var(--sdg-ink);
}

/* The masthead title already carries the accessible name in the old banner. */
body.page #masthead .header-image { display: none; }
body.page #masthead,
body.page #masthead .site-branding,
body.page #site-navigation,
body.page #site-navigation #masonic { background: var(--sdg-ink); }

body.page #masthead .site-branding {
  position: static;
  padding: 15px 0;
}
body.page #masthead .site-header-text {
  position: static;
  display: flex;
  align-items: center;
  gap: clamp(13px, 3vw, 34px);
  box-sizing: border-box;
  width: min(92%, 1166px);
  min-height: 55px;
  text-align: left;
}
body.page #masthead .site-header-text::before {
  display: block;
  content: "";
  flex: 0 0 clamp(58px, 7vw, 85px);
  height: 37px;
  background: url("sdg-chiaro.svg") center left / contain no-repeat;
}
body.page #masthead .logo-img-holder:empty { display: none; }
body.page #masthead .logo-img-holder { margin: 0; }
body.page #masthead .main-header { float: none; margin: 0; min-width: 0; }
body.page #masthead .site-title {
  float: none;
  margin: 0;
  line-height: 1.2;
  font: 640 clamp(16px, 2.2vw, 25px)/1.2 "SDG Geist", Arial, sans-serif;
  letter-spacing: -.035em;
}
body.page #masthead .site-title a { color: white; }
body.page #masthead .site-description {
  display: block;
  margin: 4px 0 0;
  font: 400 clamp(12px, 1.4vw, 15px)/1.45 "SDG Geist", Arial, sans-serif;
  color: #d3dce0;
}
body.page #site-navigation {
  border-block: 1px solid #35414a;
}
body.page #site-navigation #masonic .menu > li > a {
  color: #f6f7f7;
  font: 540 14px/1.45 "SDG Geist", Arial, sans-serif;
  padding: 12px 11px;
}
body.page #site-navigation #masonic .menu > li.current-menu-item > a,
body.page #site-navigation #masonic .menu > li > a:hover,
body.page #site-navigation #masonic .menu > li > a:focus {
  background: #243645;
  color: var(--sdg-orange);
}
body.page #masthead .blog-header {
  background: var(--sdg-navy);
  padding: clamp(26px, 5vw, 62px) 0;
}
body.page #masthead .blog-site-title { float: none; margin: 0; }
body.page #masthead .blog-site-title h1 {
  margin: 0;
  color: #fff;
  font: 650 clamp(29px, 5vw, 60px)/1.06 "SDG Geist", Arial, sans-serif;
  letter-spacing: -.052em;
  overflow-wrap: break-word;
}
body.page #container .blog-post {
  border: 1px solid #d9dfdf;
  box-shadow: none;
}
body.page #container .entry-content {
  padding: clamp(18px, 3vw, 38px);
  font: 400 clamp(16px, 1.3vw, 18px)/1.66 "SDG Geist", Arial, sans-serif;
  color: var(--sdg-ink);
  overflow-wrap: anywhere;
}
body.page #container .entry-content :is(h1,h2,h3,h4) {
  color: var(--sdg-ink);
  font-family: "SDG Geist", Arial, sans-serif;
  font-weight: 650;
  line-height: 1.17;
  letter-spacing: -.03em;
}
body.page #container .entry-content > h2 { font-size: clamp(23px, 2.8vw, 32px); }
body.page #container .entry-content > p { max-width: 75ch; }
body.page #container .entry-content :is(p,li) a {
  color: #943a15;
  text-decoration: underline;
  text-underline-offset: .16em;
}
body.page #container .entry-content .underline { background: var(--sdg-orange); }
body.page #container .widget-title { border-left-color: var(--sdg-orange); }
body.page .footer-background {
  background: var(--sdg-ink);
  border-top: 3px solid var(--sdg-orange);
  color: white;
}
body.page .footer-background .angled-background { display: none; }
body.page .footer-background .copyright,
body.page .footer-background .copyright-header { color: #d3dce0; }
body.page .footer-background a, body.page .footer-background .copyright a span {
  color: var(--sdg-orange);
}
body.page #page a:focus-visible, body.page .footer-background a:focus-visible {
  outline: 3px solid #138798;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  body.page #masthead .site-header-text { padding: 0; }
  body.page #site-navigation #masonic .menu > li > a { box-sizing: border-box; }
  body.page #container .entry-content { padding: 18px; }
}
