.featured-videos-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.featured-video-item {
    margin-bottom: 40px!important;
    border-bottom: none!important;
}

.thumbnail {
    position: relative;
}

.thumbnail img {
    width: 100%;
    display: block;
}

.featured-video-item .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transitions for background color and box shadow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box shadow for play button */
}

.featured-video-item .play-button:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
}

.featured-video-item:hover .play-button {
    background-color: #ff0000; /* YouTube red color */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Enhanced box shadow on hover */
}

.featured-video-title {
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
}

.featured-video-title {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.3;
	margin-left: 15px;
    margin-right: 15px;
}

.featured-video-item a {
    color: #333;
    text-decoration: none;
}

.featured-video-item:hover {
    opacity: 0.8;
}

.recent-videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 videos per row */
    gap: 20px;
}

.recent-video-item {
    position: relative;
    overflow: hidden; /* Ensures thumbnail overflow is hidden */
}

.recent-video-item a:hover {
    text-decoration: none!important;
}

.recent-video-item .thumbnail {
    position: relative;
    overflow: hidden; /* Ensures thumbnail overflow is hidden */
    transition: transform 0.4s ease; /* Smooth transition for transform */
}

.recent-video-item .thumbnail:hover {
    transform: scale(1.08);
    overflow: hidden; /* Ensures thumbnail overflow is hidden */
}

.recent-video-item .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Transitions for background color and box shadow */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box shadow for play button */
}

.recent-video-item .play-button:before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent white;
}

.recent-video-item:hover .play-button {
    background-color: #ff0000; /* YouTube red color */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); /* Enhanced box shadow on hover */
}

.recent-video-item .thumbnail img {
    width: 100%;
    height: auto;
}

.recent-video-item .video-title {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}

.view-all-videos {
    text-align: center;
    margin-top: 20px;
}

.view-all-videos-button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    color: #fff;
    background-color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.view-all-videos-button:hover {
    background-color: #555;
    text-decoration: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .recent-videos-grid {
        grid-template-columns: 1fr; /* 1 video per row on smaller screens */
    }
}
