
.related-video-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 20px;
    border: 1px solid #00000012;
    border-radius: 40px 10px;
    box-shadow: 0 0 10px 0px rgb(0 0 0 / 4%);
    padding: 10px;
    transition: all 0.3s;
}

.related-video-item a {
    width: 100%;
}

.related-video-item img {
    width: 100%;
    height: 170px;
    border-radius: 40px 10px 0px 0px;
    object-fit: cover;
    transition: all 0.3s;
}

.related-video-item .related-video-title {
    display: block;
    width: calc(100%);
    font-weight: 700;
    font-size: 14px;
    color: black;
    text-decoration: none;
    background-color: var(--hmt-primary-color);
    color: white;
    border-radius: 0px 0px 40px 10px;
    text-align: left;
    padding-left: 10px;    
    transition: all 0.3s;
}

.related-video-item .related-video-title:hover {
    color: #fff;
    text-decoration: underline;
}

.related-video-item:hover {
    border-radius: 10px 40px;
    box-shadow: 0 0 10px 0px rgb(0 0 0 / 25%);
}
.related-video-item:hover img {
    border-radius: 10px 40px 0px 0px;
}

.related-video-item:hover .related-video-title {
    border-radius: 0px 0px 10px 40px;
    background-color: var(--hmt-accent-color)
}