hr {
  margin-top: 30px;
  margin-bottom: 20px;
}

.post_navi {
  display: flex;
}

.post_navi-label {
  font-size: 0.8em;
  opacity: 0.5;
}

.post_navi .post_navi-item {
  padding: 0 2.2em;
  width: 50%;
  position: relative;
  color: inherit !important;
}

.post_navi .nav_prev {
  text-align: left;
}

.post_navi .nav_next {
  text-align: right;
}

.post_navi .nav_prev .post_navi-arrow {
  left: 0;
}

.post_navi .nav_next .post_navi-arrow {
  right: 0;
}

.post_navi .post_navi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5em;
  opacity: 0.3;
}

/* Theme */
html, body {
  background: #000 !important;
  color: #00ff00 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace !important;
  -webkit-text-size-adjust: 100% !important;
  text-size-adjust: 100% !important;
}

body {
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.site-header,
.site-footer,
.page-content,
.post-content,
.wrapper {
  background: #000 !important;
  color: #00ff00 !important;
  border-color: #003300 !important;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.post-title {
  color: #00ff00 !important;
  font-family: inherit !important;
}

a, a:visited {
  color: #00ff00 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a code {
  text-decoration: underline !important;
}

pre, code {
  background: #111 !important;
  color: #00ff00 !important;
  border-color: #003300 !important;
}

.wrapper {
  max-width: 70% !important;
}

.post, .page {
  max-width: 100% !important;
}

.post-content, .page-content {
  max-width: 100% !important;
}

.post-list {
  margin: 0 auto !important;
  padding: 0 !important;
}

.post-list-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.post-list-text {
  text-align: center;
}

.post-thumb-link {
  display: flex;
  justify-content: center;
}

.post-thumb {
  margin: 0 auto !important;
}

.post-list-heading {
  text-align: center !important;
}

/* Center images in posts/pages */
.post-content img,
.page-content img {
  display: block !important;
  margin: 16px auto !important;
}

/* Header (custom) */
.site-header .header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 2.0rem;
}

.site-logo {
  height: 40px;
  width: auto;
  display: block;
}

.header-nav {
  margin-left: auto;
  display: inline-flex;
  gap: 16px;
  align-items: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.header-nav .page-link {
  color: #00ff00 !important;
}

/* Mobile */
@media screen and (max-width: 700px) {
  .site-header .header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .site-title {
    font-size: 22px !important;
    line-height: 1.05 !important;
    white-space: nowrap !important;
  }

  .site-logo {
    height: 22px !important;
  }

  .header-nav {
    margin-left: 0 !important;
    gap: 14px !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
  }

  .header-nav .page-link {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 0 !important;
    border: none !important;
    text-decoration: underline !important;
  }
}
