.blog-details {
    --blog-purple: var(--primary-color,#402152);
    --blog-soft: #f5f2f9;
    --blog-ink: var(--text-color,#4b5c65);
    background: #fff
}

    .blog-details .container {
        max-width: 1240px
    }

    .blog-details a:focus-visible, .blog-details button:focus-visible {
        outline: 3px solid #a587b9;
        outline-offset: 4px;
        border-radius: 5px
    }

.blog-details-hero {
    position: relative;
    background: #f5f3f8;
    overflow: hidden;
    border-radius: 0 0 15px 15px
}

.blog-hero-copy {
    position: relative;
    z-index: 1;
    width: 59%;
    padding: 34px 35px 43px 0;
    min-height: 405px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.blog-detail-breadcrumb {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px;
    font-size: 10px;
    line-height: 1.6;
    margin: 0 0 29px;
    color: #82768e;
    width: 100%
}

    .blog-detail-breadcrumb a {
        color: #71647e
    }

    .blog-detail-breadcrumb [aria-current] {
        max-width: 100%;
    }

.blog-category-label {
    display: inline-block;
    background: #eae2f2;
    color: #65437c;
    border-radius: 20px;
    font-weight: 500;
    padding: 4px 10px;
    margin-bottom: 17px;
    text-transform: uppercase;
    letter-spacing: .15px
}

    .blog-category-label:hover {
        background: #e2d6ed;
        color: #402152
    }

.blog-hero-copy h1 {
    font-size: 39px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: -1px;
    word-break: normal;
    color: var(--blog-purple);
    text-transform: none;
    margin: 0 0 18px;
    overflow-wrap: break-word
}

.blog-hero-excerpt {
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 24px;
    font-weight: 400;
    max-width: 590px;
    color: #5d5369
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 23px;
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 11px;
    line-height: 1.7;
    color: #655571
}

    .blog-article-meta li {
        display: flex;
        align-items: center;
        gap: 7px
    }

    .blog-article-meta i {
        font-size: 13px;
        color: #6c4b80
    }

.blog-hero-media {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 44%;
    margin: 0
}

    .blog-hero-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block
    }

    .blog-hero-media:after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg,#f5f3f8 0%,#f5f3f83d 18%,transparent 40%);
        pointer-events: none
    }

.hero-no-image .blog-hero-copy {
    width: 100%;
    max-width: 900px;
    min-height: 320px
}

.blog-details-main {
    padding-top: 43px;
    padding-bottom: 38px
}

.blog-details-grid {
    display: grid;
    grid-template-columns: minmax(0,2.7fr) minmax(245px,1fr);
    gap: 46px;
    align-items: start
}

.blog-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0
}

    .blog-details-sidebar h2 {
        font-size: 18px;
        line-height: 1.4;
        font-weight: 650;
        margin: 0 0 19px;
        color: var(--blog-purple);
        text-transform: none;
        letter-spacing: -.3px
    }

.blog-sidebar-card {
    border: 1px solid #eae5ef;
    padding: 21px 18px;
    border-radius: 13px
}

.blog-category-nav {
    display: flex;
    flex-direction: column;
    gap: 5px
}

    .blog-category-nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 9px;
        font-weight: 400;
        padding: 9px 10px;
        border-radius: 7px;
        color: #5c5068;
        line-height: 1.7
    }

        .blog-category-nav a > span:first-child {
            min-width: 0;
            overflow-wrap: break-word
        }

        .blog-category-nav a:hover {
            background: #f8f5fb
        }

    .blog-category-nav .is-current {
        background: #eee6f5;
        color: #4b2b63;
        font-weight: 500
    }

.blog-count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 9px;
    background: #eeeaf3;
    border-radius: 50%;
    color: #69527b
}

.is-current .blog-count {
    background: #654279;
    color: #fff
}

.blog-related {
    padding: 0 8px
}

