@font-face {
  font-family: 'Anonymous Pro';
  src: url('/assets/fonts/anonymous-pro-v22-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 100%;
}

@font-face {
  font-family: 'Anonymous Pro';
  src: url('/assets/fonts/anonymous-pro-v22-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 100%;
}

@font-face {
  font-family: 'Anonymous Pro';
  src: url('/assets/fonts/anonymous-pro-v22-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 100%;
}

@font-face {
  font-family: 'Anonymous Pro';
  src: url('/assets/fonts/anonymous-pro-v22-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
  size-adjust: 100%;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 107%;
}

@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-v37-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  size-adjust: 97%;
}

@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-v37-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  size-adjust: 97%;
}

@font-face {
  font-family: 'Lora';
  src: url('/assets/fonts/lora-v37-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  size-adjust: 97%;
}

/* Spacious-inspired layout (ThemeGrill Spacious + Inter body / Lora header / Anonymous Pro headings).
   Colors: text #666, headings #222, links #0a7a4f, borders #eaeaea */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link.screen-reader-text:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100000;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 16px;
  clip: auto;
  background: #ffffff;
  color: #0a7a4f;
  outline: 2px solid #0a7a4f;
}

body {
  margin: 0;
  padding: 0;
  background: #eaeaea;
  color: #666666;
  font: 400 16px/20px Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  word-wrap: break-word;
}

#page.hfeed.site {
  max-width: 100%;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(100, 100, 100, 0.3);
}

.inner-wrap {
  margin: 0 auto;
  max-width: 1218px;
  padding-left: 25px;
  padding-right: 25px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  padding-bottom: 18px;
  color: #222222;
  font-weight: normal;
  font-family: "Anonymous Pro", "Courier New", Courier, monospace;
}

h1 {
  font-size: 30px;
  line-height: 36px;
}

h2 {
  font-size: 28px;
  line-height: 34px;
}

h3 {
  font-size: 26px;
  line-height: 32px;
}

p {
  line-height: 24px;
  margin: 0 0 15px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
}

a {
  color: #0a7a4f;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

a:hover,
a:focus {
  color: #075c3a;
}

/* Fenced code blocks (Markdown) and inline code */
pre,
.highlight pre {
  margin: 0 0 15px;
  padding: 14px 16px;
  overflow-x: auto;
  background: #f6f8fa;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  font-family: "Anonymous Pro", "Courier New", Courier, monospace;
  font-size: 14px;
  line-height: 1.45;
  color: #333333;
}

pre code,
.highlight pre code {
  display: block;
  padding: 0;
  margin: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  white-space: pre;
}

:not(pre) > code {
  padding: 2px 6px;
  background: #f6f8fa;
  border: 1px solid #eaeaea;
  border-radius: 3px;
  font-family: "Anonymous Pro", "Courier New", Courier, monospace;
  font-size: 0.9em;
}

div.highlighter-rouge {
  margin: 0 0 15px;
}

div.highlighter-rouge pre {
  margin-bottom: 0;
}

article img,
.post img,
#primary .entry-content img {
  max-width: 100%;
  height: auto;
}

/* Header */
#header-text-nav-container {
  border-bottom: 1px solid #eaeaea;
}

#header-text-nav-wrap {
  padding-top: 15px;
  padding-bottom: 15px;
}

#header-left-section {
  float: left;
  margin-right: 25px;
}

#header-text {
  float: left;
  padding: 10px 20px 0 0;
}

#site-title {
  font-size: 30px;
  line-height: 36px;
  margin: 0 0 0;
  padding-bottom: 5px;
}

#site-title a {
  color: #444444;
  font-size: 36px;
  font-family: "Anonymous Pro", "Courier New", Courier, monospace;
}

#site-title a:hover {
  color: #0a7a4f;
}

#site-description {
  margin: 0;
  line-height: 24px;
  font-size: 16px;
  padding-bottom: 0;
  color: #666666;
  font-family: Lora, Georgia, "Times New Roman", serif;
}

