.rsg-heading-content {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    padding-top: 40px;
    padding-bottom: 70px;
}

.rsg-heading-content-container {
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
}

.rsg-heading-content-inner {
    max-width: 790px;
}

/* Content Alignment */
.rsg-heading-content-align-left .rsg-heading-content-inner {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}

.rsg-heading-content-align-center .rsg-heading-content-inner {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.rsg-heading-content-align-right .rsg-heading-content-inner {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.rsg-heading-content-heading {
    margin: 0 !important;
    color: #0059A8; !important
    text-align: center;
    font-family: Lato !important;
    font-size: 40px !important;
    font-style: normal;
    font-weight: 900;
    line-height: normal !important;
}

.rsg-heading-content-subheading {
    max-width: 760px;
    margin: 16px auto 0;
    color: #34415C !important;
text-align: center;
font-family: Lato !important;
font-size: 20px !important;
font-style: normal;
font-weight: 600 !important;
line-height: normal !important;
}

.rsg-heading-content-align-left .rsg-heading-content-subheading {
    margin-left: 0;
    margin-right: auto;
}

.rsg-heading-content-align-right .rsg-heading-content-subheading {
    margin-left: auto;
    margin-right: 0;
}

.rsg-heading-content-subheading p:last-child {
    margin: 0;
}

/* Custom Scrollbar Wrapper */
.rsg-heading-content-scroll-wrap {
    position: relative;
    margin-top: 56px;
    --rsg-scroll-thumb-height: 90px;
    --rsg-scroll-thumb-top: 0px;
}

/* Permanent scrollbar track */
.rsg-heading-content-scroll-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 100%;
    background-color: #d9d9d954;
    z-index: 1;
    pointer-events: none;
}

/* Moving scrollbar thumb */
.rsg-heading-content-scroll-wrap::after {
    content: "";
    position: absolute;
    top: var(--rsg-scroll-thumb-top);
    right: 0px;
    width: 10px;
    height: var(--rsg-scroll-thumb-height);
    background-color: #0059A8;
    border-radius: 20px;
    z-index: 2;
    pointer-events: none;
    transition: top 0.08s linear;
}

.rsg-heading-content-description {
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 56px;
    color: #34415C !important;
font-family: Lato !important;
font-size: 18px !important;
font-style: normal;
font-weight: 400 !important;
line-height: normal !important;
    text-align: left;

    /* Hide native scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.rsg-heading-content-description::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.rsg-heading-content-description p {
    margin: 0 0 24px;
}

.rsg-heading-content-description p:last-child {
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .rsg-heading-content {
        padding-top: 36px;
        padding-bottom: 60px;
    }

    .rsg-heading-content-scroll-wrap {
        margin-top: 42px;
    }

}

@media (max-width: 767px) {
    .rsg-heading-content-container {
        width: min(100% - 32px, 1220px);
    }


    .rsg-heading-content-subheading {
        margin-top: 14px;
    }

    .rsg-heading-content-scroll-wrap {
        margin-top: 34px;
    }

    .rsg-heading-content-scroll-wrap::before {
        width: 10px;
    }

    .rsg-heading-content-scroll-wrap::after {
        right: 0px;
        width: 10px;
        min-height: 60px;
    }

    .rsg-heading-content-description {
        max-height: 260px;
        padding-right: 44px;
    }
}
