.related-posts-block {
    padding: 50px;
    background: #F4F2F1;
    border-top: 1px solid #706E6A;
}

.related-posts-block h2 {
    font-size: 48px;
    margin: 0 0 2rem 0;
    text-align: left;
    color: #212322;
}
.related-posts-inner {
    max-width: 1400px !important;
    padding: 0 35px;
}
.related-posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.related-post-card {
    width: calc(33.333% - 20px);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.related-post-card:hover {
    transform: scale(1.03);
}

.related-post-card .video-container {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.related-post-card .video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.related-post-card .youtube-video {
    width: 100%;
    height: 100%;
}

.related-post-card h3 {
    margin: 10px 0;
    font-size: 28px;
    text-align: left;
}

.related-post-card h3 a {
    color: #212322;
    text-decoration: none !important;
    font-weight: 400;
}

.related-post-card h3 a:hover {
    color: #212322;
    text-decoration: underline;
}
@media screen and (max-width: 921px) {
    .related-posts-grid {
        flex-direction: column;
    }
    .related-post-card {
        width: 100%;
    }
  }
@media screen and (max-width: 1500px) {
    .related-posts-inner {
        padding: 0;
    }
  }