.blog-related-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 19px
}

    .blog-related-item:last-child {
        margin-bottom: 0
    }

    .blog-related-item .related-image {
        width: 78px;
        min-width: 78px;
        height: 70px;
        border-radius: 9px;
        overflow: hidden;
        background: #f4f0f8;
        display: block
    }

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.related-image-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #9277a3;
    font-size: 23px
}

.blog-related-item h3 {
    font-size: 11px;
    line-height: 1.6;
    font-weight: 600;
    margin: 1px 0 7px;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: break-word
}

    .blog-related-item h3 a {
        color: var(--blog-purple)
    }

        .blog-related-item h3 a:hover {
            color: #8a639c
        }

.blog-related-item time {
    font-size: 10px;
    font-weight: 400;
    color: #9a8ca4;
    display: block
}

.blog-sidebar-appointment {
    background: #f6f2fb;
    border-radius: 12px;
    padding: 24px 21px
}

    .blog-sidebar-appointment h2 {
        font-size: 20px;
        line-height: 1.45;
        margin-bottom: 14px
    }

    .blog-sidebar-appointment p {
        font-size: 12px;
        line-height: 1.8;
        font-weight: 400;
        color: #786887;
        margin-bottom: 18px
    }

.blog-clinic-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 650;
    white-space: nowrap;
    color: var(--blog-purple);
    margin-bottom: 21px
}

    .blog-clinic-phone i {
        font-size: 16px
    }

.blog-consult-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 44px;
    padding: 11px 18px;
    background: var(--blog-purple);
    color: #fff;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.6;
    text-align: center
}

    .blog-consult-button:hover {
        color: #fff;
        background: #684379
    }

    .blog-consult-button i {
        font-size: 11px
    }

.blog-sidebar-appointment .blog-consult-button {
    width: 100%;
    justify-content: space-between
}

.blog-consultation-banner {
    position: relative;
    isolation: isolate;
    background: #f2edf9;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 48px;
    min-height: 270px;
    display: flex;
    align-items: center
}

.consultation-copy {
    width: 65%;
    padding: 32px 36px;
    z-index: 1
}

    .consultation-copy h2 {
        font-size: 28px;
        font-weight: 650;
        line-height: 1.3;
        letter-spacing: -.65px;
        margin-bottom: 14px;
        max-width: 500px;
        text-transform: none
    }

    .consultation-copy p {
        font-size: 13px;
        font-weight: 400;
        line-height: 1.8;
        color: #6f5f7e;
        max-width: 470px;
        margin: 0 0 20px
    }

.blog-consultation-banner > img {
    position: absolute;
    right: 18px;
    bottom: 0;
    width: 33%;
    height: 100%;
    object-fit: contain;
    object-position: center 12px;
    z-index: 0
}

@media(min-width:1600px) {
    .blog-details .container {
        max-width: 1320px
    }

    .blog-hero-copy {
        padding-top: 40px;
        padding-bottom: 48px;
        min-height: 435px
    }

        .blog-hero-copy h1 {
            font-size: 43px
        }

    .blog-hero-excerpt {
        font-size: 15px
    }

    .blog-details-grid {
        gap: 52px
    }

    .blog-related-item h3 {
        font-size: 12px
    }

    .blog-details-sidebar h2 {
        font-size: 19px
    }
}

@media(max-width:1199px) {
    .blog-details .container {
        padding-left: 26px;
        padding-right: 26px
    }

    .blog-hero-copy h1 {
        font-size: 34px
    }

    .blog-hero-copy {
        padding-right: 24px;
        min-height: 380px
    }

    .blog-detail-breadcrumb {
        margin-bottom: 23px
    }

    .blog-article-meta {
        gap: 10px 15px
    }

    .blog-details-grid {
        grid-template-columns: minmax(0,2.4fr) minmax(235px,1fr);
        gap: 30px
    }

    .blog-clinic-phone {
        font-size: 15px
    }

    .blog-sidebar-appointment {
        padding: 21px 17px
    }

    .blog-hero-excerpt {
        font-size: 13px
    }

    .consultation-copy {
        padding-left: 28px
    }

        .consultation-copy h2 {
            font-size: 26px
        }
}

