/* 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: shorter, dark gradient under text */
@media (max-width: 689px) {
  .single-post .hero-section[data-type="type-2"] {
    min-height: 0 !important;
    --sn-hero-h: min(62vw, 260px);
  }
  .single-post .hero-section[data-type="type-2"] figure { position: absolute; inset: 0; }
  .single-post .hero-section[data-type="type-2"] figure::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.7) 45%, rgba(0,0,0,0.25) 100%);
  }
  .single-post .hero-section[data-type="type-2"] .entry-header {
    position: relative; z-index: 2;
    padding: 56px 16px 20px;
    margin-top: 0;
  }
  .single-post .hero-section .page-title { font-size: 25px; text-align: left; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.5); }
  .single-post .hero-section .entry-meta { justify-content: flex-start; color: #fff; }
  .single-post .hero-section .entry-meta a, .single-post .hero-section .entry-meta li { color: #fff; }
  .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 .ct-share-box { margin-top: 2em; }
.single-post .post-navigation { margin-block: 2em; }

/* Tighter hero */
@media (max-width: 689px) {
  .single-post .hero-section[data-type="type-2"] .entry-header { padding: 24px 16px 18px; text-align: left; }
  .single-post .hero-section .entry-meta { justify-content: flex-start !important; text-align: left; }
  .single-post .hero-section .entry-meta li { text-align: left; }
}
@media (min-width: 690px) {
  .single-post .hero-section[data-type="type-2"] { min-height: 0 !important; }
  .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; }
}

/* Override Blocksy hero height */
@media (max-width: 689px) {
  .single-post .hero-section[data-type="type-2"] { --min-height: 0px; --sn-x: 0; }
  .single-post .hero-section[data-type="type-2"] .entry-header { width: 100% !important; max-width: none !important; padding: 20px 16px 16px !important; box-sizing: border-box; }
  .single-post .hero-section[data-type="type-2"] { padding-top: 0; }
}
@media (min-width: 690px) {
  .single-post .hero-section[data-type="type-2"] { --min-height: 0px; }
}
