/*==============================================================
    BetterSelfMD Page Hero
==============================================================*/

.bsmd-page-hero {
    padding: 4rem 0;
    overflow: hidden;
    background: #FBFAF7;
    background: var(--rb-hero-bgimage), radial-gradient(circle at 25% 25%, rgba(19, 168, 162, .25), transparent 28%), linear-gradient(135deg, #F2F0EC, #ffffff);
    background-size: auto 80%, auto, auto;
    background-position: right bottom, left top, center;
    background-repeat: no-repeat, no-repeat, no-repeat;
}

.bsmd-page-hero-card {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.bsmd-page-hero-content {
    position: relative;
    z-index: 10;
    max-width: 590px;
}

.bsmd-page-hero-eyebrow {
    display: inline-flex;
    margin-bottom: 1.15rem;
    padding: .5rem 1.15rem;

    border-radius: 999px;

    background: color-mix(in srgb, var(--rb-hero-color) 12%, transparent);
    color: var(--rb-hero-color);

    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1;
    text-transform: uppercase;
}

.bsmd-page-hero-content h1 {
    margin: 0 0 1.35rem;
    font-size: clamp(1rem, 5.5vw, 3.0rem);
    line-height: .92;
    font-weight: 700;
    color: #1D2430;
}

.bsmd-page-hero-description {
    margin-bottom: 2rem;
    color: #66707A;
    font-size: 1.1rem;
    line-height: 1.75;
}

.bsmd-page-hero-description p {
    margin: 0 0 1rem;
}

.bsmd-page-hero-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: .9rem 1.0rem;

    margin: 0 0 1.5rem;
    padding: 0;

    list-style: none;
}

.bsmd-page-hero-list li {
    position: relative;
    padding-left: 2rem;

    color: #1D2430;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.2;
}

.bsmd-page-hero-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: .1rem;

    width: 1.35rem;
    height: 1.35rem;

    border-radius: 50%;

    background: var(--rb-hero-color);
    color: #fff;

    font-size: .75rem;
    line-height: 1.35rem;
    text-align: center;
}

.bsmd-page-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: .75rem;

    padding: 1rem 1.9rem;

    border-radius: .8rem;

    background: var(--rb-hero-color);
    color: #fff;

    text-decoration: none;
    text-transform: uppercase;

    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .08em;

    transition: .25s ease;
}

.bsmd-page-hero-btn:hover {
    color: #fff;
    background: #0B5F61;
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(19,168,162,.28);
}

.bsmd-page-hero-btn span {
    font-size: 1.1rem;
}

/*==============================================================
    Responsive
==============================================================*/

@media (max-width: 991px) {

    .bsmd-page-hero {
        padding: 4rem 0;
    }

    .bsmd-page-hero-card {
        min-height: auto;
        padding: 1rem;

        background:
            linear-gradient(
                rgba(255,255,255,.94),
                rgba(255,255,255,.94)
            ),
            var(--rb-hero-bgimage);

        background-size:
            cover,
            auto 55%;

        background-position:
            center,
            right bottom;
    }

    .bsmd-page-hero-card::after {
        display: none;
    }

    .bsmd-page-hero-content {
        max-width: 100%;
    }

    .bsmd-page-hero-content h1 {
        font-size: 3.25rem;
    }

    .bsmd-page-hero-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {

    .bsmd-page-hero-card {
        padding: 2.25rem 1.5rem;
        border-radius: 24px;

        background-size:
            cover,
            auto 42%;

        background-position:
            center,
            right bottom;
    }

    .bsmd-page-hero-content h1 {
        font-size: 2.75rem;
    }

    .bsmd-page-hero-description {
        font-size: 1rem;
    }

    .bsmd-page-hero-btn {
        width: 100%;
        justify-content: center;
    }
}