/* Keep content inside its grid column, including editor-inserted wide content. */
main, .wrap, .richtext { min-width: 0; }
.story > *, .product-detail > *, .contact-layout > *, .footer-grid > *,
.collection-grid > *, .product-grid > *, .project-grid > *, .news-grid > *,
.gallery-grid > *, .form-row > *, .card-heading > *, .contact-strip > *,
.craft-section > *, .about-section > * { min-width: 0; }
.product-copy, .story-copy, .contact-details, .article, .page-hero > div,
.site-footer, .collection-card, .product-card, .project-card, .news-card {
  overflow-wrap: anywhere;
}
.richtext { max-width: 100%; }
.richtext :where(p, div, section, article, figure, span, a, ul, ol, li, blockquote, pre) {
  max-width: 100% !important;
  box-sizing: border-box;
  overflow-wrap: anywhere;
}
.richtext :where(p, div, section, article, figure, span, a) { white-space: normal !important; }
.richtext :where(img, video, iframe, embed, object, svg, canvas) {
  max-width: 100% !important;
  box-sizing: border-box;
}
.richtext :where(img, video) { height: auto !important; }
.richtext table {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.richtext pre { overflow-x: auto; white-space: pre-wrap; }
.richtext :where(td, th) { overflow-wrap: anywhere; }
.richtext figure { margin-inline: 0; }
.button, .text-link { max-width: 100%; white-space: normal; overflow-wrap: anywhere; }
.button > span, .text-link > span { flex-shrink: 0; }
.breadcrumb { flex-wrap: wrap; overflow-wrap: anywhere; }
.form-row input, .captcha-row input, .enquiry-form textarea { min-width: 0; max-width: 100%; }
.captcha-row { flex-wrap: wrap; }
@media (max-width: 760px) {
  .page-hero > div { width: 100%; }
  .opening-card {
    min-width: 0;
    max-width: calc(100% - 32px);
    box-sizing: border-box;
    padding-left: 16px;
    padding-right: 16px;
  }
  .opening-card > a {
    min-width: 0;
    max-width: 100%;
    font-size: 18px;
    font-size: clamp(16px, 4.6vw, 24px);
    letter-spacing: .3px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .lightbox { box-sizing: border-box; }
  .lightbox img { max-width: 100%; }
  .footer-brand img { max-width: 100%; }
}
