/* Blog index and imported article presentation. */

/* Extracted from directory-results.css. */

body:has(.be-blog-page) .wp-block-post-title,
body:has(.be-blog-article) .wp-block-post-title,
body:has(.be-blog-article) .wp-block-post-featured-image {
    display: none;
}

html:has(.be-blog-page),
html:has(.be-blog-article),
body:has(.be-blog-page),
body:has(.be-blog-article) {
    overflow-x: hidden;
}

body:has(.be-blog-page) main,
body:has(.be-blog-article) main {
    margin-block-start: 0 !important;
}

body:has(.be-blog-page) main > .wp-block-group,
body:has(.be-blog-article) main > .wp-block-group {
    padding-top: 0 !important;
}

body:has(.be-blog-page) .wp-block-post-content,
body:has(.be-blog-article) .wp-block-post-content {
    margin-block-start: 0 !important;
}

body:has(.be-blog-article) .wp-block-post-content > br:first-child {
    display: none !important;
}

main .wp-block-post-content > .be-blog-page,
main .wp-block-post-content > .be-blog-article {
    margin-top: 0 !important;
    max-width: none !important;
}

.be-blog-page,
.be-blog-article {
    background: #f5f7fb;
    box-sizing: border-box;
    color: #10141d;
    font-family: "Hanken Grotesk", Arial, sans-serif;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    max-width: 100vw;
    overflow-x: hidden;
    padding: 34px 24px 96px;
    width: 100vw;
}

.be-blog-shell {
    margin: 0 auto;
    max-width: 1180px;
}

.be-blog-head {
    margin: 0 0 28px;
    max-width: 760px;
}

.be-blog-head p {
    color: #2f6df6;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 10px;
}

.be-blog-head h1,
.be-blog-article-head h1 {
    color: #10141d;
    font-size: clamp(44px, 7vw, 78px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: .92;
    margin: 0;
}

.be-blog-head span,
.be-blog-article-head p {
    color: #667085;
    display: block;
    font-size: 19px;
    line-height: 1.55;
    margin-top: 20px;
}

.be-blog-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 34px 0 22px;
}

.be-blog-tabs a,
.be-blog-chip {
    align-items: center;
    background: #eaf1fe;
    border-radius: 10px;
    color: #1657d8;
    display: inline-flex;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    min-height: 34px;
    padding: 0 14px;
    text-decoration: none;
}

.be-blog-tabs a {
    background: #fff;
    border: 1px solid #dce4ef;
    color: #344054;
}

.be-blog-tabs a.is-active,
.be-blog-tabs a:hover {
    background: #101828;
    border-color: #101828;
    color: #fff;
}

.be-blog-count {
    color: #344054;
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 20px;
}

.be-blog-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.be-blog-pagination {
    justify-content: center;
    margin-top: 34px;
    max-width: none;
}

.be-blog-card {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .06);
    overflow: hidden;
}

.be-blog-card-image {
    background: #e7edf6;
    display: block;
    height: 210px;
    overflow: hidden;
}

.be-blog-card-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.be-blog-card-image span {
    display: block;
    height: 100%;
}

.be-blog-card-body {
    padding: 22px;
}

.be-blog-card h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.08;
    margin: 14px 0 12px;
}

.be-blog-card h2 a {
    color: #10141d;
    text-decoration: none;
}

.be-blog-card h2 a:hover {
    color: #2f6df6;
}

.be-blog-card p {
    color: #667085;
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
}

.be-blog-article {
    padding-top: 28px;
}

.be-blog-article-head,
.be-blog-hero,
.be-blog-body {
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
}

.be-blog-back {
    color: #667085;
    display: inline-block;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 26px;
    text-decoration: none;
}

.be-blog-article-head .be-blog-chip {
    margin-bottom: 18px;
}

.be-blog-article-head h1 {
    font-size: clamp(44px, 6vw, 72px);
}

.be-blog-hero {
    border-radius: 26px;
    background: transparent;
    box-shadow: none;
    font-size: 0;
    line-height: 0;
    margin-bottom: 48px;
    margin-top: 40px;
    overflow: hidden;
}

.be-blog-hero img {
    display: block;
    height: auto;
    margin: 0;
    width: 100%;
}

.be-blog-body {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 24px;
    box-shadow: 0 14px 34px rgba(16, 24, 40, .05);
    padding: 52px 58px;
}

.be-blog-body h2,
.be-blog-body h3 {
    color: #10141d;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 38px 0 16px;
}

