/* Small-device placement overrides. Keep the compiled theme and brand assets intact. */
@media (max-width: 800px) {
  .mobile-nav .openBtn {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #hiddenMenu {
    max-width: 100%;
    padding-right: 20px;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: calc(24px + var(--bh-banner-space, 0px) + env(safe-area-inset-bottom, 0px));
  }
  .modal-open .mobile-nav .openBtn { visibility: hidden; }
  #hiddenMenu .mobile-links a { min-height: 44px; display: flex; align-items: center; }
  .mobile-menu-close {
    position: fixed;
    left: 30px;
    top: 20px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: #fff;
    color: #000;
    border-radius: 50%;
    font-size: 30px;
    line-height: 1;
    z-index: 2;
  }
  .page-wrapper.design-small-wrapper { width: 100%; min-width: 0; }
  .page-title h2 { padding-inline: 16px; overflow-wrap: anywhere; font-size: clamp(20px, 6vw, 30px); }
  .fresh-thinking-banner h1 { font-size: clamp(22px, 7vw, 36px); padding-inline: 16px; }
  a[href^="mailto:"] { overflow-wrap: anywhere; }
  .acc-wrapper { min-width: 0; overflow-wrap: anywhere; }
  .hbspt-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  .hbspt-form select, .hbspt-form textarea,
  #page .bh-hubspot-registration input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  #page .bh-hubspot-registration select, #page .bh-hubspot-registration textarea,
  .bhg select, .forminator-ui input:not([type="checkbox"]):not([type="radio"]),
  .forminator-ui select, .forminator-ui textarea {
    font-size: 16px !important;
    min-height: 44px;
    max-width: 100%;
  }
  .form-tabs .form-tab > a { display: flex; align-items: center; min-height: 44px; }
  .flickity-prev-next-button { min-width: 44px; min-height: 44px; }
  .elementor-menu-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .community-wrapper .register-btn { gap: 8px; flex-wrap: wrap; }
  .community-wrapper .register-btn a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 14px;
    margin: 0;
    font-size: 12px;
  }
  .community-wrapper.upcoming-grid, .community-wrapper.current-grid {
    padding-inline: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .community-wrapper .community { min-width: 0; }

  /* Let each slide's content determine its height, including short landscape screens. */
  #page #primary .pureblink-hpto { --bh-home-photo-height: clamp(260px, 42svh, 360px); }
  #page #primary .pureblink-hpto .pureblink_carousel_frame { padding-bottom: 32px; }
  #page #primary .pureblink-hpto .pureblink_carousel { max-height: none; }
  #page #primary .pureblink-hpto .pureblink_carousel_slide_liner {
    width: 100%;
    height: auto;
    padding: 0 0 20px;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: var(--bh-home-photo-height) auto auto auto;
    row-gap: 16px;
  }
  #page #primary .pureblink-hpto .carousel_image_frame {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    height: var(--bh-home-photo-height);
    z-index: 0;
  }
  #page #primary .pureblink-hpto .carousel_image_desktop { display: none; }
  #page #primary .pureblink-hpto .carousel_image_mobile { display: block; height: 100%; }
  #page #primary .pureblink-hpto .bottom_gradient { bottom: 0; }
  #page #primary .pureblink-hpto .carousel_hero_wrap {
    position: absolute;
    inset: 20px 24px auto;
    width: auto;
    grid-column: auto;
    grid-row: auto;
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .65);
  }
  #page #primary .pureblink-hpto .carousel_hero_logo { display: block; pointer-events: auto; }
  #page #primary .pureblink-hpto .carousel-community-link::after { top: -20px; left: -24px; right: -24px; height: var(--bh-home-photo-height); bottom: auto; }
  #page #primary .pureblink-hpto .carousel_hero_logo img {
    width: auto;
    height: auto;
    max-width: min(80vw, 300px) !important;
    max-height: 120px;
    object-fit: contain;
  }
  #page #primary .pureblink-hpto .pureblink_carousel_slide .carousel_hero_byline p {
    font-size: 12px !important;
    line-height: 1.4;
    margin-top: 8px;
    padding: 0;
  }
  #page #primary .pureblink-hpto .carousel_info_wrap,
  #page #primary .pureblink-hpto .carousel_pricing_block_wrap,
  #page #primary .pureblink-hpto .carousel_cta_wrap {
    grid-column: 1;
    justify-content: center;
    text-align: center;
    padding-inline: 16px;
    min-width: 0;
    align-items: center;
  }
  #page #primary .pureblink-hpto .carousel_info_wrap { grid-row: 2; }
  #page #primary .pureblink-hpto .carousel_info { padding: 0; }
  #page #primary .pureblink-hpto .pureblink_carousel_slide .carousel_info_primary p { font-size: clamp(22px, 6.5vw, 28px); line-height: 1.15; }
  #page #primary .pureblink-hpto .carousel_info_secondary p { font-size: 14px; line-height: 1.45; margin-top: 8px;
    padding: 0; }
  #page #primary .pureblink-hpto .carousel_pricing_block_wrap { grid-row: 3; }
  #page #primary .pureblink-hpto .pureblink_carousel_slide .carousel_price { font-size: 38px; line-height: 1.15; }
  #page #primary .pureblink-hpto .carousel_pricing_qualifier { bottom: 0; }
  #page #primary .pureblink-hpto .carousel_cta_wrap { grid-row: 4; }
  #page #primary .pureblink-hpto .carousel_cta_group { width: 100%; max-width: 420px; }
  #page #primary .pureblink-hpto .pureblink_carousel_slide .cta_caption { font-size: 16px; line-height: 1.4; margin: 0 0 8px; }
  #page #primary .pureblink-hpto .cta_button { display: grid; gap: 8px; }
  #page #primary .pureblink-hpto .cta_button a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; margin: 0; font-size: 16px; line-height: 1.3; }
  #page #primary .pureblink-hpto .flickity-prev-next-button { top: calc(var(--bh-home-photo-height) / 2); }
}
@media (max-width: 479px) {
  .community-wrapper.upcoming-grid, .community-wrapper.current-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) and (max-height: 500px) {
  #page #primary .pureblink-hpto { --bh-home-photo-height: 260px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .page-id-35050 .elementor-heading-title { overflow-wrap: anywhere; }
  .page-id-35050 .elementor-element:is([data-id="3d86f18"], [data-id="5cf8733"], [data-id="039d0a2"], [data-id="727eeb8"], [data-id="d85ec1b"], [data-id="b8649ff"], [data-id="9f3d0dd"], [data-id="9e37101"]) {
    --padding-left: 32px;
    --padding-right: 32px;
  }
  .page-id-35050 h2.elementor-heading-title { font-size: clamp(36px, 6.25vw, 64px) !important; }
  .page-id-35050 h3.elementor-heading-title { font-size: 32px !important; }
  .page-id-35050 .elementor-button { max-width: 100%; white-space: normal; padding-inline: 12px; }
}
@media (max-width: 1024px) {
  .page-id-35050 .elementor-motion-effects-container { overflow: clip; }
  /* Creekview's desktop three-column introduction leaves only 98px for copy
     at 768px. Stack its existing heading, photo and copy instead. */
  :is(body.page-id-33523 .elementor-element-c681ebe, body.page-id-37184 .elementor-element-3d86f18) > .e-con-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-block: 40px;
  }
  :is(body.page-id-33523 .elementor-element-c681ebe, body.page-id-37184 .elementor-element-3d86f18) > .e-con-inner > .elementor-element {
    width: 100%;
    --width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    padding: 0;
  }
  :is(body.page-id-33523 .elementor-element-c681ebe, body.page-id-37184 .elementor-element-3d86f18) .elementor-element-99790de {
    aspect-ratio: 4 / 3;
    min-height: 0;
    --min-height: 0px;
  }
  :is(body.page-id-33523 .elementor-element.elementor-element-c45304a, body.page-id-37184 .elementor-element.elementor-element-124bf79) .elementor-button {
    width: auto;
    max-width: 100%;
    padding: 14px 24px !important;
    min-height: 44px;
    font-size: 16px !important;
  }
  :is(body.page-id-33523 .elementor-element-c45304a, body.page-id-37184 .elementor-element-124bf79) .elementor-button-content-wrapper { max-width: 100%; min-width: 0; }
}
