/* LCA Admissions | matched tour enquiry fields | 2026-11-03.
   Scoped only to the paired referral / school-choice questions. */
.public-form-page .public-tour-form .lca-family-tour-section .lca-family-details > label.lca-matched-tour-field {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  min-width:0!important;
  gap:0!important;
  margin:0!important;
}
.public-form-page .public-tour-form .lca-family-tour-section .lca-family-details .lca-matched-tour-label {
  display:block!important;
  box-sizing:border-box!important;
  min-height:3.4em!important;
  margin:0 0 9px!important;
  padding:0!important;
  font-size:inherit!important;
  font-weight:inherit!important;
  line-height:1.45!important;
  overflow-wrap:break-word!important;
}
.public-form-page .public-tour-form .lca-family-tour-section .lca-family-details > label.lca-matched-tour-field > :is(select,textarea) {
  display:block!important;
  box-sizing:border-box!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  min-height:50px!important;
  align-self:stretch!important;
}
.public-form-page .public-tour-form .lca-family-tour-section .lca-family-details > label.lca-matched-tour-field > textarea {
  min-height:76px!important;
  resize:vertical!important;
}
@media (max-width:620px) {
  .public-form-page .public-tour-form .lca-family-tour-section .lca-family-details .lca-matched-tour-label {
    min-height:0!important;
  }
  .public-form-page .public-tour-form .lca-family-tour-section .lca-family-details > label.lca-matched-tour-field {
    margin-bottom:3px!important;
  }
}

/* v23.0.12: Keep the Book a Tour location prompt clear of the focused select.
   Applies to the same template in both public and staff-preview modes. */
.public-form-page .public-tour-form .lca-family-tour-section > label.lca-tour-location-field {
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  gap:0!important;
  margin:0 0 7px!important;
  min-width:0!important;
  overflow:visible!important;
}
.public-form-page .public-tour-form .lca-family-tour-section > label.lca-tour-location-field > .lca-tour-location-label {
  display:block!important;
  position:static!important;
  width:100%!important;
  margin:0 0 14px!important;
  padding:0!important;
  line-height:1.5!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
}
.public-form-page .public-tour-form .lca-family-tour-section > label.lca-tour-location-field > select[name="family_location"] {
  display:block!important;
  position:static!important;
  width:100%!important;
  min-height:50px!important;
  margin:0!important;
  align-self:stretch!important;
}


/* v23.0.13 | Book a Tour: generous readable spacing, including focus outline.
   Overrides legacy 10px section row-gap and earlier 14px location-label gap.
   Shared public and staff-preview template. */
.public-form-page .public-tour-form section.lca-family-tour-section {
  row-gap: 24px !important;
  gap: 24px !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section > h2 {
  margin: 0 0 12px !important;
  padding-bottom: 16px !important;
  line-height: 1.4 !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section > label.lca-tour-location-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 0 5px !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section > label.lca-tour-location-field > .lca-tour-location-label {
  display: block !important;
  margin: 0 0 28px !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  font-size: 14px !important;
  font-weight: 750 !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section > label.lca-tour-location-field > select[name="family_location"] {
  display: block !important;
  margin: 0 !important;
  min-height: 52px !important;
  font-size: 15px !important;
}
/* Keep other prompts and fields comfortably separated too. */
.public-form-page .public-tour-form section.lca-family-tour-section > label:not(.lca-tour-location-field) {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 14px !important;
  line-height: 1.6 !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section .lca-family-details {
  row-gap: 22px !important;
  column-gap: 18px !important;
  padding-top: 22px !important;
  margin-top: 4px !important;
}
.public-form-page .public-tour-form section.lca-family-tour-section .lca-family-details > label.lca-matched-tour-field > .lca-matched-tour-label {
  margin-bottom: 16px !important;
  line-height: 1.55 !important;
}
@media (max-width: 620px) {
  .public-form-page .public-tour-form section.lca-family-tour-section {
    gap: 22px !important;
  }
  .public-form-page .public-tour-form section.lca-family-tour-section > label.lca-tour-location-field > .lca-tour-location-label {
    margin-bottom: 24px !important;
  }
}