.be-blog-body h2 {
    font-size: 34px;
}

.be-blog-body h3 {
    font-size: 26px;
}

.be-blog-body p,
.be-blog-body li {
    color: #344054;
    font-size: 19px;
    line-height: 1.7;
}

.be-blog-body p,
.be-blog-body ul,
.be-blog-body ol {
    margin-bottom: 22px;
}

.be-blog-body a {
    color: #2f6df6;
    font-weight: 700;
}

.be-blog-body img {
    border-radius: 18px;
    display: block;
    height: auto;
    margin: 30px auto;
    max-width: 100%;
}

.be-blog-consult-cta,
.be-blog-inline-cta {
    align-items: center;
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(16, 24, 40, .07);
    display: grid;
    gap: 30px;
    grid-template-columns: 84px minmax(0, 1fr);
    margin: 0 auto 48px;
    max-width: 860px;
    padding: 42px 52px;
}

.be-blog-body + .be-blog-consult-cta {
    margin-top: 40px;
}

.be-blog-consult-avatars {
    display: grid;
    height: 78px;
    position: relative;
    width: 84px;
}

.be-blog-consult-avatars i {
    background-image: url("home-patient-avatars-v2.webp");
    background-repeat: no-repeat;
    background-size: 220px 44px;
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 8px 18px rgba(16, 24, 40, .12);
    display: block;
    height: 44px;
    overflow: hidden;
    position: absolute;
    width: 44px;
}

.be-blog-consult-avatars i:nth-child(1) {
    background-position: 0 0;
    left: 0;
    top: 23px;
}

.be-blog-consult-avatars i:nth-child(2) {
    background-position: -44px 0;
    left: 33px;
    top: 0;
}

.be-blog-consult-avatars i:nth-child(3) {
    background-position: -88px 0;
    left: 43px;
    top: 39px;
}

.be-blog-consult-copy h2,
.be-blog-inline-cta h2 {
    color: #10141d;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    margin: 0 0 10px;
}

.be-blog-consult-copy h2 em,
.be-blog-inline-cta h2 em {
    color: #2f6df6;
    font-style: italic;
}

.be-blog-consult-copy p,
.be-blog-inline-cta p {
    color: #344054;
    font-size: 17px;
    line-height: 1.5;
    margin: 0;
}

.be-blog-consult-copy a,
.be-blog-inline-cta a {
    align-items: center;
    background: #2f6df6;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(47, 109, 246, .22);
    color: #fff;
    display: inline-flex;
    font-size: 18px;
    font-weight: 850;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
    min-height: 48px;
    padding: 12px 24px;
    text-decoration: none;
    white-space: nowrap;
}

.be-blog-consult-copy a {
    width: fit-content;
}

/* Extracted from home-pages.css. */

@media (max-width: 920px) {

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

@media (max-width: 640px) {

    .be-blog-page,
    .be-blog-article {
        padding: 42px 16px 70px;
    }

    .be-blog-article {
        margin-top: 0 !important;
        padding-top: 22px;
    }

    .be-blog-back {
        margin-bottom: 18px;
    }

    .be-blog-article-head .be-blog-chip {
        margin-bottom: 14px;
    }

    .be-blog-grid {
        grid-template-columns: 1fr;
    }

    .be-blog-body {
        padding: 30px 22px;
    }

    .be-blog-body h2 {
        font-size: 28px;
    }

    .be-blog-consult-cta,
    .be-blog-inline-cta {
        grid-template-columns: 1fr;
        justify-items: start;
        margin-bottom: 30px;
        padding: 28px 22px;
    }

    .be-blog-body + .be-blog-consult-cta {
        margin-top: 26px;
    }

    .be-blog-consult-avatars {
        height: 54px;
        width: 76px;
    }

    .be-blog-consult-avatars i {
        background-size: 180px 36px;
        height: 36px;
        width: 36px;
    }

    .be-blog-consult-avatars i:nth-child(2) {
        background-position: -36px 0;
        left: 27px;
    }

    .be-blog-consult-avatars i:nth-child(3) {
        background-position: -72px 0;
        left: 38px;
        top: 25px;
    }

    .be-blog-consult-copy h2,
    .be-blog-inline-cta h2 {
        font-size: 34px;
    }

    .be-blog-inline-cta a {
        width: 100%;
    }

    .be-blog-consult-copy a {
        font-size: 15px;
        min-height: 42px;
        padding: 10px 18px;
        width: auto;
    }
}
