/* ==========================================================================
   Blog Single Post — Rustic lodge styling
   Scoped to: .single-post .entry-content / .wp-block-post-content
   ========================================================================== */

/* Scope alias — Twenty Twenty-Five uses .wp-block-post-content,
   classic themes use .entry-content. Both targeted below. */

/* ── Base typography ── */

.single-post .wp-block-post-title {
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #2C2418;
}

.single-post .wp-block-post-date {
  font-size: 0.85rem;
  color: #8B6F47;
}

.single-post .wp-block-post-content {
  font-family: 'Source Sans 3', 'Source Sans Pro', -apple-system, sans-serif;
  font-size: 1.1rem;
  line-height: 1.85;
  color: #3C2415;
}

/* ── Headings ── */

.single-post .wp-block-post-content h2 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: -0.01em;
  color: #2C2418;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(139, 111, 71, 0.1);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.single-post .wp-block-post-content h2::before {
  content: '';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: center / contain no-repeat;
  opacity: 0.4;
}

.single-post .wp-block-post-content h2:nth-of-type(4n+1)::before { background-image: url('../icons/campfire.png'); }
.single-post .wp-block-post-content h2:nth-of-type(4n+2)::before { background-image: url('../icons/horseshoe.png'); }
.single-post .wp-block-post-content h2:nth-of-type(4n+3)::before { background-image: url('../icons/rope.webp'); }
.single-post .wp-block-post-content h2:nth-of-type(4n+4)::before { background-image: url('../icons/tent.png'); }

.single-post .wp-block-post-content h3 {
  font-family: 'Lora', Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
  color: #3C2415;
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
}

/* ── Drop cap — smaller, tighter ── */

.single-post .wp-block-post-content > p:first-of-type::first-letter {
  font-family: 'Lora', Georgia, serif;
  font-size: 2.5em;
  float: left;
  line-height: 1;
  margin: 0 0.08em 0 0;
  color: #B66C48;
}

/* ── Links ── */

.single-post .wp-block-post-content a {
  color: #B66C48;
  text-decoration: none;
  border-bottom: 1px solid rgba(182, 108, 72, 0.25);
  transition: border-color 0.2s ease;
}

.single-post .wp-block-post-content a:hover {
  border-color: #B66C48;
}

/* ── Blockquotes ── */

.single-post .wp-block-post-content blockquote {
  border-left: 3px solid #B66C48;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: rgba(237, 229, 216, 0.25);
  border-radius: 0 4px 4px 0;
  font-style: italic;
  color: #5A5044;
}

/* ── Lists — horseshoe bullet ── */

.single-post .wp-block-post-content > ul {
  list-style: none;
  padding-left: 0;
}

.single-post .wp-block-post-content > ul > li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.single-post .wp-block-post-content > ul > li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 14px;
  height: 14px;
  background: url('../icons/horseshoe.png') center / contain no-repeat;
  opacity: 0.35;
}

/* ── Images ── */

.single-post .wp-block-post-content img {
  border-radius: 4px;
}

.single-post .wp-block-post-content figure {
  margin: 2rem 0;
}

.single-post .wp-block-post-content figcaption {
  font-size: 0.85rem;
  color: #8B6F47;
  text-align: center;
  margin-top: 0.5rem;
  font-style: italic;
}

/* ── Hide post navigation (previous/next article) ── */

.single-post .wp-block-post-navigation-link {
  display: none;
}

/* ── End divider ── */

.single-post .wp-block-post-content::after {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  margin: 3rem auto 0;
  background: url('../icons/campfire.png') center / contain no-repeat;
  opacity: 0.2;
}

/* ── Mobile ── */

@media (max-width: 768px) {
  .single-post .wp-block-post-content,
  .single-post .wp-block-post-title,
  .single-post .wp-block-post-date,
  .single-post .wp-block-post-terms {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .single-post .wp-block-post-featured-image {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  .single-post .wp-block-post-featured-image img {
    width: 100%;
    border-radius: 4px;
  }

  .single-post .wp-block-post-title {
    font-size: clamp(1.5rem, 6vw, 2.25rem);
  }

  .single-post .wp-block-post-content h2 {
    font-size: 1.35rem;
    margin-top: 2rem;
  }

  .single-post .wp-block-post-content h2::before {
    width: 20px;
    height: 20px;
  }

  .single-post .wp-block-post-content img {
    border-radius: 0;
  }

  .single-post .wp-block-post-content > p:first-of-type::first-letter {
    font-size: 2.25em;
  }

  .single-post .wp-block-post-content {
    font-size: 1.05rem;
  }
}
