/* Patient Growth page only. Imported desktop and mobile sections keep their supplied visual design. */
/* This stylesheet is enqueued only by the Patient Growth page template. Clip at
   the viewport as well as inside the imported content so the theme shell cannot
   leave a page-level horizontal scroll range on mobile. */
html,
body { overflow-x: clip; }
.static-design,
.cf-patient-growth { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; overflow-x: clip; }
.cf-patient-growth .cf-static-desktop,
.cf-patient-growth .cf-static-mobile { width: 100%; max-width: 100%; min-width: 0; }
.cf-patient-growth .cf-faq-entries { min-width: 0; }
.cf-patient-growth .cf-pg-testimonials {
    padding: 40px 120px 80px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}
.cf-patient-growth .cf-pg-testimonial-grid {
    width: 100%;
    max-width: 1184px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.cf-patient-growth .cf-pg-testimonial-card {
    min-width: 0;
    min-height: 280px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e0e3dd;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(3, 43, 47, .05);
}
.cf-patient-growth .cf-pg-testimonial-meta,
.cf-patient-growth .cf-pg-testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.cf-patient-growth .cf-pg-testimonial-quote {
    color: #129c8c;
    font: 700 44px/28px Georgia, serif;
}
.cf-patient-growth .cf-pg-testimonial-stars {
    color: #129c8c;
    font-size: 13px;
    letter-spacing: 1px;
}
.cf-patient-growth .cf-pg-testimonial-copy {
    margin: 0;
    color: #43524f;
    font-size: 13px;
    line-height: 21px;
}
.cf-patient-growth .cf-pg-testimonial-author {
    justify-content: flex-start;
    gap: 10px;
    margin-top: auto;
    color: #032b2f;
    font-size: 14px;
}
.cf-patient-growth .cf-pg-testimonial-avatar {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 999px;
    background: #cfe3dc;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .cf-patient-growth .cf-pg-testimonials { padding-right: 48px; padding-left: 48px; }
    .cf-patient-growth .cf-pg-testimonial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cf-patient-growth .cf-static-desktop > section:first-of-type > div:first-child { flex-direction: column !important; align-items: stretch !important; gap: 34px !important; }
    .cf-patient-growth .cf-static-desktop > section:first-of-type > div:first-child > div:last-child { align-self: center !important; width: min(100%, 500px) !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(3) > div { flex-direction: column !important; align-items: stretch !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(3) > div > img,
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(6) > div > img { width: min(100%, 520px) !important; height: auto !important; align-self: center; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(5) > div { flex-direction: column !important; align-items: stretch !important; gap: 22px !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(5) > div > img { width: min(100%, 520px) !important; height: auto !important; align-self: center; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(6) > div { flex-direction: column !important; align-items: stretch !important; gap: 28px !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(8) > div { flex-direction: column !important; align-items: stretch !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(8) form { width: 100% !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(10) > div:last-child { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(11) { flex-direction: column !important; gap: 32px !important; }
    .cf-patient-growth .cf-static-desktop > section:nth-of-type(11) > div:first-of-type { width: 100% !important; }
}

@media (max-width: 767.98px) {
    .cf-patient-growth .cf-pg-testimonials { padding: 24px 20px 48px; gap: 20px; }
    .cf-patient-growth .cf-pg-testimonial-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .cf-patient-growth .cf-pg-testimonial-card { min-height: 0; padding: 20px; }
    .cf-patient-growth .cf-static-mobile {
        --cf-pg-dashboard-width: 350px;
        --cf-pg-dashboard-height: 280px;
        --cf-pg-dashboard-scale: .7;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        overflow-x: clip;
    }
    .cf-patient-growth .cf-static-mobile > section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        box-sizing: border-box;
    }
    .cf-patient-growth .cf-static-mobile [style*="width: 390px"] { width: 100% !important; max-width: 100% !important; }
    .cf-patient-growth .cf-static-mobile [style*="width: 350px"] { width: min(100%, 350px) !important; }
    .cf-patient-growth .cf-static-mobile .cf-home-blog-section { padding-right: 20px !important; padding-left: 20px !important; }
    .cf-patient-growth .cf-static-mobile [style*="width: 500px"][style*="transform: scale(0.7)"] {
        width: var(--cf-pg-dashboard-width) !important;
        height: var(--cf-pg-dashboard-height) !important;
        transform: none !important;
    }
    .cf-patient-growth .cf-static-mobile [style*="width: 500px"][style*="transform: scale(0.7)"] > div[style*="width: 500px"] {
        zoom: var(--cf-pg-dashboard-scale) !important;
        transform: none !important;
    }
}

@media (max-width: 389.98px) and (min-width: 375px) {
    .cf-patient-growth .cf-static-mobile {
        --cf-pg-dashboard-width: calc(100vw - 40px);
        --cf-pg-dashboard-height: 268px;
        --cf-pg-dashboard-scale: .67;
    }
}

@media (max-width: 374.98px) and (min-width: 360px) {
    .cf-patient-growth .cf-static-mobile {
        --cf-pg-dashboard-width: 320px;
        --cf-pg-dashboard-height: 256px;
        --cf-pg-dashboard-scale: .64;
    }
}

@media (max-width: 359.98px) and (min-width: 340px) {
    .cf-patient-growth .cf-static-mobile {
        --cf-pg-dashboard-width: 300px;
        --cf-pg-dashboard-height: 240px;
        --cf-pg-dashboard-scale: .6;
    }
}

@media (max-width: 339.98px) {
    .cf-patient-growth .cf-static-mobile {
        --cf-pg-dashboard-width: min(280px, calc(100vw - 40px));
        --cf-pg-dashboard-height: 224px;
        --cf-pg-dashboard-scale: .56;
    }
}
