/* PAGES-001: retain the approved shell at its usual type size while allowing
   enlarged public labels to use the available width and an additional line. */
.phase3.story-revision .p3-sticky[data-pb7-sticky-owner="r7-touch-v2"] {
  width: max-content;
  max-width: calc(100vw - 32px);
  left: 50vw;
  pointer-events: none;
}
.phase3.story-revision .p3-sticky[data-pb7-sticky-owner="r7-touch-v2"]:not([hidden]):not([inert]) > a.p3-button {
  pointer-events: auto;
}
.phase3.story-revision .p3-sticky[data-pb7-sticky-owner="r7-touch-v2"] .p3-button,
.pb-public-shell .pb-menu-footer .pb-menu-cta {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}
.pb-public-shell .pb-menu-footer .pb-menu-cta > span {
  flex-shrink: 0;
}
/* Long headings and metrics must stay readable when a single enlarged word
   exceeds its column; the usual word and line breaks remain unchanged. */
.story-revision :is(.pb7c-heading h2, .section-title, .section-title > div,
  .section-title h2, .questions-story h2, .how-heading h2, .how-step-copy h3,
  .creator-intro h2, .career-metrics dt, .career-metrics dd,
  .situation-waterfall strong, .success-number, .p3-price, .pb7-no-card) {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}
.story-revision .pb7-hero .pb7-discover {
  overflow-wrap: anywhere;
  white-space: normal !important;
}
.phase3.story-revision .p3-button,
.phase3.story-revision #opening .hero-cta-row .hero-cta-anchor {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.phase3.story-revision #opening .hero-cta-row .hero-cta-anchor .p3-button {
  white-space: normal !important;
}
/* Keep the assigned offer label and arrow together at ordinary phone sizes;
   enlarged labels still wrap naturally inside the same commercial action. */
@media (max-width: 760px) {
  .phase3.story-revision .pb7-offer .p3-price-card > .p3-button {
    gap: 12px;
    padding-inline: 18px;
  }
}
@media (min-width: 1100px) {
  .pb-public-shell .pb-header {
    height: auto;
  }
  .pb-public-shell .pb-desktop-nav {
    min-width: 0;
    flex-wrap: wrap;
  }
}
