/*-- -------------------------- */
/*        Blog Post Page        */
/*-- -------------------------- */
/* Mobile First */
@media only screen and (min-width: 0em) {
  .single-post {
    width: 92%;
    max-width: 60em;
    margin: 6em auto 8em;
    color: var(--primaryDark);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*-- -------------------------- */
    /*     Back to Blog Button      */
    /*-- -------------------------- */
  }
  .single-post .post-title {
    font-size: 2.25em;
    font-weight: 800;
    color: var(--primaryDark);
    margin-bottom: 0.4em;
    line-height: 1.2;
    text-align: left;
  }
  .single-post .post-date {
    font-size: 0.9375em;
    color: #5e6a75;
    margin-bottom: 1.5em;
    font-weight: 600;
    text-align: left;
  }
  .single-post .post-date time {
    font-weight: 700;
    color: var(--primaryDark);
  }
  .single-post .featured-media {
    width: 100%;
    margin: 0 0 2em;
    display: block;
    border-radius: 0.5em;
    overflow: hidden;
    box-shadow: 0 0.375em 1.25em rgba(0, 0, 0, 0.08);
  }
  .single-post .featured-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5em;
  }
  .single-post .post-description {
    font-size: 1.25em;
    color: var(--primaryDark);
    font-weight: 700;
    margin: 0 0 1.5em;
    text-align: left;
    line-height: 1.5;
  }
  .single-post .post-body {
    font-size: 1.125em;
    line-height: 1.75;
    color: var(--primaryShade);
    text-align: left;
    width: 100%;
  }
  .single-post .post-body p {
    margin: 0 0 1.5em;
  }
  .single-post .post-body h2,
  .single-post .post-body h3,
  .single-post .post-body h4 {
    color: var(--primaryDark);
    font-weight: 700;
    margin: 1.5em 0 0.75em;
  }
  .single-post .post-body img {
    width: 100%;
    border-radius: 0.5em;
    margin: 2em 0;
  }
  .single-post .post-body a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  .single-post .post-body a:hover {
    color: var(--primaryDark);
  }
  .single-post .post-body ul,
  .single-post .post-body ol {
    margin: 1em 2em;
  }
  .single-post .back-to-blog {
    margin-top: 3em;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .single-post .back-to-blog .back-btn {
    display: inline-block;
    background-color: var(--primary);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    padding: 0.75em 1.5em;
    border-radius: 0.5em;
    transition: all 0.3s ease;
    font-size: 1em;
    box-shadow: 0 0.25em 0.625em rgba(0, 0, 0, 0.08);
    /* force all link states to be styled the same */
  }
  .single-post .back-to-blog .back-btn:link,
  .single-post .back-to-blog .back-btn:visited,
  .single-post .back-to-blog .back-btn:active {
    color: #fff !important;
    text-decoration: none !important;
  }
  .single-post .back-to-blog .back-btn:hover {
    background-color: var(--primaryDark);
    transform: translateY(-0.125em);
    box-shadow: 0 0.375em 0.875em rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
    color: #fff !important;
  }
}
/* Tablet */
@media only screen and (min-width: 48em) {
  .single-post {
    margin: 8em auto;
    max-width: 65em;
  }
  .single-post .post-title {
    font-size: 2.75em;
  }
  .single-post .post-description {
    font-size: 1.375em;
  }
  .single-post .post-body {
    font-size: 1.1875em;
  }
  .single-post .back-to-blog {
    justify-content: flex-start;
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  .single-post {
    max-width: 70em;
  }
  .single-post .post-title {
    font-size: 3.25em;
  }
  .single-post .post-description {
    font-size: 1.5em;
  }
  .single-post .post-body {
    font-size: 1.25em;
    line-height: 1.85;
  }
}
