/* Keep the bottom of every Executive Workshop detail page compact and consistent. */

.executive-workshop-theme {
  --executive-workshop-detail-end-gap: clamp(0.75rem, 1.6vw, 1.25rem);
}

/* Avoid stacking a full section gap immediately before the final page surface. */
.executive-workshop-theme .section-block:has(+ :is(
  .facilitation-disclosure-section,
  .example-presentation-disclosure-section,
  .value-stream-conference-block-navigation
)) {
  padding-bottom: var(--executive-workshop-detail-end-gap);
}

/* Collapsible preparation material and Step 7 continuation navigation use the same compact frame. */
.executive-workshop-theme :is(
  .facilitation-disclosure-section,
  .example-presentation-disclosure-section,
  .value-stream-conference-block-navigation
) {
  padding-top: var(--executive-workshop-detail-end-gap);
  padding-bottom: var(--executive-workshop-detail-end-gap);
}

/* Every detail-page ending keeps the same small amount of white space before the footer. */
.executive-workshop-theme .workshop-page-end-spacing,
.executive-workshop-theme :is(
  .value-stream-conference-overview-slides,
  .value-stream-conference-block-navigation,
  .your-choice-section,
  .workshop-date-section
) {
  margin-bottom: var(--executive-workshop-detail-end-gap);
}

/* Pages whose complete exercise lives in the final section should not retain the generic large section padding. */
.executive-workshop-theme :is(
  .value-stream-conference-overview-slides,
  .your-choice-section,
  .workshop-date-section
) {
  padding-bottom: var(--executive-workshop-detail-end-gap);
}
