/* =============================================================
   DEPLOY TARGET: RAW FILE UPLOAD — NOT a Fluent Snippet.
   Upload to: wp-content/uploads/sgc-custom-files/CSS/single-post.css
   Enqueued by enqueue-assets.php (an mu-plugin), handle
   'sgc-single-post'.
   ============================================================= */
/* ============================================================
   SINGLE POST STYLING
   Matches seangagne-site-wide.css system
   ============================================================ */


/* ------------------------------------------------------------
   1. FEATURED IMAGE
   ------------------------------------------------------------ */

.single-post .ast-single-post-featured-section {
  max-width: var(--sg-max);
  margin: 0 auto var(--space-xl);
  padding: 0 1rem;
}

.single-post .ast-single-post-featured-section img {
  width: 100%;
  max-width: var(--sg-max);
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--sg-radius);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}


/* Hide duplicate Astra featured image output */
.single-post > img.wp-post-image,
.single-post .site-main > img.wp-post-image {
  display: none;
}


/* ------------------------------------------------------------
   2. POST WRAPPER
   ------------------------------------------------------------ */

.single-post .site-main {
  max-width: var(--sg-max);
  margin: 0 auto var(--space-3xl);
  padding: 0 1rem;
}


/* ------------------------------------------------------------
   3. POST TITLE
   ------------------------------------------------------------ */

.single-post .entry-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--sg-text);
  max-width: var(--sg-max);
  margin: 0 auto var(--space-lg);
  padding: 0 1rem;
  text-align: center;
}


/* ------------------------------------------------------------
   4. POST META
   Centered with the title (2026-08-09) — matches the eyebrow/H2/
   lead centering added to seangagne-site-wide.css. Body paragraphs
   and in-article h2-h4 below stay left-aligned as normal prose.
   ------------------------------------------------------------ */

.single-post .entry-meta {
  max-width: var(--sg-max);
  margin: 0 auto var(--space-xl);
  padding: 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sg-text-muted);
  text-align: center;
}


/* ------------------------------------------------------------
   5. CONTENT WRAPPER
   ------------------------------------------------------------ */

.single-post .entry-content {
  max-width: var(--sg-max);
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}


/* ------------------------------------------------------------
   6. PARAGRAPHS
   ------------------------------------------------------------ */

.single-post .entry-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sg-text-mid);
  margin: 0 0 1.2rem;
  max-width: var(--sg-max);
}


/* ------------------------------------------------------------
   7. HEADINGS
   ------------------------------------------------------------ */

.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
  line-height: 1.2;
  color: var(--sg-text);
  letter-spacing: normal;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  max-width: var(--sg-max);
}

.single-post .entry-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
}

.single-post .entry-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.single-post .entry-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
}


/* ------------------------------------------------------------
   8. LISTS
   ------------------------------------------------------------ */

.single-post .entry-content ul,
.single-post .entry-content ol {
  margin: 0 0 var(--space-lg);
  padding-left: 1.5rem;
  max-width: var(--sg-max);
}

.single-post .entry-content li {
  color: var(--sg-text-mid);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}


/* ------------------------------------------------------------
   9. LINKS INSIDE POSTS
   ------------------------------------------------------------ */

.single-post .entry-content a {
  color: var(--sg-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: transparent;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.single-post .entry-content a:hover {
  color: var(--sg-teal);
  text-decoration-color: var(--sg-teal);
}


/* ------------------------------------------------------------
   10. BLOCKQUOTE
   ------------------------------------------------------------ */

.single-post .entry-content blockquote {
  margin: var(--space-xl) 0;
  padding: 24px 28px;
  border-left: 3px solid var(--sg-teal);
  border-radius: var(--sg-radius);
  background: #f7f8fa;
  color: var(--sg-text-mid);
  max-width: var(--sg-max);
}


/* ------------------------------------------------------------
   11. IMAGES INSIDE CONTENT
   ------------------------------------------------------------ */

.single-post .entry-content img {
  width: 100%;
  height: auto;
  border-radius: var(--sg-radius);
  margin: var(--space-xl) 0;
}


/* ------------------------------------------------------------
   12. SEPARATORS
   ------------------------------------------------------------ */

.single-post .entry-content hr {
  border: 0;
  border-top: 1px solid #e8ecf0;
  margin: var(--space-2xl) 0;
  max-width: var(--sg-max);
}


/* ------------------------------------------------------------
   13. RESPONSIVE
   ------------------------------------------------------------ */

@media (max-width: 768px) {
  .single-post .entry-title {
    font-size: clamp(1.8rem, 7vw, 2.3rem);
  }

  .single-post .entry-content p {
    line-height: 1.75;
  }

  .single-post .entry-content h2 {
    font-size: 1.5rem;
  }

  .single-post .entry-content h3 {
    font-size: 1.2rem;
  }
}
