/* BWB-MK16: compact light Calendly card on the charcoal band.
   Two columns on desktop (copy left, card right) to cut section height.
   Stacked on small screens. The card hugs the widget: #f5f5f5 matches
   Calendly's background_color, with no extra padding. */

/* Keep the section on charcoal (#171717 / --charcoal) in both themes. */
.mk14-book{
  background:var(--charcoal);
}
html[data-theme="dark"] .mk14-book{
  background:#171717;
}

/* Small rounded card that hugs the widget. */
.mk14-book-embed{
  background:#f5f5f5;
  border-radius:12px;
  overflow:hidden;
  padding:0;
  min-width:0;
}

/* 620px hugs the compact calendar (~600px content) in the two-column
   and stacked layouts. data-resize grows the card when time slots
   need more room. min-height stops a known early 2px collapse. */
.calendly-inline-widget.mk14-calendly{
  min-width:320px;
  width:100%;
  height:620px;
  min-height:620px;
  background:#f5f5f5;
  overflow-y:hidden;
}
.calendly-inline-widget.mk14-calendly iframe{
  background:#f5f5f5;
}

/* Two columns when there is room for the card beside the copy. */
@media(min-width:1100px){
  .mk14-book{
    display:grid;
    grid-template-columns:minmax(260px,400px) minmax(650px,1fr);
    column-gap:clamp(28px,4vw,56px);
    align-items:center;
  }
  .mk14-book-lead{margin-bottom:0}
  .mk14-book noscript,
  .mk14-book .mk14-book-fallback{grid-column:1/-1}
}

@media(max-width:760px){
  .calendly-inline-widget.mk14-calendly{
    min-width:0;
  }
}
