p {
  margin: 0 0 10 0;
  padding: 0;
  line-height: 1;
}

#blog-post {
  padding: 1em;
  font-size: 16px;
  line-height: 1.85;
}

#blog-post img {
  width: 100%;
  height: auto;
}

#blog-post #toc {
  display: flex;
  flex-direction: column;
  margin-bottom: 2em;
}

#blog-post #toc * {
  margin-bottom: 0.25em;
}

#toc :first-child {
  font-size: 20px;
  padding-bottom: 0.25em;
}

time {
  font-weight: 700;
}

.publish-date {
  text-align: center;
  padding-bottom: 1em;
  margin-top: 0;
}

#article-list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
}

#article-list > * {
  margin-right: 1em;
  margin-bottom: 1em;
}

#article-list .article-card {
  position: relative;
  width: 400px;
  height: 225px;
}

.article-card-hiring {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 1em;
  box-sizing: border-box;

  border: 1px solid rgba(255, 255, 255, 0.3);
}

.article-card-hiring p {
  line-height: 1.5;
}

#article-list .article-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  width: 100%;
  height: 100%;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #252525;
    opacity: 0.7;
    border: 1px solid rgba(255, 255, 255, 0.3);
  }
}

#article-list a:hover .article-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  width: 100%;
  height: 100%;

  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: #252525;
    opacity: 0.4;
    border: 1px solid rgba(255, 255, 255, 0.5);
  }
}

#article-list .article-card-fg {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 0.75em;
  color: #fff;
  text-align: left;
}

#article-list .article-card-title {
  font-size: 1.75em;
  line-height: 1;
  font-weight: 700;
  margin-bottom: 0.25em;
}

#article-list .article-card-date {
  font-size: 1em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 700px) {
  #blog-post {
    padding-left: 3em;
    padding-right: 3em;
  }
}

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

    a,
    a:visited {
      text-decoration: underline;
    }

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

    abbr[title]:after {
      content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
      content: "";
    }

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

    thead {
      display: table-header-group;
    }

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

    img {
      max-width: 100% !important;
    }

    p,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }

    h2,
    h3 {
      page-break-after: avoid;
    }
  }

  p,
  .splendor-p {
    font-size: 1rem;
    margin-bottom: 1.3rem;
  }

  h1,
  .splendor-h1,
  h2,
  .splendor-h2,
  h3,
  .splendor-h3,
  h4,
  .splendor-h4 {
    margin: 0 0 0.5rem;
    font-weight: inherit;
    line-height: 1.42;
  }

  h1,
  .splendor-h1 {
    text-align: center;
    margin-top: 0;
    font-size: 2.1rem;
    font-weight: 600;
    letter-spacing: -0.1rem;
  }

  h2,
  .splendor-h2 {
    font-size: 1.5rem;
  }

  h3,
  .splendor-h3 {
    font-size: 1.999rem;
  }

  h4,
  .splendor-h4 {
    font-size: 1.414rem;
  }

  h5,
  .splendor-h5 {
    font-size: 1.121rem;
  }

  h6,
  .splendor-h6 {
    font-size: 0.88rem;
  }

  small,
  .splendor-small {
    font-size: 0.707em;
  }

  /* https://github.com/mrmrs/fluidity */

  img,
  canvas,
  iframe,
  video,
  svg,
  select,
  textarea {
    max-width: 100%;
  }

  @import url(http://fonts.googleapis.com/css?family=Merriweather:300italic,300);

  html {
    font-size: 18px;
    max-width: 100%;
  }

  body {
    color: #fff;
    font-family: "Merriweather", Georgia, serif;
    margin: 0;
    max-width: 100%;
  }

  p {
    color: #e7e7e7;
    height: auto;
    line-height: 1.45;
  }

  pre,
  code {
    font-family: Menlo, Monaco, "Courier New", monospace;
  }

  pre {
    background-color: #fafafa;
    font-size: 0.8rem;
    overflow-x: scroll;
    padding: 1.125em;
  }

  a,
  a:visited {
    color: #3498db;
  }

  a:hover,
  a:focus,
  a:active {
    color: #2980b9;
  }
}
