/*-- -------------------------- */
/*          Single Post         */
/*-- -------------------------- */
/* Mobile */
@media only screen and (min-width: 0em) {
  .single-post {
    width: 92%;
    max-width: 53.75em;
    margin: 0 auto;
    padding: 8.75em 0 6.25em 0;
    color: var(--primaryShade);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*-- -------------------------- */
    /*     Back to Blog Button      */
    /*-- -------------------------- */
  }
  .single-post .post-title {
    font-size: 2.5em;
    line-height: 1.15;
    font-weight: 800;
    color: var(--primaryDark);
    margin: 0 0 0.5em 0;
    letter-spacing: -0.01em;
    text-align: left;
    width: 100%;
  }
  .single-post .post-date {
    width: 100%;
    margin: 0 0 1.5em 0;
    font-size: 0.9375em;
    color: #6b7280;
    text-align: left;
  }
  .single-post .post-date time {
    color: var(--primaryDark);
    font-weight: 600;
  }
  .single-post .featured-media {
    width: 100%;
    margin: 0 0 1.75em 0;
    border-radius: 0.75em;
    overflow: hidden;
    box-shadow: 0 0.5em 1.5em rgba(0, 0, 0, 0.08);
  }
  .single-post .featured-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.77777778;
    object-fit: cover;
    display: block;
  }
  .single-post .post-description {
    width: 100%;
    font-size: 1.125em;
    line-height: 1.75em;
    color: var(--primaryShade);
    margin: 0 0 1.75em 0;
    text-align: left;
  }
  .single-post .post-body {
    width: 100%;
    font-size: 1.125em;
    line-height: 1.875em;
    text-align: left;
  }
  .single-post .post-body h2,
  .single-post .post-body h3,
  .single-post .post-body h4 {
    color: var(--primaryDark);
    margin: 2.25em 0 0.75em 0;
    font-weight: 800;
    line-height: 1.25;
  }
  .single-post .post-body p {
    margin: 0 0 1.375em 0;
    margin-top: 1.5em;
  }
  .single-post .post-body a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.3s ease;
  }
  .single-post .post-body a:hover {
    color: var(--primaryDark);
  }
  .single-post .post-body img {
    width: 100%;
    height: auto;
    border-radius: 0.5em;
    margin: 1.5em 0;
    box-shadow: 0 0.25em 1em rgba(0, 0, 0, 0.08);
  }
  .single-post .post-body blockquote {
    border-left: 0.25em solid var(--primary);
    padding-left: 1.125em;
    margin: 1.625em 0;
    font-style: italic;
    color: var(--primaryDark);
    background-color: rgba(1, 87, 155, 0.05);
  }
  .single-post .post-body ul,
  .single-post .post-body ol {
    margin: 0 0 1.375em 1.375em;
  }
  .single-post .post-body strong {
    color: var(--primaryDark);
  }
  .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 {
    padding-top: 10em;
  }
  .single-post .post-title {
    font-size: 3.25em;
  }
  .single-post .post-description {
    font-size: 1.25em;
    line-height: 2em;
  }
  .single-post .post-body {
    font-size: 1.1875em;
    line-height: 2em;
  }
  .single-post .back-to-blog {
    justify-content: flex-start;
  }
}
/* Desktop */
@media only screen and (min-width: 64em) {
  .single-post {
    max-width: 60em;
  }
  .single-post .post-title {
    font-size: 4em;
  }
  .single-post .post-description {
    font-size: 1.375em;
    line-height: 2.125em;
  }
  .single-post .post-body {
    font-size: 1.25em;
    line-height: 2.125em;
  }
}
