/* Book-only calendar layout; the Calendly provider controls its iframe content. */
.book-calendar-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  width: 100%;
  max-width: 1000px;
  min-width: 0;
  height: auto;
  max-height: none;
  margin-inline: auto;
  overflow: visible;
}

.book-calendar-layout > .calendly-inline-widget {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 1050px;
  min-height: 1050px;
  max-height: none;
  overflow: visible;
}

.book-calendar-layout > .calendly-inline-widget iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 100%;
}

.book-calendar-layout > .book-calendar-testimonial {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  max-height: none;
  text-align: center;
  overflow: visible;
  overflow-wrap: break-word;
}

@media (max-width: 560px) {
  .book-calendar-layout > .calendly-inline-widget {
    height: 1150px;
    min-height: 1150px;
  }
}

/* Calendly requires 320px. Expand only its frame when page gutters reduce it. */
@media (max-width: 355px) {
  .book-calendar-layout > .calendly-inline-widget {
    width: 320px;
    max-width: none;
    margin-inline: calc((100% - 320px) / 2);
  }
}
