/* Single post page. */
.single-post .entry-content {
  --sn-measure: 40rem;
}
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li {
  font-size: 18px;
  line-height: 1.65;
}
.single-post .entry-content p { margin-block: 0 1.15em; }
.single-post .entry-content li { margin-bottom: 0.4em; }

/* Text column: limit text width, not images or blocks */
@media (min-width: 690px) {
  .single-post article .entry-content > p,
  .single-post article .entry-content > h2,
  .single-post article .entry-content > h3,
  .single-post article .entry-content > h4,
  .single-post article .entry-content > ul,
  .single-post article .entry-content > ol,
  .single-post article .entry-content > blockquote,
  .single-post article .entry-content > .wp-block-quote {
    max-width: var(--sn-measure);
    margin-inline: auto;
  }
}

/* Headings */
.single-post .entry-content h2 {
  font-size: 24px; line-height: 1.25; margin: 1.8em 0 0.6em; font-weight: 700;
}
.single-post .entry-content h3 {
  font-size: 21px; line-height: 1.3; margin: 1.6em 0 0.5em; font-weight: 700;
}
.single-post .entry-content h4 { font-size: 18px; margin: 1.4em 0 0.5em; }
.single-post .entry-content > :first-child { margin-top: 0; }
@media (min-width: 1000px) {
  .single-post .entry-content h2 { font-size: 28px; }
  .single-post .entry-content h3 { font-size: 23px; }
}
/* Bold-only paragraphs used as subheadings */
.single-post .entry-content p > strong:only-child {
  display: block; font-size: 1.2em; line-height: 1.3; margin-top: 0.9em;
}

/* Hero meta: drop Blocksy "In" label, the category name already starts with it */
.single-post .hero-section .entry-meta .meta-categories > span:first-child { display: none; }

/* Links in body text */
.single-post .entry-content p a, .single-post .entry-content li a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.single-post .entry-content p a:hover { text-decoration-thickness: 2px; }

/* Quote */
.single-post .entry-content blockquote,
.single-post .entry-content .wp-block-quote {
  margin: 1.8em 0;
  padding: 0.4em 0 0.4em 1.2em;
  border-left: 4px solid #d32f2f;
  border-inline-end: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15em;
  font-style: italic;
  line-height: 1.55;
  color: var(--theme-text-color);
}
.single-post .entry-content blockquote p { font-size: inherit; margin-bottom: 0.5em; }
.single-post .entry-content blockquote cite {
  display: block; font-size: 14px; font-style: normal; opacity: 0.75;
}

/* Images and captions */
.single-post .entry-content figure, .single-post .entry-content .wp-block-image {
  margin: 1.8em 0;
}
.single-post .entry-content img { height: auto; }
.single-post .entry-content figcaption, .single-post .entry-content .wp-element-caption {
  font-size: 14px; line-height: 1.45; margin-top: 0.6em;
  color: var(--theme-text-color); opacity: 0.7;
}

/* Header: title meta */
.single-post .hero-section .entry-meta { font-size: 13px; }
.single-post .hero-section .page-title { line-height: 1.2; text-wrap: balance; }

/* Phone hero: photo first, title below it */
@media (max-width: 689px) {
  .single-post .hero-section[data-type="type-2"] { display: flex; flex-direction: column; min-height: 0 !important; padding: 0; --min-height: 0px; }
  .single-post .hero-section[data-type="type-2"] figure { position: relative !important; inset: auto; order: 0; aspect-ratio: 16/9; overflow: hidden; margin: 0; }
  .single-post .hero-section[data-type="type-2"] figure::after, .single-post .hero-section[data-type="type-2"] figure .ct-media-container::after { content: none; }
  .single-post .hero-section[data-type="type-2"] figure img { width: 100%; height: 100%; object-fit: cover; transform: none !important; }
  .single-post .hero-section[data-type="type-2"] .entry-header { order: 1; position: static; padding: 16px 16px 8px !important; width: 100% !important; max-width: none !important; text-align: left; background: none; box-sizing: border-box; }
  .single-post .hero-section .page-title { color: var(--theme-headings-color, var(--theme-text-color)); text-shadow: none; font-size: 25px; text-align: left; }
  .single-post .hero-section .entry-meta { justify-content: flex-start !important; text-align: left; }
  .single-post .hero-section .entry-meta,
  .single-post .hero-section .entry-meta a,
  .single-post .hero-section .entry-meta li { color: var(--theme-headings-color, var(--theme-palette-color-4)); text-align: left; }
  .single-post article { margin-top: 0; }
}
@media (min-width: 690px) {
  .single-post .hero-section .page-title { font-size: clamp(32px, 3.4vw, 46px); }
  .single-post .hero-section[data-type="type-2"] { min-height: 0 !important; --min-height: 0px; }
  .single-post .hero-section[data-type="type-2"] figure { max-height: none; }
  .single-post .hero-section[data-type="type-2"] .entry-header { padding-block: 120px 60px; }
}
.single-post .ct-share-box { margin-top: 2em; }
.single-post .post-navigation { margin-block: 2em; }

/* Post navigation: show titles on phone */
@media (max-width: 689px) {
  .single-post .post-navigation .item-title.ct-hidden-sm { display: -webkit-box !important; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; line-height: 1.35; margin-top: 4px; }
  .single-post .post-navigation .item-label span { display: inline; }
  .single-post .post-navigation { grid-template-columns: 1fr; row-gap: 16px; }
  .single-post .post-navigation::after { display: none; }
  .single-post .post-navigation .nav-item-next:empty { display: none; }
  .single-post .post-navigation figure { display: none; }
  .single-post .post-navigation [class*="nav-item"] { margin: 0; }
  .single-post .post-navigation .nav-item-next { text-align: start; justify-content: flex-start; }
}
