@font-face {
  font-family: "Varela";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Varela"), url(fonts/Varela.woff2) format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Open Sans"), local("OpenSans"), url(fonts/OpenSans.woff2) format("woff2");
}

:root {
  --accent: #ccb480;
  --font-body: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  --font-heading: "Varela", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  --font-sans: "Open Sans", "Lucida Sans Unicode", "Lucida Grande", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --nav: #383f50;
  --text: #222;
  --muted: #999;
  --line: #ecf0f1;
}

/* Base */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  font-size: 62.5%;
  overflow-y: scroll;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-size: 1.4rem;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body,
div,
span,
object,
embed,
ruby,
output,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

ol,
ul {
  list-style: none;
}

a {
  color: var(--accent);
  text-decoration: underline;
}

a:hover,
a:active {
  outline: none;
  text-decoration: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
td img {
  vertical-align: top;
}

blockquote,
q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: none;
}

img,
video,
iframe {
  max-width: 100%;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
}

button,
input,
select,
textarea {
  max-width: 100%;
}

button,
input[type="button"],
input[type="submit"] {
  cursor: pointer;
}

pre,
code,
kbd,
samp {
  font-family: var(--font-mono);
}

pre {
  overflow: auto;
  margin: 0 0 2.4rem;
  padding: 1.5rem;
  background: #f5f5f5;
  border: 1px solid #f0f0f0;
  border-left: 3px solid #e0e0e0;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre code {
  margin: 0;
  padding: 0;
  background: transparent;
}

code {
  margin: 0 0.25rem;
}

mark {
  background: #ebe16f;
}

strong,
th {
  font-weight: 700;
}

em {
  font-style: italic;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

.clearfix::after,
.site-nav-list::after {
  display: block;
  height: 0;
  clear: both;
  content: "";
  visibility: hidden;
}

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

::selection {
  color: #fff;
  text-shadow: none;
  background: var(--text);
}

/* Site frame and header */

#wrapper {
  min-height: 100%;
  height: auto !important;
  margin: 0 auto -70px;
}

#container {
  width: 96%;
  max-width: 104.4rem;
  margin: 0 auto;
  padding: 0 2%;
}

header[role="banner"] {
  position: relative;
}

#top-head {
  padding-bottom: 3rem;
}

#top-nav {
  width: 60%;
  padding-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.5;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

#top-nav .header-date {
  display: inline-block;
  padding-right: 1rem;
}

#inner-header {
  position: relative;
  min-height: 7.4rem;
  padding-bottom: 2rem;
  overflow: hidden;
}

#site-heading {
  display: inline-block;
  margin-right: 50rem;
  padding: 1rem 0;
}

#site-title {
  padding-bottom: 2.4rem;
  color: var(--nav);
  font-family: var(--font-heading);
  font-size: 3.4rem;
  line-height: 4rem;
  letter-spacing: 0.7rem;
  text-transform: uppercase;
}

#site-title a {
  color: var(--nav);
  text-decoration: none;
  -webkit-text-stroke: 0.02rem var(--nav);
}

#site-description {
  font-size: 1.4rem;
}

/* Navigation */

nav[role="navigation"] {
  clear: both;
}

nav[role="navigation"] .site-nav {
  position: relative;
  color: #fff;
  font-size: 1.4rem;
  text-transform: uppercase;
  background: var(--nav);
}

nav[role="navigation"] .site-nav-list {
  display: block;
  margin: 0;
  padding: 0;
}

nav[role="navigation"] .site-nav-list li {
  position: relative;
  float: left;
  list-style: none;
}

nav[role="navigation"] .site-nav-list li a {
  display: block;
  padding: 1rem 2rem;
  color: #fff;
  font-family: var(--font-sans);
  text-decoration: none;
}

nav[role="navigation"] .site-nav-list > li > a:hover,
nav[role="navigation"] .site-nav-list > li.is-active > a {
  background: var(--accent);
}

nav[role="navigation"] .site-nav-list li ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  width: 20rem;
  background: #fcfcfc;
  box-shadow: 0 1px 3px rgb(0 0 0 / 12%);
}

nav[role="navigation"] .site-nav-list li:hover > ul {
  display: block;
}

nav[role="navigation"] .site-nav-list li ul li {
  float: none;
  border-bottom: 1px solid #f0f0f0;
}

nav[role="navigation"] .site-nav-list li ul li a {
  min-height: 3.8rem;
  color: #555;
  font-size: 85%;
  line-height: 1.8;
}

nav[role="navigation"] .site-nav-list li ul li a:hover {
  color: #555;
  background: #f5f5f5;
}

nav[role="navigation"] .site-nav-list li ul ul {
  top: 0;
  left: 20rem;
}

#menu-icon {
  display: none;
}

/* Main content */

#content {
  padding-bottom: 0.1rem;
}

#main.content-column {
  position: relative;
  display: inline;
  float: left;
  width: 98%;
  margin-right: 1%;
  margin-left: 0;
}

