/**
 * Clinic profile, review, contact modal, and gallery presentation.
 *
 * Loaded only for singular clinic pages.
 */

/*Moved from clinics.css: be-stars
 */.be-stars {
    color: #d8dee8;
    display: inline-flex !important;
    letter-spacing: 2px;
    position: relative;
    width: max-content;
}.be-stars::before {
    color: #f5a623;
    content: "★★★★★";
    inset: 0 auto 0 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: var(--be-rating-fill, 0%);
}.be-stars > span {
    display: inline-block;
}

.be-review-stars {
    color: #d8dee8;
    display: inline-flex !important;
    letter-spacing: 2px;
    position: relative;
    width: max-content;
}

.be-review-stars::before {
    color: #f5a623;
    content: "★★★★★";
    inset: 0 auto 0 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: var(--be-rating-fill, 0%);
}

.be-review-stars > span {
    display: inline-block;
}

/*Moved from clinics.css: be-profile, be-gallery, be-success, be-cost, be-review, be-contact, be-lightbox-open
 */.be-profile-shell {
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1400px;
    padding: 34px 28px 70px;
    width: 100%;
}.be-profile-layout {
    align-items: start;
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 820px) 360px;
    justify-content: center;
}.be-profile-main {
    min-width: 0;
}.be-profile-mobile-tabs {
    display: none;
}.be-profile-mobile-topbar,
.be-profile-mobile-sticky-cta {
    display: none;
}.be-profile-aside {
    position: sticky;
    top: 93px;
}body.admin-bar .be-profile-aside {
    top: 125px;
}.be-profile-hero {
    margin-bottom: 32px;
}.be-profile-ratingline {
    align-items: center;
    color: #687382;
    display: flex;
    font-size: 14px;
    gap: 12px;
    margin-bottom: 12px;
}.be-profile-ratingline strong {
    color: #11151c;
}

.be-profile-ratingline a {
    color: #687382;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.be-profile-hero h1 {
    color: #11151c;
    font-size: 55px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 14px;
}

.be-profile-address {
    color: #687382;
    font-size: 15px;
    margin: 0 0 26px;
}

.be-profile-address span {
    background: #eaf1fe;
    border-radius: 8px;
    color: #205ad6;
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    margin-left: 8px;
    padding: 5px 9px;
    width: fit-content;
}

.be-profile-gallery {
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 2px;
    position: relative;
}

.be-profile-gallery-track {
    display: flex;
    gap: 10px;
    max-width: 100%;
    transition: transform 220ms ease;
    will-change: transform;
}

.be-profile-gallery-track .be-profile-photo {
    flex: 0 0 calc((100% - 20px) / 3);
}

.be-profile-gallery-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 999px;
    box-shadow: 0 6px 18px -6px rgba(17, 21, 28, 0.28);
    color: #11151c;
    cursor: pointer;
    display: flex;
    height: 42px;
    justify-content: center;
    position: absolute;
    right: -2px;
    top: 50%;
    transition: opacity 0.2s, transform 0.12s, background 0.15s, color 0.15s, border-color 0.15s;
    transform: translateY(-50%);
    width: 42px;
    z-index: 3;
}

.be-profile-gallery-prev {
    left: -2px;
    right: auto;
}

.be-profile-gallery-nav:hover {
    background: #2f6df6;
    border-color: #2f6df6;
    color: #fff;
}

.be-profile-gallery-nav:active {
    transform: translateY(-50%) scale(0.94);
}

.be-profile-gallery-nav svg {
    display: block;
    height: 19px;
    width: 19px;
}