@media(max-width:991px) {
    .blog-details-grid {
        grid-template-columns: minmax(0,1fr);
        gap: 35px
    }

    .blog-details-sidebar {
        display: grid;
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 22px
    }

    .blog-sidebar-appointment {
        grid-column: 1/-1;
        max-width: 100%
    }

        .blog-sidebar-appointment .blog-consult-button {
            width: auto;
            gap: 25px
        }

    .blog-hero-copy h1 {
        font-size: 31px
    }

    .blog-hero-copy {
        width: 61%;
        padding-right: 20px
    }

    .blog-hero-media {
        width: 42%
    }

    .blog-details-main {
        padding-top: 33px
    }

    .blog-hero-excerpt {
        font-size: 12px
    }

    .consultation-copy {
        width: 68%
    }

        .consultation-copy h2 {
            font-size: 25px
        }

    .blog-consultation-banner > img {
        width: 32%;
        right: 5px
    }
}

@media(max-width:767px) {
    .blog-details .container {
        padding-left: 21px;
        padding-right: 21px
    }

    .blog-details-hero {
        display: flex;
        flex-direction: column
    }

    .blog-hero-copy {
        width: 100%;
        padding: 25px 0 26px;
        min-height: 0
    }

        .blog-hero-copy h1 {
            font-size: 30px;
            letter-spacing: -.65px;
            margin-bottom: 15px
        }

    .blog-hero-excerpt {
        font-size: 13px;
        max-width: 100%;
        margin-bottom: 20px
    }

    .blog-detail-breadcrumb {
        font-size: 9px;
        margin-bottom: 21px
    }

    .blog-category-label {
        font-size: 9px;
        margin-bottom: 14px
    }

    .blog-article-meta {
        gap: 10px 16px
    }

    .blog-hero-media {
        position: relative;
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 16/10;
        max-height: 380px
    }

        .blog-hero-media img {
            position: absolute;
            inset: 0
        }

        .blog-hero-media:after {
            background: linear-gradient(180deg,#f5f3f8 0%,transparent 30%)
        }

    .hero-no-image .blog-hero-copy {
        min-height: 0
    }

    .blog-details-sidebar {
        display: flex;
        gap: 25px
    }

    .blog-details-main {
        padding-top: 30px;
        padding-bottom: 27px
    }

    .blog-sidebar-card {
        padding: 21px
    }

    .blog-related {
        padding: 0 3px
    }

    .blog-related-item h3 {
        font-size: 13px
    }

    .blog-related-item time {
        font-size: 11px
    }

    .blog-related-item .related-image {
        width: 88px;
        min-width: 88px;
        height: 76px
    }

    .blog-category-nav a {
        font-size: 12px;
        padding: 10px
    }

    .blog-sidebar-appointment h2 {
        font-size: 21px
    }

    .blog-sidebar-appointment p {
        font-size: 13px
    }

    .blog-clinic-phone {
        font-size: 19px
    }

    .blog-sidebar-appointment .blog-consult-button {
        width: 100%
    }

    .blog-consultation-banner {
        margin-top: 32px;
        display: block;
        padding-bottom: 205px
    }

    .consultation-copy {
        width: 100%;
        padding: 26px 24px 12px
    }

        .consultation-copy h2 {
            font-size: 25px;
            max-width: 100%
        }

        .consultation-copy p {
            font-size: 12px
        }

    .blog-consultation-banner > img {
        height: 205px;
        width: 100%;
        right: 0;
        object-position: center top
    }

    .blog-consult-button {
        font-size: 11px
    }

    .blog-consultation-banner .blog-consult-button {
        width: 100%;
        gap: 10px
    }
}

@media(prefers-reduced-motion:reduce) {
    .blog-details * {
        transition: none !important
    }
}

.blog-details .blog-article-meta li {
    max-width: 100%;
    overflow-wrap: anywhere
}

.blog-details .blog-hero-copy h1 {
    max-width: 100%
}

.blog-related-item h3 a {
    display: inline-block
}