body.home #content {
  margin-top: 3.5rem;
}

body.single #main,
body.page #main {
  padding: 0;
}

article.post,
article.page,
article.not-found {
  word-wrap: break-word;
}

body.single #main article.post,
body.page #main article.page {
  box-sizing: border-box;
  padding: 3.5rem 0;
}

.content-header {
  margin-bottom: 2.4rem;
}

body.page .content-header,
body.single .content-header,
.not-found .content-header {
  margin-bottom: 3.5rem;
}

.content-title {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 2.8rem;
  -webkit-text-stroke: 0.02rem var(--text);
}

.content-title a,
.content-title a:visited {
  color: var(--text);
  text-decoration: none;
}

.content-title a:hover {
  color: var(--accent);
}

body.page .content-title,
body.single .content-title,
.not-found .content-title {
  padding-bottom: 2.4rem;
  border-bottom: 3px solid var(--line);
  font-size: 4rem;
  line-height: 4.2rem;
}

.content-meta {
  margin: 0 0 2.4rem;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.4rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
}

.content-meta .content-date {
  color: var(--accent);
}

.content-body {
  box-sizing: border-box;
  margin-bottom: 4rem;
  overflow: hidden;
  word-wrap: break-word;
}

.content-body p {
  margin: 0 0 2.4rem;
  line-height: 20pt;
  text-indent: 2em;
}

.content-body p.en {
  text-indent: 0;
}

.content-body > :last-child {
  margin-bottom: 0;
}

.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6,
.content-body address,
.content-body ul,
.content-body ol,
.content-body table,
.content-body dl {
  margin-bottom: 2.4rem;
}

.content-body ul,
.content-body ol {
  margin-top: 2.4rem;
  margin-left: 2rem;
  margin-right: 2rem;
  line-height: 1.5;
}

.content-body ul {
  list-style: none;
}

.content-body ol {
  list-style: none;
  counter-reset: content-counter;
}

.content-body li {
  position: relative;
  margin-bottom: 1.2rem;
  padding-left: 1.6rem;
}

.content-body ul li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: "\2022";
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.25;
}

.content-body ol li::before {
  position: absolute;
  left: 0;
  color: var(--accent);
  content: counter(content-counter) ")";
  counter-increment: content-counter;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.content-body blockquote {
  margin: 2.4rem 3.5rem 2.4rem 5.6rem;
  font-style: italic;
  line-height: 2.6rem;
}

.content-body blockquote::before {
  float: left;
  margin-top: 1.2rem;
  margin-left: -5.6rem;
  color: var(--text);
  content: "“";
  font-family: Georgia, serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.2;
}

.content-body table {
  width: 100%;
}

.content-body th {
  border-bottom: 2px solid #848484;
  text-align: left;
}

.content-body td {
  padding: 0.5rem;
  border-bottom: 1px solid #d0d0d0;
}

.content-body img {
  width: auto;
  height: auto;
  margin: 0 0 2.4rem;
}

.content-body video,
.content-body object,
.content-body embed,
.content-body iframe {
  display: block;
  max-width: 100%;
  margin: 0 0 2.4rem;
}

.content-body video {
  width: 100%;
  height: auto;
}

.alignleft {
  display: inline-block;
  float: left;
  margin: 1.2rem 2.4rem 1.6rem 0;
}

.alignright {
  display: inline-block;
  float: right;
  margin: 1.2rem 0 1.6rem 2.4rem;
}

.aligncenter {
  display: block;
  clear: both;
  margin-right: auto;
  margin-left: auto;
}

.media-caption {
  max-width: 100%;
  margin-bottom: 2.4rem;
  padding-top: 0.5rem;
  text-align: center;
}

.media-caption img {
  margin: 0;
}

.media-caption-text {
  margin: 1rem 0 -0.4rem;
  color: #888;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.7rem;
}

/* Home cards and pagination */

body.home #post-grid {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 2.4rem 0 0;
  column-gap: 2rem;
  row-gap: 3rem;
}

body.home #post-grid .post-card {
  position: absolute;
  display: block;
  float: none;
  width: calc((100% - 4rem) / 3);
  margin: 0;
}

.post-card article {
  margin: 0;
  padding: 0 1rem 0 0;
}

.post-card .content-header {
  margin-bottom: 2rem;
}

.post-card .content-title {
  font-size: 2.1rem;
  line-height: 2.6rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  -webkit-text-stroke: 0.012rem #000;
}

.post-card .content-body {
  margin-bottom: 2rem;
}

.post-card .post-card-image {
  height: 100%;
  margin: 0 0 2rem;
  overflow: hidden;
}

.post-card .post-card-image img,
.post-card-image img {
  width: auto;
  min-width: 100%;
  max-width: 100%;
  height: auto;
}

