/* =========================================================
   ARGUS SINGLE POST - article typography and furniture.

   Enqueued only on is_singular('post'), so none of this ships
   on the 24 pages or the blog index.

   WHY THIS EXISTS: style.css sets heading sizes globally for
   the hand-built landing pages -

       h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }   up to 54px
       h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }   up to 42px

   - which is right for a full-width hero carrying a three-word
   heading, and wrong for an article. These posts run five or six
   h2 section headings inside a ~700px sidebar column, so a
   heading like "Why we have no incentive to push you either way"
   rendered at 42px and wrapped to three lines above a 60-word
   paragraph. The headings were louder than the article.

   Everything below is scoped to .single-post and beats the
   global element rules on specificity (0,1,1 vs 0,0,1) rather
   than on source order, so it cannot be undone by a stylesheet
   load-order change.

   SCALE: h1 2.4rem -> h2 1.6rem -> h3 1.22rem -> body 1.04rem.
   A ~1.5 ratio between levels, which stays legible at the
   column width these posts actually render in.
========================================================= */

/* --- the article container --- */
.single-post .inside-article { padding-top: .5rem; }

/* --- featured image --- */
.single-post .post-image { margin: 0 0 2rem; }
.single-post .post-image img {
  width: 100%; height: auto; display: block;
  border-radius: var(--argus-radius-card, 12px);
  box-shadow: 0 14px 36px rgba(14,26,73,.12);
}

/* --- title --- */
.single-post .entry-header { margin-bottom: 1.5rem; }
.single-post .entry-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  line-height: 1.18;
  margin: 0 0 .9rem;
  color: var(--argus-navy);
}

/* --- date line --- */
.single-post .entry-meta {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: var(--argus-blue);
}
.single-post .entry-meta a { color: inherit; }

/* --- body copy --- */
.single-post .entry-content {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--argus-slate);
}
.single-post .entry-content > p { margin: 0 0 1.35rem; }
.single-post .entry-content > p:last-child { margin-bottom: 0; }
.single-post .entry-content strong { color: var(--argus-navy); }

/* --- section headings ---
   Top margin is deliberately much larger than bottom: a heading belongs to the
   text below it, and equal margins made every section read as one undifferentiated
   block. */
.single-post .entry-content h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  line-height: 1.32;
  color: var(--argus-navy);
  margin: 2.6rem 0 .85rem;
}
.single-post .entry-content h2:first-child { margin-top: 0; }
.single-post .entry-content h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.22rem);
  line-height: 1.38;
  color: var(--argus-navy);
  margin: 2rem 0 .7rem;
}
.single-post .entry-content h4 {
  font-size: 1.05rem; line-height: 1.45; color: var(--argus-navy);
  margin: 1.75rem 0 .6rem;
}

/* A gold rule under each h2 gives the six sections a visible rhythm without
   making the type bigger, which is what was wrong in the first place. */
.single-post .entry-content h2::after {
  content: ""; display: block;
  width: 2.5rem; height: 3px; margin-top: .7rem;
  background: var(--argus-gold); border-radius: 2px;
}

/* --- lists --- */
.single-post .entry-content ul,
.single-post .entry-content ol { margin: 0 0 1.35rem 1.2rem; padding: 0; }
.single-post .entry-content li { margin-bottom: .55rem; line-height: 1.75; }
.single-post .entry-content li:last-child { margin-bottom: 0; }

/* --- links in body copy --- */
.single-post .entry-content a {
  color: var(--argus-navy); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--argus-gold); padding-bottom: 1px;
}
.single-post .entry-content a:hover { color: var(--argus-blue); border-bottom-color: var(--argus-blue); }

/* --- blockquote --- */
.single-post .entry-content blockquote {
  margin: 2rem 0; padding: 1.3rem 1.6rem;
  background: #F7F8FC; border-left: 4px solid var(--argus-gold);
  border-radius: 0 10px 10px 0;
  font-size: 1.02rem; line-height: 1.75; color: var(--argus-navy);
}
.single-post .entry-content blockquote p:last-child { margin-bottom: 0; }

/* --- sidebar: make the two stock widgets look deliberate --- */
.single-post .sidebar .widget,
.blog .sidebar .widget {
  background: #fff; border-radius: var(--argus-radius-card, 12px);
  box-shadow: 0 10px 30px rgba(14,26,73,.07);
  border-top: 4px solid var(--argus-blue);
  padding: 1.5rem 1.4rem; margin-bottom: 1.75rem;
}
.single-post .sidebar .widget .wp-block-heading,
.single-post .sidebar .widget h2 {
  font-size: 1.02rem; line-height: 1.35; margin: 0 0 1rem; color: var(--argus-navy);
}
.single-post .sidebar .wp-block-latest-posts__list { margin: 0; padding: 0; list-style: none; }
.single-post .sidebar .wp-block-latest-posts__list li { margin-bottom: .85rem; line-height: 1.5; }
.single-post .sidebar .wp-block-latest-posts__list li:last-child { margin-bottom: 0; }
.single-post .sidebar .wp-block-latest-posts__list a {
  color: var(--argus-navy); font-weight: 600; font-size: .95rem; text-decoration: none;
}
.single-post .sidebar .wp-block-latest-posts__list a:hover { color: var(--argus-blue); }

/* --- back to the blog --- */
.argus-post-back { margin: 2.5rem 0 0; padding-top: 1.75rem; border-top: 1px solid #E4E8F4; }
.argus-post-back a {
  font-weight: 700; font-size: .95rem; color: var(--argus-navy); text-decoration: none;
  border-bottom: 2px solid var(--argus-gold); padding-bottom: 2px;
}
.argus-post-back a::before { content: "\2190 "; color: var(--argus-blue); font-weight: 700; }
.argus-post-back a:hover { color: var(--argus-blue); border-bottom-color: var(--argus-blue); }

@media (max-width: 768px) {
  .single-post .entry-content h2 { margin-top: 2.1rem; }
  .single-post .post-image { margin-bottom: 1.5rem; }
}
