.cv-hs-video .cv-video-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-self: stretch;
    font-size: 15px;
}

.cv-hs-video .video-date {
    font-size: 14px;
}

.cv-related-videos {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    display: grid;
    padding: 10px;
    grid-gap: 10px;
    grid-template-columns: 1fr 1fr 1fr;
    background-color: #000000b0;
    animation-name: bounce-rotate;
    animation-duration: 0.5s;
}

section.elementor-section:has(#noRelatedPost),
div.e-parent:has(#noRelatedPost) {
    display: none;
}

/* end related video */
/* show play icon on relatedpost*/
.related-post.is-video a:has(img) {
    position: relative;
}

.related-post.is-video a:has(img):before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    z-index: 5;
    background: url('../icon/play-circle.svg');
    top: 50%;
    right: 50%;
    margin-top: -45px;
    margin-right: -45px;
    background-size: cover;
}

.elementor-heading-title.related-heading h3 {
    color: #00528c;
    font-weight: 400;
    font-size: 27px;
    margin: 5px 0px;
}

.related-heading span.elementor-button-text {
    text-decoration: underline;
}

.related-continer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-continer * {
    color: #848484;
}

.related-post>a {
    display: block;
    height: 170px;
}

.related-continer>div {
    border-radius: 10px;
    flex: 1;
    position: relative;
    padding: 8px
}

.related-continer img {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: 10px 10px 0 0;
    /* object-fit: cover;
    object-position: top; */
}

.related-continer #related-button {
    position: absolute;
    background: #eef1f8;
    border-radius: 8px;
    text-align: center;
    right: 12px;
    left: 12px;
    bottom: 12px;
    padding: 6px;
    color: #54595f;
}

.related-content h4 {
    line-height: 35px;
    max-height: 85px;
    font-size: 15px;
    overflow: hidden;
    font-weight: 600;
    color: #54595f;
}

.related-content p {
    font-size: 15px;
    margin: 0 !important;
}

/* related head */
.elementor-heading-title.related-heading {
    display: flex;
    justify-content: space-between;
    align-items: center
}

.elementor-heading-title.related-heading a {
    background: transparent;
    padding: 12px 8px;
    color: #00528c;
    font-size: 19px;
}

@media (max-width:768px) {

    .hs-maunal-related .ht-hs:nth-child(1),
    .hs-maunal-related .ht-hs:nth-child(2) {
        margin-bottom: 12px;
    }

    .hs-maunal-related span.hs-content_text {
        display: none;
    }

    .hs-maunal-related {
        column-count: 1 !important;
    }

    .hs-maunal-related img {
        height: 220px !important;
    }

    .cv-video-box span {
        font-size: 12px;
    }

    .elementor-heading-title.related-heading h3 {
        font-size: 17px;
    }

    .related-heading span.elementor-button-content-wrapper {
        font-size: 16px;
    }

    .hs-bluemenu-wrap {
        font-size: 16px;
        column-gap: 8px;
    }

    .cv-video-box a img#videoPlay {
        width: 30px;
        height: 30px;
        margin-right: -15px;
        margin-top: -15px;
    }

    .related-post>a {
        height: 200px;
    }

    .related-post>a::after {
        content: '';
        height: 100%;
        right: 0;
        bottom: 0;
        width: 100%;
        border-radius: 0 0 10px 10px;
        position: absolute;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0) 40%, rgba(29, 98, 145, 1) 100%);
    }

    .related-content {
        position: absolute;
        bottom: 0;
        right: 10px;
    }

    .related-content h4 {
        color: white;
    }

    .cv-flex .cv-post-content {
        padding-top: 17px;
    }

    /* .related-continer .related-content {
        padding: 0px 10px 59px 10px;
    } */

    .related-continer>div {
        max-width: 95%;
        margin: auto;
        line-height: inherit;
    }
}

/*post image*/
img.hs_image.wp-post-image {
    width: 100%;
}

@media (min-width:990px) {
    .related-continer .related-content {
        padding: 0px 10px 66px 10px;
    }

    .related-content h4 {
        min-height: 71px;
    }

    /* .related-continer{
        height:410px;
    } */
    .cv-flex {
        display: flex;
        gap: 15px;
    }

    .cv-width-60.cv-sticky {
        flex: 1 1 60%;
        align-self: flex-start;
    }

    .cv-width-40.cv-sticky {
        flex: 1 1 40%;
        align-self: flex-start;
    }
}

.related-bp {
    display: flex;
    gap: 8px;
    flex: 1;
    align-items: center;
}

.related-bp.is-video a:has(img):before {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 5;
    background: url(../icon/play-circle.svg);
    top: 50%;
    right: 50%;
    margin-top: -40px;
    margin-right: -40px;
    background-size: cover;
}

.related-bp img {
    object-fit: cover;
    border-radius: 6px;
    width: 120px;
    aspect-ratio: 1/1;
}

.is-special-related.related-bp {
    display: none;
}

/*related video*/
.cv-video-box a {
    display: block;
    border-radius: 4px;
    position: relative;
}

.cv-video-box a img {
    display: block;
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1 / 1;
}

.cv-video-box a svg {
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
}

.cv-video-box span {
    position: absolute;
    overflow: hidden;
    bottom: 0;
    color: #fff;
    left: 5px;
    right: 5px;
    z-index: 2;
    line-height: normal;
}

.cv-video-box a:after {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    content: '';
    background: linear-gradient(180deg, #fff0 40%, rgb(29 98 145) 100%);
    border-radius: 0 0 4px 4px;
}

.single-question .related-bp-content h4 {
    line-height: normal;
    color: #3f3b3b;
    font-weight: 500;
    font-size: 15px;
}

.single-question .related-bp-content {
    align-self: stretch;
    position: relative;
}

.single-question .related-bp-content small {
    position: absolute;
    bottom: 2px;
    width: 100%;
}

.single-question .related-bp-content a {
    text-decoration: none;
}

.single-question .related-bp a {
    height: 100%;
    position: relative;
}

.custom-hover:hover {
    background-size: 100% 100%;
}

.custom-hover {
    background: linear-gradient(270deg, #dedede 0, #f9f9f9);
    background-position: 100% 100%;
    background-repeat: no-repeat;
    background-size: 0 100%;
    border-radius: 10px;
    transition: all .4s ease;
}

/*related videos*/
.realated-videos {
    width: 100%;
}

.realated-videos #specialBoxHeader {
    display: none;
}