.be-profile-photo {
    align-items: end;
    aspect-ratio: 1.04 / 1;
    background: linear-gradient(145deg, #edf3fb 0%, #d4dfef 100%);
    border-radius: 14px;
    box-sizing: border-box;
    display: flex;
    padding: 12px;
    position: relative;
}

.be-profile-photo::before {
    color: #91a2b8;
    content: "▧";
    font-size: 26px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.be-profile-photo.has-image {
    background: #dfe7f2;
    cursor: zoom-in;
    overflow: hidden;
}

.be-profile-photo.has-image::before {
    content: none;
}

.be-profile-photo img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

.be-profile-photo span {
    background: rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    color: #2f3845;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 10px;
    position: relative;
    z-index: 1;
}

.be-profile-photo.has-image span {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 6px 18px rgba(18, 31, 54, 0.12);
    max-width: calc(100% - 24px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.be-profile-photo.has-image:focus {
    outline: 3px solid rgba(47, 109, 246, 0.5);
    outline-offset: 3px;
}

.be-gallery-lightbox {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 10020;
}

.be-gallery-lightbox.is-open {
    display: block;
}

.be-gallery-lightbox-backdrop {
    background: rgba(9, 12, 18, 0.82);
    inset: 0;
    position: absolute;
}

.be-gallery-lightbox-frame {
    align-items: center;
    display: flex;
    inset: 32px;
    justify-content: center;
    margin: 0;
    position: absolute;
    z-index: 1;
}

.be-gallery-lightbox-frame img {
    background: #11151c;
    border-radius: 16px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
    display: block;
    max-height: calc(100vh - 120px);
    max-width: min(1120px, calc(100vw - 140px));
    object-fit: contain;
}

.be-gallery-lightbox-frame figcaption {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    bottom: 0;
    color: #2f3845;
    font-size: 13px;
    font-weight: 800;
    left: 50%;
    max-width: min(720px, calc(100vw - 48px));
    overflow: hidden;
    padding: 9px 14px;
    position: absolute;
    text-overflow: ellipsis;
    transform: translateX(-50%);
    white-space: nowrap;
}

.be-gallery-lightbox-close,
.be-gallery-lightbox-nav {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
    color: #11151c;
    cursor: pointer;
    display: flex;
    font-weight: 850;
    justify-content: center;
    position: absolute;
    z-index: 2;
}

.be-gallery-lightbox-close {
    font-size: 13px;
    min-height: 42px;
    padding: 0 18px;
    right: 28px;
    top: 24px;
}

.be-gallery-lightbox-nav {
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
}

.be-gallery-lightbox-nav svg {
    height: 21px;
    width: 21px;
}

.be-gallery-lightbox-prev {
    left: 26px;
}

.be-gallery-lightbox-next {
    right: 26px;
}

.be-lightbox-open {
    overflow: hidden;
}

.be-profile-dots {
    display: flex;
    gap: 7px;
    justify-content: center;
    margin-top: 28px;
}

.be-profile-dots button {
    background: #dbe3ef;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    height: 6px;
    padding: 0;
    width: 6px;
}

.be-profile-dots button.is-active {
    background: #2f6df6;
    width: 18px;
}

.be-profile-claim {
    align-items: center;
    background: #f6f9ff;
    border: 1px solid #d7e5ff;
    border-radius: 18px;
    box-shadow: 0 12px 34px -24px rgba(47, 109, 246, 0.45);
    box-sizing: border-box;
    color: #11151c;
    display: flex;
    gap: 18px;
    margin: 26px 0 42px;
    padding: 18px 22px;
    width: 100%;
}

.be-profile-claim-icon {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe7ff;
    border-radius: 14px;
    color: #2f6df6;
    display: inline-flex;
    flex: 0 0 auto;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.be-profile-claim-icon svg {
    height: 24px;
    width: 24px;
}

.be-profile-claim-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.be-profile-claim-copy strong {
    color: #11151c;
    display: block;
    font-size: 17px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
}

.be-profile-claim-copy span {
    color: #667080;
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.be-profile-claim-link {
    align-items: center;
    color: #2f6df6;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 16px;
    font-weight: 850;
    gap: 8px;
    margin-left: auto;
    text-decoration: none;
    white-space: nowrap;
}

.be-profile-claim-link svg {
    height: 18px;
    width: 18px;
}

.be-profile-highlights {
    margin: 0 0 36px;
}

.be-profile-highlights h2,
.be-profile-main .be-clinic-section h2,
.be-profile-main .be-clinic-form h2,
.be-profile-main .be-clinic-map h2 {
    color: #11151c;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: 0;
    margin: 0 0 18px;
}

.be-profile-highlight-grid {
    display: grid;
    gap: 28px 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.be-profile-highlight-grid article {
    min-width: 0;
}

.be-profile-highlight-grid span,
.be-profile-badges article > span {
    align-items: center;
    background: #ffe8dd;
    border-radius: 13px;
    color: #9b5b35;
    display: flex;
    font-size: 21px;
    font-weight: 850;
    height: 52px;
    justify-content: center;
    margin-bottom: 14px;
    width: 52px;
}

.be-profile-highlight-grid article:nth-child(2n) span {
    background: #d8f2df;
}

.be-profile-highlight-grid article:nth-child(3n) span {
    background: #e6d4f4;
}

.be-profile-highlight-grid h3 {
    color: #11151c;
    font-size: 19px;
    font-weight: 850;
    line-height: 1.05;
    margin: 0 0 8px;
}

.be-profile-highlight-grid p {
    color: #687382;
    font-size: 14px;
    line-height: 1.45;
    margin: 0;
}

.be-profile-appt {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    box-shadow: 0 22px 52px rgba(18, 31, 54, 0.11);
    overflow: hidden;
}

.be-profile-appt-status {
    border-bottom: 1px solid #e8edf4;
    padding: 18px 22px 16px;
}

.be-profile-accepting {
    align-items: center;
    color: #11151c;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    gap: 8px;
}

.be-profile-status-dot {
    background: #27c77b;
    border-radius: 999px;
    box-shadow: 0 0 0 3px rgba(31, 169, 113, 0.18);
    flex: 0 0 auto;
    height: 9px;
    width: 9px;
}

.be-profile-wait {
    color: #11151c;
    display: block;
    font-size: 16px;
    font-weight: 400;
    margin-left: 0;
    margin-top: 4px;
}

.be-profile-appt-body {
    padding: 18px 22px;
}

.be-profile-primary {
    align-items: center;
    background: #2f6df6;
    border-radius: 9px;
    box-sizing: border-box;
    box-shadow: 0 10px 24px rgba(47, 109, 246, 0.25);
    color: #fff;
    display: flex;
    font-size: 15.5px;
    font-weight: 850;
    justify-content: center;
    min-height: 48px;
    padding: 14px;
    text-decoration: none;
    width: 100%;
}

.be-profile-side-location {
    align-items: center;
    border-top: 1px solid #e8edf4;
    display: flex;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
}

.be-profile-side-location svg {
    color: #2f6df6;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.be-profile-side-location {
    align-items: flex-start;
    margin-top: 12px;
    padding-top: 12px;
}

.be-profile-side-location svg {
    margin-top: 2px;
}

.be-profile-location-text {
    color: #2f3845;
    font-size: 13.5px;
    line-height: 1.45;
}

.be-profile-side-location a {
    color: #2f6df6;
    display: inline-block;
    font-size: 13.5px;
    font-weight: 800;
    margin-top: 5px;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.be-profile-badges {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    padding: 4px;
}

.be-profile-badges article {
    align-items: flex-start;
    display: flex;
    gap: 13px;
}

.be-profile-badges article > span {
    height: 40px;
    margin: 0;
    width: 40px;
}

.be-profile-badges h3 {
    color: #11151c;
    font-size: 14px;
    font-weight: 800;
    margin: 0 0 2px;
}

.be-profile-badges p {
    color: #687382;
    font-size: 12.5px;
    line-height: 1.4;
    margin: 0;
}

.be-profile-main .be-clinic-section,
.be-profile-main .be-clinic-form,
.be-profile-main .be-clinic-map {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(18, 31, 54, 0.06);
    margin: 18px 0 28px;
    padding: 22px;
}

.be-profile-about {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.be-profile-about p,
.be-profile-costs > p,
.be-clinic-success > p,
.be-clinic-map > p {
    color: #687382;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 12px;
}

.be-clinic-map > .be-profile-address {
    color: #687382;
    font-size: 15px;
    line-height: 1.45;
    margin: 0 0 18px;
}

.be-clinic-map > .be-profile-map-directions {
    align-items: center;
    color: #2f6df6;
    display: inline-flex;
    gap: 8px;
    margin: 10px 0 0;
}

.be-profile-map-directions svg {
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.be-profile-map-directions a {
    color: #2f6df6;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.be-profile-treatment-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.be-profile-treatment-grid article {
    align-items: flex-start;
    background: #f8fbff;
    border: 1px solid #e3eaf5;
    border-radius: 12px;
    display: grid;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 12px;
}

.be-profile-treatment-grid article > span {
    align-items: center;
    background: #eaf1fe;
    border-radius: 10px;
    color: #2f6df6;
    display: flex;
    font-size: 17px;
    font-weight: 850;
    height: 34px;
    justify-content: center;
    width: 34px;
}

.be-profile-badges article > span svg {
    display: block;
    height: 20px;
    width: 20px;
}

.be-profile-treatment-grid h3,
.be-profile-doctors h3 {
    color: #11151c;
    font-size: 14px;
    font-weight: 850;
    margin: 0 0 4px;
}

.be-profile-doctors h3 em {
    background: #eaf1fe;
    border-radius: 999px;
    color: #205ad6;
    display: inline-flex;
    font-size: 10px;
    font-style: normal;
    font-weight: 850;
    margin-left: 6px;
    padding: 3px 7px;
    text-transform: uppercase;
    vertical-align: middle;
}

.be-profile-treatment-grid p,
.be-profile-doctors p {
    color: #687382;
    font-size: 12px;
    line-height: 1.35;
    margin: 0;
}

.be-profile-doctors article {
    align-items: center;
    border-top: 1px solid #e8edf4;
    display: grid;
    gap: 16px;
    grid-template-columns: 84px minmax(0, 1fr) auto;
    padding: 18px 0;
}

.be-profile-doctors article:first-of-type {
    border-top: 0;
}

.be-profile-doctor-photo {
    background: linear-gradient(145deg, #edf3fb 0%, #d4dfef 100%);
    border-radius: 14px;
    display: block;
    height: 104px;
    overflow: hidden;
    width: 76px;
}

.be-profile-doctor-photo img {
    display: block;
    height: 100%;
    object-fit: contain;
    object-position: center;
    width: 100%;
}

.be-profile-doctors a {
    color: #2f6df6;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.be-profile-cost-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
}

.be-success-age-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 18px;
}

.be-success-chart {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(18, 31, 54, 0.06);
    margin: 18px 0 0;
    padding: 24px 26px 20px;
}

.be-success-chart-title {
    color: #11151c;
    font-size: 15px;
    font-weight: 850;
    margin-bottom: 14px;
}

.be-success-chart-legend {
    align-items: center;
    color: #687382;
    display: flex;
    flex-wrap: wrap;
    font-size: 12.5px;
    font-weight: 650;
    gap: 8px 22px;
    margin: 14px 0 4px;
}

.be-success-chart-legend span::before {
    border-radius: 3px;
    content: "";
    display: inline-block;
    height: 12px;
    margin-right: 7px;
    width: 12px;
}

.be-success-chart-legend .is-national::before {
    background: #cfd8e6;
}

.be-success-chart-legend .is-clinic::before {
    background: #27b982;
}

.be-success-chart-legend .is-below::before {
    background: #e04f3c;
}

.be-success-chart-bars {
    align-items: end;
    border-bottom: 1px solid #e3eaf5;
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    height: 240px;
    margin-top: 6px;
    padding: 10px 0 0;
}

.be-success-bar-group {
    min-width: 0;
    text-align: center;
}

.be-success-bars {
    align-items: end;
    display: flex;
    gap: 8px;
    height: 100%;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
}

.be-success-bars > span {
    border-radius: 6px 6px 0 0;
    display: block;
    min-height: 8px;
    position: relative;
    width: 34px;
    max-width: 38%;
}

.be-success-bars .is-national {
    background: #cfd8e6;
}

.be-success-bars .is-clinic {
    background: #27b982;
}

.be-success-bars .is-below {
    background: #e04f3c;
}

.be-success-bars em {
    color: #11151c;
    font-size: 12.5px;
    font-style: normal;
    font-weight: 850;
    left: 50%;
    position: absolute;
    top: -21px;
    transform: translateX(-50%);
}

.be-success-bar-group strong {
    color: #11151c;
    display: block;
    font-size: 12px;
    font-weight: 850;
}

.be-success-xlabels {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 11px;
    padding: 0;
}

.be-success-xlabels span {
    color: #2f3845;
    font-size: 13px;
    font-weight: 850;
    text-align: center;
}

.be-success-age-grid article {
    background: #f3f7ff;
    border: 1px solid #e3eaf5;
    border-radius: 13px;
    padding: 20px 16px 22px;
    text-align: center;
}

.be-success-age-grid strong {
    color: #11151c;
    display: block;
    font-size: 17px;
    font-weight: 850;
    letter-spacing: 0;
    margin-bottom: 10px;
}

.be-success-age-grid span {
    color: #16805a;
    display: block;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
}

.be-success-age-grid article.is-below {
    background: #fff4f2;
}

.be-success-age-grid article.is-below span {
    color: #d53f32;
}

.be-profile-cost-grid .be-cost-card {
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(18, 31, 54, 0.06);
    display: flex;
    flex-direction: column;
    min-height: 132px;
    padding: 20px 20px 22px;
}

.be-profile-cost-grid .be-cost-card small {
    color: #7a8493;
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin: 0;
}

.be-profile-cost-grid .be-cost-value {
    color: #11151c;
    display: block;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 14px 0 0;
}

.be-profile-cost-grid .be-cost-card span {
    color: #7a8493;
    display: block;
    font-size: 12.5px;
    line-height: 1.4;
    margin-top: 8px;
}

.be-cost-free-row {
    align-items: center;
    display: flex;
    gap: 11px;
    margin-top: 14px;
}

.be-cost-free-row strong,
.be-cost-free-row a,
.be-cost-free-row .pill-free {
    background: #2f6df6;
    border-radius: 999px;
    color: #fff;
    flex: none;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    padding: 8px 18px;
    text-decoration: none;
}

.be-profile-cost-grid .be-cost-card .be-cost-free-row .pill-free {
    color: #fff;
}

.be-cost-free-row span,
.be-cost-free-row .cnote {
    color: #7a8493;
    font-size: 12.5px;
    line-height: 1.35;
    margin-top: 0 !important;
}

.be-profile-cost-grid .be-cost-afford {
    background: #f3f7ff;
}

.be-cost-dollar {
    align-items: center;
    background: #2f6df6;
    border-radius: 999px;
    color: #fff;
    display: flex;
    font-size: 20px;
    font-weight: 800;
    height: 46px;
    justify-content: center;
    margin-top: 14px;
    width: 46px;
}

.be-profile-cost-grid .be-cost-verdict {
    color: #178055;
    display: block;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.2;
    margin-top: 10px;
}

.be-profile-map-frame {
    background: #e7eef7;
    border-radius: 14px;
    height: 260px;
    overflow: hidden;
    position: relative;
}

.be-profile-map-frame::before {
    background-image: linear-gradient(#cedaeb 2px, transparent 2px), linear-gradient(90deg, #cedaeb 2px, transparent 2px);
    background-size: 120px 86px;
    content: "";
    inset: 0;
    opacity: 0.7;
    position: absolute;
}

.be-profile-map-frame iframe {
    border: 0;
    height: 100%;
    opacity: 1;
    position: relative;
    width: 100%;
    z-index: 1;
}

.be-profile-main .be-profile-reviews {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 34px 0;
    padding: 0;
}

.be-profile-main .be-profile-reviews h2 {
    margin-bottom: 16px;
}

.be-profile-reviews .be-review-block {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 34px;
    padding: 0;
}

.be-profile-reviews .be-review-summary {
    margin-bottom: 34px;
}

.be-profile-reviews .be-review-overall {
    align-items: center;
    display: flex;
    gap: 18px;
    margin-bottom: 8px;
}

.be-profile-reviews .be-review-big {
    color: #11151c;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.be-profile-reviews .be-review-overall .be-stars {
    color: #d8dee8;
    display: inline-flex !important;
    font-size: 19px;
    letter-spacing: 1.5px;
    line-height: 1;
    width: max-content;
}

.be-profile-reviews .be-review-sub {
    color: #69707c;
    font-size: 13.5px;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 5px;
}

.be-profile-reviews .be-review-list {
    padding: 0;
}

.be-profile-review {
    border-top: 1px solid #f0f3f8;
    padding: 22px 0;
}

.be-profile-review:first-child {
    border-top: 0;
    padding-top: 0;
}

.be-profile-review-head {
    align-items: center;
    display: flex;
    gap: 12px;
    margin-bottom: 9px;
}

.be-profile-review-head .be-review-avatar {
    border-radius: 50%;
    flex: 0 0 auto;
    height: 40px;
    width: 40px;
}

.be-profile-review-head img.be-review-avatar {
    display: block;
    object-fit: cover;
}

.be-profile-review-head span.be-review-avatar {
    align-items: center;
    background: #f8c944;
    color: #5a4410;
    display: flex;
    font-size: 14px;
    font-weight: 800;
    justify-content: center;
}

.be-profile-review-name {
    color: #11151c;
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.25;
}

.be-profile-review-meta {
    align-items: center;
    color: #9aa1ad;
    display: flex;
    flex-wrap: nowrap;
    font-size: 12.5px;
    font-weight: 500;
    gap: 8px;
    line-height: 1.35;
    margin-top: 2px;
}

.be-profile-review-meta .be-review-stars {
    color: #d8dee8;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
}

.be-profile-review-meta .be-review-score {
    color: #2b313b;
    font-weight: 700;
}

.be-profile-review-meta .be-review-time {
    color: #9aa1ad;
    font-weight: 500;
}

.be-review-verified {
    align-items: center;
    color: #1fa971;
    display: inline-flex;
    font-size: 11.5px;
    font-weight: 700;
    gap: 4px;
    line-height: 1;
    margin-left: auto;
    white-space: nowrap;
}

.be-review-verified svg {
    flex: none;
    height: 13px;
    width: 13px;
}

.be-profile-review > p {
    color: #2b313b;
    font-size: 14.5px;
    font-weight: 400;
    line-height: 1.62;
    margin: 0;
}

.be-review-see-all {
    align-items: center;
    background: #fff;
    border: 1px solid #e3eaf5;
    border-radius: 11px;
    color: #11151c;
    display: flex;
    font-size: 14.5px;
    font-weight: 700;
    justify-content: center;
    line-height: 1;
    margin: 14px auto 0;
    min-height: 44px;
    padding: 0 20px;
    text-decoration: none;
    transition: background .15s, border-color .15s, color .15s;
    width: max-content;
}

.be-review-see-all:hover {
    background: #eaf1fe;
    border-color: #2f6df6;
    color: #205ad6;
}

.be-review-empty {
    color: #6b7685;
    font-size: 14px;
    line-height: 1.55;
    margin: 0 0 14px;
}

.be-profile-main .be-clinic-form input,
.be-profile-main .be-clinic-form textarea,
.be-profile-main .be-clinic-form select {
    border-radius: 10px;
}

.be-profile-main .be-clinic-form button {
    background: #2f6df6;
    border-radius: 9px;
}

.be-contact-modal {
    display: none;
    inset: 0;
    position: fixed;
    z-index: 9999;
}

.be-contact-modal.is-open {
    display: block;
}

.be-contact-modal-backdrop {
    background: rgba(17, 21, 28, 0.46);
    inset: 0;
    position: absolute;
}

.be-contact-dialog {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 20px;
    box-shadow: 0 28px 90px rgba(18, 31, 54, 0.26);
    box-sizing: border-box;
    left: 50%;
    max-height: calc(100vh - 48px);
    max-width: 680px;
    overflow: auto;
    padding: 22px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
}

.be-contact-dialog-header {
    align-items: flex-start;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e8edf4;
}

.be-contact-dialog-header p {
    color: #2f6df6;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.be-contact-dialog-header h2 {
    color: #11151c;
    font-size: 24px;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.15;
    margin: 0;
}

.be-contact-dialog-header span {
    color: #687382;
    display: block;
    font-size: 13.5px;
    line-height: 1.45;
    margin-top: 7px;
}

.be-contact-dialog-header button {
    background: #fff;
    border: 1px solid #ccd4df;
    border-radius: 999px;
    color: #2f3845;
    cursor: pointer;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 800;
    min-height: 38px;
    padding: 8px 15px;
}

.be-contact-modal .be-clinic-form {
    border: 0;
    display: grid;
    gap: 12px 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    box-shadow: none;
    margin: 0;
    padding: 0;
}

.be-contact-modal .be-clinic-form h2 {
    display: none;
}

.be-contact-modal .be-clinic-form p {
    margin: 0;
}

.be-contact-modal .be-clinic-form .be-form-field-full,
.be-contact-modal .be-clinic-form button,
.be-contact-modal .be-form-notice {
    grid-column: 1 / -1;
}

.be-contact-modal .be-clinic-form label {
    color: #11151c;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 6px;
}

.be-contact-modal .be-clinic-form label span {
    color: #2f6df6;
}

.be-contact-modal .be-clinic-form input,
.be-contact-modal .be-clinic-form textarea,
.be-contact-modal .be-clinic-form select {
    background: #f8fafc;
    border: 1px solid #d7e0eb;
    border-radius: 11px;
    color: #11151c;
    font-size: 15px;
    min-height: 44px;
    padding: 10px 12px;
}

.be-contact-modal .be-clinic-form textarea {
    min-height: 108px;
    resize: vertical;
}

.be-contact-modal .be-clinic-form input:focus,
.be-contact-modal .be-clinic-form textarea:focus,
.be-contact-modal .be-clinic-form select:focus {
    background: #fff;
    border-color: #2f6df6;
    box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.12);
    outline: 0;
}

.be-contact-modal .be-clinic-form button {
    background: #2f6df6;
    border-radius: 11px;
    box-shadow: 0 12px 26px rgba(47, 109, 246, 0.24);
    font-size: 15px;
    margin-top: 2px;
    min-height: 48px;
    width: 100%;
}

.be-contact-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .be-contact-dialog {
        border-radius: 14px;
        left: 8px;
        max-height: calc(100dvh - 12px);
        max-width: none;
        padding: 10px;
        right: 8px;
        transform: translateY(-50%);
        width: auto;
    }

    .be-contact-dialog-header {
        align-items: center;
        gap: 8px;
        margin-bottom: 7px;
        padding-bottom: 7px;
    }

    .be-contact-dialog-header p {
        font-size: 9.5px;
        margin-bottom: 1px;
    }

    .be-contact-dialog-header h2 {
        font-size: 15px;
        line-height: 1.15;
    }

    .be-contact-dialog-header span {
        display: none;
    }

    .be-contact-dialog-header button {
        font-size: 0;
        min-height: 30px;
        padding: 0;
        position: relative;
        width: 30px;
    }

    .be-contact-dialog-header button::before,
    .be-contact-dialog-header button::after {
        background: currentColor;
        border-radius: 999px;
        content: "";
        height: 2px;
        left: 9px;
        position: absolute;
        top: 14px;
        width: 12px;
    }

    .be-contact-dialog-header button::before {
        transform: rotate(45deg);
    }

    .be-contact-dialog-header button::after {
        transform: rotate(-45deg);
    }

    .be-contact-modal .be-clinic-form {
        gap: 6px;
        grid-template-columns: 1fr;
    }

    .be-contact-modal .be-clinic-form label {
        font-size: 11px;
        margin-bottom: 1px;
    }

    .be-contact-modal .be-clinic-form input,
    .be-contact-modal .be-clinic-form textarea,
    .be-contact-modal .be-clinic-form select {
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.2;
        min-height: 34px;
        padding: 5px 9px;
    }

    .be-contact-modal .be-clinic-form textarea {
        min-height: 50px;
    }

    .be-contact-modal .be-clinic-form button {
        font-size: 13.5px;
        min-height: 38px;
    }
}

@media (max-width: 980px) {
    .be-profile-layout {
        grid-template-columns: 1fr;
    }

    .be-profile-aside {
        position: static;
    }

    .be-profile-highlight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .be-profile-cost-grid,
    .be-profile-treatment-grid,
    .be-success-age-grid,
    .be-success-chart-bars,
    .be-success-xlabels {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .be-profile-shell {
        max-width: none;
        padding: 0 16px 78px;
    }

    .be-profile-layout {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .be-profile-layout > *,
    .be-profile-main > * {
        box-sizing: border-box;
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }

    .be-profile-main {
        display: contents;
    }

    .be-profile-mobile-topbar {
        background: transparent;
        border: 0;
        display: block;
        height: 40px;
        left: 4px;
        margin: 0;
        max-width: none !important;
        padding: 0;
        position: fixed;
        top: 7px;
        width: 40px !important;
        z-index: 10004;
    }

    body.admin-bar .be-profile-mobile-topbar {
        top: 52px;
    }

    .be-profile-mobile-back {
        align-items: center;
        background: #fff;
        border: 1px solid #e2e7ef;
        border-radius: 12px;
        box-shadow: none;
        box-sizing: border-box;
        color: #11151c;
        display: inline-flex;
        height: 38px;
        justify-content: center;
        text-decoration: none;
        width: 38px;
    }

    .be-profile-mobile-back svg {
        height: 23px;
        width: 23px;
    }

    .be-profile-mobile-title {
        display: none;
    }

    .be-profile-hero {
        display: flex;
        flex-direction: column;
        margin: 0 -16px 16px;
        order: 1;
        max-width: none !important;
        width: 100vw !important;
    }

    .be-profile-aside {
        margin: 0 0 22px;
        order: 2;
    }

    .be-profile-mobile-tabs {
        backdrop-filter: saturate(1.4) blur(12px);
        background: rgba(255, 255, 255, 0.95);
        border-bottom: 1px solid #e8ecf2;
        border-top: 1px solid #f0f3f8;
        display: flex;
        gap: 6px;
        margin: 0 -16px 16px;
        max-width: none !important;
        order: 3;
        overflow-x: auto;
        padding: 9px 14px;
        position: sticky;
        scrollbar-width: none;
        top: var(--be-profile-tabs-top, 54px);
        width: calc(100% + 32px) !important;
        z-index: 9995;
    }

    .be-profile-mobile-tabs::-webkit-scrollbar {
        display: none;
    }

    .be-profile-mobile-tabs a {
        background: #fff;
        border: 1px solid #e2e7ef;
        border-radius: 999px;
        box-shadow: none;
        color: #69707c;
        flex: 0 0 auto;
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        min-width: 0;
        padding: 8px 14px;
        text-align: center;
        text-decoration: none;
    }

    .be-profile-mobile-tabs a.is-active {
        background: #11151c;
        border-color: #11151c;
        color: #fff;
    }

    .be-profile-mobile-tabs a:focus,
    .be-profile-mobile-tabs a:hover {
        outline: none;
    }

    .be-profile-mobile-tabs.is-stuck {
        left: 0;
        margin: 0;
        max-width: none !important;
        position: fixed;
        right: 0;
        top: var(--be-profile-tabs-top, 54px);
        width: 100vw !important;
        z-index: 9995;
    }

    .be-profile-mobile-tabs-placeholder {
        display: none;
        flex: 0 0 auto;
        order: 3;
        width: 100%;
    }

    .be-profile-mobile-tabs-placeholder.is-active {
        display: block;
    }

    .be-profile-highlights {
        border-top: 1px solid #e8ecf2;
        max-width: none !important;
        margin: 0 -16px;
        order: 4;
        padding: 26px 18px;
        width: calc(100% + 32px) !important;
    }

    .be-profile-main .be-clinic-section,
    .be-profile-main .be-clinic-form,
    .be-profile-main .be-clinic-map {
        background: transparent;
        border: 0;
        border-radius: 0;
        border-top: 1px solid #e8ecf2;
        box-shadow: none;
        color: #11151c;
        font-size: 16px;
        max-width: none !important;
        margin: 0 -16px;
        order: 5;
        padding: 26px 18px;
        width: calc(100% + 32px) !important;
    }

    .be-profile-highlights,
    .be-profile-main .be-clinic-section,
    .be-profile-main .be-clinic-map {
        scroll-margin-top: 108px;
    }

    .be-profile-main .be-profile-about,
    .be-profile-main .be-profile-treatments {
        border-top: 1px solid #e8ecf2;
    }

    .be-profile-main .be-profile-about {
        padding: 26px 18px !important;
    }

    .be-profile-main .be-clinic-map {
        padding-bottom: 14px;
    }

    .be-profile-main .be-clinic-map > p:last-child {
        margin-bottom: 0;
    }

    .be-profile-highlight-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .be-profile-gallery-track .be-profile-photo {
        flex-basis: 100%;
        min-width: 100%;
        scroll-snap-align: start;
    }

    .be-profile-gallery {
        border-radius: 0;
        margin: 0;
        order: -1;
        padding-bottom: 0;
    }

    .be-profile-gallery-track {
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        transform: none !important;
    }

    .be-profile-gallery-track::-webkit-scrollbar {
        display: none;
    }

    .be-profile-photo {
        aspect-ratio: 2.2 / 1;
        border-radius: 0;
        margin: 0;
        padding: 0;
    }

    .be-profile-photo.has-image {
        margin: 0 0 9px;
    }

    .be-profile-photo span {
        display: none;
    }

    .be-profile-gallery-nav {
        height: 40px;
        width: 40px;
    }

    .be-profile-gallery-prev {
        left: 0;
    }

    .be-profile-gallery-next {
        right: 0;
    }

    .be-profile-dots {
        display: none;
    }

    .be-profile-claim {
        align-items: flex-start;
        border-radius: 16px;
        gap: 12px;
        margin: 12px 0 28px;
        padding: 14px;
    }

    .be-profile-claim-icon {
        border-radius: 12px;
        height: 42px;
        width: 42px;
    }

    .be-profile-claim-icon svg {
        height: 21px;
        width: 21px;
    }

    .be-profile-claim-copy strong {
        font-size: 15px;
    }

    .be-profile-claim-copy span {
        font-size: 13px;
        line-height: 1.4;
    }

    .be-profile-claim-link {
        align-self: center;
        font-size: 0;
        gap: 0;
        margin-left: 4px;
    }

    .be-profile-claim-link svg {
        height: 20px;
        width: 20px;
    }

    .be-profile-treatment-grid,
    .be-profile-cost-grid,
    .be-success-age-grid {
        grid-template-columns: 1fr;
    }

    .be-profile-cost-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .be-profile-hero h1 {
        font-size: 24px;
        font-weight: 800;
        letter-spacing: -0.03em;
        line-height: 1.18;
        margin: 0 16px 7px;
        order: 1;
    }

    .be-profile-ratingline {
        flex-wrap: wrap;
        font-size: 13px;
        gap: 7px;
        margin: 0 16px 8px;
        order: 0;
        padding-top: 9px;
    }

    .be-profile-address {
        color: #69707c;
        font-size: 13px;
        line-height: 1.45;
        margin: 0 16px;
        order: 2;
    }

    .be-profile-address span {
        border-radius: 7px;
        font-size: 12px;
        margin: 11px 0 0;
        padding: 4px 10px;
    }

    .be-profile-highlights h2,
    .be-profile-main .be-clinic-section h2,
    .be-profile-main .be-clinic-form h2 {
        font-size: 19px;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.12;
        margin-bottom: 15px;
    }

    .be-profile-highlight-grid span,
    .be-profile-badges article > span {
        border-radius: 12px;
        height: 42px;
        width: 42px;
    }

    .be-profile-highlight-grid article {
        align-items: flex-start;
        border-top: 1px solid #f0f3f8;
        display: grid;
        gap: 13px;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px 0;
    }

    .be-profile-highlight-grid article:first-child {
        border-top: 0;
        padding-top: 15px;
    }

    .be-profile-highlight-grid article:last-child {
        padding-bottom: 0;
    }

    .be-profile-highlight-grid article > span {
        margin: 0;
    }

    .be-profile-highlight-grid h3 {
        font-size: 14.5px;
        grid-column: 2;
        grid-row: 1;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .be-profile-highlight-grid p {
        font-size: 13px;
        grid-column: 2;
        grid-row: 1;
        line-height: 1.5;
        margin-top: 21px;
    }

    .be-profile-appt {
        background: transparent;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }

    .be-profile-appt-status {
        display: none;
    }

    .be-profile-appt-body {
        align-items: start;
        display: grid;
        gap: 10px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 0;
    }

    .be-profile-primary {
        border-radius: 12px;
        box-sizing: border-box;
        font-size: 15px;
        font-weight: 700;
        height: 50px;
        min-height: 50px;
        align-self: start;
    }

    .be-profile-primary {
        grid-column: 2;
        grid-row: 1;
        padding: 13px 18px;
    }

    .be-profile-side-location {
        display: none;
    }

    .be-profile-mobile-sticky-cta {
        align-items: center;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e8ecf2;
        bottom: 0;
        box-shadow: 0 -10px 24px rgba(17, 24, 39, 0.10);
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        left: 0;
        opacity: 0;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
        pointer-events: none;
        position: fixed;
        right: 0;
        transform: translateY(100%);
        transition: opacity .18s ease, transform .18s ease;
        z-index: 9998;
    }

    .be-profile-mobile-sticky-cta.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .be-profile-mobile-sticky-button {
        align-items: center;
        background: #2f6df6;
        border-radius: 12px;
        box-shadow: 0 10px 22px rgba(47, 109, 246, .22);
        box-sizing: border-box;
        color: #fff;
        display: inline-flex;
        font-size: 15px;
        font-weight: 850;
        height: 48px;
        justify-content: center;
        line-height: 1;
        max-width: 560px;
        min-height: 0;
        padding: 0 18px;
        text-align: center;
        text-decoration: none;
        width: 100%;
    }

    .be-profile-badges {
        display: none;
        gap: 16px;
        margin-top: 20px;
        padding: 0 4px;
    }

    .be-profile-treatment-grid article {
        background: transparent;
        border: 0;
        border-radius: 0;
        border-top: 1px solid #f0f3f8;
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 13px 0;
    }

    .be-profile-treatment-grid article:first-child {
        border-top: 0;
        padding-top: 0;
    }

    .be-profile-treatment-grid article:last-child {
        padding-bottom: 0;
    }

    .be-profile-treatment-grid article > span {
        height: 38px;
        width: 38px;
    }

    .be-profile-treatment-grid h3 {
        font-size: 14px;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .be-profile-treatment-grid p {
        font-size: 12.5px;
        line-height: 1.4;
    }

    .be-success-chart {
        border-radius: 15px;
        overflow: hidden;
        padding: 20px 16px 16px;
    }

    .be-success-chart-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .be-success-chart-legend {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        margin-bottom: 8px;
    }

    .be-success-chart-bars {
        align-items: end;
        border-bottom: 1px solid #e3eaf5;
        gap: 6px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        height: 158px;
        margin-top: 10px;
        overflow: visible;
        padding: 18px 0 12px;
    }

    .be-success-bars {
        gap: 4px;
        height: 128px;
    }

    .be-success-bars > span {
        border-radius: 5px 5px 0 0;
        height: var(--bar-height-mobile, var(--bar-height)) !important;
        max-width: 42%;
        width: 17px;
    }

    .be-success-bars em {
        font-size: 11px;
        line-height: 1;
        top: -15px;
    }

    .be-success-xlabels {
        gap: 6px;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin-top: 14px;
    }

    .be-success-xlabels span {
        font-size: 10px;
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    .be-success-age-grid article {
        padding: 18px 14px;
    }

    .be-profile-doctors article {
        align-items: center;
        border-top: 1px solid #f0f3f8;
        gap: 10px 14px;
        grid-template-columns: 58px minmax(0, 1fr);
        padding: 14px 0;
    }

    .be-profile-doctors article:first-of-type {
        border-top: 0;
    }

    .be-profile-doctor-photo {
        border-radius: 50%;
        height: 58px;
        width: 58px;
    }

    .be-profile-doctors a {
        grid-column: 2;
        justify-self: start;
    }

    .be-profile-cost-grid .be-cost-card {
        border-radius: 13px;
        min-height: 112px;
        padding: 16px 14px;
    }

    .be-profile-cost-grid .be-cost-value {
        font-size: 24px;
    }

    .be-cost-free-row {
        align-items: flex-start;
        gap: 10px;
    }

    .be-cost-free-row .pill-free {
        font-size: 14px;
        padding: 9px 18px;
    }

    .be-gallery-lightbox-frame {
        inset: 18px 12px 56px;
    }

    .be-gallery-lightbox-frame img {
        border-radius: 13px;
        max-height: calc(100vh - 150px);
        max-width: calc(100vw - 24px);
    }

    .be-gallery-lightbox-close {
        min-height: 38px;
        right: 14px;
        top: 14px;
    }

    .be-gallery-lightbox-nav {
        bottom: 14px;
        height: 42px;
        top: auto;
        transform: none;
        width: 42px;
    }

    .be-gallery-lightbox-prev {
        left: calc(50% - 52px);
    }

    .be-gallery-lightbox-next {
        right: calc(50% - 52px);
    }

    .be-gallery-lightbox-frame figcaption {
        bottom: -42px;
        font-size: 12px;
        max-width: calc(100vw - 32px);
    }
}

@media (max-width: 390px) {

    .be-profile-mobile-topbar {
        left: 3px;
        width: 36px !important;
    }

    .be-profile-mobile-back {
        height: 36px;
        width: 36px;
    }

    .be-profile-mobile-back svg {
        height: 22px;
        width: 22px;
    }
}

.be-contact-success {
    display: grid;
    gap: 16px;
    padding: 8px 0 4px;
}

.be-contact-success .be-form-success {
    margin: 0;
}

/*Moved from clinics.css: single-clinic, be-clinic-profile, be-clinic-section, be-clinic-success, be-clinic-map
 */

@media (max-width: 640px) {

    body.single-clinic .be-site-header .be-site-brand {
        margin-left: 54px;
        max-width: calc(100vw - 240px);
        min-width: 0;
        overflow: hidden;
    }

    body.single-clinic .be-site-header .wp-block-site-logo {
        min-width: 0;
        overflow: hidden;
    }

    body.single-clinic .be-site-header .wp-block-site-logo img {
        max-width: min(132px, calc(100vw - 248px));
    }

    body.single-clinic footer.wp-block-template-part {
        margin-top: 0 !important;
    }
}

@media (max-width: 390px) {
    body.single-clinic .be-site-header .be-site-brand {
        margin-left: 42px;
        max-width: calc(100vw - 220px);
    }

    body.single-clinic .be-site-header .wp-block-site-logo img {
        max-width: min(96px, calc(100vw - 222px));
    }
}

.be-clinic-map {
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    margin: 24px 0;
    overflow: hidden;
}

.be-clinic-map iframe {
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
    min-height: 260px;
    width: 100%;
}

.be-clinic-section {
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 10px;
    margin: 24px 0;
    padding: 18px;
}

.be-clinic-section h2 {
    margin-top: 0;
}

.be-profile-other-locations {
    overflow: hidden;
    padding: 22px;
}

.be-other-locations-heading {
    align-items: flex-start;
    display: flex;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.be-profile-other-locations h2 {
    margin-bottom: 6px;
}

.be-other-locations-heading p {
    color: #697386;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.be-other-locations-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.be-other-locations-arrow {
    align-items: center;
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 50%;
    color: #11151c;
    cursor: pointer;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    padding: 0;
    transition: border-color 150ms ease, color 150ms ease, opacity 150ms ease;
    width: 38px;
}

.be-other-locations-arrow:hover:not(:disabled) {
    border-color: #2f6df6;
    color: #2f6df6;
}

.be-other-locations-arrow:focus-visible {
    box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.18);
    outline: 0;
}

.be-other-locations-arrow:disabled {
    cursor: default;
    opacity: 0.32;
}

.be-other-locations-arrow svg {
    height: 18px;
    width: 18px;
}

.be-other-locations-track {
    display: flex;
    gap: 14px;
    margin: 0 -2px;
    overflow-x: auto;
    padding: 2px 2px 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-color: #cfd8e6 transparent;
    scrollbar-width: thin;
}

.be-other-location-card {
    background: #fff;
    border: 1px solid #dbe3ef;
    border-radius: 12px;
    display: flex;
    flex: 0 0 calc((100% - 28px) / 3);
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.be-other-location-card:not(.is-current):hover {
    border-color: #2f6df6;
    box-shadow: 0 10px 24px rgba(22, 40, 74, 0.1);
    transform: translateY(-2px);
}

.be-other-location-card.is-current {
    border-color: #2f6df6;
}

.be-other-location-card-link {
    inset: 0;
    position: absolute;
    z-index: 2;
}

.be-other-location-card-link:focus-visible {
    border-radius: 11px;
    box-shadow: inset 0 0 0 3px rgba(47, 109, 246, 0.3);
    outline: 0;
}

.be-other-location-photo {
    aspect-ratio: 16 / 9;
    background: #e9eff8;
    overflow: hidden;
    position: relative;
}

.be-other-location-photo.is-placeholder::before {
    border: 2px solid #a9b6c8;
    border-radius: 3px;
    content: "";
    height: 18px;
    left: 50%;
    opacity: 0.7;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
}

.be-other-location-photo.is-placeholder::after {
    border-bottom: 2px solid #a9b6c8;
    border-left: 2px solid #a9b6c8;
    content: "";
    height: 8px;
    left: 50%;
    opacity: 0.7;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -35%) rotate(-45deg);
    width: 8px;
}

.be-other-location-photo img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.be-other-location-current {
    background: #2f6df6;
    border-radius: 5px;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    left: 10px;
    letter-spacing: 0;
    line-height: 1;
    padding: 6px 8px;
    position: absolute;
    text-transform: uppercase;
    top: 10px;
}

.be-other-location-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px;
}

.be-other-location-body h3 {
    color: #11151c;
    font-size: 16px;
    font-weight: 750;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0 0 7px;
}

.be-other-location-body p {
    color: #697386;
    display: -webkit-box;
    font-size: 12.5px;
    line-height: 1.45;
    margin: 0 0 15px;
    min-height: 36px;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.be-other-location-footer {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: auto;
}

.be-other-location-rating {
    align-items: center;
    color: #2f3845;
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 5px;
}

.be-other-location-stars {
    color: #d8dee8;
    display: inline-block;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
    position: relative;
    white-space: nowrap;
}

.be-other-location-stars::before {
    color: #f5a623;
    content: "★★★★★";
    inset: 0 auto 0 0;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: var(--be-rating-fill, 0%);
}

.be-other-location-view {
    color: #2f6df6;
    font-size: 12px;
    font-weight: 750;
}

.be-other-location-view span {
    font-size: 15px;
    margin-left: 2px;
}

@media (max-width: 820px) {
    .be-other-location-card {
        flex-basis: calc((100% - 14px) / 2);
    }
}

@media (max-width: 600px) {
    .be-profile-other-locations {
        padding: 18px 16px;
    }

    .be-other-locations-heading {
        margin-bottom: 15px;
    }

    .be-other-locations-controls {
        display: none;
    }

    .be-other-locations-track {
        margin-right: -16px;
        padding-right: 32px;
        scrollbar-width: none;
    }

    .be-other-locations-track::-webkit-scrollbar {
        display: none;
    }

    .be-other-location-card {
        flex-basis: min(82vw, 250px);
    }
}

.be-clinic-success table {
    border-collapse: collapse;
    width: 100%;
}

.be-clinic-success th,
.be-clinic-success td {
    border-bottom: 1px solid #eef1f5;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.be-clinic-success-label {
    align-items: center;
    background: #f3f7f5;
    border: 1px solid #d9e7e1;
    border-radius: 999px;
    color: #315c55;
    display: inline-flex;
    gap: 7px;
    font-weight: 700;
    margin: 0 0 12px;
    padding: 7px 12px;
}

.be-clinic-success-label svg {
    height: 15px;
    width: 15px;
}

/*Moved from clinics.css: be-icon svg, be-icon-custom
 */.be-icon svg {
    display: block;
    height: 22px;
    width: 22px;
}.be-icon-custom img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}
