/* Content adaptation only: every selector is confined to Homepage Section 01. */
.oc-homepage-section-01.oc-hero-section { min-height: 0; }
.oc-homepage-section-01 .oc-hero-split :where(.oc-eyebrow, h1, .oc-muted, .oc-homepage-scope, .oc-homepage-booking-cue) {
  font-family: var(--oc-font-display);
  margin-block: 0 !important;
}
.oc-homepage-section-01 .oc-eyebrow {
  width: fit-content;
  max-width: 100%;
  margin-bottom: var(--wp--preset--spacing--12) !important;
  color: var(--oc-text-primary);
  font-size: var(--wp--preset--font-size--body);
  font-weight: 700;
  line-height: 19.2px;
}
.oc-homepage-section-01 .oc-hero-split h1 {
  width: 100%;
  max-width: 520px;
  margin-bottom: var(--wp--preset--spacing--24) !important;
  color: var(--oc-heading);
  font-size: 40px !important;
  font-weight: 700;
  line-height: 44px !important;
}
.oc-homepage-section-01 .oc-hero-split .oc-muted,
.oc-homepage-section-01 .oc-homepage-scope {
  width: min(500px, 100%);
  max-width: 500px;
  color: var(--oc-text-primary);
  font-size: var(--wp--preset--font-size--body) !important;
  font-weight: 400;
  line-height: 25.6px !important;
}
.oc-homepage-section-01 .oc-homepage-scope {
  margin-top: var(--wp--preset--spacing--16) !important;
}
.oc-homepage-section-01 .oc-homepage-booking-cue {
  width: fit-content;
  max-width: 100%;
  margin-top: calc(var(--wp--preset--spacing--24) + var(--wp--preset--spacing--4)) !important;
  color: var(--oc-heading);
  font-size: var(--wp--preset--font-size--h-4) !important;
  font-weight: 700;
  line-height: 24.336px;
}
.oc-homepage-section-01 .oc-homepage-booking-cue strong { font-weight: 700; }
.oc-homepage-section-01 .oc-homepage-booking-cue a {
  display: inline-block;
  max-width: 100%;
  color: inherit;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
/* Match Theme 1.0's text action, without its button-box or font overrides. */
.oc-homepage-section-01 .oc-homepage-booking-cue a:hover,
.oc-homepage-section-01 .oc-homepage-booking-cue a:focus { transform: translateY(-2px); }
.oc-homepage-section-01 .oc-homepage-booking-cue a:active { transform: translateY(-1px); }
.oc-homepage-section-01 .oc-calendly-card { position: relative; height: 602px; }
.oc-homepage-section-01 .oc-calendly-scroll-viewport {
  height: 602px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: auto;
  scroll-margin-top: 110px;
  scrollbar-width: auto;
  scrollbar-color: #999 transparent;
}
.oc-homepage-section-01 .oc-calendly-scroll-viewport:focus-visible {
  outline: 2px solid var(--oc-heading);
  outline-offset: -3px;
  border-radius: 17px;
}
/* Paint keyboard focus above the independently composited iframe. */
.oc-homepage-section-01 .oc-calendly-card:has(> .oc-calendly-scroll-viewport:focus-visible)::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 1;
  border: 2px solid var(--oc-heading);
  border-radius: 15px;
  pointer-events: none;
}
.oc-homepage-section-01 .oc-calendly-card:has(> .oc-calendly-scroll-viewport:focus-visible) > .oc-calendly-scroll-viewport { outline: none; }
.oc-homepage-section-01 .oc-calendly-overflow-cue {
  position: absolute;
  inset: auto 0 0;
  height: 18px;
  border-radius: 0 0 17px 17px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(238 238 238 / .8));
  pointer-events: none;
  opacity: 0;
}
.oc-homepage-section-01 .oc-calendly-card[data-has-more="true"] .oc-calendly-overflow-cue { opacity: 1; }
.oc-homepage-section-01 .oc-visual.oc-homepage-booking-visual {
  box-sizing: border-box;
  height: auto;
  min-height: 0;
  max-width: 100%;
  aspect-ratio: auto;
}
.oc-homepage-section-01 .oc-homepage-scheduler { width: 100%; min-width: 0; }
.oc-homepage-section-01 .oc-homepage-scheduler iframe { display: block; width: 100%; border: 0; }
@media (min-width: 1021px) {
  /* Reallocate the accepted 1148px inner row, not the global width tokens:
     614px copy + 24px gap + the unchanged 510px booking column. */
  .oc-homepage-section-01 > .oc-hero-split { gap: var(--wp--preset--spacing--24) !important; }
  .oc-homepage-section-01 .oc-hero-split h1 { max-width: 600px; }
  .oc-homepage-section-01 .oc-hero-split .oc-muted,
  .oc-homepage-section-01 .oc-homepage-scope { width: min(570px, 100%); max-width: 570px; }
  .oc-homepage-section-01 .oc-hero-split > .wp-block-column:first-child {
    width: auto !important;
    flex: 1 1 614px !important;
    align-self: flex-start !important;
    min-width: 0;
    padding-right: 0;
  }
  .oc-homepage-section-01 .oc-hero-split > .wp-block-column:last-child {
    width: auto !important;
    flex: 1 1 510px !important;
    min-width: 392px;
  }
  .oc-homepage-section-01 .oc-visual.oc-homepage-booking-visual { width: 100%; }
}
@media (min-width: 1021px) and (max-width: 1080px) {
  /* Retain the accepted compact-desktop booking column's 392px width. */
  .oc-homepage-section-01 .oc-hero-split > .wp-block-column:last-child { flex: 0 0 392px !important; }
}
@media (max-width: 1020px) {
  .oc-homepage-section-01 .oc-hero-split h1 { margin-bottom: var(--wp--preset--spacing--24) !important; }
  .oc-homepage-section-01 .oc-eyebrow,
  .oc-homepage-section-01 .oc-hero-split h1,
  .oc-homepage-section-01 .oc-homepage-scope,
  .oc-homepage-section-01 .oc-homepage-booking-cue { margin-inline: auto; }
  .oc-homepage-section-01 .oc-hero-split > .wp-block-column:first-child { padding-bottom: var(--wp--preset--spacing--20); }
}
@media (max-width: 768px) {
  .oc-homepage-section-01 .oc-hero-split h1 { font-size: 35.2px !important; line-height: 42.24px !important; }
}
@media (max-width: 500px) {
  .oc-homepage-section-01 .oc-hero-split h1 { font-size: 29.3333px !important; line-height: 35.2px !important; }
  /* Keep the accepted 322px booking floor, bounded by the viewport on the
     narrowest screens. Preserve the existing copy measure and centring. */
  .oc-homepage-section-01 .oc-visual.oc-homepage-booking-visual {
    width: max(100%, min(322px, 100vw));
    max-width: none;
    margin-left: min(0px, calc((100% - min(322px, 100vw)) / 2)) !important;
  }
}
