/* ==========================================================================
   Custom properties
   ========================================================================== */

/* Variables for fonts
   ========================================================================== */

:root {
  --font-sns: 'Inter var', sans-serif;
  /* Sans-serif font family */
  --font-srf: 'Libertinus Serif', serif;
  /* Serif font family */
}

/* Variables for colors
   ========================================================================== */

:root {
  --tint-fore: 53, 56, 57;
  --tint-back: 242, 242, 240;
  --tint-link: 216, 98, 91;
}

/* ==========================================================================
   Anchor links
   ========================================================================== */

a,
a:link {
  color: rgb(var(--tint-fore));
  text-decoration: underline solid;
}

a:visited {
  color: inherit;
}

a:hover,
a:focus {
  color: rgb(var(--tint-link));
}

a:active {
  color: rgba(var(--tint-link), 0.8);
}


/* ==========================================================================
   Checked styles
   ========================================================================== */

/* Elements
   ========================================================================== */

body {
  font-family: var(--font-sns);
  margin: 0;
  padding: 0;
  font-feature-settings: "liga", "dlig";
}

code,
pre {
  font-size: 14px;
  border-radius: 5px;
  background-color: rgb(var(--tint-fore));
  color: rgb(var(--tint-back));
}

code {
  padding: 1px 5px;
}

pre {
  padding: 14px;
  overflow-x: auto;
}

pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/* Classes
   ========================================================================== */

.logo-readium {
  position: fixed;
  left: 12px;
  top: 12px;
  width: 64px;
  height: 64px;
  background-color: transparent;
  overflow: hidden;
  z-index: 99;
}

.logo-readium .logo,
.blog-header .blog-logo,
.post .bottom-teaser .isLeft .author-image {
  position: absolute;
  background-size: cover;
  border-radius: 50%;
  border: 3px solid rgb(var(--tint-back));
  background-color: rgb(var(--tint-back));
  box-shadow: 0 1px 1px rgba(var(--tint-fore), 0.4);
}

.logo-readium .logo {
  display: block;
  top: 8px;
  left: 8px;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
}

.teaserimage {
  height: 450px;
  position: relative;
  overflow: hidden;
  background-color: rgb(var(--tint-fore));
}

.teaserimage .teaserimage-image {
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  text-indent: -9999px;
}

.blog-header {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .blog-header {
    padding: 0 16px;
  }
}

.blog-header .blog-logo {
  width: 120px;
  height: 120px;
  top: -60px;
  right: 50%;
  margin-right: -60px;
  z-index: 99;
  text-indent: -9999px;
}

.blog-header .blog-title {
  margin: 0;
  padding: 84px 16px 8px;
  font-size: 50px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -2px;
  outline: 0;
  line-height: 50px;
  word-break: break-word;
  color: rgb(var(--tint-fore));
}

.blog-header .blog-description {
  margin: 0 0 20px;
  padding: 0 32px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(var(--tint-fore), 0.8);
  text-align: center;
  font-weight: 400;
}

