
.related-video i.fa-solid.fa-circle-play {
  align-items: center;
    justify-content: center;
  opacity: 0.5;
color:#fff;
font-size:50px;
position: absolute; 
top: 50%; 
left: 50%; 
transform: translate(-50%, -50%);
}
.related-video a i.fa-solid.fa-circle-play:hover {
 opacity: 0.9; 
}


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

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

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

}



.related-video .play {
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 1.2em;
    color: #fff;
    background-color: rgb(0 0 0 / .5);
    border-radius: 47%;
    width: 2em;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center
}

h2.related-video-title{
   vertical-align:top;
    font-size:15px;
    color:#000;
    text-align:center;
    justify-content: center;
    padding:10px 10px;
    margin:0;
}



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

} 

.duration {
      background-color: rgb(0 0 0 / .7);
    color: #fff;
    font-size: 12px;
    margin-right:3px;
     padding:2px 5px;
}
.s1, .s2, .s3, .s4 {
  color:#fff;
 
    font-size: 12px;
     padding:2px 5px;
}

.s1 {
  background:#fe6081;
  
}

.s2 {
background:#FF8C00;
}

.s3 {
  background:#494be7;
}
.s4 {
  background:#ec6800;
}



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

}
 
  .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
    }

}