.blog {
  color: #3e3e3e;
}

/* --- Blog post list --- */

.blog-header h1 {
  margin-top: 45px;
  margin-bottom: 0;
}

.blog-header h3 {
  font-style: italic;
  font-size: 1em;
  margin-bottom: 0;
}

.blog-entry {
  margin: 60px 0;
}

.blog-entry > a {
  display: flex;
  align-items: center;
  outline: none;
  flex-direction: row-reverse;
}

.blog-entry > a:hover,
.blog-entry > a:focus {
  text-decoration: none;
}

.blog-entry-img {
  flex: 1.25;
  overflow: hidden;
}

.blog-entry-img img {
  transition: transform 0.25s ease;
}

.blog-entry > a:hover .blog-entry-img img {
  transform: scale(1.2);
}

.blog-entry-excerpt {
  flex: 1;
  background-color: white;
  margin-left: 0;
  margin-right: -400px;
  padding: 20px;
  border-left: 5px solid #d60f2a;
  z-index: 1;
}

.blog-entry-excerpt h2 {
  margin-top: 0;
  color: #d60f2a;
}

.blog-entry-excerpt a {
  color: #d60f2a;
}

.no-posts {
  margin: 60px 0;
}

/* --- Individual post page --- */

.blog-post {
}

.blog-post-header {
  margin-top: -10px;
  display: flex;
  align-items: center;
}

.blog-post-image {
  flex: 1.5;
}

.blog-post-image img {
  width: 100%;
}

.blog-post-title {
  flex: 1;
  background-color: white;
  margin-left: -500px;
  padding: 0 30px;
}

.blog-post-title h1,
.blog-post-title h2 {
  margin: 30px 0;
}

.blog-post-title h1 {
  color: #d60f2a;
}

.blog-post-title h2 {
  font-style: italic;
}

.stitch {
  display: block;
  width: 80px;
  height: 2px;
  background-color: #d60f2a;
  margin-bottom: 90px;
}

.blog-post-body {
  margin-top: 120px;
}

.blog-post-body .content::first-letter {
  color: #d60f2a;
  font-size: 150%;
}

.blog-post-body .row img {
  display: block;
  width: auto;
  margin: 15px auto;
  max-width: 100%;
}

.blog-post-body .content p {
  margin-bottom: 1.5em;
}

.pagination {
  margin: 20px auto;
  display: block;
  text-align: center;
}

.pagination a {
  padding: 10px 15px;
  background: white;
  border: 1px solid #d60f2a;
  color: #d60f2a;
  transition: background 0.25s ease, color 0.25s ease;
}

.pagination a:hover,
.pagination a.selected {
  background: #d60f2a;
  color: white;
}

/* Media queries */

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* --- Blog post list --- */

  .blog-entry > a {
    flex-direction: column;
  }
  .blog-entry-img {
    flex: 1;
    width: 100%;
  }
  .blog-entry-excerpt {
    width: 100%;
    border-left: none;
    border-top: 5px solid #d60f2a;
    padding: 10px 0;
    margin-left: 0;
    margin-right: 0;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  /* --- Blog post list --- */

  .blog-header h1 {
    margin-top: 0;
  }
  .blog-entry {
    margin: 30px 0;
  }

  /* --- Individual post page --- */

  .blog-post-header {
    margin-top: -40px;
    flex-direction: column;
  }
  .blog-post-title {
    margin-left: 0;
    padding: 0 15px;
  }
  .blog-post-body {
    margin-top: 30px;
  }
  .stitch {
    margin-bottom: 30px;
  }
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}
