.banner-post-page {
  padding-top: 210px;
  height: 350px;
  position: relative;
  background-image: url("/wp-content/themes/allinjuries/dist/img/footer-back.svg");
  background-size: cover;
}
.banner-post-page > img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

#breadcrumbs {
  border-top: solid 2px #ADC7C7;
  border-bottom: solid 2px #cfe6e6;
}

a.endcrumb {
  max-width: 300px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  position: relative;
}

.flex-title {
  display: flex;
  height: 90%;
  align-items: center;
}

.author-box {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.25rem;
  margin: 0.5rem;
  background-color: white;
}
.author-box .photo {
  height: 80px;
  width: 80px;
  overflow: hidden;
}
.author-box .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.logged-in article header {
  top: 0;
}

article.post {
  font-size: 18px;
  line-height: 32px;
}
article.post header {
  top: 0;
  position: relative;
  margin: 0;
  padding: 0;
}
article.post header h1:after, article.post header h2:after {
  display: block;
  content: "";
  padding: 3px;
  background-color: #57B0CB;
  margin-top: 0.5em;
}
article.post .byline {
  background-color: #F5F5F5;
  font-family: "myriad-pro", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.5rem;
}
article.post .byline address {
  display: block;
  margin-right: 1rem;
}
article.post .byline a[rel=author] {
  display: flex;
  align-items: center;
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  border-bottom: solid thin #BEF0FF;
}
article.post .byline a[rel=author] span:before {
  content: " by ";
  color: #BEF0FF;
}
article.post .byline a[rel=author] img {
  width: 45px;
  height: 45px;
  margin-right: 0.5rem;
}
article.post .byline a[rel=tag] {
  display: block;
  font-size: 0.75rem;
}
article.post .byline a[rel=tag]:before {
  color: #4EACC6;
  padding-right: 1rem;
}
article.post .byline .date {
  display: block;
  font-size: 0.75rem;
}
article.post .byline .date:before {
  content: " | on";
  color: #BEF0FF;
  padding-right: 1rem;
}
article.post > div > aside {
  display: block;
  border: solid 3px #012941;
}
article.post > div > aside ul {
  list-style: none;
  margin: 0;
  padding: 1.25rem;
}
article.post > div > aside ul li {
  padding-bottom: 1rem;
}
article.post > div > aside ul li:first-child {
  color: #4EACC6;
  border-bottom: none;
  padding-bottom: 0.25rem;
}

@media screen and (min-width: 1024px) {
  article.post {
    font-size: 18px;
    line-height: 32px;
  }
  article.post p {
    font-size: 18px;
    line-height: 32px;
  }
  article.post .byline {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0.5rem;
  }
  article.post .byline address {
    display: flex;
    margin-right: 1rem;
  }
  article.post .byline aside {
    display: flex;
    flex-direction: row;
  }
  article.post .byline a[rel=author] {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
  }
  article.post .byline a[rel=tag] {
    display: flex;
    font-size: 1rem;
  }
  article.post .byline a[rel=tag]:before {
    content: " | in";
    color: #BEF0FF;
    padding-right: 1rem;
  }
  article.post .byline .date {
    display: flex;
    font-size: 1rem;
  }
  article.post .byline .date:before {
    content: " | on";
    color: #BEF0FF;
    padding-right: 1rem;
  }
  article.post > div > aside {
    width: 33%;
    float: left;
    margin: 0 1.5rem 1.5rem 0;
  }
}
ul.related-articles {
  list-style: none;
  margin: 0;
  padding: 1rem;
  font-family: "trajan-pro-3", serif;
  letter-spacing: -1px;
}
.sidebar-title {
  padding: 1.5rem 0.5rem 0 0.5rem;
  margin-top: 3rem;
}
.sidebar-title:before {
  content: " ";
  display: block;
  margin-bottom: 1rem;
  height: 4px;
  border-radius: 2px;
  background-color: #4EACC6;
}

@media screen and (max-width: 1024px) {
  .banner-post-page {
    margin-top: 210px;
    padding-top: 10px;
    height: 250px;
  }
  .post-header {
    padding-top: 90px;
  }
  .post-header h1, .post-header h2 {
    padding-left: 1rem;
  }
}
