/* Moved from directory-results.css: .be-home */

.be-home {
    background: #f6f8fc;
    color: #11151c;
    font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    margin-block-start: 0;
    margin-left: calc(50% - 50vw);
    max-width: none;
    position: relative;
    width: 100vw;
}

.home .wp-block-post-title,
.page-id-6080 .wp-block-post-title,
body:has(.be-home) .wp-block-post-title {
    display: none;
}

body:has(.be-home) {
    overflow-x: hidden;
}

body:has(.be-home) .wp-block-group:has(.be-home),
body:has(.be-home) .wp-block-post-content:has(.be-home),
body:has(.be-home) main.wp-block-group:has(.be-home) {
    margin-bottom: 0;
    margin-top: 0;
    padding: 0;
}

body:has(.be-home) .wp-block-post-content:has(.be-home) > p,
body:has(.be-home) .be-home > p {
    display: none;
    margin: 0;
}

body:has(.be-home) footer.wp-block-template-part {
    margin-block-start: 0;
    margin-top: 0;
}

.be-home * {
    box-sizing: border-box;
}

.be-home > section {
    margin-block: 0;
}

.be-home-wrap {
    margin: 0 auto;
    max-width: 1120px;
    padding: 0 28px;
}

.be-home-hero {
    background: linear-gradient(180deg, #fff 0%, #f6f8fc 100%);
    padding: 78px 0 72px;
    text-align: center;
}

.be-home h1,
.be-home h2,
.be-home h3 {
    color: #11151c;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0;
}

.be-home-hero h1 {
    font-size: 76px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.be-home-hero h1 span {
    display: block;
}

.be-home-hero h1 em,
.be-home-overview h2 em,
.be-home-advisors h2 em {
    color: #2f6bed;
    font-style: italic;
}

.be-home-hero h1 em {
    color: #11151c;
    display: inline-block;
    position: relative;
    white-space: nowrap;
}

.be-home-hero h1 em::after {
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'><path d='M2 8 C 50 2, 150 2, 198 7' stroke='%23F0A52E' stroke-width='4' fill='none' stroke-linecap='round'/><path d='M6 12 C 60 8, 150 8, 194 11' stroke='%23F0A52E' stroke-width='3' fill='none' stroke-linecap='round' opacity='.6'/></svg>") no-repeat center / 100% 100%;
    bottom: -2px;
    content: "";
    height: 14px;
    left: -2px;
    pointer-events: none;
    position: absolute;
    right: -2px;
}

.be-home-search {
    align-items: stretch;
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(17, 21, 28, .06), 0 30px 70px -34px rgba(17, 21, 28, .28);
    display: flex;
    gap: 6px;
    height: 90px;
    margin: 42px auto 0;
    max-width: 720px;
    padding: 12px;
}

.be-home-search label {
    border-radius: 12px;
    cursor: pointer;
    flex: 1;
    padding: 8px 12px;
    position: relative;
    text-align: left;
}

.be-home-search label:focus-within {
    background: #f3f7fe;
}

.be-home-search br {
    display: none;
}

.be-home-search label + label {
    border-left: 1px solid #e8ecf2;
    border-radius: 0 12px 12px 0;
}

.be-home-search label > span {
    color: #69707c;
    display: block;
    font-size: 12px;
    font-weight: 600;
}

.be-home-search strong {
    align-items: center;
    color: #11151c;
    display: flex;
    font-size: 16px;
    font-weight: 700;
    gap: 8px;
    margin-top: 4px;
}

.be-home-search select {
    appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #2b313b;
    cursor: pointer;
    flex: 1 1 auto;
    font: 700 14px/1.2 "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    height: 40px;
    min-height: 40px;
    min-width: 0;
    outline: none;
    padding: 8px 34px 8px 12px;
    pointer-events: none;
}

.be-home-search select:focus {
    box-shadow: none;
}

.be-home-search select option {
    background: #fff;
    color: #2b313b;
    font: 700 14px/1.4 "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    padding: 10px 12px;
}

.be-home-location-dropdown {
    background: #fff;
    border: 1px solid #dce4f1;
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
    left: 12px;
    max-height: 280px;
    overflow-y: auto;
    padding: 8px;
    position: absolute;
    right: 12px;
    top: calc(100% + 8px);
    z-index: 40;
}

.be-home-location-option {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 10px;
    color: #111722;
    cursor: pointer;
    display: flex;
    font: 700 14px/1.3 "Hanken Grotesk", system-ui, -apple-system, sans-serif;
    justify-content: space-between;
    min-height: 40px;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.be-home-location-option:hover,
.be-home-location-option[aria-selected="true"] {
    background: #f6f8fc;
    color: #2f6df6;
}

.be-home-location-option:focus {
    box-shadow: none;
    outline: none;
}

.be-home-search svg {
    color: #2f6bed;
    flex: 0 0 auto;
    height: 16px;
    width: 16px;
}

.be-home-search strong svg:last-child {
    color: #9aa1ad;
    margin-left: auto;
    width: 15px;
}

.be-home-search > button,
.be-home-concierge a {
    align-items: center;
    background: #2f6bed;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px -12px rgba(47, 107, 237, .8);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: 800 15px/1 "Hanken Grotesk", system-ui, sans-serif;
    justify-content: center;
    padding: 0 26px;
    text-decoration: none;
}

.be-home-quiz {
    background: #f6efe0;
    border: 1px solid #ebdfc8;
    border-radius: 16px;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin: 26px auto 0;
    max-width: 720px;
    padding: 18px 26px;
}

.be-home-quiz br,
.be-home-quiz > p:empty {
    display: none;
}

.be-home-quiz > div {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
}

.be-home-quiz strong,
.be-home-quiz span,
.be-home-quiz p {
    color: #2b313b;
    font-size: 15px;
    font-weight: 600;
}

.be-home-quiz a {
    align-items: center;
    background: #fff;
    border: 1px solid #ebdfc8;
    border-radius: 999px;
    color: #11151c;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 800;
    gap: 7px;
    margin-top: 0;
    padding: 9px 16px;
    text-decoration: none;
}

.be-home-quiz a svg {
    color: #f0a52e;
    height: 14px;
    width: 14px;
}

.be-home-quiz p,
.be-home-concierge p {
    align-items: center;
    color: #69707c;
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 0;
}

.be-home-quiz > p:first-of-type {
    flex: 0 0 auto;
}

.be-home-quiz > p:nth-of-type(2) {
    flex: 0 0 100%;
    margin-top: 0;
}

.be-home-concierge p {
    justify-content: flex-start;
    margin-top: 22px;
}

.be-home-avatars {
    align-items: center;
    display: inline-flex;
}

.be-home-avatars i {
    background-image: url("home-patient-avatars-v2.webp");
    background-repeat: no-repeat;
    background-size: 130px 26px;
    border: 2px solid #f6efe0;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(17, 21, 28, .08);
    display: block;
    height: 26px;
    object-fit: cover;
    overflow: hidden;
    position: relative;
    width: 26px;
}

.be-home-avatars i + i {
    margin-left: -9px;
}

.be-home-avatars i:nth-child(1) { background-position: 0 0; }
.be-home-avatars i:nth-child(2) { background-position: -26px 0; }
.be-home-avatars i:nth-child(3) { background-position: -52px 0; }
.be-home-avatars i:nth-child(4) { background-position: -78px 0; }
.be-home-avatars i:nth-child(5) { background-position: -104px 0; }

.be-home-overview {
    padding: 36px 0 92px;
}

.be-home-overview h2 {
    font-size: 40px;
    max-width: 780px;
}

.be-home-features {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 44px;
}

.be-home-features article,
.be-home-article-grid article {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(17, 21, 28, .05), 0 16px 40px -24px rgba(17, 21, 28, .2);
    padding: 28px;
}

.be-home-features article > span {
    align-items: center;
    background: #eaf1fe;
    border-radius: 14px;
    color: #205ad6;
    display: flex;
    height: 48px;
    justify-content: center;
    margin-bottom: 52px;
    width: 48px;
}

.be-home-features svg {
    height: 24px;
    width: 24px;
}

.be-home h3 {
    font-size: 19px;
}

.be-home p {
    color: #69707c;
    font-size: 14.5px;
    line-height: 1.6;
}

.be-home-features p,
.be-home-article-grid p {
    margin-top: 10px;
}

.be-home-cities {
    padding: 54px 0 0;
}

.be-home-city-card {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 26px;
    box-shadow: 0 2px 6px rgba(17, 21, 28, .05), 0 16px 40px -24px rgba(17, 21, 28, .2);
    padding: 54px 56px 59px;
    text-align: center;
}

.be-home-city-card > p,
.be-home-articles > .be-home-wrap > p {
    color: #2f6bed;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
    margin: 0;
}

.be-home-city-card h2,
.be-home-advisors h2,
.be-home-articles h2 {
    font-size: 32px;
    margin-top: 10px;
    text-align: center;
}

.be-home-country-pills {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.be-home-country-pills button {
    align-items: center;
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 999px;
    color: #2b313b;
    cursor: pointer;
    display: inline-flex;
    font: 800 14px/1 "Hanken Grotesk", system-ui, sans-serif;
    gap: 6px;
    min-height: 38px;
    padding: 0 18px;
}

.be-home-country-pills button.is-active {
    background: #2f6bed;
    border-color: #2f6bed;
    color: #fff;
}

.be-home-country-pills button span {
    display: inline-flex;
    font-size: 16px;
    line-height: 1;
    margin: 0;
}

.be-home-city-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0;
    margin-top: 38px;
    max-width: none;
    width: 100%;
    text-align: left;
}

.be-home-city-grid[hidden] {
    display: none !important;
}

.be-home-city-card a {
    border-top: 1px solid #f0f3f8;
    padding: 22px 8px;
    text-decoration: none;
}

.be-home-city-card a:nth-of-type(-n+4) {
    border-top: 0;
}

.be-home-city-grid > br {
    display: none;
}

.be-home-city-card a br {
    display: none;
}

.be-home-city-card strong {
    color: #11151c;
    display: block;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.be-home-city-card span {
    color: #69707c;
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    margin-top: 3px;
}

.be-home-city-card {
    font-size: 16px;
}

.be-home-advisors,
.be-home-articles {
    padding: 96px 0;
    text-align: center;
}

.be-home-advisor-grid,
.be-home-article-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
}

.be-home-advisor-grid article {
    text-align: center;
}

.be-home-advisor-grid article > span {
    background: linear-gradient(150deg, #e8eef7, #dde6f3 55%, #cdd9ec);
    border-radius: 50%;
    display: block;
    height: 132px;
    margin: 0 auto 18px;
    width: 132px;
}

.be-home-advisor-grid article > span img {
    border-radius: 50%;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.be-home-advisor-grid p {
    margin: 7px auto 0;
    max-width: 280px;
}

.be-home-advisor-grid article > p:empty {
    display: none;
}

.be-home-advisor-link {
    align-items: center;
    background: #eef1f7;
    border-radius: 50%;
    color: #2f6bed;
    display: inline-flex;
    flex: 0 0 auto;
    height: 28px;
    justify-content: center;
    margin-left: 8px;
    vertical-align: middle;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, transform .15s ease;
    width: 28px;
}

.be-home-advisor-link:hover {
    background: #2f6bed;
    color: #fff;
    transform: translateY(-1px);
}

.be-home-advisor-link svg {
    height: 16px;
    width: 16px;
}

.be-home-advisor-grid h3 {
    align-items: center;
    display: inline-flex;
    justify-content: center;
}

.be-home-advisors-intro {
    margin: 12px auto 0;
    max-width: 660px;
    text-align: center;
}

.be-home-articles {
    background: transparent;
    border-top: 1px solid #e8ecf2;
}

.be-home-article-grid {
    text-align: left;
}

.be-home-article-grid article {
    overflow: hidden;
    padding: 0;
}

.be-home-article-image {
    align-items: center;
    background: linear-gradient(150deg, #e8eef7, #dde6f3 55%, #cdd9ec);
    display: flex;
    height: 190px;
    justify-content: center;
    overflow: hidden;
}

.be-home-article-image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.be-home-article-image svg {
    color: rgba(58, 74, 102, .38);
    height: 28px;
    width: 28px;
}

.be-home-article-grid article > div {
    padding: 24px;
}

.be-home-article-grid article > div > span {
    color: #2f6bed;
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.be-home-article-grid a {
    color: inherit;
    text-decoration: none;
}

.be-home-concierge {
    padding: 0 0 96px;
}

.be-home-concierge .be-home-wrap > div {
    align-items: center !important;
    background: #f6efe0;
    border: 1px solid #ebdfc8;
    border-radius: 26px;
    color: #11151c;
    display: grid !important;
    font-size: 16px;
    gap: 30px;
    grid-template-columns: minmax(0, 1fr) 280px;
    line-height: 1.5;
    overflow: hidden;
    padding: 50px 56px;
}

.be-home-concierge-copy {
    min-width: 0;
}

.be-home-concierge-copy > p:empty,
.be-home-concierge .be-home-wrap > div > p:empty {
    display: none !important;
}

.be-home-concierge h2 {
    font-size: 34px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 420px;
}

.be-home-concierge .be-home-concierge-copy > p:first-of-type {
    display: block;
    margin: 0;
}

.be-home-concierge .be-home-concierge-copy > a,
.be-home-concierge .be-home-concierge-copy > p:first-of-type > a {
    align-items: center;
    background: #2f6bed;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 10px 24px -12px rgba(47, 107, 237, .8);
    color: #fff;
    display: inline-flex;
    font-size: 14.5px;
    font-weight: 700;
    gap: 7px;
    justify-content: center;
    line-height: 1.5;
    margin-top: 26px;
    min-height: 47.75px;
    padding: 13px 24px;
    text-align: center;
    text-decoration: none;
}

.be-home-concierge-btn {
    border-radius: 10px;
    min-width: 0;
}

.be-home-concierge figure svg {
    width: 280px;
    height: 220px;
}

.be-home-concierge figure {
    place-self: end;
    margin: 0;
    max-height: 220px;
    overflow: hidden;
    width: 280px;
    min-width: 280px;
}

.be-home-concierge svg {
    display: block;
    height: 220px;
    max-width: 100%;
    width: 280px;
}

@media (max-width: 920px) {
    .be-home-hero h1 {
        font-size: 56px;
    }

    .be-home-features,
    .be-home-advisor-grid,
    .be-home-article-grid {
        grid-template-columns: 1fr;
    }

    .be-home-city-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }

    .be-home-city-card a:nth-of-type(-n+4) {
        border-top: 0;
    }

    .be-home-concierge .be-home-wrap > div {
        grid-template-columns: 1fr;
    }

    .be-home-concierge figure {
        display: none;
    }
}

@media (max-width: 640px) {
    .be-home-wrap {
        padding: 0 16px;
    }

    .be-home-concierge .be-home-wrap {
        padding: 0 16px;
        width: 100%;
    }

    .be-home-hero {
        padding: 30px 0 42px;
    }

    .be-home-hero h1 {
        font-size: 32px;
        line-height: 1.12;
    }

    .be-home-hero h1 em {
        padding-bottom: 3px;
    }

    .be-home-hero h1 em::after {
        bottom: -7px;
        height: 10px;
        left: -1px;
        right: -1px;
    }

    .be-home-search {
        flex-wrap: wrap;
        height: auto;
        margin-top: 22px;
        padding: 8px;
    }

    .be-home-search label {
        flex: 1 1 100%;
        padding: 8px 12px;
    }

    .be-home-search label + label {
        border-left: 0;
        border-top: 1px solid #e8ecf2;
        border-radius: 12px;
    }

    .be-home-search > button {
        min-height: 42px;
        padding: 12px;
        width: 100%;
    }

    .be-home-search strong {
        font-size: 15px;
        line-height: 1.25;
        min-height: 22px;
    }

    .be-home-search select {
        height: 24px;
        min-height: 24px;
        padding-bottom: 4px;
        padding-top: 4px;
    }

    .be-home-quiz {
        border-radius: 15px;
        gap: 8px;
        margin: 14px auto 0;
        max-width: 390px;
        padding: 12px 8px 13px;
    }

    .be-home-quiz > div {
        align-items: center;
        flex-direction: column;
        gap: 5px;
        line-height: 1.22;
        width: 100%;
    }

    .be-home-quiz strong,
    .be-home-quiz > div > span {
        font-size: 13px;
        line-height: 1;
        text-align: center;
    }

    .be-home-quiz strong {
        font-weight: 800;
    }

    .be-home-quiz > div > span {
        font-weight: 700;
        margin-top: 0;
    }

    .be-home-quiz a {
        flex-basis: auto;
        font-size: 13px;
        min-height: 36px;
        margin-top: 2px;
        padding: 7px 17px;
    }

    .be-home-quiz a svg {
        height: 12px;
        width: 12px;
    }

    .be-home-quiz p {
        color: #69707c;
        flex-direction: column;
        font-size: 12.5px;
        font-weight: 700;
        gap: 6px;
        line-height: 1.25;
        width: 100%;
    }

    .be-home-avatars i {
        background-size: 100px 20px;
        height: 20px;
        width: 20px;
    }

    .be-home-avatars i + i {
        margin-left: -7px;
    }

    .be-home-avatars i:nth-child(1) { background-position: 0 0; }
    .be-home-avatars i:nth-child(2) { background-position: -20px 0; }
    .be-home-avatars i:nth-child(3) { background-position: -40px 0; }
    .be-home-avatars i:nth-child(4) { background-position: -60px 0; }
    .be-home-avatars i:nth-child(5) { background-position: -80px 0; }

    .be-home-concierge p {
        align-items: center;
        flex-direction: column;
        gap: 8px;
    }

    .be-home-overview,
    .be-home-advisors,
    .be-home-articles {
        padding: 20px 0;
    }

    .be-home-overview h2,
    .be-home-city-card h2,
    .be-home-advisors h2,
    .be-home-articles h2,
    .be-home-concierge h2 {
        font-size: 28px;
        line-height: 1.12;
    }

    .be-home-concierge h2 {
        font-size: 34px;
        line-height: 1.1;
    }

    .be-home-concierge p:has(.be-home-avatars) {
        flex-direction: row;
        gap: 10px;
        line-height: 1.5;
    }

    .be-home-features {
        gap: 12px;
        margin-top: 24px;
    }

    .be-home-features article {
        border-radius: 16px;
        padding: 18px;
    }

    .be-home-features article > span {
        border-radius: 12px;
        height: 38px;
        margin-bottom: 22px;
        width: 38px;
    }

    .be-home-features svg {
        height: 20px;
        width: 20px;
    }

    .be-home h3 {
        font-size: 17px;
    }

    .be-home p {
        font-size: 13.5px;
        line-height: 1.5;
    }

    .be-home-city-card {
        border-radius: 20px;
        padding: 30px 18px 32px;
    }

    .be-home-city-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        margin-top: 26px;
    }

    .be-home-city-card a {
        padding: 14px 6px;
    }

    .be-home-city-card a:nth-of-type(-n+4) {
        border-top: 1px solid #f0f3f8;
    }

    .be-home-city-card a:nth-of-type(-n+2) {
        border-top: 0;
    }

    .be-home-city-card strong {
        font-size: 14px;
    }

    .be-home-city-card span {
        font-size: 12px;
        margin-top: 2px;
    }

    .be-home-advisor-grid,
    .be-home-article-grid {
        gap: 14px;
        margin-top: 24px;
    }

    .be-home-advisor-grid article > span {
        height: 96px;
        margin-bottom: 14px;
        width: 96px;
    }

    .be-home-article-image {
        height: 150px;
    }

    .be-home-article-grid article {
        border-radius: 16px;
    }

    .be-home-article-grid article > div {
        padding: 18px;
    }

    .be-home-concierge {
        padding-bottom: 34px;
    }

    .be-home-concierge .be-home-wrap > div {
        border-radius: 18px;
        gap: 18px;
        margin: 0 auto;
        max-width: 343px;
        padding: 28px 24px 30px;
        text-align: center;
    }

    .be-home-concierge figure {
        display: flex;
        grid-row: 1;
        justify-content: center;
        margin: -4px auto 0;
        max-height: none;
        min-width: 0;
        order: 0;
        overflow: visible;
        width: 126px;
    }

    .be-home-concierge figure svg,
    .be-home-concierge svg {
        height: 96px;
        width: 126px;
    }

    .be-home-concierge-copy {
        display: contents;
    }

    .be-home-concierge h2 {
        font-size: 27px;
        grid-row: 2;
        line-height: 1.08;
        margin: 0 auto;
        max-width: 285px;
        order: 1;
    }

    .be-home-concierge .be-home-concierge-copy > p:first-of-type {
        grid-row: 3;
        margin: 0;
        order: 2;
    }

    .be-home-concierge p:has(.be-home-avatars) {
        align-items: center;
        color: #69707c;
        display: flex;
        font-size: 12.5px;
        font-weight: 700;
        gap: 9px;
        grid-row: 4;
        justify-content: center;
        line-height: 1.25;
        margin-top: 2px;
        order: 3;
    }

    .be-home-concierge .be-home-concierge-copy > a,
    .be-home-concierge .be-home-concierge-copy > p:first-of-type > a {
        border-radius: 9px;
        font-size: 13px;
        margin-top: 0;
        min-height: 40px;
        padding: 9px 22px;
        width: 100%;
    }
}

.be-guide-cf-rank {
    display: none !important;
}