.blog-header .custom-links {
  line-height: 1.5rem;
  color: rgba(var(--tint-fore), 0.6);
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.blog-header .custom-links .fa {
  font-size: 1.5rem;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.content {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .content {
    padding: 0 32px;
  }
}

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

.content article {
  padding: 40px 0;
  border-bottom: 1px solid rgba(var(--tint-fore), 0.4);
}

.content article:first-child {
  padding-top: 24px;
}

.content article:last-child {
  border-bottom: 0px;
}

.content article .post-title {
  color: rgb(var(--tint-fore));
  letter-spacing: -0.02em;
  font-weight: 700;
  font-style: normal;
  display: block;
  font-size: 28px;
  line-height: 1.1;
  margin: 0 0;
}

.content article .post-excerpt {
  color: rgba(var(--tint-fore), 0.8);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.012em;
  line-height: 22px;
}

.content article .post-meta {
  font-size: 14px;
  color: rgba(var(--tint-fore), 0.6);
  letter-spacing: -0.006em;
  line-height: 1.4em;
}

.content div.featured {
  padding: 16px;
  margin-bottom: 64px;
  background-color: rgba(var(--tint-link), 0.5);
}

.content div.featured a,
.content div.featured a:link {
  color: rgb(var(--tint-fore));
}

.content div.featured a:hover,
.content div.featured a:focus,
.content div.featured a:active {
  color: rgba(var(--tint-fore), 0.8);
}

.site-footer {
  margin: 0 auto;
  padding: 48px 0;
  width: 100%;
  max-width: 640px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  color: rgba(var(--tint-fore), 0.6);
  line-height: 17px;
}

.post .article-image {
  position: absolute;
  background-color: rgb(var(--tint-fore));
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
}

.post .article-image .fa-angle-down {
  font-size: 64px;
  margin: 64px auto 0;
  color: rgb(var(--tint-back));
}

.post .article-image .fa-angle-down:hover {
  color: rgba(var(--tint-back), 0.8);
}

.post .article-image .post-image-image {
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: -9999px;
  padding-top: 33%;
  z-index: 1;
}

.post .article-image .post-meta {
  position: absolute;
  bottom: 80px;
  left: 30%;
  right: 30%;
  z-index: 9;
  font-family: var(--font-sns);
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .post .article-image .post-meta {
    left: 16px;
    right: 16px;
  }
}

.post .article-image .post-meta-text a {
  color: rgb(var(--tint-back));
}

.post .article-image .post-meta-text a:hover {
  color: rgba(var(--tint-back), 0.8);
}

.post .article-image .post-title {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  font-size: 50px;
  line-height: 1.1;
  color: rgb(var(--tint-back));
  margin-bottom: 16px;
}

.post .article-image .post-meta-text {
  letter-spacing: -0.02em;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  overflow: hidden;
  font-family: var(--font-sns);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.post .article-image .post-meta-text {
  color: rgb(var(--tint-back));
}

.post .article-image .author-image,
.post .noarticleimage .author-image {
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin-right: 8px;
  margin-bottom: -10px;
  float: left;
  background-size: cover;
  border-radius: 100%;
  text-indent: -9999px;
}

.post .article-image .author-name,
.post .noarticleimage .author-name {
  display: inline;
}

.post .noarticleimage .post-meta {
  font-family: var(--font-sns);
  padding-top: 60px;
}

.post .noarticleimage .post-meta-text {
  color: rgba(var(--tint-fore), 0.6);
}

.post .noarticleimage .post-title {
  font-weight: 700;
  font-style: normal;
  letter-spacing: -0.04em;
  font-size: 50px;
  line-height: 1.1;
  color: rgb(var(--tint-fore));
  margin-bottom: 16px;
}

.post .post-content {
  width: 100%;
  font-family: var(--font-srf);
  color: rgb(var(--tint-fore));
}

.post .post-content blockquote {
  margin: 12px 0 12px -24px;
  border-left: 4px solid rgba(var(--tint-fore), 0.8);
  padding-left: 20px;
  color: rgba(var(--tint-fore), 0.8);
}

.post .post-content blockquote p {
  color: rgba(var(--tint-fore), 0.8);
  letter-spacing: 0.01rem;
  font-weight: 400;
  font-style: italic;
}

.post .post-content figcaption {
  font-family: var(--font-sns);
  font-weight: 400;
  line-height: 1.3;
  color: rgba(var(--tint-fore), 0.8);
  outline: 0;
  z-index: 300;
  text-align: right;
  letter-spacing: -0.02em;
  font-style: normal;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.post .post-content figure {
  margin: 0;
  padding: 0 0 30px;
}

.post .post-content figure img {
  max-width: 100%;
  margin: 0 auto;
}

.post .post-content h1,
.post .post-content h2,
.post .post-content h3,
.post .post-content h4,
.post .post-content h5,
.post .post-content h6 {
  font-family: var(--font-sns);
}

.post .post-content h1,
.post .post-content h2 {
  letter-spacing: -0.02em;
  font-weight: 700;
  font-style: normal;
  font-size: 32px;
  line-height: 1.2;
  padding-top: 31px;
}

.post .post-content h3,
.post .post-content h4,
.post .post-content h5,
.post .post-content h6 {
  letter-spacing: -0.02em;
  font-weight: 700;
  font-style: normal;
  font-size: 24px;
  line-height: 1.3;
}

.post .post-content hr {
  padding: 0;
  display: block;
  width: 50%;
  margin: 24px auto;
  border-top: 1px solid rgba(var(--tint-fore), 0.8);
}

.post .post-content li {
  padding: 0;
  font-style: normal;
  font-size: 22px;
  line-height: 30px;
  margin-left: 24px;
}

.post .post-content ol,
.post .post-content ul {
  padding: 0;
  margin: 12px 0 12px 0;
}

.post .post-content ol li {
  list-style-type: decimal;
}

.post .post-content p {
  font-weight: 400;
  font-style: normal;
  font-size: 22px;
  line-height: 30px;
  margin: 0;
  color: rgb(var(--tint-fore));
  hyphens: auto;
}

.post .post-content p + p {
  padding-top: 1.125em;
}

.post .post-content ul li {
  list-style-type: square;
}

.bottom-closer {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.bottom-closer .background-closer-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-indent: -9999px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.bottom-closer .inner {
  width: 100%;
  position: relative;
  z-index: 99;
  max-width: 640px;
  padding: 120px 0 90px;
  text-align: center;
  margin: 0 auto;
}

.bottom-closer .inner .blog-title {
  margin: 0;
  padding: 0 0 10px;
  font-size: 50px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -2px;
  outline: 0;
  line-height: 50px;
  word-break: break-word;
  color: rgb(var(--tint-back));
}

.bottom-closer .inner .blog-description,
.bottom-closer .inner .blog-title,
.post .article-image .post-meta-text,
.post .article-image .post-title {
  text-shadow: 0 0 0.8em rgba(var(--tint-fore), 0.8), 0.1em 0.1em 0.2em rgb(var(--tint-fore));
}

.bottom-closer .inner .blog-description {
  margin: 0 0 50px;
  padding: 0 32px;
  font-size: 18px;
  line-height: 1.5;
  color: rgb(var(--tint-back));
  text-align: center;
  font-weight: 400;
}

.bottom-closer .inner .btn {
  display: inline-block;
  text-align: center;
  font-style: normal;
  cursor: pointer;
  height: 44px;
  background: rgb(var(--tint-link));
  color: rgb(var(--tint-back));
  vertical-align: middle;
  box-sizing: border-box;
  border-radius: 999em;
  line-height: 44px;
  padding: 0 18px;
}

.post .bottom-teaser {
  color: rgb(var(--tint-fore));
  padding: 50px 0;
  font-family: var(--font-sns);
}

.post .bottom-teaser hr {
  border: 0;
  padding: 0;
  display: block;
  width: 15%;
  margin: 16px 0 16px 100px;
  border: 0px solid rgb(var(--tint-fore));
  border-top: 1px solid rgb(var(--tint-fore));
}

.post .bottom-teaser .isLeft {
  float: left;
  width: 47%;
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .post .bottom-teaser .isLeft {
    width: 100%;
    padding-bottom: 32px;
  }
}

.post .bottom-teaser .isLeft .index-headline {
  padding-bottom: 32px;
}

.post .bottom-teaser .isLeft .author-image {
  display: block;
  width: 80px;
  height: 80px;
  float: left;
  text-indent: -9999px;
}

.post .bottom-teaser .isLeft h4 {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  padding: 0;
  margin: 0;
  padding-left: 100px;
}

.post .bottom-teaser .isLeft p {
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  padding: 0;
  margin: 0;
  padding-left: 100px;
}

.post .bottom-teaser .isLeft p.bio {
  margin-top: .5em;
  font-style: italic;
  color: rgba(var(--tint-fore), 0.8)
}

.post .bottom-teaser .isRight {
  float: right;
  width: 47%;
  box-sizing: border-box;
}

@media only screen and (max-width: 800px) {
  .post .bottom-teaser .isRight {
    width: 100%;
  }
}

.post .bottom-teaser .isRight .index-headline {
  padding-bottom: 32px;
}

.post .bottom-teaser .isRight .site-footer {
  margin: 0;
  padding: 0;
  color: rgb(var(--tint-fore));
  text-align: left;
  font-size: 14px;
  line-height: 1.3;
}

.post .bottom-teaser .isRight .site-footer .poweredby {
  display: block;
  padding-bottom: 18px;
  color: rgb(var(--tint-fore));
  line-height: 1.25rem;
}

.index-headline {
  border-top: 1px solid rgba(var(--tint-fore), 0.4);
  margin: 0;
  padding: 16px 0;
}

.index-headline span {
  color: rgba(var(--tint-fore), 0.6);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.009em;
  font-variant-caps: small-caps;
}

.index-headline.featured span {
  color: rgb(var(--tint-link));
}

/* ==========================================================================
   Styles for specific plugins
   ========================================================================== */

/* Markdown Notices (https://github.com/getgrav/grav-plugin-markdown-notices/)
   ========================================================================== */

.post .post-content .notices {
  margin: 1em 0;
  padding: .5em .5em .5em 1.5em;
}

.post .post-content .notices p {
  font-size: 20px;
  line-height: 1.5em;
  letter-spacing: 0.01rem;
  font-weight: 400;
  font-style: normal;
}

.notices.blue {
  --ntc-blue: 42, 82, 190;
  border-left: 0.5rem solid rgb(var(--ntc-blue));
  background: rgba(var(--ntc-blue), 0.125);
}

.notices.green {
  --ntc-green: 154, 185, 115;
  border-left: 0.5rem solid rgb(var(--ntc-green));
  background: rgba(var(--ntc-green), 0.125);
}

.notices.red {
  --ntc-red: 178, 34, 34;
  border-left: 0.5rem solid rgb(var(--ntc-red));
  background: rgba(var(--ntc-red), 0.125);
}

.notices.yellow {
  --ntc-yellow: 255, 191, 0;
  border-left: 0.5rem solid rgb(var(--ntc-yellow));
  background: rgba(var(--ntc-yellow), 0.125);
}

/* Pagination (https://github.com/getgrav/grav-plugin-pagination/)
   ========================================================================== */

.pagination {
  color: rgba(var(--tint-fore), 0.6);
  font-size: 14px;
  letter-spacing: -0.006em;
  line-height: 1.4em;
  list-style: none;
  margin: 2.8em 0 1.4em;
  padding: 0;
  text-align: center;
}

.pagination a,
.pagination span {
  display: inline-block;
  padding: 0 1em;
}