#header-right-section {
  float: right;
}

.main-navigation {
  float: right;
  padding-top: 20px;
  font-family: Lora, Georgia, "Times New Roman", serif;
}

.main-navigation ul.menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation li.menu-item {
  float: left;
  position: relative;
  margin: 0 0 0 25px;
}

.main-navigation li.menu-item:first-child {
  margin-left: 0;
}

.main-navigation a {
  color: #444444;
  display: block;
  float: left;
  font-size: 16px;
  line-height: 1.875;
  font-family: Lora, Georgia, "Times New Roman", serif;
}

.main-navigation a:hover,
.main-navigation li.current-menu-item a {
  color: #0a7a4f;
}

/* Page title band */
.header-post-title-container {
  border-bottom: 1px solid #eaeaea;
  padding: 20px 0;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.header-post-title-container .post-title-wrapper {
  float: left;
  max-width: 100%;
  padding-right: 30px;
}

.header-post-title-class {
  font-size: 22px;
  padding-bottom: 0;
  margin: 0;
  line-height: 36px;
  font-family: "Anonymous Pro", "Courier New", Courier, monospace;
}

/* Main column */
#main {
  padding: 40px 0 10px;
}

#primary {
  width: 100%;
}

#content .post {
  padding-bottom: 45px;
}

.entry-content ul {
  list-style: square;
  padding: 0 0 0 35px;
  margin: 0 0 30px;
  line-height: 1.8;
}

.entry-content ol {
  padding: 0 0 0 35px;
  margin: 0 0 30px;
}

.entry-content li > ul,
.entry-content li > ol {
  margin-bottom: 0;
}

.post .entry-content a:hover {
  text-decoration: underline;
}

.post-date-footer {
  margin-top: 1.75em;
  padding-top: 1em;
  border-top: 1px solid #eaeaea;
  color: #666;
  font-size: 0.95em;
}

.has-small-font-size,
p.has-small-font-size {
  font-size: 13px;
  line-height: 20px;
}

/* Footer */
.footer-socket-wrapper {
  padding: 10px 0;
  background-color: #f8f8f8;
  border-top: 1px solid #eaeaea;
}

.footer-socket-wrapper .copyright {
  color: #666666;
  max-width: 100%;
  float: none;
  font-size: 12px;
  line-height: 18px;
}

.footer-socket-wrapper .copyright a {
  color: #666666;
}

.footer-socket-wrapper .copyright a:hover {
  color: #0a7a4f;
}

#colophon {
  font-size: 14px;
  line-height: 18px;
}

/* Scroll to top */
a#scroll-up {
  bottom: 20px;
  position: fixed;
  right: 20px;
  display: none;
  color: #ffffff;
  background-color: #0a7a4f;
  opacity: 0.6;
  border-radius: 3px;
  padding: 10px 14px;
  line-height: 1;
  z-index: 50;
}

a#scroll-up::before {
  content: "\2191";
  font-size: 18px;
  font-weight: bold;
}

a#scroll-up:hover {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .inner-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }

  #header-left-section,
  #header-text {
    float: none;
    text-align: center;
    padding-right: 0;
    margin-right: 0;
    margin-bottom: 10px;
  }

  #site-title a {
    font-size: 28px;
  }

  #header-right-section {
    float: none;
    max-width: 100%;
  }

  .main-navigation {
    float: none;
    margin: 12px -15px 0;
    padding: 12px 15px;
    background-color: #e8f5ef;
  }

  .main-navigation .menu-primary-container > ul.menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 12px;
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 0;
    list-style: none;
  }

  .main-navigation li.menu-item {
    float: none;
    margin: 0;
  }

  .main-navigation a {
    float: none;
    display: inline-block;
    padding: 4px 2px;
    font-size: 15px;
    line-height: 1.4;
  }

  .header-post-title-container .post-title-wrapper {
    float: none;
    padding-right: 0;
  }
}
