/* One shared paragraph gap, including the boundary between CMS text blocks.
   Keep chapter, heading, credit and photograph spacing independent. */
body :is(
 .prose, .mountain-narrative-copy, .opening-prose, .destination-prose,
 .venue-copy, .hotel-copy, .closing-copy, .short-copy,
 .course-introduction, .foreword, .dish-copy,
 .daily-post-text, .daily-story-copy,
 .article-body, .journey-prose, .original-reflection, .field-chapter
){
 --article-paragraph-gap:1.6em;
}

body :is(
 .prose, .mountain-narrative-copy, .opening-prose, .destination-prose,
 .venue-copy, .hotel-copy, .closing-copy, .short-copy,
 .course-introduction, .foreword, .dish-copy,
 .daily-post-text, .daily-story-copy
) p:not(:is(
 .eyebrow, .lead, .byline, .article-credits, .article-credit-date,
 .visit-context, .venue-name, .hotel-name-en, .original-source,
 .data-source, .data-note, .source-note, .short-source, .facility-note
)),
body .venue-copy > p:not(.eyebrow):not(.venue-name),
body .hotel-copy > p:not(.eyebrow):not(.hotel-name-en){
 margin-block:0 var(--article-paragraph-gap);
}

body :is(
 .prose, .mountain-narrative-copy, .opening-prose, .destination-prose,
 .venue-copy, .hotel-copy, .closing-copy,
 .course-introduction, .foreword, .dish-copy
) p:last-child:not(:is(
 .eyebrow, .lead, .byline, .article-credits, .article-credit-date,
 .visit-context, .venue-name, .hotel-name-en, .original-source,
 .data-source, .data-note, .source-note
)){
 margin-bottom:0;
}

/* Separate editable fields must read like consecutive paragraphs. Only
   adjacent text blocks are joined; images and headings retain their space. */
body .prose:has(+ .prose),
body .opening-prose:has(+ .opening-prose),
body .destination-prose:has(+ .destination-prose),
body .mountain-narrative-copy:has(+ .mountain-narrative-copy){
 margin-bottom:var(--article-paragraph-gap);
}
body .prose + .prose,
body .opening-prose + .opening-prose,
body .destination-prose + .destination-prose,
body .mountain-narrative-copy + .mountain-narrative-copy{
 margin-top:0;
}

/* The daily editor adds a wrapper; it must not add a second paragraph gap. */
body .daily-story-prose{margin-block:0}
body .daily-story-copy .daily-story-prose p:last-child{
 margin-bottom:var(--article-paragraph-gap);
}

.prose .prose-subheading{
 margin:0 0 .7em;
 font-size:1.35em;
 font-weight:500;
 line-height:1.65;
}

/* Older journal and mountain templates use direct paragraph children. */
body :is(.article-body, .journey-prose, .original-reflection, .field-chapter) > p{
 margin-block:0 var(--article-paragraph-gap);
}

/* Mobile reading copy forms a straight column. The last line of a paragraph
   stays at the start; labels, credits and photograph captions keep their layout. */
@media(max-width:760px){
 body:is(.immersive-article,.daily-journal,.news-page) :is(
  .prose, .mountain-narrative-copy, .opening-prose, .destination-prose,
  .venue-copy, .hotel-copy, .closing-copy, .short-copy,
  .course-introduction, .foreword, .dish-copy,
  .daily-post-text, .daily-story-copy, .news-body
 ) p:not(:is(
  .eyebrow, .lead, .byline, .article-credits, .article-credit-date,
  .visit-context, .venue-name, .hotel-name-en, .original-source,
  .data-source, .data-note, .source-note, .short-source, .facility-note,
  figcaption p
 )),
 body.immersive-article :is(
  .article-body, .journey-prose, .original-reflection, .field-chapter
 ) > p:not(:is(.eyebrow,.byline,.article-credits,.article-credit-date)){
  text-align:justify;
  text-align-last:start;
  text-justify:inter-character;
 }
}
