.booking-clause { display: inline-block; max-width: 100%; text-wrap: balance; }

.demo-showcase-copy .gallery-link {
  display: flex;
  align-items: center;
  gap: .4em;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  font-family: inherit;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin: 0;
  color: #263448;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-showcase-actions {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 4px;
  margin-top: 16px;
  min-width: 0;
}
#demo-intro .demo-showcase-actions .demo-showcase-button {
  grid-row: auto;
  margin: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
@media (max-width: 800px) {
  .demo-showcase-actions { grid-row: 5; margin-top: 0; }
}
.screen-gallery {
  box-sizing: border-box;
  width: min(420px, calc(100vw - 24px));
  max-height: 94dvh;
  padding: 14px;
  margin: auto;
  overflow: auto;
  background: #fffdfb;
  color: #263448;
  border: 1px solid #dcd5c9;
  border-radius: 20px;
}
.screen-gallery.with-tablet { width: min(850px, calc(100vw - 24px)); }
.screen-gallery::backdrop { background: rgb(22 31 44 / 65%); }
.gallery-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.screen-gallery .gallery-heading h2 { margin: 0; color: inherit; font-weight: 700; font-size: 17px; line-height: 1.4; }
.screen-gallery button {
  min-height: 44px;
  padding: 6px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: inherit;
  background: #fff;
  border: 1px solid #d6d0c5;
  border-radius: 24px;
  cursor: pointer;
}
.gallery-track {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  touch-action: pan-y pinch-zoom;
  scrollbar-width: none;
  margin-top: 10px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track figure {
  display: grid;
  place-items: center;
  flex: 0 0 100%;
  min-width: 0;
  height: min(65dvh, 660px);
  margin: 0;
  scroll-snap-align: center;
}
.gallery-track img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-controls { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.gallery-controls button[aria-pressed="true"] { background: #263448; border-color: #263448; color: white; }