.post-category {
  display: inline-block;
  float: right;
  padding: 0.5rem 1.2rem;
  color: #fff !important;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  line-height: 1.4rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--accent);
}

.post-category a {
  color: #fff !important;
  text-decoration: none;
}

.post-accent {
  width: 100%;
  height: 1px;
  margin-bottom: 0.5rem;
  overflow: hidden;
  background: var(--accent);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  clear: both;
  gap: 0.4rem;
  padding: 2rem 0 3rem;
  font-size: 1.1rem;
  line-height: 1.3rem;
}

.pagination a.pagination-link,
.pagination span.pagination-link.pagination-current {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 0.6rem 0.9rem 0.5rem;
  color: #000;
  text-decoration: none;
  background: #e5e5e5;
}

.pagination a.pagination-link:hover {
  color: #fff;
  background: var(--accent);
}

.pagination span.pagination-link.pagination-current {
  color: #fff;
  background: #2b2b2b;
}

.pagination span.pagination-gap {
  padding: 0 0.1rem;
  color: var(--text);
}

/* Article navigation */

#post-navigation {
  display: block;
  min-height: 4.5rem;
  margin: 0 0 3rem;
  overflow: hidden;
}

.post-navigation-prev,
.post-navigation-next {
  margin: 0;
}

.post-navigation-prev {
  float: left;
}

.post-navigation-next {
  float: right;
}

.post-navigation-prev a,
.post-navigation-next a {
  position: relative;
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  color: transparent;
  text-indent: -9999px;
  background-color: #222;
}

.post-navigation-prev a::before,
.post-navigation-next a::before {
  position: absolute;
  top: 1.6rem;
  width: 0.9rem;
  height: 0.9rem;
  border-top: 0.2rem solid #fff;
  border-right: 0.2rem solid #fff;
  content: "";
}

.post-navigation-prev a::before {
  left: 1.9rem;
  transform: rotate(-135deg);
}

.post-navigation-next a::before {
  right: 1.9rem;
  transform: rotate(45deg);
}

.post-navigation-prev a:hover,
.post-navigation-next a:hover {
  background-color: var(--accent);
}

/* Footer */

footer[role="contentinfo"] {
  display: table;
  width: 96%;
  max-width: 99rem;
  height: 70px;
  margin: 0 auto;
  padding: 0 2%;
  border-top: 3px solid var(--line);
}

.footer-spacer {
  height: 70px;
  clear: both;
}

#site-generator {
  display: table-cell;
  color: #222;
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0.2rem;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}

#site-generator a {
  text-decoration: none;
}

/* Responsive layout */

@media only screen and (max-width: 899px) {
  body.home #post-grid .post-card {
    width: calc((100% - 2rem) / 2);
  }
}

@media only screen and (max-width: 823px) {
  #top-head {
    padding-bottom: 1rem;
  }

  #inner-header {
    min-height: 0;
  }

  #top-nav {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }

  #site-heading {
    display: block;
    width: 100%;
    margin-right: 0;
    text-align: center;
  }

  nav[role="navigation"] .site-nav.is-mobile #menu-icon {
    display: block;
    padding: 1rem 2rem;
    color: #fff;
    cursor: pointer;
    font-family: var(--font-sans);
  }

  nav[role="navigation"] .site-nav.is-mobile > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    display: none;
    width: 25rem;
    max-width: 100%;
    background: #fcfcfc;
  }

  nav[role="navigation"] .site-nav.is-mobile > ul > li {
    float: none;
    border-bottom: 1px solid #f0f0f0;
  }

  nav[role="navigation"] .site-nav.is-mobile li a {
    color: #555;
    background: none;
  }

  nav[role="navigation"] .site-nav.is-mobile li a:hover,
  nav[role="navigation"] .site-nav.is-mobile li.is-active > a {
    background: #f2f2f2;
  }

  nav[role="navigation"] .site-nav.is-mobile li ul {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
  }

  #main.content-column {
    display: block;
    float: none;
    width: 100%;
  }
}

@media only screen and (max-width: 640px) {
  #site-title {
    font-size: 3rem;
    line-height: 3.6rem;
  }

  .content-title {
    font-size: 3.4rem;
    line-height: 3.8rem;
  }
}

@media only screen and (max-width: 479px) {
  body.home #post-grid .post-card {
    width: 100%;
  }

  #site-title {
    font-size: 2.8rem;
    line-height: 3.4rem;
  }

  body.page .content-title,
  body.single .content-title,
  .not-found .content-title {
    font-size: 3.2rem;
    line-height: 3.6rem;
  }
}

@media print {
  *,
  *::before,
  *::after {
    color: #222 !important;
    text-shadow: none !important;
    background: transparent !important;
  }

  a,
  a:visited {
    color: #222 !important;
    text-decoration: underline;
  }

  a::after {
    content: " (" attr(href) ")";
  }

  .screen-reader-text {
    display: none;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  @page {
    margin: 0.5cm;
  }
}
