body {
    counter-reset: my-h-counter
}

.content-single h2 {
    position: relative;
    padding-left: 45px;
    font-weight: 700;
    font-size: 24px
}

.content-single h3 {
    font-weight: 700;
    font-size: 20px
}

.content-single h4 {
    font-weight: 700;
    font-size: 16px
}

.content-single h2:before {
    counter-increment: my-h-counter;
    content: ""counter(my-h-counter);
    font-weight: 700;
    color: #fff;
    float: left;
    background-color: var(--primary-color);
    position: absolute;
    z-index: 1;
    left: 0;
    width: 35px;
    height: 30px;
    line-height: 28px;
    text-align: center;
    font-size: 24px;
    animation: normal
}

.content-single h2:after {
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    position: absolute;
    z-index: 1;
    content: "";
    bottom: 0;
    left: 0
}

h1.entry-title {
    font-weight: 700;
    font-size: 1.7em;
    margin-bottom: .7em;
    line-height: 1.6
}

.ht-format-detail.content-single::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background: var(--primary-color)
}

.ht-format-detail.content-single::-webkit-scrollbar {
    width: 4px;
    background-color: #f5f5f5
}

.ht-format-detail.content-single {
    height: 100%;
    overflow-y: auto;
    padding-right: 10px
}

.blog-share.flex .share- {
    display: flex;
    align-items: center;
    column-gap: 10px
}

.p_content .share- iframe {
    margin: auto
}

.rmp-rating-widget {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    column-gap: 10px
}

.blog-share .rmp-rating-widget__icons-list {
    padding: 0!important
}

.content-single h2 {
    display: flex;
    align-items: center
}

.content-single h2:before {
    bottom: auto
}

#ftwp-postcontent img {
    height: auto;
    border-radius: 15px
}

.p_content iframe,#ftwp-postcontent center iframe,#ftwp-postcontent iframe {
    display: inline-block;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    min-height: 400px
}

.content-single figcaption {
    background: #fff!important;
    border-radius: 10px
}

.related-container .row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.item__post-related a {
    display: flex;
    gap: 10px
}

.related-container .b_thumb img {
    height: 100%;
    max-height: 90px;
    width: 140px!important;
    object-fit: cover;
    max-width: 100%
}

.related-container .text-content .b_desc {
    font-size: 14px
}

.related-container .item__post-related {
    border: 1px solid #DFA2A7;
    border-radius: 5px;
    padding: 5px;
    box-shadow: 2px 2px 2px 1px #df185454
}

.related-container .b_title {
    font-size: 14px;
    height: 3.5em
}

.related-container p {
    -webkit-line-clamp: 2
}

.box-fcta {
    padding: 10px;
    margin: 0 auto;
    display: block;
    text-align: center;
    cursor: pointer
}

@media only screen and (max-width: 991px) {
    .content-single h2 {
        font-size:18px
    }

    .rmp-rating-widget {
        align-items: center
    }
}

@media only screen and (min-width: 992px) {
    .p-detail-1 .col-md-8 {
        width:70%
    }

    .p-detail-1 .col-md-4 {
        width: 30%
    }
}

@media only screen and (max-width: 770px) {
    .box-fcta.background {
        width:100%;
        padding: 20px 15px 0 15px
    }

    .box-fcta img {
        max-width: 60%;
        object-fit: contain
    }

    .blog-share.flex {
        align-items: center!important;
        flex-direction: column!important
    }

    .item__post-related a {
        display: flex;
        gap: 10px;
        flex-direction: column
    }

    .related-container .b_thumb img {
        height: 100%;
        max-height: 110px!important;
        width: 100%!important;
        object-fit: cover;
        max-width: unset
    }
}
