.related-video {border:0px solid #d8dee9;
    background:#f8f8f9;
    border-radius:5px;
    overflow: hidden;
    color: #FF4500;
    text-align: center;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom:20px;
    position: relative;
    margin-bottom:25px;
}

.related-video a.href {
    position: relative;
    width: 100%;
    padding-top: 125%; /* This creates 4:5 aspect ratio */
    display: block;
    overflow: hidden;
}

.related-video img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

}


h2.related-video-title{
    font-size:16px;
    font-weight:600;
    margin-top:5px;
    margin-bottom:0;
    color:#000;
    text-align:center;
    padding:5px 5px 0 5px;
    vertical-align:top;
    
}



 .related-videos {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: .5em;
    width: 100%;
    padding: .5em;
    background-color: #fff;
   
} 

.duration {
      background-color:#FF4500;
    color: #fff;    border-radius: 3px;
    font-size: 12px;
    margin-right: 5px;
     padding: 5px;
}

.metatag {
    right:5px;
    position: absolute;
    bottom: 10px;
   

}
 
  .lazy-loaded {
opacity: 0;
transition: opacity 0.5s ease-in;
}

.lazy-loaded.fade-in {
opacity: 1;
}
@media(max-width: 600px) {
    .related-videos {
        grid-template-columns:repeat(2,1fr);
        gap: .5em;
        padding: .5em
    }
}  

@media (max-width: 450px) {
    .header h1 {
        font-size:.875em
    }

    .related-videos {
        grid-template-columns: 1fr
    }

}

@media (max-width: 600px) {
    .related-videos {
        grid-template-columns:repeat(2,1fr);
        gap: .5em
    }

}