.wp-block-cover {
  min-height: 100vh;
}

#cbfim-visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  background: #fff;
  color: #242424;
}

#cbfim-visit .visit-details {
  padding: 24px 32px;
  align-self: center;
}

#cbfim-visit h2 {
  margin: 0 0 12px;
  color: #242424;
  font-size: 24px;
}

#cbfim-visit p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.5;
}

#cbfim-visit a {
  color: #662d91;
  font-weight: bold;
}

#cbfim-visit iframe {
  display: block;
  width: 100%;
  height: 280px;
  border: 0;
}

@media (max-width: 700px) {
  #cbfim-visit {
    grid-template-columns: 1fr;
  }

  #cbfim-visit .visit-details {
    padding: 24px;
  }

  #cbfim-visit iframe {
    height: 220px;
  }
}
/* Let the map widget use the full section width */
#saved-home-section-3:has(#cbfim-visit),
#saved-home-section-3 :has(#cbfim-visit),
.widget_custom_html:has(#cbfim-visit),
.custom-html-widget:has(#cbfim-visit) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  box-sizing: border-box;
}

#cbfim-visit {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

#cbfim-visit > * {
  min-width: 0;
}

@media (max-width: 700px) {
  #cbfim-visit {
    grid-template-columns: 1fr;
  }
}
/* Enlarge the header logo */
#saved-logo-image a {
  max-width: 60px !important;
  max-height: 60px !important;
}

#saved-logo-regular,
#saved-logo-hidpi {
  width: 60px !important;
  height: auto !important;
  max-height: 60px !important;
}
textarea.cbfim-contact-message {
  height: 160px !important;
  min-height: 160px !important;
}
/* Resize only text areas on the Appointment page */
body.page-id-2766 textarea {
  height: 160px !important;
  min-height: 160px !important;
}
@media (max-width: 900px) {
  #saved-footer-widgets-row .saved-widgets-row-content {
    margin-right: 0 !important;
  }

  #saved-footer-widgets-row aside.saved-widget {
    display: block !important;
    width: 100% !important;
    margin-right: 0 !important;
  }

  #saved-footer-widgets-row .jetpack-simple-payments-product {
    flex-direction: column !important;
  }

  #saved-footer-widgets-row .jetpack-simple-payments-details {
    width: 100% !important;
    padding-left: 0 !important;
  }

  #saved-footer-widgets-row .jetpack-simple-payments-purchase-box {
    flex-direction: column;
    gap: 12px;
  }
}