/* The blog (/blog/, /blog/<year>/<slug>/) and the author pages (/authors/<key>/).
   Linked by those pages' frontmatter page_css: after main.css. The post text reuses
   the course pages' .course-content typography and layout (main.css); the presenter
   name link lives in main.css, since course pages show it too. */

/* date · author line */
.blog-meta {
  margin: 0 0 12px;
  font-family: "ProximaNovaLight", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #606c6f;
}

.blog-meta a,
.blog-meta a:visited {
  color: #1bbabc;
  text-decoration: none;
}

.blog-meta a:hover {
  text-decoration: underline;
}

.blog-meta__sep {
  margin: 0 8px;
}

/* Give the article and its preview the same line length. */
.blog-column {
  max-width: 900px;
  margin-inline: auto;
  padding-inline: 20px;
}

.blog__list {
  margin-bottom: 60px;
}

.blog-card {
  padding: 32px 0 12px;
  border-bottom: 1px solid #e3e9ec;
}

.blog-card:last-child {
  border-bottom: 0;
}

.blog-entry-title {
  margin-bottom: 10px;
  padding: 0;
}

.blog-card .blog-entry-title {
  margin-top: 0;
  text-align: left;
}

.blog-entry-title a {
  color: inherit;
  text-decoration: none;
}

.blog-entry-title a:hover {
  text-decoration: underline;
}

.blog-post__meta {
  text-align: center;
  margin-bottom: 36px;
}

.blog-post__author {
  display: flow-root;
  border-top: 1px solid #e0e3e5;
  padding-top: 24px;
}

.blog-post__author .presenter__photo {
  float: left;
  width: clamp(72px, 12vw, 100px);
  margin: 0 20px 8px 0;
}

.blog-post__author .presenter__name {
  display: block;
  width: auto;
  margin: 0 0 8px;
  padding: 0;
}

.blog-post__author .presenter__name br {
  display: none;
}

.blog-post__author p {
  width: auto;
  margin: 0 0 8px;
}

.blog-post__back {
  margin: 30px 0 0;
  font-size: 16px;
}

.blog-post__back a,
.blog-post__back a:visited {
  color: #1bbabc;
  text-decoration: none;
}

.blog-course {
  margin-block: 32px;
}

.blog-course .blog-course__heading {
  margin: 0;
  padding: 12px 20px;
  border-left: 5px solid #1bbabc;
  background: #e9f6f6;
  color: #174e50;
  font: clamp(24px, 3vw, 32px)/1.2 "ProximaNovaBold", Helvetica, Arial, sans-serif;
}

.blog-course .trainings__inner {
  padding-top: 24px;
  padding-inline: 0;
}

.blog-course .trainings__unit {
  display: flow-root;
}

/* an author's page */
.blog-author__about {
  max-width: 760px;
  margin: 0 auto 30px;
  padding: 0 15px;
}

/* the photo beside the bio; the name is the page heading already */
.blog-author__about::after {
  content: "";
  display: table;
  clear: both;
}

.blog-author__about .presenter__photo {
  float: left;
  width: 160px;
  margin: 0 28px 10px 0;
}

.blog-author__about .presenter__name {
  display: none;
}

.blog-author__about p {
  width: auto;
  margin: 0 0 12px;
  font-size: 18px;
}

/* the bold lead paragraph a post starts with */
.blog-prose > p:first-child > strong:only-child {
  font-family: "ProximaNovaReg", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1.1em;
  color: #333;
}

.blog-author__section {
  margin: 40px 0 20px;
  font-family: "ProximaNovaLight", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 32px;
  text-align: center;
}

.blog-author__posts {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 15px;
  list-style: none;
}

.blog-author__posts li {
  padding: 14px 0;
  border-bottom: 1px solid #e3e9ec;
}

.blog-author__posts a,
.blog-author__posts a:visited {
  display: block;
  margin-bottom: 4px;
  font-family: "ProximaNovaReg", Helvetica, Arial, sans-serif;
  font-size: 21px;
  line-height: 1.35;
  color: #333;
  text-decoration: none;
}

.blog-author__posts a:hover {
  color: #1bbabc;
}

.blog-author__posts .blog-meta {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .blog-column {
    padding-inline: 15px;
  }

  .blog-author__about .presenter__photo {
    width: 110px;
    margin-right: 18px;
  }
}
