/* Limits belong to the words. A photo, grid, disclosure or button row can span
   the whole section. A short paragraph can be narrower than any of these caps. */

/* The centred category heroes are the reference for a full-width hero lead.
   The image and available column continue to set the size of the split heroes. */
.grid_split .grid_content .text_wrap:has(> h1) > .p-large {
  max-width: min(100%, 46ch, 44rem);
}

/* The group hero has one left-aligned column for the title and its introduction. */
[data-group-retreats] .text_wrap:has(> h1.accent-text-large) {
  width: min(100%, 63rem);
}
[data-group-retreats] .text_wrap:has(> h1.accent-text-large) > :is(h2, .p-large) {
  width: 100%; max-width: none; padding-inline: 0;
}

/* These ordinary introductions had also inherited the old viewport-sized
   body type on tablets. A ch-based measure uses the font of the paragraph. */
[data-information-page] .section:not(.is-footer) .text_wrap.align-center:where(:not(.quiet-aside-copy)) > .p-large,
[data-returners-intro] .text_wrap > .p-large,
.dharma-intro-reading > .p-large,
.returners-meaning-copy > p,
[id^="your-guides"] .text_wrap.align-center > .p-large,
.expect-journey-header > .p-large,
[data-expect-section="group"] .text_wrap.align-center > .p-large,
[data-expect-section="activities"] .text_wrap > .p-large,
.about-team-intro > .p,
#our-name .text_wrap.align-center > .p-large {
  max-width: var(--al-reading-lead-measure);
  margin-inline: auto;
  text-wrap: pretty;
  font: 300 var(--al-reading-lead-size)/var(--al-reading-leading) Haffer, Arial, sans-serif;
  letter-spacing: normal;
}

/* The venue copy and the short serif line in the programme have their own
   type roles. Their paragraphs can still share the section's reading limit. */
[data-retreat-fit] .grid:first-child .p-large,
[id^="your-stay"] .text_wrap.align-center > .p-large,
.expect-journey-header > .expect-journey-intro {
  max-width: var(--al-reading-lead-measure);
  margin-inline: auto;
  text-wrap: pretty;
}

/* The surrounding venue grid supplies the gutters. Imported percentage padding
   consumed the inside of this capped paragraph, especially on wide screens. */
[id^="your-stay"] .text_wrap.align-center > .p-large.is-your-stay { padding-inline: 0; }

/* The same measure in left-aligned features starts on its own column edge. */
.expect-people-details > p,
.expect-testimonials-intro > .p-large,
.retreat-travel-copy > .p-large {
  max-width: var(--al-reading-lead-measure);
}

/* A genuine card has its own inset. An ordinary column inside an already
   padded page frame gives its width back to the text on a phone. */
@media (max-width: 991px) {
  [data-information-page] .container > .grid > :is(.col-10, .col-11):only-child:has(> .text_wrap.align-center > .p-large) {
    width: 100%;
    padding-inline: 0;
  }
}
@media (max-width: 767px) {
  [data-information-page] .container > .grid > [class^="col-"]:has(> .text_wrap.align-center),
  [id^="your-stay"] .container > .grid > [class^="col-"]:has(> .text_wrap.align-center),
  [id^="your-guides"] .container > .grid > [class^="col-"]:has(> .text_wrap.align-center),
  [data-expect-section="activities"] .container > .grid > .col-12:has(> .text_wrap),
  #our-name .container > .grid > .col-11 {
    padding-inline: 0;
  }
}

/* Group comparison cards share the outside edge of their opening, photo,
   trust strip and Full Circle invitation. The chapter retains its own frame. */
[data-group-retreats] #our-retreats :is([data-al-rc="group-shell"], [data-al-rc="other-shell"]) {
  width: var(--group-page-width);
  margin-inline: auto;
}

/* Only the interior chapters of the integrated Bespoke page use this frame.
   Its split hero, photo and closing invitation have their own compositions. */
.private-page :is(#formats, #approach, #included, #guides, #care, #enquire) {
  --page-gutter: var(--al-gutter);
  --content-max: var(--al-content-wide);
}
.private-page .format-shared-notes > .info-note,
.meditation-guidance-invitation > p {
  max-width: var(--al-reading-prose-measure);
  margin-inline: auto;
}

/* Descriptions of a whole offering and explanatory copy inside ordinary cards. */
.dharma-options .dharma-option > p:not(.session-format, .editorial-eyebrow),
.home-pathway-content > p {
  max-width: min(100%, var(--al-reading-offer-measure));
}
:is(.whats-included_content, .expect-phase-copy, .experience-card, .returners-point-copy) > :is(.p, .p-large),
.private-page .stage > p,
.meditation-guidance-grid article > p {
  max-width: min(100%, var(--al-reading-card-measure));
}

/* On the testimonial wall three fixed columns used to leave 139px of prose
   per card on a 768px screen. The available space now sets the column count. */
.testimonial_wrapper:has(> .testimonial_list) {
  columns: 18rem 3;
  column-gap: clamp(1rem, 2.4vw, 2.5rem);
}
.container > .grid > .col-12:has(> .testimonial_wrapper) {
  padding-inline: 0;
}
.testimonial_list > .testimonial_item,
.grid_whats-included > .whats-included_block,
.grid_health-and-safety > .health-and-safety_block,
.meditation-guidance-grid > article {
  padding-inline: var(--al-card-inset);
}
.testimonial_item .testimonial_rich-text > p {
  max-width: min(100%, var(--al-reading-card-measure));
}

/* Wide inclusions grids keep four columns where they fit. Read these in
   pairs on a tablet. Preserve the native single-column phone layout. */
@media (min-width: 768px) and (max-width: 1099px) {
  .grid_whats-included:has(> .whats-included_block) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* A single reading column holds the title, prose, lists and images of a letter.
   The white paper supplies the inset, including when it reaches a phone edge. */
.newsletter-reading-page .container:has(> .grid > .newsletter-heading) {
  padding-inline: 0;
}
.newsletter-reading-page .grid > .col-9.is-blog.newsletter-heading {
  width: 100%;
  max-width: calc(var(--al-reading-prose-max) + 2 * var(--al-gutter));
  margin-inline: auto;
  padding-inline: var(--al-gutter);
}
.newsletter-reading-page .newsletter-heading > .newsletter-article {
  max-width: var(--al-reading-prose-max);
}
.grid > .col-10:has(> .legal-reading-copy) {
  width: 100%;
  max-width: var(--al-reading-prose-max);
  margin-inline: auto;
  padding-inline: 0;
}

/* Keep the disclosure and its focus/click area full width. Cap its answer
   independently, including rich-text answers maintained in the CMS. */
.editorial-question-list details > div :is(p, ul, ol),
.private-page .questions-list details > div {
  max-width: var(--al-reading-prose-measure);
}
