
     #vid-wrapper .videos-container {
        display: flex;
        justify-content: center;
        padding: 20px 0;
        gap: 15px;
        margin: 0 auto;
        width: 100%;
        max-width: 1280px;
        flex-wrap: wrap;
    }

     #vid-wrapper .videos-container .video-section {
        position: relative;
        background-size: cover;
        background-position: center;
        border-radius: 3px;
        overflow: hidden;
        transition: transform 0.3s ease;
        flex: 1 1 calc(33.333% - 10px);
        margin-bottom: 10px;
		cursor: pointer;
    }

     #vid-wrapper .videos-container .video-section img {
        width: 100%;
        height: 100% !important;
        display: block;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

     #vid-wrapper .videos-container .video-section:hover img {
        transform: scale(1.1);
    }

    #vid-wrapper .videos-container .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        color: white;
        padding: 10px;
        box-sizing: border-box;
		background-image: url(/wp-content/uploads/2024/06/video-grad-underlay3.png); 
		background-repeat: repeat-x;
		background-position: bottom left;
        background: linear-gradient(to top, rgba(190, 64, 64, 0.6) 10%, transparent 50%);
    }

     #vid-wrapper .videos-container .play-button {
        position: absolute;
        top: 10px;
        left: 10px;
        font-size: 2em;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #vid-wrapper .videos-container .play-button img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
    }

     #vid-wrapper .videos-container .video-info {
        z-index: 1;
    }

     #vid-wrapper .videos-container h2 {
        margin: 0;
        font-size: 1.5em;
        color: white;
		text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.6);
    }

     #vid-wrapper .videos-container p {
        margin: 5px 0 0;
        font-size: 0.9em;
    }
    .ad-box {
        width: 260px;
        height: 260px;
        display: flex;
        justify-content: center;
		border-radius: 5px;
    }

    .ad-box img {
        max-width: 100%;
        max-height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }
    @media (max-width: 1024px) {
        #vid-wrapper .videos-container .video-section {
            flex: 1 1 calc(50% - 10px);
        }
    }

    @media (max-width: 768px) {
         #vid-wrapper .videos-container .video-section {
            flex: 1 1 calc(50% - 10px);
            height: 200px;
        }
        ad-box {
            width: 100%; 
        }

        .ad-box {
            margin-top: 50px;
			width:100%;
			height:auto;
        }

    }

    @media (max-width: 480px) {
         #vid-wrapper .videos-container .video-section {
            flex: 1 1 100%;
            height: 150px;
        }

         #vid-wrapper .videos-container .play-button {
            font-size: 1.5em;
            width: 40px;
            height: 40px;
        }

         #vid-wrapper .videos-container .overlay {
            padding: 5px;
        }

         #vid-wrapper .videos-container h2 {
            font-size: 1em;
        }

         #vid-wrapper .videos-container p {
            font-size: 0.8em;
        }
    }
